[−][src]Struct rusoto_appsync::AppSyncClient
A client for the AWSAppSync API.
Methods
impl AppSyncClient
[src]
pub fn new(region: Region) -> AppSyncClient
[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> AppSyncClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> AppSyncClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
Trait Implementations
impl AppSync for AppSyncClient
[src]
fn create_api_key(
&self,
input: CreateApiKeyRequest
) -> RusotoFuture<CreateApiKeyResponse, CreateApiKeyError>
[src]
&self,
input: CreateApiKeyRequest
) -> RusotoFuture<CreateApiKeyResponse, CreateApiKeyError>
Creates a unique key that you can distribute to clients who are executing your API.
fn create_data_source(
&self,
input: CreateDataSourceRequest
) -> RusotoFuture<CreateDataSourceResponse, CreateDataSourceError>
[src]
&self,
input: CreateDataSourceRequest
) -> RusotoFuture<CreateDataSourceResponse, CreateDataSourceError>
Creates a DataSource
object.
fn create_function(
&self,
input: CreateFunctionRequest
) -> RusotoFuture<CreateFunctionResponse, CreateFunctionError>
[src]
&self,
input: CreateFunctionRequest
) -> RusotoFuture<CreateFunctionResponse, CreateFunctionError>
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
fn create_graphql_api(
&self,
input: CreateGraphqlApiRequest
) -> RusotoFuture<CreateGraphqlApiResponse, CreateGraphqlApiError>
[src]
&self,
input: CreateGraphqlApiRequest
) -> RusotoFuture<CreateGraphqlApiResponse, CreateGraphqlApiError>
Creates a GraphqlApi
object.
fn create_resolver(
&self,
input: CreateResolverRequest
) -> RusotoFuture<CreateResolverResponse, CreateResolverError>
[src]
&self,
input: CreateResolverRequest
) -> RusotoFuture<CreateResolverResponse, CreateResolverError>
Creates a Resolver
object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
fn create_type(
&self,
input: CreateTypeRequest
) -> RusotoFuture<CreateTypeResponse, CreateTypeError>
[src]
&self,
input: CreateTypeRequest
) -> RusotoFuture<CreateTypeResponse, CreateTypeError>
Creates a Type
object.
fn delete_api_key(
&self,
input: DeleteApiKeyRequest
) -> RusotoFuture<DeleteApiKeyResponse, DeleteApiKeyError>
[src]
&self,
input: DeleteApiKeyRequest
) -> RusotoFuture<DeleteApiKeyResponse, DeleteApiKeyError>
Deletes an API key.
fn delete_data_source(
&self,
input: DeleteDataSourceRequest
) -> RusotoFuture<DeleteDataSourceResponse, DeleteDataSourceError>
[src]
&self,
input: DeleteDataSourceRequest
) -> RusotoFuture<DeleteDataSourceResponse, DeleteDataSourceError>
Deletes a DataSource
object.
fn delete_function(
&self,
input: DeleteFunctionRequest
) -> RusotoFuture<DeleteFunctionResponse, DeleteFunctionError>
[src]
&self,
input: DeleteFunctionRequest
) -> RusotoFuture<DeleteFunctionResponse, DeleteFunctionError>
Deletes a Function
.
fn delete_graphql_api(
&self,
input: DeleteGraphqlApiRequest
) -> RusotoFuture<DeleteGraphqlApiResponse, DeleteGraphqlApiError>
[src]
&self,
input: DeleteGraphqlApiRequest
) -> RusotoFuture<DeleteGraphqlApiResponse, DeleteGraphqlApiError>
Deletes a GraphqlApi
object.
fn delete_resolver(
&self,
input: DeleteResolverRequest
) -> RusotoFuture<DeleteResolverResponse, DeleteResolverError>
[src]
&self,
input: DeleteResolverRequest
) -> RusotoFuture<DeleteResolverResponse, DeleteResolverError>
Deletes a Resolver
object.
fn delete_type(
&self,
input: DeleteTypeRequest
) -> RusotoFuture<DeleteTypeResponse, DeleteTypeError>
[src]
&self,
input: DeleteTypeRequest
) -> RusotoFuture<DeleteTypeResponse, DeleteTypeError>
Deletes a Type
object.
fn get_data_source(
&self,
input: GetDataSourceRequest
) -> RusotoFuture<GetDataSourceResponse, GetDataSourceError>
[src]
&self,
input: GetDataSourceRequest
) -> RusotoFuture<GetDataSourceResponse, GetDataSourceError>
Retrieves a DataSource
object.
fn get_function(
&self,
input: GetFunctionRequest
) -> RusotoFuture<GetFunctionResponse, GetFunctionError>
[src]
&self,
input: GetFunctionRequest
) -> RusotoFuture<GetFunctionResponse, GetFunctionError>
Get a Function
.
fn get_graphql_api(
&self,
input: GetGraphqlApiRequest
) -> RusotoFuture<GetGraphqlApiResponse, GetGraphqlApiError>
[src]
&self,
input: GetGraphqlApiRequest
) -> RusotoFuture<GetGraphqlApiResponse, GetGraphqlApiError>
Retrieves a GraphqlApi
object.
fn get_introspection_schema(
&self,
input: GetIntrospectionSchemaRequest
) -> RusotoFuture<GetIntrospectionSchemaResponse, GetIntrospectionSchemaError>
[src]
&self,
input: GetIntrospectionSchemaRequest
) -> RusotoFuture<GetIntrospectionSchemaResponse, GetIntrospectionSchemaError>
Retrieves the introspection schema for a GraphQL API.
fn get_resolver(
&self,
input: GetResolverRequest
) -> RusotoFuture<GetResolverResponse, GetResolverError>
[src]
&self,
input: GetResolverRequest
) -> RusotoFuture<GetResolverResponse, GetResolverError>
Retrieves a Resolver
object.
fn get_schema_creation_status(
&self,
input: GetSchemaCreationStatusRequest
) -> RusotoFuture<GetSchemaCreationStatusResponse, GetSchemaCreationStatusError>
[src]
&self,
input: GetSchemaCreationStatusRequest
) -> RusotoFuture<GetSchemaCreationStatusResponse, GetSchemaCreationStatusError>
Retrieves the current status of a schema creation operation.
fn get_type(
&self,
input: GetTypeRequest
) -> RusotoFuture<GetTypeResponse, GetTypeError>
[src]
&self,
input: GetTypeRequest
) -> RusotoFuture<GetTypeResponse, GetTypeError>
Retrieves a Type
object.
fn list_api_keys(
&self,
input: ListApiKeysRequest
) -> RusotoFuture<ListApiKeysResponse, ListApiKeysError>
[src]
&self,
input: ListApiKeysRequest
) -> RusotoFuture<ListApiKeysResponse, ListApiKeysError>
Lists the API keys for a given API.
API keys are deleted automatically sometime after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey
to manually delete a key before it's automatically deleted.
fn list_data_sources(
&self,
input: ListDataSourcesRequest
) -> RusotoFuture<ListDataSourcesResponse, ListDataSourcesError>
[src]
&self,
input: ListDataSourcesRequest
) -> RusotoFuture<ListDataSourcesResponse, ListDataSourcesError>
Lists the data sources for a given API.
fn list_functions(
&self,
input: ListFunctionsRequest
) -> RusotoFuture<ListFunctionsResponse, ListFunctionsError>
[src]
&self,
input: ListFunctionsRequest
) -> RusotoFuture<ListFunctionsResponse, ListFunctionsError>
List multiple functions.
fn list_graphql_apis(
&self,
input: ListGraphqlApisRequest
) -> RusotoFuture<ListGraphqlApisResponse, ListGraphqlApisError>
[src]
&self,
input: ListGraphqlApisRequest
) -> RusotoFuture<ListGraphqlApisResponse, ListGraphqlApisError>
Lists your GraphQL APIs.
fn list_resolvers(
&self,
input: ListResolversRequest
) -> RusotoFuture<ListResolversResponse, ListResolversError>
[src]
&self,
input: ListResolversRequest
) -> RusotoFuture<ListResolversResponse, ListResolversError>
Lists the resolvers for a given API and type.
fn list_resolvers_by_function(
&self,
input: ListResolversByFunctionRequest
) -> RusotoFuture<ListResolversByFunctionResponse, ListResolversByFunctionError>
[src]
&self,
input: ListResolversByFunctionRequest
) -> RusotoFuture<ListResolversByFunctionResponse, ListResolversByFunctionError>
List the resolvers that are associated with a specific function.
fn list_tags_for_resource(
&self,
input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
[src]
&self,
input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
Lists the tags for a resource.
fn list_types(
&self,
input: ListTypesRequest
) -> RusotoFuture<ListTypesResponse, ListTypesError>
[src]
&self,
input: ListTypesRequest
) -> RusotoFuture<ListTypesResponse, ListTypesError>
Lists the types for a given API.
fn start_schema_creation(
&self,
input: StartSchemaCreationRequest
) -> RusotoFuture<StartSchemaCreationResponse, StartSchemaCreationError>
[src]
&self,
input: StartSchemaCreationRequest
) -> RusotoFuture<StartSchemaCreationResponse, StartSchemaCreationError>
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
fn tag_resource(
&self,
input: TagResourceRequest
) -> RusotoFuture<TagResourceResponse, TagResourceError>
[src]
&self,
input: TagResourceRequest
) -> RusotoFuture<TagResourceResponse, TagResourceError>
Tags a resource with user-supplied tags.
fn untag_resource(
&self,
input: UntagResourceRequest
) -> RusotoFuture<UntagResourceResponse, UntagResourceError>
[src]
&self,
input: UntagResourceRequest
) -> RusotoFuture<UntagResourceResponse, UntagResourceError>
Untags a resource.
fn update_api_key(
&self,
input: UpdateApiKeyRequest
) -> RusotoFuture<UpdateApiKeyResponse, UpdateApiKeyError>
[src]
&self,
input: UpdateApiKeyRequest
) -> RusotoFuture<UpdateApiKeyResponse, UpdateApiKeyError>
Updates an API key.
fn update_data_source(
&self,
input: UpdateDataSourceRequest
) -> RusotoFuture<UpdateDataSourceResponse, UpdateDataSourceError>
[src]
&self,
input: UpdateDataSourceRequest
) -> RusotoFuture<UpdateDataSourceResponse, UpdateDataSourceError>
Updates a DataSource
object.
fn update_function(
&self,
input: UpdateFunctionRequest
) -> RusotoFuture<UpdateFunctionResponse, UpdateFunctionError>
[src]
&self,
input: UpdateFunctionRequest
) -> RusotoFuture<UpdateFunctionResponse, UpdateFunctionError>
Updates a Function
object.
fn update_graphql_api(
&self,
input: UpdateGraphqlApiRequest
) -> RusotoFuture<UpdateGraphqlApiResponse, UpdateGraphqlApiError>
[src]
&self,
input: UpdateGraphqlApiRequest
) -> RusotoFuture<UpdateGraphqlApiResponse, UpdateGraphqlApiError>
Updates a GraphqlApi
object.
fn update_resolver(
&self,
input: UpdateResolverRequest
) -> RusotoFuture<UpdateResolverResponse, UpdateResolverError>
[src]
&self,
input: UpdateResolverRequest
) -> RusotoFuture<UpdateResolverResponse, UpdateResolverError>
Updates a Resolver
object.
fn update_type(
&self,
input: UpdateTypeRequest
) -> RusotoFuture<UpdateTypeResponse, UpdateTypeError>
[src]
&self,
input: UpdateTypeRequest
) -> RusotoFuture<UpdateTypeResponse, UpdateTypeError>
Updates a Type
object.
impl Clone for AppSyncClient
[src]
fn clone(&self) -> AppSyncClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for AppSyncClient
impl Sync for AppSyncClient
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self