{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CognitoIdentityProvider.Types
(
defaultService,
_UnsupportedUserStateException,
_PasswordResetRequiredException,
_InvalidParameterException,
_UnsupportedOperationException,
_InvalidLambdaResponseException,
_InvalidEmailRoleAccessPolicyException,
_UnsupportedIdentityProviderException,
_UserNotFoundException,
_UnexpectedLambdaException,
_NotAuthorizedException,
_InternalErrorException,
_InvalidUserPoolConfigurationException,
_InvalidSmsRoleAccessPolicyException,
_InvalidOAuthFlowException,
_CodeMismatchException,
_UserImportInProgressException,
_InvalidSmsRoleTrustRelationshipException,
_UserPoolTaggingException,
_SoftwareTokenMFANotFoundException,
_TooManyRequestsException,
_ConcurrentModificationException,
_UserPoolAddOnNotEnabledException,
_UserLambdaValidationException,
_PreconditionNotMetException,
_ExpiredCodeException,
_TooManyFailedAttemptsException,
_EnableSoftwareTokenMFAException,
_UserNotConfirmedException,
_GroupExistsException,
_UnauthorizedException,
_CodeDeliveryFailureException,
_ScopeDoesNotExistException,
_ResourceNotFoundException,
_MFAMethodNotFoundException,
_AliasExistsException,
_UnsupportedTokenTypeException,
_DuplicateProviderException,
_LimitExceededException,
_InvalidPasswordException,
_UsernameExistsException,
AccountTakeoverEventActionType (..),
AdvancedSecurityModeType (..),
AliasAttributeType (..),
AttributeDataType (..),
AuthFlowType (..),
ChallengeName (..),
ChallengeNameType (..),
ChallengeResponse (..),
CompromisedCredentialsEventActionType (..),
CustomEmailSenderLambdaVersionType (..),
CustomSMSSenderLambdaVersionType (..),
DefaultEmailOptionType (..),
DeliveryMediumType (..),
DeviceRememberedStatusType (..),
DomainStatusType (..),
EmailSendingAccountType (..),
EventFilterType (..),
EventResponseType (..),
EventType (..),
ExplicitAuthFlowsType (..),
FeedbackValueType (..),
IdentityProviderTypeType (..),
MessageActionType (..),
OAuthFlowType (..),
PreventUserExistenceErrorTypes (..),
RecoveryOptionNameType (..),
RiskDecisionType (..),
RiskLevelType (..),
StatusType (..),
TimeUnitsType (..),
UserImportJobStatusType (..),
UserPoolMfaType (..),
UserStatusType (..),
UsernameAttributeType (..),
VerifiedAttributeType (..),
VerifySoftwareTokenResponseType (..),
AccountRecoverySettingType (..),
newAccountRecoverySettingType,
accountRecoverySettingType_recoveryMechanisms,
AccountTakeoverActionType (..),
newAccountTakeoverActionType,
accountTakeoverActionType_notify,
accountTakeoverActionType_eventAction,
AccountTakeoverActionsType (..),
newAccountTakeoverActionsType,
accountTakeoverActionsType_lowAction,
accountTakeoverActionsType_highAction,
accountTakeoverActionsType_mediumAction,
AccountTakeoverRiskConfigurationType (..),
newAccountTakeoverRiskConfigurationType,
accountTakeoverRiskConfigurationType_notifyConfiguration,
accountTakeoverRiskConfigurationType_actions,
AdminCreateUserConfigType (..),
newAdminCreateUserConfigType,
adminCreateUserConfigType_allowAdminCreateUserOnly,
adminCreateUserConfigType_unusedAccountValidityDays,
adminCreateUserConfigType_inviteMessageTemplate,
AnalyticsConfigurationType (..),
newAnalyticsConfigurationType,
analyticsConfigurationType_applicationArn,
analyticsConfigurationType_userDataShared,
analyticsConfigurationType_applicationId,
analyticsConfigurationType_externalId,
analyticsConfigurationType_roleArn,
AnalyticsMetadataType (..),
newAnalyticsMetadataType,
analyticsMetadataType_analyticsEndpointId,
AttributeType (..),
newAttributeType,
attributeType_value,
attributeType_name,
AuthEventType (..),
newAuthEventType,
authEventType_eventRisk,
authEventType_eventResponse,
authEventType_eventContextData,
authEventType_challengeResponses,
authEventType_eventType,
authEventType_creationDate,
authEventType_eventFeedback,
authEventType_eventId,
AuthenticationResultType (..),
newAuthenticationResultType,
authenticationResultType_accessToken,
authenticationResultType_refreshToken,
authenticationResultType_newDeviceMetadata,
authenticationResultType_expiresIn,
authenticationResultType_tokenType,
authenticationResultType_idToken,
ChallengeResponseType (..),
newChallengeResponseType,
challengeResponseType_challengeName,
challengeResponseType_challengeResponse,
CodeDeliveryDetailsType (..),
newCodeDeliveryDetailsType,
codeDeliveryDetailsType_destination,
codeDeliveryDetailsType_deliveryMedium,
codeDeliveryDetailsType_attributeName,
CompromisedCredentialsActionsType (..),
newCompromisedCredentialsActionsType,
compromisedCredentialsActionsType_eventAction,
CompromisedCredentialsRiskConfigurationType (..),
newCompromisedCredentialsRiskConfigurationType,
compromisedCredentialsRiskConfigurationType_eventFilter,
compromisedCredentialsRiskConfigurationType_actions,
ContextDataType (..),
newContextDataType,
contextDataType_encodedData,
contextDataType_ipAddress,
contextDataType_serverName,
contextDataType_serverPath,
contextDataType_httpHeaders,
CustomDomainConfigType (..),
newCustomDomainConfigType,
customDomainConfigType_certificateArn,
CustomEmailLambdaVersionConfigType (..),
newCustomEmailLambdaVersionConfigType,
customEmailLambdaVersionConfigType_lambdaVersion,
customEmailLambdaVersionConfigType_lambdaArn,
CustomSMSLambdaVersionConfigType (..),
newCustomSMSLambdaVersionConfigType,
customSMSLambdaVersionConfigType_lambdaVersion,
customSMSLambdaVersionConfigType_lambdaArn,
DeviceConfigurationType (..),
newDeviceConfigurationType,
deviceConfigurationType_challengeRequiredOnNewDevice,
deviceConfigurationType_deviceOnlyRememberedOnUserPrompt,
DeviceSecretVerifierConfigType (..),
newDeviceSecretVerifierConfigType,
deviceSecretVerifierConfigType_passwordVerifier,
deviceSecretVerifierConfigType_salt,
DeviceType (..),
newDeviceType,
deviceType_deviceLastModifiedDate,
deviceType_deviceCreateDate,
deviceType_deviceAttributes,
deviceType_deviceKey,
deviceType_deviceLastAuthenticatedDate,
DomainDescriptionType (..),
newDomainDescriptionType,
domainDescriptionType_status,
domainDescriptionType_cloudFrontDistribution,
domainDescriptionType_userPoolId,
domainDescriptionType_domain,
domainDescriptionType_aWSAccountId,
domainDescriptionType_customDomainConfig,
domainDescriptionType_version,
domainDescriptionType_s3Bucket,
EmailConfigurationType (..),
newEmailConfigurationType,
emailConfigurationType_sourceArn,
emailConfigurationType_from,
emailConfigurationType_configurationSet,
emailConfigurationType_replyToEmailAddress,
emailConfigurationType_emailSendingAccount,
EventContextDataType (..),
newEventContextDataType,
eventContextDataType_ipAddress,
eventContextDataType_country,
eventContextDataType_city,
eventContextDataType_deviceName,
eventContextDataType_timezone,
EventFeedbackType (..),
newEventFeedbackType,
eventFeedbackType_feedbackDate,
eventFeedbackType_feedbackValue,
eventFeedbackType_provider,
EventRiskType (..),
newEventRiskType,
eventRiskType_compromisedCredentialsDetected,
eventRiskType_riskLevel,
eventRiskType_riskDecision,
GroupType (..),
newGroupType,
groupType_lastModifiedDate,
groupType_userPoolId,
groupType_creationDate,
groupType_precedence,
groupType_groupName,
groupType_description,
groupType_roleArn,
HttpHeader (..),
newHttpHeader,
httpHeader_headerValue,
httpHeader_headerName,
IdentityProviderType (..),
newIdentityProviderType,
identityProviderType_lastModifiedDate,
identityProviderType_userPoolId,
identityProviderType_providerType,
identityProviderType_creationDate,
identityProviderType_idpIdentifiers,
identityProviderType_attributeMapping,
identityProviderType_providerDetails,
identityProviderType_providerName,
LambdaConfigType (..),
newLambdaConfigType,
lambdaConfigType_preAuthentication,
lambdaConfigType_createAuthChallenge,
lambdaConfigType_verifyAuthChallengeResponse,
lambdaConfigType_customSMSSender,
lambdaConfigType_postAuthentication,
lambdaConfigType_customMessage,
lambdaConfigType_defineAuthChallenge,
lambdaConfigType_customEmailSender,
lambdaConfigType_kmsKeyID,
lambdaConfigType_postConfirmation,
lambdaConfigType_preTokenGeneration,
lambdaConfigType_userMigration,
lambdaConfigType_preSignUp,
MFAOptionType (..),
newMFAOptionType,
mfaOptionType_deliveryMedium,
mfaOptionType_attributeName,
MessageTemplateType (..),
newMessageTemplateType,
messageTemplateType_emailSubject,
messageTemplateType_sMSMessage,
messageTemplateType_emailMessage,
NewDeviceMetadataType (..),
newNewDeviceMetadataType,
newDeviceMetadataType_deviceGroupKey,
newDeviceMetadataType_deviceKey,
NotifyConfigurationType (..),
newNotifyConfigurationType,
notifyConfigurationType_noActionEmail,
notifyConfigurationType_from,
notifyConfigurationType_replyTo,
notifyConfigurationType_blockEmail,
notifyConfigurationType_mfaEmail,
notifyConfigurationType_sourceArn,
NotifyEmailType (..),
newNotifyEmailType,
notifyEmailType_textBody,
notifyEmailType_htmlBody,
notifyEmailType_subject,
NumberAttributeConstraintsType (..),
newNumberAttributeConstraintsType,
numberAttributeConstraintsType_maxValue,
numberAttributeConstraintsType_minValue,
PasswordPolicyType (..),
newPasswordPolicyType,
passwordPolicyType_requireNumbers,
passwordPolicyType_requireUppercase,
passwordPolicyType_requireLowercase,
passwordPolicyType_minimumLength,
passwordPolicyType_requireSymbols,
passwordPolicyType_temporaryPasswordValidityDays,
ProviderDescription (..),
newProviderDescription,
providerDescription_lastModifiedDate,
providerDescription_providerType,
providerDescription_creationDate,
providerDescription_providerName,
ProviderUserIdentifierType (..),
newProviderUserIdentifierType,
providerUserIdentifierType_providerAttributeValue,
providerUserIdentifierType_providerAttributeName,
providerUserIdentifierType_providerName,
RecoveryOptionType (..),
newRecoveryOptionType,
recoveryOptionType_priority,
recoveryOptionType_name,
ResourceServerScopeType (..),
newResourceServerScopeType,
resourceServerScopeType_scopeName,
resourceServerScopeType_scopeDescription,
ResourceServerType (..),
newResourceServerType,
resourceServerType_userPoolId,
resourceServerType_identifier,
resourceServerType_scopes,
resourceServerType_name,
RiskConfigurationType (..),
newRiskConfigurationType,
riskConfigurationType_riskExceptionConfiguration,
riskConfigurationType_clientId,
riskConfigurationType_accountTakeoverRiskConfiguration,
riskConfigurationType_lastModifiedDate,
riskConfigurationType_userPoolId,
riskConfigurationType_compromisedCredentialsRiskConfiguration,
RiskExceptionConfigurationType (..),
newRiskExceptionConfigurationType,
riskExceptionConfigurationType_skippedIPRangeList,
riskExceptionConfigurationType_blockedIPRangeList,
SMSMfaSettingsType (..),
newSMSMfaSettingsType,
sMSMfaSettingsType_enabled,
sMSMfaSettingsType_preferredMfa,
SchemaAttributeType (..),
newSchemaAttributeType,
schemaAttributeType_numberAttributeConstraints,
schemaAttributeType_required,
schemaAttributeType_attributeDataType,
schemaAttributeType_stringAttributeConstraints,
schemaAttributeType_name,
schemaAttributeType_developerOnlyAttribute,
schemaAttributeType_mutable,
SmsConfigurationType (..),
newSmsConfigurationType,
smsConfigurationType_externalId,
smsConfigurationType_snsCallerArn,
SmsMfaConfigType (..),
newSmsMfaConfigType,
smsMfaConfigType_smsAuthenticationMessage,
smsMfaConfigType_smsConfiguration,
SoftwareTokenMfaConfigType (..),
newSoftwareTokenMfaConfigType,
softwareTokenMfaConfigType_enabled,
SoftwareTokenMfaSettingsType (..),
newSoftwareTokenMfaSettingsType,
softwareTokenMfaSettingsType_enabled,
softwareTokenMfaSettingsType_preferredMfa,
StringAttributeConstraintsType (..),
newStringAttributeConstraintsType,
stringAttributeConstraintsType_maxLength,
stringAttributeConstraintsType_minLength,
TokenValidityUnitsType (..),
newTokenValidityUnitsType,
tokenValidityUnitsType_accessToken,
tokenValidityUnitsType_refreshToken,
tokenValidityUnitsType_idToken,
UICustomizationType (..),
newUICustomizationType,
uICustomizationType_clientId,
uICustomizationType_lastModifiedDate,
uICustomizationType_userPoolId,
uICustomizationType_css,
uICustomizationType_cSSVersion,
uICustomizationType_imageUrl,
uICustomizationType_creationDate,
UserContextDataType (..),
newUserContextDataType,
userContextDataType_encodedData,
UserImportJobType (..),
newUserImportJobType,
userImportJobType_status,
userImportJobType_skippedUsers,
userImportJobType_jobId,
userImportJobType_userPoolId,
userImportJobType_jobName,
userImportJobType_preSignedUrl,
userImportJobType_failedUsers,
userImportJobType_startDate,
userImportJobType_completionMessage,
userImportJobType_creationDate,
userImportJobType_completionDate,
userImportJobType_cloudWatchLogsRoleArn,
userImportJobType_importedUsers,
UserPoolAddOnsType (..),
newUserPoolAddOnsType,
userPoolAddOnsType_advancedSecurityMode,
UserPoolClientDescription (..),
newUserPoolClientDescription,
userPoolClientDescription_clientId,
userPoolClientDescription_userPoolId,
userPoolClientDescription_clientName,
UserPoolClientType (..),
newUserPoolClientType,
userPoolClientType_refreshTokenValidity,
userPoolClientType_clientId,
userPoolClientType_explicitAuthFlows,
userPoolClientType_clientSecret,
userPoolClientType_lastModifiedDate,
userPoolClientType_supportedIdentityProviders,
userPoolClientType_logoutURLs,
userPoolClientType_allowedOAuthFlowsUserPoolClient,
userPoolClientType_userPoolId,
userPoolClientType_idTokenValidity,
userPoolClientType_tokenValidityUnits,
userPoolClientType_defaultRedirectURI,
userPoolClientType_enableTokenRevocation,
userPoolClientType_writeAttributes,
userPoolClientType_preventUserExistenceErrors,
userPoolClientType_accessTokenValidity,
userPoolClientType_creationDate,
userPoolClientType_readAttributes,
userPoolClientType_allowedOAuthScopes,
userPoolClientType_allowedOAuthFlows,
userPoolClientType_analyticsConfiguration,
userPoolClientType_clientName,
userPoolClientType_callbackURLs,
UserPoolDescriptionType (..),
newUserPoolDescriptionType,
userPoolDescriptionType_status,
userPoolDescriptionType_lastModifiedDate,
userPoolDescriptionType_name,
userPoolDescriptionType_id,
userPoolDescriptionType_creationDate,
userPoolDescriptionType_lambdaConfig,
UserPoolPolicyType (..),
newUserPoolPolicyType,
userPoolPolicyType_passwordPolicy,
UserPoolType (..),
newUserPoolType,
userPoolType_status,
userPoolType_userPoolTags,
userPoolType_emailConfigurationFailure,
userPoolType_lastModifiedDate,
userPoolType_verificationMessageTemplate,
userPoolType_estimatedNumberOfUsers,
userPoolType_arn,
userPoolType_domain,
userPoolType_customDomain,
userPoolType_emailVerificationMessage,
userPoolType_smsAuthenticationMessage,
userPoolType_userPoolAddOns,
userPoolType_schemaAttributes,
userPoolType_emailVerificationSubject,
userPoolType_usernameAttributes,
userPoolType_aliasAttributes,
userPoolType_accountRecoverySetting,
userPoolType_emailConfiguration,
userPoolType_smsVerificationMessage,
userPoolType_name,
userPoolType_mfaConfiguration,
userPoolType_id,
userPoolType_smsConfigurationFailure,
userPoolType_creationDate,
userPoolType_lambdaConfig,
userPoolType_smsConfiguration,
userPoolType_adminCreateUserConfig,
userPoolType_deviceConfiguration,
userPoolType_autoVerifiedAttributes,
userPoolType_policies,
userPoolType_usernameConfiguration,
UserType (..),
newUserType,
userType_enabled,
userType_userStatus,
userType_username,
userType_userCreateDate,
userType_attributes,
userType_mfaOptions,
userType_userLastModifiedDate,
UsernameConfigurationType (..),
newUsernameConfigurationType,
usernameConfigurationType_caseSensitive,
VerificationMessageTemplateType (..),
newVerificationMessageTemplateType,
verificationMessageTemplateType_defaultEmailOption,
verificationMessageTemplateType_emailSubject,
verificationMessageTemplateType_emailSubjectByLink,
verificationMessageTemplateType_smsMessage,
verificationMessageTemplateType_emailMessageByLink,
verificationMessageTemplateType_emailMessage,
)
where
import Amazonka.CognitoIdentityProvider.Types.AccountRecoverySettingType
import Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType
import Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionsType
import Amazonka.CognitoIdentityProvider.Types.AccountTakeoverEventActionType
import Amazonka.CognitoIdentityProvider.Types.AccountTakeoverRiskConfigurationType
import Amazonka.CognitoIdentityProvider.Types.AdminCreateUserConfigType
import Amazonka.CognitoIdentityProvider.Types.AdvancedSecurityModeType
import Amazonka.CognitoIdentityProvider.Types.AliasAttributeType
import Amazonka.CognitoIdentityProvider.Types.AnalyticsConfigurationType
import Amazonka.CognitoIdentityProvider.Types.AnalyticsMetadataType
import Amazonka.CognitoIdentityProvider.Types.AttributeDataType
import Amazonka.CognitoIdentityProvider.Types.AttributeType
import Amazonka.CognitoIdentityProvider.Types.AuthEventType
import Amazonka.CognitoIdentityProvider.Types.AuthFlowType
import Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType
import Amazonka.CognitoIdentityProvider.Types.ChallengeName
import Amazonka.CognitoIdentityProvider.Types.ChallengeNameType
import Amazonka.CognitoIdentityProvider.Types.ChallengeResponse
import Amazonka.CognitoIdentityProvider.Types.ChallengeResponseType
import Amazonka.CognitoIdentityProvider.Types.CodeDeliveryDetailsType
import Amazonka.CognitoIdentityProvider.Types.CompromisedCredentialsActionsType
import Amazonka.CognitoIdentityProvider.Types.CompromisedCredentialsEventActionType
import Amazonka.CognitoIdentityProvider.Types.CompromisedCredentialsRiskConfigurationType
import Amazonka.CognitoIdentityProvider.Types.ContextDataType
import Amazonka.CognitoIdentityProvider.Types.CustomDomainConfigType
import Amazonka.CognitoIdentityProvider.Types.CustomEmailLambdaVersionConfigType
import Amazonka.CognitoIdentityProvider.Types.CustomEmailSenderLambdaVersionType
import Amazonka.CognitoIdentityProvider.Types.CustomSMSLambdaVersionConfigType
import Amazonka.CognitoIdentityProvider.Types.CustomSMSSenderLambdaVersionType
import Amazonka.CognitoIdentityProvider.Types.DefaultEmailOptionType
import Amazonka.CognitoIdentityProvider.Types.DeliveryMediumType
import Amazonka.CognitoIdentityProvider.Types.DeviceConfigurationType
import Amazonka.CognitoIdentityProvider.Types.DeviceRememberedStatusType
import Amazonka.CognitoIdentityProvider.Types.DeviceSecretVerifierConfigType
import Amazonka.CognitoIdentityProvider.Types.DeviceType
import Amazonka.CognitoIdentityProvider.Types.DomainDescriptionType
import Amazonka.CognitoIdentityProvider.Types.DomainStatusType
import Amazonka.CognitoIdentityProvider.Types.EmailConfigurationType
import Amazonka.CognitoIdentityProvider.Types.EmailSendingAccountType
import Amazonka.CognitoIdentityProvider.Types.EventContextDataType
import Amazonka.CognitoIdentityProvider.Types.EventFeedbackType
import Amazonka.CognitoIdentityProvider.Types.EventFilterType
import Amazonka.CognitoIdentityProvider.Types.EventResponseType
import Amazonka.CognitoIdentityProvider.Types.EventRiskType
import Amazonka.CognitoIdentityProvider.Types.EventType
import Amazonka.CognitoIdentityProvider.Types.ExplicitAuthFlowsType
import Amazonka.CognitoIdentityProvider.Types.FeedbackValueType
import Amazonka.CognitoIdentityProvider.Types.GroupType
import Amazonka.CognitoIdentityProvider.Types.HttpHeader
import Amazonka.CognitoIdentityProvider.Types.IdentityProviderType
import Amazonka.CognitoIdentityProvider.Types.IdentityProviderTypeType
import Amazonka.CognitoIdentityProvider.Types.LambdaConfigType
import Amazonka.CognitoIdentityProvider.Types.MFAOptionType
import Amazonka.CognitoIdentityProvider.Types.MessageActionType
import Amazonka.CognitoIdentityProvider.Types.MessageTemplateType
import Amazonka.CognitoIdentityProvider.Types.NewDeviceMetadataType
import Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType
import Amazonka.CognitoIdentityProvider.Types.NotifyEmailType
import Amazonka.CognitoIdentityProvider.Types.NumberAttributeConstraintsType
import Amazonka.CognitoIdentityProvider.Types.OAuthFlowType
import Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType
import Amazonka.CognitoIdentityProvider.Types.PreventUserExistenceErrorTypes
import Amazonka.CognitoIdentityProvider.Types.ProviderDescription
import Amazonka.CognitoIdentityProvider.Types.ProviderUserIdentifierType
import Amazonka.CognitoIdentityProvider.Types.RecoveryOptionNameType
import Amazonka.CognitoIdentityProvider.Types.RecoveryOptionType
import Amazonka.CognitoIdentityProvider.Types.ResourceServerScopeType
import Amazonka.CognitoIdentityProvider.Types.ResourceServerType
import Amazonka.CognitoIdentityProvider.Types.RiskConfigurationType
import Amazonka.CognitoIdentityProvider.Types.RiskDecisionType
import Amazonka.CognitoIdentityProvider.Types.RiskExceptionConfigurationType
import Amazonka.CognitoIdentityProvider.Types.RiskLevelType
import Amazonka.CognitoIdentityProvider.Types.SMSMfaSettingsType
import Amazonka.CognitoIdentityProvider.Types.SchemaAttributeType
import Amazonka.CognitoIdentityProvider.Types.SmsConfigurationType
import Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType
import Amazonka.CognitoIdentityProvider.Types.SoftwareTokenMfaConfigType
import Amazonka.CognitoIdentityProvider.Types.SoftwareTokenMfaSettingsType
import Amazonka.CognitoIdentityProvider.Types.StatusType
import Amazonka.CognitoIdentityProvider.Types.StringAttributeConstraintsType
import Amazonka.CognitoIdentityProvider.Types.TimeUnitsType
import Amazonka.CognitoIdentityProvider.Types.TokenValidityUnitsType
import Amazonka.CognitoIdentityProvider.Types.UICustomizationType
import Amazonka.CognitoIdentityProvider.Types.UserContextDataType
import Amazonka.CognitoIdentityProvider.Types.UserImportJobStatusType
import Amazonka.CognitoIdentityProvider.Types.UserImportJobType
import Amazonka.CognitoIdentityProvider.Types.UserPoolAddOnsType
import Amazonka.CognitoIdentityProvider.Types.UserPoolClientDescription
import Amazonka.CognitoIdentityProvider.Types.UserPoolClientType
import Amazonka.CognitoIdentityProvider.Types.UserPoolDescriptionType
import Amazonka.CognitoIdentityProvider.Types.UserPoolMfaType
import Amazonka.CognitoIdentityProvider.Types.UserPoolPolicyType
import Amazonka.CognitoIdentityProvider.Types.UserPoolType
import Amazonka.CognitoIdentityProvider.Types.UserStatusType
import Amazonka.CognitoIdentityProvider.Types.UserType
import Amazonka.CognitoIdentityProvider.Types.UsernameAttributeType
import Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType
import Amazonka.CognitoIdentityProvider.Types.VerificationMessageTemplateType
import Amazonka.CognitoIdentityProvider.Types.VerifiedAttributeType
import Amazonka.CognitoIdentityProvider.Types.VerifySoftwareTokenResponseType
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Service :: Abbrev
-> Signer
-> ByteString
-> ByteString
-> ByteString
-> (Region -> Endpoint)
-> Maybe Seconds
-> (Status -> Bool)
-> (Status -> [Header] -> ByteStringLazy -> Error)
-> Retry
-> Service
Core.Service
{ $sel:_serviceAbbrev:Service :: Abbrev
Core._serviceAbbrev =
Abbrev
"CognitoIdentityProvider",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"cognito-idp",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"cognito-idp",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2016-04-18",
$sel:_serviceEndpoint:Service :: Region -> Endpoint
Core._serviceEndpoint =
Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:_serviceTimeout:Service :: Maybe Seconds
Core._serviceTimeout = Seconds -> Maybe Seconds
forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:_serviceCheck:Service :: Status -> Bool
Core._serviceCheck = Status -> Bool
Core.statusSuccess,
$sel:_serviceError:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core._serviceError =
Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"CognitoIdentityProvider",
$sel:_serviceRetry:Service :: Retry
Core._serviceRetry = Retry
retry
}
where
retry :: Retry
retry =
Exponential :: Double -> Int -> Int -> (ServiceError -> Maybe Text) -> Retry
Core.Exponential
{ $sel:_retryBase:Exponential :: Double
Core._retryBase = Double
5.0e-2,
$sel:_retryGrowth:Exponential :: Int
Core._retryGrowth = Int
2,
$sel:_retryAttempts:Exponential :: Int
Core._retryAttempts = Int
5,
$sel:_retryCheck:Exponential :: ServiceError -> Maybe Text
Core._retryCheck = ServiceError -> Maybe Text
forall a. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| Bool
Prelude.otherwise = Maybe a
forall a. Maybe a
Prelude.Nothing
_UnsupportedUserStateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedUserStateException :: Getting (First ServiceError) a ServiceError
_UnsupportedUserStateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedUserStateException"
_PasswordResetRequiredException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_PasswordResetRequiredException :: Getting (First ServiceError) a ServiceError
_PasswordResetRequiredException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PasswordResetRequiredException"
_InvalidParameterException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidParameterException :: Getting (First ServiceError) a ServiceError
_InvalidParameterException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterException"
_UnsupportedOperationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedOperationException :: Getting (First ServiceError) a ServiceError
_UnsupportedOperationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedOperationException"
_InvalidLambdaResponseException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidLambdaResponseException :: Getting (First ServiceError) a ServiceError
_InvalidLambdaResponseException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidLambdaResponseException"
_InvalidEmailRoleAccessPolicyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidEmailRoleAccessPolicyException :: Getting (First ServiceError) a ServiceError
_InvalidEmailRoleAccessPolicyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidEmailRoleAccessPolicyException"
_UnsupportedIdentityProviderException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedIdentityProviderException :: Getting (First ServiceError) a ServiceError
_UnsupportedIdentityProviderException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedIdentityProviderException"
_UserNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserNotFoundException :: Getting (First ServiceError) a ServiceError
_UserNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserNotFoundException"
_UnexpectedLambdaException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnexpectedLambdaException :: Getting (First ServiceError) a ServiceError
_UnexpectedLambdaException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnexpectedLambdaException"
_NotAuthorizedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NotAuthorizedException :: Getting (First ServiceError) a ServiceError
_NotAuthorizedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NotAuthorizedException"
_InternalErrorException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InternalErrorException :: Getting (First ServiceError) a ServiceError
_InternalErrorException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalErrorException"
_InvalidUserPoolConfigurationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidUserPoolConfigurationException :: Getting (First ServiceError) a ServiceError
_InvalidUserPoolConfigurationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidUserPoolConfigurationException"
_InvalidSmsRoleAccessPolicyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidSmsRoleAccessPolicyException :: Getting (First ServiceError) a ServiceError
_InvalidSmsRoleAccessPolicyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidSmsRoleAccessPolicyException"
_InvalidOAuthFlowException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidOAuthFlowException :: Getting (First ServiceError) a ServiceError
_InvalidOAuthFlowException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidOAuthFlowException"
_CodeMismatchException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CodeMismatchException :: Getting (First ServiceError) a ServiceError
_CodeMismatchException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CodeMismatchException"
_UserImportInProgressException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserImportInProgressException :: Getting (First ServiceError) a ServiceError
_UserImportInProgressException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserImportInProgressException"
_InvalidSmsRoleTrustRelationshipException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidSmsRoleTrustRelationshipException :: Getting (First ServiceError) a ServiceError
_InvalidSmsRoleTrustRelationshipException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidSmsRoleTrustRelationshipException"
_UserPoolTaggingException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserPoolTaggingException :: Getting (First ServiceError) a ServiceError
_UserPoolTaggingException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserPoolTaggingException"
_SoftwareTokenMFANotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_SoftwareTokenMFANotFoundException :: Getting (First ServiceError) a ServiceError
_SoftwareTokenMFANotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SoftwareTokenMFANotFoundException"
_TooManyRequestsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TooManyRequestsException :: Getting (First ServiceError) a ServiceError
_TooManyRequestsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyRequestsException"
_ConcurrentModificationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ConcurrentModificationException :: Getting (First ServiceError) a ServiceError
_ConcurrentModificationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConcurrentModificationException"
_UserPoolAddOnNotEnabledException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserPoolAddOnNotEnabledException :: Getting (First ServiceError) a ServiceError
_UserPoolAddOnNotEnabledException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserPoolAddOnNotEnabledException"
_UserLambdaValidationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserLambdaValidationException :: Getting (First ServiceError) a ServiceError
_UserLambdaValidationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserLambdaValidationException"
_PreconditionNotMetException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_PreconditionNotMetException :: Getting (First ServiceError) a ServiceError
_PreconditionNotMetException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"PreconditionNotMetException"
_ExpiredCodeException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ExpiredCodeException :: Getting (First ServiceError) a ServiceError
_ExpiredCodeException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExpiredCodeException"
_TooManyFailedAttemptsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TooManyFailedAttemptsException :: Getting (First ServiceError) a ServiceError
_TooManyFailedAttemptsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyFailedAttemptsException"
_EnableSoftwareTokenMFAException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_EnableSoftwareTokenMFAException :: Getting (First ServiceError) a ServiceError
_EnableSoftwareTokenMFAException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EnableSoftwareTokenMFAException"
_UserNotConfirmedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UserNotConfirmedException :: Getting (First ServiceError) a ServiceError
_UserNotConfirmedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UserNotConfirmedException"
_GroupExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_GroupExistsException :: Getting (First ServiceError) a ServiceError
_GroupExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"GroupExistsException"
_UnauthorizedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnauthorizedException :: Getting (First ServiceError) a ServiceError
_UnauthorizedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnauthorizedException"
_CodeDeliveryFailureException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CodeDeliveryFailureException :: Getting (First ServiceError) a ServiceError
_CodeDeliveryFailureException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CodeDeliveryFailureException"
_ScopeDoesNotExistException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ScopeDoesNotExistException :: Getting (First ServiceError) a ServiceError
_ScopeDoesNotExistException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ScopeDoesNotExistException"
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
_MFAMethodNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_MFAMethodNotFoundException :: Getting (First ServiceError) a ServiceError
_MFAMethodNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MFAMethodNotFoundException"
_AliasExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AliasExistsException :: Getting (First ServiceError) a ServiceError
_AliasExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AliasExistsException"
_UnsupportedTokenTypeException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedTokenTypeException :: Getting (First ServiceError) a ServiceError
_UnsupportedTokenTypeException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedTokenTypeException"
_DuplicateProviderException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DuplicateProviderException :: Getting (First ServiceError) a ServiceError
_DuplicateProviderException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DuplicateProviderException"
_LimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_LimitExceededException :: Getting (First ServiceError) a ServiceError
_LimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LimitExceededException"
_InvalidPasswordException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidPasswordException :: Getting (First ServiceError) a ServiceError
_InvalidPasswordException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidPasswordException"
_UsernameExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UsernameExistsException :: Getting (First ServiceError) a ServiceError
_UsernameExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UsernameExistsException"