-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon AppSync SDK. -- -- Derived from API version 2017-07-25 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in Amazonka.AppSync.Lens and are -- suitable for use with a lens package such as lens or -- lens-family-core. -- -- See Amazonka.AppSync and the AWS documentation to get -- started. @package amazonka-appsync @version 2.0 module Amazonka.AppSync.Types.ApiCacheStatus newtype ApiCacheStatus ApiCacheStatus' :: Text -> ApiCacheStatus [fromApiCacheStatus] :: ApiCacheStatus -> Text pattern ApiCacheStatus_AVAILABLE :: ApiCacheStatus pattern ApiCacheStatus_CREATING :: ApiCacheStatus pattern ApiCacheStatus_DELETING :: ApiCacheStatus pattern ApiCacheStatus_FAILED :: ApiCacheStatus pattern ApiCacheStatus_MODIFYING :: ApiCacheStatus instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance GHC.Generics.Generic Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance GHC.Classes.Ord Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance GHC.Classes.Eq Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance GHC.Read.Read Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus instance GHC.Show.Show Amazonka.AppSync.Types.ApiCacheStatus.ApiCacheStatus module Amazonka.AppSync.Types.ApiCacheType newtype ApiCacheType ApiCacheType' :: Text -> ApiCacheType [fromApiCacheType] :: ApiCacheType -> Text pattern ApiCacheType_LARGE :: ApiCacheType pattern ApiCacheType_LARGE_12X :: ApiCacheType pattern ApiCacheType_LARGE_2X :: ApiCacheType pattern ApiCacheType_LARGE_4X :: ApiCacheType pattern ApiCacheType_LARGE_8X :: ApiCacheType pattern ApiCacheType_MEDIUM :: ApiCacheType pattern ApiCacheType_R4_2XLARGE :: ApiCacheType pattern ApiCacheType_R4_4XLARGE :: ApiCacheType pattern ApiCacheType_R4_8XLARGE :: ApiCacheType pattern ApiCacheType_R4_LARGE :: ApiCacheType pattern ApiCacheType_R4_XLARGE :: ApiCacheType pattern ApiCacheType_SMALL :: ApiCacheType pattern ApiCacheType_T2_MEDIUM :: ApiCacheType pattern ApiCacheType_T2_SMALL :: ApiCacheType pattern ApiCacheType_XLARGE :: ApiCacheType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance GHC.Generics.Generic Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance GHC.Classes.Ord Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance GHC.Classes.Eq Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance GHC.Read.Read Amazonka.AppSync.Types.ApiCacheType.ApiCacheType instance GHC.Show.Show Amazonka.AppSync.Types.ApiCacheType.ApiCacheType module Amazonka.AppSync.Types.ApiCachingBehavior newtype ApiCachingBehavior ApiCachingBehavior' :: Text -> ApiCachingBehavior [fromApiCachingBehavior] :: ApiCachingBehavior -> Text pattern ApiCachingBehavior_FULL_REQUEST_CACHING :: ApiCachingBehavior pattern ApiCachingBehavior_PER_RESOLVER_CACHING :: ApiCachingBehavior instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance GHC.Generics.Generic Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance GHC.Classes.Ord Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance GHC.Classes.Eq Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance GHC.Read.Read Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior instance GHC.Show.Show Amazonka.AppSync.Types.ApiCachingBehavior.ApiCachingBehavior module Amazonka.AppSync.Types.ApiCache -- | The ApiCache object. -- -- See: newApiCache smart constructor. data ApiCache ApiCache' :: Maybe ApiCachingBehavior -> Maybe Bool -> Maybe ApiCacheStatus -> Maybe Bool -> Maybe Integer -> Maybe ApiCacheType -> ApiCache -- | Caching behavior. -- -- [$sel:apiCachingBehavior:ApiCache'] :: ApiCache -> Maybe ApiCachingBehavior -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. [$sel:atRestEncryptionEnabled:ApiCache'] :: ApiCache -> Maybe Bool -- | The cache instance status. -- -- [$sel:status:ApiCache'] :: ApiCache -> Maybe ApiCacheStatus -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. [$sel:transitEncryptionEnabled:ApiCache'] :: ApiCache -> Maybe Bool -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. [$sel:ttl:ApiCache'] :: ApiCache -> Maybe Integer -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- [$sel:type':ApiCache'] :: ApiCache -> Maybe ApiCacheType -- | 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. -- -- -- -- $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. -- -- -- -- $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 -- -- -- -- 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: -- -- newApiCache :: ApiCache -- | Caching behavior. -- -- apiCache_apiCachingBehavior :: Lens' ApiCache (Maybe ApiCachingBehavior) -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. apiCache_atRestEncryptionEnabled :: Lens' ApiCache (Maybe Bool) -- | The cache instance status. -- -- apiCache_status :: Lens' ApiCache (Maybe ApiCacheStatus) -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. apiCache_transitEncryptionEnabled :: Lens' ApiCache (Maybe Bool) -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. apiCache_ttl :: Lens' ApiCache (Maybe Integer) -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- apiCache_type :: Lens' ApiCache (Maybe ApiCacheType) instance GHC.Generics.Generic Amazonka.AppSync.Types.ApiCache.ApiCache instance GHC.Show.Show Amazonka.AppSync.Types.ApiCache.ApiCache instance GHC.Read.Read Amazonka.AppSync.Types.ApiCache.ApiCache instance GHC.Classes.Eq Amazonka.AppSync.Types.ApiCache.ApiCache instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ApiCache.ApiCache instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ApiCache.ApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ApiCache.ApiCache module Amazonka.AppSync.Types.ApiKey -- | 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. -- -- -- -- da2: We introduced this version in February 2018 when AppSync -- added support to extend key expiration. -- -- -- -- See: newApiKey smart constructor. data ApiKey ApiKey' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe Text -> ApiKey -- | 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:deletes:ApiKey'] :: ApiKey -> Maybe Integer -- | A description of the purpose of the API key. [$sel:description:ApiKey'] :: ApiKey -> Maybe Text -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. [$sel:expires:ApiKey'] :: ApiKey -> Maybe Integer -- | The API key ID. [$sel:id:ApiKey'] :: ApiKey -> Maybe Text -- | 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. newApiKey :: ApiKey -- | 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_deletes :: Lens' ApiKey (Maybe Integer) -- | A description of the purpose of the API key. apiKey_description :: Lens' ApiKey (Maybe Text) -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. apiKey_expires :: Lens' ApiKey (Maybe Integer) -- | The API key ID. apiKey_id :: Lens' ApiKey (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.ApiKey.ApiKey instance GHC.Show.Show Amazonka.AppSync.Types.ApiKey.ApiKey instance GHC.Read.Read Amazonka.AppSync.Types.ApiKey.ApiKey instance GHC.Classes.Eq Amazonka.AppSync.Types.ApiKey.ApiKey instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ApiKey.ApiKey instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ApiKey.ApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ApiKey.ApiKey module Amazonka.AppSync.Types.AssociationStatus newtype AssociationStatus AssociationStatus' :: Text -> AssociationStatus [fromAssociationStatus] :: AssociationStatus -> Text pattern AssociationStatus_FAILED :: AssociationStatus pattern AssociationStatus_PROCESSING :: AssociationStatus pattern AssociationStatus_SUCCESS :: AssociationStatus instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance GHC.Generics.Generic Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance GHC.Classes.Ord Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance GHC.Classes.Eq Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance GHC.Read.Read Amazonka.AppSync.Types.AssociationStatus.AssociationStatus instance GHC.Show.Show Amazonka.AppSync.Types.AssociationStatus.AssociationStatus module Amazonka.AppSync.Types.ApiAssociation -- | Describes an ApiAssociation object. -- -- See: newApiAssociation smart constructor. data ApiAssociation ApiAssociation' :: Maybe Text -> Maybe AssociationStatus -> Maybe Text -> Maybe Text -> ApiAssociation -- | The API ID. [$sel:apiId:ApiAssociation'] :: ApiAssociation -> Maybe Text -- | Identifies the status of an association. -- -- [$sel:associationStatus:ApiAssociation'] :: ApiAssociation -> Maybe AssociationStatus -- | Details about the last deployment status. [$sel:deploymentDetail:ApiAssociation'] :: ApiAssociation -> Maybe Text -- | The domain name. [$sel:domainName:ApiAssociation'] :: ApiAssociation -> Maybe Text -- | 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. -- -- -- -- $sel:deploymentDetail:ApiAssociation', -- apiAssociation_deploymentDetail - Details about the last -- deployment status. -- -- $sel:domainName:ApiAssociation', -- apiAssociation_domainName - The domain name. newApiAssociation :: ApiAssociation -- | The API ID. apiAssociation_apiId :: Lens' ApiAssociation (Maybe Text) -- | Identifies the status of an association. -- -- apiAssociation_associationStatus :: Lens' ApiAssociation (Maybe AssociationStatus) -- | Details about the last deployment status. apiAssociation_deploymentDetail :: Lens' ApiAssociation (Maybe Text) -- | The domain name. apiAssociation_domainName :: Lens' ApiAssociation (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.ApiAssociation.ApiAssociation instance GHC.Show.Show Amazonka.AppSync.Types.ApiAssociation.ApiAssociation instance GHC.Read.Read Amazonka.AppSync.Types.ApiAssociation.ApiAssociation instance GHC.Classes.Eq Amazonka.AppSync.Types.ApiAssociation.ApiAssociation instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ApiAssociation.ApiAssociation instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ApiAssociation.ApiAssociation instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ApiAssociation.ApiAssociation module Amazonka.AppSync.Types.AuthenticationType newtype AuthenticationType AuthenticationType' :: Text -> AuthenticationType [fromAuthenticationType] :: AuthenticationType -> Text pattern AuthenticationType_AMAZON_COGNITO_USER_POOLS :: AuthenticationType pattern AuthenticationType_API_KEY :: AuthenticationType pattern AuthenticationType_AWS_IAM :: AuthenticationType pattern AuthenticationType_AWS_LAMBDA :: AuthenticationType pattern AuthenticationType_OPENID_CONNECT :: AuthenticationType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance GHC.Generics.Generic Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance GHC.Classes.Ord Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance GHC.Classes.Eq Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance GHC.Read.Read Amazonka.AppSync.Types.AuthenticationType.AuthenticationType instance GHC.Show.Show Amazonka.AppSync.Types.AuthenticationType.AuthenticationType module Amazonka.AppSync.Types.AuthorizationType newtype AuthorizationType AuthorizationType' :: Text -> AuthorizationType [fromAuthorizationType] :: AuthorizationType -> Text pattern AuthorizationType_AWS_IAM :: AuthorizationType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance GHC.Generics.Generic Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance GHC.Classes.Ord Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance GHC.Classes.Eq Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance GHC.Read.Read Amazonka.AppSync.Types.AuthorizationType.AuthorizationType instance GHC.Show.Show Amazonka.AppSync.Types.AuthorizationType.AuthorizationType module Amazonka.AppSync.Types.AwsIamConfig -- | The Identity and Access Management (IAM) configuration. -- -- See: newAwsIamConfig smart constructor. data AwsIamConfig AwsIamConfig' :: Maybe Text -> Maybe Text -> AwsIamConfig -- | The signing Amazon Web Services Region for IAM authorization. [$sel:signingRegion:AwsIamConfig'] :: AwsIamConfig -> Maybe Text -- | The signing service name for IAM authorization. [$sel:signingServiceName:AwsIamConfig'] :: AwsIamConfig -> Maybe Text -- | 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. newAwsIamConfig :: AwsIamConfig -- | The signing Amazon Web Services Region for IAM authorization. awsIamConfig_signingRegion :: Lens' AwsIamConfig (Maybe Text) -- | The signing service name for IAM authorization. awsIamConfig_signingServiceName :: Lens' AwsIamConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance GHC.Show.Show Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance GHC.Read.Read Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AwsIamConfig.AwsIamConfig module Amazonka.AppSync.Types.AuthorizationConfig -- | The authorization configuration in case the HTTP endpoint requires -- authorization. -- -- See: newAuthorizationConfig smart constructor. data AuthorizationConfig AuthorizationConfig' :: Maybe AwsIamConfig -> AuthorizationType -> AuthorizationConfig -- | The Identity and Access Management (IAM) settings. [$sel:awsIamConfig:AuthorizationConfig'] :: AuthorizationConfig -> Maybe AwsIamConfig -- | The authorization type that the HTTP endpoint requires. -- -- [$sel:authorizationType:AuthorizationConfig'] :: AuthorizationConfig -> AuthorizationType -- | 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. -- -- newAuthorizationConfig :: AuthorizationType -> AuthorizationConfig -- | The Identity and Access Management (IAM) settings. authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig) -- | The authorization type that the HTTP endpoint requires. -- -- authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType instance GHC.Generics.Generic Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance GHC.Show.Show Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance GHC.Read.Read Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AuthorizationConfig.AuthorizationConfig module Amazonka.AppSync.Types.CachingConfig -- | The caching configuration for a resolver that has caching activated. -- -- See: newCachingConfig smart constructor. data CachingConfig CachingConfig' :: Maybe [Text] -> Integer -> CachingConfig -- | 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:cachingKeys:CachingConfig'] :: CachingConfig -> Maybe [Text] -- | The TTL in seconds for a resolver that has caching activated. -- -- Valid values are 1–3,600 seconds. [$sel:ttl:CachingConfig'] :: CachingConfig -> Integer -- | 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. newCachingConfig :: Integer -> CachingConfig -- | 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_cachingKeys :: Lens' CachingConfig (Maybe [Text]) -- | The TTL in seconds for a resolver that has caching activated. -- -- Valid values are 1–3,600 seconds. cachingConfig_ttl :: Lens' CachingConfig Integer instance GHC.Generics.Generic Amazonka.AppSync.Types.CachingConfig.CachingConfig instance GHC.Show.Show Amazonka.AppSync.Types.CachingConfig.CachingConfig instance GHC.Read.Read Amazonka.AppSync.Types.CachingConfig.CachingConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.CachingConfig.CachingConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.CachingConfig.CachingConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.CachingConfig.CachingConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.CachingConfig.CachingConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.CachingConfig.CachingConfig module Amazonka.AppSync.Types.CodeErrorLocation -- | Describes the location of the error in a code sample. -- -- See: newCodeErrorLocation smart constructor. data CodeErrorLocation CodeErrorLocation' :: Maybe Int -> Maybe Int -> Maybe Int -> CodeErrorLocation -- | The column number in the code. Defaults to 0 if unknown. [$sel:column:CodeErrorLocation'] :: CodeErrorLocation -> Maybe Int -- | The line number in the code. Defaults to 0 if unknown. [$sel:line:CodeErrorLocation'] :: CodeErrorLocation -> Maybe Int -- | The span/length of the error. Defaults to -1 if unknown. [$sel:span:CodeErrorLocation'] :: CodeErrorLocation -> Maybe Int -- | 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. newCodeErrorLocation :: CodeErrorLocation -- | The column number in the code. Defaults to 0 if unknown. codeErrorLocation_column :: Lens' CodeErrorLocation (Maybe Int) -- | The line number in the code. Defaults to 0 if unknown. codeErrorLocation_line :: Lens' CodeErrorLocation (Maybe Int) -- | The span/length of the error. Defaults to -1 if unknown. codeErrorLocation_span :: Lens' CodeErrorLocation (Maybe Int) instance GHC.Generics.Generic Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation instance GHC.Show.Show Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation instance GHC.Read.Read Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation instance GHC.Classes.Eq Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation instance Control.DeepSeq.NFData Amazonka.AppSync.Types.CodeErrorLocation.CodeErrorLocation module Amazonka.AppSync.Types.CodeError -- | Describes an AppSync error. -- -- See: newCodeError smart constructor. data CodeError CodeError' :: Maybe Text -> Maybe CodeErrorLocation -> Maybe Text -> CodeError -- | The type of code error. -- -- Examples include, but aren't limited to: LINT_ERROR, -- PARSER_ERROR. [$sel:errorType:CodeError'] :: CodeError -> Maybe Text -- | The line, column, and span location of the error in the code. [$sel:location:CodeError'] :: CodeError -> Maybe CodeErrorLocation -- | A user presentable error. -- -- Examples include, but aren't limited to: Parsing error: -- Unterminated string literal. [$sel:value:CodeError'] :: CodeError -> Maybe Text -- | 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. newCodeError :: CodeError -- | The type of code error. -- -- Examples include, but aren't limited to: LINT_ERROR, -- PARSER_ERROR. codeError_errorType :: Lens' CodeError (Maybe Text) -- | The line, column, and span location of the error in the code. codeError_location :: Lens' CodeError (Maybe CodeErrorLocation) -- | A user presentable error. -- -- Examples include, but aren't limited to: Parsing error: -- Unterminated string literal. codeError_value :: Lens' CodeError (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.CodeError.CodeError instance GHC.Show.Show Amazonka.AppSync.Types.CodeError.CodeError instance GHC.Read.Read Amazonka.AppSync.Types.CodeError.CodeError instance GHC.Classes.Eq Amazonka.AppSync.Types.CodeError.CodeError instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.CodeError.CodeError instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.CodeError.CodeError instance Control.DeepSeq.NFData Amazonka.AppSync.Types.CodeError.CodeError module Amazonka.AppSync.Types.CognitoUserPoolConfig -- | Describes an Amazon Cognito user pool configuration. -- -- See: newCognitoUserPoolConfig smart constructor. data CognitoUserPoolConfig CognitoUserPoolConfig' :: Maybe Text -> Text -> Text -> CognitoUserPoolConfig -- | 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:appIdClientRegex:CognitoUserPoolConfig'] :: CognitoUserPoolConfig -> Maybe Text -- | The user pool ID. [$sel:userPoolId:CognitoUserPoolConfig'] :: CognitoUserPoolConfig -> Text -- | The Amazon Web Services Region in which the user pool was created. [$sel:awsRegion:CognitoUserPoolConfig'] :: CognitoUserPoolConfig -> Text -- | 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. newCognitoUserPoolConfig :: Text -> Text -> CognitoUserPoolConfig -- | 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_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text) -- | The user pool ID. cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text -- | The Amazon Web Services Region in which the user pool was created. cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance GHC.Show.Show Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance GHC.Read.Read Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.CognitoUserPoolConfig.CognitoUserPoolConfig module Amazonka.AppSync.Types.ConflictDetectionType newtype ConflictDetectionType ConflictDetectionType' :: Text -> ConflictDetectionType [fromConflictDetectionType] :: ConflictDetectionType -> Text pattern ConflictDetectionType_NONE :: ConflictDetectionType pattern ConflictDetectionType_VERSION :: ConflictDetectionType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance GHC.Generics.Generic Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance GHC.Classes.Ord Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance GHC.Classes.Eq Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance GHC.Read.Read Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType instance GHC.Show.Show Amazonka.AppSync.Types.ConflictDetectionType.ConflictDetectionType module Amazonka.AppSync.Types.ConflictHandlerType newtype ConflictHandlerType ConflictHandlerType' :: Text -> ConflictHandlerType [fromConflictHandlerType] :: ConflictHandlerType -> Text pattern ConflictHandlerType_AUTOMERGE :: ConflictHandlerType pattern ConflictHandlerType_LAMBDA :: ConflictHandlerType pattern ConflictHandlerType_NONE :: ConflictHandlerType pattern ConflictHandlerType_OPTIMISTIC_CONCURRENCY :: ConflictHandlerType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance GHC.Generics.Generic Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance GHC.Classes.Ord Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance GHC.Classes.Eq Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance GHC.Read.Read Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType instance GHC.Show.Show Amazonka.AppSync.Types.ConflictHandlerType.ConflictHandlerType module Amazonka.AppSync.Types.DataSourceType newtype DataSourceType DataSourceType' :: Text -> DataSourceType [fromDataSourceType] :: DataSourceType -> Text pattern DataSourceType_AMAZON_DYNAMODB :: DataSourceType pattern DataSourceType_AMAZON_ELASTICSEARCH :: DataSourceType pattern DataSourceType_AMAZON_OPENSEARCH_SERVICE :: DataSourceType pattern DataSourceType_AWS_LAMBDA :: DataSourceType pattern DataSourceType_HTTP :: DataSourceType pattern DataSourceType_NONE :: DataSourceType pattern DataSourceType_RELATIONAL_DATABASE :: DataSourceType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.DataSourceType.DataSourceType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.DataSourceType.DataSourceType instance GHC.Generics.Generic Amazonka.AppSync.Types.DataSourceType.DataSourceType instance GHC.Classes.Ord Amazonka.AppSync.Types.DataSourceType.DataSourceType instance GHC.Classes.Eq Amazonka.AppSync.Types.DataSourceType.DataSourceType instance GHC.Read.Read Amazonka.AppSync.Types.DataSourceType.DataSourceType instance GHC.Show.Show Amazonka.AppSync.Types.DataSourceType.DataSourceType module Amazonka.AppSync.Types.DefaultAction newtype DefaultAction DefaultAction' :: Text -> DefaultAction [fromDefaultAction] :: DefaultAction -> Text pattern DefaultAction_ALLOW :: DefaultAction pattern DefaultAction_DENY :: DefaultAction instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Control.DeepSeq.NFData Amazonka.AppSync.Types.DefaultAction.DefaultAction instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.DefaultAction.DefaultAction instance GHC.Generics.Generic Amazonka.AppSync.Types.DefaultAction.DefaultAction instance GHC.Classes.Ord Amazonka.AppSync.Types.DefaultAction.DefaultAction instance GHC.Classes.Eq Amazonka.AppSync.Types.DefaultAction.DefaultAction instance GHC.Read.Read Amazonka.AppSync.Types.DefaultAction.DefaultAction instance GHC.Show.Show Amazonka.AppSync.Types.DefaultAction.DefaultAction module Amazonka.AppSync.Types.DeltaSyncConfig -- | Describes a Delta Sync configuration. -- -- See: newDeltaSyncConfig smart constructor. data DeltaSyncConfig DeltaSyncConfig' :: Maybe Integer -> Maybe Text -> Maybe Integer -> DeltaSyncConfig -- | The number of minutes that an Item is stored in the data source. [$sel:baseTableTTL:DeltaSyncConfig'] :: DeltaSyncConfig -> Maybe Integer -- | The Delta Sync table name. [$sel:deltaSyncTableName:DeltaSyncConfig'] :: DeltaSyncConfig -> Maybe Text -- | The number of minutes that a Delta Sync log entry is stored in the -- Delta Sync table. [$sel:deltaSyncTableTTL:DeltaSyncConfig'] :: DeltaSyncConfig -> Maybe Integer -- | 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. newDeltaSyncConfig :: DeltaSyncConfig -- | The number of minutes that an Item is stored in the data source. deltaSyncConfig_baseTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) -- | The Delta Sync table name. deltaSyncConfig_deltaSyncTableName :: Lens' DeltaSyncConfig (Maybe Text) -- | The number of minutes that a Delta Sync log entry is stored in the -- Delta Sync table. deltaSyncConfig_deltaSyncTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) instance GHC.Generics.Generic Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance GHC.Show.Show Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance GHC.Read.Read Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.DeltaSyncConfig.DeltaSyncConfig module Amazonka.AppSync.Types.DomainNameConfig -- | Describes a configuration for a custom domain. -- -- See: newDomainNameConfig smart constructor. data DomainNameConfig DomainNameConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DomainNameConfig -- | The domain name that AppSync provides. [$sel:appsyncDomainName:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | 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:certificateArn:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | A description of the DomainName configuration. [$sel:description:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | The domain name. [$sel:domainName:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | The ID of your Amazon Route 53 hosted zone. [$sel:hostedZoneId:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | 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. newDomainNameConfig :: DomainNameConfig -- | The domain name that AppSync provides. domainNameConfig_appsyncDomainName :: Lens' DomainNameConfig (Maybe Text) -- | 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_certificateArn :: Lens' DomainNameConfig (Maybe Text) -- | A description of the DomainName configuration. domainNameConfig_description :: Lens' DomainNameConfig (Maybe Text) -- | The domain name. domainNameConfig_domainName :: Lens' DomainNameConfig (Maybe Text) -- | The ID of your Amazon Route 53 hosted zone. domainNameConfig_hostedZoneId :: Lens' DomainNameConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig instance GHC.Show.Show Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig instance GHC.Read.Read Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.DomainNameConfig.DomainNameConfig module Amazonka.AppSync.Types.DynamodbDataSourceConfig -- | Describes an Amazon DynamoDB data source configuration. -- -- See: newDynamodbDataSourceConfig smart constructor. data DynamodbDataSourceConfig DynamodbDataSourceConfig' :: Maybe DeltaSyncConfig -> Maybe Bool -> Maybe Bool -> Text -> Text -> DynamodbDataSourceConfig -- | The DeltaSyncConfig for a versioned data source. [$sel:deltaSyncConfig:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Maybe DeltaSyncConfig -- | Set to TRUE to use Amazon Cognito credentials with this data source. [$sel:useCallerCredentials:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Maybe Bool -- | Set to TRUE to use Conflict Detection and Resolution with this data -- source. [$sel:versioned:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Maybe Bool -- | The table name. [$sel:tableName:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Text -- | The Amazon Web Services Region. [$sel:awsRegion:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Text -- | 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. newDynamodbDataSourceConfig :: Text -> Text -> DynamodbDataSourceConfig -- | The DeltaSyncConfig for a versioned data source. dynamodbDataSourceConfig_deltaSyncConfig :: Lens' DynamodbDataSourceConfig (Maybe DeltaSyncConfig) -- | Set to TRUE to use Amazon Cognito credentials with this data source. dynamodbDataSourceConfig_useCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | Set to TRUE to use Conflict Detection and Resolution with this data -- source. dynamodbDataSourceConfig_versioned :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | The table name. dynamodbDataSourceConfig_tableName :: Lens' DynamodbDataSourceConfig Text -- | The Amazon Web Services Region. dynamodbDataSourceConfig_awsRegion :: Lens' DynamodbDataSourceConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance GHC.Show.Show Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance GHC.Read.Read Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.DynamodbDataSourceConfig.DynamodbDataSourceConfig module Amazonka.AppSync.Types.ElasticsearchDataSourceConfig -- | 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. data ElasticsearchDataSourceConfig ElasticsearchDataSourceConfig' :: Text -> Text -> ElasticsearchDataSourceConfig -- | The endpoint. [$sel:endpoint:ElasticsearchDataSourceConfig'] :: ElasticsearchDataSourceConfig -> Text -- | The Amazon Web Services Region. [$sel:awsRegion:ElasticsearchDataSourceConfig'] :: ElasticsearchDataSourceConfig -> Text -- | 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. newElasticsearchDataSourceConfig :: Text -> Text -> ElasticsearchDataSourceConfig -- | The endpoint. elasticsearchDataSourceConfig_endpoint :: Lens' ElasticsearchDataSourceConfig Text -- | The Amazon Web Services Region. elasticsearchDataSourceConfig_awsRegion :: Lens' ElasticsearchDataSourceConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance GHC.Show.Show Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance GHC.Read.Read Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ElasticsearchDataSourceConfig.ElasticsearchDataSourceConfig module Amazonka.AppSync.Types.ErrorDetail -- | Contains the list of errors generated. When using JavaScript, this -- will apply to the request or response function evaluation. -- -- See: newErrorDetail smart constructor. data ErrorDetail ErrorDetail' :: Maybe Text -> ErrorDetail -- | The error payload. [$sel:message:ErrorDetail'] :: ErrorDetail -> Maybe Text -- | 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. newErrorDetail :: ErrorDetail -- | The error payload. errorDetail_message :: Lens' ErrorDetail (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.ErrorDetail.ErrorDetail instance GHC.Show.Show Amazonka.AppSync.Types.ErrorDetail.ErrorDetail instance GHC.Read.Read Amazonka.AppSync.Types.ErrorDetail.ErrorDetail instance GHC.Classes.Eq Amazonka.AppSync.Types.ErrorDetail.ErrorDetail instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ErrorDetail.ErrorDetail instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ErrorDetail.ErrorDetail instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ErrorDetail.ErrorDetail module Amazonka.AppSync.Types.EvaluateCodeErrorDetail -- | Contains the list of errors from a code evaluation response. -- -- See: newEvaluateCodeErrorDetail smart constructor. data EvaluateCodeErrorDetail EvaluateCodeErrorDetail' :: Maybe [CodeError] -> Maybe Text -> EvaluateCodeErrorDetail -- | Contains the list of CodeError objects. [$sel:codeErrors:EvaluateCodeErrorDetail'] :: EvaluateCodeErrorDetail -> Maybe [CodeError] -- | The error payload. [$sel:message:EvaluateCodeErrorDetail'] :: EvaluateCodeErrorDetail -> Maybe Text -- | 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. newEvaluateCodeErrorDetail :: EvaluateCodeErrorDetail -- | Contains the list of CodeError objects. evaluateCodeErrorDetail_codeErrors :: Lens' EvaluateCodeErrorDetail (Maybe [CodeError]) -- | The error payload. evaluateCodeErrorDetail_message :: Lens' EvaluateCodeErrorDetail (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail instance GHC.Show.Show Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail instance GHC.Read.Read Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail instance GHC.Classes.Eq Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail instance Control.DeepSeq.NFData Amazonka.AppSync.Types.EvaluateCodeErrorDetail.EvaluateCodeErrorDetail module Amazonka.AppSync.Types.FieldLogLevel newtype FieldLogLevel FieldLogLevel' :: Text -> FieldLogLevel [fromFieldLogLevel] :: FieldLogLevel -> Text pattern FieldLogLevel_ALL :: FieldLogLevel pattern FieldLogLevel_ERROR :: FieldLogLevel pattern FieldLogLevel_NONE :: FieldLogLevel instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Control.DeepSeq.NFData Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance GHC.Generics.Generic Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance GHC.Classes.Ord Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance GHC.Classes.Eq Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance GHC.Read.Read Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel instance GHC.Show.Show Amazonka.AppSync.Types.FieldLogLevel.FieldLogLevel module Amazonka.AppSync.Types.HttpDataSourceConfig -- | Describes an HTTP data source configuration. -- -- See: newHttpDataSourceConfig smart constructor. data HttpDataSourceConfig HttpDataSourceConfig' :: Maybe AuthorizationConfig -> Maybe Text -> HttpDataSourceConfig -- | The authorization configuration in case the HTTP endpoint requires -- authorization. [$sel:authorizationConfig:HttpDataSourceConfig'] :: HttpDataSourceConfig -> Maybe AuthorizationConfig -- | 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. [$sel:endpoint:HttpDataSourceConfig'] :: HttpDataSourceConfig -> Maybe Text -- | 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. newHttpDataSourceConfig :: HttpDataSourceConfig -- | The authorization configuration in case the HTTP endpoint requires -- authorization. httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig) -- | 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_endpoint :: Lens' HttpDataSourceConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance GHC.Show.Show Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance GHC.Read.Read Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.HttpDataSourceConfig.HttpDataSourceConfig module Amazonka.AppSync.Types.LambdaAuthorizerConfig -- | 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. data LambdaAuthorizerConfig LambdaAuthorizerConfig' :: Maybe Natural -> Maybe Text -> Text -> LambdaAuthorizerConfig -- | 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:authorizerResultTtlInSeconds:LambdaAuthorizerConfig'] :: LambdaAuthorizerConfig -> Maybe Natural -- | A regular expression for validation of tokens before the Lambda -- function is called. [$sel:identityValidationExpression:LambdaAuthorizerConfig'] :: LambdaAuthorizerConfig -> Maybe 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
--   
[$sel:authorizerUri:LambdaAuthorizerConfig'] :: LambdaAuthorizerConfig -> Text -- | 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
--   
newLambdaAuthorizerConfig :: Text -> LambdaAuthorizerConfig -- | 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_authorizerResultTtlInSeconds :: Lens' LambdaAuthorizerConfig (Maybe Natural) -- | A regular expression for validation of tokens before the Lambda -- function is called. lambdaAuthorizerConfig_identityValidationExpression :: Lens' LambdaAuthorizerConfig (Maybe 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
--   
lambdaAuthorizerConfig_authorizerUri :: Lens' LambdaAuthorizerConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance GHC.Show.Show Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance GHC.Read.Read Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.LambdaAuthorizerConfig.LambdaAuthorizerConfig module Amazonka.AppSync.Types.LambdaConflictHandlerConfig -- | The LambdaConflictHandlerConfig object when configuring -- LAMBDA as the Conflict Handler. -- -- See: newLambdaConflictHandlerConfig smart constructor. data LambdaConflictHandlerConfig LambdaConflictHandlerConfig' :: Maybe Text -> LambdaConflictHandlerConfig -- | The Amazon Resource Name (ARN) for the Lambda function to use as the -- Conflict Handler. [$sel:lambdaConflictHandlerArn:LambdaConflictHandlerConfig'] :: LambdaConflictHandlerConfig -> Maybe Text -- | 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. newLambdaConflictHandlerConfig :: LambdaConflictHandlerConfig -- | The Amazon Resource Name (ARN) for the Lambda function to use as the -- Conflict Handler. lambdaConflictHandlerConfig_lambdaConflictHandlerArn :: Lens' LambdaConflictHandlerConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance GHC.Show.Show Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance GHC.Read.Read Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.LambdaConflictHandlerConfig.LambdaConflictHandlerConfig module Amazonka.AppSync.Types.LambdaDataSourceConfig -- | Describes an Lambda data source configuration. -- -- See: newLambdaDataSourceConfig smart constructor. data LambdaDataSourceConfig LambdaDataSourceConfig' :: Text -> LambdaDataSourceConfig -- | The Amazon Resource Name (ARN) for the Lambda function. [$sel:lambdaFunctionArn:LambdaDataSourceConfig'] :: LambdaDataSourceConfig -> Text -- | 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. newLambdaDataSourceConfig :: Text -> LambdaDataSourceConfig -- | The Amazon Resource Name (ARN) for the Lambda function. lambdaDataSourceConfig_lambdaFunctionArn :: Lens' LambdaDataSourceConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance GHC.Show.Show Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance GHC.Read.Read Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.LambdaDataSourceConfig.LambdaDataSourceConfig module Amazonka.AppSync.Types.LogConfig -- | The Amazon CloudWatch Logs configuration. -- -- See: newLogConfig smart constructor. data LogConfig LogConfig' :: Maybe Bool -> FieldLogLevel -> Text -> LogConfig -- | Set to TRUE to exclude sections that contain information such as -- headers, context, and evaluated mapping templates, regardless of -- logging level. [$sel:excludeVerboseContent:LogConfig'] :: LogConfig -> Maybe Bool -- | The field logging level. Values can be NONE, ERROR, or ALL. -- -- [$sel:fieldLogLevel:LogConfig'] :: LogConfig -> FieldLogLevel -- | The service role that AppSync assumes to publish to CloudWatch logs in -- your account. [$sel:cloudWatchLogsRoleArn:LogConfig'] :: LogConfig -> Text -- | 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. -- -- -- -- $sel:cloudWatchLogsRoleArn:LogConfig', -- logConfig_cloudWatchLogsRoleArn - The service role that AppSync -- assumes to publish to CloudWatch logs in your account. newLogConfig :: FieldLogLevel -> Text -> LogConfig -- | Set to TRUE to exclude sections that contain information such as -- headers, context, and evaluated mapping templates, regardless of -- logging level. logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool) -- | The field logging level. Values can be NONE, ERROR, or ALL. -- -- logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel -- | The service role that AppSync assumes to publish to CloudWatch logs in -- your account. logConfig_cloudWatchLogsRoleArn :: Lens' LogConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.LogConfig.LogConfig instance GHC.Show.Show Amazonka.AppSync.Types.LogConfig.LogConfig instance GHC.Read.Read Amazonka.AppSync.Types.LogConfig.LogConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.LogConfig.LogConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.LogConfig.LogConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.LogConfig.LogConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.LogConfig.LogConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.LogConfig.LogConfig module Amazonka.AppSync.Types.OpenIDConnectConfig -- | Describes an OpenID Connect (OIDC) configuration. -- -- See: newOpenIDConnectConfig smart constructor. data OpenIDConnectConfig OpenIDConnectConfig' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Text -> OpenIDConnectConfig -- | The number of milliseconds that a token is valid after being -- authenticated. [$sel:authTTL:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Maybe Integer -- | 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:clientId:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Maybe Text -- | The number of milliseconds that a token is valid after it's issued to -- a user. [$sel:iatTTL:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Maybe Integer -- | The issuer for the OIDC configuration. The issuer returned by -- discovery must exactly match the value of iss in the ID -- token. [$sel:issuer:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Text -- | 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. newOpenIDConnectConfig :: Text -> OpenIDConnectConfig -- | The number of milliseconds that a token is valid after being -- authenticated. openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer) -- | 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_clientId :: Lens' OpenIDConnectConfig (Maybe Text) -- | The number of milliseconds that a token is valid after it's issued to -- a user. openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer) -- | The issuer for the OIDC configuration. The issuer returned by -- discovery must exactly match the value of iss in the ID -- token. openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance GHC.Show.Show Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance GHC.Read.Read Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.OpenIDConnectConfig.OpenIDConnectConfig module Amazonka.AppSync.Types.AdditionalAuthenticationProvider -- | Describes an additional authentication provider. -- -- See: newAdditionalAuthenticationProvider smart -- constructor. data AdditionalAuthenticationProvider AdditionalAuthenticationProvider' :: Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe OpenIDConnectConfig -> Maybe CognitoUserPoolConfig -> AdditionalAuthenticationProvider -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. [$sel:authenticationType:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe AuthenticationType -- | Configuration for Lambda function authorization. [$sel:lambdaAuthorizerConfig:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe LambdaAuthorizerConfig -- | The OIDC configuration. [$sel:openIDConnectConfig:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe OpenIDConnectConfig -- | The Amazon Cognito user pool configuration. [$sel:userPoolConfig:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe CognitoUserPoolConfig -- | 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. newAdditionalAuthenticationProvider :: AdditionalAuthenticationProvider -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. additionalAuthenticationProvider_authenticationType :: Lens' AdditionalAuthenticationProvider (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. additionalAuthenticationProvider_lambdaAuthorizerConfig :: Lens' AdditionalAuthenticationProvider (Maybe LambdaAuthorizerConfig) -- | The OIDC configuration. additionalAuthenticationProvider_openIDConnectConfig :: Lens' AdditionalAuthenticationProvider (Maybe OpenIDConnectConfig) -- | The Amazon Cognito user pool configuration. additionalAuthenticationProvider_userPoolConfig :: Lens' AdditionalAuthenticationProvider (Maybe CognitoUserPoolConfig) instance GHC.Generics.Generic Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance GHC.Show.Show Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance GHC.Read.Read Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance GHC.Classes.Eq Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AdditionalAuthenticationProvider.AdditionalAuthenticationProvider module Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig -- | Describes an OpenSearch data source configuration. -- -- See: newOpenSearchServiceDataSourceConfig smart -- constructor. data OpenSearchServiceDataSourceConfig OpenSearchServiceDataSourceConfig' :: Text -> Text -> OpenSearchServiceDataSourceConfig -- | The endpoint. [$sel:endpoint:OpenSearchServiceDataSourceConfig'] :: OpenSearchServiceDataSourceConfig -> Text -- | The Amazon Web Services Region. [$sel:awsRegion:OpenSearchServiceDataSourceConfig'] :: OpenSearchServiceDataSourceConfig -> Text -- | 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. newOpenSearchServiceDataSourceConfig :: Text -> Text -> OpenSearchServiceDataSourceConfig -- | The endpoint. openSearchServiceDataSourceConfig_endpoint :: Lens' OpenSearchServiceDataSourceConfig Text -- | The Amazon Web Services Region. openSearchServiceDataSourceConfig_awsRegion :: Lens' OpenSearchServiceDataSourceConfig Text instance GHC.Generics.Generic Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance GHC.Show.Show Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance GHC.Read.Read Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.OpenSearchServiceDataSourceConfig.OpenSearchServiceDataSourceConfig module Amazonka.AppSync.Types.OutputType newtype OutputType OutputType' :: Text -> OutputType [fromOutputType] :: OutputType -> Text pattern OutputType_JSON :: OutputType pattern OutputType_SDL :: OutputType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.OutputType.OutputType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.OutputType.OutputType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.OutputType.OutputType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.OutputType.OutputType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.OutputType.OutputType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.OutputType.OutputType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.OutputType.OutputType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.OutputType.OutputType instance GHC.Generics.Generic Amazonka.AppSync.Types.OutputType.OutputType instance GHC.Classes.Ord Amazonka.AppSync.Types.OutputType.OutputType instance GHC.Classes.Eq Amazonka.AppSync.Types.OutputType.OutputType instance GHC.Read.Read Amazonka.AppSync.Types.OutputType.OutputType instance GHC.Show.Show Amazonka.AppSync.Types.OutputType.OutputType module Amazonka.AppSync.Types.PipelineConfig -- | The pipeline configuration for a resolver of kind PIPELINE. -- -- See: newPipelineConfig smart constructor. data PipelineConfig PipelineConfig' :: Maybe [Text] -> PipelineConfig -- | A list of Function objects. [$sel:functions:PipelineConfig'] :: PipelineConfig -> Maybe [Text] -- | 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. newPipelineConfig :: PipelineConfig -- | A list of Function objects. pipelineConfig_functions :: Lens' PipelineConfig (Maybe [Text]) instance GHC.Generics.Generic Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance GHC.Show.Show Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance GHC.Read.Read Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.PipelineConfig.PipelineConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.PipelineConfig.PipelineConfig module Amazonka.AppSync.Types.RdsHttpEndpointConfig -- | The Amazon Relational Database Service (Amazon RDS) HTTP endpoint -- configuration. -- -- See: newRdsHttpEndpointConfig smart constructor. data RdsHttpEndpointConfig RdsHttpEndpointConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RdsHttpEndpointConfig -- | Amazon Web Services Region for Amazon RDS HTTP endpoint. [$sel:awsRegion:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Amazon Web Services secret store Amazon Resource Name (ARN) for -- database credentials. [$sel:awsSecretStoreArn:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Logical database name. [$sel:databaseName:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Amazon RDS cluster Amazon Resource Name (ARN). [$sel:dbClusterIdentifier:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Logical schema name. [$sel:schema:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | 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. newRdsHttpEndpointConfig :: RdsHttpEndpointConfig -- | Amazon Web Services Region for Amazon RDS HTTP endpoint. rdsHttpEndpointConfig_awsRegion :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon Web Services secret store Amazon Resource Name (ARN) for -- database credentials. rdsHttpEndpointConfig_awsSecretStoreArn :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Logical database name. rdsHttpEndpointConfig_databaseName :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon RDS cluster Amazon Resource Name (ARN). rdsHttpEndpointConfig_dbClusterIdentifier :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Logical schema name. rdsHttpEndpointConfig_schema :: Lens' RdsHttpEndpointConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance GHC.Show.Show Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance GHC.Read.Read Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.RdsHttpEndpointConfig.RdsHttpEndpointConfig module Amazonka.AppSync.Types.RelationalDatabaseSourceType newtype RelationalDatabaseSourceType RelationalDatabaseSourceType' :: Text -> RelationalDatabaseSourceType [fromRelationalDatabaseSourceType] :: RelationalDatabaseSourceType -> Text pattern RelationalDatabaseSourceType_RDS_HTTP_ENDPOINT :: RelationalDatabaseSourceType instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Control.DeepSeq.NFData Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance GHC.Generics.Generic Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance GHC.Classes.Ord Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance GHC.Classes.Eq Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance GHC.Read.Read Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType instance GHC.Show.Show Amazonka.AppSync.Types.RelationalDatabaseSourceType.RelationalDatabaseSourceType module Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig -- | Describes a relational database data source configuration. -- -- See: newRelationalDatabaseDataSourceConfig smart -- constructor. data RelationalDatabaseDataSourceConfig RelationalDatabaseDataSourceConfig' :: Maybe RdsHttpEndpointConfig -> Maybe RelationalDatabaseSourceType -> RelationalDatabaseDataSourceConfig -- | Amazon RDS HTTP endpoint settings. [$sel:rdsHttpEndpointConfig:RelationalDatabaseDataSourceConfig'] :: RelationalDatabaseDataSourceConfig -> Maybe RdsHttpEndpointConfig -- | Source type for the relational database. -- -- [$sel:relationalDatabaseSourceType:RelationalDatabaseDataSourceConfig'] :: RelationalDatabaseDataSourceConfig -> Maybe RelationalDatabaseSourceType -- | 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. -- -- newRelationalDatabaseDataSourceConfig :: RelationalDatabaseDataSourceConfig -- | Amazon RDS HTTP endpoint settings. relationalDatabaseDataSourceConfig_rdsHttpEndpointConfig :: Lens' RelationalDatabaseDataSourceConfig (Maybe RdsHttpEndpointConfig) -- | Source type for the relational database. -- -- relationalDatabaseDataSourceConfig_relationalDatabaseSourceType :: Lens' RelationalDatabaseDataSourceConfig (Maybe RelationalDatabaseSourceType) instance GHC.Generics.Generic Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance GHC.Show.Show Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance GHC.Read.Read Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.RelationalDatabaseDataSourceConfig.RelationalDatabaseDataSourceConfig module Amazonka.AppSync.Types.DataSource -- | Describes a data source. -- -- See: newDataSource smart constructor. data DataSource DataSource' :: Maybe Text -> Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe Text -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Maybe DataSourceType -> DataSource -- | The data source Amazon Resource Name (ARN). [$sel:dataSourceArn:DataSource'] :: DataSource -> Maybe Text -- | The description of the data source. [$sel:description:DataSource'] :: DataSource -> Maybe Text -- | DynamoDB settings. [$sel:dynamodbConfig:DataSource'] :: DataSource -> Maybe DynamodbDataSourceConfig -- | Amazon OpenSearch Service settings. [$sel:elasticsearchConfig:DataSource'] :: DataSource -> Maybe ElasticsearchDataSourceConfig -- | HTTP endpoint settings. [$sel:httpConfig:DataSource'] :: DataSource -> Maybe HttpDataSourceConfig -- | Lambda settings. [$sel:lambdaConfig:DataSource'] :: DataSource -> Maybe LambdaDataSourceConfig -- | The name of the data source. [$sel:name:DataSource'] :: DataSource -> Maybe Text -- | Amazon OpenSearch Service settings. [$sel:openSearchServiceConfig:DataSource'] :: DataSource -> Maybe OpenSearchServiceDataSourceConfig -- | Relational database settings. [$sel:relationalDatabaseConfig:DataSource'] :: DataSource -> Maybe RelationalDatabaseDataSourceConfig -- | 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:serviceRoleArn:DataSource'] :: DataSource -> Maybe Text -- | The type of the data source. -- -- [$sel:type':DataSource'] :: DataSource -> Maybe DataSourceType -- | 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. -- -- newDataSource :: DataSource -- | The data source Amazon Resource Name (ARN). dataSource_dataSourceArn :: Lens' DataSource (Maybe Text) -- | The description of the data source. dataSource_description :: Lens' DataSource (Maybe Text) -- | DynamoDB settings. dataSource_dynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) -- | Amazon OpenSearch Service settings. dataSource_elasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) -- | HTTP endpoint settings. dataSource_httpConfig :: Lens' DataSource (Maybe HttpDataSourceConfig) -- | Lambda settings. dataSource_lambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) -- | The name of the data source. dataSource_name :: Lens' DataSource (Maybe Text) -- | Amazon OpenSearch Service settings. dataSource_openSearchServiceConfig :: Lens' DataSource (Maybe OpenSearchServiceDataSourceConfig) -- | Relational database settings. dataSource_relationalDatabaseConfig :: Lens' DataSource (Maybe RelationalDatabaseDataSourceConfig) -- | 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_serviceRoleArn :: Lens' DataSource (Maybe Text) -- | The type of the data source. -- -- dataSource_type :: Lens' DataSource (Maybe DataSourceType) instance GHC.Generics.Generic Amazonka.AppSync.Types.DataSource.DataSource instance GHC.Show.Show Amazonka.AppSync.Types.DataSource.DataSource instance GHC.Read.Read Amazonka.AppSync.Types.DataSource.DataSource instance GHC.Classes.Eq Amazonka.AppSync.Types.DataSource.DataSource instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.DataSource.DataSource instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.DataSource.DataSource instance Control.DeepSeq.NFData Amazonka.AppSync.Types.DataSource.DataSource module Amazonka.AppSync.Types.ResolverKind newtype ResolverKind ResolverKind' :: Text -> ResolverKind [fromResolverKind] :: ResolverKind -> Text pattern ResolverKind_PIPELINE :: ResolverKind pattern ResolverKind_UNIT :: ResolverKind instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Control.DeepSeq.NFData Amazonka.AppSync.Types.ResolverKind.ResolverKind instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.ResolverKind.ResolverKind instance GHC.Generics.Generic Amazonka.AppSync.Types.ResolverKind.ResolverKind instance GHC.Classes.Ord Amazonka.AppSync.Types.ResolverKind.ResolverKind instance GHC.Classes.Eq Amazonka.AppSync.Types.ResolverKind.ResolverKind instance GHC.Read.Read Amazonka.AppSync.Types.ResolverKind.ResolverKind instance GHC.Show.Show Amazonka.AppSync.Types.ResolverKind.ResolverKind module Amazonka.AppSync.Types.RuntimeName newtype RuntimeName RuntimeName' :: Text -> RuntimeName [fromRuntimeName] :: RuntimeName -> Text pattern RuntimeName_APPSYNC_JS :: RuntimeName instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Control.DeepSeq.NFData Amazonka.AppSync.Types.RuntimeName.RuntimeName instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.RuntimeName.RuntimeName instance GHC.Generics.Generic Amazonka.AppSync.Types.RuntimeName.RuntimeName instance GHC.Classes.Ord Amazonka.AppSync.Types.RuntimeName.RuntimeName instance GHC.Classes.Eq Amazonka.AppSync.Types.RuntimeName.RuntimeName instance GHC.Read.Read Amazonka.AppSync.Types.RuntimeName.RuntimeName instance GHC.Show.Show Amazonka.AppSync.Types.RuntimeName.RuntimeName module Amazonka.AppSync.Types.AppSyncRuntime -- | 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. data AppSyncRuntime AppSyncRuntime' :: RuntimeName -> Text -> AppSyncRuntime -- | The name of the runtime to use. Currently, the only allowed -- value is APPSYNC_JS. [$sel:name:AppSyncRuntime'] :: AppSyncRuntime -> RuntimeName -- | The version of the runtime to use. Currently, the only -- allowed version is 1.0.0. [$sel:runtimeVersion:AppSyncRuntime'] :: AppSyncRuntime -> Text -- | 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. newAppSyncRuntime :: RuntimeName -> Text -> AppSyncRuntime -- | The name of the runtime to use. Currently, the only allowed -- value is APPSYNC_JS. appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName -- | The version of the runtime to use. Currently, the only -- allowed version is 1.0.0. appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text instance GHC.Generics.Generic Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance GHC.Show.Show Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance GHC.Read.Read Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance GHC.Classes.Eq Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance Control.DeepSeq.NFData Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.AppSyncRuntime.AppSyncRuntime module Amazonka.AppSync.Types.SchemaStatus newtype SchemaStatus SchemaStatus' :: Text -> SchemaStatus [fromSchemaStatus] :: SchemaStatus -> Text pattern SchemaStatus_ACTIVE :: SchemaStatus pattern SchemaStatus_DELETING :: SchemaStatus pattern SchemaStatus_FAILED :: SchemaStatus pattern SchemaStatus_NOT_APPLICABLE :: SchemaStatus pattern SchemaStatus_PROCESSING :: SchemaStatus pattern SchemaStatus_SUCCESS :: SchemaStatus instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Control.DeepSeq.NFData Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance GHC.Generics.Generic Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance GHC.Classes.Ord Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance GHC.Classes.Eq Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance GHC.Read.Read Amazonka.AppSync.Types.SchemaStatus.SchemaStatus instance GHC.Show.Show Amazonka.AppSync.Types.SchemaStatus.SchemaStatus module Amazonka.AppSync.Types.SyncConfig -- | 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. data SyncConfig SyncConfig' :: Maybe ConflictDetectionType -> Maybe ConflictHandlerType -> Maybe LambdaConflictHandlerConfig -> SyncConfig -- | The Conflict Detection strategy to use. -- -- [$sel:conflictDetection:SyncConfig'] :: SyncConfig -> Maybe ConflictDetectionType -- | The Conflict Resolution strategy to perform in the event of a -- conflict. -- -- [$sel:conflictHandler:SyncConfig'] :: SyncConfig -> Maybe ConflictHandlerType -- | The LambdaConflictHandlerConfig when configuring -- LAMBDA as the Conflict Handler. [$sel:lambdaConflictHandlerConfig:SyncConfig'] :: SyncConfig -> Maybe LambdaConflictHandlerConfig -- | 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. -- -- -- -- $sel:conflictHandler:SyncConfig', -- syncConfig_conflictHandler - The Conflict Resolution strategy -- to perform in the event of a conflict. -- -- -- -- $sel:lambdaConflictHandlerConfig:SyncConfig', -- syncConfig_lambdaConflictHandlerConfig - The -- LambdaConflictHandlerConfig when configuring LAMBDA -- as the Conflict Handler. newSyncConfig :: SyncConfig -- | The Conflict Detection strategy to use. -- -- syncConfig_conflictDetection :: Lens' SyncConfig (Maybe ConflictDetectionType) -- | The Conflict Resolution strategy to perform in the event of a -- conflict. -- -- syncConfig_conflictHandler :: Lens' SyncConfig (Maybe ConflictHandlerType) -- | The LambdaConflictHandlerConfig when configuring -- LAMBDA as the Conflict Handler. syncConfig_lambdaConflictHandlerConfig :: Lens' SyncConfig (Maybe LambdaConflictHandlerConfig) instance GHC.Generics.Generic Amazonka.AppSync.Types.SyncConfig.SyncConfig instance GHC.Show.Show Amazonka.AppSync.Types.SyncConfig.SyncConfig instance GHC.Read.Read Amazonka.AppSync.Types.SyncConfig.SyncConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.SyncConfig.SyncConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.SyncConfig.SyncConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.SyncConfig.SyncConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.SyncConfig.SyncConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.SyncConfig.SyncConfig module Amazonka.AppSync.Types.Resolver -- | Describes a resolver. -- -- See: newResolver smart constructor. data Resolver Resolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Maybe Text -> Resolver -- | The caching configuration for the resolver. [$sel:cachingConfig:Resolver'] :: Resolver -> Maybe CachingConfig -- | 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:code:Resolver'] :: Resolver -> Maybe Text -- | The resolver data source name. [$sel:dataSourceName:Resolver'] :: Resolver -> Maybe Text -- | The resolver field name. [$sel:fieldName:Resolver'] :: Resolver -> Maybe Text -- | The resolver type. -- -- [$sel:kind:Resolver'] :: Resolver -> Maybe ResolverKind -- | The maximum batching size for a resolver. [$sel:maxBatchSize:Resolver'] :: Resolver -> Maybe Natural -- | The PipelineConfig. [$sel:pipelineConfig:Resolver'] :: Resolver -> Maybe PipelineConfig -- | The request mapping template. [$sel:requestMappingTemplate:Resolver'] :: Resolver -> Maybe Text -- | The resolver Amazon Resource Name (ARN). [$sel:resolverArn:Resolver'] :: Resolver -> Maybe Text -- | The response mapping template. [$sel:responseMappingTemplate:Resolver'] :: Resolver -> Maybe Text [$sel:runtime:Resolver'] :: Resolver -> Maybe AppSyncRuntime -- | The SyncConfig for a resolver attached to a versioned data -- source. [$sel:syncConfig:Resolver'] :: Resolver -> Maybe SyncConfig -- | The resolver type name. [$sel:typeName:Resolver'] :: Resolver -> Maybe Text -- | 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. -- -- -- -- $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. newResolver :: Resolver -- | The caching configuration for the resolver. resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig) -- | 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_code :: Lens' Resolver (Maybe Text) -- | The resolver data source name. resolver_dataSourceName :: Lens' Resolver (Maybe Text) -- | The resolver field name. resolver_fieldName :: Lens' Resolver (Maybe Text) -- | The resolver type. -- -- resolver_kind :: Lens' Resolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. resolver_maxBatchSize :: Lens' Resolver (Maybe Natural) -- | The PipelineConfig. resolver_pipelineConfig :: Lens' Resolver (Maybe PipelineConfig) -- | The request mapping template. resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver Amazon Resource Name (ARN). resolver_resolverArn :: Lens' Resolver (Maybe Text) -- | The response mapping template. resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text) -- | Undocumented member. resolver_runtime :: Lens' Resolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig) -- | The resolver type name. resolver_typeName :: Lens' Resolver (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.Resolver.Resolver instance GHC.Show.Show Amazonka.AppSync.Types.Resolver.Resolver instance GHC.Read.Read Amazonka.AppSync.Types.Resolver.Resolver instance GHC.Classes.Eq Amazonka.AppSync.Types.Resolver.Resolver instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.Resolver.Resolver instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.Resolver.Resolver instance Control.DeepSeq.NFData Amazonka.AppSync.Types.Resolver.Resolver module Amazonka.AppSync.Types.FunctionConfiguration -- | A function is a reusable entity. You can use multiple functions to -- compose the resolver logic. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> FunctionConfiguration -- | 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:code:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the DataSource. [$sel:dataSourceName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Function description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Amazon Resource Name (ARN) of the Function object. [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | A unique ID representing the Function object. [$sel:functionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The version of the request mapping template. Currently, only the -- 2018-05-29 version of the template is supported. [$sel:functionVersion:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The maximum batching size for a resolver. [$sel:maxBatchSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The name of the Function object. [$sel:name:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. [$sel:requestMappingTemplate:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Function response mapping template. [$sel:responseMappingTemplate:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe AppSyncRuntime [$sel:syncConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SyncConfig -- | 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. newFunctionConfiguration :: FunctionConfiguration -- | 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_code :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the DataSource. functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text) -- | The Function description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the Function object. functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | A unique ID representing the Function object. functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) -- | The version of the request mapping template. Currently, only the -- 2018-05-29 version of the template is supported. functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text) -- | The maximum batching size for a resolver. functionConfiguration_maxBatchSize :: Lens' FunctionConfiguration (Maybe Natural) -- | The name of the Function object. functionConfiguration_name :: Lens' FunctionConfiguration (Maybe Text) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) -- | The Function response mapping template. functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) -- | Undocumented member. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe AppSyncRuntime) -- | Undocumented member. functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig) instance GHC.Generics.Generic Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration instance GHC.Show.Show Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration instance GHC.Read.Read Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration instance GHC.Classes.Eq Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration instance Control.DeepSeq.NFData Amazonka.AppSync.Types.FunctionConfiguration.FunctionConfiguration module Amazonka.AppSync.Types.TypeDefinitionFormat newtype TypeDefinitionFormat TypeDefinitionFormat' :: Text -> TypeDefinitionFormat [fromTypeDefinitionFormat] :: TypeDefinitionFormat -> Text pattern TypeDefinitionFormat_JSON :: TypeDefinitionFormat pattern TypeDefinitionFormat_SDL :: TypeDefinitionFormat instance Amazonka.Data.XML.ToXML Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.XML.FromXML Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.Headers.ToHeader Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.Log.ToLog Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.ByteString.ToByteString Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.Text.ToText Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Amazonka.Data.Text.FromText Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Control.DeepSeq.NFData Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance GHC.Generics.Generic Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance GHC.Classes.Ord Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance GHC.Classes.Eq Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance GHC.Read.Read Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat instance GHC.Show.Show Amazonka.AppSync.Types.TypeDefinitionFormat.TypeDefinitionFormat module Amazonka.AppSync.Types.Type -- | Describes a type. -- -- See: newType smart constructor. data Type Type' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe TypeDefinitionFormat -> Maybe Text -> Type -- | The type Amazon Resource Name (ARN). [$sel:arn:Type'] :: Type -> Maybe Text -- | The type definition. [$sel:definition:Type'] :: Type -> Maybe Text -- | The type description. [$sel:description:Type'] :: Type -> Maybe Text -- | The type format: SDL or JSON. [$sel:format:Type'] :: Type -> Maybe TypeDefinitionFormat -- | The type name. [$sel:name:Type'] :: Type -> Maybe Text -- | 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. newType :: Type -- | The type Amazon Resource Name (ARN). type_arn :: Lens' Type (Maybe Text) -- | The type definition. type_definition :: Lens' Type (Maybe Text) -- | The type description. type_description :: Lens' Type (Maybe Text) -- | The type format: SDL or JSON. type_format :: Lens' Type (Maybe TypeDefinitionFormat) -- | The type name. type_name :: Lens' Type (Maybe Text) instance GHC.Generics.Generic Amazonka.AppSync.Types.Type.Type instance GHC.Show.Show Amazonka.AppSync.Types.Type.Type instance GHC.Read.Read Amazonka.AppSync.Types.Type.Type instance GHC.Classes.Eq Amazonka.AppSync.Types.Type.Type instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.Type.Type instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.Type.Type instance Control.DeepSeq.NFData Amazonka.AppSync.Types.Type.Type module Amazonka.AppSync.Types.UserPoolConfig -- | Describes an Amazon Cognito user pool configuration. -- -- See: newUserPoolConfig smart constructor. data UserPoolConfig UserPoolConfig' :: Maybe Text -> Text -> Text -> DefaultAction -> UserPoolConfig -- | 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:appIdClientRegex:UserPoolConfig'] :: UserPoolConfig -> Maybe Text -- | The user pool ID. [$sel:userPoolId:UserPoolConfig'] :: UserPoolConfig -> Text -- | The Amazon Web Services Region in which the user pool was created. [$sel:awsRegion:UserPoolConfig'] :: UserPoolConfig -> Text -- | 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. [$sel:defaultAction:UserPoolConfig'] :: UserPoolConfig -> DefaultAction -- | 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. newUserPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig -- | 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_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text) -- | The user pool ID. userPoolConfig_userPoolId :: Lens' UserPoolConfig Text -- | The Amazon Web Services Region in which the user pool was created. userPoolConfig_awsRegion :: Lens' UserPoolConfig Text -- | 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_defaultAction :: Lens' UserPoolConfig DefaultAction instance GHC.Generics.Generic Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance GHC.Show.Show Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance GHC.Read.Read Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance GHC.Classes.Eq Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance Control.DeepSeq.NFData Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.Types.UserPoolConfig.UserPoolConfig module Amazonka.AppSync.Types.GraphqlApi -- | Describes a GraphQL API. -- -- See: newGraphqlApi smart constructor. data GraphqlApi GraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe Text -> Maybe Text -> Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe Text -> Maybe OpenIDConnectConfig -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> Maybe UserPoolConfig -> Maybe Text -> Maybe Bool -> GraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. [$sel:additionalAuthenticationProviders:GraphqlApi'] :: GraphqlApi -> Maybe [AdditionalAuthenticationProvider] -- | The API ID. [$sel:apiId:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | The Amazon Resource Name (ARN). [$sel:arn:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | The authentication type. [$sel:authenticationType:GraphqlApi'] :: GraphqlApi -> Maybe AuthenticationType -- | Configuration for Lambda function authorization. [$sel:lambdaAuthorizerConfig:GraphqlApi'] :: GraphqlApi -> Maybe LambdaAuthorizerConfig -- | The Amazon CloudWatch Logs configuration. [$sel:logConfig:GraphqlApi'] :: GraphqlApi -> Maybe LogConfig -- | The API name. [$sel:name:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | The OpenID Connect configuration. [$sel:openIDConnectConfig:GraphqlApi'] :: GraphqlApi -> Maybe OpenIDConnectConfig -- | The tags. [$sel:tags:GraphqlApi'] :: GraphqlApi -> Maybe (HashMap Text Text) -- | The URIs. [$sel:uris:GraphqlApi'] :: GraphqlApi -> Maybe (HashMap Text Text) -- | The Amazon Cognito user pool configuration. [$sel:userPoolConfig:GraphqlApi'] :: GraphqlApi -> Maybe UserPoolConfig -- | The ARN of the WAF access control list (ACL) associated with this -- GraphqlApi, if one exists. [$sel:wafWebAclArn:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | A flag indicating whether to use X-Ray tracing for this -- GraphqlApi. [$sel:xrayEnabled:GraphqlApi'] :: GraphqlApi -> Maybe Bool -- | 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. newGraphqlApi :: GraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | The API ID. graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text) -- | The Amazon Resource Name (ARN). graphqlApi_arn :: Lens' GraphqlApi (Maybe Text) -- | The authentication type. graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration. graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig) -- | The API name. graphqlApi_name :: Lens' GraphqlApi (Maybe Text) -- | The OpenID Connect configuration. graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig) -- | The tags. graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text)) -- | The URIs. graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text)) -- | The Amazon Cognito user pool configuration. graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig) -- | The ARN of the WAF access control list (ACL) associated with this -- GraphqlApi, if one exists. graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text) -- | A flag indicating whether to use X-Ray tracing for this -- GraphqlApi. graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool) instance GHC.Generics.Generic Amazonka.AppSync.Types.GraphqlApi.GraphqlApi instance GHC.Show.Show Amazonka.AppSync.Types.GraphqlApi.GraphqlApi instance GHC.Read.Read Amazonka.AppSync.Types.GraphqlApi.GraphqlApi instance GHC.Classes.Eq Amazonka.AppSync.Types.GraphqlApi.GraphqlApi instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AppSync.Types.GraphqlApi.GraphqlApi instance Data.Hashable.Class.Hashable Amazonka.AppSync.Types.GraphqlApi.GraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.Types.GraphqlApi.GraphqlApi module Amazonka.AppSync.Types -- | API version 2017-07-25 of the Amazon AppSync SDK -- configuration. defaultService :: Service -- | You don't have access to perform this operation on this resource. _AccessDeniedException :: AsError a => Fold a ServiceError -- | The API key exceeded a limit. Try your request again. _ApiKeyLimitExceededException :: AsError a => Fold a ServiceError -- | The API key expiration must be set to a value between 1 and 365 days -- from creation (for CreateApiKey) or from update (for -- UpdateApiKey). _ApiKeyValidityOutOfBoundsException :: AsError a => Fold a ServiceError -- | The GraphQL API exceeded a limit. Try your request again. _ApiLimitExceededException :: AsError a => Fold a ServiceError -- | 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. _BadRequestException :: AsError a => Fold a ServiceError -- | Another modification is in progress at this time and it must complete -- before you can make your change. _ConcurrentModificationException :: AsError a => Fold a ServiceError -- | The GraphQL schema is not valid. _GraphQLSchemaException :: AsError a => Fold a ServiceError -- | An internal AppSync error occurred. Try your request again. _InternalFailureException :: AsError a => Fold a ServiceError -- | The request exceeded a limit. Try your request again. _LimitExceededException :: AsError a => Fold a ServiceError -- | The resource specified in the request was not found. Check the -- resource, and then try again. _NotFoundException :: AsError a => Fold a ServiceError -- | You aren't authorized to perform this operation. _UnauthorizedException :: AsError a => Fold a ServiceError newtype ApiCacheStatus ApiCacheStatus' :: Text -> ApiCacheStatus [fromApiCacheStatus] :: ApiCacheStatus -> Text pattern ApiCacheStatus_AVAILABLE :: ApiCacheStatus pattern ApiCacheStatus_CREATING :: ApiCacheStatus pattern ApiCacheStatus_DELETING :: ApiCacheStatus pattern ApiCacheStatus_FAILED :: ApiCacheStatus pattern ApiCacheStatus_MODIFYING :: ApiCacheStatus newtype ApiCacheType ApiCacheType' :: Text -> ApiCacheType [fromApiCacheType] :: ApiCacheType -> Text pattern ApiCacheType_LARGE :: ApiCacheType pattern ApiCacheType_LARGE_12X :: ApiCacheType pattern ApiCacheType_LARGE_2X :: ApiCacheType pattern ApiCacheType_LARGE_4X :: ApiCacheType pattern ApiCacheType_LARGE_8X :: ApiCacheType pattern ApiCacheType_MEDIUM :: ApiCacheType pattern ApiCacheType_R4_2XLARGE :: ApiCacheType pattern ApiCacheType_R4_4XLARGE :: ApiCacheType pattern ApiCacheType_R4_8XLARGE :: ApiCacheType pattern ApiCacheType_R4_LARGE :: ApiCacheType pattern ApiCacheType_R4_XLARGE :: ApiCacheType pattern ApiCacheType_SMALL :: ApiCacheType pattern ApiCacheType_T2_MEDIUM :: ApiCacheType pattern ApiCacheType_T2_SMALL :: ApiCacheType pattern ApiCacheType_XLARGE :: ApiCacheType newtype ApiCachingBehavior ApiCachingBehavior' :: Text -> ApiCachingBehavior [fromApiCachingBehavior] :: ApiCachingBehavior -> Text pattern ApiCachingBehavior_FULL_REQUEST_CACHING :: ApiCachingBehavior pattern ApiCachingBehavior_PER_RESOLVER_CACHING :: ApiCachingBehavior newtype AssociationStatus AssociationStatus' :: Text -> AssociationStatus [fromAssociationStatus] :: AssociationStatus -> Text pattern AssociationStatus_FAILED :: AssociationStatus pattern AssociationStatus_PROCESSING :: AssociationStatus pattern AssociationStatus_SUCCESS :: AssociationStatus newtype AuthenticationType AuthenticationType' :: Text -> AuthenticationType [fromAuthenticationType] :: AuthenticationType -> Text pattern AuthenticationType_AMAZON_COGNITO_USER_POOLS :: AuthenticationType pattern AuthenticationType_API_KEY :: AuthenticationType pattern AuthenticationType_AWS_IAM :: AuthenticationType pattern AuthenticationType_AWS_LAMBDA :: AuthenticationType pattern AuthenticationType_OPENID_CONNECT :: AuthenticationType newtype AuthorizationType AuthorizationType' :: Text -> AuthorizationType [fromAuthorizationType] :: AuthorizationType -> Text pattern AuthorizationType_AWS_IAM :: AuthorizationType newtype ConflictDetectionType ConflictDetectionType' :: Text -> ConflictDetectionType [fromConflictDetectionType] :: ConflictDetectionType -> Text pattern ConflictDetectionType_NONE :: ConflictDetectionType pattern ConflictDetectionType_VERSION :: ConflictDetectionType newtype ConflictHandlerType ConflictHandlerType' :: Text -> ConflictHandlerType [fromConflictHandlerType] :: ConflictHandlerType -> Text pattern ConflictHandlerType_AUTOMERGE :: ConflictHandlerType pattern ConflictHandlerType_LAMBDA :: ConflictHandlerType pattern ConflictHandlerType_NONE :: ConflictHandlerType pattern ConflictHandlerType_OPTIMISTIC_CONCURRENCY :: ConflictHandlerType newtype DataSourceType DataSourceType' :: Text -> DataSourceType [fromDataSourceType] :: DataSourceType -> Text pattern DataSourceType_AMAZON_DYNAMODB :: DataSourceType pattern DataSourceType_AMAZON_ELASTICSEARCH :: DataSourceType pattern DataSourceType_AMAZON_OPENSEARCH_SERVICE :: DataSourceType pattern DataSourceType_AWS_LAMBDA :: DataSourceType pattern DataSourceType_HTTP :: DataSourceType pattern DataSourceType_NONE :: DataSourceType pattern DataSourceType_RELATIONAL_DATABASE :: DataSourceType newtype DefaultAction DefaultAction' :: Text -> DefaultAction [fromDefaultAction] :: DefaultAction -> Text pattern DefaultAction_ALLOW :: DefaultAction pattern DefaultAction_DENY :: DefaultAction newtype FieldLogLevel FieldLogLevel' :: Text -> FieldLogLevel [fromFieldLogLevel] :: FieldLogLevel -> Text pattern FieldLogLevel_ALL :: FieldLogLevel pattern FieldLogLevel_ERROR :: FieldLogLevel pattern FieldLogLevel_NONE :: FieldLogLevel newtype OutputType OutputType' :: Text -> OutputType [fromOutputType] :: OutputType -> Text pattern OutputType_JSON :: OutputType pattern OutputType_SDL :: OutputType newtype RelationalDatabaseSourceType RelationalDatabaseSourceType' :: Text -> RelationalDatabaseSourceType [fromRelationalDatabaseSourceType] :: RelationalDatabaseSourceType -> Text pattern RelationalDatabaseSourceType_RDS_HTTP_ENDPOINT :: RelationalDatabaseSourceType newtype ResolverKind ResolverKind' :: Text -> ResolverKind [fromResolverKind] :: ResolverKind -> Text pattern ResolverKind_PIPELINE :: ResolverKind pattern ResolverKind_UNIT :: ResolverKind newtype RuntimeName RuntimeName' :: Text -> RuntimeName [fromRuntimeName] :: RuntimeName -> Text pattern RuntimeName_APPSYNC_JS :: RuntimeName newtype SchemaStatus SchemaStatus' :: Text -> SchemaStatus [fromSchemaStatus] :: SchemaStatus -> Text pattern SchemaStatus_ACTIVE :: SchemaStatus pattern SchemaStatus_DELETING :: SchemaStatus pattern SchemaStatus_FAILED :: SchemaStatus pattern SchemaStatus_NOT_APPLICABLE :: SchemaStatus pattern SchemaStatus_PROCESSING :: SchemaStatus pattern SchemaStatus_SUCCESS :: SchemaStatus newtype TypeDefinitionFormat TypeDefinitionFormat' :: Text -> TypeDefinitionFormat [fromTypeDefinitionFormat] :: TypeDefinitionFormat -> Text pattern TypeDefinitionFormat_JSON :: TypeDefinitionFormat pattern TypeDefinitionFormat_SDL :: TypeDefinitionFormat -- | Describes an additional authentication provider. -- -- See: newAdditionalAuthenticationProvider smart -- constructor. data AdditionalAuthenticationProvider AdditionalAuthenticationProvider' :: Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe OpenIDConnectConfig -> Maybe CognitoUserPoolConfig -> AdditionalAuthenticationProvider -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. [$sel:authenticationType:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe AuthenticationType -- | Configuration for Lambda function authorization. [$sel:lambdaAuthorizerConfig:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe LambdaAuthorizerConfig -- | The OIDC configuration. [$sel:openIDConnectConfig:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe OpenIDConnectConfig -- | The Amazon Cognito user pool configuration. [$sel:userPoolConfig:AdditionalAuthenticationProvider'] :: AdditionalAuthenticationProvider -> Maybe CognitoUserPoolConfig -- | 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. newAdditionalAuthenticationProvider :: AdditionalAuthenticationProvider -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. additionalAuthenticationProvider_authenticationType :: Lens' AdditionalAuthenticationProvider (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. additionalAuthenticationProvider_lambdaAuthorizerConfig :: Lens' AdditionalAuthenticationProvider (Maybe LambdaAuthorizerConfig) -- | The OIDC configuration. additionalAuthenticationProvider_openIDConnectConfig :: Lens' AdditionalAuthenticationProvider (Maybe OpenIDConnectConfig) -- | The Amazon Cognito user pool configuration. additionalAuthenticationProvider_userPoolConfig :: Lens' AdditionalAuthenticationProvider (Maybe CognitoUserPoolConfig) -- | Describes an ApiAssociation object. -- -- See: newApiAssociation smart constructor. data ApiAssociation ApiAssociation' :: Maybe Text -> Maybe AssociationStatus -> Maybe Text -> Maybe Text -> ApiAssociation -- | The API ID. [$sel:apiId:ApiAssociation'] :: ApiAssociation -> Maybe Text -- | Identifies the status of an association. -- -- [$sel:associationStatus:ApiAssociation'] :: ApiAssociation -> Maybe AssociationStatus -- | Details about the last deployment status. [$sel:deploymentDetail:ApiAssociation'] :: ApiAssociation -> Maybe Text -- | The domain name. [$sel:domainName:ApiAssociation'] :: ApiAssociation -> Maybe Text -- | 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. -- -- -- -- $sel:deploymentDetail:ApiAssociation', -- apiAssociation_deploymentDetail - Details about the last -- deployment status. -- -- $sel:domainName:ApiAssociation', -- apiAssociation_domainName - The domain name. newApiAssociation :: ApiAssociation -- | The API ID. apiAssociation_apiId :: Lens' ApiAssociation (Maybe Text) -- | Identifies the status of an association. -- -- apiAssociation_associationStatus :: Lens' ApiAssociation (Maybe AssociationStatus) -- | Details about the last deployment status. apiAssociation_deploymentDetail :: Lens' ApiAssociation (Maybe Text) -- | The domain name. apiAssociation_domainName :: Lens' ApiAssociation (Maybe Text) -- | The ApiCache object. -- -- See: newApiCache smart constructor. data ApiCache ApiCache' :: Maybe ApiCachingBehavior -> Maybe Bool -> Maybe ApiCacheStatus -> Maybe Bool -> Maybe Integer -> Maybe ApiCacheType -> ApiCache -- | Caching behavior. -- -- [$sel:apiCachingBehavior:ApiCache'] :: ApiCache -> Maybe ApiCachingBehavior -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. [$sel:atRestEncryptionEnabled:ApiCache'] :: ApiCache -> Maybe Bool -- | The cache instance status. -- -- [$sel:status:ApiCache'] :: ApiCache -> Maybe ApiCacheStatus -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. [$sel:transitEncryptionEnabled:ApiCache'] :: ApiCache -> Maybe Bool -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. [$sel:ttl:ApiCache'] :: ApiCache -> Maybe Integer -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- [$sel:type':ApiCache'] :: ApiCache -> Maybe ApiCacheType -- | 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. -- -- -- -- $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. -- -- -- -- $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 -- -- -- -- 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: -- -- newApiCache :: ApiCache -- | Caching behavior. -- -- apiCache_apiCachingBehavior :: Lens' ApiCache (Maybe ApiCachingBehavior) -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. apiCache_atRestEncryptionEnabled :: Lens' ApiCache (Maybe Bool) -- | The cache instance status. -- -- apiCache_status :: Lens' ApiCache (Maybe ApiCacheStatus) -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. apiCache_transitEncryptionEnabled :: Lens' ApiCache (Maybe Bool) -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. apiCache_ttl :: Lens' ApiCache (Maybe Integer) -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- apiCache_type :: Lens' ApiCache (Maybe ApiCacheType) -- | 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. -- -- -- -- da2: We introduced this version in February 2018 when AppSync -- added support to extend key expiration. -- -- -- -- See: newApiKey smart constructor. data ApiKey ApiKey' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe Text -> ApiKey -- | 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:deletes:ApiKey'] :: ApiKey -> Maybe Integer -- | A description of the purpose of the API key. [$sel:description:ApiKey'] :: ApiKey -> Maybe Text -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. [$sel:expires:ApiKey'] :: ApiKey -> Maybe Integer -- | The API key ID. [$sel:id:ApiKey'] :: ApiKey -> Maybe Text -- | 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. newApiKey :: ApiKey -- | 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_deletes :: Lens' ApiKey (Maybe Integer) -- | A description of the purpose of the API key. apiKey_description :: Lens' ApiKey (Maybe Text) -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. apiKey_expires :: Lens' ApiKey (Maybe Integer) -- | The API key ID. apiKey_id :: Lens' ApiKey (Maybe Text) -- | 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. data AppSyncRuntime AppSyncRuntime' :: RuntimeName -> Text -> AppSyncRuntime -- | The name of the runtime to use. Currently, the only allowed -- value is APPSYNC_JS. [$sel:name:AppSyncRuntime'] :: AppSyncRuntime -> RuntimeName -- | The version of the runtime to use. Currently, the only -- allowed version is 1.0.0. [$sel:runtimeVersion:AppSyncRuntime'] :: AppSyncRuntime -> Text -- | 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. newAppSyncRuntime :: RuntimeName -> Text -> AppSyncRuntime -- | The name of the runtime to use. Currently, the only allowed -- value is APPSYNC_JS. appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName -- | The version of the runtime to use. Currently, the only -- allowed version is 1.0.0. appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text -- | The authorization configuration in case the HTTP endpoint requires -- authorization. -- -- See: newAuthorizationConfig smart constructor. data AuthorizationConfig AuthorizationConfig' :: Maybe AwsIamConfig -> AuthorizationType -> AuthorizationConfig -- | The Identity and Access Management (IAM) settings. [$sel:awsIamConfig:AuthorizationConfig'] :: AuthorizationConfig -> Maybe AwsIamConfig -- | The authorization type that the HTTP endpoint requires. -- -- [$sel:authorizationType:AuthorizationConfig'] :: AuthorizationConfig -> AuthorizationType -- | 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. -- -- newAuthorizationConfig :: AuthorizationType -> AuthorizationConfig -- | The Identity and Access Management (IAM) settings. authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig) -- | The authorization type that the HTTP endpoint requires. -- -- authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType -- | The Identity and Access Management (IAM) configuration. -- -- See: newAwsIamConfig smart constructor. data AwsIamConfig AwsIamConfig' :: Maybe Text -> Maybe Text -> AwsIamConfig -- | The signing Amazon Web Services Region for IAM authorization. [$sel:signingRegion:AwsIamConfig'] :: AwsIamConfig -> Maybe Text -- | The signing service name for IAM authorization. [$sel:signingServiceName:AwsIamConfig'] :: AwsIamConfig -> Maybe Text -- | 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. newAwsIamConfig :: AwsIamConfig -- | The signing Amazon Web Services Region for IAM authorization. awsIamConfig_signingRegion :: Lens' AwsIamConfig (Maybe Text) -- | The signing service name for IAM authorization. awsIamConfig_signingServiceName :: Lens' AwsIamConfig (Maybe Text) -- | The caching configuration for a resolver that has caching activated. -- -- See: newCachingConfig smart constructor. data CachingConfig CachingConfig' :: Maybe [Text] -> Integer -> CachingConfig -- | 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:cachingKeys:CachingConfig'] :: CachingConfig -> Maybe [Text] -- | The TTL in seconds for a resolver that has caching activated. -- -- Valid values are 1–3,600 seconds. [$sel:ttl:CachingConfig'] :: CachingConfig -> Integer -- | 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. newCachingConfig :: Integer -> CachingConfig -- | 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_cachingKeys :: Lens' CachingConfig (Maybe [Text]) -- | The TTL in seconds for a resolver that has caching activated. -- -- Valid values are 1–3,600 seconds. cachingConfig_ttl :: Lens' CachingConfig Integer -- | Describes an AppSync error. -- -- See: newCodeError smart constructor. data CodeError CodeError' :: Maybe Text -> Maybe CodeErrorLocation -> Maybe Text -> CodeError -- | The type of code error. -- -- Examples include, but aren't limited to: LINT_ERROR, -- PARSER_ERROR. [$sel:errorType:CodeError'] :: CodeError -> Maybe Text -- | The line, column, and span location of the error in the code. [$sel:location:CodeError'] :: CodeError -> Maybe CodeErrorLocation -- | A user presentable error. -- -- Examples include, but aren't limited to: Parsing error: -- Unterminated string literal. [$sel:value:CodeError'] :: CodeError -> Maybe Text -- | 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. newCodeError :: CodeError -- | The type of code error. -- -- Examples include, but aren't limited to: LINT_ERROR, -- PARSER_ERROR. codeError_errorType :: Lens' CodeError (Maybe Text) -- | The line, column, and span location of the error in the code. codeError_location :: Lens' CodeError (Maybe CodeErrorLocation) -- | A user presentable error. -- -- Examples include, but aren't limited to: Parsing error: -- Unterminated string literal. codeError_value :: Lens' CodeError (Maybe Text) -- | Describes the location of the error in a code sample. -- -- See: newCodeErrorLocation smart constructor. data CodeErrorLocation CodeErrorLocation' :: Maybe Int -> Maybe Int -> Maybe Int -> CodeErrorLocation -- | The column number in the code. Defaults to 0 if unknown. [$sel:column:CodeErrorLocation'] :: CodeErrorLocation -> Maybe Int -- | The line number in the code. Defaults to 0 if unknown. [$sel:line:CodeErrorLocation'] :: CodeErrorLocation -> Maybe Int -- | The span/length of the error. Defaults to -1 if unknown. [$sel:span:CodeErrorLocation'] :: CodeErrorLocation -> Maybe Int -- | 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. newCodeErrorLocation :: CodeErrorLocation -- | The column number in the code. Defaults to 0 if unknown. codeErrorLocation_column :: Lens' CodeErrorLocation (Maybe Int) -- | The line number in the code. Defaults to 0 if unknown. codeErrorLocation_line :: Lens' CodeErrorLocation (Maybe Int) -- | The span/length of the error. Defaults to -1 if unknown. codeErrorLocation_span :: Lens' CodeErrorLocation (Maybe Int) -- | Describes an Amazon Cognito user pool configuration. -- -- See: newCognitoUserPoolConfig smart constructor. data CognitoUserPoolConfig CognitoUserPoolConfig' :: Maybe Text -> Text -> Text -> CognitoUserPoolConfig -- | 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:appIdClientRegex:CognitoUserPoolConfig'] :: CognitoUserPoolConfig -> Maybe Text -- | The user pool ID. [$sel:userPoolId:CognitoUserPoolConfig'] :: CognitoUserPoolConfig -> Text -- | The Amazon Web Services Region in which the user pool was created. [$sel:awsRegion:CognitoUserPoolConfig'] :: CognitoUserPoolConfig -> Text -- | 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. newCognitoUserPoolConfig :: Text -> Text -> CognitoUserPoolConfig -- | 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_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text) -- | The user pool ID. cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text -- | The Amazon Web Services Region in which the user pool was created. cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text -- | Describes a data source. -- -- See: newDataSource smart constructor. data DataSource DataSource' :: Maybe Text -> Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe Text -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Maybe DataSourceType -> DataSource -- | The data source Amazon Resource Name (ARN). [$sel:dataSourceArn:DataSource'] :: DataSource -> Maybe Text -- | The description of the data source. [$sel:description:DataSource'] :: DataSource -> Maybe Text -- | DynamoDB settings. [$sel:dynamodbConfig:DataSource'] :: DataSource -> Maybe DynamodbDataSourceConfig -- | Amazon OpenSearch Service settings. [$sel:elasticsearchConfig:DataSource'] :: DataSource -> Maybe ElasticsearchDataSourceConfig -- | HTTP endpoint settings. [$sel:httpConfig:DataSource'] :: DataSource -> Maybe HttpDataSourceConfig -- | Lambda settings. [$sel:lambdaConfig:DataSource'] :: DataSource -> Maybe LambdaDataSourceConfig -- | The name of the data source. [$sel:name:DataSource'] :: DataSource -> Maybe Text -- | Amazon OpenSearch Service settings. [$sel:openSearchServiceConfig:DataSource'] :: DataSource -> Maybe OpenSearchServiceDataSourceConfig -- | Relational database settings. [$sel:relationalDatabaseConfig:DataSource'] :: DataSource -> Maybe RelationalDatabaseDataSourceConfig -- | 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:serviceRoleArn:DataSource'] :: DataSource -> Maybe Text -- | The type of the data source. -- -- [$sel:type':DataSource'] :: DataSource -> Maybe DataSourceType -- | 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. -- -- newDataSource :: DataSource -- | The data source Amazon Resource Name (ARN). dataSource_dataSourceArn :: Lens' DataSource (Maybe Text) -- | The description of the data source. dataSource_description :: Lens' DataSource (Maybe Text) -- | DynamoDB settings. dataSource_dynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) -- | Amazon OpenSearch Service settings. dataSource_elasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) -- | HTTP endpoint settings. dataSource_httpConfig :: Lens' DataSource (Maybe HttpDataSourceConfig) -- | Lambda settings. dataSource_lambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) -- | The name of the data source. dataSource_name :: Lens' DataSource (Maybe Text) -- | Amazon OpenSearch Service settings. dataSource_openSearchServiceConfig :: Lens' DataSource (Maybe OpenSearchServiceDataSourceConfig) -- | Relational database settings. dataSource_relationalDatabaseConfig :: Lens' DataSource (Maybe RelationalDatabaseDataSourceConfig) -- | 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_serviceRoleArn :: Lens' DataSource (Maybe Text) -- | The type of the data source. -- -- dataSource_type :: Lens' DataSource (Maybe DataSourceType) -- | Describes a Delta Sync configuration. -- -- See: newDeltaSyncConfig smart constructor. data DeltaSyncConfig DeltaSyncConfig' :: Maybe Integer -> Maybe Text -> Maybe Integer -> DeltaSyncConfig -- | The number of minutes that an Item is stored in the data source. [$sel:baseTableTTL:DeltaSyncConfig'] :: DeltaSyncConfig -> Maybe Integer -- | The Delta Sync table name. [$sel:deltaSyncTableName:DeltaSyncConfig'] :: DeltaSyncConfig -> Maybe Text -- | The number of minutes that a Delta Sync log entry is stored in the -- Delta Sync table. [$sel:deltaSyncTableTTL:DeltaSyncConfig'] :: DeltaSyncConfig -> Maybe Integer -- | 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. newDeltaSyncConfig :: DeltaSyncConfig -- | The number of minutes that an Item is stored in the data source. deltaSyncConfig_baseTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) -- | The Delta Sync table name. deltaSyncConfig_deltaSyncTableName :: Lens' DeltaSyncConfig (Maybe Text) -- | The number of minutes that a Delta Sync log entry is stored in the -- Delta Sync table. deltaSyncConfig_deltaSyncTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) -- | Describes a configuration for a custom domain. -- -- See: newDomainNameConfig smart constructor. data DomainNameConfig DomainNameConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DomainNameConfig -- | The domain name that AppSync provides. [$sel:appsyncDomainName:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | 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:certificateArn:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | A description of the DomainName configuration. [$sel:description:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | The domain name. [$sel:domainName:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | The ID of your Amazon Route 53 hosted zone. [$sel:hostedZoneId:DomainNameConfig'] :: DomainNameConfig -> Maybe Text -- | 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. newDomainNameConfig :: DomainNameConfig -- | The domain name that AppSync provides. domainNameConfig_appsyncDomainName :: Lens' DomainNameConfig (Maybe Text) -- | 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_certificateArn :: Lens' DomainNameConfig (Maybe Text) -- | A description of the DomainName configuration. domainNameConfig_description :: Lens' DomainNameConfig (Maybe Text) -- | The domain name. domainNameConfig_domainName :: Lens' DomainNameConfig (Maybe Text) -- | The ID of your Amazon Route 53 hosted zone. domainNameConfig_hostedZoneId :: Lens' DomainNameConfig (Maybe Text) -- | Describes an Amazon DynamoDB data source configuration. -- -- See: newDynamodbDataSourceConfig smart constructor. data DynamodbDataSourceConfig DynamodbDataSourceConfig' :: Maybe DeltaSyncConfig -> Maybe Bool -> Maybe Bool -> Text -> Text -> DynamodbDataSourceConfig -- | The DeltaSyncConfig for a versioned data source. [$sel:deltaSyncConfig:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Maybe DeltaSyncConfig -- | Set to TRUE to use Amazon Cognito credentials with this data source. [$sel:useCallerCredentials:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Maybe Bool -- | Set to TRUE to use Conflict Detection and Resolution with this data -- source. [$sel:versioned:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Maybe Bool -- | The table name. [$sel:tableName:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Text -- | The Amazon Web Services Region. [$sel:awsRegion:DynamodbDataSourceConfig'] :: DynamodbDataSourceConfig -> Text -- | 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. newDynamodbDataSourceConfig :: Text -> Text -> DynamodbDataSourceConfig -- | The DeltaSyncConfig for a versioned data source. dynamodbDataSourceConfig_deltaSyncConfig :: Lens' DynamodbDataSourceConfig (Maybe DeltaSyncConfig) -- | Set to TRUE to use Amazon Cognito credentials with this data source. dynamodbDataSourceConfig_useCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | Set to TRUE to use Conflict Detection and Resolution with this data -- source. dynamodbDataSourceConfig_versioned :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | The table name. dynamodbDataSourceConfig_tableName :: Lens' DynamodbDataSourceConfig Text -- | The Amazon Web Services Region. dynamodbDataSourceConfig_awsRegion :: Lens' DynamodbDataSourceConfig Text -- | 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. data ElasticsearchDataSourceConfig ElasticsearchDataSourceConfig' :: Text -> Text -> ElasticsearchDataSourceConfig -- | The endpoint. [$sel:endpoint:ElasticsearchDataSourceConfig'] :: ElasticsearchDataSourceConfig -> Text -- | The Amazon Web Services Region. [$sel:awsRegion:ElasticsearchDataSourceConfig'] :: ElasticsearchDataSourceConfig -> Text -- | 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. newElasticsearchDataSourceConfig :: Text -> Text -> ElasticsearchDataSourceConfig -- | The endpoint. elasticsearchDataSourceConfig_endpoint :: Lens' ElasticsearchDataSourceConfig Text -- | The Amazon Web Services Region. elasticsearchDataSourceConfig_awsRegion :: Lens' ElasticsearchDataSourceConfig Text -- | Contains the list of errors generated. When using JavaScript, this -- will apply to the request or response function evaluation. -- -- See: newErrorDetail smart constructor. data ErrorDetail ErrorDetail' :: Maybe Text -> ErrorDetail -- | The error payload. [$sel:message:ErrorDetail'] :: ErrorDetail -> Maybe Text -- | 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. newErrorDetail :: ErrorDetail -- | The error payload. errorDetail_message :: Lens' ErrorDetail (Maybe Text) -- | Contains the list of errors from a code evaluation response. -- -- See: newEvaluateCodeErrorDetail smart constructor. data EvaluateCodeErrorDetail EvaluateCodeErrorDetail' :: Maybe [CodeError] -> Maybe Text -> EvaluateCodeErrorDetail -- | Contains the list of CodeError objects. [$sel:codeErrors:EvaluateCodeErrorDetail'] :: EvaluateCodeErrorDetail -> Maybe [CodeError] -- | The error payload. [$sel:message:EvaluateCodeErrorDetail'] :: EvaluateCodeErrorDetail -> Maybe Text -- | 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. newEvaluateCodeErrorDetail :: EvaluateCodeErrorDetail -- | Contains the list of CodeError objects. evaluateCodeErrorDetail_codeErrors :: Lens' EvaluateCodeErrorDetail (Maybe [CodeError]) -- | The error payload. evaluateCodeErrorDetail_message :: Lens' EvaluateCodeErrorDetail (Maybe Text) -- | A function is a reusable entity. You can use multiple functions to -- compose the resolver logic. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> FunctionConfiguration -- | 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:code:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the DataSource. [$sel:dataSourceName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Function description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Amazon Resource Name (ARN) of the Function object. [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | A unique ID representing the Function object. [$sel:functionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The version of the request mapping template. Currently, only the -- 2018-05-29 version of the template is supported. [$sel:functionVersion:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The maximum batching size for a resolver. [$sel:maxBatchSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The name of the Function object. [$sel:name:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. [$sel:requestMappingTemplate:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The Function response mapping template. [$sel:responseMappingTemplate:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe AppSyncRuntime [$sel:syncConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SyncConfig -- | 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. newFunctionConfiguration :: FunctionConfiguration -- | 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_code :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the DataSource. functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text) -- | The Function description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the Function object. functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | A unique ID representing the Function object. functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) -- | The version of the request mapping template. Currently, only the -- 2018-05-29 version of the template is supported. functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text) -- | The maximum batching size for a resolver. functionConfiguration_maxBatchSize :: Lens' FunctionConfiguration (Maybe Natural) -- | The name of the Function object. functionConfiguration_name :: Lens' FunctionConfiguration (Maybe Text) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) -- | The Function response mapping template. functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) -- | Undocumented member. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe AppSyncRuntime) -- | Undocumented member. functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig) -- | Describes a GraphQL API. -- -- See: newGraphqlApi smart constructor. data GraphqlApi GraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe Text -> Maybe Text -> Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe Text -> Maybe OpenIDConnectConfig -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> Maybe UserPoolConfig -> Maybe Text -> Maybe Bool -> GraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. [$sel:additionalAuthenticationProviders:GraphqlApi'] :: GraphqlApi -> Maybe [AdditionalAuthenticationProvider] -- | The API ID. [$sel:apiId:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | The Amazon Resource Name (ARN). [$sel:arn:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | The authentication type. [$sel:authenticationType:GraphqlApi'] :: GraphqlApi -> Maybe AuthenticationType -- | Configuration for Lambda function authorization. [$sel:lambdaAuthorizerConfig:GraphqlApi'] :: GraphqlApi -> Maybe LambdaAuthorizerConfig -- | The Amazon CloudWatch Logs configuration. [$sel:logConfig:GraphqlApi'] :: GraphqlApi -> Maybe LogConfig -- | The API name. [$sel:name:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | The OpenID Connect configuration. [$sel:openIDConnectConfig:GraphqlApi'] :: GraphqlApi -> Maybe OpenIDConnectConfig -- | The tags. [$sel:tags:GraphqlApi'] :: GraphqlApi -> Maybe (HashMap Text Text) -- | The URIs. [$sel:uris:GraphqlApi'] :: GraphqlApi -> Maybe (HashMap Text Text) -- | The Amazon Cognito user pool configuration. [$sel:userPoolConfig:GraphqlApi'] :: GraphqlApi -> Maybe UserPoolConfig -- | The ARN of the WAF access control list (ACL) associated with this -- GraphqlApi, if one exists. [$sel:wafWebAclArn:GraphqlApi'] :: GraphqlApi -> Maybe Text -- | A flag indicating whether to use X-Ray tracing for this -- GraphqlApi. [$sel:xrayEnabled:GraphqlApi'] :: GraphqlApi -> Maybe Bool -- | 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. newGraphqlApi :: GraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | The API ID. graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text) -- | The Amazon Resource Name (ARN). graphqlApi_arn :: Lens' GraphqlApi (Maybe Text) -- | The authentication type. graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration. graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig) -- | The API name. graphqlApi_name :: Lens' GraphqlApi (Maybe Text) -- | The OpenID Connect configuration. graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig) -- | The tags. graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text)) -- | The URIs. graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text)) -- | The Amazon Cognito user pool configuration. graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig) -- | The ARN of the WAF access control list (ACL) associated with this -- GraphqlApi, if one exists. graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text) -- | A flag indicating whether to use X-Ray tracing for this -- GraphqlApi. graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool) -- | Describes an HTTP data source configuration. -- -- See: newHttpDataSourceConfig smart constructor. data HttpDataSourceConfig HttpDataSourceConfig' :: Maybe AuthorizationConfig -> Maybe Text -> HttpDataSourceConfig -- | The authorization configuration in case the HTTP endpoint requires -- authorization. [$sel:authorizationConfig:HttpDataSourceConfig'] :: HttpDataSourceConfig -> Maybe AuthorizationConfig -- | 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. [$sel:endpoint:HttpDataSourceConfig'] :: HttpDataSourceConfig -> Maybe Text -- | 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. newHttpDataSourceConfig :: HttpDataSourceConfig -- | The authorization configuration in case the HTTP endpoint requires -- authorization. httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig) -- | 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_endpoint :: Lens' HttpDataSourceConfig (Maybe Text) -- | 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. data LambdaAuthorizerConfig LambdaAuthorizerConfig' :: Maybe Natural -> Maybe Text -> Text -> LambdaAuthorizerConfig -- | 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:authorizerResultTtlInSeconds:LambdaAuthorizerConfig'] :: LambdaAuthorizerConfig -> Maybe Natural -- | A regular expression for validation of tokens before the Lambda -- function is called. [$sel:identityValidationExpression:LambdaAuthorizerConfig'] :: LambdaAuthorizerConfig -> Maybe 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
--   
[$sel:authorizerUri:LambdaAuthorizerConfig'] :: LambdaAuthorizerConfig -> Text -- | 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
--   
newLambdaAuthorizerConfig :: Text -> LambdaAuthorizerConfig -- | 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_authorizerResultTtlInSeconds :: Lens' LambdaAuthorizerConfig (Maybe Natural) -- | A regular expression for validation of tokens before the Lambda -- function is called. lambdaAuthorizerConfig_identityValidationExpression :: Lens' LambdaAuthorizerConfig (Maybe 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
--   
lambdaAuthorizerConfig_authorizerUri :: Lens' LambdaAuthorizerConfig Text -- | The LambdaConflictHandlerConfig object when configuring -- LAMBDA as the Conflict Handler. -- -- See: newLambdaConflictHandlerConfig smart constructor. data LambdaConflictHandlerConfig LambdaConflictHandlerConfig' :: Maybe Text -> LambdaConflictHandlerConfig -- | The Amazon Resource Name (ARN) for the Lambda function to use as the -- Conflict Handler. [$sel:lambdaConflictHandlerArn:LambdaConflictHandlerConfig'] :: LambdaConflictHandlerConfig -> Maybe Text -- | 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. newLambdaConflictHandlerConfig :: LambdaConflictHandlerConfig -- | The Amazon Resource Name (ARN) for the Lambda function to use as the -- Conflict Handler. lambdaConflictHandlerConfig_lambdaConflictHandlerArn :: Lens' LambdaConflictHandlerConfig (Maybe Text) -- | Describes an Lambda data source configuration. -- -- See: newLambdaDataSourceConfig smart constructor. data LambdaDataSourceConfig LambdaDataSourceConfig' :: Text -> LambdaDataSourceConfig -- | The Amazon Resource Name (ARN) for the Lambda function. [$sel:lambdaFunctionArn:LambdaDataSourceConfig'] :: LambdaDataSourceConfig -> Text -- | 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. newLambdaDataSourceConfig :: Text -> LambdaDataSourceConfig -- | The Amazon Resource Name (ARN) for the Lambda function. lambdaDataSourceConfig_lambdaFunctionArn :: Lens' LambdaDataSourceConfig Text -- | The Amazon CloudWatch Logs configuration. -- -- See: newLogConfig smart constructor. data LogConfig LogConfig' :: Maybe Bool -> FieldLogLevel -> Text -> LogConfig -- | Set to TRUE to exclude sections that contain information such as -- headers, context, and evaluated mapping templates, regardless of -- logging level. [$sel:excludeVerboseContent:LogConfig'] :: LogConfig -> Maybe Bool -- | The field logging level. Values can be NONE, ERROR, or ALL. -- -- [$sel:fieldLogLevel:LogConfig'] :: LogConfig -> FieldLogLevel -- | The service role that AppSync assumes to publish to CloudWatch logs in -- your account. [$sel:cloudWatchLogsRoleArn:LogConfig'] :: LogConfig -> Text -- | 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. -- -- -- -- $sel:cloudWatchLogsRoleArn:LogConfig', -- logConfig_cloudWatchLogsRoleArn - The service role that AppSync -- assumes to publish to CloudWatch logs in your account. newLogConfig :: FieldLogLevel -> Text -> LogConfig -- | Set to TRUE to exclude sections that contain information such as -- headers, context, and evaluated mapping templates, regardless of -- logging level. logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool) -- | The field logging level. Values can be NONE, ERROR, or ALL. -- -- logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel -- | The service role that AppSync assumes to publish to CloudWatch logs in -- your account. logConfig_cloudWatchLogsRoleArn :: Lens' LogConfig Text -- | Describes an OpenID Connect (OIDC) configuration. -- -- See: newOpenIDConnectConfig smart constructor. data OpenIDConnectConfig OpenIDConnectConfig' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Text -> OpenIDConnectConfig -- | The number of milliseconds that a token is valid after being -- authenticated. [$sel:authTTL:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Maybe Integer -- | 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:clientId:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Maybe Text -- | The number of milliseconds that a token is valid after it's issued to -- a user. [$sel:iatTTL:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Maybe Integer -- | The issuer for the OIDC configuration. The issuer returned by -- discovery must exactly match the value of iss in the ID -- token. [$sel:issuer:OpenIDConnectConfig'] :: OpenIDConnectConfig -> Text -- | 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. newOpenIDConnectConfig :: Text -> OpenIDConnectConfig -- | The number of milliseconds that a token is valid after being -- authenticated. openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer) -- | 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_clientId :: Lens' OpenIDConnectConfig (Maybe Text) -- | The number of milliseconds that a token is valid after it's issued to -- a user. openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer) -- | The issuer for the OIDC configuration. The issuer returned by -- discovery must exactly match the value of iss in the ID -- token. openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text -- | Describes an OpenSearch data source configuration. -- -- See: newOpenSearchServiceDataSourceConfig smart -- constructor. data OpenSearchServiceDataSourceConfig OpenSearchServiceDataSourceConfig' :: Text -> Text -> OpenSearchServiceDataSourceConfig -- | The endpoint. [$sel:endpoint:OpenSearchServiceDataSourceConfig'] :: OpenSearchServiceDataSourceConfig -> Text -- | The Amazon Web Services Region. [$sel:awsRegion:OpenSearchServiceDataSourceConfig'] :: OpenSearchServiceDataSourceConfig -> Text -- | 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. newOpenSearchServiceDataSourceConfig :: Text -> Text -> OpenSearchServiceDataSourceConfig -- | The endpoint. openSearchServiceDataSourceConfig_endpoint :: Lens' OpenSearchServiceDataSourceConfig Text -- | The Amazon Web Services Region. openSearchServiceDataSourceConfig_awsRegion :: Lens' OpenSearchServiceDataSourceConfig Text -- | The pipeline configuration for a resolver of kind PIPELINE. -- -- See: newPipelineConfig smart constructor. data PipelineConfig PipelineConfig' :: Maybe [Text] -> PipelineConfig -- | A list of Function objects. [$sel:functions:PipelineConfig'] :: PipelineConfig -> Maybe [Text] -- | 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. newPipelineConfig :: PipelineConfig -- | A list of Function objects. pipelineConfig_functions :: Lens' PipelineConfig (Maybe [Text]) -- | The Amazon Relational Database Service (Amazon RDS) HTTP endpoint -- configuration. -- -- See: newRdsHttpEndpointConfig smart constructor. data RdsHttpEndpointConfig RdsHttpEndpointConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RdsHttpEndpointConfig -- | Amazon Web Services Region for Amazon RDS HTTP endpoint. [$sel:awsRegion:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Amazon Web Services secret store Amazon Resource Name (ARN) for -- database credentials. [$sel:awsSecretStoreArn:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Logical database name. [$sel:databaseName:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Amazon RDS cluster Amazon Resource Name (ARN). [$sel:dbClusterIdentifier:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | Logical schema name. [$sel:schema:RdsHttpEndpointConfig'] :: RdsHttpEndpointConfig -> Maybe Text -- | 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. newRdsHttpEndpointConfig :: RdsHttpEndpointConfig -- | Amazon Web Services Region for Amazon RDS HTTP endpoint. rdsHttpEndpointConfig_awsRegion :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon Web Services secret store Amazon Resource Name (ARN) for -- database credentials. rdsHttpEndpointConfig_awsSecretStoreArn :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Logical database name. rdsHttpEndpointConfig_databaseName :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon RDS cluster Amazon Resource Name (ARN). rdsHttpEndpointConfig_dbClusterIdentifier :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Logical schema name. rdsHttpEndpointConfig_schema :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Describes a relational database data source configuration. -- -- See: newRelationalDatabaseDataSourceConfig smart -- constructor. data RelationalDatabaseDataSourceConfig RelationalDatabaseDataSourceConfig' :: Maybe RdsHttpEndpointConfig -> Maybe RelationalDatabaseSourceType -> RelationalDatabaseDataSourceConfig -- | Amazon RDS HTTP endpoint settings. [$sel:rdsHttpEndpointConfig:RelationalDatabaseDataSourceConfig'] :: RelationalDatabaseDataSourceConfig -> Maybe RdsHttpEndpointConfig -- | Source type for the relational database. -- -- [$sel:relationalDatabaseSourceType:RelationalDatabaseDataSourceConfig'] :: RelationalDatabaseDataSourceConfig -> Maybe RelationalDatabaseSourceType -- | 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. -- -- newRelationalDatabaseDataSourceConfig :: RelationalDatabaseDataSourceConfig -- | Amazon RDS HTTP endpoint settings. relationalDatabaseDataSourceConfig_rdsHttpEndpointConfig :: Lens' RelationalDatabaseDataSourceConfig (Maybe RdsHttpEndpointConfig) -- | Source type for the relational database. -- -- relationalDatabaseDataSourceConfig_relationalDatabaseSourceType :: Lens' RelationalDatabaseDataSourceConfig (Maybe RelationalDatabaseSourceType) -- | Describes a resolver. -- -- See: newResolver smart constructor. data Resolver Resolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Maybe Text -> Resolver -- | The caching configuration for the resolver. [$sel:cachingConfig:Resolver'] :: Resolver -> Maybe CachingConfig -- | 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:code:Resolver'] :: Resolver -> Maybe Text -- | The resolver data source name. [$sel:dataSourceName:Resolver'] :: Resolver -> Maybe Text -- | The resolver field name. [$sel:fieldName:Resolver'] :: Resolver -> Maybe Text -- | The resolver type. -- -- [$sel:kind:Resolver'] :: Resolver -> Maybe ResolverKind -- | The maximum batching size for a resolver. [$sel:maxBatchSize:Resolver'] :: Resolver -> Maybe Natural -- | The PipelineConfig. [$sel:pipelineConfig:Resolver'] :: Resolver -> Maybe PipelineConfig -- | The request mapping template. [$sel:requestMappingTemplate:Resolver'] :: Resolver -> Maybe Text -- | The resolver Amazon Resource Name (ARN). [$sel:resolverArn:Resolver'] :: Resolver -> Maybe Text -- | The response mapping template. [$sel:responseMappingTemplate:Resolver'] :: Resolver -> Maybe Text [$sel:runtime:Resolver'] :: Resolver -> Maybe AppSyncRuntime -- | The SyncConfig for a resolver attached to a versioned data -- source. [$sel:syncConfig:Resolver'] :: Resolver -> Maybe SyncConfig -- | The resolver type name. [$sel:typeName:Resolver'] :: Resolver -> Maybe Text -- | 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. -- -- -- -- $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. newResolver :: Resolver -- | The caching configuration for the resolver. resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig) -- | 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_code :: Lens' Resolver (Maybe Text) -- | The resolver data source name. resolver_dataSourceName :: Lens' Resolver (Maybe Text) -- | The resolver field name. resolver_fieldName :: Lens' Resolver (Maybe Text) -- | The resolver type. -- -- resolver_kind :: Lens' Resolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. resolver_maxBatchSize :: Lens' Resolver (Maybe Natural) -- | The PipelineConfig. resolver_pipelineConfig :: Lens' Resolver (Maybe PipelineConfig) -- | The request mapping template. resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver Amazon Resource Name (ARN). resolver_resolverArn :: Lens' Resolver (Maybe Text) -- | The response mapping template. resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text) -- | Undocumented member. resolver_runtime :: Lens' Resolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig) -- | The resolver type name. resolver_typeName :: Lens' Resolver (Maybe Text) -- | 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. data SyncConfig SyncConfig' :: Maybe ConflictDetectionType -> Maybe ConflictHandlerType -> Maybe LambdaConflictHandlerConfig -> SyncConfig -- | The Conflict Detection strategy to use. -- -- [$sel:conflictDetection:SyncConfig'] :: SyncConfig -> Maybe ConflictDetectionType -- | The Conflict Resolution strategy to perform in the event of a -- conflict. -- -- [$sel:conflictHandler:SyncConfig'] :: SyncConfig -> Maybe ConflictHandlerType -- | The LambdaConflictHandlerConfig when configuring -- LAMBDA as the Conflict Handler. [$sel:lambdaConflictHandlerConfig:SyncConfig'] :: SyncConfig -> Maybe LambdaConflictHandlerConfig -- | 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. -- -- -- -- $sel:conflictHandler:SyncConfig', -- syncConfig_conflictHandler - The Conflict Resolution strategy -- to perform in the event of a conflict. -- -- -- -- $sel:lambdaConflictHandlerConfig:SyncConfig', -- syncConfig_lambdaConflictHandlerConfig - The -- LambdaConflictHandlerConfig when configuring LAMBDA -- as the Conflict Handler. newSyncConfig :: SyncConfig -- | The Conflict Detection strategy to use. -- -- syncConfig_conflictDetection :: Lens' SyncConfig (Maybe ConflictDetectionType) -- | The Conflict Resolution strategy to perform in the event of a -- conflict. -- -- syncConfig_conflictHandler :: Lens' SyncConfig (Maybe ConflictHandlerType) -- | The LambdaConflictHandlerConfig when configuring -- LAMBDA as the Conflict Handler. syncConfig_lambdaConflictHandlerConfig :: Lens' SyncConfig (Maybe LambdaConflictHandlerConfig) -- | Describes a type. -- -- See: newType smart constructor. data Type Type' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe TypeDefinitionFormat -> Maybe Text -> Type -- | The type Amazon Resource Name (ARN). [$sel:arn:Type'] :: Type -> Maybe Text -- | The type definition. [$sel:definition:Type'] :: Type -> Maybe Text -- | The type description. [$sel:description:Type'] :: Type -> Maybe Text -- | The type format: SDL or JSON. [$sel:format:Type'] :: Type -> Maybe TypeDefinitionFormat -- | The type name. [$sel:name:Type'] :: Type -> Maybe Text -- | 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. newType :: Type -- | The type Amazon Resource Name (ARN). type_arn :: Lens' Type (Maybe Text) -- | The type definition. type_definition :: Lens' Type (Maybe Text) -- | The type description. type_description :: Lens' Type (Maybe Text) -- | The type format: SDL or JSON. type_format :: Lens' Type (Maybe TypeDefinitionFormat) -- | The type name. type_name :: Lens' Type (Maybe Text) -- | Describes an Amazon Cognito user pool configuration. -- -- See: newUserPoolConfig smart constructor. data UserPoolConfig UserPoolConfig' :: Maybe Text -> Text -> Text -> DefaultAction -> UserPoolConfig -- | 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:appIdClientRegex:UserPoolConfig'] :: UserPoolConfig -> Maybe Text -- | The user pool ID. [$sel:userPoolId:UserPoolConfig'] :: UserPoolConfig -> Text -- | The Amazon Web Services Region in which the user pool was created. [$sel:awsRegion:UserPoolConfig'] :: UserPoolConfig -> Text -- | 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. [$sel:defaultAction:UserPoolConfig'] :: UserPoolConfig -> DefaultAction -- | 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. newUserPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig -- | 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_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text) -- | The user pool ID. userPoolConfig_userPoolId :: Lens' UserPoolConfig Text -- | The Amazon Web Services Region in which the user pool was created. userPoolConfig_awsRegion :: Lens' UserPoolConfig Text -- | 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_defaultAction :: Lens' UserPoolConfig DefaultAction -- | Tags a resource with user-supplied tags. module Amazonka.AppSync.TagResource -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | The GraphqlApi Amazon Resource Name (ARN). [$sel:resourceArn:TagResource'] :: TagResource -> Text -- | A TagMap object. [$sel:tags:TagResource'] :: TagResource -> HashMap Text Text -- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - -- The GraphqlApi Amazon Resource Name (ARN). -- -- TagResource, tagResource_tags - A TagMap -- object. newTagResource :: Text -> TagResource -- | The GraphqlApi Amazon Resource Name (ARN). tagResource_resourceArn :: Lens' TagResource Text -- | A TagMap object. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | The response's http status code. [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int -- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.TagResource.TagResource instance GHC.Show.Show Amazonka.AppSync.TagResource.TagResource instance GHC.Read.Read Amazonka.AppSync.TagResource.TagResource instance GHC.Classes.Eq Amazonka.AppSync.TagResource.TagResource instance GHC.Generics.Generic Amazonka.AppSync.TagResource.TagResourceResponse instance GHC.Show.Show Amazonka.AppSync.TagResource.TagResourceResponse instance GHC.Read.Read Amazonka.AppSync.TagResource.TagResourceResponse instance GHC.Classes.Eq Amazonka.AppSync.TagResource.TagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.AppSync.TagResource.TagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.AppSync.TagResource.TagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.TagResource.TagResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.TagResource.TagResource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.TagResource.TagResource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.TagResource.TagResource -- | Adds a new schema to your GraphQL API. -- -- This operation is asynchronous. Use to determine when it has -- completed. module Amazonka.AppSync.StartSchemaCreation -- | See: newStartSchemaCreation smart constructor. data StartSchemaCreation StartSchemaCreation' :: Text -> Base64 -> StartSchemaCreation -- | The API ID. [$sel:apiId:StartSchemaCreation'] :: StartSchemaCreation -> Text -- | The schema definition, in GraphQL schema language format. [$sel:definition:StartSchemaCreation'] :: StartSchemaCreation -> Base64 -- | Create a value of StartSchemaCreation 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: -- -- StartSchemaCreation, startSchemaCreation_apiId - The API -- ID. -- -- StartSchemaCreation, startSchemaCreation_definition - -- The schema definition, in GraphQL schema language format.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. newStartSchemaCreation :: Text -> ByteString -> StartSchemaCreation -- | The API ID. startSchemaCreation_apiId :: Lens' StartSchemaCreation Text -- | The schema definition, in GraphQL schema language format.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. startSchemaCreation_definition :: Lens' StartSchemaCreation ByteString -- | See: newStartSchemaCreationResponse smart constructor. data StartSchemaCreationResponse StartSchemaCreationResponse' :: Maybe SchemaStatus -> Int -> StartSchemaCreationResponse -- | The current state of the schema (PROCESSING, FAILED, SUCCESS, or -- NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add -- data. [$sel:status:StartSchemaCreationResponse'] :: StartSchemaCreationResponse -> Maybe SchemaStatus -- | The response's http status code. [$sel:httpStatus:StartSchemaCreationResponse'] :: StartSchemaCreationResponse -> Int -- | Create a value of StartSchemaCreationResponse 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: -- -- StartSchemaCreationResponse, -- startSchemaCreationResponse_status - The current state of the -- schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the -- schema is in the ACTIVE state, you can add data. -- -- $sel:httpStatus:StartSchemaCreationResponse', -- startSchemaCreationResponse_httpStatus - The response's http -- status code. newStartSchemaCreationResponse :: Int -> StartSchemaCreationResponse -- | The current state of the schema (PROCESSING, FAILED, SUCCESS, or -- NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add -- data. startSchemaCreationResponse_status :: Lens' StartSchemaCreationResponse (Maybe SchemaStatus) -- | The response's http status code. startSchemaCreationResponse_httpStatus :: Lens' StartSchemaCreationResponse Int instance GHC.Generics.Generic Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Show.Show Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Read.Read Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Classes.Eq Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Generics.Generic Amazonka.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Show.Show Amazonka.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Read.Read Amazonka.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Classes.Eq Amazonka.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance Control.DeepSeq.NFData Amazonka.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance Control.DeepSeq.NFData Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance Amazonka.Data.Path.ToPath Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.StartSchemaCreation.StartSchemaCreation -- | Lists the types for a given API. -- -- This operation returns paginated results. module Amazonka.AppSync.ListTypes -- | See: newListTypes smart constructor. data ListTypes ListTypes' :: Maybe Natural -> Maybe Text -> Text -> TypeDefinitionFormat -> ListTypes -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListTypes'] :: ListTypes -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListTypes'] :: ListTypes -> Maybe Text -- | The API ID. [$sel:apiId:ListTypes'] :: ListTypes -> Text -- | The type format: SDL or JSON. [$sel:format:ListTypes'] :: ListTypes -> TypeDefinitionFormat -- | Create a value of ListTypes 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:maxResults:ListTypes', listTypes_maxResults - The -- maximum number of results that you want the request to return. -- -- ListTypes, listTypes_nextToken - An identifier that was -- returned from the previous call to this operation, which you can use -- to return the next set of items in the list. -- -- ListTypes, listTypes_apiId - The API ID. -- -- ListTypes, listTypes_format - The type format: SDL or -- JSON. newListTypes :: Text -> TypeDefinitionFormat -> ListTypes -- | The maximum number of results that you want the request to return. listTypes_maxResults :: Lens' ListTypes (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listTypes_nextToken :: Lens' ListTypes (Maybe Text) -- | The API ID. listTypes_apiId :: Lens' ListTypes Text -- | The type format: SDL or JSON. listTypes_format :: Lens' ListTypes TypeDefinitionFormat -- | See: newListTypesResponse smart constructor. data ListTypesResponse ListTypesResponse' :: Maybe Text -> Maybe [Type] -> Int -> ListTypesResponse -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. [$sel:nextToken:ListTypesResponse'] :: ListTypesResponse -> Maybe Text -- | The Type objects. [$sel:types:ListTypesResponse'] :: ListTypesResponse -> Maybe [Type] -- | The response's http status code. [$sel:httpStatus:ListTypesResponse'] :: ListTypesResponse -> Int -- | Create a value of ListTypesResponse 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: -- -- ListTypes, listTypesResponse_nextToken - An identifier -- to pass in the next request to this operation to return the next set -- of items in the list. -- -- $sel:types:ListTypesResponse', listTypesResponse_types - -- The Type objects. -- -- $sel:httpStatus:ListTypesResponse', -- listTypesResponse_httpStatus - The response's http status code. newListTypesResponse :: Int -> ListTypesResponse -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text) -- | The Type objects. listTypesResponse_types :: Lens' ListTypesResponse (Maybe [Type]) -- | The response's http status code. listTypesResponse_httpStatus :: Lens' ListTypesResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListTypes.ListTypes instance GHC.Show.Show Amazonka.AppSync.ListTypes.ListTypes instance GHC.Read.Read Amazonka.AppSync.ListTypes.ListTypes instance GHC.Classes.Eq Amazonka.AppSync.ListTypes.ListTypes instance GHC.Generics.Generic Amazonka.AppSync.ListTypes.ListTypesResponse instance GHC.Show.Show Amazonka.AppSync.ListTypes.ListTypesResponse instance GHC.Read.Read Amazonka.AppSync.ListTypes.ListTypesResponse instance GHC.Classes.Eq Amazonka.AppSync.ListTypes.ListTypesResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListTypes.ListTypes instance Control.DeepSeq.NFData Amazonka.AppSync.ListTypes.ListTypesResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListTypes.ListTypes instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListTypes.ListTypes instance Control.DeepSeq.NFData Amazonka.AppSync.ListTypes.ListTypes instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListTypes.ListTypes instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListTypes.ListTypes instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListTypes.ListTypes -- | Lists the tags for a resource. module Amazonka.AppSync.ListTagsForResource -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | The GraphqlApi Amazon Resource Name (ARN). [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text -- | Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', -- listTagsForResource_resourceArn - The GraphqlApi -- Amazon Resource Name (ARN). newListTagsForResource :: Text -> ListTagsForResource -- | The GraphqlApi Amazon Resource Name (ARN). listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse -- | A TagMap object. [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text) -- | The response's http status code. [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int -- | Create a value of ListTagsForResourceResponse 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: -- -- ListTagsForResourceResponse, -- listTagsForResourceResponse_tags - A TagMap object. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | A TagMap object. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance GHC.Show.Show Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance GHC.Read.Read Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance GHC.Classes.Eq Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance GHC.Generics.Generic Amazonka.AppSync.ListTagsForResource.ListTagsForResourceResponse instance GHC.Show.Show Amazonka.AppSync.ListTagsForResource.ListTagsForResourceResponse instance GHC.Read.Read Amazonka.AppSync.ListTagsForResource.ListTagsForResourceResponse instance GHC.Classes.Eq Amazonka.AppSync.ListTagsForResource.ListTagsForResourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.AppSync.ListTagsForResource.ListTagsForResourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListTagsForResource.ListTagsForResource -- | List the resolvers that are associated with a specific function. -- -- This operation returns paginated results. module Amazonka.AppSync.ListResolversByFunction -- | See: newListResolversByFunction smart constructor. data ListResolversByFunction ListResolversByFunction' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListResolversByFunction -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListResolversByFunction'] :: ListResolversByFunction -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListResolversByFunction'] :: ListResolversByFunction -> Maybe Text -- | The API ID. [$sel:apiId:ListResolversByFunction'] :: ListResolversByFunction -> Text -- | The function ID. [$sel:functionId:ListResolversByFunction'] :: ListResolversByFunction -> Text -- | Create a value of ListResolversByFunction 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:maxResults:ListResolversByFunction', -- listResolversByFunction_maxResults - The maximum number of -- results that you want the request to return. -- -- ListResolversByFunction, -- listResolversByFunction_nextToken - An identifier that was -- returned from the previous call to this operation, which you can use -- to return the next set of items in the list. -- -- ListResolversByFunction, listResolversByFunction_apiId - -- The API ID. -- -- ListResolversByFunction, -- listResolversByFunction_functionId - The function ID. newListResolversByFunction :: Text -> Text -> ListResolversByFunction -- | The maximum number of results that you want the request to return. listResolversByFunction_maxResults :: Lens' ListResolversByFunction (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listResolversByFunction_nextToken :: Lens' ListResolversByFunction (Maybe Text) -- | The API ID. listResolversByFunction_apiId :: Lens' ListResolversByFunction Text -- | The function ID. listResolversByFunction_functionId :: Lens' ListResolversByFunction Text -- | See: newListResolversByFunctionResponse smart -- constructor. data ListResolversByFunctionResponse ListResolversByFunctionResponse' :: Maybe Text -> Maybe [Resolver] -> Int -> ListResolversByFunctionResponse -- | An identifier that you can use to return the next set of items in the -- list. [$sel:nextToken:ListResolversByFunctionResponse'] :: ListResolversByFunctionResponse -> Maybe Text -- | The list of resolvers. [$sel:resolvers:ListResolversByFunctionResponse'] :: ListResolversByFunctionResponse -> Maybe [Resolver] -- | The response's http status code. [$sel:httpStatus:ListResolversByFunctionResponse'] :: ListResolversByFunctionResponse -> Int -- | Create a value of ListResolversByFunctionResponse 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: -- -- ListResolversByFunction, -- listResolversByFunctionResponse_nextToken - An identifier that -- you can use to return the next set of items in the list. -- -- $sel:resolvers:ListResolversByFunctionResponse', -- listResolversByFunctionResponse_resolvers - The list of -- resolvers. -- -- $sel:httpStatus:ListResolversByFunctionResponse', -- listResolversByFunctionResponse_httpStatus - The response's -- http status code. newListResolversByFunctionResponse :: Int -> ListResolversByFunctionResponse -- | An identifier that you can use to return the next set of items in the -- list. listResolversByFunctionResponse_nextToken :: Lens' ListResolversByFunctionResponse (Maybe Text) -- | The list of resolvers. listResolversByFunctionResponse_resolvers :: Lens' ListResolversByFunctionResponse (Maybe [Resolver]) -- | The response's http status code. listResolversByFunctionResponse_httpStatus :: Lens' ListResolversByFunctionResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance GHC.Show.Show Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance GHC.Read.Read Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance GHC.Classes.Eq Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance GHC.Generics.Generic Amazonka.AppSync.ListResolversByFunction.ListResolversByFunctionResponse instance GHC.Show.Show Amazonka.AppSync.ListResolversByFunction.ListResolversByFunctionResponse instance GHC.Read.Read Amazonka.AppSync.ListResolversByFunction.ListResolversByFunctionResponse instance GHC.Classes.Eq Amazonka.AppSync.ListResolversByFunction.ListResolversByFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance Control.DeepSeq.NFData Amazonka.AppSync.ListResolversByFunction.ListResolversByFunctionResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance Control.DeepSeq.NFData Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListResolversByFunction.ListResolversByFunction -- | Lists the resolvers for a given API and type. -- -- This operation returns paginated results. module Amazonka.AppSync.ListResolvers -- | See: newListResolvers smart constructor. data ListResolvers ListResolvers' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListResolvers -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListResolvers'] :: ListResolvers -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListResolvers'] :: ListResolvers -> Maybe Text -- | The API ID. [$sel:apiId:ListResolvers'] :: ListResolvers -> Text -- | The type name. [$sel:typeName:ListResolvers'] :: ListResolvers -> Text -- | Create a value of ListResolvers 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:maxResults:ListResolvers', listResolvers_maxResults -- - The maximum number of results that you want the request to return. -- -- ListResolvers, listResolvers_nextToken - An identifier -- that was returned from the previous call to this operation, which you -- can use to return the next set of items in the list. -- -- ListResolvers, listResolvers_apiId - The API ID. -- -- ListResolvers, listResolvers_typeName - The type name. newListResolvers :: Text -> Text -> ListResolvers -- | The maximum number of results that you want the request to return. listResolvers_maxResults :: Lens' ListResolvers (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listResolvers_nextToken :: Lens' ListResolvers (Maybe Text) -- | The API ID. listResolvers_apiId :: Lens' ListResolvers Text -- | The type name. listResolvers_typeName :: Lens' ListResolvers Text -- | See: newListResolversResponse smart constructor. data ListResolversResponse ListResolversResponse' :: Maybe Text -> Maybe [Resolver] -> Int -> ListResolversResponse -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. [$sel:nextToken:ListResolversResponse'] :: ListResolversResponse -> Maybe Text -- | The Resolver objects. [$sel:resolvers:ListResolversResponse'] :: ListResolversResponse -> Maybe [Resolver] -- | The response's http status code. [$sel:httpStatus:ListResolversResponse'] :: ListResolversResponse -> Int -- | Create a value of ListResolversResponse 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: -- -- ListResolvers, listResolversResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:resolvers:ListResolversResponse', -- listResolversResponse_resolvers - The Resolver -- objects. -- -- $sel:httpStatus:ListResolversResponse', -- listResolversResponse_httpStatus - The response's http status -- code. newListResolversResponse :: Int -> ListResolversResponse -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listResolversResponse_nextToken :: Lens' ListResolversResponse (Maybe Text) -- | The Resolver objects. listResolversResponse_resolvers :: Lens' ListResolversResponse (Maybe [Resolver]) -- | The response's http status code. listResolversResponse_httpStatus :: Lens' ListResolversResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListResolvers.ListResolvers instance GHC.Show.Show Amazonka.AppSync.ListResolvers.ListResolvers instance GHC.Read.Read Amazonka.AppSync.ListResolvers.ListResolvers instance GHC.Classes.Eq Amazonka.AppSync.ListResolvers.ListResolvers instance GHC.Generics.Generic Amazonka.AppSync.ListResolvers.ListResolversResponse instance GHC.Show.Show Amazonka.AppSync.ListResolvers.ListResolversResponse instance GHC.Read.Read Amazonka.AppSync.ListResolvers.ListResolversResponse instance GHC.Classes.Eq Amazonka.AppSync.ListResolvers.ListResolversResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListResolvers.ListResolvers instance Control.DeepSeq.NFData Amazonka.AppSync.ListResolvers.ListResolversResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListResolvers.ListResolvers instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListResolvers.ListResolvers instance Control.DeepSeq.NFData Amazonka.AppSync.ListResolvers.ListResolvers instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListResolvers.ListResolvers instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListResolvers.ListResolvers instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListResolvers.ListResolvers -- | Lists your GraphQL APIs. -- -- This operation returns paginated results. module Amazonka.AppSync.ListGraphqlApis -- | See: newListGraphqlApis smart constructor. data ListGraphqlApis ListGraphqlApis' :: Maybe Natural -> Maybe Text -> ListGraphqlApis -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListGraphqlApis'] :: ListGraphqlApis -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListGraphqlApis'] :: ListGraphqlApis -> Maybe Text -- | Create a value of ListGraphqlApis 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:maxResults:ListGraphqlApis', -- listGraphqlApis_maxResults - The maximum number of results that -- you want the request to return. -- -- ListGraphqlApis, listGraphqlApis_nextToken - An -- identifier that was returned from the previous call to this operation, -- which you can use to return the next set of items in the list. newListGraphqlApis :: ListGraphqlApis -- | The maximum number of results that you want the request to return. listGraphqlApis_maxResults :: Lens' ListGraphqlApis (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listGraphqlApis_nextToken :: Lens' ListGraphqlApis (Maybe Text) -- | See: newListGraphqlApisResponse smart constructor. data ListGraphqlApisResponse ListGraphqlApisResponse' :: Maybe [GraphqlApi] -> Maybe Text -> Int -> ListGraphqlApisResponse -- | The GraphqlApi objects. [$sel:graphqlApis:ListGraphqlApisResponse'] :: ListGraphqlApisResponse -> Maybe [GraphqlApi] -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. [$sel:nextToken:ListGraphqlApisResponse'] :: ListGraphqlApisResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListGraphqlApisResponse'] :: ListGraphqlApisResponse -> Int -- | Create a value of ListGraphqlApisResponse 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:graphqlApis:ListGraphqlApisResponse', -- listGraphqlApisResponse_graphqlApis - The GraphqlApi -- objects. -- -- ListGraphqlApis, listGraphqlApisResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:httpStatus:ListGraphqlApisResponse', -- listGraphqlApisResponse_httpStatus - The response's http status -- code. newListGraphqlApisResponse :: Int -> ListGraphqlApisResponse -- | The GraphqlApi objects. listGraphqlApisResponse_graphqlApis :: Lens' ListGraphqlApisResponse (Maybe [GraphqlApi]) -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listGraphqlApisResponse_nextToken :: Lens' ListGraphqlApisResponse (Maybe Text) -- | The response's http status code. listGraphqlApisResponse_httpStatus :: Lens' ListGraphqlApisResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance GHC.Show.Show Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance GHC.Read.Read Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance GHC.Classes.Eq Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance GHC.Generics.Generic Amazonka.AppSync.ListGraphqlApis.ListGraphqlApisResponse instance GHC.Show.Show Amazonka.AppSync.ListGraphqlApis.ListGraphqlApisResponse instance GHC.Read.Read Amazonka.AppSync.ListGraphqlApis.ListGraphqlApisResponse instance GHC.Classes.Eq Amazonka.AppSync.ListGraphqlApis.ListGraphqlApisResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance Control.DeepSeq.NFData Amazonka.AppSync.ListGraphqlApis.ListGraphqlApisResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance Control.DeepSeq.NFData Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListGraphqlApis.ListGraphqlApis -- | List multiple functions. -- -- This operation returns paginated results. module Amazonka.AppSync.ListFunctions -- | See: newListFunctions smart constructor. data ListFunctions ListFunctions' :: Maybe Natural -> Maybe Text -> Text -> ListFunctions -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListFunctions'] :: ListFunctions -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListFunctions'] :: ListFunctions -> Maybe Text -- | The GraphQL API ID. [$sel:apiId:ListFunctions'] :: ListFunctions -> Text -- | Create a value of ListFunctions 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:maxResults:ListFunctions', listFunctions_maxResults -- - The maximum number of results that you want the request to return. -- -- ListFunctions, listFunctions_nextToken - An identifier -- that was returned from the previous call to this operation, which you -- can use to return the next set of items in the list. -- -- ListFunctions, listFunctions_apiId - The GraphQL API ID. newListFunctions :: Text -> ListFunctions -- | The maximum number of results that you want the request to return. listFunctions_maxResults :: Lens' ListFunctions (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listFunctions_nextToken :: Lens' ListFunctions (Maybe Text) -- | The GraphQL API ID. listFunctions_apiId :: Lens' ListFunctions Text -- | See: newListFunctionsResponse smart constructor. data ListFunctionsResponse ListFunctionsResponse' :: Maybe [FunctionConfiguration] -> Maybe Text -> Int -> ListFunctionsResponse -- | A list of Function objects. [$sel:functions:ListFunctionsResponse'] :: ListFunctionsResponse -> Maybe [FunctionConfiguration] -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListFunctionsResponse'] :: ListFunctionsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListFunctionsResponse'] :: ListFunctionsResponse -> Int -- | Create a value of ListFunctionsResponse 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: -- -- ListFunctionsResponse, listFunctionsResponse_functions - -- A list of Function objects. -- -- ListFunctions, listFunctionsResponse_nextToken - An -- identifier that was returned from the previous call to this operation, -- which you can use to return the next set of items in the list. -- -- $sel:httpStatus:ListFunctionsResponse', -- listFunctionsResponse_httpStatus - The response's http status -- code. newListFunctionsResponse :: Int -> ListFunctionsResponse -- | A list of Function objects. listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listFunctionsResponse_nextToken :: Lens' ListFunctionsResponse (Maybe Text) -- | The response's http status code. listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListFunctions.ListFunctions instance GHC.Show.Show Amazonka.AppSync.ListFunctions.ListFunctions instance GHC.Read.Read Amazonka.AppSync.ListFunctions.ListFunctions instance GHC.Classes.Eq Amazonka.AppSync.ListFunctions.ListFunctions instance GHC.Generics.Generic Amazonka.AppSync.ListFunctions.ListFunctionsResponse instance GHC.Show.Show Amazonka.AppSync.ListFunctions.ListFunctionsResponse instance GHC.Read.Read Amazonka.AppSync.ListFunctions.ListFunctionsResponse instance GHC.Classes.Eq Amazonka.AppSync.ListFunctions.ListFunctionsResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListFunctions.ListFunctions instance Control.DeepSeq.NFData Amazonka.AppSync.ListFunctions.ListFunctionsResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListFunctions.ListFunctions instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListFunctions.ListFunctions instance Control.DeepSeq.NFData Amazonka.AppSync.ListFunctions.ListFunctions instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListFunctions.ListFunctions instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListFunctions.ListFunctions instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListFunctions.ListFunctions -- | Lists multiple custom domain names. module Amazonka.AppSync.ListDomainNames -- | See: newListDomainNames smart constructor. data ListDomainNames ListDomainNames' :: Maybe Natural -> Maybe Text -> ListDomainNames -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListDomainNames'] :: ListDomainNames -> Maybe Natural -- | The API token. [$sel:nextToken:ListDomainNames'] :: ListDomainNames -> Maybe Text -- | Create a value of ListDomainNames 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:maxResults:ListDomainNames', -- listDomainNames_maxResults - The maximum number of results that -- you want the request to return. -- -- ListDomainNames, listDomainNames_nextToken - The API -- token. newListDomainNames :: ListDomainNames -- | The maximum number of results that you want the request to return. listDomainNames_maxResults :: Lens' ListDomainNames (Maybe Natural) -- | The API token. listDomainNames_nextToken :: Lens' ListDomainNames (Maybe Text) -- | See: newListDomainNamesResponse smart constructor. data ListDomainNamesResponse ListDomainNamesResponse' :: Maybe [DomainNameConfig] -> Maybe Text -> Int -> ListDomainNamesResponse -- | Lists configurations for multiple domain names. [$sel:domainNameConfigs:ListDomainNamesResponse'] :: ListDomainNamesResponse -> Maybe [DomainNameConfig] -- | The API token. [$sel:nextToken:ListDomainNamesResponse'] :: ListDomainNamesResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListDomainNamesResponse'] :: ListDomainNamesResponse -> Int -- | Create a value of ListDomainNamesResponse 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:domainNameConfigs:ListDomainNamesResponse', -- listDomainNamesResponse_domainNameConfigs - Lists -- configurations for multiple domain names. -- -- ListDomainNames, listDomainNamesResponse_nextToken - The -- API token. -- -- $sel:httpStatus:ListDomainNamesResponse', -- listDomainNamesResponse_httpStatus - The response's http status -- code. newListDomainNamesResponse :: Int -> ListDomainNamesResponse -- | Lists configurations for multiple domain names. listDomainNamesResponse_domainNameConfigs :: Lens' ListDomainNamesResponse (Maybe [DomainNameConfig]) -- | The API token. listDomainNamesResponse_nextToken :: Lens' ListDomainNamesResponse (Maybe Text) -- | The response's http status code. listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListDomainNames.ListDomainNames instance GHC.Show.Show Amazonka.AppSync.ListDomainNames.ListDomainNames instance GHC.Read.Read Amazonka.AppSync.ListDomainNames.ListDomainNames instance GHC.Classes.Eq Amazonka.AppSync.ListDomainNames.ListDomainNames instance GHC.Generics.Generic Amazonka.AppSync.ListDomainNames.ListDomainNamesResponse instance GHC.Show.Show Amazonka.AppSync.ListDomainNames.ListDomainNamesResponse instance GHC.Read.Read Amazonka.AppSync.ListDomainNames.ListDomainNamesResponse instance GHC.Classes.Eq Amazonka.AppSync.ListDomainNames.ListDomainNamesResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListDomainNames.ListDomainNames instance Control.DeepSeq.NFData Amazonka.AppSync.ListDomainNames.ListDomainNamesResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListDomainNames.ListDomainNames instance Control.DeepSeq.NFData Amazonka.AppSync.ListDomainNames.ListDomainNames instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListDomainNames.ListDomainNames instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListDomainNames.ListDomainNames instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListDomainNames.ListDomainNames -- | Lists the data sources for a given API. -- -- This operation returns paginated results. module Amazonka.AppSync.ListDataSources -- | See: newListDataSources smart constructor. data ListDataSources ListDataSources' :: Maybe Natural -> Maybe Text -> Text -> ListDataSources -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListDataSources'] :: ListDataSources -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListDataSources'] :: ListDataSources -> Maybe Text -- | The API ID. [$sel:apiId:ListDataSources'] :: ListDataSources -> Text -- | Create a value of ListDataSources 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:maxResults:ListDataSources', -- listDataSources_maxResults - The maximum number of results that -- you want the request to return. -- -- ListDataSources, listDataSources_nextToken - An -- identifier that was returned from the previous call to this operation, -- which you can use to return the next set of items in the list. -- -- ListDataSources, listDataSources_apiId - The API ID. newListDataSources :: Text -> ListDataSources -- | The maximum number of results that you want the request to return. listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listDataSources_nextToken :: Lens' ListDataSources (Maybe Text) -- | The API ID. listDataSources_apiId :: Lens' ListDataSources Text -- | See: newListDataSourcesResponse smart constructor. data ListDataSourcesResponse ListDataSourcesResponse' :: Maybe [DataSource] -> Maybe Text -> Int -> ListDataSourcesResponse -- | The DataSource objects. [$sel:dataSources:ListDataSourcesResponse'] :: ListDataSourcesResponse -> Maybe [DataSource] -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. [$sel:nextToken:ListDataSourcesResponse'] :: ListDataSourcesResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListDataSourcesResponse'] :: ListDataSourcesResponse -> Int -- | Create a value of ListDataSourcesResponse 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:dataSources:ListDataSourcesResponse', -- listDataSourcesResponse_dataSources - The DataSource -- objects. -- -- ListDataSources, listDataSourcesResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:httpStatus:ListDataSourcesResponse', -- listDataSourcesResponse_httpStatus - The response's http status -- code. newListDataSourcesResponse :: Int -> ListDataSourcesResponse -- | The DataSource objects. listDataSourcesResponse_dataSources :: Lens' ListDataSourcesResponse (Maybe [DataSource]) -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text) -- | The response's http status code. listDataSourcesResponse_httpStatus :: Lens' ListDataSourcesResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListDataSources.ListDataSources instance GHC.Show.Show Amazonka.AppSync.ListDataSources.ListDataSources instance GHC.Read.Read Amazonka.AppSync.ListDataSources.ListDataSources instance GHC.Classes.Eq Amazonka.AppSync.ListDataSources.ListDataSources instance GHC.Generics.Generic Amazonka.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Show.Show Amazonka.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Read.Read Amazonka.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Classes.Eq Amazonka.AppSync.ListDataSources.ListDataSourcesResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListDataSources.ListDataSources instance Control.DeepSeq.NFData Amazonka.AppSync.ListDataSources.ListDataSourcesResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListDataSources.ListDataSources instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListDataSources.ListDataSources instance Control.DeepSeq.NFData Amazonka.AppSync.ListDataSources.ListDataSources instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListDataSources.ListDataSources instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListDataSources.ListDataSources instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListDataSources.ListDataSources -- | Lists the API keys for a given API. -- -- API keys are deleted automatically 60 days after they expire. However, -- they may still be included in the response until they have actually -- been deleted. You can safely call DeleteApiKey to manually -- delete a key before it's automatically deleted. -- -- This operation returns paginated results. module Amazonka.AppSync.ListApiKeys -- | See: newListApiKeys smart constructor. data ListApiKeys ListApiKeys' :: Maybe Natural -> Maybe Text -> Text -> ListApiKeys -- | The maximum number of results that you want the request to return. [$sel:maxResults:ListApiKeys'] :: ListApiKeys -> Maybe Natural -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. [$sel:nextToken:ListApiKeys'] :: ListApiKeys -> Maybe Text -- | The API ID. [$sel:apiId:ListApiKeys'] :: ListApiKeys -> Text -- | Create a value of ListApiKeys 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:maxResults:ListApiKeys', listApiKeys_maxResults - -- The maximum number of results that you want the request to return. -- -- ListApiKeys, listApiKeys_nextToken - An identifier that -- was returned from the previous call to this operation, which you can -- use to return the next set of items in the list. -- -- ListApiKeys, listApiKeys_apiId - The API ID. newListApiKeys :: Text -> ListApiKeys -- | The maximum number of results that you want the request to return. listApiKeys_maxResults :: Lens' ListApiKeys (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listApiKeys_nextToken :: Lens' ListApiKeys (Maybe Text) -- | The API ID. listApiKeys_apiId :: Lens' ListApiKeys Text -- | See: newListApiKeysResponse smart constructor. data ListApiKeysResponse ListApiKeysResponse' :: Maybe [ApiKey] -> Maybe Text -> Int -> ListApiKeysResponse -- | The ApiKey objects. [$sel:apiKeys:ListApiKeysResponse'] :: ListApiKeysResponse -> Maybe [ApiKey] -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. [$sel:nextToken:ListApiKeysResponse'] :: ListApiKeysResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListApiKeysResponse'] :: ListApiKeysResponse -> Int -- | Create a value of ListApiKeysResponse 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:apiKeys:ListApiKeysResponse', -- listApiKeysResponse_apiKeys - The ApiKey objects. -- -- ListApiKeys, listApiKeysResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:httpStatus:ListApiKeysResponse', -- listApiKeysResponse_httpStatus - The response's http status -- code. newListApiKeysResponse :: Int -> ListApiKeysResponse -- | The ApiKey objects. listApiKeysResponse_apiKeys :: Lens' ListApiKeysResponse (Maybe [ApiKey]) -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listApiKeysResponse_nextToken :: Lens' ListApiKeysResponse (Maybe Text) -- | The response's http status code. listApiKeysResponse_httpStatus :: Lens' ListApiKeysResponse Int instance GHC.Generics.Generic Amazonka.AppSync.ListApiKeys.ListApiKeys instance GHC.Show.Show Amazonka.AppSync.ListApiKeys.ListApiKeys instance GHC.Read.Read Amazonka.AppSync.ListApiKeys.ListApiKeys instance GHC.Classes.Eq Amazonka.AppSync.ListApiKeys.ListApiKeys instance GHC.Generics.Generic Amazonka.AppSync.ListApiKeys.ListApiKeysResponse instance GHC.Show.Show Amazonka.AppSync.ListApiKeys.ListApiKeysResponse instance GHC.Read.Read Amazonka.AppSync.ListApiKeys.ListApiKeysResponse instance GHC.Classes.Eq Amazonka.AppSync.ListApiKeys.ListApiKeysResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.ListApiKeys.ListApiKeys instance Control.DeepSeq.NFData Amazonka.AppSync.ListApiKeys.ListApiKeysResponse instance Amazonka.Pager.AWSPager Amazonka.AppSync.ListApiKeys.ListApiKeys instance Data.Hashable.Class.Hashable Amazonka.AppSync.ListApiKeys.ListApiKeys instance Control.DeepSeq.NFData Amazonka.AppSync.ListApiKeys.ListApiKeys instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.ListApiKeys.ListApiKeys instance Amazonka.Data.Path.ToPath Amazonka.AppSync.ListApiKeys.ListApiKeys instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.ListApiKeys.ListApiKeys -- | Retrieves a Type object. module Amazonka.AppSync.GetType -- | See: newGetType smart constructor. data GetType GetType' :: Text -> Text -> TypeDefinitionFormat -> GetType -- | The API ID. [$sel:apiId:GetType'] :: GetType -> Text -- | The type name. [$sel:typeName:GetType'] :: GetType -> Text -- | The type format: SDL or JSON. [$sel:format:GetType'] :: GetType -> TypeDefinitionFormat -- | Create a value of GetType 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: -- -- GetType, getType_apiId - The API ID. -- -- GetType, getType_typeName - The type name. -- -- GetType, getType_format - The type format: SDL or JSON. newGetType :: Text -> Text -> TypeDefinitionFormat -> GetType -- | The API ID. getType_apiId :: Lens' GetType Text -- | The type name. getType_typeName :: Lens' GetType Text -- | The type format: SDL or JSON. getType_format :: Lens' GetType TypeDefinitionFormat -- | See: newGetTypeResponse smart constructor. data GetTypeResponse GetTypeResponse' :: Maybe Type -> Int -> GetTypeResponse -- | The Type object. [$sel:type':GetTypeResponse'] :: GetTypeResponse -> Maybe Type -- | The response's http status code. [$sel:httpStatus:GetTypeResponse'] :: GetTypeResponse -> Int -- | Create a value of GetTypeResponse 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: -- -- GetTypeResponse, getTypeResponse_type - The -- Type object. -- -- $sel:httpStatus:GetTypeResponse', -- getTypeResponse_httpStatus - The response's http status code. newGetTypeResponse :: Int -> GetTypeResponse -- | The Type object. getTypeResponse_type :: Lens' GetTypeResponse (Maybe Type) -- | The response's http status code. getTypeResponse_httpStatus :: Lens' GetTypeResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetType.GetType instance GHC.Show.Show Amazonka.AppSync.GetType.GetType instance GHC.Read.Read Amazonka.AppSync.GetType.GetType instance GHC.Classes.Eq Amazonka.AppSync.GetType.GetType instance GHC.Generics.Generic Amazonka.AppSync.GetType.GetTypeResponse instance GHC.Show.Show Amazonka.AppSync.GetType.GetTypeResponse instance GHC.Read.Read Amazonka.AppSync.GetType.GetTypeResponse instance GHC.Classes.Eq Amazonka.AppSync.GetType.GetTypeResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetType.GetType instance Control.DeepSeq.NFData Amazonka.AppSync.GetType.GetTypeResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetType.GetType instance Control.DeepSeq.NFData Amazonka.AppSync.GetType.GetType instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetType.GetType instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetType.GetType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetType.GetType -- | Retrieves the current status of a schema creation operation. module Amazonka.AppSync.GetSchemaCreationStatus -- | See: newGetSchemaCreationStatus smart constructor. data GetSchemaCreationStatus GetSchemaCreationStatus' :: Text -> GetSchemaCreationStatus -- | The API ID. [$sel:apiId:GetSchemaCreationStatus'] :: GetSchemaCreationStatus -> Text -- | Create a value of GetSchemaCreationStatus 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: -- -- GetSchemaCreationStatus, getSchemaCreationStatus_apiId - -- The API ID. newGetSchemaCreationStatus :: Text -> GetSchemaCreationStatus -- | The API ID. getSchemaCreationStatus_apiId :: Lens' GetSchemaCreationStatus Text -- | See: newGetSchemaCreationStatusResponse smart -- constructor. data GetSchemaCreationStatusResponse GetSchemaCreationStatusResponse' :: Maybe Text -> Maybe SchemaStatus -> Int -> GetSchemaCreationStatusResponse -- | Detailed information about the status of the schema creation -- operation. [$sel:details:GetSchemaCreationStatusResponse'] :: GetSchemaCreationStatusResponse -> Maybe Text -- | The current state of the schema (PROCESSING, FAILED, SUCCESS, or -- NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add -- data. [$sel:status:GetSchemaCreationStatusResponse'] :: GetSchemaCreationStatusResponse -> Maybe SchemaStatus -- | The response's http status code. [$sel:httpStatus:GetSchemaCreationStatusResponse'] :: GetSchemaCreationStatusResponse -> Int -- | Create a value of GetSchemaCreationStatusResponse 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:details:GetSchemaCreationStatusResponse', -- getSchemaCreationStatusResponse_details - Detailed information -- about the status of the schema creation operation. -- -- GetSchemaCreationStatusResponse, -- getSchemaCreationStatusResponse_status - The current state of -- the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the -- schema is in the ACTIVE state, you can add data. -- -- $sel:httpStatus:GetSchemaCreationStatusResponse', -- getSchemaCreationStatusResponse_httpStatus - The response's -- http status code. newGetSchemaCreationStatusResponse :: Int -> GetSchemaCreationStatusResponse -- | Detailed information about the status of the schema creation -- operation. getSchemaCreationStatusResponse_details :: Lens' GetSchemaCreationStatusResponse (Maybe Text) -- | The current state of the schema (PROCESSING, FAILED, SUCCESS, or -- NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add -- data. getSchemaCreationStatusResponse_status :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus) -- | The response's http status code. getSchemaCreationStatusResponse_httpStatus :: Lens' GetSchemaCreationStatusResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Show.Show Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Read.Read Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Classes.Eq Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Generics.Generic Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Show.Show Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Read.Read Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Classes.Eq Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Control.DeepSeq.NFData Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Control.DeepSeq.NFData Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus -- | Retrieves a Resolver object. module Amazonka.AppSync.GetResolver -- | See: newGetResolver smart constructor. data GetResolver GetResolver' :: Text -> Text -> Text -> GetResolver -- | The API ID. [$sel:apiId:GetResolver'] :: GetResolver -> Text -- | The resolver type name. [$sel:typeName:GetResolver'] :: GetResolver -> Text -- | The resolver field name. [$sel:fieldName:GetResolver'] :: GetResolver -> Text -- | Create a value of GetResolver 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: -- -- GetResolver, getResolver_apiId - The API ID. -- -- GetResolver, getResolver_typeName - The resolver type -- name. -- -- GetResolver, getResolver_fieldName - The resolver field -- name. newGetResolver :: Text -> Text -> Text -> GetResolver -- | The API ID. getResolver_apiId :: Lens' GetResolver Text -- | The resolver type name. getResolver_typeName :: Lens' GetResolver Text -- | The resolver field name. getResolver_fieldName :: Lens' GetResolver Text -- | See: newGetResolverResponse smart constructor. data GetResolverResponse GetResolverResponse' :: Maybe Resolver -> Int -> GetResolverResponse -- | The Resolver object. [$sel:resolver:GetResolverResponse'] :: GetResolverResponse -> Maybe Resolver -- | The response's http status code. [$sel:httpStatus:GetResolverResponse'] :: GetResolverResponse -> Int -- | Create a value of GetResolverResponse 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:resolver:GetResolverResponse', -- getResolverResponse_resolver - The Resolver object. -- -- $sel:httpStatus:GetResolverResponse', -- getResolverResponse_httpStatus - The response's http status -- code. newGetResolverResponse :: Int -> GetResolverResponse -- | The Resolver object. getResolverResponse_resolver :: Lens' GetResolverResponse (Maybe Resolver) -- | The response's http status code. getResolverResponse_httpStatus :: Lens' GetResolverResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetResolver.GetResolver instance GHC.Show.Show Amazonka.AppSync.GetResolver.GetResolver instance GHC.Read.Read Amazonka.AppSync.GetResolver.GetResolver instance GHC.Classes.Eq Amazonka.AppSync.GetResolver.GetResolver instance GHC.Generics.Generic Amazonka.AppSync.GetResolver.GetResolverResponse instance GHC.Show.Show Amazonka.AppSync.GetResolver.GetResolverResponse instance GHC.Read.Read Amazonka.AppSync.GetResolver.GetResolverResponse instance GHC.Classes.Eq Amazonka.AppSync.GetResolver.GetResolverResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetResolver.GetResolver instance Control.DeepSeq.NFData Amazonka.AppSync.GetResolver.GetResolverResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetResolver.GetResolver instance Control.DeepSeq.NFData Amazonka.AppSync.GetResolver.GetResolver instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetResolver.GetResolver instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetResolver.GetResolver instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetResolver.GetResolver -- | Retrieves the introspection schema for a GraphQL API. module Amazonka.AppSync.GetIntrospectionSchema -- | See: newGetIntrospectionSchema smart constructor. data GetIntrospectionSchema GetIntrospectionSchema' :: Maybe Bool -> Text -> OutputType -> GetIntrospectionSchema -- | A flag that specifies whether the schema introspection should contain -- directives. [$sel:includeDirectives:GetIntrospectionSchema'] :: GetIntrospectionSchema -> Maybe Bool -- | The API ID. [$sel:apiId:GetIntrospectionSchema'] :: GetIntrospectionSchema -> Text -- | The schema format: SDL or JSON. [$sel:format:GetIntrospectionSchema'] :: GetIntrospectionSchema -> OutputType -- | Create a value of GetIntrospectionSchema 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:includeDirectives:GetIntrospectionSchema', -- getIntrospectionSchema_includeDirectives - A flag that -- specifies whether the schema introspection should contain directives. -- -- GetIntrospectionSchema, getIntrospectionSchema_apiId - -- The API ID. -- -- GetIntrospectionSchema, getIntrospectionSchema_format - -- The schema format: SDL or JSON. newGetIntrospectionSchema :: Text -> OutputType -> GetIntrospectionSchema -- | A flag that specifies whether the schema introspection should contain -- directives. getIntrospectionSchema_includeDirectives :: Lens' GetIntrospectionSchema (Maybe Bool) -- | The API ID. getIntrospectionSchema_apiId :: Lens' GetIntrospectionSchema Text -- | The schema format: SDL or JSON. getIntrospectionSchema_format :: Lens' GetIntrospectionSchema OutputType -- | See: newGetIntrospectionSchemaResponse smart -- constructor. data GetIntrospectionSchemaResponse GetIntrospectionSchemaResponse' :: Maybe ByteString -> Int -> GetIntrospectionSchemaResponse -- | The schema, in GraphQL Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. [$sel:schema:GetIntrospectionSchemaResponse'] :: GetIntrospectionSchemaResponse -> Maybe ByteString -- | The response's http status code. [$sel:httpStatus:GetIntrospectionSchemaResponse'] :: GetIntrospectionSchemaResponse -> Int -- | Create a value of GetIntrospectionSchemaResponse 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: -- -- GetIntrospectionSchemaResponse, -- getIntrospectionSchemaResponse_schema - The schema, in GraphQL -- Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. -- -- $sel:httpStatus:GetIntrospectionSchemaResponse', -- getIntrospectionSchemaResponse_httpStatus - The response's http -- status code. newGetIntrospectionSchemaResponse :: Int -> GetIntrospectionSchemaResponse -- | The schema, in GraphQL Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. getIntrospectionSchemaResponse_schema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString) -- | The response's http status code. getIntrospectionSchemaResponse_httpStatus :: Lens' GetIntrospectionSchemaResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Show.Show Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Read.Read Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Classes.Eq Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Generics.Generic Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Show.Show Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Read.Read Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Classes.Eq Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Control.DeepSeq.NFData Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Control.DeepSeq.NFData Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetIntrospectionSchema.GetIntrospectionSchema -- | Retrieves a GraphqlApi object. module Amazonka.AppSync.GetGraphqlApi -- | See: newGetGraphqlApi smart constructor. data GetGraphqlApi GetGraphqlApi' :: Text -> GetGraphqlApi -- | The API ID for the GraphQL API. [$sel:apiId:GetGraphqlApi'] :: GetGraphqlApi -> Text -- | Create a value of GetGraphqlApi 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: -- -- GetGraphqlApi, getGraphqlApi_apiId - The API ID for the -- GraphQL API. newGetGraphqlApi :: Text -> GetGraphqlApi -- | The API ID for the GraphQL API. getGraphqlApi_apiId :: Lens' GetGraphqlApi Text -- | See: newGetGraphqlApiResponse smart constructor. data GetGraphqlApiResponse GetGraphqlApiResponse' :: Maybe GraphqlApi -> Int -> GetGraphqlApiResponse -- | The GraphqlApi object. [$sel:graphqlApi:GetGraphqlApiResponse'] :: GetGraphqlApiResponse -> Maybe GraphqlApi -- | The response's http status code. [$sel:httpStatus:GetGraphqlApiResponse'] :: GetGraphqlApiResponse -> Int -- | Create a value of GetGraphqlApiResponse 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:graphqlApi:GetGraphqlApiResponse', -- getGraphqlApiResponse_graphqlApi - The GraphqlApi -- object. -- -- $sel:httpStatus:GetGraphqlApiResponse', -- getGraphqlApiResponse_httpStatus - The response's http status -- code. newGetGraphqlApiResponse :: Int -> GetGraphqlApiResponse -- | The GraphqlApi object. getGraphqlApiResponse_graphqlApi :: Lens' GetGraphqlApiResponse (Maybe GraphqlApi) -- | The response's http status code. getGraphqlApiResponse_httpStatus :: Lens' GetGraphqlApiResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance GHC.Show.Show Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance GHC.Read.Read Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance GHC.Classes.Eq Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance GHC.Generics.Generic Amazonka.AppSync.GetGraphqlApi.GetGraphqlApiResponse instance GHC.Show.Show Amazonka.AppSync.GetGraphqlApi.GetGraphqlApiResponse instance GHC.Read.Read Amazonka.AppSync.GetGraphqlApi.GetGraphqlApiResponse instance GHC.Classes.Eq Amazonka.AppSync.GetGraphqlApi.GetGraphqlApiResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.GetGraphqlApi.GetGraphqlApiResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetGraphqlApi.GetGraphqlApi -- | Get a Function. module Amazonka.AppSync.GetFunction -- | See: newGetFunction smart constructor. data GetFunction GetFunction' :: Text -> Text -> GetFunction -- | The GraphQL API ID. [$sel:apiId:GetFunction'] :: GetFunction -> Text -- | The Function ID. [$sel:functionId:GetFunction'] :: GetFunction -> Text -- | Create a value of GetFunction 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: -- -- GetFunction, getFunction_apiId - The GraphQL API ID. -- -- GetFunction, getFunction_functionId - The -- Function ID. newGetFunction :: Text -> Text -> GetFunction -- | The GraphQL API ID. getFunction_apiId :: Lens' GetFunction Text -- | The Function ID. getFunction_functionId :: Lens' GetFunction Text -- | See: newGetFunctionResponse smart constructor. data GetFunctionResponse GetFunctionResponse' :: Maybe FunctionConfiguration -> Int -> GetFunctionResponse -- | The Function object. [$sel:functionConfiguration:GetFunctionResponse'] :: GetFunctionResponse -> Maybe FunctionConfiguration -- | The response's http status code. [$sel:httpStatus:GetFunctionResponse'] :: GetFunctionResponse -> Int -- | Create a value of GetFunctionResponse 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:functionConfiguration:GetFunctionResponse', -- getFunctionResponse_functionConfiguration - The -- Function object. -- -- $sel:httpStatus:GetFunctionResponse', -- getFunctionResponse_httpStatus - The response's http status -- code. newGetFunctionResponse :: Int -> GetFunctionResponse -- | The Function object. getFunctionResponse_functionConfiguration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration) -- | The response's http status code. getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetFunction.GetFunction instance GHC.Show.Show Amazonka.AppSync.GetFunction.GetFunction instance GHC.Read.Read Amazonka.AppSync.GetFunction.GetFunction instance GHC.Classes.Eq Amazonka.AppSync.GetFunction.GetFunction instance GHC.Generics.Generic Amazonka.AppSync.GetFunction.GetFunctionResponse instance GHC.Show.Show Amazonka.AppSync.GetFunction.GetFunctionResponse instance GHC.Read.Read Amazonka.AppSync.GetFunction.GetFunctionResponse instance GHC.Classes.Eq Amazonka.AppSync.GetFunction.GetFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetFunction.GetFunction instance Control.DeepSeq.NFData Amazonka.AppSync.GetFunction.GetFunctionResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetFunction.GetFunction instance Control.DeepSeq.NFData Amazonka.AppSync.GetFunction.GetFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetFunction.GetFunction instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetFunction.GetFunction instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetFunction.GetFunction -- | Retrieves a custom DomainName object. module Amazonka.AppSync.GetDomainName -- | See: newGetDomainName smart constructor. data GetDomainName GetDomainName' :: Text -> GetDomainName -- | The domain name. [$sel:domainName:GetDomainName'] :: GetDomainName -> Text -- | Create a value of GetDomainName 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: -- -- GetDomainName, getDomainName_domainName - The domain -- name. newGetDomainName :: Text -> GetDomainName -- | The domain name. getDomainName_domainName :: Lens' GetDomainName Text -- | See: newGetDomainNameResponse smart constructor. data GetDomainNameResponse GetDomainNameResponse' :: Maybe DomainNameConfig -> Int -> GetDomainNameResponse -- | The configuration for the DomainName. [$sel:domainNameConfig:GetDomainNameResponse'] :: GetDomainNameResponse -> Maybe DomainNameConfig -- | The response's http status code. [$sel:httpStatus:GetDomainNameResponse'] :: GetDomainNameResponse -> Int -- | Create a value of GetDomainNameResponse 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:domainNameConfig:GetDomainNameResponse', -- getDomainNameResponse_domainNameConfig - The configuration for -- the DomainName. -- -- $sel:httpStatus:GetDomainNameResponse', -- getDomainNameResponse_httpStatus - The response's http status -- code. newGetDomainNameResponse :: Int -> GetDomainNameResponse -- | The configuration for the DomainName. getDomainNameResponse_domainNameConfig :: Lens' GetDomainNameResponse (Maybe DomainNameConfig) -- | The response's http status code. getDomainNameResponse_httpStatus :: Lens' GetDomainNameResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetDomainName.GetDomainName instance GHC.Show.Show Amazonka.AppSync.GetDomainName.GetDomainName instance GHC.Read.Read Amazonka.AppSync.GetDomainName.GetDomainName instance GHC.Classes.Eq Amazonka.AppSync.GetDomainName.GetDomainName instance GHC.Generics.Generic Amazonka.AppSync.GetDomainName.GetDomainNameResponse instance GHC.Show.Show Amazonka.AppSync.GetDomainName.GetDomainNameResponse instance GHC.Read.Read Amazonka.AppSync.GetDomainName.GetDomainNameResponse instance GHC.Classes.Eq Amazonka.AppSync.GetDomainName.GetDomainNameResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetDomainName.GetDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.GetDomainName.GetDomainNameResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetDomainName.GetDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.GetDomainName.GetDomainName instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetDomainName.GetDomainName instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetDomainName.GetDomainName instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetDomainName.GetDomainName -- | Retrieves a DataSource object. module Amazonka.AppSync.GetDataSource -- | See: newGetDataSource smart constructor. data GetDataSource GetDataSource' :: Text -> Text -> GetDataSource -- | The API ID. [$sel:apiId:GetDataSource'] :: GetDataSource -> Text -- | The name of the data source. [$sel:name:GetDataSource'] :: GetDataSource -> Text -- | Create a value of GetDataSource 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: -- -- GetDataSource, getDataSource_apiId - The API ID. -- -- GetDataSource, getDataSource_name - The name of the data -- source. newGetDataSource :: Text -> Text -> GetDataSource -- | The API ID. getDataSource_apiId :: Lens' GetDataSource Text -- | The name of the data source. getDataSource_name :: Lens' GetDataSource Text -- | See: newGetDataSourceResponse smart constructor. data GetDataSourceResponse GetDataSourceResponse' :: Maybe DataSource -> Int -> GetDataSourceResponse -- | The DataSource object. [$sel:dataSource:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe DataSource -- | The response's http status code. [$sel:httpStatus:GetDataSourceResponse'] :: GetDataSourceResponse -> Int -- | Create a value of GetDataSourceResponse 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:dataSource:GetDataSourceResponse', -- getDataSourceResponse_dataSource - The DataSource -- object. -- -- $sel:httpStatus:GetDataSourceResponse', -- getDataSourceResponse_httpStatus - The response's http status -- code. newGetDataSourceResponse :: Int -> GetDataSourceResponse -- | The DataSource object. getDataSourceResponse_dataSource :: Lens' GetDataSourceResponse (Maybe DataSource) -- | The response's http status code. getDataSourceResponse_httpStatus :: Lens' GetDataSourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetDataSource.GetDataSource instance GHC.Show.Show Amazonka.AppSync.GetDataSource.GetDataSource instance GHC.Read.Read Amazonka.AppSync.GetDataSource.GetDataSource instance GHC.Classes.Eq Amazonka.AppSync.GetDataSource.GetDataSource instance GHC.Generics.Generic Amazonka.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Show.Show Amazonka.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Read.Read Amazonka.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Classes.Eq Amazonka.AppSync.GetDataSource.GetDataSourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetDataSource.GetDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.GetDataSource.GetDataSourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetDataSource.GetDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.GetDataSource.GetDataSource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetDataSource.GetDataSource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetDataSource.GetDataSource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetDataSource.GetDataSource -- | Retrieves an ApiCache object. module Amazonka.AppSync.GetApiCache -- | Represents the input of a GetApiCache operation. -- -- See: newGetApiCache smart constructor. data GetApiCache GetApiCache' :: Text -> GetApiCache -- | The API ID. [$sel:apiId:GetApiCache'] :: GetApiCache -> Text -- | Create a value of GetApiCache 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: -- -- GetApiCache, getApiCache_apiId - The API ID. newGetApiCache :: Text -> GetApiCache -- | The API ID. getApiCache_apiId :: Lens' GetApiCache Text -- | Represents the output of a GetApiCache operation. -- -- See: newGetApiCacheResponse smart constructor. data GetApiCacheResponse GetApiCacheResponse' :: Maybe ApiCache -> Int -> GetApiCacheResponse -- | The ApiCache object. [$sel:apiCache:GetApiCacheResponse'] :: GetApiCacheResponse -> Maybe ApiCache -- | The response's http status code. [$sel:httpStatus:GetApiCacheResponse'] :: GetApiCacheResponse -> Int -- | Create a value of GetApiCacheResponse 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:apiCache:GetApiCacheResponse', -- getApiCacheResponse_apiCache - The ApiCache object. -- -- $sel:httpStatus:GetApiCacheResponse', -- getApiCacheResponse_httpStatus - The response's http status -- code. newGetApiCacheResponse :: Int -> GetApiCacheResponse -- | The ApiCache object. getApiCacheResponse_apiCache :: Lens' GetApiCacheResponse (Maybe ApiCache) -- | The response's http status code. getApiCacheResponse_httpStatus :: Lens' GetApiCacheResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetApiCache.GetApiCache instance GHC.Show.Show Amazonka.AppSync.GetApiCache.GetApiCache instance GHC.Read.Read Amazonka.AppSync.GetApiCache.GetApiCache instance GHC.Classes.Eq Amazonka.AppSync.GetApiCache.GetApiCache instance GHC.Generics.Generic Amazonka.AppSync.GetApiCache.GetApiCacheResponse instance GHC.Show.Show Amazonka.AppSync.GetApiCache.GetApiCacheResponse instance GHC.Read.Read Amazonka.AppSync.GetApiCache.GetApiCacheResponse instance GHC.Classes.Eq Amazonka.AppSync.GetApiCache.GetApiCacheResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetApiCache.GetApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.GetApiCache.GetApiCacheResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetApiCache.GetApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.GetApiCache.GetApiCache instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetApiCache.GetApiCache instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetApiCache.GetApiCache instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetApiCache.GetApiCache -- | Retrieves an ApiAssociation object. module Amazonka.AppSync.GetApiAssociation -- | See: newGetApiAssociation smart constructor. data GetApiAssociation GetApiAssociation' :: Text -> GetApiAssociation -- | The domain name. [$sel:domainName:GetApiAssociation'] :: GetApiAssociation -> Text -- | Create a value of GetApiAssociation 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: -- -- GetApiAssociation, getApiAssociation_domainName - The -- domain name. newGetApiAssociation :: Text -> GetApiAssociation -- | The domain name. getApiAssociation_domainName :: Lens' GetApiAssociation Text -- | See: newGetApiAssociationResponse smart constructor. data GetApiAssociationResponse GetApiAssociationResponse' :: Maybe ApiAssociation -> Int -> GetApiAssociationResponse -- | The ApiAssociation object. [$sel:apiAssociation:GetApiAssociationResponse'] :: GetApiAssociationResponse -> Maybe ApiAssociation -- | The response's http status code. [$sel:httpStatus:GetApiAssociationResponse'] :: GetApiAssociationResponse -> Int -- | Create a value of GetApiAssociationResponse 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:apiAssociation:GetApiAssociationResponse', -- getApiAssociationResponse_apiAssociation - The -- ApiAssociation object. -- -- $sel:httpStatus:GetApiAssociationResponse', -- getApiAssociationResponse_httpStatus - The response's http -- status code. newGetApiAssociationResponse :: Int -> GetApiAssociationResponse -- | The ApiAssociation object. getApiAssociationResponse_apiAssociation :: Lens' GetApiAssociationResponse (Maybe ApiAssociation) -- | The response's http status code. getApiAssociationResponse_httpStatus :: Lens' GetApiAssociationResponse Int instance GHC.Generics.Generic Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance GHC.Show.Show Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance GHC.Read.Read Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance GHC.Classes.Eq Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance GHC.Generics.Generic Amazonka.AppSync.GetApiAssociation.GetApiAssociationResponse instance GHC.Show.Show Amazonka.AppSync.GetApiAssociation.GetApiAssociationResponse instance GHC.Read.Read Amazonka.AppSync.GetApiAssociation.GetApiAssociationResponse instance GHC.Classes.Eq Amazonka.AppSync.GetApiAssociation.GetApiAssociationResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance Control.DeepSeq.NFData Amazonka.AppSync.GetApiAssociation.GetApiAssociationResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance Control.DeepSeq.NFData Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance Amazonka.Data.Path.ToPath Amazonka.AppSync.GetApiAssociation.GetApiAssociation instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.GetApiAssociation.GetApiAssociation -- | Flushes an ApiCache object. module Amazonka.AppSync.FlushApiCache -- | Represents the input of a FlushApiCache operation. -- -- See: newFlushApiCache smart constructor. data FlushApiCache FlushApiCache' :: Text -> FlushApiCache -- | The API ID. [$sel:apiId:FlushApiCache'] :: FlushApiCache -> Text -- | Create a value of FlushApiCache 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: -- -- FlushApiCache, flushApiCache_apiId - The API ID. newFlushApiCache :: Text -> FlushApiCache -- | The API ID. flushApiCache_apiId :: Lens' FlushApiCache Text -- | Represents the output of a FlushApiCache operation. -- -- See: newFlushApiCacheResponse smart constructor. data FlushApiCacheResponse FlushApiCacheResponse' :: Int -> FlushApiCacheResponse -- | The response's http status code. [$sel:httpStatus:FlushApiCacheResponse'] :: FlushApiCacheResponse -> Int -- | Create a value of FlushApiCacheResponse 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:httpStatus:FlushApiCacheResponse', -- flushApiCacheResponse_httpStatus - The response's http status -- code. newFlushApiCacheResponse :: Int -> FlushApiCacheResponse -- | The response's http status code. flushApiCacheResponse_httpStatus :: Lens' FlushApiCacheResponse Int instance GHC.Generics.Generic Amazonka.AppSync.FlushApiCache.FlushApiCache instance GHC.Show.Show Amazonka.AppSync.FlushApiCache.FlushApiCache instance GHC.Read.Read Amazonka.AppSync.FlushApiCache.FlushApiCache instance GHC.Classes.Eq Amazonka.AppSync.FlushApiCache.FlushApiCache instance GHC.Generics.Generic Amazonka.AppSync.FlushApiCache.FlushApiCacheResponse instance GHC.Show.Show Amazonka.AppSync.FlushApiCache.FlushApiCacheResponse instance GHC.Read.Read Amazonka.AppSync.FlushApiCache.FlushApiCacheResponse instance GHC.Classes.Eq Amazonka.AppSync.FlushApiCache.FlushApiCacheResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.FlushApiCache.FlushApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.FlushApiCache.FlushApiCacheResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.FlushApiCache.FlushApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.FlushApiCache.FlushApiCache instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.FlushApiCache.FlushApiCache instance Amazonka.Data.Path.ToPath Amazonka.AppSync.FlushApiCache.FlushApiCache instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.FlushApiCache.FlushApiCache -- | Evaluates a given template and returns the response. The mapping -- template can be a request or response template. -- -- Request templates take the incoming request after a GraphQL operation -- is parsed and convert it into a request configuration for the selected -- data source operation. Response templates interpret responses from the -- data source and map it to the shape of the GraphQL field output type. -- -- Mapping templates are written in the Apache Velocity Template Language -- (VTL). module Amazonka.AppSync.EvaluateMappingTemplate -- | See: newEvaluateMappingTemplate smart constructor. data EvaluateMappingTemplate EvaluateMappingTemplate' :: Text -> Text -> EvaluateMappingTemplate -- | The mapping template; this can be a request or response template. A -- template is required for this action. [$sel:template:EvaluateMappingTemplate'] :: EvaluateMappingTemplate -> Text -- | The map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. [$sel:context:EvaluateMappingTemplate'] :: EvaluateMappingTemplate -> Text -- | Create a value of EvaluateMappingTemplate 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:template:EvaluateMappingTemplate', -- evaluateMappingTemplate_template - The mapping template; this -- can be a request or response template. A template is required -- for this action. -- -- $sel:context:EvaluateMappingTemplate', -- evaluateMappingTemplate_context - The map that holds all of the -- contextual information for your resolver invocation. A -- context is required for this action. newEvaluateMappingTemplate :: Text -> Text -> EvaluateMappingTemplate -- | The mapping template; this can be a request or response template. A -- template is required for this action. evaluateMappingTemplate_template :: Lens' EvaluateMappingTemplate Text -- | The map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. evaluateMappingTemplate_context :: Lens' EvaluateMappingTemplate Text -- | See: newEvaluateMappingTemplateResponse smart -- constructor. data EvaluateMappingTemplateResponse EvaluateMappingTemplateResponse' :: Maybe ErrorDetail -> Maybe Text -> Maybe [Text] -> Int -> EvaluateMappingTemplateResponse -- | The ErrorDetail object. [$sel:error:EvaluateMappingTemplateResponse'] :: EvaluateMappingTemplateResponse -> Maybe ErrorDetail -- | The mapping template; this can be a request or response template. [$sel:evaluationResult:EvaluateMappingTemplateResponse'] :: EvaluateMappingTemplateResponse -> Maybe Text -- | A list of logs that were generated by calls to util.log.info -- and util.log.error in the evaluated code. [$sel:logs:EvaluateMappingTemplateResponse'] :: EvaluateMappingTemplateResponse -> Maybe [Text] -- | The response's http status code. [$sel:httpStatus:EvaluateMappingTemplateResponse'] :: EvaluateMappingTemplateResponse -> Int -- | Create a value of EvaluateMappingTemplateResponse 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:error:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_error - The -- ErrorDetail object. -- -- $sel:evaluationResult:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_evaluationResult - The mapping -- template; this can be a request or response template. -- -- $sel:logs:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_logs - A list of logs that were -- generated by calls to util.log.info and -- util.log.error in the evaluated code. -- -- $sel:httpStatus:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_httpStatus - The response's -- http status code. newEvaluateMappingTemplateResponse :: Int -> EvaluateMappingTemplateResponse -- | The ErrorDetail object. evaluateMappingTemplateResponse_error :: Lens' EvaluateMappingTemplateResponse (Maybe ErrorDetail) -- | The mapping template; this can be a request or response template. evaluateMappingTemplateResponse_evaluationResult :: Lens' EvaluateMappingTemplateResponse (Maybe Text) -- | A list of logs that were generated by calls to util.log.info -- and util.log.error in the evaluated code. evaluateMappingTemplateResponse_logs :: Lens' EvaluateMappingTemplateResponse (Maybe [Text]) -- | The response's http status code. evaluateMappingTemplateResponse_httpStatus :: Lens' EvaluateMappingTemplateResponse Int instance GHC.Generics.Generic Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance GHC.Show.Show Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance GHC.Read.Read Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance GHC.Classes.Eq Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance GHC.Generics.Generic Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplateResponse instance GHC.Show.Show Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplateResponse instance GHC.Read.Read Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplateResponse instance GHC.Classes.Eq Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplateResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance Control.DeepSeq.NFData Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplateResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance Control.DeepSeq.NFData Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance Amazonka.Data.Path.ToPath Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.EvaluateMappingTemplate.EvaluateMappingTemplate -- | Evaluates the given code and returns the response. The code definition -- requirements depend on the specified runtime. For APPSYNC_JS -- runtimes, the code defines the request and response functions. The -- request function takes the incoming request after a GraphQL operation -- is parsed and converts it into a request configuration for the -- selected data source operation. The response function interprets -- responses from the data source and maps it to the shape of the GraphQL -- field output type. module Amazonka.AppSync.EvaluateCode -- | See: newEvaluateCode smart constructor. data EvaluateCode EvaluateCode' :: Maybe Text -> AppSyncRuntime -> Text -> Text -> EvaluateCode -- | The function within the code to be evaluated. If provided, the valid -- values are request and response. [$sel:function:EvaluateCode'] :: EvaluateCode -> Maybe Text -- | The runtime to be used when evaluating the code. Currently, only the -- APPSYNC_JS runtime is supported. [$sel:runtime:EvaluateCode'] :: EvaluateCode -> AppSyncRuntime -- | The code definition to be evaluated. Note that code and -- runtime are both required for this action. The -- runtime value must be APPSYNC_JS. [$sel:code:EvaluateCode'] :: EvaluateCode -> Text -- | The map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. [$sel:context:EvaluateCode'] :: EvaluateCode -> Text -- | Create a value of EvaluateCode 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:function:EvaluateCode', evaluateCode_function - The -- function within the code to be evaluated. If provided, the valid -- values are request and response. -- -- EvaluateCode, evaluateCode_runtime - The runtime to be -- used when evaluating the code. Currently, only the APPSYNC_JS -- runtime is supported. -- -- EvaluateCode, evaluateCode_code - The code definition to -- be evaluated. Note that code and runtime are both -- required for this action. The runtime value must be -- APPSYNC_JS. -- -- $sel:context:EvaluateCode', evaluateCode_context - The -- map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. newEvaluateCode :: AppSyncRuntime -> Text -> Text -> EvaluateCode -- | The function within the code to be evaluated. If provided, the valid -- values are request and response. evaluateCode_function :: Lens' EvaluateCode (Maybe Text) -- | The runtime to be used when evaluating the code. Currently, only the -- APPSYNC_JS runtime is supported. evaluateCode_runtime :: Lens' EvaluateCode AppSyncRuntime -- | The code definition to be evaluated. Note that code and -- runtime are both required for this action. The -- runtime value must be APPSYNC_JS. evaluateCode_code :: Lens' EvaluateCode Text -- | The map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. evaluateCode_context :: Lens' EvaluateCode Text -- | See: newEvaluateCodeResponse smart constructor. data EvaluateCodeResponse EvaluateCodeResponse' :: Maybe EvaluateCodeErrorDetail -> Maybe Text -> Maybe [Text] -> Int -> EvaluateCodeResponse -- | Contains the payload of the response error. [$sel:error:EvaluateCodeResponse'] :: EvaluateCodeResponse -> Maybe EvaluateCodeErrorDetail -- | The result of the evaluation operation. [$sel:evaluationResult:EvaluateCodeResponse'] :: EvaluateCodeResponse -> Maybe Text -- | A list of logs that were generated by calls to util.log.info -- and util.log.error in the evaluated code. [$sel:logs:EvaluateCodeResponse'] :: EvaluateCodeResponse -> Maybe [Text] -- | The response's http status code. [$sel:httpStatus:EvaluateCodeResponse'] :: EvaluateCodeResponse -> Int -- | Create a value of EvaluateCodeResponse 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:error:EvaluateCodeResponse', -- evaluateCodeResponse_error - Contains the payload of the -- response error. -- -- $sel:evaluationResult:EvaluateCodeResponse', -- evaluateCodeResponse_evaluationResult - The result of the -- evaluation operation. -- -- $sel:logs:EvaluateCodeResponse', -- evaluateCodeResponse_logs - A list of logs that were generated -- by calls to util.log.info and util.log.error in the -- evaluated code. -- -- $sel:httpStatus:EvaluateCodeResponse', -- evaluateCodeResponse_httpStatus - The response's http status -- code. newEvaluateCodeResponse :: Int -> EvaluateCodeResponse -- | Contains the payload of the response error. evaluateCodeResponse_error :: Lens' EvaluateCodeResponse (Maybe EvaluateCodeErrorDetail) -- | The result of the evaluation operation. evaluateCodeResponse_evaluationResult :: Lens' EvaluateCodeResponse (Maybe Text) -- | A list of logs that were generated by calls to util.log.info -- and util.log.error in the evaluated code. evaluateCodeResponse_logs :: Lens' EvaluateCodeResponse (Maybe [Text]) -- | The response's http status code. evaluateCodeResponse_httpStatus :: Lens' EvaluateCodeResponse Int instance GHC.Generics.Generic Amazonka.AppSync.EvaluateCode.EvaluateCode instance GHC.Show.Show Amazonka.AppSync.EvaluateCode.EvaluateCode instance GHC.Read.Read Amazonka.AppSync.EvaluateCode.EvaluateCode instance GHC.Classes.Eq Amazonka.AppSync.EvaluateCode.EvaluateCode instance GHC.Generics.Generic Amazonka.AppSync.EvaluateCode.EvaluateCodeResponse instance GHC.Show.Show Amazonka.AppSync.EvaluateCode.EvaluateCodeResponse instance GHC.Read.Read Amazonka.AppSync.EvaluateCode.EvaluateCodeResponse instance GHC.Classes.Eq Amazonka.AppSync.EvaluateCode.EvaluateCodeResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.EvaluateCode.EvaluateCode instance Control.DeepSeq.NFData Amazonka.AppSync.EvaluateCode.EvaluateCodeResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.EvaluateCode.EvaluateCode instance Control.DeepSeq.NFData Amazonka.AppSync.EvaluateCode.EvaluateCode instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.EvaluateCode.EvaluateCode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.EvaluateCode.EvaluateCode instance Amazonka.Data.Path.ToPath Amazonka.AppSync.EvaluateCode.EvaluateCode instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.EvaluateCode.EvaluateCode -- | Removes an ApiAssociation object from a custom domain. module Amazonka.AppSync.DisassociateApi -- | See: newDisassociateApi smart constructor. data DisassociateApi DisassociateApi' :: Text -> DisassociateApi -- | The domain name. [$sel:domainName:DisassociateApi'] :: DisassociateApi -> Text -- | Create a value of DisassociateApi 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: -- -- DisassociateApi, disassociateApi_domainName - The domain -- name. newDisassociateApi :: Text -> DisassociateApi -- | The domain name. disassociateApi_domainName :: Lens' DisassociateApi Text -- | See: newDisassociateApiResponse smart constructor. data DisassociateApiResponse DisassociateApiResponse' :: Int -> DisassociateApiResponse -- | The response's http status code. [$sel:httpStatus:DisassociateApiResponse'] :: DisassociateApiResponse -> Int -- | Create a value of DisassociateApiResponse 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:httpStatus:DisassociateApiResponse', -- disassociateApiResponse_httpStatus - The response's http status -- code. newDisassociateApiResponse :: Int -> DisassociateApiResponse -- | The response's http status code. disassociateApiResponse_httpStatus :: Lens' DisassociateApiResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DisassociateApi.DisassociateApi instance GHC.Show.Show Amazonka.AppSync.DisassociateApi.DisassociateApi instance GHC.Read.Read Amazonka.AppSync.DisassociateApi.DisassociateApi instance GHC.Classes.Eq Amazonka.AppSync.DisassociateApi.DisassociateApi instance GHC.Generics.Generic Amazonka.AppSync.DisassociateApi.DisassociateApiResponse instance GHC.Show.Show Amazonka.AppSync.DisassociateApi.DisassociateApiResponse instance GHC.Read.Read Amazonka.AppSync.DisassociateApi.DisassociateApiResponse instance GHC.Classes.Eq Amazonka.AppSync.DisassociateApi.DisassociateApiResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DisassociateApi.DisassociateApi instance Control.DeepSeq.NFData Amazonka.AppSync.DisassociateApi.DisassociateApiResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DisassociateApi.DisassociateApi instance Control.DeepSeq.NFData Amazonka.AppSync.DisassociateApi.DisassociateApi instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DisassociateApi.DisassociateApi instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DisassociateApi.DisassociateApi instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DisassociateApi.DisassociateApi -- | Deletes a Type object. module Amazonka.AppSync.DeleteType -- | See: newDeleteType smart constructor. data DeleteType DeleteType' :: Text -> Text -> DeleteType -- | The API ID. [$sel:apiId:DeleteType'] :: DeleteType -> Text -- | The type name. [$sel:typeName:DeleteType'] :: DeleteType -> Text -- | Create a value of DeleteType 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: -- -- DeleteType, deleteType_apiId - The API ID. -- -- DeleteType, deleteType_typeName - The type name. newDeleteType :: Text -> Text -> DeleteType -- | The API ID. deleteType_apiId :: Lens' DeleteType Text -- | The type name. deleteType_typeName :: Lens' DeleteType Text -- | See: newDeleteTypeResponse smart constructor. data DeleteTypeResponse DeleteTypeResponse' :: Int -> DeleteTypeResponse -- | The response's http status code. [$sel:httpStatus:DeleteTypeResponse'] :: DeleteTypeResponse -> Int -- | Create a value of DeleteTypeResponse 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:httpStatus:DeleteTypeResponse', -- deleteTypeResponse_httpStatus - The response's http status -- code. newDeleteTypeResponse :: Int -> DeleteTypeResponse -- | The response's http status code. deleteTypeResponse_httpStatus :: Lens' DeleteTypeResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteType.DeleteType instance GHC.Show.Show Amazonka.AppSync.DeleteType.DeleteType instance GHC.Read.Read Amazonka.AppSync.DeleteType.DeleteType instance GHC.Classes.Eq Amazonka.AppSync.DeleteType.DeleteType instance GHC.Generics.Generic Amazonka.AppSync.DeleteType.DeleteTypeResponse instance GHC.Show.Show Amazonka.AppSync.DeleteType.DeleteTypeResponse instance GHC.Read.Read Amazonka.AppSync.DeleteType.DeleteTypeResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteType.DeleteTypeResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteType.DeleteType instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteType.DeleteTypeResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteType.DeleteType instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteType.DeleteType instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteType.DeleteType instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteType.DeleteType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteType.DeleteType -- | Deletes a Resolver object. module Amazonka.AppSync.DeleteResolver -- | See: newDeleteResolver smart constructor. data DeleteResolver DeleteResolver' :: Text -> Text -> Text -> DeleteResolver -- | The API ID. [$sel:apiId:DeleteResolver'] :: DeleteResolver -> Text -- | The name of the resolver type. [$sel:typeName:DeleteResolver'] :: DeleteResolver -> Text -- | The resolver field name. [$sel:fieldName:DeleteResolver'] :: DeleteResolver -> Text -- | Create a value of DeleteResolver 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: -- -- DeleteResolver, deleteResolver_apiId - The API ID. -- -- DeleteResolver, deleteResolver_typeName - The name of -- the resolver type. -- -- DeleteResolver, deleteResolver_fieldName - The resolver -- field name. newDeleteResolver :: Text -> Text -> Text -> DeleteResolver -- | The API ID. deleteResolver_apiId :: Lens' DeleteResolver Text -- | The name of the resolver type. deleteResolver_typeName :: Lens' DeleteResolver Text -- | The resolver field name. deleteResolver_fieldName :: Lens' DeleteResolver Text -- | See: newDeleteResolverResponse smart constructor. data DeleteResolverResponse DeleteResolverResponse' :: Int -> DeleteResolverResponse -- | The response's http status code. [$sel:httpStatus:DeleteResolverResponse'] :: DeleteResolverResponse -> Int -- | Create a value of DeleteResolverResponse 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:httpStatus:DeleteResolverResponse', -- deleteResolverResponse_httpStatus - The response's http status -- code. newDeleteResolverResponse :: Int -> DeleteResolverResponse -- | The response's http status code. deleteResolverResponse_httpStatus :: Lens' DeleteResolverResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteResolver.DeleteResolver instance GHC.Show.Show Amazonka.AppSync.DeleteResolver.DeleteResolver instance GHC.Read.Read Amazonka.AppSync.DeleteResolver.DeleteResolver instance GHC.Classes.Eq Amazonka.AppSync.DeleteResolver.DeleteResolver instance GHC.Generics.Generic Amazonka.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Show.Show Amazonka.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Read.Read Amazonka.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteResolver.DeleteResolverResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteResolver.DeleteResolver instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteResolver.DeleteResolverResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteResolver.DeleteResolver instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteResolver.DeleteResolver instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteResolver.DeleteResolver instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteResolver.DeleteResolver instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteResolver.DeleteResolver -- | Deletes a GraphqlApi object. module Amazonka.AppSync.DeleteGraphqlApi -- | See: newDeleteGraphqlApi smart constructor. data DeleteGraphqlApi DeleteGraphqlApi' :: Text -> DeleteGraphqlApi -- | The API ID. [$sel:apiId:DeleteGraphqlApi'] :: DeleteGraphqlApi -> Text -- | Create a value of DeleteGraphqlApi 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: -- -- DeleteGraphqlApi, deleteGraphqlApi_apiId - The API ID. newDeleteGraphqlApi :: Text -> DeleteGraphqlApi -- | The API ID. deleteGraphqlApi_apiId :: Lens' DeleteGraphqlApi Text -- | See: newDeleteGraphqlApiResponse smart constructor. data DeleteGraphqlApiResponse DeleteGraphqlApiResponse' :: Int -> DeleteGraphqlApiResponse -- | The response's http status code. [$sel:httpStatus:DeleteGraphqlApiResponse'] :: DeleteGraphqlApiResponse -> Int -- | Create a value of DeleteGraphqlApiResponse 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:httpStatus:DeleteGraphqlApiResponse', -- deleteGraphqlApiResponse_httpStatus - The response's http -- status code. newDeleteGraphqlApiResponse :: Int -> DeleteGraphqlApiResponse -- | The response's http status code. deleteGraphqlApiResponse_httpStatus :: Lens' DeleteGraphqlApiResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance GHC.Show.Show Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance GHC.Read.Read Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance GHC.Classes.Eq Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance GHC.Generics.Generic Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApiResponse instance GHC.Show.Show Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApiResponse instance GHC.Read.Read Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApiResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApiResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApiResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteGraphqlApi.DeleteGraphqlApi -- | Deletes a Function. module Amazonka.AppSync.DeleteFunction -- | See: newDeleteFunction smart constructor. data DeleteFunction DeleteFunction' :: Text -> Text -> DeleteFunction -- | The GraphQL API ID. [$sel:apiId:DeleteFunction'] :: DeleteFunction -> Text -- | The Function ID. [$sel:functionId:DeleteFunction'] :: DeleteFunction -> Text -- | Create a value of DeleteFunction 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: -- -- DeleteFunction, deleteFunction_apiId - The GraphQL API -- ID. -- -- DeleteFunction, deleteFunction_functionId - The -- Function ID. newDeleteFunction :: Text -> Text -> DeleteFunction -- | The GraphQL API ID. deleteFunction_apiId :: Lens' DeleteFunction Text -- | The Function ID. deleteFunction_functionId :: Lens' DeleteFunction Text -- | See: newDeleteFunctionResponse smart constructor. data DeleteFunctionResponse DeleteFunctionResponse' :: Int -> DeleteFunctionResponse -- | The response's http status code. [$sel:httpStatus:DeleteFunctionResponse'] :: DeleteFunctionResponse -> Int -- | Create a value of DeleteFunctionResponse 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:httpStatus:DeleteFunctionResponse', -- deleteFunctionResponse_httpStatus - The response's http status -- code. newDeleteFunctionResponse :: Int -> DeleteFunctionResponse -- | The response's http status code. deleteFunctionResponse_httpStatus :: Lens' DeleteFunctionResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteFunction.DeleteFunction instance GHC.Show.Show Amazonka.AppSync.DeleteFunction.DeleteFunction instance GHC.Read.Read Amazonka.AppSync.DeleteFunction.DeleteFunction instance GHC.Classes.Eq Amazonka.AppSync.DeleteFunction.DeleteFunction instance GHC.Generics.Generic Amazonka.AppSync.DeleteFunction.DeleteFunctionResponse instance GHC.Show.Show Amazonka.AppSync.DeleteFunction.DeleteFunctionResponse instance GHC.Read.Read Amazonka.AppSync.DeleteFunction.DeleteFunctionResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteFunction.DeleteFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteFunction.DeleteFunction instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteFunction.DeleteFunctionResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteFunction.DeleteFunction instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteFunction.DeleteFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteFunction.DeleteFunction instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteFunction.DeleteFunction instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteFunction.DeleteFunction -- | Deletes a custom DomainName object. module Amazonka.AppSync.DeleteDomainName -- | See: newDeleteDomainName smart constructor. data DeleteDomainName DeleteDomainName' :: Text -> DeleteDomainName -- | The domain name. [$sel:domainName:DeleteDomainName'] :: DeleteDomainName -> Text -- | Create a value of DeleteDomainName 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: -- -- DeleteDomainName, deleteDomainName_domainName - The -- domain name. newDeleteDomainName :: Text -> DeleteDomainName -- | The domain name. deleteDomainName_domainName :: Lens' DeleteDomainName Text -- | See: newDeleteDomainNameResponse smart constructor. data DeleteDomainNameResponse DeleteDomainNameResponse' :: Int -> DeleteDomainNameResponse -- | The response's http status code. [$sel:httpStatus:DeleteDomainNameResponse'] :: DeleteDomainNameResponse -> Int -- | Create a value of DeleteDomainNameResponse 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:httpStatus:DeleteDomainNameResponse', -- deleteDomainNameResponse_httpStatus - The response's http -- status code. newDeleteDomainNameResponse :: Int -> DeleteDomainNameResponse -- | The response's http status code. deleteDomainNameResponse_httpStatus :: Lens' DeleteDomainNameResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance GHC.Show.Show Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance GHC.Read.Read Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance GHC.Classes.Eq Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance GHC.Generics.Generic Amazonka.AppSync.DeleteDomainName.DeleteDomainNameResponse instance GHC.Show.Show Amazonka.AppSync.DeleteDomainName.DeleteDomainNameResponse instance GHC.Read.Read Amazonka.AppSync.DeleteDomainName.DeleteDomainNameResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteDomainName.DeleteDomainNameResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteDomainName.DeleteDomainNameResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteDomainName.DeleteDomainName instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteDomainName.DeleteDomainName -- | Deletes a DataSource object. module Amazonka.AppSync.DeleteDataSource -- | See: newDeleteDataSource smart constructor. data DeleteDataSource DeleteDataSource' :: Text -> Text -> DeleteDataSource -- | The API ID. [$sel:apiId:DeleteDataSource'] :: DeleteDataSource -> Text -- | The name of the data source. [$sel:name:DeleteDataSource'] :: DeleteDataSource -> Text -- | Create a value of DeleteDataSource 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: -- -- DeleteDataSource, deleteDataSource_apiId - The API ID. -- -- DeleteDataSource, deleteDataSource_name - The name of -- the data source. newDeleteDataSource :: Text -> Text -> DeleteDataSource -- | The API ID. deleteDataSource_apiId :: Lens' DeleteDataSource Text -- | The name of the data source. deleteDataSource_name :: Lens' DeleteDataSource Text -- | See: newDeleteDataSourceResponse smart constructor. data DeleteDataSourceResponse DeleteDataSourceResponse' :: Int -> DeleteDataSourceResponse -- | The response's http status code. [$sel:httpStatus:DeleteDataSourceResponse'] :: DeleteDataSourceResponse -> Int -- | Create a value of DeleteDataSourceResponse 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:httpStatus:DeleteDataSourceResponse', -- deleteDataSourceResponse_httpStatus - The response's http -- status code. newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse -- | The response's http status code. deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Show.Show Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Read.Read Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Classes.Eq Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Generics.Generic Amazonka.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Show.Show Amazonka.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Read.Read Amazonka.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteDataSource.DeleteDataSourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteDataSource.DeleteDataSourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteDataSource.DeleteDataSource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteDataSource.DeleteDataSource -- | Deletes an API key. module Amazonka.AppSync.DeleteApiKey -- | See: newDeleteApiKey smart constructor. data DeleteApiKey DeleteApiKey' :: Text -> Text -> DeleteApiKey -- | The API ID. [$sel:apiId:DeleteApiKey'] :: DeleteApiKey -> Text -- | The ID for the API key. [$sel:id:DeleteApiKey'] :: DeleteApiKey -> Text -- | Create a value of DeleteApiKey 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: -- -- DeleteApiKey, deleteApiKey_apiId - The API ID. -- -- DeleteApiKey, deleteApiKey_id - The ID for the API key. newDeleteApiKey :: Text -> Text -> DeleteApiKey -- | The API ID. deleteApiKey_apiId :: Lens' DeleteApiKey Text -- | The ID for the API key. deleteApiKey_id :: Lens' DeleteApiKey Text -- | See: newDeleteApiKeyResponse smart constructor. data DeleteApiKeyResponse DeleteApiKeyResponse' :: Int -> DeleteApiKeyResponse -- | The response's http status code. [$sel:httpStatus:DeleteApiKeyResponse'] :: DeleteApiKeyResponse -> Int -- | Create a value of DeleteApiKeyResponse 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:httpStatus:DeleteApiKeyResponse', -- deleteApiKeyResponse_httpStatus - The response's http status -- code. newDeleteApiKeyResponse :: Int -> DeleteApiKeyResponse -- | The response's http status code. deleteApiKeyResponse_httpStatus :: Lens' DeleteApiKeyResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance GHC.Show.Show Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance GHC.Read.Read Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance GHC.Classes.Eq Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance GHC.Generics.Generic Amazonka.AppSync.DeleteApiKey.DeleteApiKeyResponse instance GHC.Show.Show Amazonka.AppSync.DeleteApiKey.DeleteApiKeyResponse instance GHC.Read.Read Amazonka.AppSync.DeleteApiKey.DeleteApiKeyResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteApiKey.DeleteApiKeyResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteApiKey.DeleteApiKeyResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteApiKey.DeleteApiKey instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteApiKey.DeleteApiKey -- | Deletes an ApiCache object. module Amazonka.AppSync.DeleteApiCache -- | Represents the input of a DeleteApiCache operation. -- -- See: newDeleteApiCache smart constructor. data DeleteApiCache DeleteApiCache' :: Text -> DeleteApiCache -- | The API ID. [$sel:apiId:DeleteApiCache'] :: DeleteApiCache -> Text -- | Create a value of DeleteApiCache 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: -- -- DeleteApiCache, deleteApiCache_apiId - The API ID. newDeleteApiCache :: Text -> DeleteApiCache -- | The API ID. deleteApiCache_apiId :: Lens' DeleteApiCache Text -- | Represents the output of a DeleteApiCache operation. -- -- See: newDeleteApiCacheResponse smart constructor. data DeleteApiCacheResponse DeleteApiCacheResponse' :: Int -> DeleteApiCacheResponse -- | The response's http status code. [$sel:httpStatus:DeleteApiCacheResponse'] :: DeleteApiCacheResponse -> Int -- | Create a value of DeleteApiCacheResponse 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:httpStatus:DeleteApiCacheResponse', -- deleteApiCacheResponse_httpStatus - The response's http status -- code. newDeleteApiCacheResponse :: Int -> DeleteApiCacheResponse -- | The response's http status code. deleteApiCacheResponse_httpStatus :: Lens' DeleteApiCacheResponse Int instance GHC.Generics.Generic Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance GHC.Show.Show Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance GHC.Read.Read Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance GHC.Classes.Eq Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance GHC.Generics.Generic Amazonka.AppSync.DeleteApiCache.DeleteApiCacheResponse instance GHC.Show.Show Amazonka.AppSync.DeleteApiCache.DeleteApiCacheResponse instance GHC.Read.Read Amazonka.AppSync.DeleteApiCache.DeleteApiCacheResponse instance GHC.Classes.Eq Amazonka.AppSync.DeleteApiCache.DeleteApiCacheResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteApiCache.DeleteApiCacheResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance Amazonka.Data.Path.ToPath Amazonka.AppSync.DeleteApiCache.DeleteApiCache instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.DeleteApiCache.DeleteApiCache -- | Creates a Type object. module Amazonka.AppSync.CreateType -- | See: newCreateType smart constructor. data CreateType CreateType' :: Text -> Text -> TypeDefinitionFormat -> CreateType -- | The API ID. [$sel:apiId:CreateType'] :: CreateType -> Text -- | The type definition, in GraphQL Schema Definition Language (SDL) -- format. -- -- For more information, see the GraphQL SDL documentation. [$sel:definition:CreateType'] :: CreateType -> Text -- | The type format: SDL or JSON. [$sel:format:CreateType'] :: CreateType -> TypeDefinitionFormat -- | Create a value of CreateType 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: -- -- CreateType, createType_apiId - The API ID. -- -- CreateType, createType_definition - The type definition, -- in GraphQL Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. -- -- CreateType, createType_format - The type format: SDL or -- JSON. newCreateType :: Text -> Text -> TypeDefinitionFormat -> CreateType -- | The API ID. createType_apiId :: Lens' CreateType Text -- | The type definition, in GraphQL Schema Definition Language (SDL) -- format. -- -- For more information, see the GraphQL SDL documentation. createType_definition :: Lens' CreateType Text -- | The type format: SDL or JSON. createType_format :: Lens' CreateType TypeDefinitionFormat -- | See: newCreateTypeResponse smart constructor. data CreateTypeResponse CreateTypeResponse' :: Maybe Type -> Int -> CreateTypeResponse -- | The Type object. [$sel:type':CreateTypeResponse'] :: CreateTypeResponse -> Maybe Type -- | The response's http status code. [$sel:httpStatus:CreateTypeResponse'] :: CreateTypeResponse -> Int -- | Create a value of CreateTypeResponse 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: -- -- CreateTypeResponse, createTypeResponse_type - The -- Type object. -- -- $sel:httpStatus:CreateTypeResponse', -- createTypeResponse_httpStatus - The response's http status -- code. newCreateTypeResponse :: Int -> CreateTypeResponse -- | The Type object. createTypeResponse_type :: Lens' CreateTypeResponse (Maybe Type) -- | The response's http status code. createTypeResponse_httpStatus :: Lens' CreateTypeResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateType.CreateType instance GHC.Show.Show Amazonka.AppSync.CreateType.CreateType instance GHC.Read.Read Amazonka.AppSync.CreateType.CreateType instance GHC.Classes.Eq Amazonka.AppSync.CreateType.CreateType instance GHC.Generics.Generic Amazonka.AppSync.CreateType.CreateTypeResponse instance GHC.Show.Show Amazonka.AppSync.CreateType.CreateTypeResponse instance GHC.Read.Read Amazonka.AppSync.CreateType.CreateTypeResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateType.CreateTypeResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateType.CreateType instance Control.DeepSeq.NFData Amazonka.AppSync.CreateType.CreateTypeResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateType.CreateType instance Control.DeepSeq.NFData Amazonka.AppSync.CreateType.CreateType instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateType.CreateType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateType.CreateType instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateType.CreateType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateType.CreateType -- | Creates a Resolver object. -- -- A resolver converts incoming requests into a format that a data source -- can understand, and converts the data source's responses into GraphQL. module Amazonka.AppSync.CreateResolver -- | See: newCreateResolver smart constructor. data CreateResolver CreateResolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> CreateResolver -- | The caching configuration for the resolver. [$sel:cachingConfig:CreateResolver'] :: CreateResolver -> Maybe CachingConfig -- | 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:code:CreateResolver'] :: CreateResolver -> Maybe Text -- | The name of the data source for which the resolver is being created. [$sel:dataSourceName:CreateResolver'] :: CreateResolver -> Maybe Text -- | The resolver type. -- -- [$sel:kind:CreateResolver'] :: CreateResolver -> Maybe ResolverKind -- | The maximum batching size for a resolver. [$sel:maxBatchSize:CreateResolver'] :: CreateResolver -> Maybe Natural -- | The PipelineConfig. [$sel:pipelineConfig:CreateResolver'] :: CreateResolver -> Maybe PipelineConfig -- | The mapping template to use for requests. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. [$sel:requestMappingTemplate:CreateResolver'] :: CreateResolver -> Maybe Text -- | The mapping template to use for responses from the data source. [$sel:responseMappingTemplate:CreateResolver'] :: CreateResolver -> Maybe Text [$sel:runtime:CreateResolver'] :: CreateResolver -> Maybe AppSyncRuntime -- | The SyncConfig for a resolver attached to a versioned data -- source. [$sel:syncConfig:CreateResolver'] :: CreateResolver -> Maybe SyncConfig -- | The ID for the GraphQL API for which the resolver is being created. [$sel:apiId:CreateResolver'] :: CreateResolver -> Text -- | The name of the Type. [$sel:typeName:CreateResolver'] :: CreateResolver -> Text -- | The name of the field to attach the resolver to. [$sel:fieldName:CreateResolver'] :: CreateResolver -> Text -- | Create a value of CreateResolver 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: -- -- CreateResolver, createResolver_cachingConfig - The -- caching configuration for the resolver. -- -- CreateResolver, createResolver_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. -- -- CreateResolver, createResolver_dataSourceName - The name -- of the data source for which the resolver is being created. -- -- CreateResolver, createResolver_kind - The resolver type. -- -- -- -- CreateResolver, createResolver_maxBatchSize - The -- maximum batching size for a resolver. -- -- CreateResolver, createResolver_pipelineConfig - The -- PipelineConfig. -- -- CreateResolver, createResolver_requestMappingTemplate - -- The mapping template to use for requests. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. -- -- CreateResolver, createResolver_responseMappingTemplate - -- The mapping template to use for responses from the data source. -- -- CreateResolver, createResolver_runtime - Undocumented -- member. -- -- CreateResolver, createResolver_syncConfig - The -- SyncConfig for a resolver attached to a versioned data -- source. -- -- CreateResolver, createResolver_apiId - The ID for the -- GraphQL API for which the resolver is being created. -- -- CreateResolver, createResolver_typeName - The name of -- the Type. -- -- CreateResolver, createResolver_fieldName - The name of -- the field to attach the resolver to. newCreateResolver :: Text -> Text -> Text -> CreateResolver -- | The caching configuration for the resolver. createResolver_cachingConfig :: Lens' CreateResolver (Maybe CachingConfig) -- | 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. createResolver_code :: Lens' CreateResolver (Maybe Text) -- | The name of the data source for which the resolver is being created. createResolver_dataSourceName :: Lens' CreateResolver (Maybe Text) -- | The resolver type. -- -- createResolver_kind :: Lens' CreateResolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. createResolver_maxBatchSize :: Lens' CreateResolver (Maybe Natural) -- | The PipelineConfig. createResolver_pipelineConfig :: Lens' CreateResolver (Maybe PipelineConfig) -- | The mapping template to use for requests. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. createResolver_requestMappingTemplate :: Lens' CreateResolver (Maybe Text) -- | The mapping template to use for responses from the data source. createResolver_responseMappingTemplate :: Lens' CreateResolver (Maybe Text) -- | Undocumented member. createResolver_runtime :: Lens' CreateResolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. createResolver_syncConfig :: Lens' CreateResolver (Maybe SyncConfig) -- | The ID for the GraphQL API for which the resolver is being created. createResolver_apiId :: Lens' CreateResolver Text -- | The name of the Type. createResolver_typeName :: Lens' CreateResolver Text -- | The name of the field to attach the resolver to. createResolver_fieldName :: Lens' CreateResolver Text -- | See: newCreateResolverResponse smart constructor. data CreateResolverResponse CreateResolverResponse' :: Maybe Resolver -> Int -> CreateResolverResponse -- | The Resolver object. [$sel:resolver:CreateResolverResponse'] :: CreateResolverResponse -> Maybe Resolver -- | The response's http status code. [$sel:httpStatus:CreateResolverResponse'] :: CreateResolverResponse -> Int -- | Create a value of CreateResolverResponse 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:resolver:CreateResolverResponse', -- createResolverResponse_resolver - The Resolver object. -- -- $sel:httpStatus:CreateResolverResponse', -- createResolverResponse_httpStatus - The response's http status -- code. newCreateResolverResponse :: Int -> CreateResolverResponse -- | The Resolver object. createResolverResponse_resolver :: Lens' CreateResolverResponse (Maybe Resolver) -- | The response's http status code. createResolverResponse_httpStatus :: Lens' CreateResolverResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateResolver.CreateResolver instance GHC.Show.Show Amazonka.AppSync.CreateResolver.CreateResolver instance GHC.Read.Read Amazonka.AppSync.CreateResolver.CreateResolver instance GHC.Classes.Eq Amazonka.AppSync.CreateResolver.CreateResolver instance GHC.Generics.Generic Amazonka.AppSync.CreateResolver.CreateResolverResponse instance GHC.Show.Show Amazonka.AppSync.CreateResolver.CreateResolverResponse instance GHC.Read.Read Amazonka.AppSync.CreateResolver.CreateResolverResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateResolver.CreateResolverResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateResolver.CreateResolver instance Control.DeepSeq.NFData Amazonka.AppSync.CreateResolver.CreateResolverResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateResolver.CreateResolver instance Control.DeepSeq.NFData Amazonka.AppSync.CreateResolver.CreateResolver instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateResolver.CreateResolver instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateResolver.CreateResolver instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateResolver.CreateResolver instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateResolver.CreateResolver -- | Creates a GraphqlApi object. module Amazonka.AppSync.CreateGraphqlApi -- | See: newCreateGraphqlApi smart constructor. data CreateGraphqlApi CreateGraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe OpenIDConnectConfig -> Maybe (HashMap Text Text) -> Maybe UserPoolConfig -> Maybe Bool -> Text -> AuthenticationType -> CreateGraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. [$sel:additionalAuthenticationProviders:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe [AdditionalAuthenticationProvider] -- | Configuration for Lambda function authorization. [$sel:lambdaAuthorizerConfig:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe LambdaAuthorizerConfig -- | The Amazon CloudWatch Logs configuration. [$sel:logConfig:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe LogConfig -- | The OIDC configuration. [$sel:openIDConnectConfig:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe OpenIDConnectConfig -- | A TagMap object. [$sel:tags:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe (HashMap Text Text) -- | The Amazon Cognito user pool configuration. [$sel:userPoolConfig:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe UserPoolConfig -- | A flag indicating whether to use X-Ray tracing for the -- GraphqlApi. [$sel:xrayEnabled:CreateGraphqlApi'] :: CreateGraphqlApi -> Maybe Bool -- | A user-supplied name for the GraphqlApi. [$sel:name:CreateGraphqlApi'] :: CreateGraphqlApi -> Text -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. [$sel:authenticationType:CreateGraphqlApi'] :: CreateGraphqlApi -> AuthenticationType -- | Create a value of CreateGraphqlApi 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: -- -- CreateGraphqlApi, -- createGraphqlApi_additionalAuthenticationProviders - A list of -- additional authentication providers for the GraphqlApi API. -- -- CreateGraphqlApi, -- createGraphqlApi_lambdaAuthorizerConfig - Configuration for -- Lambda function authorization. -- -- CreateGraphqlApi, createGraphqlApi_logConfig - The -- Amazon CloudWatch Logs configuration. -- -- CreateGraphqlApi, createGraphqlApi_openIDConnectConfig - -- The OIDC configuration. -- -- CreateGraphqlApi, createGraphqlApi_tags - A -- TagMap object. -- -- CreateGraphqlApi, createGraphqlApi_userPoolConfig - The -- Amazon Cognito user pool configuration. -- -- CreateGraphqlApi, createGraphqlApi_xrayEnabled - A flag -- indicating whether to use X-Ray tracing for the GraphqlApi. -- -- CreateGraphqlApi, createGraphqlApi_name - A -- user-supplied name for the GraphqlApi. -- -- CreateGraphqlApi, createGraphqlApi_authenticationType - -- The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. newCreateGraphqlApi :: Text -> AuthenticationType -> CreateGraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. createGraphqlApi_additionalAuthenticationProviders :: Lens' CreateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | Configuration for Lambda function authorization. createGraphqlApi_lambdaAuthorizerConfig :: Lens' CreateGraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration. createGraphqlApi_logConfig :: Lens' CreateGraphqlApi (Maybe LogConfig) -- | The OIDC configuration. createGraphqlApi_openIDConnectConfig :: Lens' CreateGraphqlApi (Maybe OpenIDConnectConfig) -- | A TagMap object. createGraphqlApi_tags :: Lens' CreateGraphqlApi (Maybe (HashMap Text Text)) -- | The Amazon Cognito user pool configuration. createGraphqlApi_userPoolConfig :: Lens' CreateGraphqlApi (Maybe UserPoolConfig) -- | A flag indicating whether to use X-Ray tracing for the -- GraphqlApi. createGraphqlApi_xrayEnabled :: Lens' CreateGraphqlApi (Maybe Bool) -- | A user-supplied name for the GraphqlApi. createGraphqlApi_name :: Lens' CreateGraphqlApi Text -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. createGraphqlApi_authenticationType :: Lens' CreateGraphqlApi AuthenticationType -- | See: newCreateGraphqlApiResponse smart constructor. data CreateGraphqlApiResponse CreateGraphqlApiResponse' :: Maybe GraphqlApi -> Int -> CreateGraphqlApiResponse -- | The GraphqlApi. [$sel:graphqlApi:CreateGraphqlApiResponse'] :: CreateGraphqlApiResponse -> Maybe GraphqlApi -- | The response's http status code. [$sel:httpStatus:CreateGraphqlApiResponse'] :: CreateGraphqlApiResponse -> Int -- | Create a value of CreateGraphqlApiResponse 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:graphqlApi:CreateGraphqlApiResponse', -- createGraphqlApiResponse_graphqlApi - The GraphqlApi. -- -- $sel:httpStatus:CreateGraphqlApiResponse', -- createGraphqlApiResponse_httpStatus - The response's http -- status code. newCreateGraphqlApiResponse :: Int -> CreateGraphqlApiResponse -- | The GraphqlApi. createGraphqlApiResponse_graphqlApi :: Lens' CreateGraphqlApiResponse (Maybe GraphqlApi) -- | The response's http status code. createGraphqlApiResponse_httpStatus :: Lens' CreateGraphqlApiResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance GHC.Show.Show Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance GHC.Read.Read Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance GHC.Classes.Eq Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance GHC.Generics.Generic Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApiResponse instance GHC.Show.Show Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApiResponse instance GHC.Read.Read Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApiResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApiResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApiResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateGraphqlApi.CreateGraphqlApi -- | Creates a Function object. -- -- A function is a reusable entity. You can use multiple functions to -- compose the resolver logic. module Amazonka.AppSync.CreateFunction -- | See: newCreateFunction smart constructor. data CreateFunction CreateFunction' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> CreateFunction -- | 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:code:CreateFunction'] :: CreateFunction -> Maybe Text -- | The Function description. [$sel:description:CreateFunction'] :: CreateFunction -> Maybe Text -- | The version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. [$sel:functionVersion:CreateFunction'] :: CreateFunction -> Maybe Text -- | The maximum batching size for a resolver. [$sel:maxBatchSize:CreateFunction'] :: CreateFunction -> Maybe Natural -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. [$sel:requestMappingTemplate:CreateFunction'] :: CreateFunction -> Maybe Text -- | The Function response mapping template. [$sel:responseMappingTemplate:CreateFunction'] :: CreateFunction -> Maybe Text [$sel:runtime:CreateFunction'] :: CreateFunction -> Maybe AppSyncRuntime [$sel:syncConfig:CreateFunction'] :: CreateFunction -> Maybe SyncConfig -- | The GraphQL API ID. [$sel:apiId:CreateFunction'] :: CreateFunction -> Text -- | The Function name. The function name does not have to be -- unique. [$sel:name:CreateFunction'] :: CreateFunction -> Text -- | The Function DataSource name. [$sel:dataSourceName:CreateFunction'] :: CreateFunction -> Text -- | Create a value of CreateFunction 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: -- -- CreateFunction, createFunction_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. -- -- CreateFunction, createFunction_description - The -- Function description. -- -- CreateFunction, createFunction_functionVersion - The -- version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. -- -- CreateFunction, createFunction_maxBatchSize - The -- maximum batching size for a resolver. -- -- CreateFunction, createFunction_requestMappingTemplate - -- The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. -- -- CreateFunction, createFunction_responseMappingTemplate - -- The Function response mapping template. -- -- CreateFunction, createFunction_runtime - Undocumented -- member. -- -- CreateFunction, createFunction_syncConfig - Undocumented -- member. -- -- CreateFunction, createFunction_apiId - The GraphQL API -- ID. -- -- CreateFunction, createFunction_name - The -- Function name. The function name does not have to be unique. -- -- CreateFunction, createFunction_dataSourceName - The -- Function DataSource name. newCreateFunction :: Text -> Text -> Text -> CreateFunction -- | 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. createFunction_code :: Lens' CreateFunction (Maybe Text) -- | The Function description. createFunction_description :: Lens' CreateFunction (Maybe Text) -- | The version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. createFunction_functionVersion :: Lens' CreateFunction (Maybe Text) -- | The maximum batching size for a resolver. createFunction_maxBatchSize :: Lens' CreateFunction (Maybe Natural) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. createFunction_requestMappingTemplate :: Lens' CreateFunction (Maybe Text) -- | The Function response mapping template. createFunction_responseMappingTemplate :: Lens' CreateFunction (Maybe Text) -- | Undocumented member. createFunction_runtime :: Lens' CreateFunction (Maybe AppSyncRuntime) -- | Undocumented member. createFunction_syncConfig :: Lens' CreateFunction (Maybe SyncConfig) -- | The GraphQL API ID. createFunction_apiId :: Lens' CreateFunction Text -- | The Function name. The function name does not have to be -- unique. createFunction_name :: Lens' CreateFunction Text -- | The Function DataSource name. createFunction_dataSourceName :: Lens' CreateFunction Text -- | See: newCreateFunctionResponse smart constructor. data CreateFunctionResponse CreateFunctionResponse' :: Maybe FunctionConfiguration -> Int -> CreateFunctionResponse -- | The Function object. [$sel:functionConfiguration:CreateFunctionResponse'] :: CreateFunctionResponse -> Maybe FunctionConfiguration -- | The response's http status code. [$sel:httpStatus:CreateFunctionResponse'] :: CreateFunctionResponse -> Int -- | Create a value of CreateFunctionResponse 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:functionConfiguration:CreateFunctionResponse', -- createFunctionResponse_functionConfiguration - The -- Function object. -- -- $sel:httpStatus:CreateFunctionResponse', -- createFunctionResponse_httpStatus - The response's http status -- code. newCreateFunctionResponse :: Int -> CreateFunctionResponse -- | The Function object. createFunctionResponse_functionConfiguration :: Lens' CreateFunctionResponse (Maybe FunctionConfiguration) -- | The response's http status code. createFunctionResponse_httpStatus :: Lens' CreateFunctionResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateFunction.CreateFunction instance GHC.Show.Show Amazonka.AppSync.CreateFunction.CreateFunction instance GHC.Read.Read Amazonka.AppSync.CreateFunction.CreateFunction instance GHC.Classes.Eq Amazonka.AppSync.CreateFunction.CreateFunction instance GHC.Generics.Generic Amazonka.AppSync.CreateFunction.CreateFunctionResponse instance GHC.Show.Show Amazonka.AppSync.CreateFunction.CreateFunctionResponse instance GHC.Read.Read Amazonka.AppSync.CreateFunction.CreateFunctionResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateFunction.CreateFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateFunction.CreateFunction instance Control.DeepSeq.NFData Amazonka.AppSync.CreateFunction.CreateFunctionResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateFunction.CreateFunction instance Control.DeepSeq.NFData Amazonka.AppSync.CreateFunction.CreateFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateFunction.CreateFunction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateFunction.CreateFunction instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateFunction.CreateFunction instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateFunction.CreateFunction -- | Creates a custom DomainName object. module Amazonka.AppSync.CreateDomainName -- | See: newCreateDomainName smart constructor. data CreateDomainName CreateDomainName' :: Maybe Text -> Text -> Text -> CreateDomainName -- | A description of the DomainName. [$sel:description:CreateDomainName'] :: CreateDomainName -> Maybe Text -- | The domain name. [$sel:domainName:CreateDomainName'] :: CreateDomainName -> Text -- | 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:certificateArn:CreateDomainName'] :: CreateDomainName -> Text -- | Create a value of CreateDomainName 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: -- -- CreateDomainName, createDomainName_description - A -- description of the DomainName. -- -- CreateDomainName, createDomainName_domainName - The -- domain name. -- -- CreateDomainName, createDomainName_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. newCreateDomainName :: Text -> Text -> CreateDomainName -- | A description of the DomainName. createDomainName_description :: Lens' CreateDomainName (Maybe Text) -- | The domain name. createDomainName_domainName :: Lens' CreateDomainName Text -- | 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. createDomainName_certificateArn :: Lens' CreateDomainName Text -- | See: newCreateDomainNameResponse smart constructor. data CreateDomainNameResponse CreateDomainNameResponse' :: Maybe DomainNameConfig -> Int -> CreateDomainNameResponse -- | The configuration for the DomainName. [$sel:domainNameConfig:CreateDomainNameResponse'] :: CreateDomainNameResponse -> Maybe DomainNameConfig -- | The response's http status code. [$sel:httpStatus:CreateDomainNameResponse'] :: CreateDomainNameResponse -> Int -- | Create a value of CreateDomainNameResponse 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:domainNameConfig:CreateDomainNameResponse', -- createDomainNameResponse_domainNameConfig - The configuration -- for the DomainName. -- -- $sel:httpStatus:CreateDomainNameResponse', -- createDomainNameResponse_httpStatus - The response's http -- status code. newCreateDomainNameResponse :: Int -> CreateDomainNameResponse -- | The configuration for the DomainName. createDomainNameResponse_domainNameConfig :: Lens' CreateDomainNameResponse (Maybe DomainNameConfig) -- | The response's http status code. createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateDomainName.CreateDomainName instance GHC.Show.Show Amazonka.AppSync.CreateDomainName.CreateDomainName instance GHC.Read.Read Amazonka.AppSync.CreateDomainName.CreateDomainName instance GHC.Classes.Eq Amazonka.AppSync.CreateDomainName.CreateDomainName instance GHC.Generics.Generic Amazonka.AppSync.CreateDomainName.CreateDomainNameResponse instance GHC.Show.Show Amazonka.AppSync.CreateDomainName.CreateDomainNameResponse instance GHC.Read.Read Amazonka.AppSync.CreateDomainName.CreateDomainNameResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateDomainName.CreateDomainNameResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateDomainName.CreateDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.CreateDomainName.CreateDomainNameResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateDomainName.CreateDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.CreateDomainName.CreateDomainName instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateDomainName.CreateDomainName instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateDomainName.CreateDomainName instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateDomainName.CreateDomainName instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateDomainName.CreateDomainName -- | Creates a DataSource object. module Amazonka.AppSync.CreateDataSource -- | See: newCreateDataSource smart constructor. data CreateDataSource CreateDataSource' :: Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Text -> Text -> DataSourceType -> CreateDataSource -- | A description of the DataSource. [$sel:description:CreateDataSource'] :: CreateDataSource -> Maybe Text -- | Amazon DynamoDB settings. [$sel:dynamodbConfig:CreateDataSource'] :: CreateDataSource -> Maybe DynamodbDataSourceConfig -- | Amazon OpenSearch Service settings. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. For new data -- sources, use CreateDataSourceRequest$openSearchServiceConfig to create -- an OpenSearch data source. [$sel:elasticsearchConfig:CreateDataSource'] :: CreateDataSource -> Maybe ElasticsearchDataSourceConfig -- | HTTP endpoint settings. [$sel:httpConfig:CreateDataSource'] :: CreateDataSource -> Maybe HttpDataSourceConfig -- | Lambda settings. [$sel:lambdaConfig:CreateDataSource'] :: CreateDataSource -> Maybe LambdaDataSourceConfig -- | Amazon OpenSearch Service settings. [$sel:openSearchServiceConfig:CreateDataSource'] :: CreateDataSource -> Maybe OpenSearchServiceDataSourceConfig -- | Relational database settings. [$sel:relationalDatabaseConfig:CreateDataSource'] :: CreateDataSource -> Maybe RelationalDatabaseDataSourceConfig -- | 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:serviceRoleArn:CreateDataSource'] :: CreateDataSource -> Maybe Text -- | The API ID for the GraphQL API for the DataSource. [$sel:apiId:CreateDataSource'] :: CreateDataSource -> Text -- | A user-supplied name for the DataSource. [$sel:name:CreateDataSource'] :: CreateDataSource -> Text -- | The type of the DataSource. [$sel:type':CreateDataSource'] :: CreateDataSource -> DataSourceType -- | Create a value of CreateDataSource 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: -- -- CreateDataSource, createDataSource_description - A -- description of the DataSource. -- -- CreateDataSource, createDataSource_dynamodbConfig - -- Amazon DynamoDB settings. -- -- CreateDataSource, createDataSource_elasticsearchConfig - -- Amazon OpenSearch Service settings. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. For new data -- sources, use CreateDataSourceRequest$openSearchServiceConfig to create -- an OpenSearch data source. -- -- CreateDataSource, createDataSource_httpConfig - HTTP -- endpoint settings. -- -- CreateDataSource, createDataSource_lambdaConfig - Lambda -- settings. -- -- CreateDataSource, -- createDataSource_openSearchServiceConfig - Amazon OpenSearch -- Service settings. -- -- CreateDataSource, -- createDataSource_relationalDatabaseConfig - Relational database -- settings. -- -- CreateDataSource, createDataSource_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. -- -- CreateDataSource, createDataSource_apiId - The API ID -- for the GraphQL API for the DataSource. -- -- CreateDataSource, createDataSource_name - A -- user-supplied name for the DataSource. -- -- CreateDataSource, createDataSource_type - The type of -- the DataSource. newCreateDataSource :: Text -> Text -> DataSourceType -> CreateDataSource -- | A description of the DataSource. createDataSource_description :: Lens' CreateDataSource (Maybe Text) -- | Amazon DynamoDB settings. createDataSource_dynamodbConfig :: Lens' CreateDataSource (Maybe DynamodbDataSourceConfig) -- | Amazon OpenSearch Service settings. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. For new data -- sources, use CreateDataSourceRequest$openSearchServiceConfig to create -- an OpenSearch data source. createDataSource_elasticsearchConfig :: Lens' CreateDataSource (Maybe ElasticsearchDataSourceConfig) -- | HTTP endpoint settings. createDataSource_httpConfig :: Lens' CreateDataSource (Maybe HttpDataSourceConfig) -- | Lambda settings. createDataSource_lambdaConfig :: Lens' CreateDataSource (Maybe LambdaDataSourceConfig) -- | Amazon OpenSearch Service settings. createDataSource_openSearchServiceConfig :: Lens' CreateDataSource (Maybe OpenSearchServiceDataSourceConfig) -- | Relational database settings. createDataSource_relationalDatabaseConfig :: Lens' CreateDataSource (Maybe RelationalDatabaseDataSourceConfig) -- | 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. createDataSource_serviceRoleArn :: Lens' CreateDataSource (Maybe Text) -- | The API ID for the GraphQL API for the DataSource. createDataSource_apiId :: Lens' CreateDataSource Text -- | A user-supplied name for the DataSource. createDataSource_name :: Lens' CreateDataSource Text -- | The type of the DataSource. createDataSource_type :: Lens' CreateDataSource DataSourceType -- | See: newCreateDataSourceResponse smart constructor. data CreateDataSourceResponse CreateDataSourceResponse' :: Maybe DataSource -> Int -> CreateDataSourceResponse -- | The DataSource object. [$sel:dataSource:CreateDataSourceResponse'] :: CreateDataSourceResponse -> Maybe DataSource -- | The response's http status code. [$sel:httpStatus:CreateDataSourceResponse'] :: CreateDataSourceResponse -> Int -- | Create a value of CreateDataSourceResponse 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:dataSource:CreateDataSourceResponse', -- createDataSourceResponse_dataSource - The DataSource -- object. -- -- $sel:httpStatus:CreateDataSourceResponse', -- createDataSourceResponse_httpStatus - The response's http -- status code. newCreateDataSourceResponse :: Int -> CreateDataSourceResponse -- | The DataSource object. createDataSourceResponse_dataSource :: Lens' CreateDataSourceResponse (Maybe DataSource) -- | The response's http status code. createDataSourceResponse_httpStatus :: Lens' CreateDataSourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateDataSource.CreateDataSource instance GHC.Show.Show Amazonka.AppSync.CreateDataSource.CreateDataSource instance GHC.Read.Read Amazonka.AppSync.CreateDataSource.CreateDataSource instance GHC.Classes.Eq Amazonka.AppSync.CreateDataSource.CreateDataSource instance GHC.Generics.Generic Amazonka.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Show.Show Amazonka.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Read.Read Amazonka.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateDataSource.CreateDataSourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateDataSource.CreateDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.CreateDataSource.CreateDataSourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateDataSource.CreateDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.CreateDataSource.CreateDataSource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateDataSource.CreateDataSource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateDataSource.CreateDataSource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateDataSource.CreateDataSource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateDataSource.CreateDataSource -- | Creates a unique key that you can distribute to clients who invoke -- your API. module Amazonka.AppSync.CreateApiKey -- | See: newCreateApiKey smart constructor. data CreateApiKey CreateApiKey' :: Maybe Text -> Maybe Integer -> Text -> CreateApiKey -- | A description of the purpose of the API key. [$sel:description:CreateApiKey'] :: CreateApiKey -> Maybe Text -- | From the creation time, the time after which the API key expires. The -- date is represented as seconds since the epoch, rounded down to the -- nearest hour. The default value for this parameter is 7 days from -- creation time. For more information, see . [$sel:expires:CreateApiKey'] :: CreateApiKey -> Maybe Integer -- | The ID for your GraphQL API. [$sel:apiId:CreateApiKey'] :: CreateApiKey -> Text -- | Create a value of CreateApiKey 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: -- -- CreateApiKey, createApiKey_description - A description -- of the purpose of the API key. -- -- CreateApiKey, createApiKey_expires - From the creation -- time, the time after which the API key expires. The date is -- represented as seconds since the epoch, rounded down to the nearest -- hour. The default value for this parameter is 7 days from creation -- time. For more information, see . -- -- CreateApiKey, createApiKey_apiId - The ID for your -- GraphQL API. newCreateApiKey :: Text -> CreateApiKey -- | A description of the purpose of the API key. createApiKey_description :: Lens' CreateApiKey (Maybe Text) -- | From the creation time, the time after which the API key expires. The -- date is represented as seconds since the epoch, rounded down to the -- nearest hour. The default value for this parameter is 7 days from -- creation time. For more information, see . createApiKey_expires :: Lens' CreateApiKey (Maybe Integer) -- | The ID for your GraphQL API. createApiKey_apiId :: Lens' CreateApiKey Text -- | See: newCreateApiKeyResponse smart constructor. data CreateApiKeyResponse CreateApiKeyResponse' :: Maybe ApiKey -> Int -> CreateApiKeyResponse -- | The API key. [$sel:apiKey:CreateApiKeyResponse'] :: CreateApiKeyResponse -> Maybe ApiKey -- | The response's http status code. [$sel:httpStatus:CreateApiKeyResponse'] :: CreateApiKeyResponse -> Int -- | Create a value of CreateApiKeyResponse 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:apiKey:CreateApiKeyResponse', -- createApiKeyResponse_apiKey - The API key. -- -- $sel:httpStatus:CreateApiKeyResponse', -- createApiKeyResponse_httpStatus - The response's http status -- code. newCreateApiKeyResponse :: Int -> CreateApiKeyResponse -- | The API key. createApiKeyResponse_apiKey :: Lens' CreateApiKeyResponse (Maybe ApiKey) -- | The response's http status code. createApiKeyResponse_httpStatus :: Lens' CreateApiKeyResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateApiKey.CreateApiKey instance GHC.Show.Show Amazonka.AppSync.CreateApiKey.CreateApiKey instance GHC.Read.Read Amazonka.AppSync.CreateApiKey.CreateApiKey instance GHC.Classes.Eq Amazonka.AppSync.CreateApiKey.CreateApiKey instance GHC.Generics.Generic Amazonka.AppSync.CreateApiKey.CreateApiKeyResponse instance GHC.Show.Show Amazonka.AppSync.CreateApiKey.CreateApiKeyResponse instance GHC.Read.Read Amazonka.AppSync.CreateApiKey.CreateApiKeyResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateApiKey.CreateApiKeyResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateApiKey.CreateApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.CreateApiKey.CreateApiKeyResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateApiKey.CreateApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.CreateApiKey.CreateApiKey instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateApiKey.CreateApiKey instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateApiKey.CreateApiKey instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateApiKey.CreateApiKey instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateApiKey.CreateApiKey -- | Creates a cache for the GraphQL API. module Amazonka.AppSync.CreateApiCache -- | Represents the input of a CreateApiCache operation. -- -- See: newCreateApiCache smart constructor. data CreateApiCache CreateApiCache' :: Maybe Bool -> Maybe Bool -> Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> CreateApiCache -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. [$sel:atRestEncryptionEnabled:CreateApiCache'] :: CreateApiCache -> Maybe Bool -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. [$sel:transitEncryptionEnabled:CreateApiCache'] :: CreateApiCache -> Maybe Bool -- | The GraphQL API ID. [$sel:apiId:CreateApiCache'] :: CreateApiCache -> Text -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. [$sel:ttl:CreateApiCache'] :: CreateApiCache -> Integer -- | Caching behavior. -- -- [$sel:apiCachingBehavior:CreateApiCache'] :: CreateApiCache -> ApiCachingBehavior -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- [$sel:type':CreateApiCache'] :: CreateApiCache -> ApiCacheType -- | Create a value of CreateApiCache 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: -- -- CreateApiCache, createApiCache_atRestEncryptionEnabled - -- At-rest encryption flag for cache. You cannot update this setting -- after creation. -- -- CreateApiCache, createApiCache_transitEncryptionEnabled -- - Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. -- -- CreateApiCache, createApiCache_apiId - The GraphQL API -- ID. -- -- CreateApiCache, createApiCache_ttl - TTL in seconds for -- cache entries. -- -- Valid values are 1–3,600 seconds. -- -- CreateApiCache, createApiCache_apiCachingBehavior - -- Caching behavior. -- -- -- -- CreateApiCache, createApiCache_type - The cache instance -- type. Valid values are -- -- -- -- 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: -- -- newCreateApiCache :: Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> CreateApiCache -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. createApiCache_atRestEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool) -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. createApiCache_transitEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool) -- | The GraphQL API ID. createApiCache_apiId :: Lens' CreateApiCache Text -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. createApiCache_ttl :: Lens' CreateApiCache Integer -- | Caching behavior. -- -- createApiCache_apiCachingBehavior :: Lens' CreateApiCache ApiCachingBehavior -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- createApiCache_type :: Lens' CreateApiCache ApiCacheType -- | Represents the output of a CreateApiCache operation. -- -- See: newCreateApiCacheResponse smart constructor. data CreateApiCacheResponse CreateApiCacheResponse' :: Maybe ApiCache -> Int -> CreateApiCacheResponse -- | The ApiCache object. [$sel:apiCache:CreateApiCacheResponse'] :: CreateApiCacheResponse -> Maybe ApiCache -- | The response's http status code. [$sel:httpStatus:CreateApiCacheResponse'] :: CreateApiCacheResponse -> Int -- | Create a value of CreateApiCacheResponse 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:apiCache:CreateApiCacheResponse', -- createApiCacheResponse_apiCache - The ApiCache object. -- -- $sel:httpStatus:CreateApiCacheResponse', -- createApiCacheResponse_httpStatus - The response's http status -- code. newCreateApiCacheResponse :: Int -> CreateApiCacheResponse -- | The ApiCache object. createApiCacheResponse_apiCache :: Lens' CreateApiCacheResponse (Maybe ApiCache) -- | The response's http status code. createApiCacheResponse_httpStatus :: Lens' CreateApiCacheResponse Int instance GHC.Generics.Generic Amazonka.AppSync.CreateApiCache.CreateApiCache instance GHC.Show.Show Amazonka.AppSync.CreateApiCache.CreateApiCache instance GHC.Read.Read Amazonka.AppSync.CreateApiCache.CreateApiCache instance GHC.Classes.Eq Amazonka.AppSync.CreateApiCache.CreateApiCache instance GHC.Generics.Generic Amazonka.AppSync.CreateApiCache.CreateApiCacheResponse instance GHC.Show.Show Amazonka.AppSync.CreateApiCache.CreateApiCacheResponse instance GHC.Read.Read Amazonka.AppSync.CreateApiCache.CreateApiCacheResponse instance GHC.Classes.Eq Amazonka.AppSync.CreateApiCache.CreateApiCacheResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.CreateApiCache.CreateApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.CreateApiCache.CreateApiCacheResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.CreateApiCache.CreateApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.CreateApiCache.CreateApiCache instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.CreateApiCache.CreateApiCache instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.CreateApiCache.CreateApiCache instance Amazonka.Data.Path.ToPath Amazonka.AppSync.CreateApiCache.CreateApiCache instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.CreateApiCache.CreateApiCache -- | Maps an endpoint to your custom domain. module Amazonka.AppSync.AssociateApi -- | See: newAssociateApi smart constructor. data AssociateApi AssociateApi' :: Text -> Text -> AssociateApi -- | The domain name. [$sel:domainName:AssociateApi'] :: AssociateApi -> Text -- | The API ID. [$sel:apiId:AssociateApi'] :: AssociateApi -> Text -- | Create a value of AssociateApi 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: -- -- AssociateApi, associateApi_domainName - The domain name. -- -- AssociateApi, associateApi_apiId - The API ID. newAssociateApi :: Text -> Text -> AssociateApi -- | The domain name. associateApi_domainName :: Lens' AssociateApi Text -- | The API ID. associateApi_apiId :: Lens' AssociateApi Text -- | See: newAssociateApiResponse smart constructor. data AssociateApiResponse AssociateApiResponse' :: Maybe ApiAssociation -> Int -> AssociateApiResponse -- | The ApiAssociation object. [$sel:apiAssociation:AssociateApiResponse'] :: AssociateApiResponse -> Maybe ApiAssociation -- | The response's http status code. [$sel:httpStatus:AssociateApiResponse'] :: AssociateApiResponse -> Int -- | Create a value of AssociateApiResponse 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:apiAssociation:AssociateApiResponse', -- associateApiResponse_apiAssociation - The -- ApiAssociation object. -- -- $sel:httpStatus:AssociateApiResponse', -- associateApiResponse_httpStatus - The response's http status -- code. newAssociateApiResponse :: Int -> AssociateApiResponse -- | The ApiAssociation object. associateApiResponse_apiAssociation :: Lens' AssociateApiResponse (Maybe ApiAssociation) -- | The response's http status code. associateApiResponse_httpStatus :: Lens' AssociateApiResponse Int instance GHC.Generics.Generic Amazonka.AppSync.AssociateApi.AssociateApi instance GHC.Show.Show Amazonka.AppSync.AssociateApi.AssociateApi instance GHC.Read.Read Amazonka.AppSync.AssociateApi.AssociateApi instance GHC.Classes.Eq Amazonka.AppSync.AssociateApi.AssociateApi instance GHC.Generics.Generic Amazonka.AppSync.AssociateApi.AssociateApiResponse instance GHC.Show.Show Amazonka.AppSync.AssociateApi.AssociateApiResponse instance GHC.Read.Read Amazonka.AppSync.AssociateApi.AssociateApiResponse instance GHC.Classes.Eq Amazonka.AppSync.AssociateApi.AssociateApiResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.AssociateApi.AssociateApi instance Control.DeepSeq.NFData Amazonka.AppSync.AssociateApi.AssociateApiResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.AssociateApi.AssociateApi instance Control.DeepSeq.NFData Amazonka.AppSync.AssociateApi.AssociateApi instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.AssociateApi.AssociateApi instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.AssociateApi.AssociateApi instance Amazonka.Data.Path.ToPath Amazonka.AppSync.AssociateApi.AssociateApi instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.AssociateApi.AssociateApi -- | Untags a resource. module Amazonka.AppSync.UntagResource -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> NonEmpty Text -> UntagResource -- | The GraphqlApi Amazon Resource Name (ARN). [$sel:resourceArn:UntagResource'] :: UntagResource -> Text -- | A list of TagKey objects. [$sel:tagKeys:UntagResource'] :: UntagResource -> NonEmpty Text -- | Create a value of UntagResource 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:resourceArn:UntagResource', -- untagResource_resourceArn - The GraphqlApi Amazon -- Resource Name (ARN). -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - A -- list of TagKey objects. newUntagResource :: Text -> NonEmpty Text -> UntagResource -- | The GraphqlApi Amazon Resource Name (ARN). untagResource_resourceArn :: Lens' UntagResource Text -- | A list of TagKey objects. untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | The response's http status code. [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int -- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UntagResource.UntagResource instance GHC.Show.Show Amazonka.AppSync.UntagResource.UntagResource instance GHC.Read.Read Amazonka.AppSync.UntagResource.UntagResource instance GHC.Classes.Eq Amazonka.AppSync.UntagResource.UntagResource instance GHC.Generics.Generic Amazonka.AppSync.UntagResource.UntagResourceResponse instance GHC.Show.Show Amazonka.AppSync.UntagResource.UntagResourceResponse instance GHC.Read.Read Amazonka.AppSync.UntagResource.UntagResourceResponse instance GHC.Classes.Eq Amazonka.AppSync.UntagResource.UntagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.AppSync.UntagResource.UntagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.AppSync.UntagResource.UntagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UntagResource.UntagResource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UntagResource.UntagResource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UntagResource.UntagResource -- | Updates the cache for the GraphQL API. module Amazonka.AppSync.UpdateApiCache -- | Represents the input of a UpdateApiCache operation. -- -- See: newUpdateApiCache smart constructor. data UpdateApiCache UpdateApiCache' :: Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> UpdateApiCache -- | The GraphQL API ID. [$sel:apiId:UpdateApiCache'] :: UpdateApiCache -> Text -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. [$sel:ttl:UpdateApiCache'] :: UpdateApiCache -> Integer -- | Caching behavior. -- -- [$sel:apiCachingBehavior:UpdateApiCache'] :: UpdateApiCache -> ApiCachingBehavior -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- [$sel:type':UpdateApiCache'] :: UpdateApiCache -> ApiCacheType -- | Create a value of UpdateApiCache 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: -- -- UpdateApiCache, updateApiCache_apiId - The GraphQL API -- ID. -- -- UpdateApiCache, updateApiCache_ttl - TTL in seconds for -- cache entries. -- -- Valid values are 1–3,600 seconds. -- -- UpdateApiCache, updateApiCache_apiCachingBehavior - -- Caching behavior. -- -- -- -- UpdateApiCache, updateApiCache_type - The cache instance -- type. Valid values are -- -- -- -- 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: -- -- newUpdateApiCache :: Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> UpdateApiCache -- | The GraphQL API ID. updateApiCache_apiId :: Lens' UpdateApiCache Text -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. updateApiCache_ttl :: Lens' UpdateApiCache Integer -- | Caching behavior. -- -- updateApiCache_apiCachingBehavior :: Lens' UpdateApiCache ApiCachingBehavior -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- updateApiCache_type :: Lens' UpdateApiCache ApiCacheType -- | Represents the output of a UpdateApiCache operation. -- -- See: newUpdateApiCacheResponse smart constructor. data UpdateApiCacheResponse UpdateApiCacheResponse' :: Maybe ApiCache -> Int -> UpdateApiCacheResponse -- | The ApiCache object. [$sel:apiCache:UpdateApiCacheResponse'] :: UpdateApiCacheResponse -> Maybe ApiCache -- | The response's http status code. [$sel:httpStatus:UpdateApiCacheResponse'] :: UpdateApiCacheResponse -> Int -- | Create a value of UpdateApiCacheResponse 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:apiCache:UpdateApiCacheResponse', -- updateApiCacheResponse_apiCache - The ApiCache object. -- -- $sel:httpStatus:UpdateApiCacheResponse', -- updateApiCacheResponse_httpStatus - The response's http status -- code. newUpdateApiCacheResponse :: Int -> UpdateApiCacheResponse -- | The ApiCache object. updateApiCacheResponse_apiCache :: Lens' UpdateApiCacheResponse (Maybe ApiCache) -- | The response's http status code. updateApiCacheResponse_httpStatus :: Lens' UpdateApiCacheResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance GHC.Show.Show Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance GHC.Read.Read Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance GHC.Classes.Eq Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance GHC.Generics.Generic Amazonka.AppSync.UpdateApiCache.UpdateApiCacheResponse instance GHC.Show.Show Amazonka.AppSync.UpdateApiCache.UpdateApiCacheResponse instance GHC.Read.Read Amazonka.AppSync.UpdateApiCache.UpdateApiCacheResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateApiCache.UpdateApiCacheResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateApiCache.UpdateApiCacheResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateApiCache.UpdateApiCache instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateApiCache.UpdateApiCache -- | Updates an API key. You can update the key as long as it's not -- deleted. module Amazonka.AppSync.UpdateApiKey -- | See: newUpdateApiKey smart constructor. data UpdateApiKey UpdateApiKey' :: Maybe Text -> Maybe Integer -> Text -> Text -> UpdateApiKey -- | A description of the purpose of the API key. [$sel:description:UpdateApiKey'] :: UpdateApiKey -> Maybe Text -- | From the update time, the time after which the API key expires. The -- date is represented as seconds since the epoch. For more information, -- see . [$sel:expires:UpdateApiKey'] :: UpdateApiKey -> Maybe Integer -- | The ID for the GraphQL API. [$sel:apiId:UpdateApiKey'] :: UpdateApiKey -> Text -- | The API key ID. [$sel:id:UpdateApiKey'] :: UpdateApiKey -> Text -- | Create a value of UpdateApiKey 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: -- -- UpdateApiKey, updateApiKey_description - A description -- of the purpose of the API key. -- -- UpdateApiKey, updateApiKey_expires - From the update -- time, the time after which the API key expires. The date is -- represented as seconds since the epoch. For more information, see . -- -- UpdateApiKey, updateApiKey_apiId - The ID for the -- GraphQL API. -- -- UpdateApiKey, updateApiKey_id - The API key ID. newUpdateApiKey :: Text -> Text -> UpdateApiKey -- | A description of the purpose of the API key. updateApiKey_description :: Lens' UpdateApiKey (Maybe Text) -- | From the update time, the time after which the API key expires. The -- date is represented as seconds since the epoch. For more information, -- see . updateApiKey_expires :: Lens' UpdateApiKey (Maybe Integer) -- | The ID for the GraphQL API. updateApiKey_apiId :: Lens' UpdateApiKey Text -- | The API key ID. updateApiKey_id :: Lens' UpdateApiKey Text -- | See: newUpdateApiKeyResponse smart constructor. data UpdateApiKeyResponse UpdateApiKeyResponse' :: Maybe ApiKey -> Int -> UpdateApiKeyResponse -- | The API key. [$sel:apiKey:UpdateApiKeyResponse'] :: UpdateApiKeyResponse -> Maybe ApiKey -- | The response's http status code. [$sel:httpStatus:UpdateApiKeyResponse'] :: UpdateApiKeyResponse -> Int -- | Create a value of UpdateApiKeyResponse 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:apiKey:UpdateApiKeyResponse', -- updateApiKeyResponse_apiKey - The API key. -- -- $sel:httpStatus:UpdateApiKeyResponse', -- updateApiKeyResponse_httpStatus - The response's http status -- code. newUpdateApiKeyResponse :: Int -> UpdateApiKeyResponse -- | The API key. updateApiKeyResponse_apiKey :: Lens' UpdateApiKeyResponse (Maybe ApiKey) -- | The response's http status code. updateApiKeyResponse_httpStatus :: Lens' UpdateApiKeyResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance GHC.Show.Show Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance GHC.Read.Read Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance GHC.Classes.Eq Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance GHC.Generics.Generic Amazonka.AppSync.UpdateApiKey.UpdateApiKeyResponse instance GHC.Show.Show Amazonka.AppSync.UpdateApiKey.UpdateApiKeyResponse instance GHC.Read.Read Amazonka.AppSync.UpdateApiKey.UpdateApiKeyResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateApiKey.UpdateApiKeyResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateApiKey.UpdateApiKeyResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateApiKey.UpdateApiKey instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateApiKey.UpdateApiKey -- | Updates a DataSource object. module Amazonka.AppSync.UpdateDataSource -- | See: newUpdateDataSource smart constructor. data UpdateDataSource UpdateDataSource' :: Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Text -> Text -> DataSourceType -> UpdateDataSource -- | The new description for the data source. [$sel:description:UpdateDataSource'] :: UpdateDataSource -> Maybe Text -- | The new Amazon DynamoDB configuration. [$sel:dynamodbConfig:UpdateDataSource'] :: UpdateDataSource -> Maybe DynamodbDataSourceConfig -- | The new OpenSearch configuration. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. Instead, use -- UpdateDataSourceRequest$openSearchServiceConfig to update an -- OpenSearch data source. [$sel:elasticsearchConfig:UpdateDataSource'] :: UpdateDataSource -> Maybe ElasticsearchDataSourceConfig -- | The new HTTP endpoint configuration. [$sel:httpConfig:UpdateDataSource'] :: UpdateDataSource -> Maybe HttpDataSourceConfig -- | The new Lambda configuration. [$sel:lambdaConfig:UpdateDataSource'] :: UpdateDataSource -> Maybe LambdaDataSourceConfig -- | The new OpenSearch configuration. [$sel:openSearchServiceConfig:UpdateDataSource'] :: UpdateDataSource -> Maybe OpenSearchServiceDataSourceConfig -- | The new relational database configuration. [$sel:relationalDatabaseConfig:UpdateDataSource'] :: UpdateDataSource -> Maybe RelationalDatabaseDataSourceConfig -- | The new service role Amazon Resource Name (ARN) for the data source. [$sel:serviceRoleArn:UpdateDataSource'] :: UpdateDataSource -> Maybe Text -- | The API ID. [$sel:apiId:UpdateDataSource'] :: UpdateDataSource -> Text -- | The new name for the data source. [$sel:name:UpdateDataSource'] :: UpdateDataSource -> Text -- | The new data source type. [$sel:type':UpdateDataSource'] :: UpdateDataSource -> DataSourceType -- | Create a value of UpdateDataSource 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: -- -- UpdateDataSource, updateDataSource_description - The new -- description for the data source. -- -- UpdateDataSource, updateDataSource_dynamodbConfig - The -- new Amazon DynamoDB configuration. -- -- UpdateDataSource, updateDataSource_elasticsearchConfig - -- The new OpenSearch configuration. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. Instead, use -- UpdateDataSourceRequest$openSearchServiceConfig to update an -- OpenSearch data source. -- -- UpdateDataSource, updateDataSource_httpConfig - The new -- HTTP endpoint configuration. -- -- UpdateDataSource, updateDataSource_lambdaConfig - The -- new Lambda configuration. -- -- UpdateDataSource, -- updateDataSource_openSearchServiceConfig - The new OpenSearch -- configuration. -- -- UpdateDataSource, -- updateDataSource_relationalDatabaseConfig - The new relational -- database configuration. -- -- UpdateDataSource, updateDataSource_serviceRoleArn - The -- new service role Amazon Resource Name (ARN) for the data source. -- -- UpdateDataSource, updateDataSource_apiId - The API ID. -- -- UpdateDataSource, updateDataSource_name - The new name -- for the data source. -- -- UpdateDataSource, updateDataSource_type - The new data -- source type. newUpdateDataSource :: Text -> Text -> DataSourceType -> UpdateDataSource -- | The new description for the data source. updateDataSource_description :: Lens' UpdateDataSource (Maybe Text) -- | The new Amazon DynamoDB configuration. updateDataSource_dynamodbConfig :: Lens' UpdateDataSource (Maybe DynamodbDataSourceConfig) -- | The new OpenSearch configuration. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. Instead, use -- UpdateDataSourceRequest$openSearchServiceConfig to update an -- OpenSearch data source. updateDataSource_elasticsearchConfig :: Lens' UpdateDataSource (Maybe ElasticsearchDataSourceConfig) -- | The new HTTP endpoint configuration. updateDataSource_httpConfig :: Lens' UpdateDataSource (Maybe HttpDataSourceConfig) -- | The new Lambda configuration. updateDataSource_lambdaConfig :: Lens' UpdateDataSource (Maybe LambdaDataSourceConfig) -- | The new OpenSearch configuration. updateDataSource_openSearchServiceConfig :: Lens' UpdateDataSource (Maybe OpenSearchServiceDataSourceConfig) -- | The new relational database configuration. updateDataSource_relationalDatabaseConfig :: Lens' UpdateDataSource (Maybe RelationalDatabaseDataSourceConfig) -- | The new service role Amazon Resource Name (ARN) for the data source. updateDataSource_serviceRoleArn :: Lens' UpdateDataSource (Maybe Text) -- | The API ID. updateDataSource_apiId :: Lens' UpdateDataSource Text -- | The new name for the data source. updateDataSource_name :: Lens' UpdateDataSource Text -- | The new data source type. updateDataSource_type :: Lens' UpdateDataSource DataSourceType -- | See: newUpdateDataSourceResponse smart constructor. data UpdateDataSourceResponse UpdateDataSourceResponse' :: Maybe DataSource -> Int -> UpdateDataSourceResponse -- | The updated DataSource object. [$sel:dataSource:UpdateDataSourceResponse'] :: UpdateDataSourceResponse -> Maybe DataSource -- | The response's http status code. [$sel:httpStatus:UpdateDataSourceResponse'] :: UpdateDataSourceResponse -> Int -- | Create a value of UpdateDataSourceResponse 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:dataSource:UpdateDataSourceResponse', -- updateDataSourceResponse_dataSource - The updated -- DataSource object. -- -- $sel:httpStatus:UpdateDataSourceResponse', -- updateDataSourceResponse_httpStatus - The response's http -- status code. newUpdateDataSourceResponse :: Int -> UpdateDataSourceResponse -- | The updated DataSource object. updateDataSourceResponse_dataSource :: Lens' UpdateDataSourceResponse (Maybe DataSource) -- | The response's http status code. updateDataSourceResponse_httpStatus :: Lens' UpdateDataSourceResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Show.Show Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Read.Read Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Classes.Eq Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Generics.Generic Amazonka.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Show.Show Amazonka.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Read.Read Amazonka.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateDataSource.UpdateDataSourceResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateDataSource.UpdateDataSourceResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateDataSource.UpdateDataSource instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateDataSource.UpdateDataSource -- | Updates a custom DomainName object. module Amazonka.AppSync.UpdateDomainName -- | See: newUpdateDomainName smart constructor. data UpdateDomainName UpdateDomainName' :: Maybe Text -> Text -> UpdateDomainName -- | A description of the DomainName. [$sel:description:UpdateDomainName'] :: UpdateDomainName -> Maybe Text -- | The domain name. [$sel:domainName:UpdateDomainName'] :: UpdateDomainName -> Text -- | Create a value of UpdateDomainName 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: -- -- UpdateDomainName, updateDomainName_description - A -- description of the DomainName. -- -- UpdateDomainName, updateDomainName_domainName - The -- domain name. newUpdateDomainName :: Text -> UpdateDomainName -- | A description of the DomainName. updateDomainName_description :: Lens' UpdateDomainName (Maybe Text) -- | The domain name. updateDomainName_domainName :: Lens' UpdateDomainName Text -- | See: newUpdateDomainNameResponse smart constructor. data UpdateDomainNameResponse UpdateDomainNameResponse' :: Maybe DomainNameConfig -> Int -> UpdateDomainNameResponse -- | The configuration for the DomainName. [$sel:domainNameConfig:UpdateDomainNameResponse'] :: UpdateDomainNameResponse -> Maybe DomainNameConfig -- | The response's http status code. [$sel:httpStatus:UpdateDomainNameResponse'] :: UpdateDomainNameResponse -> Int -- | Create a value of UpdateDomainNameResponse 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:domainNameConfig:UpdateDomainNameResponse', -- updateDomainNameResponse_domainNameConfig - The configuration -- for the DomainName. -- -- $sel:httpStatus:UpdateDomainNameResponse', -- updateDomainNameResponse_httpStatus - The response's http -- status code. newUpdateDomainNameResponse :: Int -> UpdateDomainNameResponse -- | The configuration for the DomainName. updateDomainNameResponse_domainNameConfig :: Lens' UpdateDomainNameResponse (Maybe DomainNameConfig) -- | The response's http status code. updateDomainNameResponse_httpStatus :: Lens' UpdateDomainNameResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance GHC.Show.Show Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance GHC.Read.Read Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance GHC.Classes.Eq Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance GHC.Generics.Generic Amazonka.AppSync.UpdateDomainName.UpdateDomainNameResponse instance GHC.Show.Show Amazonka.AppSync.UpdateDomainName.UpdateDomainNameResponse instance GHC.Read.Read Amazonka.AppSync.UpdateDomainName.UpdateDomainNameResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateDomainName.UpdateDomainNameResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateDomainName.UpdateDomainNameResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateDomainName.UpdateDomainName instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateDomainName.UpdateDomainName -- | Updates a Function object. module Amazonka.AppSync.UpdateFunction -- | See: newUpdateFunction smart constructor. data UpdateFunction UpdateFunction' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> Text -> UpdateFunction -- | 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:code:UpdateFunction'] :: UpdateFunction -> Maybe Text -- | The Function description. [$sel:description:UpdateFunction'] :: UpdateFunction -> Maybe Text -- | The version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. [$sel:functionVersion:UpdateFunction'] :: UpdateFunction -> Maybe Text -- | The maximum batching size for a resolver. [$sel:maxBatchSize:UpdateFunction'] :: UpdateFunction -> Maybe Natural -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. [$sel:requestMappingTemplate:UpdateFunction'] :: UpdateFunction -> Maybe Text -- | The Function request mapping template. [$sel:responseMappingTemplate:UpdateFunction'] :: UpdateFunction -> Maybe Text [$sel:runtime:UpdateFunction'] :: UpdateFunction -> Maybe AppSyncRuntime [$sel:syncConfig:UpdateFunction'] :: UpdateFunction -> Maybe SyncConfig -- | The GraphQL API ID. [$sel:apiId:UpdateFunction'] :: UpdateFunction -> Text -- | The Function name. [$sel:name:UpdateFunction'] :: UpdateFunction -> Text -- | The function ID. [$sel:functionId:UpdateFunction'] :: UpdateFunction -> Text -- | The Function DataSource name. [$sel:dataSourceName:UpdateFunction'] :: UpdateFunction -> Text -- | Create a value of UpdateFunction 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: -- -- UpdateFunction, updateFunction_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. -- -- UpdateFunction, updateFunction_description - The -- Function description. -- -- UpdateFunction, updateFunction_functionVersion - The -- version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. -- -- UpdateFunction, updateFunction_maxBatchSize - The -- maximum batching size for a resolver. -- -- UpdateFunction, updateFunction_requestMappingTemplate - -- The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. -- -- UpdateFunction, updateFunction_responseMappingTemplate - -- The Function request mapping template. -- -- UpdateFunction, updateFunction_runtime - Undocumented -- member. -- -- UpdateFunction, updateFunction_syncConfig - Undocumented -- member. -- -- UpdateFunction, updateFunction_apiId - The GraphQL API -- ID. -- -- UpdateFunction, updateFunction_name - The -- Function name. -- -- UpdateFunction, updateFunction_functionId - The function -- ID. -- -- UpdateFunction, updateFunction_dataSourceName - The -- Function DataSource name. newUpdateFunction :: Text -> Text -> Text -> Text -> UpdateFunction -- | 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. updateFunction_code :: Lens' UpdateFunction (Maybe Text) -- | The Function description. updateFunction_description :: Lens' UpdateFunction (Maybe Text) -- | The version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. updateFunction_functionVersion :: Lens' UpdateFunction (Maybe Text) -- | The maximum batching size for a resolver. updateFunction_maxBatchSize :: Lens' UpdateFunction (Maybe Natural) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. updateFunction_requestMappingTemplate :: Lens' UpdateFunction (Maybe Text) -- | The Function request mapping template. updateFunction_responseMappingTemplate :: Lens' UpdateFunction (Maybe Text) -- | Undocumented member. updateFunction_runtime :: Lens' UpdateFunction (Maybe AppSyncRuntime) -- | Undocumented member. updateFunction_syncConfig :: Lens' UpdateFunction (Maybe SyncConfig) -- | The GraphQL API ID. updateFunction_apiId :: Lens' UpdateFunction Text -- | The Function name. updateFunction_name :: Lens' UpdateFunction Text -- | The function ID. updateFunction_functionId :: Lens' UpdateFunction Text -- | The Function DataSource name. updateFunction_dataSourceName :: Lens' UpdateFunction Text -- | See: newUpdateFunctionResponse smart constructor. data UpdateFunctionResponse UpdateFunctionResponse' :: Maybe FunctionConfiguration -> Int -> UpdateFunctionResponse -- | The Function object. [$sel:functionConfiguration:UpdateFunctionResponse'] :: UpdateFunctionResponse -> Maybe FunctionConfiguration -- | The response's http status code. [$sel:httpStatus:UpdateFunctionResponse'] :: UpdateFunctionResponse -> Int -- | Create a value of UpdateFunctionResponse 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:functionConfiguration:UpdateFunctionResponse', -- updateFunctionResponse_functionConfiguration - The -- Function object. -- -- $sel:httpStatus:UpdateFunctionResponse', -- updateFunctionResponse_httpStatus - The response's http status -- code. newUpdateFunctionResponse :: Int -> UpdateFunctionResponse -- | The Function object. updateFunctionResponse_functionConfiguration :: Lens' UpdateFunctionResponse (Maybe FunctionConfiguration) -- | The response's http status code. updateFunctionResponse_httpStatus :: Lens' UpdateFunctionResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateFunction.UpdateFunction instance GHC.Show.Show Amazonka.AppSync.UpdateFunction.UpdateFunction instance GHC.Read.Read Amazonka.AppSync.UpdateFunction.UpdateFunction instance GHC.Classes.Eq Amazonka.AppSync.UpdateFunction.UpdateFunction instance GHC.Generics.Generic Amazonka.AppSync.UpdateFunction.UpdateFunctionResponse instance GHC.Show.Show Amazonka.AppSync.UpdateFunction.UpdateFunctionResponse instance GHC.Read.Read Amazonka.AppSync.UpdateFunction.UpdateFunctionResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateFunction.UpdateFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateFunction.UpdateFunction instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateFunction.UpdateFunctionResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateFunction.UpdateFunction instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateFunction.UpdateFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateFunction.UpdateFunction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateFunction.UpdateFunction instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateFunction.UpdateFunction instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateFunction.UpdateFunction -- | Updates a GraphqlApi object. module Amazonka.AppSync.UpdateGraphqlApi -- | See: newUpdateGraphqlApi smart constructor. data UpdateGraphqlApi UpdateGraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe OpenIDConnectConfig -> Maybe UserPoolConfig -> Maybe Bool -> Text -> Text -> UpdateGraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. [$sel:additionalAuthenticationProviders:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe [AdditionalAuthenticationProvider] -- | The new authentication type for the GraphqlApi object. [$sel:authenticationType:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe AuthenticationType -- | Configuration for Lambda function authorization. [$sel:lambdaAuthorizerConfig:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe LambdaAuthorizerConfig -- | The Amazon CloudWatch Logs configuration for the GraphqlApi -- object. [$sel:logConfig:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe LogConfig -- | The OpenID Connect configuration for the GraphqlApi object. [$sel:openIDConnectConfig:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe OpenIDConnectConfig -- | The new Amazon Cognito user pool configuration for the -- ~GraphqlApi object. [$sel:userPoolConfig:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe UserPoolConfig -- | A flag indicating whether to use X-Ray tracing for the -- GraphqlApi. [$sel:xrayEnabled:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Maybe Bool -- | The API ID. [$sel:apiId:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Text -- | The new name for the GraphqlApi object. [$sel:name:UpdateGraphqlApi'] :: UpdateGraphqlApi -> Text -- | Create a value of UpdateGraphqlApi 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: -- -- UpdateGraphqlApi, -- updateGraphqlApi_additionalAuthenticationProviders - A list of -- additional authentication providers for the GraphqlApi API. -- -- UpdateGraphqlApi, updateGraphqlApi_authenticationType - -- The new authentication type for the GraphqlApi object. -- -- UpdateGraphqlApi, -- updateGraphqlApi_lambdaAuthorizerConfig - Configuration for -- Lambda function authorization. -- -- UpdateGraphqlApi, updateGraphqlApi_logConfig - The -- Amazon CloudWatch Logs configuration for the GraphqlApi -- object. -- -- UpdateGraphqlApi, updateGraphqlApi_openIDConnectConfig - -- The OpenID Connect configuration for the GraphqlApi object. -- -- UpdateGraphqlApi, updateGraphqlApi_userPoolConfig - The -- new Amazon Cognito user pool configuration for the -- ~GraphqlApi object. -- -- UpdateGraphqlApi, updateGraphqlApi_xrayEnabled - A flag -- indicating whether to use X-Ray tracing for the GraphqlApi. -- -- UpdateGraphqlApi, updateGraphqlApi_apiId - The API ID. -- -- UpdateGraphqlApi, updateGraphqlApi_name - The new name -- for the GraphqlApi object. newUpdateGraphqlApi :: Text -> Text -> UpdateGraphqlApi -- | A list of additional authentication providers for the -- GraphqlApi API. updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | The new authentication type for the GraphqlApi object. updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration for the GraphqlApi -- object. updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig) -- | The OpenID Connect configuration for the GraphqlApi object. updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig) -- | The new Amazon Cognito user pool configuration for the -- ~GraphqlApi object. updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig) -- | A flag indicating whether to use X-Ray tracing for the -- GraphqlApi. updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool) -- | The API ID. updateGraphqlApi_apiId :: Lens' UpdateGraphqlApi Text -- | The new name for the GraphqlApi object. updateGraphqlApi_name :: Lens' UpdateGraphqlApi Text -- | See: newUpdateGraphqlApiResponse smart constructor. data UpdateGraphqlApiResponse UpdateGraphqlApiResponse' :: Maybe GraphqlApi -> Int -> UpdateGraphqlApiResponse -- | The updated GraphqlApi object. [$sel:graphqlApi:UpdateGraphqlApiResponse'] :: UpdateGraphqlApiResponse -> Maybe GraphqlApi -- | The response's http status code. [$sel:httpStatus:UpdateGraphqlApiResponse'] :: UpdateGraphqlApiResponse -> Int -- | Create a value of UpdateGraphqlApiResponse 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:graphqlApi:UpdateGraphqlApiResponse', -- updateGraphqlApiResponse_graphqlApi - The updated -- GraphqlApi object. -- -- $sel:httpStatus:UpdateGraphqlApiResponse', -- updateGraphqlApiResponse_httpStatus - The response's http -- status code. newUpdateGraphqlApiResponse :: Int -> UpdateGraphqlApiResponse -- | The updated GraphqlApi object. updateGraphqlApiResponse_graphqlApi :: Lens' UpdateGraphqlApiResponse (Maybe GraphqlApi) -- | The response's http status code. updateGraphqlApiResponse_httpStatus :: Lens' UpdateGraphqlApiResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance GHC.Show.Show Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance GHC.Read.Read Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance GHC.Classes.Eq Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance GHC.Generics.Generic Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApiResponse instance GHC.Show.Show Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApiResponse instance GHC.Read.Read Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApiResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApiResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApiResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateGraphqlApi.UpdateGraphqlApi -- | Updates a Resolver object. module Amazonka.AppSync.UpdateResolver -- | See: newUpdateResolver smart constructor. data UpdateResolver UpdateResolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> UpdateResolver -- | The caching configuration for the resolver. [$sel:cachingConfig:UpdateResolver'] :: UpdateResolver -> Maybe CachingConfig -- | 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:code:UpdateResolver'] :: UpdateResolver -> Maybe Text -- | The new data source name. [$sel:dataSourceName:UpdateResolver'] :: UpdateResolver -> Maybe Text -- | The resolver type. -- -- [$sel:kind:UpdateResolver'] :: UpdateResolver -> Maybe ResolverKind -- | The maximum batching size for a resolver. [$sel:maxBatchSize:UpdateResolver'] :: UpdateResolver -> Maybe Natural -- | The PipelineConfig. [$sel:pipelineConfig:UpdateResolver'] :: UpdateResolver -> Maybe PipelineConfig -- | The new request mapping template. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. [$sel:requestMappingTemplate:UpdateResolver'] :: UpdateResolver -> Maybe Text -- | The new response mapping template. [$sel:responseMappingTemplate:UpdateResolver'] :: UpdateResolver -> Maybe Text [$sel:runtime:UpdateResolver'] :: UpdateResolver -> Maybe AppSyncRuntime -- | The SyncConfig for a resolver attached to a versioned data -- source. [$sel:syncConfig:UpdateResolver'] :: UpdateResolver -> Maybe SyncConfig -- | The API ID. [$sel:apiId:UpdateResolver'] :: UpdateResolver -> Text -- | The new type name. [$sel:typeName:UpdateResolver'] :: UpdateResolver -> Text -- | The new field name. [$sel:fieldName:UpdateResolver'] :: UpdateResolver -> Text -- | Create a value of UpdateResolver 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: -- -- UpdateResolver, updateResolver_cachingConfig - The -- caching configuration for the resolver. -- -- UpdateResolver, updateResolver_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. -- -- UpdateResolver, updateResolver_dataSourceName - The new -- data source name. -- -- UpdateResolver, updateResolver_kind - The resolver type. -- -- -- -- UpdateResolver, updateResolver_maxBatchSize - The -- maximum batching size for a resolver. -- -- UpdateResolver, updateResolver_pipelineConfig - The -- PipelineConfig. -- -- UpdateResolver, updateResolver_requestMappingTemplate - -- The new request mapping template. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. -- -- UpdateResolver, updateResolver_responseMappingTemplate - -- The new response mapping template. -- -- UpdateResolver, updateResolver_runtime - Undocumented -- member. -- -- UpdateResolver, updateResolver_syncConfig - The -- SyncConfig for a resolver attached to a versioned data -- source. -- -- UpdateResolver, updateResolver_apiId - The API ID. -- -- UpdateResolver, updateResolver_typeName - The new type -- name. -- -- UpdateResolver, updateResolver_fieldName - The new field -- name. newUpdateResolver :: Text -> Text -> Text -> UpdateResolver -- | The caching configuration for the resolver. updateResolver_cachingConfig :: Lens' UpdateResolver (Maybe CachingConfig) -- | 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. updateResolver_code :: Lens' UpdateResolver (Maybe Text) -- | The new data source name. updateResolver_dataSourceName :: Lens' UpdateResolver (Maybe Text) -- | The resolver type. -- -- updateResolver_kind :: Lens' UpdateResolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. updateResolver_maxBatchSize :: Lens' UpdateResolver (Maybe Natural) -- | The PipelineConfig. updateResolver_pipelineConfig :: Lens' UpdateResolver (Maybe PipelineConfig) -- | The new request mapping template. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. updateResolver_requestMappingTemplate :: Lens' UpdateResolver (Maybe Text) -- | The new response mapping template. updateResolver_responseMappingTemplate :: Lens' UpdateResolver (Maybe Text) -- | Undocumented member. updateResolver_runtime :: Lens' UpdateResolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. updateResolver_syncConfig :: Lens' UpdateResolver (Maybe SyncConfig) -- | The API ID. updateResolver_apiId :: Lens' UpdateResolver Text -- | The new type name. updateResolver_typeName :: Lens' UpdateResolver Text -- | The new field name. updateResolver_fieldName :: Lens' UpdateResolver Text -- | See: newUpdateResolverResponse smart constructor. data UpdateResolverResponse UpdateResolverResponse' :: Maybe Resolver -> Int -> UpdateResolverResponse -- | The updated Resolver object. [$sel:resolver:UpdateResolverResponse'] :: UpdateResolverResponse -> Maybe Resolver -- | The response's http status code. [$sel:httpStatus:UpdateResolverResponse'] :: UpdateResolverResponse -> Int -- | Create a value of UpdateResolverResponse 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:resolver:UpdateResolverResponse', -- updateResolverResponse_resolver - The updated Resolver -- object. -- -- $sel:httpStatus:UpdateResolverResponse', -- updateResolverResponse_httpStatus - The response's http status -- code. newUpdateResolverResponse :: Int -> UpdateResolverResponse -- | The updated Resolver object. updateResolverResponse_resolver :: Lens' UpdateResolverResponse (Maybe Resolver) -- | The response's http status code. updateResolverResponse_httpStatus :: Lens' UpdateResolverResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateResolver.UpdateResolver instance GHC.Show.Show Amazonka.AppSync.UpdateResolver.UpdateResolver instance GHC.Read.Read Amazonka.AppSync.UpdateResolver.UpdateResolver instance GHC.Classes.Eq Amazonka.AppSync.UpdateResolver.UpdateResolver instance GHC.Generics.Generic Amazonka.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Show.Show Amazonka.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Read.Read Amazonka.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateResolver.UpdateResolverResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateResolver.UpdateResolver instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateResolver.UpdateResolverResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateResolver.UpdateResolver instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateResolver.UpdateResolver instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateResolver.UpdateResolver instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateResolver.UpdateResolver instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateResolver.UpdateResolver instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateResolver.UpdateResolver -- | Updates a Type object. module Amazonka.AppSync.UpdateType -- | See: newUpdateType smart constructor. data UpdateType UpdateType' :: Maybe Text -> Text -> Text -> TypeDefinitionFormat -> UpdateType -- | The new definition. [$sel:definition:UpdateType'] :: UpdateType -> Maybe Text -- | The API ID. [$sel:apiId:UpdateType'] :: UpdateType -> Text -- | The new type name. [$sel:typeName:UpdateType'] :: UpdateType -> Text -- | The new type format: SDL or JSON. [$sel:format:UpdateType'] :: UpdateType -> TypeDefinitionFormat -- | Create a value of UpdateType 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: -- -- UpdateType, updateType_definition - The new definition. -- -- UpdateType, updateType_apiId - The API ID. -- -- UpdateType, updateType_typeName - The new type name. -- -- UpdateType, updateType_format - The new type format: SDL -- or JSON. newUpdateType :: Text -> Text -> TypeDefinitionFormat -> UpdateType -- | The new definition. updateType_definition :: Lens' UpdateType (Maybe Text) -- | The API ID. updateType_apiId :: Lens' UpdateType Text -- | The new type name. updateType_typeName :: Lens' UpdateType Text -- | The new type format: SDL or JSON. updateType_format :: Lens' UpdateType TypeDefinitionFormat -- | See: newUpdateTypeResponse smart constructor. data UpdateTypeResponse UpdateTypeResponse' :: Maybe Type -> Int -> UpdateTypeResponse -- | The updated Type object. [$sel:type':UpdateTypeResponse'] :: UpdateTypeResponse -> Maybe Type -- | The response's http status code. [$sel:httpStatus:UpdateTypeResponse'] :: UpdateTypeResponse -> Int -- | Create a value of UpdateTypeResponse 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: -- -- UpdateTypeResponse, updateTypeResponse_type - The -- updated Type object. -- -- $sel:httpStatus:UpdateTypeResponse', -- updateTypeResponse_httpStatus - The response's http status -- code. newUpdateTypeResponse :: Int -> UpdateTypeResponse -- | The updated Type object. updateTypeResponse_type :: Lens' UpdateTypeResponse (Maybe Type) -- | The response's http status code. updateTypeResponse_httpStatus :: Lens' UpdateTypeResponse Int instance GHC.Generics.Generic Amazonka.AppSync.UpdateType.UpdateType instance GHC.Show.Show Amazonka.AppSync.UpdateType.UpdateType instance GHC.Read.Read Amazonka.AppSync.UpdateType.UpdateType instance GHC.Classes.Eq Amazonka.AppSync.UpdateType.UpdateType instance GHC.Generics.Generic Amazonka.AppSync.UpdateType.UpdateTypeResponse instance GHC.Show.Show Amazonka.AppSync.UpdateType.UpdateTypeResponse instance GHC.Read.Read Amazonka.AppSync.UpdateType.UpdateTypeResponse instance GHC.Classes.Eq Amazonka.AppSync.UpdateType.UpdateTypeResponse instance Amazonka.Types.AWSRequest Amazonka.AppSync.UpdateType.UpdateType instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateType.UpdateTypeResponse instance Data.Hashable.Class.Hashable Amazonka.AppSync.UpdateType.UpdateType instance Control.DeepSeq.NFData Amazonka.AppSync.UpdateType.UpdateType instance Amazonka.Data.Headers.ToHeaders Amazonka.AppSync.UpdateType.UpdateType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AppSync.UpdateType.UpdateType instance Amazonka.Data.Path.ToPath Amazonka.AppSync.UpdateType.UpdateType instance Amazonka.Data.Query.ToQuery Amazonka.AppSync.UpdateType.UpdateType module Amazonka.AppSync.Lens -- | The domain name. associateApi_domainName :: Lens' AssociateApi Text -- | The API ID. associateApi_apiId :: Lens' AssociateApi Text -- | The ApiAssociation object. associateApiResponse_apiAssociation :: Lens' AssociateApiResponse (Maybe ApiAssociation) -- | The response's http status code. associateApiResponse_httpStatus :: Lens' AssociateApiResponse Int -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. createApiCache_atRestEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool) -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. createApiCache_transitEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool) -- | The GraphQL API ID. createApiCache_apiId :: Lens' CreateApiCache Text -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. createApiCache_ttl :: Lens' CreateApiCache Integer -- | Caching behavior. -- -- createApiCache_apiCachingBehavior :: Lens' CreateApiCache ApiCachingBehavior -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- createApiCache_type :: Lens' CreateApiCache ApiCacheType -- | The ApiCache object. createApiCacheResponse_apiCache :: Lens' CreateApiCacheResponse (Maybe ApiCache) -- | The response's http status code. createApiCacheResponse_httpStatus :: Lens' CreateApiCacheResponse Int -- | A description of the purpose of the API key. createApiKey_description :: Lens' CreateApiKey (Maybe Text) -- | From the creation time, the time after which the API key expires. The -- date is represented as seconds since the epoch, rounded down to the -- nearest hour. The default value for this parameter is 7 days from -- creation time. For more information, see . createApiKey_expires :: Lens' CreateApiKey (Maybe Integer) -- | The ID for your GraphQL API. createApiKey_apiId :: Lens' CreateApiKey Text -- | The API key. createApiKeyResponse_apiKey :: Lens' CreateApiKeyResponse (Maybe ApiKey) -- | The response's http status code. createApiKeyResponse_httpStatus :: Lens' CreateApiKeyResponse Int -- | A description of the DataSource. createDataSource_description :: Lens' CreateDataSource (Maybe Text) -- | Amazon DynamoDB settings. createDataSource_dynamodbConfig :: Lens' CreateDataSource (Maybe DynamodbDataSourceConfig) -- | Amazon OpenSearch Service settings. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. For new data -- sources, use CreateDataSourceRequest$openSearchServiceConfig to create -- an OpenSearch data source. createDataSource_elasticsearchConfig :: Lens' CreateDataSource (Maybe ElasticsearchDataSourceConfig) -- | HTTP endpoint settings. createDataSource_httpConfig :: Lens' CreateDataSource (Maybe HttpDataSourceConfig) -- | Lambda settings. createDataSource_lambdaConfig :: Lens' CreateDataSource (Maybe LambdaDataSourceConfig) -- | Amazon OpenSearch Service settings. createDataSource_openSearchServiceConfig :: Lens' CreateDataSource (Maybe OpenSearchServiceDataSourceConfig) -- | Relational database settings. createDataSource_relationalDatabaseConfig :: Lens' CreateDataSource (Maybe RelationalDatabaseDataSourceConfig) -- | 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. createDataSource_serviceRoleArn :: Lens' CreateDataSource (Maybe Text) -- | The API ID for the GraphQL API for the DataSource. createDataSource_apiId :: Lens' CreateDataSource Text -- | A user-supplied name for the DataSource. createDataSource_name :: Lens' CreateDataSource Text -- | The type of the DataSource. createDataSource_type :: Lens' CreateDataSource DataSourceType -- | The DataSource object. createDataSourceResponse_dataSource :: Lens' CreateDataSourceResponse (Maybe DataSource) -- | The response's http status code. createDataSourceResponse_httpStatus :: Lens' CreateDataSourceResponse Int -- | A description of the DomainName. createDomainName_description :: Lens' CreateDomainName (Maybe Text) -- | The domain name. createDomainName_domainName :: Lens' CreateDomainName Text -- | 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. createDomainName_certificateArn :: Lens' CreateDomainName Text -- | The configuration for the DomainName. createDomainNameResponse_domainNameConfig :: Lens' CreateDomainNameResponse (Maybe DomainNameConfig) -- | The response's http status code. createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int -- | 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. createFunction_code :: Lens' CreateFunction (Maybe Text) -- | The Function description. createFunction_description :: Lens' CreateFunction (Maybe Text) -- | The version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. createFunction_functionVersion :: Lens' CreateFunction (Maybe Text) -- | The maximum batching size for a resolver. createFunction_maxBatchSize :: Lens' CreateFunction (Maybe Natural) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. createFunction_requestMappingTemplate :: Lens' CreateFunction (Maybe Text) -- | The Function response mapping template. createFunction_responseMappingTemplate :: Lens' CreateFunction (Maybe Text) -- | Undocumented member. createFunction_runtime :: Lens' CreateFunction (Maybe AppSyncRuntime) -- | Undocumented member. createFunction_syncConfig :: Lens' CreateFunction (Maybe SyncConfig) -- | The GraphQL API ID. createFunction_apiId :: Lens' CreateFunction Text -- | The Function name. The function name does not have to be -- unique. createFunction_name :: Lens' CreateFunction Text -- | The Function DataSource name. createFunction_dataSourceName :: Lens' CreateFunction Text -- | The Function object. createFunctionResponse_functionConfiguration :: Lens' CreateFunctionResponse (Maybe FunctionConfiguration) -- | The response's http status code. createFunctionResponse_httpStatus :: Lens' CreateFunctionResponse Int -- | A list of additional authentication providers for the -- GraphqlApi API. createGraphqlApi_additionalAuthenticationProviders :: Lens' CreateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | Configuration for Lambda function authorization. createGraphqlApi_lambdaAuthorizerConfig :: Lens' CreateGraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration. createGraphqlApi_logConfig :: Lens' CreateGraphqlApi (Maybe LogConfig) -- | The OIDC configuration. createGraphqlApi_openIDConnectConfig :: Lens' CreateGraphqlApi (Maybe OpenIDConnectConfig) -- | A TagMap object. createGraphqlApi_tags :: Lens' CreateGraphqlApi (Maybe (HashMap Text Text)) -- | The Amazon Cognito user pool configuration. createGraphqlApi_userPoolConfig :: Lens' CreateGraphqlApi (Maybe UserPoolConfig) -- | A flag indicating whether to use X-Ray tracing for the -- GraphqlApi. createGraphqlApi_xrayEnabled :: Lens' CreateGraphqlApi (Maybe Bool) -- | A user-supplied name for the GraphqlApi. createGraphqlApi_name :: Lens' CreateGraphqlApi Text -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. createGraphqlApi_authenticationType :: Lens' CreateGraphqlApi AuthenticationType -- | The GraphqlApi. createGraphqlApiResponse_graphqlApi :: Lens' CreateGraphqlApiResponse (Maybe GraphqlApi) -- | The response's http status code. createGraphqlApiResponse_httpStatus :: Lens' CreateGraphqlApiResponse Int -- | The caching configuration for the resolver. createResolver_cachingConfig :: Lens' CreateResolver (Maybe CachingConfig) -- | 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. createResolver_code :: Lens' CreateResolver (Maybe Text) -- | The name of the data source for which the resolver is being created. createResolver_dataSourceName :: Lens' CreateResolver (Maybe Text) -- | The resolver type. -- -- createResolver_kind :: Lens' CreateResolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. createResolver_maxBatchSize :: Lens' CreateResolver (Maybe Natural) -- | The PipelineConfig. createResolver_pipelineConfig :: Lens' CreateResolver (Maybe PipelineConfig) -- | The mapping template to use for requests. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. createResolver_requestMappingTemplate :: Lens' CreateResolver (Maybe Text) -- | The mapping template to use for responses from the data source. createResolver_responseMappingTemplate :: Lens' CreateResolver (Maybe Text) -- | Undocumented member. createResolver_runtime :: Lens' CreateResolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. createResolver_syncConfig :: Lens' CreateResolver (Maybe SyncConfig) -- | The ID for the GraphQL API for which the resolver is being created. createResolver_apiId :: Lens' CreateResolver Text -- | The name of the Type. createResolver_typeName :: Lens' CreateResolver Text -- | The name of the field to attach the resolver to. createResolver_fieldName :: Lens' CreateResolver Text -- | The Resolver object. createResolverResponse_resolver :: Lens' CreateResolverResponse (Maybe Resolver) -- | The response's http status code. createResolverResponse_httpStatus :: Lens' CreateResolverResponse Int -- | The API ID. createType_apiId :: Lens' CreateType Text -- | The type definition, in GraphQL Schema Definition Language (SDL) -- format. -- -- For more information, see the GraphQL SDL documentation. createType_definition :: Lens' CreateType Text -- | The type format: SDL or JSON. createType_format :: Lens' CreateType TypeDefinitionFormat -- | The Type object. createTypeResponse_type :: Lens' CreateTypeResponse (Maybe Type) -- | The response's http status code. createTypeResponse_httpStatus :: Lens' CreateTypeResponse Int -- | The API ID. deleteApiCache_apiId :: Lens' DeleteApiCache Text -- | The response's http status code. deleteApiCacheResponse_httpStatus :: Lens' DeleteApiCacheResponse Int -- | The API ID. deleteApiKey_apiId :: Lens' DeleteApiKey Text -- | The ID for the API key. deleteApiKey_id :: Lens' DeleteApiKey Text -- | The response's http status code. deleteApiKeyResponse_httpStatus :: Lens' DeleteApiKeyResponse Int -- | The API ID. deleteDataSource_apiId :: Lens' DeleteDataSource Text -- | The name of the data source. deleteDataSource_name :: Lens' DeleteDataSource Text -- | The response's http status code. deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int -- | The domain name. deleteDomainName_domainName :: Lens' DeleteDomainName Text -- | The response's http status code. deleteDomainNameResponse_httpStatus :: Lens' DeleteDomainNameResponse Int -- | The GraphQL API ID. deleteFunction_apiId :: Lens' DeleteFunction Text -- | The Function ID. deleteFunction_functionId :: Lens' DeleteFunction Text -- | The response's http status code. deleteFunctionResponse_httpStatus :: Lens' DeleteFunctionResponse Int -- | The API ID. deleteGraphqlApi_apiId :: Lens' DeleteGraphqlApi Text -- | The response's http status code. deleteGraphqlApiResponse_httpStatus :: Lens' DeleteGraphqlApiResponse Int -- | The API ID. deleteResolver_apiId :: Lens' DeleteResolver Text -- | The name of the resolver type. deleteResolver_typeName :: Lens' DeleteResolver Text -- | The resolver field name. deleteResolver_fieldName :: Lens' DeleteResolver Text -- | The response's http status code. deleteResolverResponse_httpStatus :: Lens' DeleteResolverResponse Int -- | The API ID. deleteType_apiId :: Lens' DeleteType Text -- | The type name. deleteType_typeName :: Lens' DeleteType Text -- | The response's http status code. deleteTypeResponse_httpStatus :: Lens' DeleteTypeResponse Int -- | The domain name. disassociateApi_domainName :: Lens' DisassociateApi Text -- | The response's http status code. disassociateApiResponse_httpStatus :: Lens' DisassociateApiResponse Int -- | The function within the code to be evaluated. If provided, the valid -- values are request and response. evaluateCode_function :: Lens' EvaluateCode (Maybe Text) -- | The runtime to be used when evaluating the code. Currently, only the -- APPSYNC_JS runtime is supported. evaluateCode_runtime :: Lens' EvaluateCode AppSyncRuntime -- | The code definition to be evaluated. Note that code and -- runtime are both required for this action. The -- runtime value must be APPSYNC_JS. evaluateCode_code :: Lens' EvaluateCode Text -- | The map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. evaluateCode_context :: Lens' EvaluateCode Text -- | Contains the payload of the response error. evaluateCodeResponse_error :: Lens' EvaluateCodeResponse (Maybe EvaluateCodeErrorDetail) -- | The result of the evaluation operation. evaluateCodeResponse_evaluationResult :: Lens' EvaluateCodeResponse (Maybe Text) -- | A list of logs that were generated by calls to util.log.info -- and util.log.error in the evaluated code. evaluateCodeResponse_logs :: Lens' EvaluateCodeResponse (Maybe [Text]) -- | The response's http status code. evaluateCodeResponse_httpStatus :: Lens' EvaluateCodeResponse Int -- | The mapping template; this can be a request or response template. A -- template is required for this action. evaluateMappingTemplate_template :: Lens' EvaluateMappingTemplate Text -- | The map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. evaluateMappingTemplate_context :: Lens' EvaluateMappingTemplate Text -- | The ErrorDetail object. evaluateMappingTemplateResponse_error :: Lens' EvaluateMappingTemplateResponse (Maybe ErrorDetail) -- | The mapping template; this can be a request or response template. evaluateMappingTemplateResponse_evaluationResult :: Lens' EvaluateMappingTemplateResponse (Maybe Text) -- | A list of logs that were generated by calls to util.log.info -- and util.log.error in the evaluated code. evaluateMappingTemplateResponse_logs :: Lens' EvaluateMappingTemplateResponse (Maybe [Text]) -- | The response's http status code. evaluateMappingTemplateResponse_httpStatus :: Lens' EvaluateMappingTemplateResponse Int -- | The API ID. flushApiCache_apiId :: Lens' FlushApiCache Text -- | The response's http status code. flushApiCacheResponse_httpStatus :: Lens' FlushApiCacheResponse Int -- | The domain name. getApiAssociation_domainName :: Lens' GetApiAssociation Text -- | The ApiAssociation object. getApiAssociationResponse_apiAssociation :: Lens' GetApiAssociationResponse (Maybe ApiAssociation) -- | The response's http status code. getApiAssociationResponse_httpStatus :: Lens' GetApiAssociationResponse Int -- | The API ID. getApiCache_apiId :: Lens' GetApiCache Text -- | The ApiCache object. getApiCacheResponse_apiCache :: Lens' GetApiCacheResponse (Maybe ApiCache) -- | The response's http status code. getApiCacheResponse_httpStatus :: Lens' GetApiCacheResponse Int -- | The API ID. getDataSource_apiId :: Lens' GetDataSource Text -- | The name of the data source. getDataSource_name :: Lens' GetDataSource Text -- | The DataSource object. getDataSourceResponse_dataSource :: Lens' GetDataSourceResponse (Maybe DataSource) -- | The response's http status code. getDataSourceResponse_httpStatus :: Lens' GetDataSourceResponse Int -- | The domain name. getDomainName_domainName :: Lens' GetDomainName Text -- | The configuration for the DomainName. getDomainNameResponse_domainNameConfig :: Lens' GetDomainNameResponse (Maybe DomainNameConfig) -- | The response's http status code. getDomainNameResponse_httpStatus :: Lens' GetDomainNameResponse Int -- | The GraphQL API ID. getFunction_apiId :: Lens' GetFunction Text -- | The Function ID. getFunction_functionId :: Lens' GetFunction Text -- | The Function object. getFunctionResponse_functionConfiguration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration) -- | The response's http status code. getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int -- | The API ID for the GraphQL API. getGraphqlApi_apiId :: Lens' GetGraphqlApi Text -- | The GraphqlApi object. getGraphqlApiResponse_graphqlApi :: Lens' GetGraphqlApiResponse (Maybe GraphqlApi) -- | The response's http status code. getGraphqlApiResponse_httpStatus :: Lens' GetGraphqlApiResponse Int -- | A flag that specifies whether the schema introspection should contain -- directives. getIntrospectionSchema_includeDirectives :: Lens' GetIntrospectionSchema (Maybe Bool) -- | The API ID. getIntrospectionSchema_apiId :: Lens' GetIntrospectionSchema Text -- | The schema format: SDL or JSON. getIntrospectionSchema_format :: Lens' GetIntrospectionSchema OutputType -- | The schema, in GraphQL Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. getIntrospectionSchemaResponse_schema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString) -- | The response's http status code. getIntrospectionSchemaResponse_httpStatus :: Lens' GetIntrospectionSchemaResponse Int -- | The API ID. getResolver_apiId :: Lens' GetResolver Text -- | The resolver type name. getResolver_typeName :: Lens' GetResolver Text -- | The resolver field name. getResolver_fieldName :: Lens' GetResolver Text -- | The Resolver object. getResolverResponse_resolver :: Lens' GetResolverResponse (Maybe Resolver) -- | The response's http status code. getResolverResponse_httpStatus :: Lens' GetResolverResponse Int -- | The API ID. getSchemaCreationStatus_apiId :: Lens' GetSchemaCreationStatus Text -- | Detailed information about the status of the schema creation -- operation. getSchemaCreationStatusResponse_details :: Lens' GetSchemaCreationStatusResponse (Maybe Text) -- | The current state of the schema (PROCESSING, FAILED, SUCCESS, or -- NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add -- data. getSchemaCreationStatusResponse_status :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus) -- | The response's http status code. getSchemaCreationStatusResponse_httpStatus :: Lens' GetSchemaCreationStatusResponse Int -- | The API ID. getType_apiId :: Lens' GetType Text -- | The type name. getType_typeName :: Lens' GetType Text -- | The type format: SDL or JSON. getType_format :: Lens' GetType TypeDefinitionFormat -- | The Type object. getTypeResponse_type :: Lens' GetTypeResponse (Maybe Type) -- | The response's http status code. getTypeResponse_httpStatus :: Lens' GetTypeResponse Int -- | The maximum number of results that you want the request to return. listApiKeys_maxResults :: Lens' ListApiKeys (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listApiKeys_nextToken :: Lens' ListApiKeys (Maybe Text) -- | The API ID. listApiKeys_apiId :: Lens' ListApiKeys Text -- | The ApiKey objects. listApiKeysResponse_apiKeys :: Lens' ListApiKeysResponse (Maybe [ApiKey]) -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listApiKeysResponse_nextToken :: Lens' ListApiKeysResponse (Maybe Text) -- | The response's http status code. listApiKeysResponse_httpStatus :: Lens' ListApiKeysResponse Int -- | The maximum number of results that you want the request to return. listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listDataSources_nextToken :: Lens' ListDataSources (Maybe Text) -- | The API ID. listDataSources_apiId :: Lens' ListDataSources Text -- | The DataSource objects. listDataSourcesResponse_dataSources :: Lens' ListDataSourcesResponse (Maybe [DataSource]) -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text) -- | The response's http status code. listDataSourcesResponse_httpStatus :: Lens' ListDataSourcesResponse Int -- | The maximum number of results that you want the request to return. listDomainNames_maxResults :: Lens' ListDomainNames (Maybe Natural) -- | The API token. listDomainNames_nextToken :: Lens' ListDomainNames (Maybe Text) -- | Lists configurations for multiple domain names. listDomainNamesResponse_domainNameConfigs :: Lens' ListDomainNamesResponse (Maybe [DomainNameConfig]) -- | The API token. listDomainNamesResponse_nextToken :: Lens' ListDomainNamesResponse (Maybe Text) -- | The response's http status code. listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int -- | The maximum number of results that you want the request to return. listFunctions_maxResults :: Lens' ListFunctions (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listFunctions_nextToken :: Lens' ListFunctions (Maybe Text) -- | The GraphQL API ID. listFunctions_apiId :: Lens' ListFunctions Text -- | A list of Function objects. listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listFunctionsResponse_nextToken :: Lens' ListFunctionsResponse (Maybe Text) -- | The response's http status code. listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int -- | The maximum number of results that you want the request to return. listGraphqlApis_maxResults :: Lens' ListGraphqlApis (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listGraphqlApis_nextToken :: Lens' ListGraphqlApis (Maybe Text) -- | The GraphqlApi objects. listGraphqlApisResponse_graphqlApis :: Lens' ListGraphqlApisResponse (Maybe [GraphqlApi]) -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listGraphqlApisResponse_nextToken :: Lens' ListGraphqlApisResponse (Maybe Text) -- | The response's http status code. listGraphqlApisResponse_httpStatus :: Lens' ListGraphqlApisResponse Int -- | The maximum number of results that you want the request to return. listResolvers_maxResults :: Lens' ListResolvers (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listResolvers_nextToken :: Lens' ListResolvers (Maybe Text) -- | The API ID. listResolvers_apiId :: Lens' ListResolvers Text -- | The type name. listResolvers_typeName :: Lens' ListResolvers Text -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listResolversResponse_nextToken :: Lens' ListResolversResponse (Maybe Text) -- | The Resolver objects. listResolversResponse_resolvers :: Lens' ListResolversResponse (Maybe [Resolver]) -- | The response's http status code. listResolversResponse_httpStatus :: Lens' ListResolversResponse Int -- | The maximum number of results that you want the request to return. listResolversByFunction_maxResults :: Lens' ListResolversByFunction (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listResolversByFunction_nextToken :: Lens' ListResolversByFunction (Maybe Text) -- | The API ID. listResolversByFunction_apiId :: Lens' ListResolversByFunction Text -- | The function ID. listResolversByFunction_functionId :: Lens' ListResolversByFunction Text -- | An identifier that you can use to return the next set of items in the -- list. listResolversByFunctionResponse_nextToken :: Lens' ListResolversByFunctionResponse (Maybe Text) -- | The list of resolvers. listResolversByFunctionResponse_resolvers :: Lens' ListResolversByFunctionResponse (Maybe [Resolver]) -- | The response's http status code. listResolversByFunctionResponse_httpStatus :: Lens' ListResolversByFunctionResponse Int -- | The GraphqlApi Amazon Resource Name (ARN). listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | A TagMap object. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int -- | The maximum number of results that you want the request to return. listTypes_maxResults :: Lens' ListTypes (Maybe Natural) -- | An identifier that was returned from the previous call to this -- operation, which you can use to return the next set of items in the -- list. listTypes_nextToken :: Lens' ListTypes (Maybe Text) -- | The API ID. listTypes_apiId :: Lens' ListTypes Text -- | The type format: SDL or JSON. listTypes_format :: Lens' ListTypes TypeDefinitionFormat -- | An identifier to pass in the next request to this operation to return -- the next set of items in the list. listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text) -- | The Type objects. listTypesResponse_types :: Lens' ListTypesResponse (Maybe [Type]) -- | The response's http status code. listTypesResponse_httpStatus :: Lens' ListTypesResponse Int -- | The API ID. startSchemaCreation_apiId :: Lens' StartSchemaCreation Text -- | The schema definition, in GraphQL schema language format.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. startSchemaCreation_definition :: Lens' StartSchemaCreation ByteString -- | The current state of the schema (PROCESSING, FAILED, SUCCESS, or -- NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add -- data. startSchemaCreationResponse_status :: Lens' StartSchemaCreationResponse (Maybe SchemaStatus) -- | The response's http status code. startSchemaCreationResponse_httpStatus :: Lens' StartSchemaCreationResponse Int -- | The GraphqlApi Amazon Resource Name (ARN). tagResource_resourceArn :: Lens' TagResource Text -- | A TagMap object. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int -- | The GraphqlApi Amazon Resource Name (ARN). untagResource_resourceArn :: Lens' UntagResource Text -- | A list of TagKey objects. untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int -- | The GraphQL API ID. updateApiCache_apiId :: Lens' UpdateApiCache Text -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. updateApiCache_ttl :: Lens' UpdateApiCache Integer -- | Caching behavior. -- -- updateApiCache_apiCachingBehavior :: Lens' UpdateApiCache ApiCachingBehavior -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- updateApiCache_type :: Lens' UpdateApiCache ApiCacheType -- | The ApiCache object. updateApiCacheResponse_apiCache :: Lens' UpdateApiCacheResponse (Maybe ApiCache) -- | The response's http status code. updateApiCacheResponse_httpStatus :: Lens' UpdateApiCacheResponse Int -- | A description of the purpose of the API key. updateApiKey_description :: Lens' UpdateApiKey (Maybe Text) -- | From the update time, the time after which the API key expires. The -- date is represented as seconds since the epoch. For more information, -- see . updateApiKey_expires :: Lens' UpdateApiKey (Maybe Integer) -- | The ID for the GraphQL API. updateApiKey_apiId :: Lens' UpdateApiKey Text -- | The API key ID. updateApiKey_id :: Lens' UpdateApiKey Text -- | The API key. updateApiKeyResponse_apiKey :: Lens' UpdateApiKeyResponse (Maybe ApiKey) -- | The response's http status code. updateApiKeyResponse_httpStatus :: Lens' UpdateApiKeyResponse Int -- | The new description for the data source. updateDataSource_description :: Lens' UpdateDataSource (Maybe Text) -- | The new Amazon DynamoDB configuration. updateDataSource_dynamodbConfig :: Lens' UpdateDataSource (Maybe DynamodbDataSourceConfig) -- | The new OpenSearch configuration. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. Instead, use -- UpdateDataSourceRequest$openSearchServiceConfig to update an -- OpenSearch data source. updateDataSource_elasticsearchConfig :: Lens' UpdateDataSource (Maybe ElasticsearchDataSourceConfig) -- | The new HTTP endpoint configuration. updateDataSource_httpConfig :: Lens' UpdateDataSource (Maybe HttpDataSourceConfig) -- | The new Lambda configuration. updateDataSource_lambdaConfig :: Lens' UpdateDataSource (Maybe LambdaDataSourceConfig) -- | The new OpenSearch configuration. updateDataSource_openSearchServiceConfig :: Lens' UpdateDataSource (Maybe OpenSearchServiceDataSourceConfig) -- | The new relational database configuration. updateDataSource_relationalDatabaseConfig :: Lens' UpdateDataSource (Maybe RelationalDatabaseDataSourceConfig) -- | The new service role Amazon Resource Name (ARN) for the data source. updateDataSource_serviceRoleArn :: Lens' UpdateDataSource (Maybe Text) -- | The API ID. updateDataSource_apiId :: Lens' UpdateDataSource Text -- | The new name for the data source. updateDataSource_name :: Lens' UpdateDataSource Text -- | The new data source type. updateDataSource_type :: Lens' UpdateDataSource DataSourceType -- | The updated DataSource object. updateDataSourceResponse_dataSource :: Lens' UpdateDataSourceResponse (Maybe DataSource) -- | The response's http status code. updateDataSourceResponse_httpStatus :: Lens' UpdateDataSourceResponse Int -- | A description of the DomainName. updateDomainName_description :: Lens' UpdateDomainName (Maybe Text) -- | The domain name. updateDomainName_domainName :: Lens' UpdateDomainName Text -- | The configuration for the DomainName. updateDomainNameResponse_domainNameConfig :: Lens' UpdateDomainNameResponse (Maybe DomainNameConfig) -- | The response's http status code. updateDomainNameResponse_httpStatus :: Lens' UpdateDomainNameResponse Int -- | 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. updateFunction_code :: Lens' UpdateFunction (Maybe Text) -- | The Function description. updateFunction_description :: Lens' UpdateFunction (Maybe Text) -- | The version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. updateFunction_functionVersion :: Lens' UpdateFunction (Maybe Text) -- | The maximum batching size for a resolver. updateFunction_maxBatchSize :: Lens' UpdateFunction (Maybe Natural) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. updateFunction_requestMappingTemplate :: Lens' UpdateFunction (Maybe Text) -- | The Function request mapping template. updateFunction_responseMappingTemplate :: Lens' UpdateFunction (Maybe Text) -- | Undocumented member. updateFunction_runtime :: Lens' UpdateFunction (Maybe AppSyncRuntime) -- | Undocumented member. updateFunction_syncConfig :: Lens' UpdateFunction (Maybe SyncConfig) -- | The GraphQL API ID. updateFunction_apiId :: Lens' UpdateFunction Text -- | The Function name. updateFunction_name :: Lens' UpdateFunction Text -- | The function ID. updateFunction_functionId :: Lens' UpdateFunction Text -- | The Function DataSource name. updateFunction_dataSourceName :: Lens' UpdateFunction Text -- | The Function object. updateFunctionResponse_functionConfiguration :: Lens' UpdateFunctionResponse (Maybe FunctionConfiguration) -- | The response's http status code. updateFunctionResponse_httpStatus :: Lens' UpdateFunctionResponse Int -- | A list of additional authentication providers for the -- GraphqlApi API. updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | The new authentication type for the GraphqlApi object. updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration for the GraphqlApi -- object. updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig) -- | The OpenID Connect configuration for the GraphqlApi object. updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig) -- | The new Amazon Cognito user pool configuration for the -- ~GraphqlApi object. updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig) -- | A flag indicating whether to use X-Ray tracing for the -- GraphqlApi. updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool) -- | The API ID. updateGraphqlApi_apiId :: Lens' UpdateGraphqlApi Text -- | The new name for the GraphqlApi object. updateGraphqlApi_name :: Lens' UpdateGraphqlApi Text -- | The updated GraphqlApi object. updateGraphqlApiResponse_graphqlApi :: Lens' UpdateGraphqlApiResponse (Maybe GraphqlApi) -- | The response's http status code. updateGraphqlApiResponse_httpStatus :: Lens' UpdateGraphqlApiResponse Int -- | The caching configuration for the resolver. updateResolver_cachingConfig :: Lens' UpdateResolver (Maybe CachingConfig) -- | 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. updateResolver_code :: Lens' UpdateResolver (Maybe Text) -- | The new data source name. updateResolver_dataSourceName :: Lens' UpdateResolver (Maybe Text) -- | The resolver type. -- -- updateResolver_kind :: Lens' UpdateResolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. updateResolver_maxBatchSize :: Lens' UpdateResolver (Maybe Natural) -- | The PipelineConfig. updateResolver_pipelineConfig :: Lens' UpdateResolver (Maybe PipelineConfig) -- | The new request mapping template. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. updateResolver_requestMappingTemplate :: Lens' UpdateResolver (Maybe Text) -- | The new response mapping template. updateResolver_responseMappingTemplate :: Lens' UpdateResolver (Maybe Text) -- | Undocumented member. updateResolver_runtime :: Lens' UpdateResolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. updateResolver_syncConfig :: Lens' UpdateResolver (Maybe SyncConfig) -- | The API ID. updateResolver_apiId :: Lens' UpdateResolver Text -- | The new type name. updateResolver_typeName :: Lens' UpdateResolver Text -- | The new field name. updateResolver_fieldName :: Lens' UpdateResolver Text -- | The updated Resolver object. updateResolverResponse_resolver :: Lens' UpdateResolverResponse (Maybe Resolver) -- | The response's http status code. updateResolverResponse_httpStatus :: Lens' UpdateResolverResponse Int -- | The new definition. updateType_definition :: Lens' UpdateType (Maybe Text) -- | The API ID. updateType_apiId :: Lens' UpdateType Text -- | The new type name. updateType_typeName :: Lens' UpdateType Text -- | The new type format: SDL or JSON. updateType_format :: Lens' UpdateType TypeDefinitionFormat -- | The updated Type object. updateTypeResponse_type :: Lens' UpdateTypeResponse (Maybe Type) -- | The response's http status code. updateTypeResponse_httpStatus :: Lens' UpdateTypeResponse Int -- | The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. additionalAuthenticationProvider_authenticationType :: Lens' AdditionalAuthenticationProvider (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. additionalAuthenticationProvider_lambdaAuthorizerConfig :: Lens' AdditionalAuthenticationProvider (Maybe LambdaAuthorizerConfig) -- | The OIDC configuration. additionalAuthenticationProvider_openIDConnectConfig :: Lens' AdditionalAuthenticationProvider (Maybe OpenIDConnectConfig) -- | The Amazon Cognito user pool configuration. additionalAuthenticationProvider_userPoolConfig :: Lens' AdditionalAuthenticationProvider (Maybe CognitoUserPoolConfig) -- | The API ID. apiAssociation_apiId :: Lens' ApiAssociation (Maybe Text) -- | Identifies the status of an association. -- -- apiAssociation_associationStatus :: Lens' ApiAssociation (Maybe AssociationStatus) -- | Details about the last deployment status. apiAssociation_deploymentDetail :: Lens' ApiAssociation (Maybe Text) -- | The domain name. apiAssociation_domainName :: Lens' ApiAssociation (Maybe Text) -- | Caching behavior. -- -- apiCache_apiCachingBehavior :: Lens' ApiCache (Maybe ApiCachingBehavior) -- | At-rest encryption flag for cache. You cannot update this setting -- after creation. apiCache_atRestEncryptionEnabled :: Lens' ApiCache (Maybe Bool) -- | The cache instance status. -- -- apiCache_status :: Lens' ApiCache (Maybe ApiCacheStatus) -- | Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. apiCache_transitEncryptionEnabled :: Lens' ApiCache (Maybe Bool) -- | TTL in seconds for cache entries. -- -- Valid values are 1–3,600 seconds. apiCache_ttl :: Lens' ApiCache (Maybe Integer) -- | The cache instance type. Valid values are -- -- -- -- 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: -- -- apiCache_type :: Lens' ApiCache (Maybe ApiCacheType) -- | 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_deletes :: Lens' ApiKey (Maybe Integer) -- | A description of the purpose of the API key. apiKey_description :: Lens' ApiKey (Maybe Text) -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. apiKey_expires :: Lens' ApiKey (Maybe Integer) -- | The API key ID. apiKey_id :: Lens' ApiKey (Maybe Text) -- | The name of the runtime to use. Currently, the only allowed -- value is APPSYNC_JS. appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName -- | The version of the runtime to use. Currently, the only -- allowed version is 1.0.0. appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text -- | The Identity and Access Management (IAM) settings. authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig) -- | The authorization type that the HTTP endpoint requires. -- -- authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType -- | The signing Amazon Web Services Region for IAM authorization. awsIamConfig_signingRegion :: Lens' AwsIamConfig (Maybe Text) -- | The signing service name for IAM authorization. awsIamConfig_signingServiceName :: Lens' AwsIamConfig (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. cachingConfig_cachingKeys :: Lens' CachingConfig (Maybe [Text]) -- | The TTL in seconds for a resolver that has caching activated. -- -- Valid values are 1–3,600 seconds. cachingConfig_ttl :: Lens' CachingConfig Integer -- | The type of code error. -- -- Examples include, but aren't limited to: LINT_ERROR, -- PARSER_ERROR. codeError_errorType :: Lens' CodeError (Maybe Text) -- | The line, column, and span location of the error in the code. codeError_location :: Lens' CodeError (Maybe CodeErrorLocation) -- | A user presentable error. -- -- Examples include, but aren't limited to: Parsing error: -- Unterminated string literal. codeError_value :: Lens' CodeError (Maybe Text) -- | The column number in the code. Defaults to 0 if unknown. codeErrorLocation_column :: Lens' CodeErrorLocation (Maybe Int) -- | The line number in the code. Defaults to 0 if unknown. codeErrorLocation_line :: Lens' CodeErrorLocation (Maybe Int) -- | The span/length of the error. Defaults to -1 if unknown. codeErrorLocation_span :: Lens' CodeErrorLocation (Maybe Int) -- | 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_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text) -- | The user pool ID. cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text -- | The Amazon Web Services Region in which the user pool was created. cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text -- | The data source Amazon Resource Name (ARN). dataSource_dataSourceArn :: Lens' DataSource (Maybe Text) -- | The description of the data source. dataSource_description :: Lens' DataSource (Maybe Text) -- | DynamoDB settings. dataSource_dynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) -- | Amazon OpenSearch Service settings. dataSource_elasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) -- | HTTP endpoint settings. dataSource_httpConfig :: Lens' DataSource (Maybe HttpDataSourceConfig) -- | Lambda settings. dataSource_lambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) -- | The name of the data source. dataSource_name :: Lens' DataSource (Maybe Text) -- | Amazon OpenSearch Service settings. dataSource_openSearchServiceConfig :: Lens' DataSource (Maybe OpenSearchServiceDataSourceConfig) -- | Relational database settings. dataSource_relationalDatabaseConfig :: Lens' DataSource (Maybe RelationalDatabaseDataSourceConfig) -- | 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_serviceRoleArn :: Lens' DataSource (Maybe Text) -- | The type of the data source. -- -- dataSource_type :: Lens' DataSource (Maybe DataSourceType) -- | The number of minutes that an Item is stored in the data source. deltaSyncConfig_baseTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) -- | The Delta Sync table name. deltaSyncConfig_deltaSyncTableName :: Lens' DeltaSyncConfig (Maybe Text) -- | The number of minutes that a Delta Sync log entry is stored in the -- Delta Sync table. deltaSyncConfig_deltaSyncTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) -- | The domain name that AppSync provides. domainNameConfig_appsyncDomainName :: Lens' DomainNameConfig (Maybe Text) -- | 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_certificateArn :: Lens' DomainNameConfig (Maybe Text) -- | A description of the DomainName configuration. domainNameConfig_description :: Lens' DomainNameConfig (Maybe Text) -- | The domain name. domainNameConfig_domainName :: Lens' DomainNameConfig (Maybe Text) -- | The ID of your Amazon Route 53 hosted zone. domainNameConfig_hostedZoneId :: Lens' DomainNameConfig (Maybe Text) -- | The DeltaSyncConfig for a versioned data source. dynamodbDataSourceConfig_deltaSyncConfig :: Lens' DynamodbDataSourceConfig (Maybe DeltaSyncConfig) -- | Set to TRUE to use Amazon Cognito credentials with this data source. dynamodbDataSourceConfig_useCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | Set to TRUE to use Conflict Detection and Resolution with this data -- source. dynamodbDataSourceConfig_versioned :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | The table name. dynamodbDataSourceConfig_tableName :: Lens' DynamodbDataSourceConfig Text -- | The Amazon Web Services Region. dynamodbDataSourceConfig_awsRegion :: Lens' DynamodbDataSourceConfig Text -- | The endpoint. elasticsearchDataSourceConfig_endpoint :: Lens' ElasticsearchDataSourceConfig Text -- | The Amazon Web Services Region. elasticsearchDataSourceConfig_awsRegion :: Lens' ElasticsearchDataSourceConfig Text -- | The error payload. errorDetail_message :: Lens' ErrorDetail (Maybe Text) -- | Contains the list of CodeError objects. evaluateCodeErrorDetail_codeErrors :: Lens' EvaluateCodeErrorDetail (Maybe [CodeError]) -- | The error payload. evaluateCodeErrorDetail_message :: Lens' EvaluateCodeErrorDetail (Maybe Text) -- | 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_code :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the DataSource. functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text) -- | The Function description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the Function object. functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | A unique ID representing the Function object. functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) -- | The version of the request mapping template. Currently, only the -- 2018-05-29 version of the template is supported. functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text) -- | The maximum batching size for a resolver. functionConfiguration_maxBatchSize :: Lens' FunctionConfiguration (Maybe Natural) -- | The name of the Function object. functionConfiguration_name :: Lens' FunctionConfiguration (Maybe Text) -- | The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) -- | The Function response mapping template. functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) -- | Undocumented member. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe AppSyncRuntime) -- | Undocumented member. functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig) -- | A list of additional authentication providers for the -- GraphqlApi API. graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider]) -- | The API ID. graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text) -- | The Amazon Resource Name (ARN). graphqlApi_arn :: Lens' GraphqlApi (Maybe Text) -- | The authentication type. graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType) -- | Configuration for Lambda function authorization. graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig) -- | The Amazon CloudWatch Logs configuration. graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig) -- | The API name. graphqlApi_name :: Lens' GraphqlApi (Maybe Text) -- | The OpenID Connect configuration. graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig) -- | The tags. graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text)) -- | The URIs. graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text)) -- | The Amazon Cognito user pool configuration. graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig) -- | The ARN of the WAF access control list (ACL) associated with this -- GraphqlApi, if one exists. graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text) -- | A flag indicating whether to use X-Ray tracing for this -- GraphqlApi. graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool) -- | The authorization configuration in case the HTTP endpoint requires -- authorization. httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig) -- | 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_endpoint :: Lens' HttpDataSourceConfig (Maybe Text) -- | 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_authorizerResultTtlInSeconds :: Lens' LambdaAuthorizerConfig (Maybe Natural) -- | A regular expression for validation of tokens before the Lambda -- function is called. lambdaAuthorizerConfig_identityValidationExpression :: Lens' LambdaAuthorizerConfig (Maybe 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
--   
lambdaAuthorizerConfig_authorizerUri :: Lens' LambdaAuthorizerConfig Text -- | The Amazon Resource Name (ARN) for the Lambda function to use as the -- Conflict Handler. lambdaConflictHandlerConfig_lambdaConflictHandlerArn :: Lens' LambdaConflictHandlerConfig (Maybe Text) -- | The Amazon Resource Name (ARN) for the Lambda function. lambdaDataSourceConfig_lambdaFunctionArn :: Lens' LambdaDataSourceConfig Text -- | Set to TRUE to exclude sections that contain information such as -- headers, context, and evaluated mapping templates, regardless of -- logging level. logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool) -- | The field logging level. Values can be NONE, ERROR, or ALL. -- -- logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel -- | The service role that AppSync assumes to publish to CloudWatch logs in -- your account. logConfig_cloudWatchLogsRoleArn :: Lens' LogConfig Text -- | The number of milliseconds that a token is valid after being -- authenticated. openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer) -- | 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_clientId :: Lens' OpenIDConnectConfig (Maybe Text) -- | The number of milliseconds that a token is valid after it's issued to -- a user. openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer) -- | The issuer for the OIDC configuration. The issuer returned by -- discovery must exactly match the value of iss in the ID -- token. openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text -- | The endpoint. openSearchServiceDataSourceConfig_endpoint :: Lens' OpenSearchServiceDataSourceConfig Text -- | The Amazon Web Services Region. openSearchServiceDataSourceConfig_awsRegion :: Lens' OpenSearchServiceDataSourceConfig Text -- | A list of Function objects. pipelineConfig_functions :: Lens' PipelineConfig (Maybe [Text]) -- | Amazon Web Services Region for Amazon RDS HTTP endpoint. rdsHttpEndpointConfig_awsRegion :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon Web Services secret store Amazon Resource Name (ARN) for -- database credentials. rdsHttpEndpointConfig_awsSecretStoreArn :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Logical database name. rdsHttpEndpointConfig_databaseName :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon RDS cluster Amazon Resource Name (ARN). rdsHttpEndpointConfig_dbClusterIdentifier :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Logical schema name. rdsHttpEndpointConfig_schema :: Lens' RdsHttpEndpointConfig (Maybe Text) -- | Amazon RDS HTTP endpoint settings. relationalDatabaseDataSourceConfig_rdsHttpEndpointConfig :: Lens' RelationalDatabaseDataSourceConfig (Maybe RdsHttpEndpointConfig) -- | Source type for the relational database. -- -- relationalDatabaseDataSourceConfig_relationalDatabaseSourceType :: Lens' RelationalDatabaseDataSourceConfig (Maybe RelationalDatabaseSourceType) -- | The caching configuration for the resolver. resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig) -- | 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_code :: Lens' Resolver (Maybe Text) -- | The resolver data source name. resolver_dataSourceName :: Lens' Resolver (Maybe Text) -- | The resolver field name. resolver_fieldName :: Lens' Resolver (Maybe Text) -- | The resolver type. -- -- resolver_kind :: Lens' Resolver (Maybe ResolverKind) -- | The maximum batching size for a resolver. resolver_maxBatchSize :: Lens' Resolver (Maybe Natural) -- | The PipelineConfig. resolver_pipelineConfig :: Lens' Resolver (Maybe PipelineConfig) -- | The request mapping template. resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver Amazon Resource Name (ARN). resolver_resolverArn :: Lens' Resolver (Maybe Text) -- | The response mapping template. resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text) -- | Undocumented member. resolver_runtime :: Lens' Resolver (Maybe AppSyncRuntime) -- | The SyncConfig for a resolver attached to a versioned data -- source. resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig) -- | The resolver type name. resolver_typeName :: Lens' Resolver (Maybe Text) -- | The Conflict Detection strategy to use. -- -- syncConfig_conflictDetection :: Lens' SyncConfig (Maybe ConflictDetectionType) -- | The Conflict Resolution strategy to perform in the event of a -- conflict. -- -- syncConfig_conflictHandler :: Lens' SyncConfig (Maybe ConflictHandlerType) -- | The LambdaConflictHandlerConfig when configuring -- LAMBDA as the Conflict Handler. syncConfig_lambdaConflictHandlerConfig :: Lens' SyncConfig (Maybe LambdaConflictHandlerConfig) -- | The type Amazon Resource Name (ARN). type_arn :: Lens' Type (Maybe Text) -- | The type definition. type_definition :: Lens' Type (Maybe Text) -- | The type description. type_description :: Lens' Type (Maybe Text) -- | The type format: SDL or JSON. type_format :: Lens' Type (Maybe TypeDefinitionFormat) -- | The type name. type_name :: Lens' Type (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. userPoolConfig_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text) -- | The user pool ID. userPoolConfig_userPoolId :: Lens' UserPoolConfig Text -- | The Amazon Web Services Region in which the user pool was created. userPoolConfig_awsRegion :: Lens' UserPoolConfig Text -- | 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_defaultAction :: Lens' UserPoolConfig DefaultAction module Amazonka.AppSync.Waiters -- | Derived from API version 2017-07-25 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- AppSync provides API actions for creating and interacting with data -- sources using GraphQL from your application. module Amazonka.AppSync -- | API version 2017-07-25 of the Amazon AppSync SDK -- configuration. defaultService :: Service -- | You don't have access to perform this operation on this resource. _AccessDeniedException :: AsError a => Fold a ServiceError -- | The API key exceeded a limit. Try your request again. _ApiKeyLimitExceededException :: AsError a => Fold a ServiceError -- | The API key expiration must be set to a value between 1 and 365 days -- from creation (for CreateApiKey) or from update (for -- UpdateApiKey). _ApiKeyValidityOutOfBoundsException :: AsError a => Fold a ServiceError -- | The GraphQL API exceeded a limit. Try your request again. _ApiLimitExceededException :: AsError a => Fold a ServiceError -- | 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. _BadRequestException :: AsError a => Fold a ServiceError -- | Another modification is in progress at this time and it must complete -- before you can make your change. _ConcurrentModificationException :: AsError a => Fold a ServiceError -- | The GraphQL schema is not valid. _GraphQLSchemaException :: AsError a => Fold a ServiceError -- | An internal AppSync error occurred. Try your request again. _InternalFailureException :: AsError a => Fold a ServiceError -- | The request exceeded a limit. Try your request again. _LimitExceededException :: AsError a => Fold a ServiceError -- | The resource specified in the request was not found. Check the -- resource, and then try again. _NotFoundException :: AsError a => Fold a ServiceError -- | You aren't authorized to perform this operation. _UnauthorizedException :: AsError a => Fold a ServiceError -- | See: newAssociateApi smart constructor. data AssociateApi AssociateApi' :: Text -> Text -> AssociateApi -- | Create a value of AssociateApi 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: -- -- AssociateApi, associateApi_domainName - The domain name. -- -- AssociateApi, associateApi_apiId - The API ID. newAssociateApi :: Text -> Text -> AssociateApi -- | See: newAssociateApiResponse smart constructor. data AssociateApiResponse AssociateApiResponse' :: Maybe ApiAssociation -> Int -> AssociateApiResponse -- | Create a value of AssociateApiResponse 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:apiAssociation:AssociateApiResponse', -- associateApiResponse_apiAssociation - The -- ApiAssociation object. -- -- $sel:httpStatus:AssociateApiResponse', -- associateApiResponse_httpStatus - The response's http status -- code. newAssociateApiResponse :: Int -> AssociateApiResponse -- | Represents the input of a CreateApiCache operation. -- -- See: newCreateApiCache smart constructor. data CreateApiCache CreateApiCache' :: Maybe Bool -> Maybe Bool -> Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> CreateApiCache -- | Create a value of CreateApiCache 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: -- -- CreateApiCache, createApiCache_atRestEncryptionEnabled - -- At-rest encryption flag for cache. You cannot update this setting -- after creation. -- -- CreateApiCache, createApiCache_transitEncryptionEnabled -- - Transit encryption flag when connecting to cache. You cannot update -- this setting after creation. -- -- CreateApiCache, createApiCache_apiId - The GraphQL API -- ID. -- -- CreateApiCache, createApiCache_ttl - TTL in seconds for -- cache entries. -- -- Valid values are 1–3,600 seconds. -- -- CreateApiCache, createApiCache_apiCachingBehavior - -- Caching behavior. -- -- -- -- CreateApiCache, createApiCache_type - The cache instance -- type. Valid values are -- -- -- -- 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: -- -- newCreateApiCache :: Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> CreateApiCache -- | Represents the output of a CreateApiCache operation. -- -- See: newCreateApiCacheResponse smart constructor. data CreateApiCacheResponse CreateApiCacheResponse' :: Maybe ApiCache -> Int -> CreateApiCacheResponse -- | Create a value of CreateApiCacheResponse 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:apiCache:CreateApiCacheResponse', -- createApiCacheResponse_apiCache - The ApiCache object. -- -- $sel:httpStatus:CreateApiCacheResponse', -- createApiCacheResponse_httpStatus - The response's http status -- code. newCreateApiCacheResponse :: Int -> CreateApiCacheResponse -- | See: newCreateApiKey smart constructor. data CreateApiKey CreateApiKey' :: Maybe Text -> Maybe Integer -> Text -> CreateApiKey -- | Create a value of CreateApiKey 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: -- -- CreateApiKey, createApiKey_description - A description -- of the purpose of the API key. -- -- CreateApiKey, createApiKey_expires - From the creation -- time, the time after which the API key expires. The date is -- represented as seconds since the epoch, rounded down to the nearest -- hour. The default value for this parameter is 7 days from creation -- time. For more information, see . -- -- CreateApiKey, createApiKey_apiId - The ID for your -- GraphQL API. newCreateApiKey :: Text -> CreateApiKey -- | See: newCreateApiKeyResponse smart constructor. data CreateApiKeyResponse CreateApiKeyResponse' :: Maybe ApiKey -> Int -> CreateApiKeyResponse -- | Create a value of CreateApiKeyResponse 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:apiKey:CreateApiKeyResponse', -- createApiKeyResponse_apiKey - The API key. -- -- $sel:httpStatus:CreateApiKeyResponse', -- createApiKeyResponse_httpStatus - The response's http status -- code. newCreateApiKeyResponse :: Int -> CreateApiKeyResponse -- | See: newCreateDataSource smart constructor. data CreateDataSource CreateDataSource' :: Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Text -> Text -> DataSourceType -> CreateDataSource -- | Create a value of CreateDataSource 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: -- -- CreateDataSource, createDataSource_description - A -- description of the DataSource. -- -- CreateDataSource, createDataSource_dynamodbConfig - -- Amazon DynamoDB settings. -- -- CreateDataSource, createDataSource_elasticsearchConfig - -- Amazon OpenSearch Service settings. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. For new data -- sources, use CreateDataSourceRequest$openSearchServiceConfig to create -- an OpenSearch data source. -- -- CreateDataSource, createDataSource_httpConfig - HTTP -- endpoint settings. -- -- CreateDataSource, createDataSource_lambdaConfig - Lambda -- settings. -- -- CreateDataSource, -- createDataSource_openSearchServiceConfig - Amazon OpenSearch -- Service settings. -- -- CreateDataSource, -- createDataSource_relationalDatabaseConfig - Relational database -- settings. -- -- CreateDataSource, createDataSource_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. -- -- CreateDataSource, createDataSource_apiId - The API ID -- for the GraphQL API for the DataSource. -- -- CreateDataSource, createDataSource_name - A -- user-supplied name for the DataSource. -- -- CreateDataSource, createDataSource_type - The type of -- the DataSource. newCreateDataSource :: Text -> Text -> DataSourceType -> CreateDataSource -- | See: newCreateDataSourceResponse smart constructor. data CreateDataSourceResponse CreateDataSourceResponse' :: Maybe DataSource -> Int -> CreateDataSourceResponse -- | Create a value of CreateDataSourceResponse 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:dataSource:CreateDataSourceResponse', -- createDataSourceResponse_dataSource - The DataSource -- object. -- -- $sel:httpStatus:CreateDataSourceResponse', -- createDataSourceResponse_httpStatus - The response's http -- status code. newCreateDataSourceResponse :: Int -> CreateDataSourceResponse -- | See: newCreateDomainName smart constructor. data CreateDomainName CreateDomainName' :: Maybe Text -> Text -> Text -> CreateDomainName -- | Create a value of CreateDomainName 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: -- -- CreateDomainName, createDomainName_description - A -- description of the DomainName. -- -- CreateDomainName, createDomainName_domainName - The -- domain name. -- -- CreateDomainName, createDomainName_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. newCreateDomainName :: Text -> Text -> CreateDomainName -- | See: newCreateDomainNameResponse smart constructor. data CreateDomainNameResponse CreateDomainNameResponse' :: Maybe DomainNameConfig -> Int -> CreateDomainNameResponse -- | Create a value of CreateDomainNameResponse 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:domainNameConfig:CreateDomainNameResponse', -- createDomainNameResponse_domainNameConfig - The configuration -- for the DomainName. -- -- $sel:httpStatus:CreateDomainNameResponse', -- createDomainNameResponse_httpStatus - The response's http -- status code. newCreateDomainNameResponse :: Int -> CreateDomainNameResponse -- | See: newCreateFunction smart constructor. data CreateFunction CreateFunction' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> CreateFunction -- | Create a value of CreateFunction 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: -- -- CreateFunction, createFunction_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. -- -- CreateFunction, createFunction_description - The -- Function description. -- -- CreateFunction, createFunction_functionVersion - The -- version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. -- -- CreateFunction, createFunction_maxBatchSize - The -- maximum batching size for a resolver. -- -- CreateFunction, createFunction_requestMappingTemplate - -- The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. -- -- CreateFunction, createFunction_responseMappingTemplate - -- The Function response mapping template. -- -- CreateFunction, createFunction_runtime - Undocumented -- member. -- -- CreateFunction, createFunction_syncConfig - Undocumented -- member. -- -- CreateFunction, createFunction_apiId - The GraphQL API -- ID. -- -- CreateFunction, createFunction_name - The -- Function name. The function name does not have to be unique. -- -- CreateFunction, createFunction_dataSourceName - The -- Function DataSource name. newCreateFunction :: Text -> Text -> Text -> CreateFunction -- | See: newCreateFunctionResponse smart constructor. data CreateFunctionResponse CreateFunctionResponse' :: Maybe FunctionConfiguration -> Int -> CreateFunctionResponse -- | Create a value of CreateFunctionResponse 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:functionConfiguration:CreateFunctionResponse', -- createFunctionResponse_functionConfiguration - The -- Function object. -- -- $sel:httpStatus:CreateFunctionResponse', -- createFunctionResponse_httpStatus - The response's http status -- code. newCreateFunctionResponse :: Int -> CreateFunctionResponse -- | See: newCreateGraphqlApi smart constructor. data CreateGraphqlApi CreateGraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe OpenIDConnectConfig -> Maybe (HashMap Text Text) -> Maybe UserPoolConfig -> Maybe Bool -> Text -> AuthenticationType -> CreateGraphqlApi -- | Create a value of CreateGraphqlApi 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: -- -- CreateGraphqlApi, -- createGraphqlApi_additionalAuthenticationProviders - A list of -- additional authentication providers for the GraphqlApi API. -- -- CreateGraphqlApi, -- createGraphqlApi_lambdaAuthorizerConfig - Configuration for -- Lambda function authorization. -- -- CreateGraphqlApi, createGraphqlApi_logConfig - The -- Amazon CloudWatch Logs configuration. -- -- CreateGraphqlApi, createGraphqlApi_openIDConnectConfig - -- The OIDC configuration. -- -- CreateGraphqlApi, createGraphqlApi_tags - A -- TagMap object. -- -- CreateGraphqlApi, createGraphqlApi_userPoolConfig - The -- Amazon Cognito user pool configuration. -- -- CreateGraphqlApi, createGraphqlApi_xrayEnabled - A flag -- indicating whether to use X-Ray tracing for the GraphqlApi. -- -- CreateGraphqlApi, createGraphqlApi_name - A -- user-supplied name for the GraphqlApi. -- -- CreateGraphqlApi, createGraphqlApi_authenticationType - -- The authentication type: API key, Identity and Access Management -- (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda. newCreateGraphqlApi :: Text -> AuthenticationType -> CreateGraphqlApi -- | See: newCreateGraphqlApiResponse smart constructor. data CreateGraphqlApiResponse CreateGraphqlApiResponse' :: Maybe GraphqlApi -> Int -> CreateGraphqlApiResponse -- | Create a value of CreateGraphqlApiResponse 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:graphqlApi:CreateGraphqlApiResponse', -- createGraphqlApiResponse_graphqlApi - The GraphqlApi. -- -- $sel:httpStatus:CreateGraphqlApiResponse', -- createGraphqlApiResponse_httpStatus - The response's http -- status code. newCreateGraphqlApiResponse :: Int -> CreateGraphqlApiResponse -- | See: newCreateResolver smart constructor. data CreateResolver CreateResolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> CreateResolver -- | Create a value of CreateResolver 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: -- -- CreateResolver, createResolver_cachingConfig - The -- caching configuration for the resolver. -- -- CreateResolver, createResolver_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. -- -- CreateResolver, createResolver_dataSourceName - The name -- of the data source for which the resolver is being created. -- -- CreateResolver, createResolver_kind - The resolver type. -- -- -- -- CreateResolver, createResolver_maxBatchSize - The -- maximum batching size for a resolver. -- -- CreateResolver, createResolver_pipelineConfig - The -- PipelineConfig. -- -- CreateResolver, createResolver_requestMappingTemplate - -- The mapping template to use for requests. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. -- -- CreateResolver, createResolver_responseMappingTemplate - -- The mapping template to use for responses from the data source. -- -- CreateResolver, createResolver_runtime - Undocumented -- member. -- -- CreateResolver, createResolver_syncConfig - The -- SyncConfig for a resolver attached to a versioned data -- source. -- -- CreateResolver, createResolver_apiId - The ID for the -- GraphQL API for which the resolver is being created. -- -- CreateResolver, createResolver_typeName - The name of -- the Type. -- -- CreateResolver, createResolver_fieldName - The name of -- the field to attach the resolver to. newCreateResolver :: Text -> Text -> Text -> CreateResolver -- | See: newCreateResolverResponse smart constructor. data CreateResolverResponse CreateResolverResponse' :: Maybe Resolver -> Int -> CreateResolverResponse -- | Create a value of CreateResolverResponse 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:resolver:CreateResolverResponse', -- createResolverResponse_resolver - The Resolver object. -- -- $sel:httpStatus:CreateResolverResponse', -- createResolverResponse_httpStatus - The response's http status -- code. newCreateResolverResponse :: Int -> CreateResolverResponse -- | See: newCreateType smart constructor. data CreateType CreateType' :: Text -> Text -> TypeDefinitionFormat -> CreateType -- | Create a value of CreateType 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: -- -- CreateType, createType_apiId - The API ID. -- -- CreateType, createType_definition - The type definition, -- in GraphQL Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. -- -- CreateType, createType_format - The type format: SDL or -- JSON. newCreateType :: Text -> Text -> TypeDefinitionFormat -> CreateType -- | See: newCreateTypeResponse smart constructor. data CreateTypeResponse CreateTypeResponse' :: Maybe Type -> Int -> CreateTypeResponse -- | Create a value of CreateTypeResponse 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: -- -- CreateTypeResponse, createTypeResponse_type - The -- Type object. -- -- $sel:httpStatus:CreateTypeResponse', -- createTypeResponse_httpStatus - The response's http status -- code. newCreateTypeResponse :: Int -> CreateTypeResponse -- | Represents the input of a DeleteApiCache operation. -- -- See: newDeleteApiCache smart constructor. data DeleteApiCache DeleteApiCache' :: Text -> DeleteApiCache -- | Create a value of DeleteApiCache 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: -- -- DeleteApiCache, deleteApiCache_apiId - The API ID. newDeleteApiCache :: Text -> DeleteApiCache -- | Represents the output of a DeleteApiCache operation. -- -- See: newDeleteApiCacheResponse smart constructor. data DeleteApiCacheResponse DeleteApiCacheResponse' :: Int -> DeleteApiCacheResponse -- | Create a value of DeleteApiCacheResponse 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:httpStatus:DeleteApiCacheResponse', -- deleteApiCacheResponse_httpStatus - The response's http status -- code. newDeleteApiCacheResponse :: Int -> DeleteApiCacheResponse -- | See: newDeleteApiKey smart constructor. data DeleteApiKey DeleteApiKey' :: Text -> Text -> DeleteApiKey -- | Create a value of DeleteApiKey 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: -- -- DeleteApiKey, deleteApiKey_apiId - The API ID. -- -- DeleteApiKey, deleteApiKey_id - The ID for the API key. newDeleteApiKey :: Text -> Text -> DeleteApiKey -- | See: newDeleteApiKeyResponse smart constructor. data DeleteApiKeyResponse DeleteApiKeyResponse' :: Int -> DeleteApiKeyResponse -- | Create a value of DeleteApiKeyResponse 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:httpStatus:DeleteApiKeyResponse', -- deleteApiKeyResponse_httpStatus - The response's http status -- code. newDeleteApiKeyResponse :: Int -> DeleteApiKeyResponse -- | See: newDeleteDataSource smart constructor. data DeleteDataSource DeleteDataSource' :: Text -> Text -> DeleteDataSource -- | Create a value of DeleteDataSource 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: -- -- DeleteDataSource, deleteDataSource_apiId - The API ID. -- -- DeleteDataSource, deleteDataSource_name - The name of -- the data source. newDeleteDataSource :: Text -> Text -> DeleteDataSource -- | See: newDeleteDataSourceResponse smart constructor. data DeleteDataSourceResponse DeleteDataSourceResponse' :: Int -> DeleteDataSourceResponse -- | Create a value of DeleteDataSourceResponse 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:httpStatus:DeleteDataSourceResponse', -- deleteDataSourceResponse_httpStatus - The response's http -- status code. newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse -- | See: newDeleteDomainName smart constructor. data DeleteDomainName DeleteDomainName' :: Text -> DeleteDomainName -- | Create a value of DeleteDomainName 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: -- -- DeleteDomainName, deleteDomainName_domainName - The -- domain name. newDeleteDomainName :: Text -> DeleteDomainName -- | See: newDeleteDomainNameResponse smart constructor. data DeleteDomainNameResponse DeleteDomainNameResponse' :: Int -> DeleteDomainNameResponse -- | Create a value of DeleteDomainNameResponse 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:httpStatus:DeleteDomainNameResponse', -- deleteDomainNameResponse_httpStatus - The response's http -- status code. newDeleteDomainNameResponse :: Int -> DeleteDomainNameResponse -- | See: newDeleteFunction smart constructor. data DeleteFunction DeleteFunction' :: Text -> Text -> DeleteFunction -- | Create a value of DeleteFunction 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: -- -- DeleteFunction, deleteFunction_apiId - The GraphQL API -- ID. -- -- DeleteFunction, deleteFunction_functionId - The -- Function ID. newDeleteFunction :: Text -> Text -> DeleteFunction -- | See: newDeleteFunctionResponse smart constructor. data DeleteFunctionResponse DeleteFunctionResponse' :: Int -> DeleteFunctionResponse -- | Create a value of DeleteFunctionResponse 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:httpStatus:DeleteFunctionResponse', -- deleteFunctionResponse_httpStatus - The response's http status -- code. newDeleteFunctionResponse :: Int -> DeleteFunctionResponse -- | See: newDeleteGraphqlApi smart constructor. data DeleteGraphqlApi DeleteGraphqlApi' :: Text -> DeleteGraphqlApi -- | Create a value of DeleteGraphqlApi 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: -- -- DeleteGraphqlApi, deleteGraphqlApi_apiId - The API ID. newDeleteGraphqlApi :: Text -> DeleteGraphqlApi -- | See: newDeleteGraphqlApiResponse smart constructor. data DeleteGraphqlApiResponse DeleteGraphqlApiResponse' :: Int -> DeleteGraphqlApiResponse -- | Create a value of DeleteGraphqlApiResponse 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:httpStatus:DeleteGraphqlApiResponse', -- deleteGraphqlApiResponse_httpStatus - The response's http -- status code. newDeleteGraphqlApiResponse :: Int -> DeleteGraphqlApiResponse -- | See: newDeleteResolver smart constructor. data DeleteResolver DeleteResolver' :: Text -> Text -> Text -> DeleteResolver -- | Create a value of DeleteResolver 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: -- -- DeleteResolver, deleteResolver_apiId - The API ID. -- -- DeleteResolver, deleteResolver_typeName - The name of -- the resolver type. -- -- DeleteResolver, deleteResolver_fieldName - The resolver -- field name. newDeleteResolver :: Text -> Text -> Text -> DeleteResolver -- | See: newDeleteResolverResponse smart constructor. data DeleteResolverResponse DeleteResolverResponse' :: Int -> DeleteResolverResponse -- | Create a value of DeleteResolverResponse 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:httpStatus:DeleteResolverResponse', -- deleteResolverResponse_httpStatus - The response's http status -- code. newDeleteResolverResponse :: Int -> DeleteResolverResponse -- | See: newDeleteType smart constructor. data DeleteType DeleteType' :: Text -> Text -> DeleteType -- | Create a value of DeleteType 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: -- -- DeleteType, deleteType_apiId - The API ID. -- -- DeleteType, deleteType_typeName - The type name. newDeleteType :: Text -> Text -> DeleteType -- | See: newDeleteTypeResponse smart constructor. data DeleteTypeResponse DeleteTypeResponse' :: Int -> DeleteTypeResponse -- | Create a value of DeleteTypeResponse 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:httpStatus:DeleteTypeResponse', -- deleteTypeResponse_httpStatus - The response's http status -- code. newDeleteTypeResponse :: Int -> DeleteTypeResponse -- | See: newDisassociateApi smart constructor. data DisassociateApi DisassociateApi' :: Text -> DisassociateApi -- | Create a value of DisassociateApi 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: -- -- DisassociateApi, disassociateApi_domainName - The domain -- name. newDisassociateApi :: Text -> DisassociateApi -- | See: newDisassociateApiResponse smart constructor. data DisassociateApiResponse DisassociateApiResponse' :: Int -> DisassociateApiResponse -- | Create a value of DisassociateApiResponse 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:httpStatus:DisassociateApiResponse', -- disassociateApiResponse_httpStatus - The response's http status -- code. newDisassociateApiResponse :: Int -> DisassociateApiResponse -- | See: newEvaluateCode smart constructor. data EvaluateCode EvaluateCode' :: Maybe Text -> AppSyncRuntime -> Text -> Text -> EvaluateCode -- | Create a value of EvaluateCode 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:function:EvaluateCode', evaluateCode_function - The -- function within the code to be evaluated. If provided, the valid -- values are request and response. -- -- EvaluateCode, evaluateCode_runtime - The runtime to be -- used when evaluating the code. Currently, only the APPSYNC_JS -- runtime is supported. -- -- EvaluateCode, evaluateCode_code - The code definition to -- be evaluated. Note that code and runtime are both -- required for this action. The runtime value must be -- APPSYNC_JS. -- -- $sel:context:EvaluateCode', evaluateCode_context - The -- map that holds all of the contextual information for your resolver -- invocation. A context is required for this action. newEvaluateCode :: AppSyncRuntime -> Text -> Text -> EvaluateCode -- | See: newEvaluateCodeResponse smart constructor. data EvaluateCodeResponse EvaluateCodeResponse' :: Maybe EvaluateCodeErrorDetail -> Maybe Text -> Maybe [Text] -> Int -> EvaluateCodeResponse -- | Create a value of EvaluateCodeResponse 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:error:EvaluateCodeResponse', -- evaluateCodeResponse_error - Contains the payload of the -- response error. -- -- $sel:evaluationResult:EvaluateCodeResponse', -- evaluateCodeResponse_evaluationResult - The result of the -- evaluation operation. -- -- $sel:logs:EvaluateCodeResponse', -- evaluateCodeResponse_logs - A list of logs that were generated -- by calls to util.log.info and util.log.error in the -- evaluated code. -- -- $sel:httpStatus:EvaluateCodeResponse', -- evaluateCodeResponse_httpStatus - The response's http status -- code. newEvaluateCodeResponse :: Int -> EvaluateCodeResponse -- | See: newEvaluateMappingTemplate smart constructor. data EvaluateMappingTemplate EvaluateMappingTemplate' :: Text -> Text -> EvaluateMappingTemplate -- | Create a value of EvaluateMappingTemplate 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:template:EvaluateMappingTemplate', -- evaluateMappingTemplate_template - The mapping template; this -- can be a request or response template. A template is required -- for this action. -- -- $sel:context:EvaluateMappingTemplate', -- evaluateMappingTemplate_context - The map that holds all of the -- contextual information for your resolver invocation. A -- context is required for this action. newEvaluateMappingTemplate :: Text -> Text -> EvaluateMappingTemplate -- | See: newEvaluateMappingTemplateResponse smart -- constructor. data EvaluateMappingTemplateResponse EvaluateMappingTemplateResponse' :: Maybe ErrorDetail -> Maybe Text -> Maybe [Text] -> Int -> EvaluateMappingTemplateResponse -- | Create a value of EvaluateMappingTemplateResponse 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:error:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_error - The -- ErrorDetail object. -- -- $sel:evaluationResult:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_evaluationResult - The mapping -- template; this can be a request or response template. -- -- $sel:logs:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_logs - A list of logs that were -- generated by calls to util.log.info and -- util.log.error in the evaluated code. -- -- $sel:httpStatus:EvaluateMappingTemplateResponse', -- evaluateMappingTemplateResponse_httpStatus - The response's -- http status code. newEvaluateMappingTemplateResponse :: Int -> EvaluateMappingTemplateResponse -- | Represents the input of a FlushApiCache operation. -- -- See: newFlushApiCache smart constructor. data FlushApiCache FlushApiCache' :: Text -> FlushApiCache -- | Create a value of FlushApiCache 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: -- -- FlushApiCache, flushApiCache_apiId - The API ID. newFlushApiCache :: Text -> FlushApiCache -- | Represents the output of a FlushApiCache operation. -- -- See: newFlushApiCacheResponse smart constructor. data FlushApiCacheResponse FlushApiCacheResponse' :: Int -> FlushApiCacheResponse -- | Create a value of FlushApiCacheResponse 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:httpStatus:FlushApiCacheResponse', -- flushApiCacheResponse_httpStatus - The response's http status -- code. newFlushApiCacheResponse :: Int -> FlushApiCacheResponse -- | See: newGetApiAssociation smart constructor. data GetApiAssociation GetApiAssociation' :: Text -> GetApiAssociation -- | Create a value of GetApiAssociation 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: -- -- GetApiAssociation, getApiAssociation_domainName - The -- domain name. newGetApiAssociation :: Text -> GetApiAssociation -- | See: newGetApiAssociationResponse smart constructor. data GetApiAssociationResponse GetApiAssociationResponse' :: Maybe ApiAssociation -> Int -> GetApiAssociationResponse -- | Create a value of GetApiAssociationResponse 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:apiAssociation:GetApiAssociationResponse', -- getApiAssociationResponse_apiAssociation - The -- ApiAssociation object. -- -- $sel:httpStatus:GetApiAssociationResponse', -- getApiAssociationResponse_httpStatus - The response's http -- status code. newGetApiAssociationResponse :: Int -> GetApiAssociationResponse -- | Represents the input of a GetApiCache operation. -- -- See: newGetApiCache smart constructor. data GetApiCache GetApiCache' :: Text -> GetApiCache -- | Create a value of GetApiCache 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: -- -- GetApiCache, getApiCache_apiId - The API ID. newGetApiCache :: Text -> GetApiCache -- | Represents the output of a GetApiCache operation. -- -- See: newGetApiCacheResponse smart constructor. data GetApiCacheResponse GetApiCacheResponse' :: Maybe ApiCache -> Int -> GetApiCacheResponse -- | Create a value of GetApiCacheResponse 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:apiCache:GetApiCacheResponse', -- getApiCacheResponse_apiCache - The ApiCache object. -- -- $sel:httpStatus:GetApiCacheResponse', -- getApiCacheResponse_httpStatus - The response's http status -- code. newGetApiCacheResponse :: Int -> GetApiCacheResponse -- | See: newGetDataSource smart constructor. data GetDataSource GetDataSource' :: Text -> Text -> GetDataSource -- | Create a value of GetDataSource 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: -- -- GetDataSource, getDataSource_apiId - The API ID. -- -- GetDataSource, getDataSource_name - The name of the data -- source. newGetDataSource :: Text -> Text -> GetDataSource -- | See: newGetDataSourceResponse smart constructor. data GetDataSourceResponse GetDataSourceResponse' :: Maybe DataSource -> Int -> GetDataSourceResponse -- | Create a value of GetDataSourceResponse 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:dataSource:GetDataSourceResponse', -- getDataSourceResponse_dataSource - The DataSource -- object. -- -- $sel:httpStatus:GetDataSourceResponse', -- getDataSourceResponse_httpStatus - The response's http status -- code. newGetDataSourceResponse :: Int -> GetDataSourceResponse -- | See: newGetDomainName smart constructor. data GetDomainName GetDomainName' :: Text -> GetDomainName -- | Create a value of GetDomainName 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: -- -- GetDomainName, getDomainName_domainName - The domain -- name. newGetDomainName :: Text -> GetDomainName -- | See: newGetDomainNameResponse smart constructor. data GetDomainNameResponse GetDomainNameResponse' :: Maybe DomainNameConfig -> Int -> GetDomainNameResponse -- | Create a value of GetDomainNameResponse 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:domainNameConfig:GetDomainNameResponse', -- getDomainNameResponse_domainNameConfig - The configuration for -- the DomainName. -- -- $sel:httpStatus:GetDomainNameResponse', -- getDomainNameResponse_httpStatus - The response's http status -- code. newGetDomainNameResponse :: Int -> GetDomainNameResponse -- | See: newGetFunction smart constructor. data GetFunction GetFunction' :: Text -> Text -> GetFunction -- | Create a value of GetFunction 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: -- -- GetFunction, getFunction_apiId - The GraphQL API ID. -- -- GetFunction, getFunction_functionId - The -- Function ID. newGetFunction :: Text -> Text -> GetFunction -- | See: newGetFunctionResponse smart constructor. data GetFunctionResponse GetFunctionResponse' :: Maybe FunctionConfiguration -> Int -> GetFunctionResponse -- | Create a value of GetFunctionResponse 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:functionConfiguration:GetFunctionResponse', -- getFunctionResponse_functionConfiguration - The -- Function object. -- -- $sel:httpStatus:GetFunctionResponse', -- getFunctionResponse_httpStatus - The response's http status -- code. newGetFunctionResponse :: Int -> GetFunctionResponse -- | See: newGetGraphqlApi smart constructor. data GetGraphqlApi GetGraphqlApi' :: Text -> GetGraphqlApi -- | Create a value of GetGraphqlApi 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: -- -- GetGraphqlApi, getGraphqlApi_apiId - The API ID for the -- GraphQL API. newGetGraphqlApi :: Text -> GetGraphqlApi -- | See: newGetGraphqlApiResponse smart constructor. data GetGraphqlApiResponse GetGraphqlApiResponse' :: Maybe GraphqlApi -> Int -> GetGraphqlApiResponse -- | Create a value of GetGraphqlApiResponse 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:graphqlApi:GetGraphqlApiResponse', -- getGraphqlApiResponse_graphqlApi - The GraphqlApi -- object. -- -- $sel:httpStatus:GetGraphqlApiResponse', -- getGraphqlApiResponse_httpStatus - The response's http status -- code. newGetGraphqlApiResponse :: Int -> GetGraphqlApiResponse -- | See: newGetIntrospectionSchema smart constructor. data GetIntrospectionSchema GetIntrospectionSchema' :: Maybe Bool -> Text -> OutputType -> GetIntrospectionSchema -- | Create a value of GetIntrospectionSchema 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:includeDirectives:GetIntrospectionSchema', -- getIntrospectionSchema_includeDirectives - A flag that -- specifies whether the schema introspection should contain directives. -- -- GetIntrospectionSchema, getIntrospectionSchema_apiId - -- The API ID. -- -- GetIntrospectionSchema, getIntrospectionSchema_format - -- The schema format: SDL or JSON. newGetIntrospectionSchema :: Text -> OutputType -> GetIntrospectionSchema -- | See: newGetIntrospectionSchemaResponse smart -- constructor. data GetIntrospectionSchemaResponse GetIntrospectionSchemaResponse' :: Maybe ByteString -> Int -> GetIntrospectionSchemaResponse -- | Create a value of GetIntrospectionSchemaResponse 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: -- -- GetIntrospectionSchemaResponse, -- getIntrospectionSchemaResponse_schema - The schema, in GraphQL -- Schema Definition Language (SDL) format. -- -- For more information, see the GraphQL SDL documentation. -- -- $sel:httpStatus:GetIntrospectionSchemaResponse', -- getIntrospectionSchemaResponse_httpStatus - The response's http -- status code. newGetIntrospectionSchemaResponse :: Int -> GetIntrospectionSchemaResponse -- | See: newGetResolver smart constructor. data GetResolver GetResolver' :: Text -> Text -> Text -> GetResolver -- | Create a value of GetResolver 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: -- -- GetResolver, getResolver_apiId - The API ID. -- -- GetResolver, getResolver_typeName - The resolver type -- name. -- -- GetResolver, getResolver_fieldName - The resolver field -- name. newGetResolver :: Text -> Text -> Text -> GetResolver -- | See: newGetResolverResponse smart constructor. data GetResolverResponse GetResolverResponse' :: Maybe Resolver -> Int -> GetResolverResponse -- | Create a value of GetResolverResponse 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:resolver:GetResolverResponse', -- getResolverResponse_resolver - The Resolver object. -- -- $sel:httpStatus:GetResolverResponse', -- getResolverResponse_httpStatus - The response's http status -- code. newGetResolverResponse :: Int -> GetResolverResponse -- | See: newGetSchemaCreationStatus smart constructor. data GetSchemaCreationStatus GetSchemaCreationStatus' :: Text -> GetSchemaCreationStatus -- | Create a value of GetSchemaCreationStatus 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: -- -- GetSchemaCreationStatus, getSchemaCreationStatus_apiId - -- The API ID. newGetSchemaCreationStatus :: Text -> GetSchemaCreationStatus -- | See: newGetSchemaCreationStatusResponse smart -- constructor. data GetSchemaCreationStatusResponse GetSchemaCreationStatusResponse' :: Maybe Text -> Maybe SchemaStatus -> Int -> GetSchemaCreationStatusResponse -- | Create a value of GetSchemaCreationStatusResponse 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:details:GetSchemaCreationStatusResponse', -- getSchemaCreationStatusResponse_details - Detailed information -- about the status of the schema creation operation. -- -- GetSchemaCreationStatusResponse, -- getSchemaCreationStatusResponse_status - The current state of -- the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the -- schema is in the ACTIVE state, you can add data. -- -- $sel:httpStatus:GetSchemaCreationStatusResponse', -- getSchemaCreationStatusResponse_httpStatus - The response's -- http status code. newGetSchemaCreationStatusResponse :: Int -> GetSchemaCreationStatusResponse -- | See: newGetType smart constructor. data GetType GetType' :: Text -> Text -> TypeDefinitionFormat -> GetType -- | Create a value of GetType 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: -- -- GetType, getType_apiId - The API ID. -- -- GetType, getType_typeName - The type name. -- -- GetType, getType_format - The type format: SDL or JSON. newGetType :: Text -> Text -> TypeDefinitionFormat -> GetType -- | See: newGetTypeResponse smart constructor. data GetTypeResponse GetTypeResponse' :: Maybe Type -> Int -> GetTypeResponse -- | Create a value of GetTypeResponse 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: -- -- GetTypeResponse, getTypeResponse_type - The -- Type object. -- -- $sel:httpStatus:GetTypeResponse', -- getTypeResponse_httpStatus - The response's http status code. newGetTypeResponse :: Int -> GetTypeResponse -- | See: newListApiKeys smart constructor. data ListApiKeys ListApiKeys' :: Maybe Natural -> Maybe Text -> Text -> ListApiKeys -- | Create a value of ListApiKeys 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:maxResults:ListApiKeys', listApiKeys_maxResults - -- The maximum number of results that you want the request to return. -- -- ListApiKeys, listApiKeys_nextToken - An identifier that -- was returned from the previous call to this operation, which you can -- use to return the next set of items in the list. -- -- ListApiKeys, listApiKeys_apiId - The API ID. newListApiKeys :: Text -> ListApiKeys -- | See: newListApiKeysResponse smart constructor. data ListApiKeysResponse ListApiKeysResponse' :: Maybe [ApiKey] -> Maybe Text -> Int -> ListApiKeysResponse -- | Create a value of ListApiKeysResponse 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:apiKeys:ListApiKeysResponse', -- listApiKeysResponse_apiKeys - The ApiKey objects. -- -- ListApiKeys, listApiKeysResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:httpStatus:ListApiKeysResponse', -- listApiKeysResponse_httpStatus - The response's http status -- code. newListApiKeysResponse :: Int -> ListApiKeysResponse -- | See: newListDataSources smart constructor. data ListDataSources ListDataSources' :: Maybe Natural -> Maybe Text -> Text -> ListDataSources -- | Create a value of ListDataSources 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:maxResults:ListDataSources', -- listDataSources_maxResults - The maximum number of results that -- you want the request to return. -- -- ListDataSources, listDataSources_nextToken - An -- identifier that was returned from the previous call to this operation, -- which you can use to return the next set of items in the list. -- -- ListDataSources, listDataSources_apiId - The API ID. newListDataSources :: Text -> ListDataSources -- | See: newListDataSourcesResponse smart constructor. data ListDataSourcesResponse ListDataSourcesResponse' :: Maybe [DataSource] -> Maybe Text -> Int -> ListDataSourcesResponse -- | Create a value of ListDataSourcesResponse 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:dataSources:ListDataSourcesResponse', -- listDataSourcesResponse_dataSources - The DataSource -- objects. -- -- ListDataSources, listDataSourcesResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:httpStatus:ListDataSourcesResponse', -- listDataSourcesResponse_httpStatus - The response's http status -- code. newListDataSourcesResponse :: Int -> ListDataSourcesResponse -- | See: newListDomainNames smart constructor. data ListDomainNames ListDomainNames' :: Maybe Natural -> Maybe Text -> ListDomainNames -- | Create a value of ListDomainNames 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:maxResults:ListDomainNames', -- listDomainNames_maxResults - The maximum number of results that -- you want the request to return. -- -- ListDomainNames, listDomainNames_nextToken - The API -- token. newListDomainNames :: ListDomainNames -- | See: newListDomainNamesResponse smart constructor. data ListDomainNamesResponse ListDomainNamesResponse' :: Maybe [DomainNameConfig] -> Maybe Text -> Int -> ListDomainNamesResponse -- | Create a value of ListDomainNamesResponse 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:domainNameConfigs:ListDomainNamesResponse', -- listDomainNamesResponse_domainNameConfigs - Lists -- configurations for multiple domain names. -- -- ListDomainNames, listDomainNamesResponse_nextToken - The -- API token. -- -- $sel:httpStatus:ListDomainNamesResponse', -- listDomainNamesResponse_httpStatus - The response's http status -- code. newListDomainNamesResponse :: Int -> ListDomainNamesResponse -- | See: newListFunctions smart constructor. data ListFunctions ListFunctions' :: Maybe Natural -> Maybe Text -> Text -> ListFunctions -- | Create a value of ListFunctions 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:maxResults:ListFunctions', listFunctions_maxResults -- - The maximum number of results that you want the request to return. -- -- ListFunctions, listFunctions_nextToken - An identifier -- that was returned from the previous call to this operation, which you -- can use to return the next set of items in the list. -- -- ListFunctions, listFunctions_apiId - The GraphQL API ID. newListFunctions :: Text -> ListFunctions -- | See: newListFunctionsResponse smart constructor. data ListFunctionsResponse ListFunctionsResponse' :: Maybe [FunctionConfiguration] -> Maybe Text -> Int -> ListFunctionsResponse -- | Create a value of ListFunctionsResponse 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: -- -- ListFunctionsResponse, listFunctionsResponse_functions - -- A list of Function objects. -- -- ListFunctions, listFunctionsResponse_nextToken - An -- identifier that was returned from the previous call to this operation, -- which you can use to return the next set of items in the list. -- -- $sel:httpStatus:ListFunctionsResponse', -- listFunctionsResponse_httpStatus - The response's http status -- code. newListFunctionsResponse :: Int -> ListFunctionsResponse -- | See: newListGraphqlApis smart constructor. data ListGraphqlApis ListGraphqlApis' :: Maybe Natural -> Maybe Text -> ListGraphqlApis -- | Create a value of ListGraphqlApis 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:maxResults:ListGraphqlApis', -- listGraphqlApis_maxResults - The maximum number of results that -- you want the request to return. -- -- ListGraphqlApis, listGraphqlApis_nextToken - An -- identifier that was returned from the previous call to this operation, -- which you can use to return the next set of items in the list. newListGraphqlApis :: ListGraphqlApis -- | See: newListGraphqlApisResponse smart constructor. data ListGraphqlApisResponse ListGraphqlApisResponse' :: Maybe [GraphqlApi] -> Maybe Text -> Int -> ListGraphqlApisResponse -- | Create a value of ListGraphqlApisResponse 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:graphqlApis:ListGraphqlApisResponse', -- listGraphqlApisResponse_graphqlApis - The GraphqlApi -- objects. -- -- ListGraphqlApis, listGraphqlApisResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:httpStatus:ListGraphqlApisResponse', -- listGraphqlApisResponse_httpStatus - The response's http status -- code. newListGraphqlApisResponse :: Int -> ListGraphqlApisResponse -- | See: newListResolvers smart constructor. data ListResolvers ListResolvers' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListResolvers -- | Create a value of ListResolvers 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:maxResults:ListResolvers', listResolvers_maxResults -- - The maximum number of results that you want the request to return. -- -- ListResolvers, listResolvers_nextToken - An identifier -- that was returned from the previous call to this operation, which you -- can use to return the next set of items in the list. -- -- ListResolvers, listResolvers_apiId - The API ID. -- -- ListResolvers, listResolvers_typeName - The type name. newListResolvers :: Text -> Text -> ListResolvers -- | See: newListResolversResponse smart constructor. data ListResolversResponse ListResolversResponse' :: Maybe Text -> Maybe [Resolver] -> Int -> ListResolversResponse -- | Create a value of ListResolversResponse 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: -- -- ListResolvers, listResolversResponse_nextToken - An -- identifier to pass in the next request to this operation to return the -- next set of items in the list. -- -- $sel:resolvers:ListResolversResponse', -- listResolversResponse_resolvers - The Resolver -- objects. -- -- $sel:httpStatus:ListResolversResponse', -- listResolversResponse_httpStatus - The response's http status -- code. newListResolversResponse :: Int -> ListResolversResponse -- | See: newListResolversByFunction smart constructor. data ListResolversByFunction ListResolversByFunction' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListResolversByFunction -- | Create a value of ListResolversByFunction 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:maxResults:ListResolversByFunction', -- listResolversByFunction_maxResults - The maximum number of -- results that you want the request to return. -- -- ListResolversByFunction, -- listResolversByFunction_nextToken - An identifier that was -- returned from the previous call to this operation, which you can use -- to return the next set of items in the list. -- -- ListResolversByFunction, listResolversByFunction_apiId - -- The API ID. -- -- ListResolversByFunction, -- listResolversByFunction_functionId - The function ID. newListResolversByFunction :: Text -> Text -> ListResolversByFunction -- | See: newListResolversByFunctionResponse smart -- constructor. data ListResolversByFunctionResponse ListResolversByFunctionResponse' :: Maybe Text -> Maybe [Resolver] -> Int -> ListResolversByFunctionResponse -- | Create a value of ListResolversByFunctionResponse 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: -- -- ListResolversByFunction, -- listResolversByFunctionResponse_nextToken - An identifier that -- you can use to return the next set of items in the list. -- -- $sel:resolvers:ListResolversByFunctionResponse', -- listResolversByFunctionResponse_resolvers - The list of -- resolvers. -- -- $sel:httpStatus:ListResolversByFunctionResponse', -- listResolversByFunctionResponse_httpStatus - The response's -- http status code. newListResolversByFunctionResponse :: Int -> ListResolversByFunctionResponse -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', -- listTagsForResource_resourceArn - The GraphqlApi -- Amazon Resource Name (ARN). newListTagsForResource :: Text -> ListTagsForResource -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse -- | Create a value of ListTagsForResourceResponse 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: -- -- ListTagsForResourceResponse, -- listTagsForResourceResponse_tags - A TagMap object. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | See: newListTypes smart constructor. data ListTypes ListTypes' :: Maybe Natural -> Maybe Text -> Text -> TypeDefinitionFormat -> ListTypes -- | Create a value of ListTypes 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:maxResults:ListTypes', listTypes_maxResults - The -- maximum number of results that you want the request to return. -- -- ListTypes, listTypes_nextToken - An identifier that was -- returned from the previous call to this operation, which you can use -- to return the next set of items in the list. -- -- ListTypes, listTypes_apiId - The API ID. -- -- ListTypes, listTypes_format - The type format: SDL or -- JSON. newListTypes :: Text -> TypeDefinitionFormat -> ListTypes -- | See: newListTypesResponse smart constructor. data ListTypesResponse ListTypesResponse' :: Maybe Text -> Maybe [Type] -> Int -> ListTypesResponse -- | Create a value of ListTypesResponse 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: -- -- ListTypes, listTypesResponse_nextToken - An identifier -- to pass in the next request to this operation to return the next set -- of items in the list. -- -- $sel:types:ListTypesResponse', listTypesResponse_types - -- The Type objects. -- -- $sel:httpStatus:ListTypesResponse', -- listTypesResponse_httpStatus - The response's http status code. newListTypesResponse :: Int -> ListTypesResponse -- | See: newStartSchemaCreation smart constructor. data StartSchemaCreation StartSchemaCreation' :: Text -> Base64 -> StartSchemaCreation -- | Create a value of StartSchemaCreation 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: -- -- StartSchemaCreation, startSchemaCreation_apiId - The API -- ID. -- -- StartSchemaCreation, startSchemaCreation_definition - -- The schema definition, in GraphQL schema language format.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. newStartSchemaCreation :: Text -> ByteString -> StartSchemaCreation -- | See: newStartSchemaCreationResponse smart constructor. data StartSchemaCreationResponse StartSchemaCreationResponse' :: Maybe SchemaStatus -> Int -> StartSchemaCreationResponse -- | Create a value of StartSchemaCreationResponse 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: -- -- StartSchemaCreationResponse, -- startSchemaCreationResponse_status - The current state of the -- schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the -- schema is in the ACTIVE state, you can add data. -- -- $sel:httpStatus:StartSchemaCreationResponse', -- startSchemaCreationResponse_httpStatus - The response's http -- status code. newStartSchemaCreationResponse :: Int -> StartSchemaCreationResponse -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - -- The GraphqlApi Amazon Resource Name (ARN). -- -- TagResource, tagResource_tags - A TagMap -- object. newTagResource :: Text -> TagResource -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> NonEmpty Text -> UntagResource -- | Create a value of UntagResource 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:resourceArn:UntagResource', -- untagResource_resourceArn - The GraphqlApi Amazon -- Resource Name (ARN). -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - A -- list of TagKey objects. newUntagResource :: Text -> NonEmpty Text -> UntagResource -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | Represents the input of a UpdateApiCache operation. -- -- See: newUpdateApiCache smart constructor. data UpdateApiCache UpdateApiCache' :: Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> UpdateApiCache -- | Create a value of UpdateApiCache 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: -- -- UpdateApiCache, updateApiCache_apiId - The GraphQL API -- ID. -- -- UpdateApiCache, updateApiCache_ttl - TTL in seconds for -- cache entries. -- -- Valid values are 1–3,600 seconds. -- -- UpdateApiCache, updateApiCache_apiCachingBehavior - -- Caching behavior. -- -- -- -- UpdateApiCache, updateApiCache_type - The cache instance -- type. Valid values are -- -- -- -- 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: -- -- newUpdateApiCache :: Text -> Integer -> ApiCachingBehavior -> ApiCacheType -> UpdateApiCache -- | Represents the output of a UpdateApiCache operation. -- -- See: newUpdateApiCacheResponse smart constructor. data UpdateApiCacheResponse UpdateApiCacheResponse' :: Maybe ApiCache -> Int -> UpdateApiCacheResponse -- | Create a value of UpdateApiCacheResponse 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:apiCache:UpdateApiCacheResponse', -- updateApiCacheResponse_apiCache - The ApiCache object. -- -- $sel:httpStatus:UpdateApiCacheResponse', -- updateApiCacheResponse_httpStatus - The response's http status -- code. newUpdateApiCacheResponse :: Int -> UpdateApiCacheResponse -- | See: newUpdateApiKey smart constructor. data UpdateApiKey UpdateApiKey' :: Maybe Text -> Maybe Integer -> Text -> Text -> UpdateApiKey -- | Create a value of UpdateApiKey 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: -- -- UpdateApiKey, updateApiKey_description - A description -- of the purpose of the API key. -- -- UpdateApiKey, updateApiKey_expires - From the update -- time, the time after which the API key expires. The date is -- represented as seconds since the epoch. For more information, see . -- -- UpdateApiKey, updateApiKey_apiId - The ID for the -- GraphQL API. -- -- UpdateApiKey, updateApiKey_id - The API key ID. newUpdateApiKey :: Text -> Text -> UpdateApiKey -- | See: newUpdateApiKeyResponse smart constructor. data UpdateApiKeyResponse UpdateApiKeyResponse' :: Maybe ApiKey -> Int -> UpdateApiKeyResponse -- | Create a value of UpdateApiKeyResponse 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:apiKey:UpdateApiKeyResponse', -- updateApiKeyResponse_apiKey - The API key. -- -- $sel:httpStatus:UpdateApiKeyResponse', -- updateApiKeyResponse_httpStatus - The response's http status -- code. newUpdateApiKeyResponse :: Int -> UpdateApiKeyResponse -- | See: newUpdateDataSource smart constructor. data UpdateDataSource UpdateDataSource' :: Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Text -> Text -> DataSourceType -> UpdateDataSource -- | Create a value of UpdateDataSource 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: -- -- UpdateDataSource, updateDataSource_description - The new -- description for the data source. -- -- UpdateDataSource, updateDataSource_dynamodbConfig - The -- new Amazon DynamoDB configuration. -- -- UpdateDataSource, updateDataSource_elasticsearchConfig - -- The new OpenSearch configuration. -- -- As of September 2021, Amazon Elasticsearch service is Amazon -- OpenSearch Service. This configuration is deprecated. Instead, use -- UpdateDataSourceRequest$openSearchServiceConfig to update an -- OpenSearch data source. -- -- UpdateDataSource, updateDataSource_httpConfig - The new -- HTTP endpoint configuration. -- -- UpdateDataSource, updateDataSource_lambdaConfig - The -- new Lambda configuration. -- -- UpdateDataSource, -- updateDataSource_openSearchServiceConfig - The new OpenSearch -- configuration. -- -- UpdateDataSource, -- updateDataSource_relationalDatabaseConfig - The new relational -- database configuration. -- -- UpdateDataSource, updateDataSource_serviceRoleArn - The -- new service role Amazon Resource Name (ARN) for the data source. -- -- UpdateDataSource, updateDataSource_apiId - The API ID. -- -- UpdateDataSource, updateDataSource_name - The new name -- for the data source. -- -- UpdateDataSource, updateDataSource_type - The new data -- source type. newUpdateDataSource :: Text -> Text -> DataSourceType -> UpdateDataSource -- | See: newUpdateDataSourceResponse smart constructor. data UpdateDataSourceResponse UpdateDataSourceResponse' :: Maybe DataSource -> Int -> UpdateDataSourceResponse -- | Create a value of UpdateDataSourceResponse 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:dataSource:UpdateDataSourceResponse', -- updateDataSourceResponse_dataSource - The updated -- DataSource object. -- -- $sel:httpStatus:UpdateDataSourceResponse', -- updateDataSourceResponse_httpStatus - The response's http -- status code. newUpdateDataSourceResponse :: Int -> UpdateDataSourceResponse -- | See: newUpdateDomainName smart constructor. data UpdateDomainName UpdateDomainName' :: Maybe Text -> Text -> UpdateDomainName -- | Create a value of UpdateDomainName 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: -- -- UpdateDomainName, updateDomainName_description - A -- description of the DomainName. -- -- UpdateDomainName, updateDomainName_domainName - The -- domain name. newUpdateDomainName :: Text -> UpdateDomainName -- | See: newUpdateDomainNameResponse smart constructor. data UpdateDomainNameResponse UpdateDomainNameResponse' :: Maybe DomainNameConfig -> Int -> UpdateDomainNameResponse -- | Create a value of UpdateDomainNameResponse 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:domainNameConfig:UpdateDomainNameResponse', -- updateDomainNameResponse_domainNameConfig - The configuration -- for the DomainName. -- -- $sel:httpStatus:UpdateDomainNameResponse', -- updateDomainNameResponse_httpStatus - The response's http -- status code. newUpdateDomainNameResponse :: Int -> UpdateDomainNameResponse -- | See: newUpdateFunction smart constructor. data UpdateFunction UpdateFunction' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> Text -> UpdateFunction -- | Create a value of UpdateFunction 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: -- -- UpdateFunction, updateFunction_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. -- -- UpdateFunction, updateFunction_description - The -- Function description. -- -- UpdateFunction, updateFunction_functionVersion - The -- version of the request mapping template. Currently, the -- supported value is 2018-05-29. Note that when using VTL and mapping -- templates, the functionVersion is required. -- -- UpdateFunction, updateFunction_maxBatchSize - The -- maximum batching size for a resolver. -- -- UpdateFunction, updateFunction_requestMappingTemplate - -- The Function request mapping template. Functions support only -- the 2018-05-29 version of the request mapping template. -- -- UpdateFunction, updateFunction_responseMappingTemplate - -- The Function request mapping template. -- -- UpdateFunction, updateFunction_runtime - Undocumented -- member. -- -- UpdateFunction, updateFunction_syncConfig - Undocumented -- member. -- -- UpdateFunction, updateFunction_apiId - The GraphQL API -- ID. -- -- UpdateFunction, updateFunction_name - The -- Function name. -- -- UpdateFunction, updateFunction_functionId - The function -- ID. -- -- UpdateFunction, updateFunction_dataSourceName - The -- Function DataSource name. newUpdateFunction :: Text -> Text -> Text -> Text -> UpdateFunction -- | See: newUpdateFunctionResponse smart constructor. data UpdateFunctionResponse UpdateFunctionResponse' :: Maybe FunctionConfiguration -> Int -> UpdateFunctionResponse -- | Create a value of UpdateFunctionResponse 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:functionConfiguration:UpdateFunctionResponse', -- updateFunctionResponse_functionConfiguration - The -- Function object. -- -- $sel:httpStatus:UpdateFunctionResponse', -- updateFunctionResponse_httpStatus - The response's http status -- code. newUpdateFunctionResponse :: Int -> UpdateFunctionResponse -- | See: newUpdateGraphqlApi smart constructor. data UpdateGraphqlApi UpdateGraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe OpenIDConnectConfig -> Maybe UserPoolConfig -> Maybe Bool -> Text -> Text -> UpdateGraphqlApi -- | Create a value of UpdateGraphqlApi 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: -- -- UpdateGraphqlApi, -- updateGraphqlApi_additionalAuthenticationProviders - A list of -- additional authentication providers for the GraphqlApi API. -- -- UpdateGraphqlApi, updateGraphqlApi_authenticationType - -- The new authentication type for the GraphqlApi object. -- -- UpdateGraphqlApi, -- updateGraphqlApi_lambdaAuthorizerConfig - Configuration for -- Lambda function authorization. -- -- UpdateGraphqlApi, updateGraphqlApi_logConfig - The -- Amazon CloudWatch Logs configuration for the GraphqlApi -- object. -- -- UpdateGraphqlApi, updateGraphqlApi_openIDConnectConfig - -- The OpenID Connect configuration for the GraphqlApi object. -- -- UpdateGraphqlApi, updateGraphqlApi_userPoolConfig - The -- new Amazon Cognito user pool configuration for the -- ~GraphqlApi object. -- -- UpdateGraphqlApi, updateGraphqlApi_xrayEnabled - A flag -- indicating whether to use X-Ray tracing for the GraphqlApi. -- -- UpdateGraphqlApi, updateGraphqlApi_apiId - The API ID. -- -- UpdateGraphqlApi, updateGraphqlApi_name - The new name -- for the GraphqlApi object. newUpdateGraphqlApi :: Text -> Text -> UpdateGraphqlApi -- | See: newUpdateGraphqlApiResponse smart constructor. data UpdateGraphqlApiResponse UpdateGraphqlApiResponse' :: Maybe GraphqlApi -> Int -> UpdateGraphqlApiResponse -- | Create a value of UpdateGraphqlApiResponse 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:graphqlApi:UpdateGraphqlApiResponse', -- updateGraphqlApiResponse_graphqlApi - The updated -- GraphqlApi object. -- -- $sel:httpStatus:UpdateGraphqlApiResponse', -- updateGraphqlApiResponse_httpStatus - The response's http -- status code. newUpdateGraphqlApiResponse :: Int -> UpdateGraphqlApiResponse -- | See: newUpdateResolver smart constructor. data UpdateResolver UpdateResolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Text -> Text -> Text -> UpdateResolver -- | Create a value of UpdateResolver 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: -- -- UpdateResolver, updateResolver_cachingConfig - The -- caching configuration for the resolver. -- -- UpdateResolver, updateResolver_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. -- -- UpdateResolver, updateResolver_dataSourceName - The new -- data source name. -- -- UpdateResolver, updateResolver_kind - The resolver type. -- -- -- -- UpdateResolver, updateResolver_maxBatchSize - The -- maximum batching size for a resolver. -- -- UpdateResolver, updateResolver_pipelineConfig - The -- PipelineConfig. -- -- UpdateResolver, updateResolver_requestMappingTemplate - -- The new request mapping template. -- -- A resolver uses a request mapping template to convert a GraphQL -- expression into a format that a data source can understand. Mapping -- templates are written in Apache Velocity Template Language (VTL). -- -- VTL request mapping templates are optional when using an Lambda data -- source. For all other data sources, VTL request and response mapping -- templates are required. -- -- UpdateResolver, updateResolver_responseMappingTemplate - -- The new response mapping template. -- -- UpdateResolver, updateResolver_runtime - Undocumented -- member. -- -- UpdateResolver, updateResolver_syncConfig - The -- SyncConfig for a resolver attached to a versioned data -- source. -- -- UpdateResolver, updateResolver_apiId - The API ID. -- -- UpdateResolver, updateResolver_typeName - The new type -- name. -- -- UpdateResolver, updateResolver_fieldName - The new field -- name. newUpdateResolver :: Text -> Text -> Text -> UpdateResolver -- | See: newUpdateResolverResponse smart constructor. data UpdateResolverResponse UpdateResolverResponse' :: Maybe Resolver -> Int -> UpdateResolverResponse -- | Create a value of UpdateResolverResponse 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:resolver:UpdateResolverResponse', -- updateResolverResponse_resolver - The updated Resolver -- object. -- -- $sel:httpStatus:UpdateResolverResponse', -- updateResolverResponse_httpStatus - The response's http status -- code. newUpdateResolverResponse :: Int -> UpdateResolverResponse -- | See: newUpdateType smart constructor. data UpdateType UpdateType' :: Maybe Text -> Text -> Text -> TypeDefinitionFormat -> UpdateType -- | Create a value of UpdateType 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: -- -- UpdateType, updateType_definition - The new definition. -- -- UpdateType, updateType_apiId - The API ID. -- -- UpdateType, updateType_typeName - The new type name. -- -- UpdateType, updateType_format - The new type format: SDL -- or JSON. newUpdateType :: Text -> Text -> TypeDefinitionFormat -> UpdateType -- | See: newUpdateTypeResponse smart constructor. data UpdateTypeResponse UpdateTypeResponse' :: Maybe Type -> Int -> UpdateTypeResponse -- | Create a value of UpdateTypeResponse 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: -- -- UpdateTypeResponse, updateTypeResponse_type - The -- updated Type object. -- -- $sel:httpStatus:UpdateTypeResponse', -- updateTypeResponse_httpStatus - The response's http status -- code. newUpdateTypeResponse :: Int -> UpdateTypeResponse newtype ApiCacheStatus ApiCacheStatus' :: Text -> ApiCacheStatus [fromApiCacheStatus] :: ApiCacheStatus -> Text pattern ApiCacheStatus_AVAILABLE :: ApiCacheStatus pattern ApiCacheStatus_CREATING :: ApiCacheStatus pattern ApiCacheStatus_DELETING :: ApiCacheStatus pattern ApiCacheStatus_FAILED :: ApiCacheStatus pattern ApiCacheStatus_MODIFYING :: ApiCacheStatus newtype ApiCacheType ApiCacheType' :: Text -> ApiCacheType [fromApiCacheType] :: ApiCacheType -> Text pattern ApiCacheType_LARGE :: ApiCacheType pattern ApiCacheType_LARGE_12X :: ApiCacheType pattern ApiCacheType_LARGE_2X :: ApiCacheType pattern ApiCacheType_LARGE_4X :: ApiCacheType pattern ApiCacheType_LARGE_8X :: ApiCacheType pattern ApiCacheType_MEDIUM :: ApiCacheType pattern ApiCacheType_R4_2XLARGE :: ApiCacheType pattern ApiCacheType_R4_4XLARGE :: ApiCacheType pattern ApiCacheType_R4_8XLARGE :: ApiCacheType pattern ApiCacheType_R4_LARGE :: ApiCacheType pattern ApiCacheType_R4_XLARGE :: ApiCacheType pattern ApiCacheType_SMALL :: ApiCacheType pattern ApiCacheType_T2_MEDIUM :: ApiCacheType pattern ApiCacheType_T2_SMALL :: ApiCacheType pattern ApiCacheType_XLARGE :: ApiCacheType newtype ApiCachingBehavior ApiCachingBehavior' :: Text -> ApiCachingBehavior [fromApiCachingBehavior] :: ApiCachingBehavior -> Text pattern ApiCachingBehavior_FULL_REQUEST_CACHING :: ApiCachingBehavior pattern ApiCachingBehavior_PER_RESOLVER_CACHING :: ApiCachingBehavior newtype AssociationStatus AssociationStatus' :: Text -> AssociationStatus [fromAssociationStatus] :: AssociationStatus -> Text pattern AssociationStatus_FAILED :: AssociationStatus pattern AssociationStatus_PROCESSING :: AssociationStatus pattern AssociationStatus_SUCCESS :: AssociationStatus newtype AuthenticationType AuthenticationType' :: Text -> AuthenticationType [fromAuthenticationType] :: AuthenticationType -> Text pattern AuthenticationType_AMAZON_COGNITO_USER_POOLS :: AuthenticationType pattern AuthenticationType_API_KEY :: AuthenticationType pattern AuthenticationType_AWS_IAM :: AuthenticationType pattern AuthenticationType_AWS_LAMBDA :: AuthenticationType pattern AuthenticationType_OPENID_CONNECT :: AuthenticationType newtype AuthorizationType AuthorizationType' :: Text -> AuthorizationType [fromAuthorizationType] :: AuthorizationType -> Text pattern AuthorizationType_AWS_IAM :: AuthorizationType newtype ConflictDetectionType ConflictDetectionType' :: Text -> ConflictDetectionType [fromConflictDetectionType] :: ConflictDetectionType -> Text pattern ConflictDetectionType_NONE :: ConflictDetectionType pattern ConflictDetectionType_VERSION :: ConflictDetectionType newtype ConflictHandlerType ConflictHandlerType' :: Text -> ConflictHandlerType [fromConflictHandlerType] :: ConflictHandlerType -> Text pattern ConflictHandlerType_AUTOMERGE :: ConflictHandlerType pattern ConflictHandlerType_LAMBDA :: ConflictHandlerType pattern ConflictHandlerType_NONE :: ConflictHandlerType pattern ConflictHandlerType_OPTIMISTIC_CONCURRENCY :: ConflictHandlerType newtype DataSourceType DataSourceType' :: Text -> DataSourceType [fromDataSourceType] :: DataSourceType -> Text pattern DataSourceType_AMAZON_DYNAMODB :: DataSourceType pattern DataSourceType_AMAZON_ELASTICSEARCH :: DataSourceType pattern DataSourceType_AMAZON_OPENSEARCH_SERVICE :: DataSourceType pattern DataSourceType_AWS_LAMBDA :: DataSourceType pattern DataSourceType_HTTP :: DataSourceType pattern DataSourceType_NONE :: DataSourceType pattern DataSourceType_RELATIONAL_DATABASE :: DataSourceType newtype DefaultAction DefaultAction' :: Text -> DefaultAction [fromDefaultAction] :: DefaultAction -> Text pattern DefaultAction_ALLOW :: DefaultAction pattern DefaultAction_DENY :: DefaultAction newtype FieldLogLevel FieldLogLevel' :: Text -> FieldLogLevel [fromFieldLogLevel] :: FieldLogLevel -> Text pattern FieldLogLevel_ALL :: FieldLogLevel pattern FieldLogLevel_ERROR :: FieldLogLevel pattern FieldLogLevel_NONE :: FieldLogLevel newtype OutputType OutputType' :: Text -> OutputType [fromOutputType] :: OutputType -> Text pattern OutputType_JSON :: OutputType pattern OutputType_SDL :: OutputType newtype RelationalDatabaseSourceType RelationalDatabaseSourceType' :: Text -> RelationalDatabaseSourceType [fromRelationalDatabaseSourceType] :: RelationalDatabaseSourceType -> Text pattern RelationalDatabaseSourceType_RDS_HTTP_ENDPOINT :: RelationalDatabaseSourceType newtype ResolverKind ResolverKind' :: Text -> ResolverKind [fromResolverKind] :: ResolverKind -> Text pattern ResolverKind_PIPELINE :: ResolverKind pattern ResolverKind_UNIT :: ResolverKind newtype RuntimeName RuntimeName' :: Text -> RuntimeName [fromRuntimeName] :: RuntimeName -> Text pattern RuntimeName_APPSYNC_JS :: RuntimeName newtype SchemaStatus SchemaStatus' :: Text -> SchemaStatus [fromSchemaStatus] :: SchemaStatus -> Text pattern SchemaStatus_ACTIVE :: SchemaStatus pattern SchemaStatus_DELETING :: SchemaStatus pattern SchemaStatus_FAILED :: SchemaStatus pattern SchemaStatus_NOT_APPLICABLE :: SchemaStatus pattern SchemaStatus_PROCESSING :: SchemaStatus pattern SchemaStatus_SUCCESS :: SchemaStatus newtype TypeDefinitionFormat TypeDefinitionFormat' :: Text -> TypeDefinitionFormat [fromTypeDefinitionFormat] :: TypeDefinitionFormat -> Text pattern TypeDefinitionFormat_JSON :: TypeDefinitionFormat pattern TypeDefinitionFormat_SDL :: TypeDefinitionFormat -- | Describes an additional authentication provider. -- -- See: newAdditionalAuthenticationProvider smart -- constructor. data AdditionalAuthenticationProvider AdditionalAuthenticationProvider' :: Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe OpenIDConnectConfig -> Maybe CognitoUserPoolConfig -> AdditionalAuthenticationProvider -- | 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. newAdditionalAuthenticationProvider :: AdditionalAuthenticationProvider -- | Describes an ApiAssociation object. -- -- See: newApiAssociation smart constructor. data ApiAssociation ApiAssociation' :: Maybe Text -> Maybe AssociationStatus -> Maybe Text -> Maybe Text -> ApiAssociation -- | 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. -- -- -- -- $sel:deploymentDetail:ApiAssociation', -- apiAssociation_deploymentDetail - Details about the last -- deployment status. -- -- $sel:domainName:ApiAssociation', -- apiAssociation_domainName - The domain name. newApiAssociation :: ApiAssociation -- | The ApiCache object. -- -- See: newApiCache smart constructor. data ApiCache ApiCache' :: Maybe ApiCachingBehavior -> Maybe Bool -> Maybe ApiCacheStatus -> Maybe Bool -> Maybe Integer -> Maybe ApiCacheType -> ApiCache -- | 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. -- -- -- -- $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. -- -- -- -- $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 -- -- -- -- 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: -- -- newApiCache :: ApiCache -- | 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. -- -- -- -- da2: We introduced this version in February 2018 when AppSync -- added support to extend key expiration. -- -- -- -- See: newApiKey smart constructor. data ApiKey ApiKey' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe Text -> ApiKey -- | 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. newApiKey :: ApiKey -- | 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. data AppSyncRuntime AppSyncRuntime' :: RuntimeName -> Text -> AppSyncRuntime -- | 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. newAppSyncRuntime :: RuntimeName -> Text -> AppSyncRuntime -- | The authorization configuration in case the HTTP endpoint requires -- authorization. -- -- See: newAuthorizationConfig smart constructor. data AuthorizationConfig AuthorizationConfig' :: Maybe AwsIamConfig -> AuthorizationType -> AuthorizationConfig -- | 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. -- -- newAuthorizationConfig :: AuthorizationType -> AuthorizationConfig -- | The Identity and Access Management (IAM) configuration. -- -- See: newAwsIamConfig smart constructor. data AwsIamConfig AwsIamConfig' :: Maybe Text -> Maybe Text -> AwsIamConfig -- | 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. newAwsIamConfig :: AwsIamConfig -- | The caching configuration for a resolver that has caching activated. -- -- See: newCachingConfig smart constructor. data CachingConfig CachingConfig' :: Maybe [Text] -> Integer -> CachingConfig -- | 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. newCachingConfig :: Integer -> CachingConfig -- | Describes an AppSync error. -- -- See: newCodeError smart constructor. data CodeError CodeError' :: Maybe Text -> Maybe CodeErrorLocation -> Maybe Text -> CodeError -- | 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. newCodeError :: CodeError -- | Describes the location of the error in a code sample. -- -- See: newCodeErrorLocation smart constructor. data CodeErrorLocation CodeErrorLocation' :: Maybe Int -> Maybe Int -> Maybe Int -> CodeErrorLocation -- | 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. newCodeErrorLocation :: CodeErrorLocation -- | Describes an Amazon Cognito user pool configuration. -- -- See: newCognitoUserPoolConfig smart constructor. data CognitoUserPoolConfig CognitoUserPoolConfig' :: Maybe Text -> Text -> Text -> CognitoUserPoolConfig -- | 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. newCognitoUserPoolConfig :: Text -> Text -> CognitoUserPoolConfig -- | Describes a data source. -- -- See: newDataSource smart constructor. data DataSource DataSource' :: Maybe Text -> Maybe Text -> Maybe DynamodbDataSourceConfig -> Maybe ElasticsearchDataSourceConfig -> Maybe HttpDataSourceConfig -> Maybe LambdaDataSourceConfig -> Maybe Text -> Maybe OpenSearchServiceDataSourceConfig -> Maybe RelationalDatabaseDataSourceConfig -> Maybe Text -> Maybe DataSourceType -> DataSource -- | 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. -- -- newDataSource :: DataSource -- | Describes a Delta Sync configuration. -- -- See: newDeltaSyncConfig smart constructor. data DeltaSyncConfig DeltaSyncConfig' :: Maybe Integer -> Maybe Text -> Maybe Integer -> DeltaSyncConfig -- | 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. newDeltaSyncConfig :: DeltaSyncConfig -- | Describes a configuration for a custom domain. -- -- See: newDomainNameConfig smart constructor. data DomainNameConfig DomainNameConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DomainNameConfig -- | 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. newDomainNameConfig :: DomainNameConfig -- | Describes an Amazon DynamoDB data source configuration. -- -- See: newDynamodbDataSourceConfig smart constructor. data DynamodbDataSourceConfig DynamodbDataSourceConfig' :: Maybe DeltaSyncConfig -> Maybe Bool -> Maybe Bool -> Text -> Text -> DynamodbDataSourceConfig -- | 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. newDynamodbDataSourceConfig :: Text -> Text -> DynamodbDataSourceConfig -- | 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. data ElasticsearchDataSourceConfig ElasticsearchDataSourceConfig' :: Text -> Text -> ElasticsearchDataSourceConfig -- | 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. newElasticsearchDataSourceConfig :: Text -> Text -> ElasticsearchDataSourceConfig -- | Contains the list of errors generated. When using JavaScript, this -- will apply to the request or response function evaluation. -- -- See: newErrorDetail smart constructor. data ErrorDetail ErrorDetail' :: Maybe Text -> ErrorDetail -- | 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. newErrorDetail :: ErrorDetail -- | Contains the list of errors from a code evaluation response. -- -- See: newEvaluateCodeErrorDetail smart constructor. data EvaluateCodeErrorDetail EvaluateCodeErrorDetail' :: Maybe [CodeError] -> Maybe Text -> EvaluateCodeErrorDetail -- | 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. newEvaluateCodeErrorDetail :: EvaluateCodeErrorDetail -- | A function is a reusable entity. You can use multiple functions to -- compose the resolver logic. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> FunctionConfiguration -- | 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. newFunctionConfiguration :: FunctionConfiguration -- | Describes a GraphQL API. -- -- See: newGraphqlApi smart constructor. data GraphqlApi GraphqlApi' :: Maybe [AdditionalAuthenticationProvider] -> Maybe Text -> Maybe Text -> Maybe AuthenticationType -> Maybe LambdaAuthorizerConfig -> Maybe LogConfig -> Maybe Text -> Maybe OpenIDConnectConfig -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> Maybe UserPoolConfig -> Maybe Text -> Maybe Bool -> GraphqlApi -- | 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. newGraphqlApi :: GraphqlApi -- | Describes an HTTP data source configuration. -- -- See: newHttpDataSourceConfig smart constructor. data HttpDataSourceConfig HttpDataSourceConfig' :: Maybe AuthorizationConfig -> Maybe Text -> HttpDataSourceConfig -- | 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. newHttpDataSourceConfig :: HttpDataSourceConfig -- | 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. data LambdaAuthorizerConfig LambdaAuthorizerConfig' :: Maybe Natural -> Maybe Text -> Text -> LambdaAuthorizerConfig -- | 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
--   
newLambdaAuthorizerConfig :: Text -> LambdaAuthorizerConfig -- | The LambdaConflictHandlerConfig object when configuring -- LAMBDA as the Conflict Handler. -- -- See: newLambdaConflictHandlerConfig smart constructor. data LambdaConflictHandlerConfig LambdaConflictHandlerConfig' :: Maybe Text -> LambdaConflictHandlerConfig -- | 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. newLambdaConflictHandlerConfig :: LambdaConflictHandlerConfig -- | Describes an Lambda data source configuration. -- -- See: newLambdaDataSourceConfig smart constructor. data LambdaDataSourceConfig LambdaDataSourceConfig' :: Text -> LambdaDataSourceConfig -- | 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. newLambdaDataSourceConfig :: Text -> LambdaDataSourceConfig -- | The Amazon CloudWatch Logs configuration. -- -- See: newLogConfig smart constructor. data LogConfig LogConfig' :: Maybe Bool -> FieldLogLevel -> Text -> LogConfig -- | 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. -- -- -- -- $sel:cloudWatchLogsRoleArn:LogConfig', -- logConfig_cloudWatchLogsRoleArn - The service role that AppSync -- assumes to publish to CloudWatch logs in your account. newLogConfig :: FieldLogLevel -> Text -> LogConfig -- | Describes an OpenID Connect (OIDC) configuration. -- -- See: newOpenIDConnectConfig smart constructor. data OpenIDConnectConfig OpenIDConnectConfig' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Text -> OpenIDConnectConfig -- | 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. newOpenIDConnectConfig :: Text -> OpenIDConnectConfig -- | Describes an OpenSearch data source configuration. -- -- See: newOpenSearchServiceDataSourceConfig smart -- constructor. data OpenSearchServiceDataSourceConfig OpenSearchServiceDataSourceConfig' :: Text -> Text -> OpenSearchServiceDataSourceConfig -- | 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. newOpenSearchServiceDataSourceConfig :: Text -> Text -> OpenSearchServiceDataSourceConfig -- | The pipeline configuration for a resolver of kind PIPELINE. -- -- See: newPipelineConfig smart constructor. data PipelineConfig PipelineConfig' :: Maybe [Text] -> PipelineConfig -- | 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. newPipelineConfig :: PipelineConfig -- | The Amazon Relational Database Service (Amazon RDS) HTTP endpoint -- configuration. -- -- See: newRdsHttpEndpointConfig smart constructor. data RdsHttpEndpointConfig RdsHttpEndpointConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RdsHttpEndpointConfig -- | 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. newRdsHttpEndpointConfig :: RdsHttpEndpointConfig -- | Describes a relational database data source configuration. -- -- See: newRelationalDatabaseDataSourceConfig smart -- constructor. data RelationalDatabaseDataSourceConfig RelationalDatabaseDataSourceConfig' :: Maybe RdsHttpEndpointConfig -> Maybe RelationalDatabaseSourceType -> RelationalDatabaseDataSourceConfig -- | 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. -- -- newRelationalDatabaseDataSourceConfig :: RelationalDatabaseDataSourceConfig -- | Describes a resolver. -- -- See: newResolver smart constructor. data Resolver Resolver' :: Maybe CachingConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolverKind -> Maybe Natural -> Maybe PipelineConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AppSyncRuntime -> Maybe SyncConfig -> Maybe Text -> Resolver -- | 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. -- -- -- -- $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. newResolver :: Resolver -- | 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. data SyncConfig SyncConfig' :: Maybe ConflictDetectionType -> Maybe ConflictHandlerType -> Maybe LambdaConflictHandlerConfig -> SyncConfig -- | 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. -- -- -- -- $sel:conflictHandler:SyncConfig', -- syncConfig_conflictHandler - The Conflict Resolution strategy -- to perform in the event of a conflict. -- -- -- -- $sel:lambdaConflictHandlerConfig:SyncConfig', -- syncConfig_lambdaConflictHandlerConfig - The -- LambdaConflictHandlerConfig when configuring LAMBDA -- as the Conflict Handler. newSyncConfig :: SyncConfig -- | Describes a type. -- -- See: newType smart constructor. data Type Type' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe TypeDefinitionFormat -> Maybe Text -> Type -- | 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. newType :: Type -- | Describes an Amazon Cognito user pool configuration. -- -- See: newUserPoolConfig smart constructor. data UserPoolConfig UserPoolConfig' :: Maybe Text -> Text -> Text -> DefaultAction -> UserPoolConfig -- | 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. newUserPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig