AWS.AppSync (aws-elixir v0.8.0) View Source

AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.

Link to this section Summary

Functions

Creates a cache for the GraphQL API.

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

Retrieves an ApiCache object.

Retrieves a GraphqlApi object.

Retrieves the current status of a schema creation operation.

Adds a new schema to your GraphQL API.

Tags a resource with user-supplied tags.

Updates the cache for the GraphQL API.

Link to this section Functions

Link to this function

create_api_cache(client, api_id, input, options \\ [])

View Source

Creates a cache for the GraphQL API.

Link to this function

create_api_key(client, api_id, input, options \\ [])

View Source

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

Link to this function

create_data_source(client, api_id, input, options \\ [])

View Source

Creates a DataSource object.

Link to this function

create_function(client, api_id, input, options \\ [])

View Source

Creates a Function object.

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

Link to this function

create_graphql_api(client, input, options \\ [])

View Source

Creates a GraphqlApi object.

Link to this function

create_resolver(client, api_id, type_name, input, options \\ [])

View Source

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.

Link to this function

create_type(client, api_id, input, options \\ [])

View Source

Creates a Type object.

Link to this function

delete_api_cache(client, api_id, input, options \\ [])

View Source

Deletes an ApiCache object.

Link to this function

delete_api_key(client, api_id, id, input, options \\ [])

View Source

Deletes an API key.

Link to this function

delete_data_source(client, api_id, name, input, options \\ [])

View Source

Deletes a DataSource object.

Link to this function

delete_function(client, api_id, function_id, input, options \\ [])

View Source

Deletes a Function.

Link to this function

delete_graphql_api(client, api_id, input, options \\ [])

View Source

Deletes a GraphqlApi object.

Link to this function

delete_resolver(client, api_id, field_name, type_name, input, options \\ [])

View Source

Deletes a Resolver object.

Link to this function

delete_type(client, api_id, type_name, input, options \\ [])

View Source

Deletes a Type object.

Link to this function

flush_api_cache(client, api_id, input, options \\ [])

View Source

Flushes an ApiCache object.

Link to this function

get_api_cache(client, api_id, options \\ [])

View Source

Retrieves an ApiCache object.

Link to this function

get_data_source(client, api_id, name, options \\ [])

View Source

Retrieves a DataSource object.

Link to this function

get_function(client, api_id, function_id, options \\ [])

View Source

Get a Function.

Link to this function

get_graphql_api(client, api_id, options \\ [])

View Source

Retrieves a GraphqlApi object.

Link to this function

get_introspection_schema(client, api_id, format, include_directives \\ nil, options \\ [])

View Source

Retrieves the introspection schema for a GraphQL API.

Link to this function

get_resolver(client, api_id, field_name, type_name, options \\ [])

View Source

Retrieves a Resolver object.

Link to this function

get_schema_creation_status(client, api_id, options \\ [])

View Source

Retrieves the current status of a schema creation operation.

Link to this function

get_type(client, api_id, type_name, format, options \\ [])

View Source

Retrieves a Type object.

Link to this function

list_api_keys(client, api_id, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

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.

Link to this function

list_data_sources(client, api_id, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

Lists the data sources for a given API.

Link to this function

list_functions(client, api_id, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

List multiple functions.

Link to this function

list_graphql_apis(client, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

Lists your GraphQL APIs.

Link to this function

list_resolvers(client, api_id, type_name, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

Lists the resolvers for a given API and type.

Link to this function

list_resolvers_by_function(client, api_id, function_id, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

List the resolvers that are associated with a specific function.

Link to this function

list_tags_for_resource(client, resource_arn, options \\ [])

View Source

Lists the tags for a resource.

Link to this function

list_types(client, api_id, format, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

Lists the types for a given API.

Link to this function

start_schema_creation(client, api_id, input, options \\ [])

View Source

Adds a new schema to your GraphQL API.

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

Link to this function

tag_resource(client, resource_arn, input, options \\ [])

View Source

Tags a resource with user-supplied tags.

Link to this function

untag_resource(client, resource_arn, input, options \\ [])

View Source

Untags a resource.

Link to this function

update_api_cache(client, api_id, input, options \\ [])

View Source

Updates the cache for the GraphQL API.

Link to this function

update_api_key(client, api_id, id, input, options \\ [])

View Source

Updates an API key.

The key can be updated while it is not deleted.

Link to this function

update_data_source(client, api_id, name, input, options \\ [])

View Source

Updates a DataSource object.

Link to this function

update_function(client, api_id, function_id, input, options \\ [])

View Source

Updates a Function object.

Link to this function

update_graphql_api(client, api_id, input, options \\ [])

View Source

Updates a GraphqlApi object.

Link to this function

update_resolver(client, api_id, field_name, type_name, input, options \\ [])

View Source

Updates a Resolver object.

Link to this function

update_type(client, api_id, type_name, input, options \\ [])

View Source

Updates a Type object.