aws appsync74 CLI commands available for AWS AppSync.
| Command | API Operation | Sample |
|---|---|---|
associate-apiMaps an endpoint to your custom domain. | AssociateApi | |
associate-merged-graphql-apiCreates an association between a Merged API and source API using the source API's identifier. | AssociateMergedGraphqlApi | |
associate-source-graphql-apiCreates an association between a Merged API and source API using the Merged API's identifier. | AssociateSourceGraphqlApi | |
create-apiCreates an Api object. Use this operation to create an AppSync API with your preferred configuration, such as an Event API that provides real-time message publishing and message subscriptions over WebSockets. | CreateApi | |
create-api-cacheCreates a cache for the GraphQL API. | CreateApiCache | |
create-api-keyCreates a unique key that you can distribute to clients who invoke your API. | CreateApiKey | |
create-channel-namespaceCreates a ChannelNamespace for an Api. | CreateChannelNamespace | |
create-data-sourceCreates a DataSource object. | CreateDataSource | |
create-domain-nameCreates a custom DomainName object. | CreateDomainName | |
create-functionCreates a Function object. A function is a reusable entity. You can use multiple functions to compose the resolver logic. | CreateFunction | |
create-graphql-apiCreates a GraphqlApi object. | CreateGraphqlApi | |
create-resolverCreates 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. | CreateResolver | |
create-typeCreates a Type object. | CreateType | |
delete-apiDeletes an Api object | DeleteApi | |
delete-api-cacheDeletes an ApiCache object. | DeleteApiCache | |
delete-api-keyDeletes an API key. | DeleteApiKey | |
delete-channel-namespaceDeletes a ChannelNamespace. | DeleteChannelNamespace | |
delete-data-sourceDeletes a DataSource object. | DeleteDataSource | |
delete-domain-nameDeletes a custom DomainName object. | DeleteDomainName | |
delete-functionDeletes a Function. | DeleteFunction | |
delete-graphql-apiDeletes a GraphqlApi object. | DeleteGraphqlApi | |
delete-resolverDeletes a Resolver object. | DeleteResolver | |
delete-typeDeletes a Type object. | DeleteType | |
disassociate-apiRemoves an ApiAssociation object from a custom domain. | DisassociateApi | |
disassociate-merged-graphql-apiDeletes an association between a Merged API and source API using the source API's identifier and the association ID. | DisassociateMergedGraphqlApi | |
disassociate-source-graphql-apiDeletes an association between a Merged API and source API using the Merged API's identifier and the association ID. | DisassociateSourceGraphqlApi | |
evaluate-codeEvaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_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 | EvaluateCode | |
evaluate-mapping-templateEvaluates 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 inte | EvaluateMappingTemplate | |
flush-api-cacheFlushes an ApiCache object. | FlushApiCache | |
get-apiRetrieves an Api object. | GetApi | |
get-api-associationRetrieves an ApiAssociation object. | GetApiAssociation | |
get-api-cacheRetrieves an ApiCache object. | GetApiCache | |
get-channel-namespaceRetrieves the channel namespace for a specified Api. | GetChannelNamespace | |
get-data-sourceRetrieves a DataSource object. | GetDataSource | |
get-data-source-introspectionRetrieves 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. | GetDataSourceIntrospection | |
get-domain-nameRetrieves a custom DomainName object. | GetDomainName | |
get-functionGet a Function. | GetFunction | |
get-graphql-apiRetrieves a GraphqlApi object. | GetGraphqlApi | |
get-graphql-api-environment-variablesRetrieves the list of environmental variable key-value pairs associated with an API by its ID value. | GetGraphqlApiEnvironmentVariables | |
get-introspection-schemaRetrieves the introspection schema for a GraphQL API. | GetIntrospectionSchema | |
get-resolverRetrieves a Resolver object. | GetResolver | |
get-schema-creation-statusRetrieves the current status of a schema creation operation. | GetSchemaCreationStatus | |
get-source-api-associationRetrieves a SourceApiAssociation object. | GetSourceApiAssociation | |
get-typeRetrieves a Type object. | GetType | |
list-api-keysLists 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. | ListApiKeys | |
list-apisLists the APIs in your AppSync account. ListApis returns only the high level API details. For more detailed information about an API, use GetApi. | ListApis | |
list-channel-namespacesLists the channel namespaces for a specified Api. ListChannelNamespaces returns only high level details for the channel namespace. To retrieve code handlers, use GetChannelNamespace. | ListChannelNamespaces | |
list-data-sourcesLists the data sources for a given API. | ListDataSources | |
list-domain-namesLists multiple custom domain names. | ListDomainNames | |
list-functionsList multiple functions. | ListFunctions | |
list-graphql-apisLists your GraphQL APIs. | ListGraphqlApis | |
list-resolversLists the resolvers for a given API and type. | ListResolvers | |
list-resolvers-by-functionList the resolvers that are associated with a specific function. | ListResolversByFunction | |
list-source-api-associationsLists the SourceApiAssociationSummary data. | ListSourceApiAssociations | |
list-tags-for-resourceLists the tags for a resource. | ListTagsForResource | |
list-typesLists the types for a given API. | ListTypes | |
list-types-by-associationLists Type objects by the source API association ID. | ListTypesByAssociation | |
put-graphql-api-environment-variablesCreates 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. Environm | PutGraphqlApiEnvironmentVariables | |
start-data-source-introspectionCreates a new introspection. Returns the introspectionId of the new introspection after its creation. | StartDataSourceIntrospection | |
start-schema-creationAdds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed. | StartSchemaCreation | |
start-schema-mergeInitiates a merge operation. Returns a status that shows the result of the merge operation. | StartSchemaMerge | |
tag-resourceTags a resource with user-supplied tags. | TagResource | |
untag-resourceUntags a resource. | UntagResource | |
update-apiUpdates an Api. | UpdateApi | |
update-api-cacheUpdates the cache for the GraphQL API. | UpdateApiCache | |
update-api-keyUpdates an API key. You can update the key as long as it's not deleted. | UpdateApiKey | |
update-channel-namespaceUpdates a ChannelNamespace associated with an Api. | UpdateChannelNamespace | |
update-data-sourceUpdates a DataSource object. | UpdateDataSource | |
update-domain-nameUpdates a custom DomainName object. | UpdateDomainName | |
update-functionUpdates a Function object. | UpdateFunction | |
update-graphql-apiUpdates a GraphqlApi object. | UpdateGraphqlApi | |
update-resolverUpdates a Resolver object. | UpdateResolver | |
update-source-api-associationUpdates some of the configuration choices of a particular source API association. | UpdateSourceApiAssociation | |
update-typeUpdates a Type object. | UpdateType |
Everything you need to know about AWS AppSync on one page. HD quality, print-friendly.
Download Free InfographicEverything you need to know about AWS AppSync on one page. HD quality, print-friendly.
Download Free InfographicAppSync