Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- appSync :: Service
- _APIKeyValidityOutOfBoundsException :: AsError a => Getting (First ServiceError) a ServiceError
- _APIKeyLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _APILimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _GraphQLSchemaException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data AuthenticationType
- data DataSourceType
- data DefaultAction
- data FieldLogLevel
- data OutputType
- data SchemaStatus
- = Active
- | Deleting
- | Processing
- data TypeDefinitionFormat
- data APIKey
- apiKey :: APIKey
- akExpires :: Lens' APIKey (Maybe Integer)
- akId :: Lens' APIKey (Maybe Text)
- akDescription :: Lens' APIKey (Maybe Text)
- data DataSource
- dataSource :: DataSource
- dsServiceRoleARN :: Lens' DataSource (Maybe Text)
- dsDataSourceARN :: Lens' DataSource (Maybe Text)
- dsDynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig)
- dsName :: Lens' DataSource (Maybe Text)
- dsLambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig)
- dsType :: Lens' DataSource (Maybe DataSourceType)
- dsDescription :: Lens' DataSource (Maybe Text)
- dsElasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig)
- data DynamodbDataSourceConfig
- dynamodbDataSourceConfig :: Text -> Text -> DynamodbDataSourceConfig
- ddscUseCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool)
- ddscTableName :: Lens' DynamodbDataSourceConfig Text
- ddscAwsRegion :: Lens' DynamodbDataSourceConfig Text
- data ElasticsearchDataSourceConfig
- elasticsearchDataSourceConfig :: Text -> Text -> ElasticsearchDataSourceConfig
- edscEndpoint :: Lens' ElasticsearchDataSourceConfig Text
- edscAwsRegion :: Lens' ElasticsearchDataSourceConfig Text
- data GraphqlAPI
- graphqlAPI :: GraphqlAPI
- gaArn :: Lens' GraphqlAPI (Maybe Text)
- gaApiId :: Lens' GraphqlAPI (Maybe Text)
- gaUris :: Lens' GraphqlAPI (HashMap Text Text)
- gaOpenIdConnectConfig :: Lens' GraphqlAPI (Maybe OpenIdConnectConfig)
- gaName :: Lens' GraphqlAPI (Maybe Text)
- gaUserPoolConfig :: Lens' GraphqlAPI (Maybe UserPoolConfig)
- gaAuthenticationType :: Lens' GraphqlAPI (Maybe AuthenticationType)
- gaLogConfig :: Lens' GraphqlAPI (Maybe LogConfig)
- data LambdaDataSourceConfig
- lambdaDataSourceConfig :: Text -> LambdaDataSourceConfig
- ldscLambdaFunctionARN :: Lens' LambdaDataSourceConfig Text
- data LogConfig
- logConfig :: FieldLogLevel -> Text -> LogConfig
- lcFieldLogLevel :: Lens' LogConfig FieldLogLevel
- lcCloudWatchLogsRoleARN :: Lens' LogConfig Text
- data OpenIdConnectConfig
- openIdConnectConfig :: Text -> OpenIdConnectConfig
- oiccAuthTTL :: Lens' OpenIdConnectConfig (Maybe Integer)
- oiccClientId :: Lens' OpenIdConnectConfig (Maybe Text)
- oiccIatTTL :: Lens' OpenIdConnectConfig (Maybe Integer)
- oiccIssuer :: Lens' OpenIdConnectConfig Text
- data Resolver
- resolver :: Resolver
- rTypeName :: Lens' Resolver (Maybe Text)
- rDataSourceName :: Lens' Resolver (Maybe Text)
- rRequestMappingTemplate :: Lens' Resolver (Maybe Text)
- rResolverARN :: Lens' Resolver (Maybe Text)
- rResponseMappingTemplate :: Lens' Resolver (Maybe Text)
- rFieldName :: Lens' Resolver (Maybe Text)
- data Type
- type' :: Type
- tArn :: Lens' Type (Maybe Text)
- tDefinition :: Lens' Type (Maybe Text)
- tFormat :: Lens' Type (Maybe TypeDefinitionFormat)
- tName :: Lens' Type (Maybe Text)
- tDescription :: Lens' Type (Maybe Text)
- data UserPoolConfig
- userPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig
- upcAppIdClientRegex :: Lens' UserPoolConfig (Maybe Text)
- upcUserPoolId :: Lens' UserPoolConfig Text
- upcAwsRegion :: Lens' UserPoolConfig Text
- upcDefaultAction :: Lens' UserPoolConfig DefaultAction
Service Configuration
Errors
_APIKeyValidityOutOfBoundsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey
) or from update (for UpdateApiKey
).
_APIKeyLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The API key exceeded a limit. Try your request again.
_APILimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The GraphQL API exceeded a limit. Try your request again.
_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource specified in the request was not found. Check the resource and try again.
_GraphQLSchemaException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The GraphQL schema is not valid.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Another modification is being made. That modification must complete before you can make your change.
_InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal AWS AppSync error occurred. Try your request again.
_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You are not authorized to perform this operation.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request exceeded a limit. Try your request again.
AuthenticationType
data AuthenticationType Source #
Instances
DataSourceType
data DataSourceType Source #
Instances
DefaultAction
data DefaultAction Source #
Instances
FieldLogLevel
data FieldLogLevel Source #
Instances
OutputType
data OutputType Source #
Instances
SchemaStatus
data SchemaStatus Source #
Instances
TypeDefinitionFormat
data TypeDefinitionFormat Source #
Instances
APIKey
Describes an API key.
Customers invoke AWS AppSync GraphQL APIs with API keys as an identity mechanism. There are two key versions:
da1 : This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by DynamoDB TTL. The keys will cease to be valid after Feb 21, 2018 and should not be used after that date.
ListApiKeys
returns the expiration time in milliseconds.CreateApiKey
returns the expiration time in milliseconds.UpdateApiKey
is not available for this key version.DeleteApiKey
deletes the item from the table.- Expiration is stored in DynamoDB as milliseconds. This results in a bug where keys are not automatically deleted because DynamoDB expects the TTL to be stored in seconds. As a one-time action, we will delete these keys from the table after Feb 21, 2018.
da2 : This version was introduced in February 2018 when AppSync added support to extend key expiration.
ListApiKeys
returns the expiration time in seconds.CreateApiKey
returns the expiration time in seconds and accepts a user-provided expiration time in seconds.UpdateApiKey
returns the expiration time in seconds and accepts a user-provided expiration time in seconds. Key expiration can only be updated while the key has not expired.DeleteApiKey
deletes the item from the table.- Expiration is stored in DynamoDB as seconds.
See: apiKey
smart constructor.
Instances
Eq APIKey Source # | |
Data APIKey Source # | |
Defined in Network.AWS.AppSync.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APIKey -> c APIKey # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APIKey # toConstr :: APIKey -> Constr # dataTypeOf :: APIKey -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c APIKey) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APIKey) # gmapT :: (forall b. Data b => b -> b) -> APIKey -> APIKey # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APIKey -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APIKey -> r # gmapQ :: (forall d. Data d => d -> u) -> APIKey -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> APIKey -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> APIKey -> m APIKey # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKey -> m APIKey # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKey -> m APIKey # | |
Read APIKey Source # | |
Show APIKey Source # | |
Generic APIKey Source # | |
Hashable APIKey Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
FromJSON APIKey Source # | |
NFData APIKey Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
type Rep APIKey Source # | |
Defined in Network.AWS.AppSync.Types.Product type Rep APIKey = D1 (MetaData "APIKey" "Network.AWS.AppSync.Types.Product" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "APIKey'" PrefixI True) (S1 (MetaSel (Just "_akExpires") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 (MetaSel (Just "_akId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_akDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of APIKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
akExpires
- The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.akId
- The API key ID.akDescription
- A description of the purpose of the API key.
akExpires :: Lens' APIKey (Maybe Integer) Source #
The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
DataSource
data DataSource Source #
Describes a data source.
See: dataSource
smart constructor.
Instances
dataSource :: DataSource Source #
Creates a value of DataSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsServiceRoleARN
- The IAM service role ARN for the data source. The system assumes this role when accessing the data source.dsDataSourceARN
- The data source ARN.dsDynamodbConfig
- DynamoDB settings.dsName
- The name of the data source.dsLambdaConfig
- Lambda settings.dsType
- 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.dsDescription
- The description of the data source.dsElasticsearchConfig
- Amazon Elasticsearch settings.
dsServiceRoleARN :: Lens' DataSource (Maybe Text) Source #
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
dsDataSourceARN :: Lens' DataSource (Maybe Text) Source #
The data source ARN.
dsDynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) Source #
DynamoDB settings.
dsLambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) Source #
Lambda settings.
dsType :: Lens' DataSource (Maybe DataSourceType) Source #
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.
dsDescription :: Lens' DataSource (Maybe Text) Source #
The description of the data source.
dsElasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) Source #
Amazon Elasticsearch settings.
DynamodbDataSourceConfig
data DynamodbDataSourceConfig Source #
Describes a DynamoDB data source configuration.
See: dynamodbDataSourceConfig
smart constructor.
Instances
dynamodbDataSourceConfig Source #
Creates a value of DynamodbDataSourceConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddscUseCallerCredentials
- Set to TRUE to use Amazon Cognito credentials with this data source.ddscTableName
- The table name.ddscAwsRegion
- The AWS region.
ddscUseCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) Source #
Set to TRUE to use Amazon Cognito credentials with this data source.
ddscTableName :: Lens' DynamodbDataSourceConfig Text Source #
The table name.
ddscAwsRegion :: Lens' DynamodbDataSourceConfig Text Source #
The AWS region.
ElasticsearchDataSourceConfig
data ElasticsearchDataSourceConfig Source #
Describes an Elasticsearch data source configuration.
See: elasticsearchDataSourceConfig
smart constructor.
Instances
elasticsearchDataSourceConfig Source #
Creates a value of ElasticsearchDataSourceConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edscEndpoint
- The endpoint.edscAwsRegion
- The AWS region.
edscEndpoint :: Lens' ElasticsearchDataSourceConfig Text Source #
The endpoint.
edscAwsRegion :: Lens' ElasticsearchDataSourceConfig Text Source #
The AWS region.
GraphqlAPI
data GraphqlAPI Source #
Describes a GraphQL API.
See: graphqlAPI
smart constructor.
Instances
graphqlAPI :: GraphqlAPI Source #
Creates a value of GraphqlAPI
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaArn
- The ARN.gaApiId
- The API ID.gaUris
- The URIs.gaOpenIdConnectConfig
- The Open Id Connect configuration.gaName
- The API name.gaUserPoolConfig
- The Amazon Cognito User Pool configuration.gaAuthenticationType
- The authentication type.gaLogConfig
- The Amazon CloudWatch Logs configuration.
gaOpenIdConnectConfig :: Lens' GraphqlAPI (Maybe OpenIdConnectConfig) Source #
The Open Id Connect configuration.
gaUserPoolConfig :: Lens' GraphqlAPI (Maybe UserPoolConfig) Source #
The Amazon Cognito User Pool configuration.
gaAuthenticationType :: Lens' GraphqlAPI (Maybe AuthenticationType) Source #
The authentication type.
gaLogConfig :: Lens' GraphqlAPI (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration.
LambdaDataSourceConfig
data LambdaDataSourceConfig Source #
Describes a Lambda data source configuration.
See: lambdaDataSourceConfig
smart constructor.
Instances
lambdaDataSourceConfig Source #
Creates a value of LambdaDataSourceConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldscLambdaFunctionARN
- The ARN for the Lambda function.
ldscLambdaFunctionARN :: Lens' LambdaDataSourceConfig Text Source #
The ARN for the Lambda function.
LogConfig
The CloudWatch Logs configuration.
See: logConfig
smart constructor.
Instances
Eq LogConfig Source # | |
Data LogConfig Source # | |
Defined in Network.AWS.AppSync.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogConfig -> c LogConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogConfig # toConstr :: LogConfig -> Constr # dataTypeOf :: LogConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LogConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogConfig) # gmapT :: (forall b. Data b => b -> b) -> LogConfig -> LogConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogConfig -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> LogConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LogConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogConfig -> m LogConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogConfig -> m LogConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogConfig -> m LogConfig # | |
Read LogConfig Source # | |
Show LogConfig Source # | |
Generic LogConfig Source # | |
Hashable LogConfig Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
ToJSON LogConfig Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
FromJSON LogConfig Source # | |
NFData LogConfig Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
type Rep LogConfig Source # | |
Defined in Network.AWS.AppSync.Types.Product type Rep LogConfig = D1 (MetaData "LogConfig" "Network.AWS.AppSync.Types.Product" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "LogConfig'" PrefixI True) (S1 (MetaSel (Just "_lcFieldLogLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FieldLogLevel) :*: S1 (MetaSel (Just "_lcCloudWatchLogsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) |
Creates a value of LogConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcFieldLogLevel
- 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 requestresponse 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 requestresponse functions that got resolved for each field.lcCloudWatchLogsRoleARN
- The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
lcFieldLogLevel :: Lens' LogConfig FieldLogLevel Source #
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 requestresponse 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 requestresponse functions that got resolved for each field.
lcCloudWatchLogsRoleARN :: Lens' LogConfig Text Source #
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
OpenIdConnectConfig
data OpenIdConnectConfig Source #
Describes an Open Id Connect configuration.
See: openIdConnectConfig
smart constructor.
Instances
Creates a value of OpenIdConnectConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oiccAuthTTL
- The number of milliseconds a token is valid after being authenticated.oiccClientId
- 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 timeoiccIatTTL
- The number of milliseconds a token is valid after being issued to a user.oiccIssuer
- The issuer for the open id connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
oiccAuthTTL :: Lens' OpenIdConnectConfig (Maybe Integer) Source #
The number of milliseconds a token is valid after being authenticated.
oiccClientId :: Lens' OpenIdConnectConfig (Maybe Text) Source #
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
oiccIatTTL :: Lens' OpenIdConnectConfig (Maybe Integer) Source #
The number of milliseconds a token is valid after being issued to a user.
oiccIssuer :: Lens' OpenIdConnectConfig Text Source #
The issuer for the open id connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
Resolver
Describes a resolver.
See: resolver
smart constructor.
Instances
Creates a value of Resolver
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rTypeName
- The resolver type name.rDataSourceName
- The resolver data source name.rRequestMappingTemplate
- The request mapping template.rResolverARN
- The resolver ARN.rResponseMappingTemplate
- The response mapping template.rFieldName
- The resolver field name.
Type
Describes a type.
See: type'
smart constructor.
Instances
Eq Type Source # | |
Data Type Source # | |
Defined in Network.AWS.AppSync.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Type -> c Type # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Type # dataTypeOf :: Type -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Type) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Type) # gmapT :: (forall b. Data b => b -> b) -> Type -> Type # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r # gmapQ :: (forall d. Data d => d -> u) -> Type -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Type -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Type -> m Type # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type # | |
Read Type Source # | |
Show Type Source # | |
Generic Type Source # | |
Hashable Type Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
FromJSON Type Source # | |
NFData Type Source # | |
Defined in Network.AWS.AppSync.Types.Product | |
type Rep Type Source # | |
Defined in Network.AWS.AppSync.Types.Product type Rep Type = D1 (MetaData "Type" "Network.AWS.AppSync.Types.Product" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "Type'" PrefixI True) ((S1 (MetaSel (Just "_tArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TypeDefinitionFormat)) :*: (S1 (MetaSel (Just "_tName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of Type
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tArn
- The type ARN.tDefinition
- The type definition.tFormat
- The type format: SDL or JSON.tName
- The type name.tDescription
- The type description.
UserPoolConfig
data UserPoolConfig Source #
Describes an Amazon Cognito User Pool configuration.
See: userPoolConfig
smart constructor.
Instances
Creates a value of UserPoolConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upcAppIdClientRegex
- A regular expression for validating the incoming Amazon Cognito User Pool app client ID.upcUserPoolId
- The user pool ID.upcAwsRegion
- The AWS region in which the user pool was created.upcDefaultAction
- 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.
upcAppIdClientRegex :: Lens' UserPoolConfig (Maybe Text) Source #
A regular expression for validating the incoming Amazon Cognito User Pool app client ID.
upcUserPoolId :: Lens' UserPoolConfig Text Source #
The user pool ID.
upcAwsRegion :: Lens' UserPoolConfig Text Source #
The AWS region in which the user pool was created.
upcDefaultAction :: Lens' UserPoolConfig DefaultAction Source #
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.