Creates a unique key that you can distribute to clients who are executing your API.
The ID for your GraphQL API.
Type: string
Type: object
{
"expires" : "The time from creation time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .",
"description" : "A description of the purpose of the API key."
}
Creates a DataSource object.
The API ID for the GraphQL API for the DataSource.
Type: string
Type: object
{
"dynamodbConfig" : {
"useCallerCredentials" : "Set to TRUE to use Amazon Cognito credentials with this data source.",
"awsRegion" : "The AWS Region.",
"tableName" : "The table name."
},
"elasticsearchConfig" : {
"endpoint" : "The endpoint.",
"awsRegion" : "The AWS Region."
},
"httpConfig" : {
"endpoint" : "The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.",
"authorizationConfig" : {
"awsIamConfig" : {
"signingRegion" : "The signing region for AWS IAM authorization.",
"signingServiceName" : "The signing service name for AWS IAM authorization."
},
"authorizationType" : "The authorization type required by the HTTP endpoint. \n AWS_IAM: The authorization type is Sigv4. "
}
},
"relationalDatabaseConfig" : {
"relationalDatabaseSourceType" : "Source type for the relational database. \n RDS_HTTP_ENDPOINT: The relational database source type is an Amazon RDS HTTP endpoint. ",
"rdsHttpEndpointConfig" : {
"dbClusterIdentifier" : "Amazon RDS cluster identifier.",
"schema" : "Logical schema name.",
"awsRegion" : "AWS Region for RDS HTTP endpoint.",
"databaseName" : "Logical database name.",
"awsSecretStoreArn" : "AWS secret store ARN for database credentials."
}
},
"name" : "A user-supplied name for the DataSource.",
"description" : "A description of the DataSource.",
"type" : "The type of the DataSource.",
"serviceRoleArn" : "The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.",
"lambdaConfig" : {
"lambdaFunctionArn" : "The ARN for the Lambda function."
}
}
Creates a Function object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
The GraphQL API ID.
Type: string
Type: object
{
"responseMappingTemplate" : "The Function response mapping template. ",
"functionVersion" : "The version of the request mapping template. Currently the supported value is 2018-05-29. ",
"name" : "The Function name. The function name does not have to be unique.",
"description" : "The Function description.",
"dataSourceName" : "The Function DataSource name.",
"requestMappingTemplate" : "The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template."
}
Creates a GraphqlApi object.
Type: object
{
"additionalAuthenticationProviders" : [ {
"openIDConnectConfig" : {
"authTTL" : "The number of milliseconds a token is valid after being authenticated.",
"clientId" : "The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.",
"iatTTL" : "The number of milliseconds a token is valid after being issued to a user.",
"issuer" : "The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token."
},
"userPoolConfig" : {
"awsRegion" : "The AWS Region in which the user pool was created.",
"userPoolId" : "The user pool ID.",
"appIdClientRegex" : "A regular expression for validating the incoming Amazon Cognito user pool app client ID."
},
"authenticationType" : "The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools."
} ],
"logConfig" : {
"cloudWatchLogsRoleArn" : "The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. ",
"fieldLogLevel" : "The field logging level. Values can be NONE, ERROR, or ALL. \n NONE: No field-level logs are captured. \n ERROR: Logs the following information only for the fields that are in error: The error section in the server response. Field-level errors. The generated request/response functions that got resolved for error fields. \n ALL: The following information is logged for all fields in the query: Field-level tracing information. The generated request/response functions that got resolved for each field. ",
"excludeVerboseContent" : "Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level."
},
"userPoolConfig" : {
"awsRegion" : "The AWS Region in which the user pool was created.",
"defaultAction" : "The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.",
"userPoolId" : "The user pool ID.",
"appIdClientRegex" : "A regular expression for validating the incoming Amazon Cognito user pool app client ID."
},
"openIDConnectConfig" : {
"authTTL" : "The number of milliseconds a token is valid after being authenticated.",
"clientId" : "The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.",
"iatTTL" : "The number of milliseconds a token is valid after being issued to a user.",
"issuer" : "The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token."
},
"name" : "A user-supplied name for the GraphqlApi.",
"authenticationType" : "The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.",
"tags" : "A TagMap 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.
The ID for the GraphQL API for which the resolver is being created.
Type: string
The name of the Type.
Type: string
Type: object
{
"responseMappingTemplate" : "The mapping template to be used for responses from the data source.",
"fieldName" : "The name of the field to attach the resolver to.",
"pipelineConfig" : {
"functions" : [ "string" ]
},
"kind" : "The resolver type. \n UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source. \n PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources. ",
"dataSourceName" : "The name of the data source for which the resolver is being created.",
"requestMappingTemplate" : "The mapping template to be used for requests. \nA resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL)."
}
Creates a Type object.
The API ID.
Type: string
Type: object
{
"format" : "The type format: SDL or JSON.",
"definition" : "The type definition, in GraphQL Schema Definition Language (SDL) format. \nFor more information, see the GraphQL SDL documentation."
}
Deletes an API key.
Deletes a DataSource object.
The API ID.
Type: string
The name of the data source.
Type: string
Deletes a Function.
The GraphQL API ID.
Type: string
The Function ID.
Type: string
Deletes a GraphqlApi object.
Deletes a Resolver object.
The API ID.
Type: string
The resolver field name.
Type: string
The name of the resolver type.
Type: string
Deletes a Type object.
Retrieves a DataSource object.
The API ID.
Type: string
The name of the data source.
Type: string
Get a Function.
The GraphQL API ID.
Type: string
The Function ID.
Type: string
Retrieves a GraphqlApi object.
Retrieves the introspection schema for a GraphQL API.
The API ID.
Type: string
The schema format: SDL or JSON.
Type: string
Potential values: SDL, JSON
A flag that specifies whether the schema introspection should contain directives.
Type: boolean
Retrieves a Resolver object.
The API ID.
Type: string
The resolver field name.
Type: string
The resolver type name.
Type: string
Retrieves the current status of a schema creation operation.
Retrieves a Type object.
The API ID.
Type: string
The type format: SDL or JSON.
Type: string
Potential values: SDL, JSON
The type name.
Type: string
Lists the API keys for a given API.
API keys are deleted automatically sometime 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.
This operation has no parameters
Lists the resolvers for a given API and type.
List the resolvers that are associated with a specific function.
The API ID.
Type: string
The Function ID.
Type: string
Lists the tags for a resource.
Lists the types for a given API.
The API ID.
Type: string
The type format: SDL or JSON.
Type: string
Potential values: SDL, JSON
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
The API ID.
Type: string
Type: object
{
"definition" : "The schema definition, in GraphQL schema language format."
}
Tags a resource with user-supplied tags.
The GraphqlApi ARN.
Type: string
Type: object
{
"tags" : "A TagMap object."
}
Untags a resource.
The GraphqlApi ARN.
Type: string
A list of TagKey objects.
Type: array
[ "string" ]
Updates an API key.
The ID for the GraphQL API.
Type: string
The API key ID.
Type: string
Type: object
{
"expires" : "The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .",
"description" : "A description of the purpose of the API key."
}
Updates a DataSource object.
The API ID.
Type: string
The new name for the data source.
Type: string
Type: object
{
"dynamodbConfig" : {
"useCallerCredentials" : "Set to TRUE to use Amazon Cognito credentials with this data source.",
"awsRegion" : "The AWS Region.",
"tableName" : "The table name."
},
"elasticsearchConfig" : {
"endpoint" : "The endpoint.",
"awsRegion" : "The AWS Region."
},
"httpConfig" : {
"endpoint" : "The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.",
"authorizationConfig" : {
"awsIamConfig" : {
"signingRegion" : "The signing region for AWS IAM authorization.",
"signingServiceName" : "The signing service name for AWS IAM authorization."
},
"authorizationType" : "The authorization type required by the HTTP endpoint. \n AWS_IAM: The authorization type is Sigv4. "
}
},
"relationalDatabaseConfig" : {
"relationalDatabaseSourceType" : "Source type for the relational database. \n RDS_HTTP_ENDPOINT: The relational database source type is an Amazon RDS HTTP endpoint. ",
"rdsHttpEndpointConfig" : {
"dbClusterIdentifier" : "Amazon RDS cluster identifier.",
"schema" : "Logical schema name.",
"awsRegion" : "AWS Region for RDS HTTP endpoint.",
"databaseName" : "Logical database name.",
"awsSecretStoreArn" : "AWS secret store ARN for database credentials."
}
},
"description" : "The new description for the data source.",
"type" : "The new data source type.",
"serviceRoleArn" : "The new service role ARN for the data source.",
"lambdaConfig" : {
"lambdaFunctionArn" : "The ARN for the Lambda function."
}
}
Updates a Function object.
The GraphQL API ID.
Type: string
The function ID.
Type: string
Type: object
{
"responseMappingTemplate" : "The Function request mapping template. ",
"functionVersion" : "The version of the request mapping template. Currently the supported value is 2018-05-29. ",
"name" : "The Function name.",
"description" : "The Function description.",
"dataSourceName" : "The Function DataSource name.",
"requestMappingTemplate" : "The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template."
}
Updates a GraphqlApi object.
The API ID.
Type: string
Type: object
{
"additionalAuthenticationProviders" : [ {
"openIDConnectConfig" : {
"authTTL" : "The number of milliseconds a token is valid after being authenticated.",
"clientId" : "The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.",
"iatTTL" : "The number of milliseconds a token is valid after being issued to a user.",
"issuer" : "The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token."
},
"userPoolConfig" : {
"awsRegion" : "The AWS Region in which the user pool was created.",
"userPoolId" : "The user pool ID.",
"appIdClientRegex" : "A regular expression for validating the incoming Amazon Cognito user pool app client ID."
},
"authenticationType" : "The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools."
} ],
"logConfig" : {
"cloudWatchLogsRoleArn" : "The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. ",
"fieldLogLevel" : "The field logging level. Values can be NONE, ERROR, or ALL. \n NONE: No field-level logs are captured. \n ERROR: Logs the following information only for the fields that are in error: The error section in the server response. Field-level errors. The generated request/response functions that got resolved for error fields. \n ALL: The following information is logged for all fields in the query: Field-level tracing information. The generated request/response functions that got resolved for each field. ",
"excludeVerboseContent" : "Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level."
},
"userPoolConfig" : {
"awsRegion" : "The AWS Region in which the user pool was created.",
"defaultAction" : "The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.",
"userPoolId" : "The user pool ID.",
"appIdClientRegex" : "A regular expression for validating the incoming Amazon Cognito user pool app client ID."
},
"openIDConnectConfig" : {
"authTTL" : "The number of milliseconds a token is valid after being authenticated.",
"clientId" : "The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.",
"iatTTL" : "The number of milliseconds a token is valid after being issued to a user.",
"issuer" : "The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token."
},
"name" : "The new name for the GraphqlApi object.",
"authenticationType" : "The new authentication type for the GraphqlApi object."
}
Updates a Resolver object.
The API ID.
Type: string
The new field name.
Type: string
The new type name.
Type: string
Type: object
{
"responseMappingTemplate" : "The new response mapping template.",
"pipelineConfig" : {
"functions" : [ "string" ]
},
"kind" : "The resolver type. \n UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source. \n PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources. ",
"dataSourceName" : "The new data source name.",
"requestMappingTemplate" : "The new request mapping template."
}
Updates a Type object.