View Source aws_appsync (aws v1.0.4)
Summary
Functions
DataSource
object.DomainName
object.Creates a Function
object.
GraphqlApi
object.Creates a Resolver
object.
Type
object.ApiCache
object.DataSource
object.DomainName
object.Function
.GraphqlApi
object.Resolver
object.Type
object.ApiAssociation
object from a custom domain.Evaluates the given code and returns the response.
Evaluates a given template and returns the response.
ApiCache
object.ApiAssociation
object.ApiCache
object.DataSource
object.Retrieves the record of an existing introspection.
DomainName
object.Function
.GraphqlApi
object.Resolver
object.SourceApiAssociation
object.Type
object.Lists the API keys for a given API.
SourceApiAssociationSummary
data.Type
objects by the source API association ID.Creates a list of environmental variables in an API by its ID value.
Creates a new introspection.
Adds a new schema to your GraphQL API.
Initiates a merge operation.
Updates an API key.
DataSource
object.DomainName
object.Function
object.GraphqlApi
object.Resolver
object.Type
object.Functions
associate_merged_graphql_api(Client, SourceApiIdentifier, Input0, Options0)
View Sourceassociate_source_graphql_api(Client, MergedApiIdentifier, Input0, Options0)
View SourceDataSource
object.
DomainName
object.
Creates a Function
object.
GraphqlApi
object.
Creates a Resolver
object.
Type
object.
ApiCache
object.
DataSource
object.
DomainName
object.
Function
.
GraphqlApi
object.
Resolver
object.
delete_resolver(Client, ApiId, FieldName, TypeName, Input0, Options0)
View SourceType
object.
ApiAssociation
object from a custom domain.
disassociate_merged_graphql_api(Client, AssociationId, SourceApiIdentifier, Input)
View Sourcedisassociate_merged_graphql_api(Client, AssociationId, SourceApiIdentifier, Input0, Options0)
View Sourcedisassociate_source_graphql_api(Client, AssociationId, MergedApiIdentifier, Input)
View Sourcedisassociate_source_graphql_api(Client, AssociationId, MergedApiIdentifier, Input0, Options0)
View SourceEvaluates the given code and returns the response.
The code definition requirements depend on the specified runtime. ForAPPSYNC_JS
runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
Evaluates a given template and returns the response.
The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).ApiCache
object.
ApiAssociation
object.
get_api_association(Client, DomainName, QueryMap, HeadersMap, Options0)
View SourceApiCache
object.
DataSource
object.
get_data_source(Client, ApiId, Name, QueryMap, HeadersMap, Options0)
View SourceRetrieves the record of an existing introspection.
If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.get_data_source_introspection(Client, IntrospectionId, QueryMap, HeadersMap)
View Sourceget_data_source_introspection(Client, IntrospectionId, QueryMap, HeadersMap, Options0)
View SourceDomainName
object.
get_domain_name(Client, DomainName, QueryMap, HeadersMap, Options0)
View SourceFunction
.
get_function(Client, ApiId, FunctionId, QueryMap, HeadersMap, Options0)
View SourceGraphqlApi
object.
get_graphql_api_environment_variables(Client, ApiId, QueryMap, HeadersMap)
View Sourceget_graphql_api_environment_variables(Client, ApiId, QueryMap, HeadersMap, Options0)
View Sourceget_introspection_schema(Client, ApiId, Format, QueryMap, HeadersMap)
View Sourceget_introspection_schema(Client, ApiId, Format, QueryMap, HeadersMap, Options0)
View SourceResolver
object.
get_resolver(Client, ApiId, FieldName, TypeName, QueryMap, HeadersMap)
View Sourceget_resolver(Client, ApiId, FieldName, TypeName, QueryMap, HeadersMap, Options0)
View Sourceget_schema_creation_status(Client, ApiId, QueryMap, HeadersMap, Options0)
View Sourceget_source_api_association(Client, AssociationId, MergedApiIdentifier)
View SourceSourceApiAssociation
object.
get_source_api_association(Client, AssociationId, MergedApiIdentifier, QueryMap, HeadersMap)
View Sourceget_source_api_association(Client, AssociationId, MergedApiIdentifier, QueryMap, HeadersMap, Options0)
View SourceType
object.
get_type(Client, ApiId, TypeName, Format, QueryMap, HeadersMap, Options0)
View SourceLists 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 callDeleteApiKey
to manually delete a key before it's automatically deleted.
list_resolvers(Client, ApiId, TypeName, QueryMap, HeadersMap, Options0)
View Sourcelist_resolvers_by_function(Client, ApiId, FunctionId, QueryMap, HeadersMap)
View Sourcelist_resolvers_by_function(Client, ApiId, FunctionId, QueryMap, HeadersMap, Options0)
View SourceSourceApiAssociationSummary
data.
list_source_api_associations(Client, ApiId, QueryMap, HeadersMap, Options0)
View Sourcelist_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View Sourcelist_types_by_association(Client, AssociationId, MergedApiIdentifier, Format)
View SourceType
objects by the source API association ID.
list_types_by_association(Client, AssociationId, MergedApiIdentifier, Format, QueryMap, HeadersMap)
View Sourcelist_types_by_association(Client, AssociationId, MergedApiIdentifier, Format, QueryMap, HeadersMap, Options0)
View SourceCreates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
Both JavaScript and VTL templates support environmental variables.
Environmental variables are not evaluated before function invocation.
Environmental variables only support string values.
Any defined value in an environmental variable is considered a string literal and not expanded.
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
environmentVariables
payload as a list in the format {"key1":"value1","key2":"value2", …}
. Note that each call of the PutGraphqlApiEnvironmentVariables
action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.
put_graphql_api_environment_variables(Client, ApiId, Input0, Options0)
View SourceCreates a new introspection.
Returns theintrospectionId
of the new introspection after its creation.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.start_schema_merge(Client, AssociationId, MergedApiIdentifier, Input)
View SourceInitiates a merge operation.
Returns a status that shows the result of the merge operation.start_schema_merge(Client, AssociationId, MergedApiIdentifier, Input0, Options0)
View SourceUpdates an API key.
You can update the key as long as it's not deleted.DataSource
object.
DomainName
object.
Function
object.
GraphqlApi
object.
Resolver
object.
update_resolver(Client, ApiId, FieldName, TypeName, Input0, Options0)
View Sourceupdate_source_api_association(Client, AssociationId, MergedApiIdentifier, Input)
View Sourceupdate_source_api_association(Client, AssociationId, MergedApiIdentifier, Input0, Options0)
View SourceType
object.