[][src]Struct rusoto_appsync::AppSyncClient

pub struct AppSyncClient { /* fields omitted */ }

A client for the AWSAppSync API.

Implementations

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,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> AppSyncClient[src]

Trait Implementations

impl AppSync for AppSyncClient[src]

pub fn create_api_cache<'life0, 'async_trait>(
    &'life0 self,
    input: CreateApiCacheRequest
) -> Pin<Box<dyn Future<Output = Result<CreateApiCacheResponse, RusotoError<CreateApiCacheError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a cache for the GraphQL API.

pub fn create_api_key<'life0, 'async_trait>(
    &'life0 self,
    input: CreateApiKeyRequest
) -> Pin<Box<dyn Future<Output = Result<CreateApiKeyResponse, RusotoError<CreateApiKeyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a unique key that you can distribute to clients who are executing your API.

pub fn create_data_source<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDataSourceResponse, RusotoError<CreateDataSourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a DataSource object.

pub fn create_function<'life0, 'async_trait>(
    &'life0 self,
    input: CreateFunctionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFunctionResponse, RusotoError<CreateFunctionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a Function object.

A function is a reusable entity. Multiple functions can be used to compose the resolver logic.

pub fn create_graphql_api<'life0, 'async_trait>(
    &'life0 self,
    input: CreateGraphqlApiRequest
) -> Pin<Box<dyn Future<Output = Result<CreateGraphqlApiResponse, RusotoError<CreateGraphqlApiError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a GraphqlApi object.

pub fn create_resolver<'life0, 'async_trait>(
    &'life0 self,
    input: CreateResolverRequest
) -> Pin<Box<dyn Future<Output = Result<CreateResolverResponse, RusotoError<CreateResolverError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

pub fn create_type<'life0, 'async_trait>(
    &'life0 self,
    input: CreateTypeRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTypeResponse, RusotoError<CreateTypeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a Type object.

pub fn delete_api_cache<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteApiCacheRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteApiCacheResponse, RusotoError<DeleteApiCacheError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes an ApiCache object.

pub fn delete_api_key<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteApiKeyRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteApiKeyResponse, RusotoError<DeleteApiKeyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes an API key.

pub fn delete_data_source<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteDataSourceResponse, RusotoError<DeleteDataSourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a DataSource object.

pub fn delete_function<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteFunctionRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteFunctionResponse, RusotoError<DeleteFunctionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a Function.

pub fn delete_graphql_api<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteGraphqlApiRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteGraphqlApiResponse, RusotoError<DeleteGraphqlApiError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a GraphqlApi object.

pub fn delete_resolver<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteResolverRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteResolverResponse, RusotoError<DeleteResolverError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a Resolver object.

pub fn delete_type<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteTypeRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTypeResponse, RusotoError<DeleteTypeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a Type object.

pub fn flush_api_cache<'life0, 'async_trait>(
    &'life0 self,
    input: FlushApiCacheRequest
) -> Pin<Box<dyn Future<Output = Result<FlushApiCacheResponse, RusotoError<FlushApiCacheError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Flushes an ApiCache object.

pub fn get_api_cache<'life0, 'async_trait>(
    &'life0 self,
    input: GetApiCacheRequest
) -> Pin<Box<dyn Future<Output = Result<GetApiCacheResponse, RusotoError<GetApiCacheError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves an ApiCache object.

pub fn get_data_source<'life0, 'async_trait>(
    &'life0 self,
    input: GetDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<GetDataSourceResponse, RusotoError<GetDataSourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a DataSource object.

pub fn get_function<'life0, 'async_trait>(
    &'life0 self,
    input: GetFunctionRequest
) -> Pin<Box<dyn Future<Output = Result<GetFunctionResponse, RusotoError<GetFunctionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Get a Function.

pub fn get_graphql_api<'life0, 'async_trait>(
    &'life0 self,
    input: GetGraphqlApiRequest
) -> Pin<Box<dyn Future<Output = Result<GetGraphqlApiResponse, RusotoError<GetGraphqlApiError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a GraphqlApi object.

pub fn get_introspection_schema<'life0, 'async_trait>(
    &'life0 self,
    input: GetIntrospectionSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<GetIntrospectionSchemaResponse, RusotoError<GetIntrospectionSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the introspection schema for a GraphQL API.

pub fn get_resolver<'life0, 'async_trait>(
    &'life0 self,
    input: GetResolverRequest
) -> Pin<Box<dyn Future<Output = Result<GetResolverResponse, RusotoError<GetResolverError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a Resolver object.

pub fn get_schema_creation_status<'life0, 'async_trait>(
    &'life0 self,
    input: GetSchemaCreationStatusRequest
) -> Pin<Box<dyn Future<Output = Result<GetSchemaCreationStatusResponse, RusotoError<GetSchemaCreationStatusError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the current status of a schema creation operation.

pub fn get_type<'life0, 'async_trait>(
    &'life0 self,
    input: GetTypeRequest
) -> Pin<Box<dyn Future<Output = Result<GetTypeResponse, RusotoError<GetTypeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a Type object.

pub fn list_api_keys<'life0, 'async_trait>(
    &'life0 self,
    input: ListApiKeysRequest
) -> Pin<Box<dyn Future<Output = Result<ListApiKeysResponse, RusotoError<ListApiKeysError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the API keys for a given API.

API keys are deleted automatically 60 days 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.

pub fn list_data_sources<'life0, 'async_trait>(
    &'life0 self,
    input: ListDataSourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSourcesResponse, RusotoError<ListDataSourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the data sources for a given API.

pub fn list_functions<'life0, 'async_trait>(
    &'life0 self,
    input: ListFunctionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListFunctionsResponse, RusotoError<ListFunctionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List multiple functions.

pub fn list_graphql_apis<'life0, 'async_trait>(
    &'life0 self,
    input: ListGraphqlApisRequest
) -> Pin<Box<dyn Future<Output = Result<ListGraphqlApisResponse, RusotoError<ListGraphqlApisError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists your GraphQL APIs.

pub fn list_resolvers<'life0, 'async_trait>(
    &'life0 self,
    input: ListResolversRequest
) -> Pin<Box<dyn Future<Output = Result<ListResolversResponse, RusotoError<ListResolversError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the resolvers for a given API and type.

pub fn list_resolvers_by_function<'life0, 'async_trait>(
    &'life0 self,
    input: ListResolversByFunctionRequest
) -> Pin<Box<dyn Future<Output = Result<ListResolversByFunctionResponse, RusotoError<ListResolversByFunctionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List the resolvers that are associated with a specific function.

pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the tags for a resource.

pub fn list_types<'life0, 'async_trait>(
    &'life0 self,
    input: ListTypesRequest
) -> Pin<Box<dyn Future<Output = Result<ListTypesResponse, RusotoError<ListTypesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the types for a given API.

pub fn start_schema_creation<'life0, 'async_trait>(
    &'life0 self,
    input: StartSchemaCreationRequest
) -> Pin<Box<dyn Future<Output = Result<StartSchemaCreationResponse, RusotoError<StartSchemaCreationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds a new schema to your GraphQL API.

This operation is asynchronous. Use to determine when it has completed.

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Tags a resource with user-supplied tags.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Untags a resource.

pub fn update_api_cache<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateApiCacheRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateApiCacheResponse, RusotoError<UpdateApiCacheError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the cache for the GraphQL API.

pub fn update_api_key<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateApiKeyRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateApiKeyResponse, RusotoError<UpdateApiKeyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates an API key. The key can be updated while it is not deleted.

pub fn update_data_source<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateDataSourceRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDataSourceResponse, RusotoError<UpdateDataSourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a DataSource object.

pub fn update_function<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateFunctionRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFunctionResponse, RusotoError<UpdateFunctionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a Function object.

pub fn update_graphql_api<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateGraphqlApiRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateGraphqlApiResponse, RusotoError<UpdateGraphqlApiError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a GraphqlApi object.

pub fn update_resolver<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateResolverRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResolverResponse, RusotoError<UpdateResolverError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a Resolver object.

pub fn update_type<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateTypeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTypeResponse, RusotoError<UpdateTypeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a Type object.

impl Clone for AppSyncClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.