String apiId
The ID for your GraphQL API.
String description
A description of the purpose of the API key.
Long 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 .
ApiKey apiKey
The API key.
String apiId
The API ID for the GraphQL API for the DataSource
.
String name
A user-supplied name for the DataSource
.
String description
A description of the DataSource
.
String type
The type of the DataSource
.
String serviceRoleArn
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
DynamodbDataSourceConfig dynamodbConfig
DynamoDB settings.
LambdaDataSourceConfig lambdaConfig
AWS Lambda settings.
ElasticsearchDataSourceConfig elasticsearchConfig
Amazon Elasticsearch settings.
DataSource dataSource
The DataSource
object.
String name
A user-supplied name for the GraphqlApi
.
LogConfig logConfig
The Amazon CloudWatch logs configuration.
String authenticationType
The authentication type: API key, IAM, or Amazon Cognito User Pools.
UserPoolConfig userPoolConfig
The Amazon Cognito User Pool configuration.
OpenIDConnectConfig openIDConnectConfig
The Open Id Connect configuration configuration.
GraphqlApi graphqlApi
The GraphqlApi
.
String apiId
The ID for the GraphQL API for which the resolver is being created.
String typeName
The name of the Type
.
String fieldName
The name of the field to attach the resolver to.
String dataSourceName
The name of the data source for which the resolver is being created.
String requestMappingTemplate
The mapping template to be used for requests.
A 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).
String responseMappingTemplate
The mapping template to be used for responses from the data source.
Resolver resolver
The Resolver
object.
String apiId
The API ID.
String definition
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
String format
The type format: SDL or JSON.
Type type
The Type
object.
String dataSourceArn
The data source ARN.
String name
The name of the data source.
String description
The description of the data source.
String type
The type of the data source.
AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.
AWS_LAMBDA: The data source is an AWS Lambda function.
NONE: There is no data source. This type is used when when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.
String serviceRoleArn
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
DynamodbDataSourceConfig dynamodbConfig
DynamoDB settings.
LambdaDataSourceConfig lambdaConfig
Lambda settings.
ElasticsearchDataSourceConfig elasticsearchConfig
Amazon Elasticsearch settings.
String apiId
The API ID.
DataSource dataSource
The DataSource
object.
String apiId
The API ID for the GraphQL API.
GraphqlApi graphqlApi
The GraphqlApi
object.
ByteBuffer schema
The schema, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
Resolver resolver
The Resolver
object.
String apiId
The API ID.
Type type
The Type
object.
String name
The API name.
String apiId
The API ID.
String authenticationType
The authentication type.
LogConfig logConfig
The Amazon CloudWatch Logs configuration.
UserPoolConfig userPoolConfig
The Amazon Cognito User Pool configuration.
OpenIDConnectConfig openIDConnectConfig
The Open Id Connect configuration.
String arn
The ARN.
Map<K,V> uris
The URIs.
String lambdaFunctionArn
The ARN for the Lambda function.
String apiId
The API ID.
String typeName
The type name.
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Integer maxResults
The maximum number of results you want the request to return.
String apiId
The API ID.
String format
The type format: SDL or JSON.
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Integer maxResults
The maximum number of results you want the request to return.
String fieldLogLevel
The field logging level. Values can be NONE, ERROR, ALL.
NONE: No field-level logs are captured.
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.
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.
String cloudWatchLogsRoleArn
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
String issuer
The issuer for the open id connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
String clientId
The client identifier of the Relying party at the OpenID Provider. This identifier is typically obtained when the Relying party is registered with the OpenID Provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time
Long iatTTL
The number of milliseconds a token is valid after being issued to a user.
Long authTTL
The number of milliseconds a token is valid after being authenticated.
String typeName
The resolver type name.
String fieldName
The resolver field name.
String dataSourceName
The resolver data source name.
String resolverArn
The resolver ARN.
String requestMappingTemplate
The request mapping template.
String responseMappingTemplate
The response mapping template.
String apiId
The API ID.
ByteBuffer definition
The schema definition, in GraphQL schema language format.
String status
The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the schema is in the ACTIVE state, you can add data.
String apiId
The ID for the GraphQL API
String id
The API key ID.
String description
A description of the purpose of the API key.
Long 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 .
ApiKey apiKey
The API key.
String apiId
The API ID.
String name
The new name for the data source.
String description
The new description for the data source.
String type
The new data source type.
String serviceRoleArn
The new service role ARN for the data source.
DynamodbDataSourceConfig dynamodbConfig
The new DynamoDB configuration.
LambdaDataSourceConfig lambdaConfig
The new Lambda configuration.
ElasticsearchDataSourceConfig elasticsearchConfig
The new Elasticsearch configuration.
DataSource dataSource
The updated DataSource
object.
String apiId
The API ID.
String name
The new name for the GraphqlApi
object.
LogConfig logConfig
The Amazon CloudWatch logs configuration for the GraphqlApi
object.
String authenticationType
The new authentication type for the GraphqlApi
object.
UserPoolConfig userPoolConfig
The new Amazon Cognito User Pool configuration for the GraphqlApi
object.
OpenIDConnectConfig openIDConnectConfig
The Open Id Connect configuration configuration for the GraphqlApi
object.
GraphqlApi graphqlApi
The updated GraphqlApi
object.
String apiId
The API ID.
String typeName
The new type name.
String fieldName
The new field name.
String dataSourceName
The new data source name.
String requestMappingTemplate
The new request mapping template.
String responseMappingTemplate
The new response mapping template.
Resolver resolver
The updated Resolver
object.
Type type
The updated Type
object.
String userPoolId
The user pool ID.
String awsRegion
The AWS region in which the user pool was created.
String 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.
String appIdClientRegex
A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
Copyright © 2018. All rights reserved.