logo
pub trait AppSync {
Show 41 methods 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
;
}
Expand description

Trait representing the capabilities of the AWSAppSync API. AWSAppSync clients implement this trait.

Required Methods

Creates a cache for the GraphQL API.

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

Creates a DataSource object.

Creates a Function object.

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

Creates a GraphqlApi object.

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.

Creates a Type object.

Deletes an ApiCache object.

Deletes an API key.

Deletes a DataSource object.

Deletes a Function.

Deletes a GraphqlApi object.

Deletes a Resolver object.

Deletes a Type object.

Flushes an ApiCache object.

Retrieves an ApiCache object.

Retrieves a DataSource object.

Get a Function.

Retrieves a GraphqlApi object.

Retrieves the introspection schema for a GraphQL API.

Retrieves a Resolver object.

Retrieves the current status of a schema creation operation.

Retrieves a Type object.

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.

Lists the data sources for a given API.

List multiple functions.

Lists your GraphQL APIs.

Lists the resolvers for a given API and type.

List the resolvers that are associated with a specific function.

Lists the tags for a resource.

Lists the types for a given API.

Adds a new schema to your GraphQL API.

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

Tags a resource with user-supplied tags.

Untags a resource.

Updates the cache for the GraphQL API.

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

Updates a DataSource object.

Updates a Function object.

Updates a GraphqlApi object.

Updates a Resolver object.

Updates a Type object.

Implementors