amazonka-appsync-2.0: Amazon AppSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppSync.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-07-25 of the Amazon AppSync SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You don't have access to perform this operation on this resource.

_ApiKeyLimitExceededException :: AsError a => Fold a ServiceError Source #

The API key exceeded a limit. Try your request again.

_ApiKeyValidityOutOfBoundsException :: AsError a => Fold 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).

_ApiLimitExceededException :: AsError a => Fold a ServiceError Source #

The GraphQL API exceeded a limit. Try your request again.

_BadRequestException :: AsError a => Fold 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 then try again.

_ConcurrentModificationException :: AsError a => Fold a ServiceError Source #

Another modification is in progress at this time and it must complete before you can make your change.

_GraphQLSchemaException :: AsError a => Fold a ServiceError Source #

The GraphQL schema is not valid.

_InternalFailureException :: AsError a => Fold a ServiceError Source #

An internal AppSync error occurred. Try your request again.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

The request exceeded a limit. Try your request again.

_NotFoundException :: AsError a => Fold a ServiceError Source #

The resource specified in the request was not found. Check the resource, and then try again.

_UnauthorizedException :: AsError a => Fold a ServiceError Source #

You aren't authorized to perform this operation.

ApiCacheStatus

newtype ApiCacheStatus Source #

Constructors

ApiCacheStatus' 

Instances

Instances details
FromJSON ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

FromJSONKey ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToJSON ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToJSONKey ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToByteString ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToHeader ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToLog ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToQuery ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

FromText ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToText ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

FromXML ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

ToXML ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

Methods

toXML :: ApiCacheStatus -> XML #

Generic ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

Associated Types

type Rep ApiCacheStatus :: Type -> Type #

Read ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

Show ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

NFData ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

Methods

rnf :: ApiCacheStatus -> () #

Eq ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

Ord ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

Hashable ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

type Rep ApiCacheStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheStatus

type Rep ApiCacheStatus = D1 ('MetaData "ApiCacheStatus" "Amazonka.AppSync.Types.ApiCacheStatus" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "ApiCacheStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiCacheStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApiCacheType

newtype ApiCacheType Source #

Constructors

ApiCacheType' 

Instances

Instances details
FromJSON ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

FromJSONKey ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToJSON ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToJSONKey ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToByteString ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToHeader ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToLog ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToQuery ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

FromText ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToText ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Methods

toText :: ApiCacheType -> Text #

FromXML ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

ToXML ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Methods

toXML :: ApiCacheType -> XML #

Generic ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Associated Types

type Rep ApiCacheType :: Type -> Type #

Read ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Show ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

NFData ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Methods

rnf :: ApiCacheType -> () #

Eq ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Ord ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

Hashable ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

type Rep ApiCacheType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCacheType

type Rep ApiCacheType = D1 ('MetaData "ApiCacheType" "Amazonka.AppSync.Types.ApiCacheType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "ApiCacheType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiCacheType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApiCachingBehavior

newtype ApiCachingBehavior Source #

Instances

Instances details
FromJSON ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

FromJSONKey ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToJSON ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToJSONKey ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToByteString ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToHeader ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToLog ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToQuery ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

FromText ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToText ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

FromXML ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

ToXML ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

Generic ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

Associated Types

type Rep ApiCachingBehavior :: Type -> Type #

Read ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

Show ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

NFData ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

Methods

rnf :: ApiCachingBehavior -> () #

Eq ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

Ord ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

Hashable ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

type Rep ApiCachingBehavior Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCachingBehavior

type Rep ApiCachingBehavior = D1 ('MetaData "ApiCachingBehavior" "Amazonka.AppSync.Types.ApiCachingBehavior" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "ApiCachingBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiCachingBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AssociationStatus

newtype AssociationStatus Source #

Instances

Instances details
FromJSON AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

FromJSONKey AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToJSON AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToJSONKey AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToByteString AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToHeader AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToLog AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToQuery AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

FromText AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToText AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

FromXML AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

ToXML AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

Generic AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

Associated Types

type Rep AssociationStatus :: Type -> Type #

Read AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

Show AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

NFData AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

Methods

rnf :: AssociationStatus -> () #

Eq AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

Ord AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

Hashable AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

type Rep AssociationStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.AssociationStatus

type Rep AssociationStatus = D1 ('MetaData "AssociationStatus" "Amazonka.AppSync.Types.AssociationStatus" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "AssociationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAssociationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AuthenticationType

newtype AuthenticationType Source #

Instances

Instances details
FromJSON AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

FromJSONKey AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToJSON AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToJSONKey AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToByteString AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToHeader AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToLog AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToQuery AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

FromText AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToText AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

FromXML AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

ToXML AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

Generic AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

Associated Types

type Rep AuthenticationType :: Type -> Type #

Read AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

Show AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

NFData AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

Methods

rnf :: AuthenticationType -> () #

Eq AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

Ord AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

Hashable AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

type Rep AuthenticationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthenticationType

type Rep AuthenticationType = D1 ('MetaData "AuthenticationType" "Amazonka.AppSync.Types.AuthenticationType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "AuthenticationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAuthenticationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AuthorizationType

newtype AuthorizationType Source #

Bundled Patterns

pattern AuthorizationType_AWS_IAM :: AuthorizationType 

Instances

Instances details
FromJSON AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

FromJSONKey AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToJSON AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToJSONKey AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToByteString AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToHeader AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToLog AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToQuery AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

FromText AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToText AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

FromXML AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

ToXML AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

Generic AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

Associated Types

type Rep AuthorizationType :: Type -> Type #

Read AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

Show AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

NFData AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

Methods

rnf :: AuthorizationType -> () #

Eq AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

Ord AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

Hashable AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

type Rep AuthorizationType Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationType

type Rep AuthorizationType = D1 ('MetaData "AuthorizationType" "Amazonka.AppSync.Types.AuthorizationType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "AuthorizationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAuthorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConflictDetectionType

newtype ConflictDetectionType Source #

Instances

Instances details
FromJSON ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

FromJSONKey ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToJSON ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToJSONKey ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToByteString ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToHeader ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToLog ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToQuery ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

FromText ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToText ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

FromXML ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

ToXML ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

Generic ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

Associated Types

type Rep ConflictDetectionType :: Type -> Type #

Read ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

Show ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

NFData ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

Methods

rnf :: ConflictDetectionType -> () #

Eq ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

Ord ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

Hashable ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

type Rep ConflictDetectionType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictDetectionType

type Rep ConflictDetectionType = D1 ('MetaData "ConflictDetectionType" "Amazonka.AppSync.Types.ConflictDetectionType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "ConflictDetectionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConflictDetectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConflictHandlerType

newtype ConflictHandlerType Source #

Instances

Instances details
FromJSON ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

FromJSONKey ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToJSON ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToJSONKey ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToByteString ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToHeader ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToLog ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToQuery ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

FromText ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToText ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

FromXML ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

ToXML ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

Generic ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

Associated Types

type Rep ConflictHandlerType :: Type -> Type #

Read ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

Show ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

NFData ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

Methods

rnf :: ConflictHandlerType -> () #

Eq ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

Ord ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

Hashable ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

type Rep ConflictHandlerType Source # 
Instance details

Defined in Amazonka.AppSync.Types.ConflictHandlerType

type Rep ConflictHandlerType = D1 ('MetaData "ConflictHandlerType" "Amazonka.AppSync.Types.ConflictHandlerType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "ConflictHandlerType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConflictHandlerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DataSourceType

newtype DataSourceType Source #

Constructors

DataSourceType' 

Instances

Instances details
FromJSON DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

FromJSONKey DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToJSON DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToJSONKey DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToByteString DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToHeader DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToLog DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToQuery DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

FromText DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToText DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

FromXML DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

ToXML DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

Methods

toXML :: DataSourceType -> XML #

Generic DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

Associated Types

type Rep DataSourceType :: Type -> Type #

Read DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

Show DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

NFData DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

Methods

rnf :: DataSourceType -> () #

Eq DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

Ord DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

Hashable DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

type Rep DataSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSourceType

type Rep DataSourceType = D1 ('MetaData "DataSourceType" "Amazonka.AppSync.Types.DataSourceType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "DataSourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDataSourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DefaultAction

newtype DefaultAction Source #

Constructors

DefaultAction' 

Bundled Patterns

pattern DefaultAction_ALLOW :: DefaultAction 
pattern DefaultAction_DENY :: DefaultAction 

Instances

Instances details
FromJSON DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

FromJSONKey DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToJSON DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToJSONKey DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToByteString DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToHeader DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToLog DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToQuery DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

FromText DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToText DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Methods

toText :: DefaultAction -> Text #

FromXML DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

ToXML DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Methods

toXML :: DefaultAction -> XML #

Generic DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Associated Types

type Rep DefaultAction :: Type -> Type #

Read DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Show DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

NFData DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Methods

rnf :: DefaultAction -> () #

Eq DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Ord DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

Hashable DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

type Rep DefaultAction Source # 
Instance details

Defined in Amazonka.AppSync.Types.DefaultAction

type Rep DefaultAction = D1 ('MetaData "DefaultAction" "Amazonka.AppSync.Types.DefaultAction" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "DefaultAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDefaultAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FieldLogLevel

newtype FieldLogLevel Source #

Constructors

FieldLogLevel' 

Instances

Instances details
FromJSON FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

FromJSONKey FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToJSON FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToJSONKey FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToByteString FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToHeader FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToLog FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToQuery FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

FromText FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToText FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Methods

toText :: FieldLogLevel -> Text #

FromXML FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

ToXML FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Methods

toXML :: FieldLogLevel -> XML #

Generic FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Associated Types

type Rep FieldLogLevel :: Type -> Type #

Read FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Show FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

NFData FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Methods

rnf :: FieldLogLevel -> () #

Eq FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Ord FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

Hashable FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

type Rep FieldLogLevel Source # 
Instance details

Defined in Amazonka.AppSync.Types.FieldLogLevel

type Rep FieldLogLevel = D1 ('MetaData "FieldLogLevel" "Amazonka.AppSync.Types.FieldLogLevel" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "FieldLogLevel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFieldLogLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OutputType

newtype OutputType Source #

Constructors

OutputType' 

Fields

Bundled Patterns

pattern OutputType_JSON :: OutputType 
pattern OutputType_SDL :: OutputType 

Instances

Instances details
FromJSON OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

FromJSONKey OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToJSON OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToJSONKey OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToByteString OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToHeader OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToLog OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToQuery OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

FromText OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToText OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Methods

toText :: OutputType -> Text #

FromXML OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

ToXML OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Methods

toXML :: OutputType -> XML #

Generic OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Associated Types

type Rep OutputType :: Type -> Type #

Read OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Show OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

NFData OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Methods

rnf :: OutputType -> () #

Eq OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Ord OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

Hashable OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

type Rep OutputType Source # 
Instance details

Defined in Amazonka.AppSync.Types.OutputType

type Rep OutputType = D1 ('MetaData "OutputType" "Amazonka.AppSync.Types.OutputType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "OutputType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOutputType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RelationalDatabaseSourceType

newtype RelationalDatabaseSourceType Source #

Instances

Instances details
FromJSON RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

FromJSONKey RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToJSON RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToJSONKey RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToByteString RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToHeader RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToLog RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToQuery RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

FromText RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToText RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

FromXML RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

ToXML RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

Generic RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

Associated Types

type Rep RelationalDatabaseSourceType :: Type -> Type #

Read RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

Show RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

NFData RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

Eq RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

Ord RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

Hashable RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

type Rep RelationalDatabaseSourceType Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseSourceType

type Rep RelationalDatabaseSourceType = D1 ('MetaData "RelationalDatabaseSourceType" "Amazonka.AppSync.Types.RelationalDatabaseSourceType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "RelationalDatabaseSourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRelationalDatabaseSourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResolverKind

newtype ResolverKind Source #

Constructors

ResolverKind' 

Bundled Patterns

pattern ResolverKind_PIPELINE :: ResolverKind 
pattern ResolverKind_UNIT :: ResolverKind 

Instances

Instances details
FromJSON ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

FromJSONKey ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToJSON ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToJSONKey ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToByteString ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToHeader ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToLog ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToQuery ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

FromText ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToText ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Methods

toText :: ResolverKind -> Text #

FromXML ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

ToXML ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Methods

toXML :: ResolverKind -> XML #

Generic ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Associated Types

type Rep ResolverKind :: Type -> Type #

Read ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Show ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

NFData ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Methods

rnf :: ResolverKind -> () #

Eq ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Ord ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

Hashable ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

type Rep ResolverKind Source # 
Instance details

Defined in Amazonka.AppSync.Types.ResolverKind

type Rep ResolverKind = D1 ('MetaData "ResolverKind" "Amazonka.AppSync.Types.ResolverKind" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "ResolverKind'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResolverKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RuntimeName

newtype RuntimeName Source #

Constructors

RuntimeName' 

Bundled Patterns

pattern RuntimeName_APPSYNC_JS :: RuntimeName 

Instances

Instances details
FromJSON RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

FromJSONKey RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToJSON RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToJSONKey RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToByteString RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToHeader RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToLog RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToQuery RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

FromText RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToText RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Methods

toText :: RuntimeName -> Text #

FromXML RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

ToXML RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Methods

toXML :: RuntimeName -> XML #

Generic RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Associated Types

type Rep RuntimeName :: Type -> Type #

Read RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Show RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

NFData RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Methods

rnf :: RuntimeName -> () #

Eq RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Ord RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

Hashable RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

type Rep RuntimeName Source # 
Instance details

Defined in Amazonka.AppSync.Types.RuntimeName

type Rep RuntimeName = D1 ('MetaData "RuntimeName" "Amazonka.AppSync.Types.RuntimeName" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "RuntimeName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRuntimeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SchemaStatus

newtype SchemaStatus Source #

Constructors

SchemaStatus' 

Instances

Instances details
FromJSON SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

FromJSONKey SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToJSON SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToJSONKey SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToByteString SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToHeader SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToLog SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToQuery SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

FromText SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToText SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Methods

toText :: SchemaStatus -> Text #

FromXML SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

ToXML SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Methods

toXML :: SchemaStatus -> XML #

Generic SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Associated Types

type Rep SchemaStatus :: Type -> Type #

Read SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Show SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

NFData SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Methods

rnf :: SchemaStatus -> () #

Eq SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Ord SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

Hashable SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

type Rep SchemaStatus Source # 
Instance details

Defined in Amazonka.AppSync.Types.SchemaStatus

type Rep SchemaStatus = D1 ('MetaData "SchemaStatus" "Amazonka.AppSync.Types.SchemaStatus" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "SchemaStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSchemaStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TypeDefinitionFormat

newtype TypeDefinitionFormat Source #

Instances

Instances details
FromJSON TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

FromJSONKey TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToJSON TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToJSONKey TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToByteString TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToHeader TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToLog TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToQuery TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

FromText TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToText TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

FromXML TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

ToXML TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

Generic TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

Associated Types

type Rep TypeDefinitionFormat :: Type -> Type #

Read TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

Show TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

NFData TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

Methods

rnf :: TypeDefinitionFormat -> () #

Eq TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

Ord TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

Hashable TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

type Rep TypeDefinitionFormat Source # 
Instance details

Defined in Amazonka.AppSync.Types.TypeDefinitionFormat

type Rep TypeDefinitionFormat = D1 ('MetaData "TypeDefinitionFormat" "Amazonka.AppSync.Types.TypeDefinitionFormat" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'True) (C1 ('MetaCons "TypeDefinitionFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTypeDefinitionFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AdditionalAuthenticationProvider

data AdditionalAuthenticationProvider Source #

Describes an additional authentication provider.

See: newAdditionalAuthenticationProvider smart constructor.

Constructors

AdditionalAuthenticationProvider' 

Fields

Instances

Instances details
FromJSON AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

ToJSON AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

Generic AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

Associated Types

type Rep AdditionalAuthenticationProvider :: Type -> Type #

Read AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

Show AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

NFData AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

Eq AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

Hashable AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

type Rep AdditionalAuthenticationProvider Source # 
Instance details

Defined in Amazonka.AppSync.Types.AdditionalAuthenticationProvider

type Rep AdditionalAuthenticationProvider = D1 ('MetaData "AdditionalAuthenticationProvider" "Amazonka.AppSync.Types.AdditionalAuthenticationProvider" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "AdditionalAuthenticationProvider'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthenticationType)) :*: S1 ('MetaSel ('Just "lambdaAuthorizerConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaAuthorizerConfig))) :*: (S1 ('MetaSel ('Just "openIDConnectConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenIDConnectConfig)) :*: S1 ('MetaSel ('Just "userPoolConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CognitoUserPoolConfig)))))

newAdditionalAuthenticationProvider :: AdditionalAuthenticationProvider Source #

Create a value of AdditionalAuthenticationProvider with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authenticationType:AdditionalAuthenticationProvider', additionalAuthenticationProvider_authenticationType - The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

$sel:lambdaAuthorizerConfig:AdditionalAuthenticationProvider', additionalAuthenticationProvider_lambdaAuthorizerConfig - Configuration for Lambda function authorization.

$sel:openIDConnectConfig:AdditionalAuthenticationProvider', additionalAuthenticationProvider_openIDConnectConfig - The OIDC configuration.

$sel:userPoolConfig:AdditionalAuthenticationProvider', additionalAuthenticationProvider_userPoolConfig - The Amazon Cognito user pool configuration.

additionalAuthenticationProvider_authenticationType :: Lens' AdditionalAuthenticationProvider (Maybe AuthenticationType) Source #

The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

ApiAssociation

data ApiAssociation Source #

Describes an ApiAssociation object.

See: newApiAssociation smart constructor.

Constructors

ApiAssociation' 

Fields

  • apiId :: Maybe Text

    The API ID.

  • associationStatus :: Maybe AssociationStatus

    Identifies the status of an association.

    • PROCESSING: The API association is being created. You cannot modify association requests during processing.
    • SUCCESS: The API association was successful. You can modify associations after success.
    • FAILED: The API association has failed. You can modify associations after failure.
  • deploymentDetail :: Maybe Text

    Details about the last deployment status.

  • domainName :: Maybe Text

    The domain name.

Instances

Instances details
FromJSON ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

Generic ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

Associated Types

type Rep ApiAssociation :: Type -> Type #

Read ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

Show ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

NFData ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

Methods

rnf :: ApiAssociation -> () #

Eq ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

Hashable ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

type Rep ApiAssociation Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiAssociation

type Rep ApiAssociation = D1 ('MetaData "ApiAssociation" "Amazonka.AppSync.Types.ApiAssociation" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ApiAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssociationStatus))) :*: (S1 ('MetaSel ('Just "deploymentDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newApiAssociation :: ApiAssociation Source #

Create a value of ApiAssociation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:apiId:ApiAssociation', apiAssociation_apiId - The API ID.

$sel:associationStatus:ApiAssociation', apiAssociation_associationStatus - Identifies the status of an association.

  • PROCESSING: The API association is being created. You cannot modify association requests during processing.
  • SUCCESS: The API association was successful. You can modify associations after success.
  • FAILED: The API association has failed. You can modify associations after failure.

$sel:deploymentDetail:ApiAssociation', apiAssociation_deploymentDetail - Details about the last deployment status.

$sel:domainName:ApiAssociation', apiAssociation_domainName - The domain name.

apiAssociation_associationStatus :: Lens' ApiAssociation (Maybe AssociationStatus) Source #

Identifies the status of an association.

  • PROCESSING: The API association is being created. You cannot modify association requests during processing.
  • SUCCESS: The API association was successful. You can modify associations after success.
  • FAILED: The API association has failed. You can modify associations after failure.

apiAssociation_deploymentDetail :: Lens' ApiAssociation (Maybe Text) Source #

Details about the last deployment status.

ApiCache

data ApiCache Source #

The ApiCache object.

See: newApiCache smart constructor.

Constructors

ApiCache' 

Fields

  • apiCachingBehavior :: Maybe ApiCachingBehavior

    Caching behavior.

    • FULL_REQUEST_CACHING: All requests are fully cached.
    • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
  • atRestEncryptionEnabled :: Maybe Bool

    At-rest encryption flag for cache. You cannot update this setting after creation.

  • status :: Maybe ApiCacheStatus

    The cache instance status.

    • AVAILABLE: The instance is available for use.
    • CREATING: The instance is currently creating.
    • DELETING: The instance is currently deleting.
    • MODIFYING: The instance is currently modifying.
    • FAILED: The instance has failed creation.
  • transitEncryptionEnabled :: Maybe Bool

    Transit encryption flag when connecting to cache. You cannot update this setting after creation.

  • ttl :: Maybe Integer

    TTL in seconds for cache entries.

    Valid values are 1–3,600 seconds.

  • type' :: Maybe ApiCacheType

    The cache instance type. Valid values are

    • SMALL
    • MEDIUM
    • LARGE
    • XLARGE
    • LARGE_2X
    • LARGE_4X
    • LARGE_8X (not available in all regions)
    • LARGE_12X

    Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

    The following legacy instance types are available, but their use is discouraged:

    • T2_SMALL: A t2.small instance type.
    • T2_MEDIUM: A t2.medium instance type.
    • R4_LARGE: A r4.large instance type.
    • R4_XLARGE: A r4.xlarge instance type.
    • R4_2XLARGE: A r4.2xlarge instance type.
    • R4_4XLARGE: A r4.4xlarge instance type.
    • R4_8XLARGE: A r4.8xlarge instance type.

Instances

Instances details
FromJSON ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

Generic ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

Associated Types

type Rep ApiCache :: Type -> Type #

Methods

from :: ApiCache -> Rep ApiCache x #

to :: Rep ApiCache x -> ApiCache #

Read ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

Show ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

NFData ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

Methods

rnf :: ApiCache -> () #

Eq ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

Hashable ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

Methods

hashWithSalt :: Int -> ApiCache -> Int #

hash :: ApiCache -> Int #

type Rep ApiCache Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiCache

type Rep ApiCache = D1 ('MetaData "ApiCache" "Amazonka.AppSync.Types.ApiCache" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ApiCache'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiCachingBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiCachingBehavior)) :*: (S1 ('MetaSel ('Just "atRestEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiCacheStatus)))) :*: (S1 ('MetaSel ('Just "transitEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "ttl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiCacheType))))))

newApiCache :: ApiCache Source #

Create a value of ApiCache with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:apiCachingBehavior:ApiCache', apiCache_apiCachingBehavior - Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.
  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

$sel:atRestEncryptionEnabled:ApiCache', apiCache_atRestEncryptionEnabled - At-rest encryption flag for cache. You cannot update this setting after creation.

$sel:status:ApiCache', apiCache_status - The cache instance status.

  • AVAILABLE: The instance is available for use.
  • CREATING: The instance is currently creating.
  • DELETING: The instance is currently deleting.
  • MODIFYING: The instance is currently modifying.
  • FAILED: The instance has failed creation.

$sel:transitEncryptionEnabled:ApiCache', apiCache_transitEncryptionEnabled - Transit encryption flag when connecting to cache. You cannot update this setting after creation.

$sel:ttl:ApiCache', apiCache_ttl - TTL in seconds for cache entries.

Valid values are 1–3,600 seconds.

$sel:type':ApiCache', apiCache_type - The cache instance type. Valid values are

  • SMALL
  • MEDIUM
  • LARGE
  • XLARGE
  • LARGE_2X
  • LARGE_4X
  • LARGE_8X (not available in all regions)
  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.
  • T2_MEDIUM: A t2.medium instance type.
  • R4_LARGE: A r4.large instance type.
  • R4_XLARGE: A r4.xlarge instance type.
  • R4_2XLARGE: A r4.2xlarge instance type.
  • R4_4XLARGE: A r4.4xlarge instance type.
  • R4_8XLARGE: A r4.8xlarge instance type.

apiCache_apiCachingBehavior :: Lens' ApiCache (Maybe ApiCachingBehavior) Source #

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.
  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

apiCache_atRestEncryptionEnabled :: Lens' ApiCache (Maybe Bool) Source #

At-rest encryption flag for cache. You cannot update this setting after creation.

apiCache_status :: Lens' ApiCache (Maybe ApiCacheStatus) Source #

The cache instance status.

  • AVAILABLE: The instance is available for use.
  • CREATING: The instance is currently creating.
  • DELETING: The instance is currently deleting.
  • MODIFYING: The instance is currently modifying.
  • FAILED: The instance has failed creation.

apiCache_transitEncryptionEnabled :: Lens' ApiCache (Maybe Bool) Source #

Transit encryption flag when connecting to cache. You cannot update this setting after creation.

apiCache_ttl :: Lens' ApiCache (Maybe Integer) Source #

TTL in seconds for cache entries.

Valid values are 1–3,600 seconds.

apiCache_type :: Lens' ApiCache (Maybe ApiCacheType) Source #

The cache instance type. Valid values are

  • SMALL
  • MEDIUM
  • LARGE
  • XLARGE
  • LARGE_2X
  • LARGE_4X
  • LARGE_8X (not available in all regions)
  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.
  • T2_MEDIUM: A t2.medium instance type.
  • R4_LARGE: A r4.large instance type.
  • R4_XLARGE: A r4.xlarge instance type.
  • R4_2XLARGE: A r4.2xlarge instance type.
  • R4_4XLARGE: A r4.4xlarge instance type.
  • R4_8XLARGE: A r4.8xlarge instance type.

ApiKey

data ApiKey Source #

Describes an API key.

Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:

da1: We introduced this version at launch in November 2017. These keys always expire after 7 days. Amazon DynamoDB TTL manages key expiration. These keys ceased to be valid after February 21, 2018, and they should no longer be used.

  • 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 deleted these keys from the table on February 21, 2018.

da2: We introduced this version in February 2018 when AppSync added support to extend key expiration.

  • ListApiKeys returns the expiration time and deletion time in seconds.
  • CreateApiKey returns the expiration time and deletion time in seconds and accepts a user-provided expiration time in seconds.
  • UpdateApiKey returns the expiration time and and deletion time in seconds and accepts a user-provided expiration time in seconds. Expired API keys are kept for 60 days after the expiration time. You can update the key expiration time as long as the key isn't deleted.
  • DeleteApiKey deletes the item from the table.
  • Expiration is stored in DynamoDB as seconds. After the expiration time, using the key to authenticate will fail. However, you can reinstate the key before deletion.
  • Deletion is stored in DynamoDB as seconds. The key is deleted after deletion time.

See: newApiKey smart constructor.

Constructors

ApiKey' 

Fields

  • deletes :: Maybe Integer

    The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.

  • description :: Maybe Text

    A description of the purpose of the API key.

  • expires :: Maybe Integer

    The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.

  • id :: Maybe Text

    The API key ID.

Instances

Instances details
FromJSON ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

Generic ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

Associated Types

type Rep ApiKey :: Type -> Type #

Methods

from :: ApiKey -> Rep ApiKey x #

to :: Rep ApiKey x -> ApiKey #

Read ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

Show ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

NFData ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

Methods

rnf :: ApiKey -> () #

Eq ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

Methods

(==) :: ApiKey -> ApiKey -> Bool #

(/=) :: ApiKey -> ApiKey -> Bool #

Hashable ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

Methods

hashWithSalt :: Int -> ApiKey -> Int #

hash :: ApiKey -> Int #

type Rep ApiKey Source # 
Instance details

Defined in Amazonka.AppSync.Types.ApiKey

type Rep ApiKey = D1 ('MetaData "ApiKey" "Amazonka.AppSync.Types.ApiKey" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ApiKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deletes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "expires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newApiKey :: ApiKey Source #

Create a value of ApiKey with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deletes:ApiKey', apiKey_deletes - The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.

$sel:description:ApiKey', apiKey_description - A description of the purpose of the API key.

$sel:expires:ApiKey', apiKey_expires - The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.

$sel:id:ApiKey', apiKey_id - The API key ID.

apiKey_deletes :: Lens' ApiKey (Maybe Integer) Source #

The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.

apiKey_description :: Lens' ApiKey (Maybe Text) Source #

A description of the purpose of the API key.

apiKey_expires :: 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.

apiKey_id :: Lens' ApiKey (Maybe Text) Source #

The API key ID.

AppSyncRuntime

data AppSyncRuntime Source #

Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

See: newAppSyncRuntime smart constructor.

Constructors

AppSyncRuntime' 

Fields

  • name :: RuntimeName

    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.

  • runtimeVersion :: Text

    The version of the runtime to use. Currently, the only allowed version is 1.0.0.

Instances

Instances details
FromJSON AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

ToJSON AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Generic AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Associated Types

type Rep AppSyncRuntime :: Type -> Type #

Read AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Show AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

NFData AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Methods

rnf :: AppSyncRuntime -> () #

Eq AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Hashable AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

type Rep AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

type Rep AppSyncRuntime = D1 ('MetaData "AppSyncRuntime" "Amazonka.AppSync.Types.AppSyncRuntime" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "AppSyncRuntime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuntimeName) :*: S1 ('MetaSel ('Just "runtimeVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAppSyncRuntime Source #

Create a value of AppSyncRuntime with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:AppSyncRuntime', appSyncRuntime_name - The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.

$sel:runtimeVersion:AppSyncRuntime', appSyncRuntime_runtimeVersion - The version of the runtime to use. Currently, the only allowed version is 1.0.0.

appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName Source #

The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.

appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text Source #

The version of the runtime to use. Currently, the only allowed version is 1.0.0.

AuthorizationConfig

data AuthorizationConfig Source #

The authorization configuration in case the HTTP endpoint requires authorization.

See: newAuthorizationConfig smart constructor.

Constructors

AuthorizationConfig' 

Fields

Instances

Instances details
FromJSON AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

ToJSON AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Generic AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Associated Types

type Rep AuthorizationConfig :: Type -> Type #

Read AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Show AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

NFData AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Methods

rnf :: AuthorizationConfig -> () #

Eq AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Hashable AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

type Rep AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

type Rep AuthorizationConfig = D1 ('MetaData "AuthorizationConfig" "Amazonka.AppSync.Types.AuthorizationConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "AuthorizationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsIamConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsIamConfig)) :*: S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthorizationType)))

newAuthorizationConfig Source #

Create a value of AuthorizationConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:awsIamConfig:AuthorizationConfig', authorizationConfig_awsIamConfig - The Identity and Access Management (IAM) settings.

$sel:authorizationType:AuthorizationConfig', authorizationConfig_authorizationType - The authorization type that the HTTP endpoint requires.

  • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig) Source #

The Identity and Access Management (IAM) settings.

authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType Source #

The authorization type that the HTTP endpoint requires.

  • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

AwsIamConfig

data AwsIamConfig Source #

The Identity and Access Management (IAM) configuration.

See: newAwsIamConfig smart constructor.

Constructors

AwsIamConfig' 

Fields

Instances

Instances details
FromJSON AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

ToJSON AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

Generic AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

Associated Types

type Rep AwsIamConfig :: Type -> Type #

Read AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

Show AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

NFData AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

Methods

rnf :: AwsIamConfig -> () #

Eq AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

Hashable AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

type Rep AwsIamConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AwsIamConfig

type Rep AwsIamConfig = D1 ('MetaData "AwsIamConfig" "Amazonka.AppSync.Types.AwsIamConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "AwsIamConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "signingRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "signingServiceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAwsIamConfig :: AwsIamConfig Source #

Create a value of AwsIamConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:signingRegion:AwsIamConfig', awsIamConfig_signingRegion - The signing Amazon Web Services Region for IAM authorization.

$sel:signingServiceName:AwsIamConfig', awsIamConfig_signingServiceName - The signing service name for IAM authorization.

awsIamConfig_signingRegion :: Lens' AwsIamConfig (Maybe Text) Source #

The signing Amazon Web Services Region for IAM authorization.

awsIamConfig_signingServiceName :: Lens' AwsIamConfig (Maybe Text) Source #

The signing service name for IAM authorization.

CachingConfig

data CachingConfig Source #

The caching configuration for a resolver that has caching activated.

See: newCachingConfig smart constructor.

Constructors

CachingConfig' 

Fields

  • cachingKeys :: Maybe [Text]

    The caching keys for a resolver that has caching activated.

    Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

  • ttl :: Integer

    The TTL in seconds for a resolver that has caching activated.

    Valid values are 1–3,600 seconds.

Instances

Instances details
FromJSON CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

ToJSON CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

Generic CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

Associated Types

type Rep CachingConfig :: Type -> Type #

Read CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

Show CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

NFData CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

Methods

rnf :: CachingConfig -> () #

Eq CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

Hashable CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

type Rep CachingConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CachingConfig

type Rep CachingConfig = D1 ('MetaData "CachingConfig" "Amazonka.AppSync.Types.CachingConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "CachingConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cachingKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ttl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newCachingConfig Source #

Create a value of CachingConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cachingKeys:CachingConfig', cachingConfig_cachingKeys - The caching keys for a resolver that has caching activated.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

$sel:ttl:CachingConfig', cachingConfig_ttl - The TTL in seconds for a resolver that has caching activated.

Valid values are 1–3,600 seconds.

cachingConfig_cachingKeys :: Lens' CachingConfig (Maybe [Text]) Source #

The caching keys for a resolver that has caching activated.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

cachingConfig_ttl :: Lens' CachingConfig Integer Source #

The TTL in seconds for a resolver that has caching activated.

Valid values are 1–3,600 seconds.

CodeError

data CodeError Source #

Describes an AppSync error.

See: newCodeError smart constructor.

Constructors

CodeError' 

Fields

  • errorType :: Maybe Text

    The type of code error.

    Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

  • location :: Maybe CodeErrorLocation

    The line, column, and span location of the error in the code.

  • value :: Maybe Text

    A user presentable error.

    Examples include, but aren't limited to: Parsing error: Unterminated string literal.

Instances

Instances details
FromJSON CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

Generic CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

Associated Types

type Rep CodeError :: Type -> Type #

Read CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

Show CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

NFData CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

Methods

rnf :: CodeError -> () #

Eq CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

Hashable CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

type Rep CodeError Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeError

type Rep CodeError = D1 ('MetaData "CodeError" "Amazonka.AppSync.Types.CodeError" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "CodeError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeErrorLocation)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCodeError :: CodeError Source #

Create a value of CodeError with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:errorType:CodeError', codeError_errorType - The type of code error.

Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

$sel:location:CodeError', codeError_location - The line, column, and span location of the error in the code.

$sel:value:CodeError', codeError_value - A user presentable error.

Examples include, but aren't limited to: Parsing error: Unterminated string literal.

codeError_errorType :: Lens' CodeError (Maybe Text) Source #

The type of code error.

Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

codeError_location :: Lens' CodeError (Maybe CodeErrorLocation) Source #

The line, column, and span location of the error in the code.

codeError_value :: Lens' CodeError (Maybe Text) Source #

A user presentable error.

Examples include, but aren't limited to: Parsing error: Unterminated string literal.

CodeErrorLocation

data CodeErrorLocation Source #

Describes the location of the error in a code sample.

See: newCodeErrorLocation smart constructor.

Constructors

CodeErrorLocation' 

Fields

  • column :: Maybe Int

    The column number in the code. Defaults to 0 if unknown.

  • line :: Maybe Int

    The line number in the code. Defaults to 0 if unknown.

  • span :: Maybe Int

    The span/length of the error. Defaults to -1 if unknown.

Instances

Instances details
FromJSON CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

Generic CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

Associated Types

type Rep CodeErrorLocation :: Type -> Type #

Read CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

Show CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

NFData CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

Methods

rnf :: CodeErrorLocation -> () #

Eq CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

Hashable CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

type Rep CodeErrorLocation Source # 
Instance details

Defined in Amazonka.AppSync.Types.CodeErrorLocation

type Rep CodeErrorLocation = D1 ('MetaData "CodeErrorLocation" "Amazonka.AppSync.Types.CodeErrorLocation" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "CodeErrorLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "span") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newCodeErrorLocation :: CodeErrorLocation Source #

Create a value of CodeErrorLocation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:column:CodeErrorLocation', codeErrorLocation_column - The column number in the code. Defaults to 0 if unknown.

$sel:line:CodeErrorLocation', codeErrorLocation_line - The line number in the code. Defaults to 0 if unknown.

$sel:span:CodeErrorLocation', codeErrorLocation_span - The span/length of the error. Defaults to -1 if unknown.

codeErrorLocation_column :: Lens' CodeErrorLocation (Maybe Int) Source #

The column number in the code. Defaults to 0 if unknown.

codeErrorLocation_line :: Lens' CodeErrorLocation (Maybe Int) Source #

The line number in the code. Defaults to 0 if unknown.

codeErrorLocation_span :: Lens' CodeErrorLocation (Maybe Int) Source #

The span/length of the error. Defaults to -1 if unknown.

CognitoUserPoolConfig

data CognitoUserPoolConfig Source #

Describes an Amazon Cognito user pool configuration.

See: newCognitoUserPoolConfig smart constructor.

Constructors

CognitoUserPoolConfig' 

Fields

  • appIdClientRegex :: Maybe Text

    A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

  • userPoolId :: Text

    The user pool ID.

  • awsRegion :: Text

    The Amazon Web Services Region in which the user pool was created.

Instances

Instances details
FromJSON CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

ToJSON CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

Generic CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

Associated Types

type Rep CognitoUserPoolConfig :: Type -> Type #

Read CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

Show CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

NFData CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

Methods

rnf :: CognitoUserPoolConfig -> () #

Eq CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

Hashable CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

type Rep CognitoUserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.CognitoUserPoolConfig

type Rep CognitoUserPoolConfig = D1 ('MetaData "CognitoUserPoolConfig" "Amazonka.AppSync.Types.CognitoUserPoolConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "CognitoUserPoolConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appIdClientRegex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCognitoUserPoolConfig Source #

Create a value of CognitoUserPoolConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:appIdClientRegex:CognitoUserPoolConfig', cognitoUserPoolConfig_appIdClientRegex - A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

$sel:userPoolId:CognitoUserPoolConfig', cognitoUserPoolConfig_userPoolId - The user pool ID.

$sel:awsRegion:CognitoUserPoolConfig', cognitoUserPoolConfig_awsRegion - The Amazon Web Services Region in which the user pool was created.

cognitoUserPoolConfig_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text) Source #

A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text Source #

The Amazon Web Services Region in which the user pool was created.

DataSource

data DataSource Source #

Describes a data source.

See: newDataSource smart constructor.

Constructors

DataSource' 

Fields

Instances

Instances details
FromJSON DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

Generic DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

Associated Types

type Rep DataSource :: Type -> Type #

Read DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

Show DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

NFData DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

Methods

rnf :: DataSource -> () #

Eq DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

Hashable DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

type Rep DataSource Source # 
Instance details

Defined in Amazonka.AppSync.Types.DataSource

type Rep DataSource = D1 ('MetaData "DataSource" "Amazonka.AppSync.Types.DataSource" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "DataSource'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataSourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dynamodbConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DynamodbDataSourceConfig)) :*: (S1 ('MetaSel ('Just "elasticsearchConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ElasticsearchDataSourceConfig)) :*: S1 ('MetaSel ('Just "httpConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpDataSourceConfig))))) :*: ((S1 ('MetaSel ('Just "lambdaConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaDataSourceConfig)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "openSearchServiceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchServiceDataSourceConfig)))) :*: (S1 ('MetaSel ('Just "relationalDatabaseConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationalDatabaseDataSourceConfig)) :*: (S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceType)))))))

newDataSource :: DataSource Source #

Create a value of DataSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataSourceArn:DataSource', dataSource_dataSourceArn - The data source Amazon Resource Name (ARN).

$sel:description:DataSource', dataSource_description - The description of the data source.

$sel:dynamodbConfig:DataSource', dataSource_dynamodbConfig - DynamoDB settings.

$sel:elasticsearchConfig:DataSource', dataSource_elasticsearchConfig - Amazon OpenSearch Service settings.

$sel:httpConfig:DataSource', dataSource_httpConfig - HTTP endpoint settings.

$sel:lambdaConfig:DataSource', dataSource_lambdaConfig - Lambda settings.

$sel:name:DataSource', dataSource_name - The name of the data source.

$sel:openSearchServiceConfig:DataSource', dataSource_openSearchServiceConfig - Amazon OpenSearch Service settings.

$sel:relationalDatabaseConfig:DataSource', dataSource_relationalDatabaseConfig - Relational database settings.

$sel:serviceRoleArn:DataSource', dataSource_serviceRoleArn - The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.

$sel:type':DataSource', dataSource_type - The type of the data source.

  • AWS_LAMBDA: The data source is an Lambda function.
  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
  • AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.
  • AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.
  • NONE: There is no data source. Use this type when you want to invoke a GraphQL operation without connecting to a data source, such as when you're performing data transformation with resolvers or invoking a subscription from a mutation.
  • HTTP: The data source is an HTTP endpoint.
  • RELATIONAL_DATABASE: The data source is a relational database.

dataSource_dataSourceArn :: Lens' DataSource (Maybe Text) Source #

The data source Amazon Resource Name (ARN).

dataSource_description :: Lens' DataSource (Maybe Text) Source #

The description of the data source.

dataSource_name :: Lens' DataSource (Maybe Text) Source #

The name of the data source.

dataSource_serviceRoleArn :: Lens' DataSource (Maybe Text) Source #

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.

dataSource_type :: Lens' DataSource (Maybe DataSourceType) Source #

The type of the data source.

  • AWS_LAMBDA: The data source is an Lambda function.
  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
  • AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.
  • AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.
  • NONE: There is no data source. Use this type when you want to invoke a GraphQL operation without connecting to a data source, such as when you're performing data transformation with resolvers or invoking a subscription from a mutation.
  • HTTP: The data source is an HTTP endpoint.
  • RELATIONAL_DATABASE: The data source is a relational database.

DeltaSyncConfig

data DeltaSyncConfig Source #

Describes a Delta Sync configuration.

See: newDeltaSyncConfig smart constructor.

Constructors

DeltaSyncConfig' 

Fields

Instances

Instances details
FromJSON DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

ToJSON DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

Generic DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

Associated Types

type Rep DeltaSyncConfig :: Type -> Type #

Read DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

Show DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

NFData DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

Methods

rnf :: DeltaSyncConfig -> () #

Eq DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

Hashable DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

type Rep DeltaSyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DeltaSyncConfig

type Rep DeltaSyncConfig = D1 ('MetaData "DeltaSyncConfig" "Amazonka.AppSync.Types.DeltaSyncConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "DeltaSyncConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "baseTableTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "deltaSyncTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deltaSyncTableTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newDeltaSyncConfig :: DeltaSyncConfig Source #

Create a value of DeltaSyncConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:baseTableTTL:DeltaSyncConfig', deltaSyncConfig_baseTableTTL - The number of minutes that an Item is stored in the data source.

$sel:deltaSyncTableName:DeltaSyncConfig', deltaSyncConfig_deltaSyncTableName - The Delta Sync table name.

$sel:deltaSyncTableTTL:DeltaSyncConfig', deltaSyncConfig_deltaSyncTableTTL - The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.

deltaSyncConfig_baseTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) Source #

The number of minutes that an Item is stored in the data source.

deltaSyncConfig_deltaSyncTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) Source #

The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.

DomainNameConfig

data DomainNameConfig Source #

Describes a configuration for a custom domain.

See: newDomainNameConfig smart constructor.

Constructors

DomainNameConfig' 

Fields

Instances

Instances details
FromJSON DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

Generic DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

Associated Types

type Rep DomainNameConfig :: Type -> Type #

Read DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

Show DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

NFData DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

Methods

rnf :: DomainNameConfig -> () #

Eq DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

Hashable DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

type Rep DomainNameConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DomainNameConfig

type Rep DomainNameConfig = D1 ('MetaData "DomainNameConfig" "Amazonka.AppSync.Types.DomainNameConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "DomainNameConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appsyncDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDomainNameConfig :: DomainNameConfig Source #

Create a value of DomainNameConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:appsyncDomainName:DomainNameConfig', domainNameConfig_appsyncDomainName - The domain name that AppSync provides.

$sel:certificateArn:DomainNameConfig', domainNameConfig_certificateArn - The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.

$sel:description:DomainNameConfig', domainNameConfig_description - A description of the DomainName configuration.

$sel:domainName:DomainNameConfig', domainNameConfig_domainName - The domain name.

$sel:hostedZoneId:DomainNameConfig', domainNameConfig_hostedZoneId - The ID of your Amazon Route 53 hosted zone.

domainNameConfig_appsyncDomainName :: Lens' DomainNameConfig (Maybe Text) Source #

The domain name that AppSync provides.

domainNameConfig_certificateArn :: Lens' DomainNameConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.

domainNameConfig_description :: Lens' DomainNameConfig (Maybe Text) Source #

A description of the DomainName configuration.

domainNameConfig_hostedZoneId :: Lens' DomainNameConfig (Maybe Text) Source #

The ID of your Amazon Route 53 hosted zone.

DynamodbDataSourceConfig

data DynamodbDataSourceConfig Source #

Describes an Amazon DynamoDB data source configuration.

See: newDynamodbDataSourceConfig smart constructor.

Constructors

DynamodbDataSourceConfig' 

Fields

Instances

Instances details
FromJSON DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

ToJSON DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

Generic DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

Associated Types

type Rep DynamodbDataSourceConfig :: Type -> Type #

Read DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

Show DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

NFData DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

Eq DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

Hashable DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

type Rep DynamodbDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.DynamodbDataSourceConfig

type Rep DynamodbDataSourceConfig = D1 ('MetaData "DynamodbDataSourceConfig" "Amazonka.AppSync.Types.DynamodbDataSourceConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "DynamodbDataSourceConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deltaSyncConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeltaSyncConfig)) :*: S1 ('MetaSel ('Just "useCallerCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "versioned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDynamodbDataSourceConfig Source #

Create a value of DynamodbDataSourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deltaSyncConfig:DynamodbDataSourceConfig', dynamodbDataSourceConfig_deltaSyncConfig - The DeltaSyncConfig for a versioned data source.

$sel:useCallerCredentials:DynamodbDataSourceConfig', dynamodbDataSourceConfig_useCallerCredentials - Set to TRUE to use Amazon Cognito credentials with this data source.

$sel:versioned:DynamodbDataSourceConfig', dynamodbDataSourceConfig_versioned - Set to TRUE to use Conflict Detection and Resolution with this data source.

$sel:tableName:DynamodbDataSourceConfig', dynamodbDataSourceConfig_tableName - The table name.

$sel:awsRegion:DynamodbDataSourceConfig', dynamodbDataSourceConfig_awsRegion - The Amazon Web Services Region.

dynamodbDataSourceConfig_useCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) Source #

Set to TRUE to use Amazon Cognito credentials with this data source.

dynamodbDataSourceConfig_versioned :: Lens' DynamodbDataSourceConfig (Maybe Bool) Source #

Set to TRUE to use Conflict Detection and Resolution with this data source.

ElasticsearchDataSourceConfig

data ElasticsearchDataSourceConfig Source #

Describes an OpenSearch data source configuration.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.

See: newElasticsearchDataSourceConfig smart constructor.

Constructors

ElasticsearchDataSourceConfig' 

Fields

Instances

Instances details
FromJSON ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

ToJSON ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

Generic ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

Associated Types

type Rep ElasticsearchDataSourceConfig :: Type -> Type #

Read ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

Show ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

NFData ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

Eq ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

Hashable ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

type Rep ElasticsearchDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.ElasticsearchDataSourceConfig

type Rep ElasticsearchDataSourceConfig = D1 ('MetaData "ElasticsearchDataSourceConfig" "Amazonka.AppSync.Types.ElasticsearchDataSourceConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ElasticsearchDataSourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newElasticsearchDataSourceConfig Source #

Create a value of ElasticsearchDataSourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpoint:ElasticsearchDataSourceConfig', elasticsearchDataSourceConfig_endpoint - The endpoint.

$sel:awsRegion:ElasticsearchDataSourceConfig', elasticsearchDataSourceConfig_awsRegion - The Amazon Web Services Region.

ErrorDetail

data ErrorDetail Source #

Contains the list of errors generated. When using JavaScript, this will apply to the request or response function evaluation.

See: newErrorDetail smart constructor.

Constructors

ErrorDetail' 

Fields

Instances

Instances details
FromJSON ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

Generic ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

Associated Types

type Rep ErrorDetail :: Type -> Type #

Read ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

Show ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

NFData ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

Methods

rnf :: ErrorDetail -> () #

Eq ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

Hashable ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

type Rep ErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.ErrorDetail

type Rep ErrorDetail = D1 ('MetaData "ErrorDetail" "Amazonka.AppSync.Types.ErrorDetail" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ErrorDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newErrorDetail :: ErrorDetail Source #

Create a value of ErrorDetail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:message:ErrorDetail', errorDetail_message - The error payload.

EvaluateCodeErrorDetail

data EvaluateCodeErrorDetail Source #

Contains the list of errors from a code evaluation response.

See: newEvaluateCodeErrorDetail smart constructor.

Constructors

EvaluateCodeErrorDetail' 

Fields

Instances

Instances details
FromJSON EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

Generic EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

Associated Types

type Rep EvaluateCodeErrorDetail :: Type -> Type #

Read EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

Show EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

NFData EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

Methods

rnf :: EvaluateCodeErrorDetail -> () #

Eq EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

Hashable EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

type Rep EvaluateCodeErrorDetail Source # 
Instance details

Defined in Amazonka.AppSync.Types.EvaluateCodeErrorDetail

type Rep EvaluateCodeErrorDetail = D1 ('MetaData "EvaluateCodeErrorDetail" "Amazonka.AppSync.Types.EvaluateCodeErrorDetail" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "EvaluateCodeErrorDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeError])) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEvaluateCodeErrorDetail :: EvaluateCodeErrorDetail Source #

Create a value of EvaluateCodeErrorDetail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:codeErrors:EvaluateCodeErrorDetail', evaluateCodeErrorDetail_codeErrors - Contains the list of CodeError objects.

$sel:message:EvaluateCodeErrorDetail', evaluateCodeErrorDetail_message - The error payload.

FunctionConfiguration

data FunctionConfiguration Source #

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

See: newFunctionConfiguration smart constructor.

Constructors

FunctionConfiguration' 

Fields

Instances

Instances details
FromJSON FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Generic FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Associated Types

type Rep FunctionConfiguration :: Type -> Type #

Read FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Show FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

NFData FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Methods

rnf :: FunctionConfiguration -> () #

Eq FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Hashable FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

type Rep FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

type Rep FunctionConfiguration = D1 ('MetaData "FunctionConfiguration" "Amazonka.AppSync.Types.FunctionConfiguration" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "FunctionConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dataSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "functionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "maxBatchSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestMappingTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "responseMappingTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "runtime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppSyncRuntime)) :*: S1 ('MetaSel ('Just "syncConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SyncConfig)))))))

newFunctionConfiguration :: FunctionConfiguration Source #

Create a value of FunctionConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:code:FunctionConfiguration', functionConfiguration_code - The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

$sel:dataSourceName:FunctionConfiguration', functionConfiguration_dataSourceName - The name of the DataSource.

$sel:description:FunctionConfiguration', functionConfiguration_description - The Function description.

$sel:functionArn:FunctionConfiguration', functionConfiguration_functionArn - The Amazon Resource Name (ARN) of the Function object.

$sel:functionId:FunctionConfiguration', functionConfiguration_functionId - A unique ID representing the Function object.

$sel:functionVersion:FunctionConfiguration', functionConfiguration_functionVersion - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.

$sel:maxBatchSize:FunctionConfiguration', functionConfiguration_maxBatchSize - The maximum batching size for a resolver.

FunctionConfiguration, functionConfiguration_name - The name of the Function object.

$sel:requestMappingTemplate:FunctionConfiguration', functionConfiguration_requestMappingTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

$sel:responseMappingTemplate:FunctionConfiguration', functionConfiguration_responseMappingTemplate - The Function response mapping template.

$sel:runtime:FunctionConfiguration', functionConfiguration_runtime - Undocumented member.

$sel:syncConfig:FunctionConfiguration', functionConfiguration_syncConfig - Undocumented member.

functionConfiguration_code :: Lens' FunctionConfiguration (Maybe Text) Source #

The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Function object.

functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) Source #

A unique ID representing the Function object.

functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text) Source #

The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.

functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) Source #

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

GraphqlApi

data GraphqlApi Source #

Describes a GraphQL API.

See: newGraphqlApi smart constructor.

Constructors

GraphqlApi' 

Fields

Instances

Instances details
FromJSON GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

Generic GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

Associated Types

type Rep GraphqlApi :: Type -> Type #

Read GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

Show GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

NFData GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

Methods

rnf :: GraphqlApi -> () #

Eq GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

Hashable GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

type Rep GraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.Types.GraphqlApi

type Rep GraphqlApi = D1 ('MetaData "GraphqlApi" "Amazonka.AppSync.Types.GraphqlApi" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "GraphqlApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "additionalAuthenticationProviders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdditionalAuthenticationProvider])) :*: (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "authenticationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthenticationType)) :*: (S1 ('MetaSel ('Just "lambdaAuthorizerConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaAuthorizerConfig)) :*: S1 ('MetaSel ('Just "logConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogConfig))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "openIDConnectConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenIDConnectConfig)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "uris") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "userPoolConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPoolConfig))) :*: (S1 ('MetaSel ('Just "wafWebAclArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "xrayEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newGraphqlApi :: GraphqlApi Source #

Create a value of GraphqlApi with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:additionalAuthenticationProviders:GraphqlApi', graphqlApi_additionalAuthenticationProviders - A list of additional authentication providers for the GraphqlApi API.

$sel:apiId:GraphqlApi', graphqlApi_apiId - The API ID.

$sel:arn:GraphqlApi', graphqlApi_arn - The Amazon Resource Name (ARN).

GraphqlApi, graphqlApi_authenticationType - The authentication type.

GraphqlApi, graphqlApi_lambdaAuthorizerConfig - Configuration for Lambda function authorization.

$sel:logConfig:GraphqlApi', graphqlApi_logConfig - The Amazon CloudWatch Logs configuration.

$sel:name:GraphqlApi', graphqlApi_name - The API name.

GraphqlApi, graphqlApi_openIDConnectConfig - The OpenID Connect configuration.

$sel:tags:GraphqlApi', graphqlApi_tags - The tags.

$sel:uris:GraphqlApi', graphqlApi_uris - The URIs.

GraphqlApi, graphqlApi_userPoolConfig - The Amazon Cognito user pool configuration.

$sel:wafWebAclArn:GraphqlApi', graphqlApi_wafWebAclArn - The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one exists.

$sel:xrayEnabled:GraphqlApi', graphqlApi_xrayEnabled - A flag indicating whether to use X-Ray tracing for this GraphqlApi.

graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #

A list of additional authentication providers for the GraphqlApi API.

graphqlApi_arn :: Lens' GraphqlApi (Maybe Text) Source #

The Amazon Resource Name (ARN).

graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig) Source #

Configuration for Lambda function authorization.

graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig) Source #

The Amazon CloudWatch Logs configuration.

graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig) Source #

The Amazon Cognito user pool configuration.

graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text) Source #

The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one exists.

graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool) Source #

A flag indicating whether to use X-Ray tracing for this GraphqlApi.

HttpDataSourceConfig

data HttpDataSourceConfig Source #

Describes an HTTP data source configuration.

See: newHttpDataSourceConfig smart constructor.

Constructors

HttpDataSourceConfig' 

Fields

  • authorizationConfig :: Maybe AuthorizationConfig

    The authorization configuration in case the HTTP endpoint requires authorization.

  • endpoint :: Maybe Text

    The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

Instances

Instances details
FromJSON HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

ToJSON HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Generic HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Associated Types

type Rep HttpDataSourceConfig :: Type -> Type #

Read HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Show HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

NFData HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Methods

rnf :: HttpDataSourceConfig -> () #

Eq HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Hashable HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

type Rep HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

type Rep HttpDataSourceConfig = D1 ('MetaData "HttpDataSourceConfig" "Amazonka.AppSync.Types.HttpDataSourceConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "HttpDataSourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthorizationConfig)) :*: S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newHttpDataSourceConfig :: HttpDataSourceConfig Source #

Create a value of HttpDataSourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authorizationConfig:HttpDataSourceConfig', httpDataSourceConfig_authorizationConfig - The authorization configuration in case the HTTP endpoint requires authorization.

$sel:endpoint:HttpDataSourceConfig', httpDataSourceConfig_endpoint - The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig) Source #

The authorization configuration in case the HTTP endpoint requires authorization.

httpDataSourceConfig_endpoint :: Lens' HttpDataSourceConfig (Maybe Text) Source #

The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

LambdaAuthorizerConfig

data LambdaAuthorizerConfig Source #

A LambdaAuthorizerConfig specifies how to authorize AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a time.

See: newLambdaAuthorizerConfig smart constructor.

Constructors

LambdaAuthorizerConfig' 

Fields

  • authorizerResultTtlInSeconds :: Maybe Natural

    The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses.

  • identityValidationExpression :: Maybe Text

    A regular expression for validation of tokens before the Lambda function is called.

  • authorizerUri :: Text

    The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.

    Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:

    aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction

Instances

Instances details
FromJSON LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

ToJSON LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

Generic LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

Associated Types

type Rep LambdaAuthorizerConfig :: Type -> Type #

Read LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

Show LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

NFData LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

Methods

rnf :: LambdaAuthorizerConfig -> () #

Eq LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

Hashable LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

type Rep LambdaAuthorizerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaAuthorizerConfig

type Rep LambdaAuthorizerConfig = D1 ('MetaData "LambdaAuthorizerConfig" "Amazonka.AppSync.Types.LambdaAuthorizerConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "LambdaAuthorizerConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizerResultTtlInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "identityValidationExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authorizerUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newLambdaAuthorizerConfig Source #

Create a value of LambdaAuthorizerConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authorizerResultTtlInSeconds:LambdaAuthorizerConfig', lambdaAuthorizerConfig_authorizerResultTtlInSeconds - The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses.

$sel:identityValidationExpression:LambdaAuthorizerConfig', lambdaAuthorizerConfig_identityValidationExpression - A regular expression for validation of tokens before the Lambda function is called.

$sel:authorizerUri:LambdaAuthorizerConfig', lambdaAuthorizerConfig_authorizerUri - The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.

Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:

aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction

lambdaAuthorizerConfig_authorizerResultTtlInSeconds :: Lens' LambdaAuthorizerConfig (Maybe Natural) Source #

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses.

lambdaAuthorizerConfig_identityValidationExpression :: Lens' LambdaAuthorizerConfig (Maybe Text) Source #

A regular expression for validation of tokens before the Lambda function is called.

lambdaAuthorizerConfig_authorizerUri :: Lens' LambdaAuthorizerConfig Text Source #

The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.

Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:

aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction

LambdaConflictHandlerConfig

data LambdaConflictHandlerConfig Source #

The LambdaConflictHandlerConfig object when configuring LAMBDA as the Conflict Handler.

See: newLambdaConflictHandlerConfig smart constructor.

Constructors

LambdaConflictHandlerConfig' 

Fields

Instances

Instances details
FromJSON LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

ToJSON LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

Generic LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

Associated Types

type Rep LambdaConflictHandlerConfig :: Type -> Type #

Read LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

Show LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

NFData LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

Eq LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

Hashable LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

type Rep LambdaConflictHandlerConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaConflictHandlerConfig

type Rep LambdaConflictHandlerConfig = D1 ('MetaData "LambdaConflictHandlerConfig" "Amazonka.AppSync.Types.LambdaConflictHandlerConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "LambdaConflictHandlerConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lambdaConflictHandlerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLambdaConflictHandlerConfig :: LambdaConflictHandlerConfig Source #

Create a value of LambdaConflictHandlerConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lambdaConflictHandlerArn:LambdaConflictHandlerConfig', lambdaConflictHandlerConfig_lambdaConflictHandlerArn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

lambdaConflictHandlerConfig_lambdaConflictHandlerArn :: Lens' LambdaConflictHandlerConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

LambdaDataSourceConfig

data LambdaDataSourceConfig Source #

Describes an Lambda data source configuration.

See: newLambdaDataSourceConfig smart constructor.

Constructors

LambdaDataSourceConfig' 

Fields

Instances

Instances details
FromJSON LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

ToJSON LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

Generic LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

Associated Types

type Rep LambdaDataSourceConfig :: Type -> Type #

Read LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

Show LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

NFData LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

Methods

rnf :: LambdaDataSourceConfig -> () #

Eq LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

Hashable LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

type Rep LambdaDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LambdaDataSourceConfig

type Rep LambdaDataSourceConfig = D1 ('MetaData "LambdaDataSourceConfig" "Amazonka.AppSync.Types.LambdaDataSourceConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "LambdaDataSourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lambdaFunctionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newLambdaDataSourceConfig Source #

Create a value of LambdaDataSourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lambdaFunctionArn:LambdaDataSourceConfig', lambdaDataSourceConfig_lambdaFunctionArn - The Amazon Resource Name (ARN) for the Lambda function.

lambdaDataSourceConfig_lambdaFunctionArn :: Lens' LambdaDataSourceConfig Text Source #

The Amazon Resource Name (ARN) for the Lambda function.

LogConfig

data LogConfig Source #

The Amazon CloudWatch Logs configuration.

See: newLogConfig smart constructor.

Constructors

LogConfig' 

Fields

  • excludeVerboseContent :: Maybe Bool

    Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

  • fieldLogLevel :: FieldLogLevel

    The field logging level. Values can be NONE, ERROR, or 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.
  • cloudWatchLogsRoleArn :: Text

    The service role that AppSync assumes to publish to CloudWatch logs in your account.

Instances

Instances details
FromJSON LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

ToJSON LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

Generic LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

Associated Types

type Rep LogConfig :: Type -> Type #

Read LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

Show LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

NFData LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

Methods

rnf :: LogConfig -> () #

Eq LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

Hashable LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

type Rep LogConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.LogConfig

type Rep LogConfig = D1 ('MetaData "LogConfig" "Amazonka.AppSync.Types.LogConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "LogConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "excludeVerboseContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "fieldLogLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldLogLevel) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newLogConfig Source #

Create a value of LogConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:excludeVerboseContent:LogConfig', logConfig_excludeVerboseContent - Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

$sel:fieldLogLevel:LogConfig', logConfig_fieldLogLevel - The field logging level. Values can be NONE, ERROR, or 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.

$sel:cloudWatchLogsRoleArn:LogConfig', logConfig_cloudWatchLogsRoleArn - The service role that AppSync assumes to publish to CloudWatch logs in your account.

logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool) Source #

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel Source #

The field logging level. Values can be NONE, ERROR, or 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.

logConfig_cloudWatchLogsRoleArn :: Lens' LogConfig Text Source #

The service role that AppSync assumes to publish to CloudWatch logs in your account.

OpenIDConnectConfig

data OpenIDConnectConfig Source #

Describes an OpenID Connect (OIDC) configuration.

See: newOpenIDConnectConfig smart constructor.

Constructors

OpenIDConnectConfig' 

Fields

  • authTTL :: Maybe Integer

    The number of milliseconds that a token is valid after being authenticated.

  • clientId :: Maybe Text

    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 that AppSync can validate against multiple client identifiers at a time.

  • iatTTL :: Maybe Integer

    The number of milliseconds that a token is valid after it's issued to a user.

  • issuer :: Text

    The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

Instances

Instances details
FromJSON OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

ToJSON OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Generic OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Associated Types

type Rep OpenIDConnectConfig :: Type -> Type #

Read OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Show OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

NFData OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Methods

rnf :: OpenIDConnectConfig -> () #

Eq OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Hashable OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

type Rep OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

type Rep OpenIDConnectConfig = D1 ('MetaData "OpenIDConnectConfig" "Amazonka.AppSync.Types.OpenIDConnectConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "OpenIDConnectConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "iatTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newOpenIDConnectConfig Source #

Create a value of OpenIDConnectConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authTTL:OpenIDConnectConfig', openIDConnectConfig_authTTL - The number of milliseconds that a token is valid after being authenticated.

$sel:clientId:OpenIDConnectConfig', openIDConnectConfig_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 that AppSync can validate against multiple client identifiers at a time.

$sel:iatTTL:OpenIDConnectConfig', openIDConnectConfig_iatTTL - The number of milliseconds that a token is valid after it's issued to a user.

$sel:issuer:OpenIDConnectConfig', openIDConnectConfig_issuer - The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer) Source #

The number of milliseconds that a token is valid after being authenticated.

openIDConnectConfig_clientId :: Lens' OpenIDConnectConfig (Maybe Text) Source #

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 that AppSync can validate against multiple client identifiers at a time.

openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer) Source #

The number of milliseconds that a token is valid after it's issued to a user.

openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text Source #

The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

OpenSearchServiceDataSourceConfig

data OpenSearchServiceDataSourceConfig Source #

Describes an OpenSearch data source configuration.

See: newOpenSearchServiceDataSourceConfig smart constructor.

Constructors

OpenSearchServiceDataSourceConfig' 

Fields

Instances

Instances details
FromJSON OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

ToJSON OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

Generic OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

Associated Types

type Rep OpenSearchServiceDataSourceConfig :: Type -> Type #

Read OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

Show OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

NFData OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

Eq OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

Hashable OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

type Rep OpenSearchServiceDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig

type Rep OpenSearchServiceDataSourceConfig = D1 ('MetaData "OpenSearchServiceDataSourceConfig" "Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "OpenSearchServiceDataSourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOpenSearchServiceDataSourceConfig Source #

Create a value of OpenSearchServiceDataSourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpoint:OpenSearchServiceDataSourceConfig', openSearchServiceDataSourceConfig_endpoint - The endpoint.

$sel:awsRegion:OpenSearchServiceDataSourceConfig', openSearchServiceDataSourceConfig_awsRegion - The Amazon Web Services Region.

PipelineConfig

data PipelineConfig Source #

The pipeline configuration for a resolver of kind PIPELINE.

See: newPipelineConfig smart constructor.

Constructors

PipelineConfig' 

Fields

Instances

Instances details
FromJSON PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

ToJSON PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

Generic PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

Associated Types

type Rep PipelineConfig :: Type -> Type #

Read PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

Show PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

NFData PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

Methods

rnf :: PipelineConfig -> () #

Eq PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

Hashable PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

type Rep PipelineConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.PipelineConfig

type Rep PipelineConfig = D1 ('MetaData "PipelineConfig" "Amazonka.AppSync.Types.PipelineConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "PipelineConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newPipelineConfig :: PipelineConfig Source #

Create a value of PipelineConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:functions:PipelineConfig', pipelineConfig_functions - A list of Function objects.

pipelineConfig_functions :: Lens' PipelineConfig (Maybe [Text]) Source #

A list of Function objects.

RdsHttpEndpointConfig

data RdsHttpEndpointConfig Source #

The Amazon Relational Database Service (Amazon RDS) HTTP endpoint configuration.

See: newRdsHttpEndpointConfig smart constructor.

Constructors

RdsHttpEndpointConfig' 

Fields

Instances

Instances details
FromJSON RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

ToJSON RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

Generic RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

Associated Types

type Rep RdsHttpEndpointConfig :: Type -> Type #

Read RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

Show RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

NFData RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

Methods

rnf :: RdsHttpEndpointConfig -> () #

Eq RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

Hashable RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

type Rep RdsHttpEndpointConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RdsHttpEndpointConfig

type Rep RdsHttpEndpointConfig = D1 ('MetaData "RdsHttpEndpointConfig" "Amazonka.AppSync.Types.RdsHttpEndpointConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "RdsHttpEndpointConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsSecretStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRdsHttpEndpointConfig :: RdsHttpEndpointConfig Source #

Create a value of RdsHttpEndpointConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:awsRegion:RdsHttpEndpointConfig', rdsHttpEndpointConfig_awsRegion - Amazon Web Services Region for Amazon RDS HTTP endpoint.

$sel:awsSecretStoreArn:RdsHttpEndpointConfig', rdsHttpEndpointConfig_awsSecretStoreArn - Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.

$sel:databaseName:RdsHttpEndpointConfig', rdsHttpEndpointConfig_databaseName - Logical database name.

$sel:dbClusterIdentifier:RdsHttpEndpointConfig', rdsHttpEndpointConfig_dbClusterIdentifier - Amazon RDS cluster Amazon Resource Name (ARN).

$sel:schema:RdsHttpEndpointConfig', rdsHttpEndpointConfig_schema - Logical schema name.

rdsHttpEndpointConfig_awsRegion :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #

Amazon Web Services Region for Amazon RDS HTTP endpoint.

rdsHttpEndpointConfig_awsSecretStoreArn :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #

Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.

rdsHttpEndpointConfig_dbClusterIdentifier :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #

Amazon RDS cluster Amazon Resource Name (ARN).

RelationalDatabaseDataSourceConfig

data RelationalDatabaseDataSourceConfig Source #

Describes a relational database data source configuration.

See: newRelationalDatabaseDataSourceConfig smart constructor.

Constructors

RelationalDatabaseDataSourceConfig' 

Fields

Instances

Instances details
FromJSON RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

ToJSON RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

Generic RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

Associated Types

type Rep RelationalDatabaseDataSourceConfig :: Type -> Type #

Read RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

Show RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

NFData RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

Eq RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

Hashable RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

type Rep RelationalDatabaseDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig

type Rep RelationalDatabaseDataSourceConfig = D1 ('MetaData "RelationalDatabaseDataSourceConfig" "Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "RelationalDatabaseDataSourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rdsHttpEndpointConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RdsHttpEndpointConfig)) :*: S1 ('MetaSel ('Just "relationalDatabaseSourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationalDatabaseSourceType))))

newRelationalDatabaseDataSourceConfig :: RelationalDatabaseDataSourceConfig Source #

Create a value of RelationalDatabaseDataSourceConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:rdsHttpEndpointConfig:RelationalDatabaseDataSourceConfig', relationalDatabaseDataSourceConfig_rdsHttpEndpointConfig - Amazon RDS HTTP endpoint settings.

$sel:relationalDatabaseSourceType:RelationalDatabaseDataSourceConfig', relationalDatabaseDataSourceConfig_relationalDatabaseSourceType - Source type for the relational database.

  • RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.

relationalDatabaseDataSourceConfig_relationalDatabaseSourceType :: Lens' RelationalDatabaseDataSourceConfig (Maybe RelationalDatabaseSourceType) Source #

Source type for the relational database.

  • RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.

Resolver

data Resolver Source #

Describes a resolver.

See: newResolver smart constructor.

Constructors

Resolver' 

Fields

Instances

Instances details
FromJSON Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Generic Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Associated Types

type Rep Resolver :: Type -> Type #

Methods

from :: Resolver -> Rep Resolver x #

to :: Rep Resolver x -> Resolver #

Read Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Show Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

NFData Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Methods

rnf :: Resolver -> () #

Eq Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Hashable Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Methods

hashWithSalt :: Int -> Resolver -> Int #

hash :: Resolver -> Int #

type Rep Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

type Rep Resolver = D1 ('MetaData "Resolver" "Amazonka.AppSync.Types.Resolver" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "Resolver'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cachingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CachingConfig)) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "fieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResolverKind)) :*: S1 ('MetaSel ('Just "maxBatchSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "pipelineConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipelineConfig)) :*: (S1 ('MetaSel ('Just "requestMappingTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resolverArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "responseMappingTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "runtime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppSyncRuntime))) :*: (S1 ('MetaSel ('Just "syncConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SyncConfig)) :*: S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newResolver :: Resolver Source #

Create a value of Resolver with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cachingConfig:Resolver', resolver_cachingConfig - The caching configuration for the resolver.

$sel:code:Resolver', resolver_code - The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

$sel:dataSourceName:Resolver', resolver_dataSourceName - The resolver data source name.

$sel:fieldName:Resolver', resolver_fieldName - The resolver field name.

$sel:kind:Resolver', resolver_kind - The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

$sel:maxBatchSize:Resolver', resolver_maxBatchSize - The maximum batching size for a resolver.

$sel:pipelineConfig:Resolver', resolver_pipelineConfig - The PipelineConfig.

$sel:requestMappingTemplate:Resolver', resolver_requestMappingTemplate - The request mapping template.

$sel:resolverArn:Resolver', resolver_resolverArn - The resolver Amazon Resource Name (ARN).

$sel:responseMappingTemplate:Resolver', resolver_responseMappingTemplate - The response mapping template.

$sel:runtime:Resolver', resolver_runtime - Undocumented member.

$sel:syncConfig:Resolver', resolver_syncConfig - The SyncConfig for a resolver attached to a versioned data source.

$sel:typeName:Resolver', resolver_typeName - The resolver type name.

resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig) Source #

The caching configuration for the resolver.

resolver_code :: Lens' Resolver (Maybe Text) Source #

The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

resolver_dataSourceName :: Lens' Resolver (Maybe Text) Source #

The resolver data source name.

resolver_fieldName :: Lens' Resolver (Maybe Text) Source #

The resolver field name.

resolver_kind :: Lens' Resolver (Maybe ResolverKind) Source #

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

resolver_maxBatchSize :: Lens' Resolver (Maybe Natural) Source #

The maximum batching size for a resolver.

resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text) Source #

The request mapping template.

resolver_resolverArn :: Lens' Resolver (Maybe Text) Source #

The resolver Amazon Resource Name (ARN).

resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text) Source #

The response mapping template.

resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig) Source #

The SyncConfig for a resolver attached to a versioned data source.

resolver_typeName :: Lens' Resolver (Maybe Text) Source #

The resolver type name.

SyncConfig

data SyncConfig Source #

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

See: newSyncConfig smart constructor.

Constructors

SyncConfig' 

Fields

  • conflictDetection :: Maybe ConflictDetectionType

    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
  • conflictHandler :: Maybe ConflictHandlerType

    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.
  • lambdaConflictHandlerConfig :: Maybe LambdaConflictHandlerConfig

    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Instances

Instances details
FromJSON SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

ToJSON SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

Generic SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

Associated Types

type Rep SyncConfig :: Type -> Type #

Read SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

Show SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

NFData SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

Methods

rnf :: SyncConfig -> () #

Eq SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

Hashable SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

type Rep SyncConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.SyncConfig

type Rep SyncConfig = D1 ('MetaData "SyncConfig" "Amazonka.AppSync.Types.SyncConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "SyncConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "conflictDetection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConflictDetectionType)) :*: (S1 ('MetaSel ('Just "conflictHandler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConflictHandlerType)) :*: S1 ('MetaSel ('Just "lambdaConflictHandlerConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaConflictHandlerConfig)))))

newSyncConfig :: SyncConfig Source #

Create a value of SyncConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:conflictDetection:SyncConfig', syncConfig_conflictDetection - The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.
  • NONE: Do not detect conflicts when invoking this resolver.

$sel:conflictHandler:SyncConfig', syncConfig_conflictHandler - The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
  • LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.

$sel:lambdaConflictHandlerConfig:SyncConfig', syncConfig_lambdaConflictHandlerConfig - The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

syncConfig_conflictDetection :: Lens' SyncConfig (Maybe ConflictDetectionType) Source #

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.
  • NONE: Do not detect conflicts when invoking this resolver.

syncConfig_conflictHandler :: Lens' SyncConfig (Maybe ConflictHandlerType) Source #

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
  • LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.

syncConfig_lambdaConflictHandlerConfig :: Lens' SyncConfig (Maybe LambdaConflictHandlerConfig) Source #

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Type

data Type Source #

Describes a type.

See: newType smart constructor.

Constructors

Type' 

Fields

Instances

Instances details
FromJSON Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Generic Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

Read Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Show Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

NFData Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

rnf :: Type -> () #

Eq Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Hashable Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

hashWithSalt :: Int -> Type -> Int #

hash :: Type -> Int #

type Rep Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

newType :: Type Source #

Create a value of Type with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:Type', type_arn - The type Amazon Resource Name (ARN).

$sel:definition:Type', type_definition - The type definition.

$sel:description:Type', type_description - The type description.

$sel:format:Type', type_format - The type format: SDL or JSON.

$sel:name:Type', type_name - The type name.

type_arn :: Lens' Type (Maybe Text) Source #

The type Amazon Resource Name (ARN).

type_definition :: Lens' Type (Maybe Text) Source #

The type definition.

type_description :: Lens' Type (Maybe Text) Source #

The type description.

type_format :: Lens' Type (Maybe TypeDefinitionFormat) Source #

The type format: SDL or JSON.

type_name :: Lens' Type (Maybe Text) Source #

The type name.

UserPoolConfig

data UserPoolConfig Source #

Describes an Amazon Cognito user pool configuration.

See: newUserPoolConfig smart constructor.

Constructors

UserPoolConfig' 

Fields

  • appIdClientRegex :: Maybe Text

    A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

  • userPoolId :: Text

    The user pool ID.

  • awsRegion :: Text

    The Amazon Web Services Region in which the user pool was created.

  • defaultAction :: 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.

Instances

Instances details
FromJSON UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

ToJSON UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Generic UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Associated Types

type Rep UserPoolConfig :: Type -> Type #

Read UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Show UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

NFData UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Methods

rnf :: UserPoolConfig -> () #

Eq UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Hashable UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

type Rep UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

type Rep UserPoolConfig = D1 ('MetaData "UserPoolConfig" "Amazonka.AppSync.Types.UserPoolConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "UserPoolConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appIdClientRegex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "defaultAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultAction))))

newUserPoolConfig Source #

Create a value of UserPoolConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:appIdClientRegex:UserPoolConfig', userPoolConfig_appIdClientRegex - A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

$sel:userPoolId:UserPoolConfig', userPoolConfig_userPoolId - The user pool ID.

$sel:awsRegion:UserPoolConfig', userPoolConfig_awsRegion - The Amazon Web Services Region in which the user pool was created.

$sel:defaultAction:UserPoolConfig', userPoolConfig_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.

userPoolConfig_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text) Source #

A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

userPoolConfig_awsRegion :: Lens' UserPoolConfig Text Source #

The Amazon Web Services Region in which the user pool was created.

userPoolConfig_defaultAction :: 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.