-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Cognito Identity Provider SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.CognitoIdentityProvider</a> or <a>the AWS
--   documentation</a> to get started.
@package amazonka-cognito-idp
@version 1.4.5


module Network.AWS.CognitoIdentityProvider.Types

-- | API version <tt>2016-04-18</tt> of the Amazon Cognito Identity
--   Provider SDK configuration.
cognitoIdentityProvider :: Service

-- | The request failed because the user is in an unsupported state.
_UnsupportedUserStateException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a password reset is required.
_PasswordResetRequiredException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service encounters an
--   invalid parameter.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service encounters an
--   invalid AWS Lambda response.
_InvalidLambdaResponseException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito is not allowed to use
--   your email identity. HTTP status code: 400.
_InvalidEmailRoleAccessPolicyException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user is not found.
_UserNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the Amazon Cognito service encounters
--   an unexpected exception with the AWS Lambda service.
_UnexpectedLambdaException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when a user is not authorized.
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito encounters an internal
--   error.
_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the user pool configuration is invalid.
_InvalidUserPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is returned when the role provided for SMS
--   configuration does not have permission to publish using Amazon SNS.
_InvalidSmsRoleAccessPolicyException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown if the provided code does not match what the
--   server was expecting.
_CodeMismatchException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when you are trying to modify a user pool
--   while a user import job is in progress for that pool.
_UserImportInProgressException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the trust relationship is invalid for
--   the role provided for SMS configuration. This can happen if you do not
--   trust <b>cognito-idp.amazonaws.com</b> or the external ID provided in
--   the role does not match what is provided in the SMS configuration for
--   the user pool.
_InvalidSmsRoleTrustRelationshipException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the user has made too many requests
--   for a given operation.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown if two or more modifications are happening
--   concurrently.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the Amazon Cognito service encounters
--   a user validation exception with the AWS Lambda service.
_UserLambdaValidationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a precondition is not met.
_PreconditionNotMetException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown if a code has expired.
_ExpiredCodeException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the user has made too many failed
--   attempts for a given action (e.g., sign in).
_TooManyFailedAttemptsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user is not confirmed successfully.
_UserNotConfirmedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a verification code fails to deliver
--   successfully.
_CodeDeliveryFailureException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service cannot find
--   the requested resource.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito cannot find a
--   multi-factor authentication (MFA) method.
_MFAMethodNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user tries to confirm the account with
--   an email or phone number that has already been supplied as an alias
--   from a different account. This exception tells user that an account
--   with this email or phone already exists.
_AliasExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user exceeds the limit for a requested
--   AWS resource.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service encounters an
--   invalid password.
_InvalidPasswordException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito encounters a user name
--   that already exists in the user pool.
_UsernameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
data AliasAttributeType
AATEmail :: AliasAttributeType
AATPhoneNumber :: AliasAttributeType
AATPreferredUsername :: AliasAttributeType
data AttributeDataType
Boolean :: AttributeDataType
DateTime :: AttributeDataType
Number :: AttributeDataType
String :: AttributeDataType
data AuthFlowType
AdminNoSrpAuth :: AuthFlowType
CustomAuth :: AuthFlowType
RefreshToken :: AuthFlowType
RefreshTokenAuth :: AuthFlowType
UserSrpAuth :: AuthFlowType
data ChallengeNameType
CNTAdminNoSrpAuth :: ChallengeNameType
CNTCustomChallenge :: ChallengeNameType
CNTDevicePasswordVerifier :: ChallengeNameType
CNTDeviceSrpAuth :: ChallengeNameType
CNTNewPasswordRequired :: ChallengeNameType
CNTPasswordVerifier :: ChallengeNameType
CNTSmsMFA :: ChallengeNameType
data DeliveryMediumType
DMTEmail :: DeliveryMediumType
DMTSms :: DeliveryMediumType
data DeviceRememberedStatusType
NotRemembered :: DeviceRememberedStatusType
Remembered :: DeviceRememberedStatusType
data ExplicitAuthFlowsType
EAFTAdminNoSrpAuth :: ExplicitAuthFlowsType
EAFTCustomAuthFlowOnly :: ExplicitAuthFlowsType
data MessageActionType
Resend :: MessageActionType
Suppress :: MessageActionType
data StatusType
Disabled :: StatusType
Enabled :: StatusType
data UserImportJobStatusType
Created :: UserImportJobStatusType
Expired :: UserImportJobStatusType
Failed :: UserImportJobStatusType
InProgress :: UserImportJobStatusType
Pending :: UserImportJobStatusType
Stopped :: UserImportJobStatusType
Stopping :: UserImportJobStatusType
Succeeded :: UserImportJobStatusType
data UserPoolMFAType
ON :: UserPoolMFAType
Off :: UserPoolMFAType
Optional :: UserPoolMFAType
data UserStatusType
Archived :: UserStatusType
Compromised :: UserStatusType
Confirmed :: UserStatusType
ForceChangePassword :: UserStatusType
ResetRequired :: UserStatusType
Unconfirmed :: UserStatusType
Unknown :: UserStatusType
data VerifiedAttributeType
Email :: VerifiedAttributeType
PhoneNumber :: VerifiedAttributeType

-- | The type of configuration for creating a new user profile.
--   
--   <i>See:</i> <a>adminCreateUserConfigType</a> smart constructor.
data AdminCreateUserConfigType

-- | Creates a value of <a>AdminCreateUserConfigType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acuctAllowAdminCreateUserOnly</a> - Set to True if only the
--   administrator is allowed to create user profiles. Set to False if
--   users can sign themselves up via an app.</li>
--   <li><a>acuctUnusedAccountValidityDays</a> - The user account
--   expiration limit, in days, after which the account is no longer
--   usable. To reset the account after that time limit, you must call
--   AdminCreateUser again, specifying <a>RESEND</a> for the MessageAction
--   parameter.</li>
--   <li><a>acuctInviteMessageTemplate</a> - The message template to be
--   used for the welcome message to new users.</li>
--   </ul>
adminCreateUserConfigType :: AdminCreateUserConfigType

-- | Set to True if only the administrator is allowed to create user
--   profiles. Set to False if users can sign themselves up via an app.
acuctAllowAdminCreateUserOnly :: Lens' AdminCreateUserConfigType (Maybe Bool)

-- | The user account expiration limit, in days, after which the account is
--   no longer usable. To reset the account after that time limit, you must
--   call AdminCreateUser again, specifying <a>RESEND</a> for the
--   MessageAction parameter.
acuctUnusedAccountValidityDays :: Lens' AdminCreateUserConfigType (Maybe Natural)

-- | The message template to be used for the welcome message to new users.
acuctInviteMessageTemplate :: Lens' AdminCreateUserConfigType (Maybe MessageTemplateType)

-- | Specifies whether the attribute is standard or custom.
--   
--   <i>See:</i> <a>attributeType</a> smart constructor.
data AttributeType

-- | Creates a value of <a>AttributeType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atValue</a> - The value of the attribute.</li>
--   <li><a>atName</a> - The name of the attribute.</li>
--   </ul>
attributeType :: Text -> AttributeType

-- | The value of the attribute.
atValue :: Lens' AttributeType (Maybe Text)

-- | The name of the attribute.
atName :: Lens' AttributeType Text

-- | The result type of the authentication result.
--   
--   <i>See:</i> <a>authenticationResultType</a> smart constructor.
data AuthenticationResultType

-- | Creates a value of <a>AuthenticationResultType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>artAccessToken</a> - The access token of the authentication
--   result.</li>
--   <li><a>artRefreshToken</a> - The refresh token of the authentication
--   result.</li>
--   <li><a>artNewDeviceMetadata</a> - The new device metadata from an
--   authentication result.</li>
--   <li><a>artExpiresIn</a> - The expiration period of the authentication
--   result.</li>
--   <li><a>artTokenType</a> - The token type of the authentication
--   result.</li>
--   <li><a>artIdToken</a> - The ID token of the authentication
--   result.</li>
--   </ul>
authenticationResultType :: AuthenticationResultType

-- | The access token of the authentication result.
artAccessToken :: Lens' AuthenticationResultType (Maybe Text)

-- | The refresh token of the authentication result.
artRefreshToken :: Lens' AuthenticationResultType (Maybe Text)

-- | The new device metadata from an authentication result.
artNewDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)

-- | The expiration period of the authentication result.
artExpiresIn :: Lens' AuthenticationResultType (Maybe Int)

-- | The token type of the authentication result.
artTokenType :: Lens' AuthenticationResultType (Maybe Text)

-- | The ID token of the authentication result.
artIdToken :: Lens' AuthenticationResultType (Maybe Text)

-- | The type of code delivery details being returned from the server.
--   
--   <i>See:</i> <a>codeDeliveryDetailsType</a> smart constructor.
data CodeDeliveryDetailsType

-- | Creates a value of <a>CodeDeliveryDetailsType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cddtDestination</a> - The destination for the code delivery
--   details.</li>
--   <li><a>cddtDeliveryMedium</a> - The delivery medium (email message or
--   phone number).</li>
--   <li><a>cddtAttributeName</a> - The name of the attribute in the code
--   delivery details type.</li>
--   </ul>
codeDeliveryDetailsType :: CodeDeliveryDetailsType

-- | The destination for the code delivery details.
cddtDestination :: Lens' CodeDeliveryDetailsType (Maybe Text)

-- | The delivery medium (email message or phone number).
cddtDeliveryMedium :: Lens' CodeDeliveryDetailsType (Maybe DeliveryMediumType)

-- | The name of the attribute in the code delivery details type.
cddtAttributeName :: Lens' CodeDeliveryDetailsType (Maybe Text)

-- | The type of configuration for the user pool's device tracking.
--   
--   <i>See:</i> <a>deviceConfigurationType</a> smart constructor.
data DeviceConfigurationType

-- | Creates a value of <a>DeviceConfigurationType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dctChallengeRequiredOnNewDevice</a> - Indicates whether a
--   challenge is required on a new device. Only applicable to a new
--   device.</li>
--   <li><a>dctDeviceOnlyRememberedOnUserPrompt</a> - If true, a device is
--   only remembered on user prompt.</li>
--   </ul>
deviceConfigurationType :: DeviceConfigurationType

-- | Indicates whether a challenge is required on a new device. Only
--   applicable to a new device.
dctChallengeRequiredOnNewDevice :: Lens' DeviceConfigurationType (Maybe Bool)

-- | If true, a device is only remembered on user prompt.
dctDeviceOnlyRememberedOnUserPrompt :: Lens' DeviceConfigurationType (Maybe Bool)

-- | The device verifier against which it will be authenticated.
--   
--   <i>See:</i> <a>deviceSecretVerifierConfigType</a> smart constructor.
data DeviceSecretVerifierConfigType

-- | Creates a value of <a>DeviceSecretVerifierConfigType</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsvctPasswordVerifier</a> - The password verifier.</li>
--   <li><a>dsvctSalt</a> - The salt.</li>
--   </ul>
deviceSecretVerifierConfigType :: DeviceSecretVerifierConfigType

-- | The password verifier.
dsvctPasswordVerifier :: Lens' DeviceSecretVerifierConfigType (Maybe Text)

-- | The salt.
dsvctSalt :: Lens' DeviceSecretVerifierConfigType (Maybe Text)

-- | The device type.
--   
--   <i>See:</i> <a>deviceType</a> smart constructor.
data DeviceType

-- | Creates a value of <a>DeviceType</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtDeviceLastModifiedDate</a> - The last modified date of the
--   device.</li>
--   <li><a>dtDeviceCreateDate</a> - The creation date of the device.</li>
--   <li><a>dtDeviceAttributes</a> - The device attributes.</li>
--   <li><a>dtDeviceKey</a> - The device key.</li>
--   <li><a>dtDeviceLastAuthenticatedDate</a> - The date in which the
--   device was last authenticated.</li>
--   </ul>
deviceType :: DeviceType

-- | The last modified date of the device.
dtDeviceLastModifiedDate :: Lens' DeviceType (Maybe UTCTime)

-- | The creation date of the device.
dtDeviceCreateDate :: Lens' DeviceType (Maybe UTCTime)

-- | The device attributes.
dtDeviceAttributes :: Lens' DeviceType [AttributeType]

-- | The device key.
dtDeviceKey :: Lens' DeviceType (Maybe Text)

-- | The date in which the device was last authenticated.
dtDeviceLastAuthenticatedDate :: Lens' DeviceType (Maybe UTCTime)

-- | The email configuration type.
--   
--   <i>See:</i> <a>emailConfigurationType</a> smart constructor.
data EmailConfigurationType

-- | Creates a value of <a>EmailConfigurationType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ectSourceARN</a> - The Amazon Resource Name (ARN) of the email
--   source.</li>
--   <li><a>ectReplyToEmailAddress</a> - The REPLY-TO email address.</li>
--   </ul>
emailConfigurationType :: EmailConfigurationType

-- | The Amazon Resource Name (ARN) of the email source.
ectSourceARN :: Lens' EmailConfigurationType (Maybe Text)

-- | The REPLY-TO email address.
ectReplyToEmailAddress :: Lens' EmailConfigurationType (Maybe Text)

-- | Specifies the type of configuration for AWS Lambda triggers.
--   
--   <i>See:</i> <a>lambdaConfigType</a> smart constructor.
data LambdaConfigType

-- | Creates a value of <a>LambdaConfigType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lctPreAuthentication</a> - A pre-authentication AWS Lambda
--   trigger.</li>
--   <li><a>lctCreateAuthChallenge</a> - Creates an authentication
--   challenge.</li>
--   <li><a>lctVerifyAuthChallengeResponse</a> - Verifies the
--   authentication challenge response.</li>
--   <li><a>lctPostAuthentication</a> - A post-authentication AWS Lambda
--   trigger.</li>
--   <li><a>lctCustomMessage</a> - A custom Message AWS Lambda
--   trigger.</li>
--   <li><a>lctDefineAuthChallenge</a> - Defines the authentication
--   challenge.</li>
--   <li><a>lctPostConfirmation</a> - A post-confirmation AWS Lambda
--   trigger.</li>
--   <li><a>lctPreSignUp</a> - A pre-registration AWS Lambda trigger.</li>
--   </ul>
lambdaConfigType :: LambdaConfigType

-- | A pre-authentication AWS Lambda trigger.
lctPreAuthentication :: Lens' LambdaConfigType (Maybe Text)

-- | Creates an authentication challenge.
lctCreateAuthChallenge :: Lens' LambdaConfigType (Maybe Text)

-- | Verifies the authentication challenge response.
lctVerifyAuthChallengeResponse :: Lens' LambdaConfigType (Maybe Text)

-- | A post-authentication AWS Lambda trigger.
lctPostAuthentication :: Lens' LambdaConfigType (Maybe Text)

-- | A custom Message AWS Lambda trigger.
lctCustomMessage :: Lens' LambdaConfigType (Maybe Text)

-- | Defines the authentication challenge.
lctDefineAuthChallenge :: Lens' LambdaConfigType (Maybe Text)

-- | A post-confirmation AWS Lambda trigger.
lctPostConfirmation :: Lens' LambdaConfigType (Maybe Text)

-- | A pre-registration AWS Lambda trigger.
lctPreSignUp :: Lens' LambdaConfigType (Maybe Text)

-- | Specifies the different settings for multi-factor authentication
--   (MFA).
--   
--   <i>See:</i> <a>mfaOptionType</a> smart constructor.
data MFAOptionType

-- | Creates a value of <a>MFAOptionType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>motDeliveryMedium</a> - The delivery medium (email message or
--   SMS message) to send the MFA code.</li>
--   <li><a>motAttributeName</a> - The attribute name of the MFA option
--   type.</li>
--   </ul>
mfaOptionType :: MFAOptionType

-- | The delivery medium (email message or SMS message) to send the MFA
--   code.
motDeliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType)

-- | The attribute name of the MFA option type.
motAttributeName :: Lens' MFAOptionType (Maybe Text)

-- | The message template structure.
--   
--   <i>See:</i> <a>messageTemplateType</a> smart constructor.
data MessageTemplateType

-- | Creates a value of <a>MessageTemplateType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mttEmailSubject</a> - The subject line for email messages.</li>
--   <li><a>mttSMSMessage</a> - The message template for SMS messages.</li>
--   <li><a>mttEmailMessage</a> - The message template for email
--   messages.</li>
--   </ul>
messageTemplateType :: MessageTemplateType

-- | The subject line for email messages.
mttEmailSubject :: Lens' MessageTemplateType (Maybe Text)

-- | The message template for SMS messages.
mttSMSMessage :: Lens' MessageTemplateType (Maybe Text)

-- | The message template for email messages.
mttEmailMessage :: Lens' MessageTemplateType (Maybe Text)

-- | The new device metadata type.
--   
--   <i>See:</i> <a>newDeviceMetadataType</a> smart constructor.
data NewDeviceMetadataType

-- | Creates a value of <a>NewDeviceMetadataType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ndmtDeviceGroupKey</a> - The device group key.</li>
--   <li><a>ndmtDeviceKey</a> - The device key.</li>
--   </ul>
newDeviceMetadataType :: NewDeviceMetadataType

-- | The device group key.
ndmtDeviceGroupKey :: Lens' NewDeviceMetadataType (Maybe Text)

-- | The device key.
ndmtDeviceKey :: Lens' NewDeviceMetadataType (Maybe Text)

-- | The minimum and maximum value of an attribute that is of the number
--   data type.
--   
--   <i>See:</i> <a>numberAttributeConstraintsType</a> smart constructor.
data NumberAttributeConstraintsType

-- | Creates a value of <a>NumberAttributeConstraintsType</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>nactMaxValue</a> - The maximum value of an attribute that is of
--   the number data type.</li>
--   <li><a>nactMinValue</a> - The minimum value of an attribute that is of
--   the number data type.</li>
--   </ul>
numberAttributeConstraintsType :: NumberAttributeConstraintsType

-- | The maximum value of an attribute that is of the number data type.
nactMaxValue :: Lens' NumberAttributeConstraintsType (Maybe Text)

-- | The minimum value of an attribute that is of the number data type.
nactMinValue :: Lens' NumberAttributeConstraintsType (Maybe Text)

-- | The password policy type.
--   
--   <i>See:</i> <a>passwordPolicyType</a> smart constructor.
data PasswordPolicyType

-- | Creates a value of <a>PasswordPolicyType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pptRequireNumbers</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   number in their password.</li>
--   <li><a>pptRequireUppercase</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   uppercase letter in their password.</li>
--   <li><a>pptRequireLowercase</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   lowercase letter in their password.</li>
--   <li><a>pptMinimumLength</a> - The minimum length of the password
--   policy that you have set. Cannot be less than 6.</li>
--   <li><a>pptRequireSymbols</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   symbol in their password.</li>
--   </ul>
passwordPolicyType :: PasswordPolicyType

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one number in their password.
pptRequireNumbers :: Lens' PasswordPolicyType (Maybe Bool)

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one uppercase letter in their password.
pptRequireUppercase :: Lens' PasswordPolicyType (Maybe Bool)

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one lowercase letter in their password.
pptRequireLowercase :: Lens' PasswordPolicyType (Maybe Bool)

-- | The minimum length of the password policy that you have set. Cannot be
--   less than 6.
pptMinimumLength :: Lens' PasswordPolicyType (Maybe Natural)

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one symbol in their password.
pptRequireSymbols :: Lens' PasswordPolicyType (Maybe Bool)

-- | Contains information about the schema attribute.
--   
--   <i>See:</i> <a>schemaAttributeType</a> smart constructor.
data SchemaAttributeType

-- | Creates a value of <a>SchemaAttributeType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>satNumberAttributeConstraints</a> - Specifies the constraints
--   for an attribute of the number type.</li>
--   <li><a>satRequired</a> - Specifies whether a user pool attribute is
--   required. If the attribute is required and the user does not provide a
--   value, registration or sign-in will fail.</li>
--   <li><a>satAttributeDataType</a> - The attribute data type.</li>
--   <li><a>satStringAttributeConstraints</a> - Specifies the constraints
--   for an attribute of the string type.</li>
--   <li><a>satName</a> - A schema attribute of the name type.</li>
--   <li><a>satDeveloperOnlyAttribute</a> - Specifies whether the attribute
--   type is developer only.</li>
--   <li><a>satMutable</a> - Specifies whether the attribute can be changed
--   once it has been created.</li>
--   </ul>
schemaAttributeType :: SchemaAttributeType

-- | Specifies the constraints for an attribute of the number type.
satNumberAttributeConstraints :: Lens' SchemaAttributeType (Maybe NumberAttributeConstraintsType)

-- | Specifies whether a user pool attribute is required. If the attribute
--   is required and the user does not provide a value, registration or
--   sign-in will fail.
satRequired :: Lens' SchemaAttributeType (Maybe Bool)

-- | The attribute data type.
satAttributeDataType :: Lens' SchemaAttributeType (Maybe AttributeDataType)

-- | Specifies the constraints for an attribute of the string type.
satStringAttributeConstraints :: Lens' SchemaAttributeType (Maybe StringAttributeConstraintsType)

-- | A schema attribute of the name type.
satName :: Lens' SchemaAttributeType (Maybe Text)

-- | Specifies whether the attribute type is developer only.
satDeveloperOnlyAttribute :: Lens' SchemaAttributeType (Maybe Bool)

-- | Specifies whether the attribute can be changed once it has been
--   created.
satMutable :: Lens' SchemaAttributeType (Maybe Bool)

-- | The SMS configuratoin type.
--   
--   <i>See:</i> <a>smsConfigurationType</a> smart constructor.
data SmsConfigurationType

-- | Creates a value of <a>SmsConfigurationType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sctExternalId</a> - The external ID.</li>
--   <li><a>sctSNSCallerARN</a> - The Amazon Resource Name (ARN) of the
--   Amazon Simple Notification Service (SNS) caller.</li>
--   </ul>
smsConfigurationType :: Text -> SmsConfigurationType

-- | The external ID.
sctExternalId :: Lens' SmsConfigurationType (Maybe Text)

-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
--   Service (SNS) caller.
sctSNSCallerARN :: Lens' SmsConfigurationType Text

-- | The type of constraints associated with an attribute of the string
--   type.
--   
--   <i>See:</i> <a>stringAttributeConstraintsType</a> smart constructor.
data StringAttributeConstraintsType

-- | Creates a value of <a>StringAttributeConstraintsType</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sactMaxLength</a> - The maximum length of an attribute value of
--   the string type.</li>
--   <li><a>sactMinLength</a> - The minimum length of an attribute value of
--   the string type.</li>
--   </ul>
stringAttributeConstraintsType :: StringAttributeConstraintsType

-- | The maximum length of an attribute value of the string type.
sactMaxLength :: Lens' StringAttributeConstraintsType (Maybe Text)

-- | The minimum length of an attribute value of the string type.
sactMinLength :: Lens' StringAttributeConstraintsType (Maybe Text)

-- | The user import job type.
--   
--   <i>See:</i> <a>userImportJobType</a> smart constructor.
data UserImportJobType

-- | Creates a value of <a>UserImportJobType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uijtStatus</a> - The status of the user import job. One of the
--   following: * Created - The job was created but not started. * Pending
--   - A transition state. You have started the job, but it has not begun
--   importing users yet. * InProgress - The job has started, and users are
--   being imported. * Stopping - You have stopped the job, but the job has
--   not stopped importing users yet. * Stopped - You have stopped the job,
--   and the job has stopped importing users. * Succeeded - The job has
--   completed successfully. * Failed - The job has stopped due to an
--   error. * Expired - You created a job, but did not start the job within
--   24-48 hours. All data associated with the job was deleted, and the job
--   cannot be started.</li>
--   <li><a>uijtSkippedUsers</a> - The number of users that were
--   skipped.</li>
--   <li><a>uijtJobId</a> - The job ID for the user import job.</li>
--   <li><a>uijtUserPoolId</a> - The user pool ID for the user pool that
--   the users are being imported into.</li>
--   <li><a>uijtJobName</a> - The job name for the user import job.</li>
--   <li><a>uijtPreSignedURL</a> - The pre-signed URL to be used to upload
--   the .csv file.</li>
--   <li><a>uijtFailedUsers</a> - The number of users that could not be
--   imported.</li>
--   <li><a>uijtStartDate</a> - The date when the user import job was
--   started.</li>
--   <li><a>uijtCompletionMessage</a> - The message returned when the user
--   import job is completed.</li>
--   <li><a>uijtCreationDate</a> - The date when the user import job was
--   created.</li>
--   <li><a>uijtCompletionDate</a> - The date when the user imoprt job was
--   completed.</li>
--   <li><a>uijtCloudWatchLogsRoleARN</a> - The role ARN for the Amazon
--   CloudWatch Logging role for the user import job. For more information,
--   see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito
--   Developer Guide.</li>
--   <li><a>uijtImportedUsers</a> - The number of users that were
--   successfully imported.</li>
--   </ul>
userImportJobType :: UserImportJobType

-- | The status of the user import job. One of the following: * Created -
--   The job was created but not started. * Pending - A transition state.
--   You have started the job, but it has not begun importing users yet. *
--   InProgress - The job has started, and users are being imported. *
--   Stopping - You have stopped the job, but the job has not stopped
--   importing users yet. * Stopped - You have stopped the job, and the job
--   has stopped importing users. * Succeeded - The job has completed
--   successfully. * Failed - The job has stopped due to an error. *
--   Expired - You created a job, but did not start the job within 24-48
--   hours. All data associated with the job was deleted, and the job
--   cannot be started.
uijtStatus :: Lens' UserImportJobType (Maybe UserImportJobStatusType)

-- | The number of users that were skipped.
uijtSkippedUsers :: Lens' UserImportJobType (Maybe Integer)

-- | The job ID for the user import job.
uijtJobId :: Lens' UserImportJobType (Maybe Text)

-- | The user pool ID for the user pool that the users are being imported
--   into.
uijtUserPoolId :: Lens' UserImportJobType (Maybe Text)

-- | The job name for the user import job.
uijtJobName :: Lens' UserImportJobType (Maybe Text)

-- | The pre-signed URL to be used to upload the .csv file.
uijtPreSignedURL :: Lens' UserImportJobType (Maybe Text)

-- | The number of users that could not be imported.
uijtFailedUsers :: Lens' UserImportJobType (Maybe Integer)

-- | The date when the user import job was started.
uijtStartDate :: Lens' UserImportJobType (Maybe UTCTime)

-- | The message returned when the user import job is completed.
uijtCompletionMessage :: Lens' UserImportJobType (Maybe Text)

-- | The date when the user import job was created.
uijtCreationDate :: Lens' UserImportJobType (Maybe UTCTime)

-- | The date when the user imoprt job was completed.
uijtCompletionDate :: Lens' UserImportJobType (Maybe UTCTime)

-- | The role ARN for the Amazon CloudWatch Logging role for the user
--   import job. For more information, see "Creating the CloudWatch Logs
--   IAM Role" in the Amazon Cognito Developer Guide.
uijtCloudWatchLogsRoleARN :: Lens' UserImportJobType (Maybe Text)

-- | The number of users that were successfully imported.
uijtImportedUsers :: Lens' UserImportJobType (Maybe Integer)

-- | The description of the user poool client.
--   
--   <i>See:</i> <a>userPoolClientDescription</a> smart constructor.
data UserPoolClientDescription

-- | Creates a value of <a>UserPoolClientDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>upcdClientId</a> - The ID of the client associated with the
--   user pool.</li>
--   <li><a>upcdUserPoolId</a> - The user pool ID for the user pool where
--   you want to describe the user pool client.</li>
--   <li><a>upcdClientName</a> - The client name from the user pool client
--   description.</li>
--   </ul>
userPoolClientDescription :: UserPoolClientDescription

-- | The ID of the client associated with the user pool.
upcdClientId :: Lens' UserPoolClientDescription (Maybe Text)

-- | The user pool ID for the user pool where you want to describe the user
--   pool client.
upcdUserPoolId :: Lens' UserPoolClientDescription (Maybe Text)

-- | The client name from the user pool client description.
upcdClientName :: Lens' UserPoolClientDescription (Maybe Text)

-- | A user pool of the client type.
--   
--   <i>See:</i> <a>userPoolClientType</a> smart constructor.
data UserPoolClientType

-- | Creates a value of <a>UserPoolClientType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>upctRefreshTokenValidity</a> - The validity of the refresh
--   token.</li>
--   <li><a>upctClientId</a> - The ID of the client associated with the
--   user pool.</li>
--   <li><a>upctExplicitAuthFlows</a> - The explicit authentication
--   flows.</li>
--   <li><a>upctClientSecret</a> - The client secret from the user pool
--   request of the client type.</li>
--   <li><a>upctLastModifiedDate</a> - The last modified date from the user
--   pool request of the client type.</li>
--   <li><a>upctUserPoolId</a> - The user pool ID for the user pool
--   client.</li>
--   <li><a>upctWriteAttributes</a> - The writeable attributes.</li>
--   <li><a>upctCreationDate</a> - The creation date from the user pool
--   request of the client type.</li>
--   <li><a>upctReadAttributes</a> - The Read-only attributes.</li>
--   <li><a>upctClientName</a> - The client name from the user pool request
--   of the client type.</li>
--   </ul>
userPoolClientType :: UserPoolClientType

-- | The validity of the refresh token.
upctRefreshTokenValidity :: Lens' UserPoolClientType (Maybe Natural)

-- | The ID of the client associated with the user pool.
upctClientId :: Lens' UserPoolClientType (Maybe Text)

-- | The explicit authentication flows.
upctExplicitAuthFlows :: Lens' UserPoolClientType [ExplicitAuthFlowsType]

-- | The client secret from the user pool request of the client type.
upctClientSecret :: Lens' UserPoolClientType (Maybe Text)

-- | The last modified date from the user pool request of the client type.
upctLastModifiedDate :: Lens' UserPoolClientType (Maybe UTCTime)

-- | The user pool ID for the user pool client.
upctUserPoolId :: Lens' UserPoolClientType (Maybe Text)

-- | The writeable attributes.
upctWriteAttributes :: Lens' UserPoolClientType [Text]

-- | The creation date from the user pool request of the client type.
upctCreationDate :: Lens' UserPoolClientType (Maybe UTCTime)

-- | The Read-only attributes.
upctReadAttributes :: Lens' UserPoolClientType [Text]

-- | The client name from the user pool request of the client type.
upctClientName :: Lens' UserPoolClientType (Maybe Text)

-- | A user pool description.
--   
--   <i>See:</i> <a>userPoolDescriptionType</a> smart constructor.
data UserPoolDescriptionType

-- | Creates a value of <a>UserPoolDescriptionType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>updtStatus</a> - The user pool status in a user pool
--   description.</li>
--   <li><a>updtLastModifiedDate</a> - The last modified date in a user
--   pool description.</li>
--   <li><a>updtName</a> - The name in a user pool description.</li>
--   <li><a>updtId</a> - The ID in a user pool description.</li>
--   <li><a>updtCreationDate</a> - The creation date in a user pool
--   description.</li>
--   <li><a>updtLambdaConfig</a> - The AWS Lambda configuration information
--   in a user pool description.</li>
--   </ul>
userPoolDescriptionType :: UserPoolDescriptionType

-- | The user pool status in a user pool description.
updtStatus :: Lens' UserPoolDescriptionType (Maybe StatusType)

-- | The last modified date in a user pool description.
updtLastModifiedDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)

-- | The name in a user pool description.
updtName :: Lens' UserPoolDescriptionType (Maybe Text)

-- | The ID in a user pool description.
updtId :: Lens' UserPoolDescriptionType (Maybe Text)

-- | The creation date in a user pool description.
updtCreationDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)

-- | The AWS Lambda configuration information in a user pool description.
updtLambdaConfig :: Lens' UserPoolDescriptionType (Maybe LambdaConfigType)

-- | The type of policy in a user pool.
--   
--   <i>See:</i> <a>userPoolPolicyType</a> smart constructor.
data UserPoolPolicyType

-- | Creates a value of <a>UserPoolPolicyType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>upptPasswordPolicy</a> - A container with information about the
--   user pool password policy.</li>
--   </ul>
userPoolPolicyType :: UserPoolPolicyType

-- | A container with information about the user pool password policy.
upptPasswordPolicy :: Lens' UserPoolPolicyType (Maybe PasswordPolicyType)

-- | A container with information about the user pool type.
--   
--   <i>See:</i> <a>userPoolType</a> smart constructor.
data UserPoolType

-- | Creates a value of <a>UserPoolType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uptStatus</a> - The status of a user pool.</li>
--   <li><a>uptEmailConfigurationFailure</a> - The reason why the email
--   configuration cannot send the messages to your users.</li>
--   <li><a>uptLastModifiedDate</a> - The last modified date of a user
--   pool.</li>
--   <li><a>uptEstimatedNumberOfUsers</a> - A number estimating the size of
--   the user pool.</li>
--   <li><a>uptEmailVerificationMessage</a> - The contents of the email
--   verification message.</li>
--   <li><a>uptSmsAuthenticationMessage</a> - The contents of the SMS
--   authentication message.</li>
--   <li><a>uptSchemaAttributes</a> - A container with the schema
--   attributes of a user pool.</li>
--   <li><a>uptEmailVerificationSubject</a> - The subject of the email
--   verification message.</li>
--   <li><a>uptAliasAttributes</a> - Specifies the attributes that are
--   aliased in a user pool.</li>
--   <li><a>uptEmailConfiguration</a> - The email configuration.</li>
--   <li><a>uptSmsVerificationMessage</a> - The contents of the SMS
--   verification message.</li>
--   <li><a>uptName</a> - The name of the user pool.</li>
--   <li><a>uptMFAConfiguration</a> - Can be one of the following values: *
--   <tt>OFF</tt> - MFA tokens are not required and cannot be specified
--   during user registration. * <tt>ON</tt> - MFA tokens are required for
--   all user registrations. You can only specify required when you are
--   initially creating a user pool. * <tt>OPTIONAL</tt> - Users have the
--   option when registering to create an MFA token.</li>
--   <li><a>uptId</a> - The ID of the user pool.</li>
--   <li><a>uptSmsConfigurationFailure</a> - The reason why the SMS
--   configuration cannot send the message(s) to your users.</li>
--   <li><a>uptCreationDate</a> - The creation date of a user pool.</li>
--   <li><a>uptLambdaConfig</a> - A container describing the AWS Lambda
--   triggers associated with a user pool.</li>
--   <li><a>uptSmsConfiguration</a> - The SMS configuration.</li>
--   <li><a>uptAdminCreateUserConfig</a> - The configuration for
--   AdminCreateUser requests.</li>
--   <li><a>uptDeviceConfiguration</a> - The device configuration.</li>
--   <li><a>uptAutoVerifiedAttributes</a> - Specifies the attributes that
--   are auto-verified in a user pool.</li>
--   <li><a>uptPolicies</a> - A container describing the policies
--   associated with a user pool.</li>
--   </ul>
userPoolType :: UserPoolType

-- | The status of a user pool.
uptStatus :: Lens' UserPoolType (Maybe StatusType)

-- | The reason why the email configuration cannot send the messages to
--   your users.
uptEmailConfigurationFailure :: Lens' UserPoolType (Maybe Text)

-- | The last modified date of a user pool.
uptLastModifiedDate :: Lens' UserPoolType (Maybe UTCTime)

-- | A number estimating the size of the user pool.
uptEstimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int)

-- | The contents of the email verification message.
uptEmailVerificationMessage :: Lens' UserPoolType (Maybe Text)

-- | The contents of the SMS authentication message.
uptSmsAuthenticationMessage :: Lens' UserPoolType (Maybe Text)

-- | A container with the schema attributes of a user pool.
uptSchemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType))

-- | The subject of the email verification message.
uptEmailVerificationSubject :: Lens' UserPoolType (Maybe Text)

-- | Specifies the attributes that are aliased in a user pool.
uptAliasAttributes :: Lens' UserPoolType [AliasAttributeType]

-- | The email configuration.
uptEmailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType)

-- | The contents of the SMS verification message.
uptSmsVerificationMessage :: Lens' UserPoolType (Maybe Text)

-- | The name of the user pool.
uptName :: Lens' UserPoolType (Maybe Text)

-- | Can be one of the following values: * <tt>OFF</tt> - MFA tokens are
--   not required and cannot be specified during user registration. *
--   <tt>ON</tt> - MFA tokens are required for all user registrations. You
--   can only specify required when you are initially creating a user pool.
--   * <tt>OPTIONAL</tt> - Users have the option when registering to create
--   an MFA token.
uptMFAConfiguration :: Lens' UserPoolType (Maybe UserPoolMFAType)

-- | The ID of the user pool.
uptId :: Lens' UserPoolType (Maybe Text)

-- | The reason why the SMS configuration cannot send the message(s) to
--   your users.
uptSmsConfigurationFailure :: Lens' UserPoolType (Maybe Text)

-- | The creation date of a user pool.
uptCreationDate :: Lens' UserPoolType (Maybe UTCTime)

-- | A container describing the AWS Lambda triggers associated with a user
--   pool.
uptLambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType)

-- | The SMS configuration.
uptSmsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType)

-- | The configuration for AdminCreateUser requests.
uptAdminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType)

-- | The device configuration.
uptDeviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType)

-- | Specifies the attributes that are auto-verified in a user pool.
uptAutoVerifiedAttributes :: Lens' UserPoolType [VerifiedAttributeType]

-- | A container describing the policies associated with a user pool.
uptPolicies :: Lens' UserPoolType (Maybe UserPoolPolicyType)

-- | The user type.
--   
--   <i>See:</i> <a>userType</a> smart constructor.
data UserType

-- | Creates a value of <a>UserType</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>utEnabled</a> - Specifies whether the user is enabled.</li>
--   <li><a>utUserStatus</a> - The user status. Can be one of the
--   following: * UNCONFIRMED - User has been created but not confirmed. *
--   CONFIRMED - User has been confirmed. * ARCHIVED - User is no longer
--   active. * COMPROMISED - User is disabled due to a potential security
--   threat. * UNKNOWN - User status is not known.</li>
--   <li><a>utUsername</a> - The user name of the user you wish to
--   describe.</li>
--   <li><a>utUserCreateDate</a> - The creation date of the user.</li>
--   <li><a>utAttributes</a> - A container with information about the user
--   type attributes.</li>
--   <li><a>utMFAOptions</a> - The MFA options for the user.</li>
--   <li><a>utUserLastModifiedDate</a> - The last modified date of the
--   user.</li>
--   </ul>
userType :: UserType

-- | Specifies whether the user is enabled.
utEnabled :: Lens' UserType (Maybe Bool)

-- | The user status. Can be one of the following: * UNCONFIRMED - User has
--   been created but not confirmed. * CONFIRMED - User has been confirmed.
--   * ARCHIVED - User is no longer active. * COMPROMISED - User is
--   disabled due to a potential security threat. * UNKNOWN - User status
--   is not known.
utUserStatus :: Lens' UserType (Maybe UserStatusType)

-- | The user name of the user you wish to describe.
utUsername :: Lens' UserType (Maybe Text)

-- | The creation date of the user.
utUserCreateDate :: Lens' UserType (Maybe UTCTime)

-- | A container with information about the user type attributes.
utAttributes :: Lens' UserType [AttributeType]

-- | The MFA options for the user.
utMFAOptions :: Lens' UserType [MFAOptionType]

-- | The last modified date of the user.
utUserLastModifiedDate :: Lens' UserType (Maybe UTCTime)


-- | Updates the device status.
module Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus

-- | Creates a value of <a>UpdateDeviceStatus</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>udsDeviceRememberedStatus</a> - The status of whether a device
--   is remembered.</li>
--   <li><a>udsAccessToken</a> - The access token.</li>
--   <li><a>udsDeviceKey</a> - The device key.</li>
--   </ul>
updateDeviceStatus :: Text -> Text -> UpdateDeviceStatus

-- | Represents the request to update the device status.
--   
--   <i>See:</i> <a>updateDeviceStatus</a> smart constructor.
data UpdateDeviceStatus

-- | The status of whether a device is remembered.
udsDeviceRememberedStatus :: Lens' UpdateDeviceStatus (Maybe DeviceRememberedStatusType)

-- | The access token.
udsAccessToken :: Lens' UpdateDeviceStatus Text

-- | The device key.
udsDeviceKey :: Lens' UpdateDeviceStatus Text

-- | Creates a value of <a>UpdateDeviceStatusResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>udsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateDeviceStatusResponse :: Int -> UpdateDeviceStatusResponse

-- | The response to the request to update the device status.
--   
--   <i>See:</i> <a>updateDeviceStatusResponse</a> smart constructor.
data UpdateDeviceStatusResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
udsrsResponseStatus :: Lens' UpdateDeviceStatusResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatusResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatusResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatusResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatusResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatusResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatus
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus.UpdateDeviceStatusResponse


-- | Allows a user to update a specific attribute (one at a time).
module Network.AWS.CognitoIdentityProvider.UpdateUserAttributes

-- | Creates a value of <a>UpdateUserAttributes</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uuaAccessToken</a> - The access token for the request to update
--   user attributes.</li>
--   <li><a>uuaUserAttributes</a> - An array of name-value pairs
--   representing user attributes.</li>
--   </ul>
updateUserAttributes :: UpdateUserAttributes

-- | Represents the request to update user attributes.
--   
--   <i>See:</i> <a>updateUserAttributes</a> smart constructor.
data UpdateUserAttributes

-- | The access token for the request to update user attributes.
uuaAccessToken :: Lens' UpdateUserAttributes (Maybe Text)

-- | An array of name-value pairs representing user attributes.
uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType]

-- | Creates a value of <a>UpdateUserAttributesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uuarsCodeDeliveryDetailsList</a> - The code delivery details
--   list from the server for the request to update user attributes.</li>
--   <li><a>uuarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateUserAttributesResponse :: Int -> UpdateUserAttributesResponse

-- | Represents the response from the server for the request to update user
--   attributes.
--   
--   <i>See:</i> <a>updateUserAttributesResponse</a> smart constructor.
data UpdateUserAttributesResponse

-- | The code delivery details list from the server for the request to
--   update user attributes.
uuarsCodeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse [CodeDeliveryDetailsType]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
uuarsResponseStatus :: Lens' UpdateUserAttributesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateUserAttributes.UpdateUserAttributesResponse


-- | Updates the specified user pool with the specified attributes.
module Network.AWS.CognitoIdentityProvider.UpdateUserPool

-- | Creates a value of <a>UpdateUserPool</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uupEmailVerificationMessage</a> - The contents of the email
--   verification message.</li>
--   <li><a>uupSmsAuthenticationMessage</a> - The contents of the SMS
--   authentication message.</li>
--   <li><a>uupEmailVerificationSubject</a> - The subject of the email
--   verfication message.</li>
--   <li><a>uupEmailConfiguration</a> - Email configuration.</li>
--   <li><a>uupSmsVerificationMessage</a> - A container with information
--   about the SMS verification message.</li>
--   <li><a>uupMFAConfiguration</a> - Can be one of the following values: *
--   <tt>OFF</tt> - MFA tokens are not required and cannot be specified
--   during user registration. * <tt>ON</tt> - MFA tokens are required for
--   all user registrations. You can only specify required when you are
--   initially creating a user pool. * <tt>OPTIONAL</tt> - Users have the
--   option when registering to create an MFA token.</li>
--   <li><a>uupLambdaConfig</a> - The AWS Lambda configuration information
--   from the request to update the user pool.</li>
--   <li><a>uupSmsConfiguration</a> - SMS configuration.</li>
--   <li><a>uupAdminCreateUserConfig</a> - The configuration for
--   AdminCreateUser requests.</li>
--   <li><a>uupDeviceConfiguration</a> - Device configuration.</li>
--   <li><a>uupAutoVerifiedAttributes</a> - The attributes that are
--   automatically verified when the Amazon Cognito service makes a request
--   to update user pools.</li>
--   <li><a>uupPolicies</a> - A container with the policies you wish to
--   update in a user pool.</li>
--   <li><a>uupUserPoolId</a> - The user pool ID for the user pool you want
--   to update.</li>
--   </ul>
updateUserPool :: Text -> UpdateUserPool

-- | Represents the request to update the user pool.
--   
--   <i>See:</i> <a>updateUserPool</a> smart constructor.
data UpdateUserPool

-- | The contents of the email verification message.
uupEmailVerificationMessage :: Lens' UpdateUserPool (Maybe Text)

-- | The contents of the SMS authentication message.
uupSmsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text)

-- | The subject of the email verfication message.
uupEmailVerificationSubject :: Lens' UpdateUserPool (Maybe Text)

-- | Email configuration.
uupEmailConfiguration :: Lens' UpdateUserPool (Maybe EmailConfigurationType)

-- | A container with information about the SMS verification message.
uupSmsVerificationMessage :: Lens' UpdateUserPool (Maybe Text)

-- | Can be one of the following values: * <tt>OFF</tt> - MFA tokens are
--   not required and cannot be specified during user registration. *
--   <tt>ON</tt> - MFA tokens are required for all user registrations. You
--   can only specify required when you are initially creating a user pool.
--   * <tt>OPTIONAL</tt> - Users have the option when registering to create
--   an MFA token.
uupMFAConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMFAType)

-- | The AWS Lambda configuration information from the request to update
--   the user pool.
uupLambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType)

-- | SMS configuration.
uupSmsConfiguration :: Lens' UpdateUserPool (Maybe SmsConfigurationType)

-- | The configuration for AdminCreateUser requests.
uupAdminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType)

-- | Device configuration.
uupDeviceConfiguration :: Lens' UpdateUserPool (Maybe DeviceConfigurationType)

-- | The attributes that are automatically verified when the Amazon Cognito
--   service makes a request to update user pools.
uupAutoVerifiedAttributes :: Lens' UpdateUserPool [VerifiedAttributeType]

-- | A container with the policies you wish to update in a user pool.
uupPolicies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType)

-- | The user pool ID for the user pool you want to update.
uupUserPoolId :: Lens' UpdateUserPool Text

-- | Creates a value of <a>UpdateUserPoolResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uuprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateUserPoolResponse :: Int -> UpdateUserPoolResponse

-- | Represents the response from the server when you make a request to
--   update the user pool.
--   
--   <i>See:</i> <a>updateUserPoolResponse</a> smart constructor.
data UpdateUserPoolResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
uuprsResponseStatus :: Lens' UpdateUserPoolResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPoolResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPoolResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPoolResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPoolResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPoolResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateUserPool.UpdateUserPoolResponse


-- | Allows the developer to update the specified user pool client and
--   password policy.
module Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient

-- | Creates a value of <a>UpdateUserPoolClient</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uupcRefreshTokenValidity</a> - The validity of the refresh
--   token.</li>
--   <li><a>uupcExplicitAuthFlows</a> - Explicit authentication flows.</li>
--   <li><a>uupcWriteAttributes</a> - The writeable attributes of the user
--   pool.</li>
--   <li><a>uupcReadAttributes</a> - The read-only attributes of the user
--   pool.</li>
--   <li><a>uupcClientName</a> - The client name from the update user pool
--   client request.</li>
--   <li><a>uupcUserPoolId</a> - The user pool ID for the user pool where
--   you want to update the user pool client.</li>
--   <li><a>uupcClientId</a> - The ID of the client associated with the
--   user pool.</li>
--   </ul>
updateUserPoolClient :: Text -> Text -> UpdateUserPoolClient

-- | Represents the request to update the user pool client.
--   
--   <i>See:</i> <a>updateUserPoolClient</a> smart constructor.
data UpdateUserPoolClient

-- | The validity of the refresh token.
uupcRefreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural)

-- | Explicit authentication flows.
uupcExplicitAuthFlows :: Lens' UpdateUserPoolClient [ExplicitAuthFlowsType]

-- | The writeable attributes of the user pool.
uupcWriteAttributes :: Lens' UpdateUserPoolClient [Text]

-- | The read-only attributes of the user pool.
uupcReadAttributes :: Lens' UpdateUserPoolClient [Text]

-- | The client name from the update user pool client request.
uupcClientName :: Lens' UpdateUserPoolClient (Maybe Text)

-- | The user pool ID for the user pool where you want to update the user
--   pool client.
uupcUserPoolId :: Lens' UpdateUserPoolClient Text

-- | The ID of the client associated with the user pool.
uupcClientId :: Lens' UpdateUserPoolClient Text

-- | Creates a value of <a>UpdateUserPoolClientResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uupcrsUserPoolClient</a> - The user pool client value from the
--   response from the server when an update user pool client request is
--   made.</li>
--   <li><a>uupcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateUserPoolClientResponse :: Int -> UpdateUserPoolClientResponse

-- | Represents the response from the server to the request to update the
--   user pool client.
--   
--   <i>See:</i> <a>updateUserPoolClientResponse</a> smart constructor.
data UpdateUserPoolClientResponse

-- | The user pool client value from the response from the server when an
--   update user pool client request is made.
uupcrsUserPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
uupcrsResponseStatus :: Lens' UpdateUserPoolClientResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClientResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClientResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClientResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClientResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClientResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient.UpdateUserPoolClientResponse


-- | Verifies the specified user attributes in the user pool.
module Network.AWS.CognitoIdentityProvider.VerifyUserAttribute

-- | Creates a value of <a>VerifyUserAttribute</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vuaAccessToken</a> - Represents the access token of the request
--   to verify user attributes.</li>
--   <li><a>vuaAttributeName</a> - The attribute name in the request to
--   verify user attributes.</li>
--   <li><a>vuaCode</a> - The verification code in the request to verify
--   user attributes.</li>
--   </ul>
verifyUserAttribute :: Text -> Text -> VerifyUserAttribute

-- | Represents the request to verify user attributes.
--   
--   <i>See:</i> <a>verifyUserAttribute</a> smart constructor.
data VerifyUserAttribute

-- | Represents the access token of the request to verify user attributes.
vuaAccessToken :: Lens' VerifyUserAttribute (Maybe Text)

-- | The attribute name in the request to verify user attributes.
vuaAttributeName :: Lens' VerifyUserAttribute Text

-- | The verification code in the request to verify user attributes.
vuaCode :: Lens' VerifyUserAttribute Text

-- | Creates a value of <a>VerifyUserAttributeResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vuarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
verifyUserAttributeResponse :: Int -> VerifyUserAttributeResponse

-- | A container representing the response from the server from the request
--   to verify user attributes.
--   
--   <i>See:</i> <a>verifyUserAttributeResponse</a> smart constructor.
data VerifyUserAttributeResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
vuarsResponseStatus :: Lens' VerifyUserAttributeResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttributeResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttributeResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttributeResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttributeResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttributeResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttribute
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.VerifyUserAttribute.VerifyUserAttributeResponse


module Network.AWS.CognitoIdentityProvider.Waiters


-- | Stops the user import job.
module Network.AWS.CognitoIdentityProvider.StopUserImportJob

-- | Creates a value of <a>StopUserImportJob</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sUserPoolId</a> - The user pool ID for the user pool that the
--   users are being imported into.</li>
--   <li><a>sJobId</a> - The job ID for the user import job.</li>
--   </ul>
stopUserImportJob :: Text -> Text -> StopUserImportJob

-- | Represents the request to stop the user import job.
--   
--   <i>See:</i> <a>stopUserImportJob</a> smart constructor.
data StopUserImportJob

-- | The user pool ID for the user pool that the users are being imported
--   into.
sUserPoolId :: Lens' StopUserImportJob Text

-- | The job ID for the user import job.
sJobId :: Lens' StopUserImportJob Text

-- | Creates a value of <a>StopUserImportJobResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srsUserImportJob</a> - The job object that represents the user
--   import job.</li>
--   <li><a>srsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
stopUserImportJobResponse :: Int -> StopUserImportJobResponse

-- | Represents the response from the server to the request to stop the
--   user import job.
--   
--   <i>See:</i> <a>stopUserImportJobResponse</a> smart constructor.
data StopUserImportJobResponse

-- | The job object that represents the user import job.
srsUserImportJob :: Lens' StopUserImportJobResponse (Maybe UserImportJobType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srsResponseStatus :: Lens' StopUserImportJobResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJobResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJobResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJobResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJobResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJobResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.StopUserImportJob.StopUserImportJobResponse


-- | Starts the user import.
module Network.AWS.CognitoIdentityProvider.StartUserImportJob

-- | Creates a value of <a>StartUserImportJob</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>suijUserPoolId</a> - The user pool ID for the user pool that
--   the users are being imported into.</li>
--   <li><a>suijJobId</a> - The job ID for the user import job.</li>
--   </ul>
startUserImportJob :: Text -> Text -> StartUserImportJob

-- | Represents the request to start the user import job.
--   
--   <i>See:</i> <a>startUserImportJob</a> smart constructor.
data StartUserImportJob

-- | The user pool ID for the user pool that the users are being imported
--   into.
suijUserPoolId :: Lens' StartUserImportJob Text

-- | The job ID for the user import job.
suijJobId :: Lens' StartUserImportJob Text

-- | Creates a value of <a>StartUserImportJobResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>suijrsUserImportJob</a> - The job object that represents the
--   user import job.</li>
--   <li><a>suijrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
startUserImportJobResponse :: Int -> StartUserImportJobResponse

-- | Represents the response from the server to the request to start the
--   user import job.
--   
--   <i>See:</i> <a>startUserImportJobResponse</a> smart constructor.
data StartUserImportJobResponse

-- | The job object that represents the user import job.
suijrsUserImportJob :: Lens' StartUserImportJobResponse (Maybe UserImportJobType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
suijrsResponseStatus :: Lens' StartUserImportJobResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJobResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJobResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJobResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJobResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJobResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.StartUserImportJob.StartUserImportJobResponse


-- | Registers the user in the specified user pool and creates a user name,
--   password, and user attributes.
module Network.AWS.CognitoIdentityProvider.SignUp

-- | Creates a value of <a>SignUp</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>suUserAttributes</a> - An array of name-value pairs
--   representing user attributes.</li>
--   <li><a>suSecretHash</a> - A keyed-hash message authentication code
--   (HMAC) calculated using the secret key of a user pool client and
--   username plus the client ID in the message.</li>
--   <li><a>suValidationData</a> - The validation data in the request to
--   register a user.</li>
--   <li><a>suClientId</a> - The ID of the client associated with the user
--   pool.</li>
--   <li><a>suUsername</a> - The user name of the user you wish to
--   register.</li>
--   <li><a>suPassword</a> - The password of the user you wish to
--   register.</li>
--   </ul>
signUp :: Text -> Text -> Text -> SignUp

-- | Represents the request to register a user.
--   
--   <i>See:</i> <a>signUp</a> smart constructor.
data SignUp

-- | An array of name-value pairs representing user attributes.
suUserAttributes :: Lens' SignUp [AttributeType]

-- | A keyed-hash message authentication code (HMAC) calculated using the
--   secret key of a user pool client and username plus the client ID in
--   the message.
suSecretHash :: Lens' SignUp (Maybe Text)

-- | The validation data in the request to register a user.
suValidationData :: Lens' SignUp [AttributeType]

-- | The ID of the client associated with the user pool.
suClientId :: Lens' SignUp Text

-- | The user name of the user you wish to register.
suUsername :: Lens' SignUp Text

-- | The password of the user you wish to register.
suPassword :: Lens' SignUp Text

-- | Creates a value of <a>SignUpResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sursUserConfirmed</a> - A response from the server indicating
--   that a user registration has been confirmed.</li>
--   <li><a>sursCodeDeliveryDetails</a> - The code delivery details
--   returned by the server response to the user registration request.</li>
--   <li><a>sursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
signUpResponse :: Int -> SignUpResponse

-- | The response from the server for a registration request.
--   
--   <i>See:</i> <a>signUpResponse</a> smart constructor.
data SignUpResponse

-- | A response from the server indicating that a user registration has
--   been confirmed.
sursUserConfirmed :: Lens' SignUpResponse (Maybe Bool)

-- | The code delivery details returned by the server response to the user
--   registration request.
sursCodeDeliveryDetails :: Lens' SignUpResponse (Maybe CodeDeliveryDetailsType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sursResponseStatus :: Lens' SignUpResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SignUp.SignUpResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SignUp.SignUpResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SignUp.SignUpResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SignUp.SignUpResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SignUp.SignUpResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.SignUp.SignUp
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SignUp.SignUpResponse


-- | Sets the user settings like multi-factor authentication (MFA). If MFA
--   is to be removed for a particular attribute pass the attribute with
--   code delivery as null. If null list is passed, all MFA options are
--   removed.
module Network.AWS.CognitoIdentityProvider.SetUserSettings

-- | Creates a value of <a>SetUserSettings</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>susAccessToken</a> - The access token for the set user settings
--   request.</li>
--   <li><a>susMFAOptions</a> - Specifies the options for MFA (e.g., email
--   or phone number).</li>
--   </ul>
setUserSettings :: Text -> SetUserSettings

-- | Represents the request to set user settings.
--   
--   <i>See:</i> <a>setUserSettings</a> smart constructor.
data SetUserSettings

-- | The access token for the set user settings request.
susAccessToken :: Lens' SetUserSettings Text

-- | Specifies the options for MFA (e.g., email or phone number).
susMFAOptions :: Lens' SetUserSettings [MFAOptionType]

-- | Creates a value of <a>SetUserSettingsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>susrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setUserSettingsResponse :: Int -> SetUserSettingsResponse

-- | The response from the server for a set user settings request.
--   
--   <i>See:</i> <a>setUserSettingsResponse</a> smart constructor.
data SetUserSettingsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
susrsResponseStatus :: Lens' SetUserSettingsResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettingsResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettingsResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettingsResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettingsResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettingsResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettings
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetUserSettings.SetUserSettingsResponse


-- | Responds to the authentication challenge.
module Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge

-- | Creates a value of <a>RespondToAuthChallenge</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtacChallengeResponses</a> - The responses to the
--   authentication challenge.</li>
--   <li><a>rtacSession</a> - The session.</li>
--   <li><a>rtacClientId</a> - The client ID.</li>
--   <li><a>rtacChallengeName</a> - The name of the challenge.</li>
--   </ul>
respondToAuthChallenge :: Text -> ChallengeNameType -> RespondToAuthChallenge

-- | The request to respond to an authentication challenge.
--   
--   <i>See:</i> <a>respondToAuthChallenge</a> smart constructor.
data RespondToAuthChallenge

-- | The responses to the authentication challenge.
rtacChallengeResponses :: Lens' RespondToAuthChallenge (HashMap Text Text)

-- | The session.
rtacSession :: Lens' RespondToAuthChallenge (Maybe Text)

-- | The client ID.
rtacClientId :: Lens' RespondToAuthChallenge Text

-- | The name of the challenge.
rtacChallengeName :: Lens' RespondToAuthChallenge ChallengeNameType

-- | Creates a value of <a>RespondToAuthChallengeResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtacrsChallengeName</a> - The challenge name.</li>
--   <li><a>rtacrsChallengeParameters</a> - The challenge parameters.</li>
--   <li><a>rtacrsAuthenticationResult</a> - The result returned by the
--   server in response to the request to respond to the authentication
--   challenge.</li>
--   <li><a>rtacrsSession</a> - The session.</li>
--   <li><a>rtacrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
respondToAuthChallengeResponse :: Int -> RespondToAuthChallengeResponse

-- | The response to respond to the authentication challenge.
--   
--   <i>See:</i> <a>respondToAuthChallengeResponse</a> smart constructor.
data RespondToAuthChallengeResponse

-- | The challenge name.
rtacrsChallengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType)

-- | The challenge parameters.
rtacrsChallengeParameters :: Lens' RespondToAuthChallengeResponse (HashMap Text Text)

-- | The result returned by the server in response to the request to
--   respond to the authentication challenge.
rtacrsAuthenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType)

-- | The session.
rtacrsSession :: Lens' RespondToAuthChallengeResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rtacrsResponseStatus :: Lens' RespondToAuthChallengeResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallengeResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallengeResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallengeResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallengeResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallengeResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallenge
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge.RespondToAuthChallengeResponse


-- | Resends the confirmation (for confirmation of registration) to a
--   specific user in the user pool.
module Network.AWS.CognitoIdentityProvider.ResendConfirmationCode

-- | Creates a value of <a>ResendConfirmationCode</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rccSecretHash</a> - A keyed-hash message authentication code
--   (HMAC) calculated using the secret key of a user pool client and
--   username plus the client ID in the message.</li>
--   <li><a>rccClientId</a> - The ID of the client associated with the user
--   pool.</li>
--   <li><a>rccUsername</a> - The user name of the user to whom you wish to
--   resend a confirmation code.</li>
--   </ul>
resendConfirmationCode :: Text -> Text -> ResendConfirmationCode

-- | Represents the request to resend the confirmation code.
--   
--   <i>See:</i> <a>resendConfirmationCode</a> smart constructor.
data ResendConfirmationCode

-- | A keyed-hash message authentication code (HMAC) calculated using the
--   secret key of a user pool client and username plus the client ID in
--   the message.
rccSecretHash :: Lens' ResendConfirmationCode (Maybe Text)

-- | The ID of the client associated with the user pool.
rccClientId :: Lens' ResendConfirmationCode Text

-- | The user name of the user to whom you wish to resend a confirmation
--   code.
rccUsername :: Lens' ResendConfirmationCode Text

-- | Creates a value of <a>ResendConfirmationCodeResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rccrsCodeDeliveryDetails</a> - The code delivery details
--   returned by the server in response to the request to resend the
--   confirmation code.</li>
--   <li><a>rccrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
resendConfirmationCodeResponse :: Int -> ResendConfirmationCodeResponse

-- | The response from the server when the Amazon Cognito Your User Pools
--   service makes the request to resend a confirmation code.
--   
--   <i>See:</i> <a>resendConfirmationCodeResponse</a> smart constructor.
data ResendConfirmationCodeResponse

-- | The code delivery details returned by the server in response to the
--   request to resend the confirmation code.
rccrsCodeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rccrsResponseStatus :: Lens' ResendConfirmationCodeResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCodeResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCodeResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCodeResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCodeResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCodeResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCode
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ResendConfirmationCode.ResendConfirmationCodeResponse


-- | Lists the users in the Amazon Cognito user pool.
module Network.AWS.CognitoIdentityProvider.ListUsers

-- | Creates a value of <a>ListUsers</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>luPaginationToken</a> - An identifier that was returned from
--   the previous call to this operation, which can be used to return the
--   next set of items in the list.</li>
--   <li><a>luAttributesToGet</a> - The attributes to get from the request
--   to list users.</li>
--   <li><a>luLimit</a> - The limit of the request to list users.</li>
--   <li><a>luFilter</a> - The filter for the list users request.</li>
--   <li><a>luUserPoolId</a> - The user pool ID for which you want to list
--   users.</li>
--   </ul>
listUsers :: Text -> ListUsers

-- | Represents the request to list users.
--   
--   <i>See:</i> <a>listUsers</a> smart constructor.
data ListUsers

-- | An identifier that was returned from the previous call to this
--   operation, which can be used to return the next set of items in the
--   list.
luPaginationToken :: Lens' ListUsers (Maybe Text)

-- | The attributes to get from the request to list users.
luAttributesToGet :: Lens' ListUsers [Text]

-- | The limit of the request to list users.
luLimit :: Lens' ListUsers (Maybe Natural)

-- | The filter for the list users request.
luFilter :: Lens' ListUsers (Maybe Text)

-- | The user pool ID for which you want to list users.
luUserPoolId :: Lens' ListUsers Text

-- | Creates a value of <a>ListUsersResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lursPaginationToken</a> - An identifier that was returned from
--   the previous call to this operation, which can be used to return the
--   next set of items in the list.</li>
--   <li><a>lursUsers</a> - The users returned in the request to list
--   users.</li>
--   <li><a>lursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listUsersResponse :: Int -> ListUsersResponse

-- | The response from the request to list users.
--   
--   <i>See:</i> <a>listUsersResponse</a> smart constructor.
data ListUsersResponse

-- | An identifier that was returned from the previous call to this
--   operation, which can be used to return the next set of items in the
--   list.
lursPaginationToken :: Lens' ListUsersResponse (Maybe Text)

-- | The users returned in the request to list users.
lursUsers :: Lens' ListUsersResponse [UserType]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lursResponseStatus :: Lens' ListUsersResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUsers.ListUsersResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUsers.ListUsersResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUsers.ListUsersResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUsers.ListUsersResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUsers.ListUsersResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ListUsers.ListUsers
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUsers.ListUsersResponse


-- | Lists the user pools associated with an AWS account.
module Network.AWS.CognitoIdentityProvider.ListUserPools

-- | Creates a value of <a>ListUserPools</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lupNextToken</a> - An identifier that was returned from the
--   previous call to this operation, which can be used to return the next
--   set of items in the list.</li>
--   <li><a>lupMaxResults</a> - The maximum number of results you want the
--   request to return when listing the user pools.</li>
--   </ul>
listUserPools :: Natural -> ListUserPools

-- | Represents the request to list user pools.
--   
--   <i>See:</i> <a>listUserPools</a> smart constructor.
data ListUserPools

-- | An identifier that was returned from the previous call to this
--   operation, which can be used to return the next set of items in the
--   list.
lupNextToken :: Lens' ListUserPools (Maybe Text)

-- | The maximum number of results you want the request to return when
--   listing the user pools.
lupMaxResults :: Lens' ListUserPools Natural

-- | Creates a value of <a>ListUserPoolsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>luprsUserPools</a> - The user pools from the response to list
--   users.</li>
--   <li><a>luprsNextToken</a> - An identifier that was returned from the
--   previous call to this operation, which can be used to return the next
--   set of items in the list.</li>
--   <li><a>luprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listUserPoolsResponse :: Int -> ListUserPoolsResponse

-- | Represents the response to list user pools.
--   
--   <i>See:</i> <a>listUserPoolsResponse</a> smart constructor.
data ListUserPoolsResponse

-- | The user pools from the response to list users.
luprsUserPools :: Lens' ListUserPoolsResponse [UserPoolDescriptionType]

-- | An identifier that was returned from the previous call to this
--   operation, which can be used to return the next set of items in the
--   list.
luprsNextToken :: Lens' ListUserPoolsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
luprsResponseStatus :: Lens' ListUserPoolsResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPoolsResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPoolsResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPoolsResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPoolsResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPoolsResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPools
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUserPools.ListUserPoolsResponse


-- | Lists the clients that have been created for the specified user pool.
module Network.AWS.CognitoIdentityProvider.ListUserPoolClients

-- | Creates a value of <a>ListUserPoolClients</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lupcNextToken</a> - An identifier that was returned from the
--   previous call to this operation, which can be used to return the next
--   set of items in the list.</li>
--   <li><a>lupcMaxResults</a> - The maximum number of results you want the
--   request to return when listing the user pool clients.</li>
--   <li><a>lupcUserPoolId</a> - The user pool ID for the user pool where
--   you want to list user pool clients.</li>
--   </ul>
listUserPoolClients :: Text -> ListUserPoolClients

-- | Represents the request to list the user pool clients.
--   
--   <i>See:</i> <a>listUserPoolClients</a> smart constructor.
data ListUserPoolClients

-- | An identifier that was returned from the previous call to this
--   operation, which can be used to return the next set of items in the
--   list.
lupcNextToken :: Lens' ListUserPoolClients (Maybe Text)

-- | The maximum number of results you want the request to return when
--   listing the user pool clients.
lupcMaxResults :: Lens' ListUserPoolClients (Maybe Natural)

-- | The user pool ID for the user pool where you want to list user pool
--   clients.
lupcUserPoolId :: Lens' ListUserPoolClients Text

-- | Creates a value of <a>ListUserPoolClientsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lupcrsNextToken</a> - An identifier that was returned from the
--   previous call to this operation, which can be used to return the next
--   set of items in the list.</li>
--   <li><a>lupcrsUserPoolClients</a> - The user pool clients in the
--   response that lists user pool clients.</li>
--   <li><a>lupcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listUserPoolClientsResponse :: Int -> ListUserPoolClientsResponse

-- | Represents the response from the server that lists user pool clients.
--   
--   <i>See:</i> <a>listUserPoolClientsResponse</a> smart constructor.
data ListUserPoolClientsResponse

-- | An identifier that was returned from the previous call to this
--   operation, which can be used to return the next set of items in the
--   list.
lupcrsNextToken :: Lens' ListUserPoolClientsResponse (Maybe Text)

-- | The user pool clients in the response that lists user pool clients.
lupcrsUserPoolClients :: Lens' ListUserPoolClientsResponse [UserPoolClientDescription]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lupcrsResponseStatus :: Lens' ListUserPoolClientsResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClientsResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClientsResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClientsResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClientsResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClientsResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClients
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUserPoolClients.ListUserPoolClientsResponse


-- | Lists the user import jobs.
module Network.AWS.CognitoIdentityProvider.ListUserImportJobs

-- | Creates a value of <a>ListUserImportJobs</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>luijPaginationToken</a> - An identifier that was returned from
--   the previous call to ListUserImportJobs, which can be used to return
--   the next set of import jobs in the list.</li>
--   <li><a>luijUserPoolId</a> - The user pool ID for the user pool that
--   the users are being imported into.</li>
--   <li><a>luijMaxResults</a> - The maximum number of import jobs you want
--   the request to return.</li>
--   </ul>
listUserImportJobs :: Text -> Natural -> ListUserImportJobs

-- | Represents the request to list the user import jobs.
--   
--   <i>See:</i> <a>listUserImportJobs</a> smart constructor.
data ListUserImportJobs

-- | An identifier that was returned from the previous call to
--   ListUserImportJobs, which can be used to return the next set of import
--   jobs in the list.
luijPaginationToken :: Lens' ListUserImportJobs (Maybe Text)

-- | The user pool ID for the user pool that the users are being imported
--   into.
luijUserPoolId :: Lens' ListUserImportJobs Text

-- | The maximum number of import jobs you want the request to return.
luijMaxResults :: Lens' ListUserImportJobs Natural

-- | Creates a value of <a>ListUserImportJobsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>luijrsPaginationToken</a> - An identifier that can be used to
--   return the next set of user import jobs in the list.</li>
--   <li><a>luijrsUserImportJobs</a> - The user import jobs.</li>
--   <li><a>luijrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listUserImportJobsResponse :: Int -> ListUserImportJobsResponse

-- | Represents the response from the server to the request to list the
--   user import jobs.
--   
--   <i>See:</i> <a>listUserImportJobsResponse</a> smart constructor.
data ListUserImportJobsResponse

-- | An identifier that can be used to return the next set of user import
--   jobs in the list.
luijrsPaginationToken :: Lens' ListUserImportJobsResponse (Maybe Text)

-- | The user import jobs.
luijrsUserImportJobs :: Lens' ListUserImportJobsResponse (Maybe (NonEmpty UserImportJobType))

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
luijrsResponseStatus :: Lens' ListUserImportJobsResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobsResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobsResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobsResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobsResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobsResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobs
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListUserImportJobs.ListUserImportJobsResponse


-- | Lists the devices.
module Network.AWS.CognitoIdentityProvider.ListDevices

-- | Creates a value of <a>ListDevices</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ldPaginationToken</a> - The pagination token for the list
--   request.</li>
--   <li><a>ldLimit</a> - The limit of the device request.</li>
--   <li><a>ldAccessToken</a> - The access tokens for the request to list
--   devices.</li>
--   </ul>
listDevices :: Text -> ListDevices

-- | Represents the request to list the devices.
--   
--   <i>See:</i> <a>listDevices</a> smart constructor.
data ListDevices

-- | The pagination token for the list request.
ldPaginationToken :: Lens' ListDevices (Maybe Text)

-- | The limit of the device request.
ldLimit :: Lens' ListDevices (Maybe Natural)

-- | The access tokens for the request to list devices.
ldAccessToken :: Lens' ListDevices Text

-- | Creates a value of <a>ListDevicesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ldrsPaginationToken</a> - The pagination token for the list
--   device response.</li>
--   <li><a>ldrsDevices</a> - The devices returned in the list devices
--   response.</li>
--   <li><a>ldrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listDevicesResponse :: Int -> ListDevicesResponse

-- | Represents the response to list devices.
--   
--   <i>See:</i> <a>listDevicesResponse</a> smart constructor.
data ListDevicesResponse

-- | The pagination token for the list device response.
ldrsPaginationToken :: Lens' ListDevicesResponse (Maybe Text)

-- | The devices returned in the list devices response.
ldrsDevices :: Lens' ListDevicesResponse [DeviceType]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ldrsResponseStatus :: Lens' ListDevicesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListDevices.ListDevicesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListDevices.ListDevicesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListDevices.ListDevicesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListDevices.ListDevicesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListDevices.ListDevicesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ListDevices.ListDevices
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ListDevices.ListDevicesResponse


-- | Initiates the authentication flow.
module Network.AWS.CognitoIdentityProvider.InitiateAuth

-- | Creates a value of <a>InitiateAuth</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iaClientMetadata</a> - The client app's metadata.</li>
--   <li><a>iaAuthParameters</a> - The authentication parameters.</li>
--   <li><a>iaAuthFlow</a> - The authentication flow.</li>
--   <li><a>iaClientId</a> - The client ID.</li>
--   </ul>
initiateAuth :: AuthFlowType -> Text -> InitiateAuth

-- | Initiates the authentication request.
--   
--   <i>See:</i> <a>initiateAuth</a> smart constructor.
data InitiateAuth

-- | The client app's metadata.
iaClientMetadata :: Lens' InitiateAuth (HashMap Text Text)

-- | The authentication parameters.
iaAuthParameters :: Lens' InitiateAuth (HashMap Text Text)

-- | The authentication flow.
iaAuthFlow :: Lens' InitiateAuth AuthFlowType

-- | The client ID.
iaClientId :: Lens' InitiateAuth Text

-- | Creates a value of <a>InitiateAuthResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iarsChallengeName</a> - The name of the challenge.</li>
--   <li><a>iarsChallengeParameters</a> - The challenge parameters.</li>
--   <li><a>iarsAuthenticationResult</a> - The result returned by the
--   server in response to the request to initiate authentication.</li>
--   <li><a>iarsSession</a> - The session.</li>
--   <li><a>iarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
initiateAuthResponse :: Int -> InitiateAuthResponse

-- | Initiates the authentication response.
--   
--   <i>See:</i> <a>initiateAuthResponse</a> smart constructor.
data InitiateAuthResponse

-- | The name of the challenge.
iarsChallengeName :: Lens' InitiateAuthResponse (Maybe ChallengeNameType)

-- | The challenge parameters.
iarsChallengeParameters :: Lens' InitiateAuthResponse (HashMap Text Text)

-- | The result returned by the server in response to the request to
--   initiate authentication.
iarsAuthenticationResult :: Lens' InitiateAuthResponse (Maybe AuthenticationResultType)

-- | The session.
iarsSession :: Lens' InitiateAuthResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
iarsResponseStatus :: Lens' InitiateAuthResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuthResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuthResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuthResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuthResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuthResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuth
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.InitiateAuth.InitiateAuthResponse


-- | Signs out users from all devices.
module Network.AWS.CognitoIdentityProvider.GlobalSignOut

-- | Creates a value of <a>GlobalSignOut</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gsoAccessToken</a> - The access token.</li>
--   </ul>
globalSignOut :: GlobalSignOut

-- | Represents the request to sign out all devices.
--   
--   <i>See:</i> <a>globalSignOut</a> smart constructor.
data GlobalSignOut

-- | The access token.
gsoAccessToken :: Lens' GlobalSignOut (Maybe Text)

-- | Creates a value of <a>GlobalSignOutResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gsorsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
globalSignOutResponse :: Int -> GlobalSignOutResponse

-- | The response to the request to sign out all devices.
--   
--   <i>See:</i> <a>globalSignOutResponse</a> smart constructor.
data GlobalSignOutResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gsorsResponseStatus :: Lens' GlobalSignOutResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOutResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOutResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOutResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOutResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOutResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOut
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GlobalSignOut.GlobalSignOutResponse


-- | Gets the user attribute verification code for the specified attribute
--   name.
module Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode

-- | Creates a value of <a>GetUserAttributeVerificationCode</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>guavcAccessToken</a> - The access token returned by the server
--   response to get the user attribute verification code.</li>
--   <li><a>guavcAttributeName</a> - The attribute name returned by the
--   server response to get the user attribute verification code.</li>
--   </ul>
getUserAttributeVerificationCode :: Text -> GetUserAttributeVerificationCode

-- | Represents the request to get user attribute verification.
--   
--   <i>See:</i> <a>getUserAttributeVerificationCode</a> smart constructor.
data GetUserAttributeVerificationCode

-- | The access token returned by the server response to get the user
--   attribute verification code.
guavcAccessToken :: Lens' GetUserAttributeVerificationCode (Maybe Text)

-- | The attribute name returned by the server response to get the user
--   attribute verification code.
guavcAttributeName :: Lens' GetUserAttributeVerificationCode Text

-- | Creates a value of <a>GetUserAttributeVerificationCodeResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>guavcrsCodeDeliveryDetails</a> - The code delivery details
--   returned by the server in response to the request to get the user
--   attribute verification code.</li>
--   <li><a>guavcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getUserAttributeVerificationCodeResponse :: Int -> GetUserAttributeVerificationCodeResponse

-- | The verification code response returned by the server response to get
--   the user attribute verification code.
--   
--   <i>See:</i> <a>getUserAttributeVerificationCodeResponse</a> smart
--   constructor.
data GetUserAttributeVerificationCodeResponse

-- | The code delivery details returned by the server in response to the
--   request to get the user attribute verification code.
guavcrsCodeDeliveryDetails :: Lens' GetUserAttributeVerificationCodeResponse (Maybe CodeDeliveryDetailsType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
guavcrsResponseStatus :: Lens' GetUserAttributeVerificationCodeResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCodeResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCodeResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCodeResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCodeResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCodeResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCode
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode.GetUserAttributeVerificationCodeResponse


-- | Gets the user attributes and metadata for a user.
module Network.AWS.CognitoIdentityProvider.GetUser

-- | Creates a value of <a>GetUser</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>guAccessToken</a> - The access token returned by the server
--   response to get information about the user.</li>
--   </ul>
getUser :: GetUser

-- | Represents the request to get information about the user.
--   
--   <i>See:</i> <a>getUser</a> smart constructor.
data GetUser

-- | The access token returned by the server response to get information
--   about the user.
guAccessToken :: Lens' GetUser (Maybe Text)

-- | Creates a value of <a>GetUserResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gursMFAOptions</a> - Specifies the options for MFA (e.g., email
--   or phone number).</li>
--   <li><a>gursResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gursUsername</a> - The user name of the user you wish to
--   retrieve from the get user request.</li>
--   <li><a>gursUserAttributes</a> - An array of name-value pairs
--   representing user attributes.</li>
--   </ul>
getUserResponse :: Int -> Text -> GetUserResponse

-- | Represents the response from the server from the request to get
--   information about the user.
--   
--   <i>See:</i> <a>getUserResponse</a> smart constructor.
data GetUserResponse

-- | Specifies the options for MFA (e.g., email or phone number).
gursMFAOptions :: Lens' GetUserResponse [MFAOptionType]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gursResponseStatus :: Lens' GetUserResponse Int

-- | The user name of the user you wish to retrieve from the get user
--   request.
gursUsername :: Lens' GetUserResponse Text

-- | An array of name-value pairs representing user attributes.
gursUserAttributes :: Lens' GetUserResponse [AttributeType]
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetUser.GetUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetUser.GetUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetUser.GetUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetUser.GetUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetUser.GetUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GetUser.GetUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetUser.GetUserResponse


-- | Gets the device.
module Network.AWS.CognitoIdentityProvider.GetDevice

-- | Creates a value of <a>GetDevice</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gdAccessToken</a> - The access token.</li>
--   <li><a>gdDeviceKey</a> - The device key.</li>
--   </ul>
getDevice :: Text -> GetDevice

-- | Represents the request to get the device.
--   
--   <i>See:</i> <a>getDevice</a> smart constructor.
data GetDevice

-- | The access token.
gdAccessToken :: Lens' GetDevice (Maybe Text)

-- | The device key.
gdDeviceKey :: Lens' GetDevice Text

-- | Creates a value of <a>GetDeviceResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gdrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gdrsDevice</a> - The device.</li>
--   </ul>
getDeviceResponse :: Int -> DeviceType -> GetDeviceResponse

-- | Gets the device response.
--   
--   <i>See:</i> <a>getDeviceResponse</a> smart constructor.
data GetDeviceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gdrsResponseStatus :: Lens' GetDeviceResponse Int

-- | The device.
gdrsDevice :: Lens' GetDeviceResponse DeviceType
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetDevice.GetDeviceResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetDevice.GetDeviceResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetDevice.GetDeviceResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetDevice.GetDeviceResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetDevice.GetDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GetDevice.GetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetDevice.GetDeviceResponse


-- | Gets the header information for the .csv file to be used as input for
--   the user import job.
module Network.AWS.CognitoIdentityProvider.GetCSVHeader

-- | Creates a value of <a>GetCSVHeader</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gchUserPoolId</a> - The user pool ID for the user pool that the
--   users are to be imported into.</li>
--   </ul>
getCSVHeader :: Text -> GetCSVHeader

-- | Represents the request to get the header information for the .csv file
--   for the user import job.
--   
--   <i>See:</i> <a>getCSVHeader</a> smart constructor.
data GetCSVHeader

-- | The user pool ID for the user pool that the users are to be imported
--   into.
gchUserPoolId :: Lens' GetCSVHeader Text

-- | Creates a value of <a>GetCSVHeaderResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gchrsUserPoolId</a> - The user pool ID for the user pool that
--   the users are to be imported into.</li>
--   <li><a>gchrsCSVHeader</a> - The header information for the .csv file
--   for the user import job.</li>
--   <li><a>gchrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getCSVHeaderResponse :: Int -> GetCSVHeaderResponse

-- | Represents the response from the server to the request to get the
--   header information for the .csv file for the user import job.
--   
--   <i>See:</i> <a>getCSVHeaderResponse</a> smart constructor.
data GetCSVHeaderResponse

-- | The user pool ID for the user pool that the users are to be imported
--   into.
gchrsUserPoolId :: Lens' GetCSVHeaderResponse (Maybe Text)

-- | The header information for the .csv file for the user import job.
gchrsCSVHeader :: Lens' GetCSVHeaderResponse [Text]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gchrsResponseStatus :: Lens' GetCSVHeaderResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeaderResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeaderResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeaderResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeaderResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeaderResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeader
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetCSVHeader.GetCSVHeaderResponse


-- | Retrieves the password for the specified client ID or username.
module Network.AWS.CognitoIdentityProvider.ForgotPassword

-- | Creates a value of <a>ForgotPassword</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fpSecretHash</a> - A keyed-hash message authentication code
--   (HMAC) calculated using the secret key of a user pool client and
--   username plus the client ID in the message.</li>
--   <li><a>fpClientId</a> - The ID of the client associated with the user
--   pool.</li>
--   <li><a>fpUsername</a> - The user name of the user for whom you want to
--   enter a code to reset a forgotten password.</li>
--   </ul>
forgotPassword :: Text -> Text -> ForgotPassword

-- | Represents the request to reset a user's password.
--   
--   <i>See:</i> <a>forgotPassword</a> smart constructor.
data ForgotPassword

-- | A keyed-hash message authentication code (HMAC) calculated using the
--   secret key of a user pool client and username plus the client ID in
--   the message.
fpSecretHash :: Lens' ForgotPassword (Maybe Text)

-- | The ID of the client associated with the user pool.
fpClientId :: Lens' ForgotPassword Text

-- | The user name of the user for whom you want to enter a code to reset a
--   forgotten password.
fpUsername :: Lens' ForgotPassword Text

-- | Creates a value of <a>ForgotPasswordResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fprsCodeDeliveryDetails</a> - The code delivery details
--   returned by the server in response to the request to reset a
--   password.</li>
--   <li><a>fprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
forgotPasswordResponse :: Int -> ForgotPasswordResponse

-- | Respresents the response from the server regarding the request to
--   reset a password.
--   
--   <i>See:</i> <a>forgotPasswordResponse</a> smart constructor.
data ForgotPasswordResponse

-- | The code delivery details returned by the server in response to the
--   request to reset a password.
fprsCodeDeliveryDetails :: Lens' ForgotPasswordResponse (Maybe CodeDeliveryDetailsType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
fprsResponseStatus :: Lens' ForgotPasswordResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPasswordResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPasswordResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPasswordResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPasswordResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPasswordResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ForgotPassword.ForgotPasswordResponse


-- | Forgets the specified device.
module Network.AWS.CognitoIdentityProvider.ForgetDevice

-- | Creates a value of <a>ForgetDevice</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fdAccessToken</a> - The access token for the forgotten device
--   request.</li>
--   <li><a>fdDeviceKey</a> - The device key.</li>
--   </ul>
forgetDevice :: Text -> ForgetDevice

-- | Represents the request to forget the device.
--   
--   <i>See:</i> <a>forgetDevice</a> smart constructor.
data ForgetDevice

-- | The access token for the forgotten device request.
fdAccessToken :: Lens' ForgetDevice (Maybe Text)

-- | The device key.
fdDeviceKey :: Lens' ForgetDevice Text

-- | Creates a value of <a>ForgetDeviceResponse</a> with the minimum fields
--   required to make a request.
forgetDeviceResponse :: ForgetDeviceResponse

-- | <i>See:</i> <a>forgetDeviceResponse</a> smart constructor.
data ForgetDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDeviceResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDeviceResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDeviceResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDeviceResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ForgetDevice.ForgetDeviceResponse


-- | Client method for returning the configuration information and metadata
--   of the specified user pool client.
module Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient

-- | Creates a value of <a>DescribeUserPoolClient</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desUserPoolId</a> - The user pool ID for the user pool you want
--   to describe.</li>
--   <li><a>desClientId</a> - The ID of the client associated with the user
--   pool.</li>
--   </ul>
describeUserPoolClient :: Text -> Text -> DescribeUserPoolClient

-- | Represents the request to describe a user pool client.
--   
--   <i>See:</i> <a>describeUserPoolClient</a> smart constructor.
data DescribeUserPoolClient

-- | The user pool ID for the user pool you want to describe.
desUserPoolId :: Lens' DescribeUserPoolClient Text

-- | The ID of the client associated with the user pool.
desClientId :: Lens' DescribeUserPoolClient Text

-- | Creates a value of <a>DescribeUserPoolClientResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dupcrsUserPoolClient</a> - The user pool client from a server
--   response to describe the user pool client.</li>
--   <li><a>dupcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeUserPoolClientResponse :: Int -> DescribeUserPoolClientResponse

-- | Represents the response from the server from a request to describe the
--   user pool client.
--   
--   <i>See:</i> <a>describeUserPoolClientResponse</a> smart constructor.
data DescribeUserPoolClientResponse

-- | The user pool client from a server response to describe the user pool
--   client.
dupcrsUserPoolClient :: Lens' DescribeUserPoolClientResponse (Maybe UserPoolClientType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dupcrsResponseStatus :: Lens' DescribeUserPoolClientResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClientResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClientResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClientResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClientResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClientResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient.DescribeUserPoolClientResponse


-- | Returns the configuration information and metadata of the specified
--   user pool.
module Network.AWS.CognitoIdentityProvider.DescribeUserPool

-- | Creates a value of <a>DescribeUserPool</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dUserPoolId</a> - The user pool ID for the user pool you want
--   to describe.</li>
--   </ul>
describeUserPool :: Text -> DescribeUserPool

-- | Represents the request to describe the user pool.
--   
--   <i>See:</i> <a>describeUserPool</a> smart constructor.
data DescribeUserPool

-- | The user pool ID for the user pool you want to describe.
dUserPoolId :: Lens' DescribeUserPool Text

-- | Creates a value of <a>DescribeUserPoolResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>duprsUserPool</a> - The container of metadata returned by the
--   server to describe the pool.</li>
--   <li><a>duprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeUserPoolResponse :: Int -> DescribeUserPoolResponse

-- | Represents the response to describe the user pool.
--   
--   <i>See:</i> <a>describeUserPoolResponse</a> smart constructor.
data DescribeUserPoolResponse

-- | The container of metadata returned by the server to describe the pool.
duprsUserPool :: Lens' DescribeUserPoolResponse (Maybe UserPoolType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
duprsResponseStatus :: Lens' DescribeUserPoolResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPoolResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPoolResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPoolResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPoolResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPoolResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeUserPool.DescribeUserPoolResponse


-- | Describes the user import job.
module Network.AWS.CognitoIdentityProvider.DescribeUserImportJob

-- | Creates a value of <a>DescribeUserImportJob</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>duijUserPoolId</a> - The user pool ID for the user pool that
--   the users are being imported into.</li>
--   <li><a>duijJobId</a> - The job ID for the user import job.</li>
--   </ul>
describeUserImportJob :: Text -> Text -> DescribeUserImportJob

-- | Represents the request to describe the user import job.
--   
--   <i>See:</i> <a>describeUserImportJob</a> smart constructor.
data DescribeUserImportJob

-- | The user pool ID for the user pool that the users are being imported
--   into.
duijUserPoolId :: Lens' DescribeUserImportJob Text

-- | The job ID for the user import job.
duijJobId :: Lens' DescribeUserImportJob Text

-- | Creates a value of <a>DescribeUserImportJobResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>duijrsUserImportJob</a> - The job object that represents the
--   user import job.</li>
--   <li><a>duijrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeUserImportJobResponse :: Int -> DescribeUserImportJobResponse

-- | Represents the response from the server to the request to describe the
--   user import job.
--   
--   <i>See:</i> <a>describeUserImportJobResponse</a> smart constructor.
data DescribeUserImportJobResponse

-- | The job object that represents the user import job.
duijrsUserImportJob :: Lens' DescribeUserImportJobResponse (Maybe UserImportJobType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
duijrsResponseStatus :: Lens' DescribeUserImportJobResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJobResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJobResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJobResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJobResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJobResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeUserImportJob.DescribeUserImportJobResponse


-- | Allows the developer to delete the user pool client.
module Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient

-- | Creates a value of <a>DeleteUserPoolClient</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dupcUserPoolId</a> - The user pool ID for the user pool where
--   you want to delete the client.</li>
--   <li><a>dupcClientId</a> - The ID of the client associated with the
--   user pool.</li>
--   </ul>
deleteUserPoolClient :: Text -> Text -> DeleteUserPoolClient

-- | Represents the request to delete a user pool client.
--   
--   <i>See:</i> <a>deleteUserPoolClient</a> smart constructor.
data DeleteUserPoolClient

-- | The user pool ID for the user pool where you want to delete the
--   client.
dupcUserPoolId :: Lens' DeleteUserPoolClient Text

-- | The ID of the client associated with the user pool.
dupcClientId :: Lens' DeleteUserPoolClient Text

-- | Creates a value of <a>DeleteUserPoolClientResponse</a> with the
--   minimum fields required to make a request.
deleteUserPoolClientResponse :: DeleteUserPoolClientResponse

-- | <i>See:</i> <a>deleteUserPoolClientResponse</a> smart constructor.
data DeleteUserPoolClientResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClientResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClientResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClientResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClientResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClientResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient.DeleteUserPoolClientResponse


-- | Deletes the specified Amazon Cognito user pool.
module Network.AWS.CognitoIdentityProvider.DeleteUserPool

-- | Creates a value of <a>DeleteUserPool</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dupUserPoolId</a> - The user pool ID for the user pool you want
--   to delete.</li>
--   </ul>
deleteUserPool :: Text -> DeleteUserPool

-- | Represents the request to delete a user pool.
--   
--   <i>See:</i> <a>deleteUserPool</a> smart constructor.
data DeleteUserPool

-- | The user pool ID for the user pool you want to delete.
dupUserPoolId :: Lens' DeleteUserPool Text

-- | Creates a value of <a>DeleteUserPoolResponse</a> with the minimum
--   fields required to make a request.
deleteUserPoolResponse :: DeleteUserPoolResponse

-- | <i>See:</i> <a>deleteUserPoolResponse</a> smart constructor.
data DeleteUserPoolResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPoolResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPoolResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPoolResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPoolResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPoolResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUserPool.DeleteUserPoolResponse


-- | Deletes the attributes for a user.
module Network.AWS.CognitoIdentityProvider.DeleteUserAttributes

-- | Creates a value of <a>DeleteUserAttributes</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>duaAccessToken</a> - The access token used in the request to
--   delete user attributes.</li>
--   <li><a>duaUserAttributeNames</a> - An array of strings representing
--   the user attribute names you wish to delete.</li>
--   </ul>
deleteUserAttributes :: DeleteUserAttributes

-- | Represents the request to delete user attributes.
--   
--   <i>See:</i> <a>deleteUserAttributes</a> smart constructor.
data DeleteUserAttributes

-- | The access token used in the request to delete user attributes.
duaAccessToken :: Lens' DeleteUserAttributes (Maybe Text)

-- | An array of strings representing the user attribute names you wish to
--   delete.
duaUserAttributeNames :: Lens' DeleteUserAttributes [Text]

-- | Creates a value of <a>DeleteUserAttributesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>duarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteUserAttributesResponse :: Int -> DeleteUserAttributesResponse

-- | Represents the response from the server to delete user attributes.
--   
--   <i>See:</i> <a>deleteUserAttributesResponse</a> smart constructor.
data DeleteUserAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
duarsResponseStatus :: Lens' DeleteUserAttributesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUserAttributes.DeleteUserAttributesResponse


-- | Allows a user to delete one's self.
module Network.AWS.CognitoIdentityProvider.DeleteUser

-- | Creates a value of <a>DeleteUser</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>duAccessToken</a> - The access token from a request to delete a
--   user.</li>
--   </ul>
deleteUser :: DeleteUser

-- | Represents the request to delete a user.
--   
--   <i>See:</i> <a>deleteUser</a> smart constructor.
data DeleteUser

-- | The access token from a request to delete a user.
duAccessToken :: Lens' DeleteUser (Maybe Text)

-- | Creates a value of <a>DeleteUserResponse</a> with the minimum fields
--   required to make a request.
deleteUserResponse :: DeleteUserResponse

-- | <i>See:</i> <a>deleteUserResponse</a> smart constructor.
data DeleteUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DeleteUser.DeleteUserResponse


-- | Creates the user pool client.
module Network.AWS.CognitoIdentityProvider.CreateUserPoolClient

-- | Creates a value of <a>CreateUserPoolClient</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cupcRefreshTokenValidity</a> - Refreshes the token
--   validity.</li>
--   <li><a>cupcExplicitAuthFlows</a> - The explicit authentication
--   flows.</li>
--   <li><a>cupcGenerateSecret</a> - Boolean to specify whether you want to
--   generate a secret for the user pool client being created.</li>
--   <li><a>cupcWriteAttributes</a> - The write attributes.</li>
--   <li><a>cupcReadAttributes</a> - The read attributes.</li>
--   <li><a>cupcUserPoolId</a> - The user pool ID for the user pool where
--   you want to create a user pool client.</li>
--   <li><a>cupcClientName</a> - The client name for the user pool client
--   you would like to create.</li>
--   </ul>
createUserPoolClient :: Text -> Text -> CreateUserPoolClient

-- | Represents the request to create a user pool client.
--   
--   <i>See:</i> <a>createUserPoolClient</a> smart constructor.
data CreateUserPoolClient

-- | Refreshes the token validity.
cupcRefreshTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural)

-- | The explicit authentication flows.
cupcExplicitAuthFlows :: Lens' CreateUserPoolClient [ExplicitAuthFlowsType]

-- | Boolean to specify whether you want to generate a secret for the user
--   pool client being created.
cupcGenerateSecret :: Lens' CreateUserPoolClient (Maybe Bool)

-- | The write attributes.
cupcWriteAttributes :: Lens' CreateUserPoolClient [Text]

-- | The read attributes.
cupcReadAttributes :: Lens' CreateUserPoolClient [Text]

-- | The user pool ID for the user pool where you want to create a user
--   pool client.
cupcUserPoolId :: Lens' CreateUserPoolClient Text

-- | The client name for the user pool client you would like to create.
cupcClientName :: Lens' CreateUserPoolClient Text

-- | Creates a value of <a>CreateUserPoolClientResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cupcrsUserPoolClient</a> - The user pool client that was just
--   created.</li>
--   <li><a>cupcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createUserPoolClientResponse :: Int -> CreateUserPoolClientResponse

-- | Represents the response from the server to create a user pool client.
--   
--   <i>See:</i> <a>createUserPoolClientResponse</a> smart constructor.
data CreateUserPoolClientResponse

-- | The user pool client that was just created.
cupcrsUserPoolClient :: Lens' CreateUserPoolClientResponse (Maybe UserPoolClientType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cupcrsResponseStatus :: Lens' CreateUserPoolClientResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClientResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClientResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClientResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClientResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClientResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClient
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.CreateUserPoolClient.CreateUserPoolClientResponse


-- | Creates a new Amazon Cognito user pool and sets the password policy
--   for the pool.
module Network.AWS.CognitoIdentityProvider.CreateUserPool

-- | Creates a value of <a>CreateUserPool</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cupEmailVerificationMessage</a> - A string representing the
--   email verification message.</li>
--   <li><a>cupSmsAuthenticationMessage</a> - A string representing the SMS
--   authentication message.</li>
--   <li><a>cupEmailVerificationSubject</a> - A string representing the
--   email verification subject.</li>
--   <li><a>cupAliasAttributes</a> - Attributes supported as an alias for
--   this user pool. Possible values: <b>phone_number</b> , <b>email</b> ,
--   or <b>preferred_username</b> .</li>
--   <li><a>cupSchema</a> - An array of schema attributes for the new user
--   pool. These attributes can be standard or custom attributes.</li>
--   <li><a>cupEmailConfiguration</a> - The email configuration.</li>
--   <li><a>cupSmsVerificationMessage</a> - A string representing the SMS
--   verification message.</li>
--   <li><a>cupMFAConfiguration</a> - Specifies MFA configuration
--   details.</li>
--   <li><a>cupLambdaConfig</a> - The Lambda trigger configuration
--   information for the new user pool.</li>
--   <li><a>cupSmsConfiguration</a> - The SMS configuration.</li>
--   <li><a>cupAdminCreateUserConfig</a> - The configuration for
--   AdminCreateUser requests.</li>
--   <li><a>cupDeviceConfiguration</a> - The device configuration.</li>
--   <li><a>cupAutoVerifiedAttributes</a> - The attributes to be
--   auto-verified. Possible values: <b>email</b> , <b>phone_number</b>
--   .</li>
--   <li><a>cupPolicies</a> - The policies associated with the new user
--   pool.</li>
--   <li><a>cupPoolName</a> - A string used to name the user pool.</li>
--   </ul>
createUserPool :: Text -> CreateUserPool

-- | Represents the request to create a user pool.
--   
--   <i>See:</i> <a>createUserPool</a> smart constructor.
data CreateUserPool

-- | A string representing the email verification message.
cupEmailVerificationMessage :: Lens' CreateUserPool (Maybe Text)

-- | A string representing the SMS authentication message.
cupSmsAuthenticationMessage :: Lens' CreateUserPool (Maybe Text)

-- | A string representing the email verification subject.
cupEmailVerificationSubject :: Lens' CreateUserPool (Maybe Text)

-- | Attributes supported as an alias for this user pool. Possible values:
--   <b>phone_number</b> , <b>email</b> , or <b>preferred_username</b> .
cupAliasAttributes :: Lens' CreateUserPool [AliasAttributeType]

-- | An array of schema attributes for the new user pool. These attributes
--   can be standard or custom attributes.
cupSchema :: Lens' CreateUserPool (Maybe (NonEmpty SchemaAttributeType))

-- | The email configuration.
cupEmailConfiguration :: Lens' CreateUserPool (Maybe EmailConfigurationType)

-- | A string representing the SMS verification message.
cupSmsVerificationMessage :: Lens' CreateUserPool (Maybe Text)

-- | Specifies MFA configuration details.
cupMFAConfiguration :: Lens' CreateUserPool (Maybe UserPoolMFAType)

-- | The Lambda trigger configuration information for the new user pool.
cupLambdaConfig :: Lens' CreateUserPool (Maybe LambdaConfigType)

-- | The SMS configuration.
cupSmsConfiguration :: Lens' CreateUserPool (Maybe SmsConfigurationType)

-- | The configuration for AdminCreateUser requests.
cupAdminCreateUserConfig :: Lens' CreateUserPool (Maybe AdminCreateUserConfigType)

-- | The device configuration.
cupDeviceConfiguration :: Lens' CreateUserPool (Maybe DeviceConfigurationType)

-- | The attributes to be auto-verified. Possible values: <b>email</b> ,
--   <b>phone_number</b> .
cupAutoVerifiedAttributes :: Lens' CreateUserPool [VerifiedAttributeType]

-- | The policies associated with the new user pool.
cupPolicies :: Lens' CreateUserPool (Maybe UserPoolPolicyType)

-- | A string used to name the user pool.
cupPoolName :: Lens' CreateUserPool Text

-- | Creates a value of <a>CreateUserPoolResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cuprsUserPool</a> - A container for the user pool details.</li>
--   <li><a>cuprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createUserPoolResponse :: Int -> CreateUserPoolResponse

-- | Represents the response from the server for the request to create a
--   user pool.
--   
--   <i>See:</i> <a>createUserPoolResponse</a> smart constructor.
data CreateUserPoolResponse

-- | A container for the user pool details.
cuprsUserPool :: Lens' CreateUserPoolResponse (Maybe UserPoolType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cuprsResponseStatus :: Lens' CreateUserPoolResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPoolResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPoolResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPoolResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPoolResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPoolResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPool
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.CreateUserPool.CreateUserPoolResponse


-- | Creates the user import job.
module Network.AWS.CognitoIdentityProvider.CreateUserImportJob

-- | Creates a value of <a>CreateUserImportJob</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cuijJobName</a> - The job name for the user import job.</li>
--   <li><a>cuijUserPoolId</a> - The user pool ID for the user pool that
--   the users are being imported into.</li>
--   <li><a>cuijCloudWatchLogsRoleARN</a> - The role ARN for the Amazon
--   CloudWatch Logging role for the user import job.</li>
--   </ul>
createUserImportJob :: Text -> Text -> Text -> CreateUserImportJob

-- | Represents the request to create the user import job.
--   
--   <i>See:</i> <a>createUserImportJob</a> smart constructor.
data CreateUserImportJob

-- | The job name for the user import job.
cuijJobName :: Lens' CreateUserImportJob Text

-- | The user pool ID for the user pool that the users are being imported
--   into.
cuijUserPoolId :: Lens' CreateUserImportJob Text

-- | The role ARN for the Amazon CloudWatch Logging role for the user
--   import job.
cuijCloudWatchLogsRoleARN :: Lens' CreateUserImportJob Text

-- | Creates a value of <a>CreateUserImportJobResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cuijrsUserImportJob</a> - The job object that represents the
--   user import job.</li>
--   <li><a>cuijrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createUserImportJobResponse :: Int -> CreateUserImportJobResponse

-- | Represents the response from the server to the request to create the
--   user import job.
--   
--   <i>See:</i> <a>createUserImportJobResponse</a> smart constructor.
data CreateUserImportJobResponse

-- | The job object that represents the user import job.
cuijrsUserImportJob :: Lens' CreateUserImportJobResponse (Maybe UserImportJobType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cuijrsResponseStatus :: Lens' CreateUserImportJobResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJobResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJobResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJobResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJobResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJobResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJob
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.CreateUserImportJob.CreateUserImportJobResponse


-- | Confirms registration of a user and handles the existing alias from a
--   previous user.
module Network.AWS.CognitoIdentityProvider.ConfirmSignUp

-- | Creates a value of <a>ConfirmSignUp</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csuForceAliasCreation</a> - Boolean to be specified to force
--   user confirmation irrespective of existing alias. By default set to
--   False. If this parameter is set to True and the phone number/email
--   used for sign up confirmation already exists as an alias with a
--   different user, the API call will migrate the alias from the previous
--   user to the newly created user being confirmed. If set to False, the
--   API will throw an <b>AliasExistsException</b> error.</li>
--   <li><a>csuSecretHash</a> - A keyed-hash message authentication code
--   (HMAC) calculated using the secret key of a user pool client and
--   username plus the client ID in the message.</li>
--   <li><a>csuClientId</a> - The ID of the client associated with the user
--   pool.</li>
--   <li><a>csuUsername</a> - The user name of the user whose registration
--   you wish to confirm.</li>
--   <li><a>csuConfirmationCode</a> - The confirmation code sent by a
--   user's request to confirm registration.</li>
--   </ul>
confirmSignUp :: Text -> Text -> Text -> ConfirmSignUp

-- | Represents the request to confirm registration of a user.
--   
--   <i>See:</i> <a>confirmSignUp</a> smart constructor.
data ConfirmSignUp

-- | Boolean to be specified to force user confirmation irrespective of
--   existing alias. By default set to False. If this parameter is set to
--   True and the phone number/email used for sign up confirmation already
--   exists as an alias with a different user, the API call will migrate
--   the alias from the previous user to the newly created user being
--   confirmed. If set to False, the API will throw an
--   <b>AliasExistsException</b> error.
csuForceAliasCreation :: Lens' ConfirmSignUp (Maybe Bool)

-- | A keyed-hash message authentication code (HMAC) calculated using the
--   secret key of a user pool client and username plus the client ID in
--   the message.
csuSecretHash :: Lens' ConfirmSignUp (Maybe Text)

-- | The ID of the client associated with the user pool.
csuClientId :: Lens' ConfirmSignUp Text

-- | The user name of the user whose registration you wish to confirm.
csuUsername :: Lens' ConfirmSignUp Text

-- | The confirmation code sent by a user's request to confirm
--   registration.
csuConfirmationCode :: Lens' ConfirmSignUp Text

-- | Creates a value of <a>ConfirmSignUpResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
confirmSignUpResponse :: Int -> ConfirmSignUpResponse

-- | Represents the response from the server for the registration
--   confirmation.
--   
--   <i>See:</i> <a>confirmSignUpResponse</a> smart constructor.
data ConfirmSignUpResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
csursResponseStatus :: Lens' ConfirmSignUpResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUpResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUpResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUpResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUpResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUpResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUp
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ConfirmSignUp.ConfirmSignUpResponse


-- | Allows a user to enter a code provided when they reset their password
--   to update their password.
module Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

-- | Creates a value of <a>ConfirmForgotPassword</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfpSecretHash</a> - A keyed-hash message authentication code
--   (HMAC) calculated using the secret key of a user pool client and
--   username plus the client ID in the message.</li>
--   <li><a>cfpClientId</a> - The ID of the client associated with the user
--   pool.</li>
--   <li><a>cfpUsername</a> - The user name of the user for whom you want
--   to enter a code to retrieve a forgotten password.</li>
--   <li><a>cfpConfirmationCode</a> - The confirmation code sent by a
--   user's request to retrieve a forgotten password.</li>
--   <li><a>cfpPassword</a> - The password sent by sent by a user's request
--   to retrieve a forgotten password.</li>
--   </ul>
confirmForgotPassword :: Text -> Text -> Text -> Text -> ConfirmForgotPassword

-- | The request representing the confirmation for a password reset.
--   
--   <i>See:</i> <a>confirmForgotPassword</a> smart constructor.
data ConfirmForgotPassword

-- | A keyed-hash message authentication code (HMAC) calculated using the
--   secret key of a user pool client and username plus the client ID in
--   the message.
cfpSecretHash :: Lens' ConfirmForgotPassword (Maybe Text)

-- | The ID of the client associated with the user pool.
cfpClientId :: Lens' ConfirmForgotPassword Text

-- | The user name of the user for whom you want to enter a code to
--   retrieve a forgotten password.
cfpUsername :: Lens' ConfirmForgotPassword Text

-- | The confirmation code sent by a user's request to retrieve a forgotten
--   password.
cfpConfirmationCode :: Lens' ConfirmForgotPassword Text

-- | The password sent by sent by a user's request to retrieve a forgotten
--   password.
cfpPassword :: Lens' ConfirmForgotPassword Text

-- | Creates a value of <a>ConfirmForgotPasswordResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
confirmForgotPasswordResponse :: Int -> ConfirmForgotPasswordResponse

-- | The response from the server that results from a user's request to
--   retrieve a forgotten password.
--   
--   <i>See:</i> <a>confirmForgotPasswordResponse</a> smart constructor.
data ConfirmForgotPasswordResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cfprsResponseStatus :: Lens' ConfirmForgotPasswordResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPasswordResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPasswordResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPasswordResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPasswordResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPasswordResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword.ConfirmForgotPasswordResponse


-- | Confirms tracking of the device. This API call is the call that beings
--   device tracking.
module Network.AWS.CognitoIdentityProvider.ConfirmDevice

-- | Creates a value of <a>ConfirmDevice</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cdDeviceSecretVerifierConfig</a> - The configuration of the
--   device secret verifier.</li>
--   <li><a>cdDeviceName</a> - The device name.</li>
--   <li><a>cdAccessToken</a> - The access token.</li>
--   <li><a>cdDeviceKey</a> - The device key.</li>
--   </ul>
confirmDevice :: Text -> Text -> ConfirmDevice

-- | Confirms the device request.
--   
--   <i>See:</i> <a>confirmDevice</a> smart constructor.
data ConfirmDevice

-- | The configuration of the device secret verifier.
cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType)

-- | The device name.
cdDeviceName :: Lens' ConfirmDevice (Maybe Text)

-- | The access token.
cdAccessToken :: Lens' ConfirmDevice Text

-- | The device key.
cdDeviceKey :: Lens' ConfirmDevice Text

-- | Creates a value of <a>ConfirmDeviceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cdrsUserConfirmationNecessary</a> - Indicates whether the user
--   confirmation is necessary to confirm the device response.</li>
--   <li><a>cdrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
confirmDeviceResponse :: Int -> ConfirmDeviceResponse

-- | Confirms the device response.
--   
--   <i>See:</i> <a>confirmDeviceResponse</a> smart constructor.
data ConfirmDeviceResponse

-- | Indicates whether the user confirmation is necessary to confirm the
--   device response.
cdrsUserConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDeviceResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDeviceResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDeviceResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDeviceResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ConfirmDevice.ConfirmDeviceResponse


-- | Changes the password for a specified user in a user pool.
module Network.AWS.CognitoIdentityProvider.ChangePassword

-- | Creates a value of <a>ChangePassword</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cpAccessToken</a> - The access token in the change password
--   request.</li>
--   <li><a>cpPreviousPassword</a> - The old password in the change
--   password request.</li>
--   <li><a>cpProposedPassword</a> - The new password in the change
--   password request.</li>
--   </ul>
changePassword :: Text -> Text -> ChangePassword

-- | Represents the request to change a user password.
--   
--   <i>See:</i> <a>changePassword</a> smart constructor.
data ChangePassword

-- | The access token in the change password request.
cpAccessToken :: Lens' ChangePassword (Maybe Text)

-- | The old password in the change password request.
cpPreviousPassword :: Lens' ChangePassword Text

-- | The new password in the change password request.
cpProposedPassword :: Lens' ChangePassword Text

-- | Creates a value of <a>ChangePasswordResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
changePasswordResponse :: Int -> ChangePasswordResponse

-- | The response from the server to the change password request.
--   
--   <i>See:</i> <a>changePasswordResponse</a> smart constructor.
data ChangePasswordResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cprsResponseStatus :: Lens' ChangePasswordResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePasswordResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePasswordResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePasswordResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePasswordResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePasswordResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.ChangePassword.ChangePasswordResponse


-- | Signs out users from all devices, as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut

-- | Creates a value of <a>AdminUserGlobalSignOut</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>augsoUserPoolId</a> - The user pool ID.</li>
--   <li><a>augsoUsername</a> - The user name.</li>
--   </ul>
adminUserGlobalSignOut :: Text -> Text -> AdminUserGlobalSignOut

-- | The request to sign out of all devices, as an administrator.
--   
--   <i>See:</i> <a>adminUserGlobalSignOut</a> smart constructor.
data AdminUserGlobalSignOut

-- | The user pool ID.
augsoUserPoolId :: Lens' AdminUserGlobalSignOut Text

-- | The user name.
augsoUsername :: Lens' AdminUserGlobalSignOut Text

-- | Creates a value of <a>AdminUserGlobalSignOutResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>augsorsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminUserGlobalSignOutResponse :: Int -> AdminUserGlobalSignOutResponse

-- | The global sign-out response, as an administrator.
--   
--   <i>See:</i> <a>adminUserGlobalSignOutResponse</a> smart constructor.
data AdminUserGlobalSignOutResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
augsorsResponseStatus :: Lens' AdminUserGlobalSignOutResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOutResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOutResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOutResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOutResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOutResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOut
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut.AdminUserGlobalSignOutResponse


-- | Updates the specified user's attributes, including developer
--   attributes, as an administrator. Works on any user.
module Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes

-- | Creates a value of <a>AdminUpdateUserAttributes</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auuaUserPoolId</a> - The user pool ID for the user pool where
--   you want to update user attributes.</li>
--   <li><a>auuaUsername</a> - The user name of the user for whom you want
--   to update user attributes.</li>
--   <li><a>auuaUserAttributes</a> - An array of name-value pairs
--   representing user attributes.</li>
--   </ul>
adminUpdateUserAttributes :: Text -> Text -> AdminUpdateUserAttributes

-- | Represents the request to update the user's attributes as an
--   administrator.
--   
--   <i>See:</i> <a>adminUpdateUserAttributes</a> smart constructor.
data AdminUpdateUserAttributes

-- | The user pool ID for the user pool where you want to update user
--   attributes.
auuaUserPoolId :: Lens' AdminUpdateUserAttributes Text

-- | The user name of the user for whom you want to update user attributes.
auuaUsername :: Lens' AdminUpdateUserAttributes Text

-- | An array of name-value pairs representing user attributes.
auuaUserAttributes :: Lens' AdminUpdateUserAttributes [AttributeType]

-- | Creates a value of <a>AdminUpdateUserAttributesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auuarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminUpdateUserAttributesResponse :: Int -> AdminUpdateUserAttributesResponse

-- | Represents the response from the server for the request to update user
--   attributes as an administrator.
--   
--   <i>See:</i> <a>adminUpdateUserAttributesResponse</a> smart
--   constructor.
data AdminUpdateUserAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
auuarsResponseStatus :: Lens' AdminUpdateUserAttributesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes.AdminUpdateUserAttributesResponse


-- | Updates the device status as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus

-- | Creates a value of <a>AdminUpdateDeviceStatus</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>audsDeviceRememberedStatus</a> - The status indicating whether
--   a device has been remembered or not.</li>
--   <li><a>audsUserPoolId</a> - The user pool ID&gt;</li>
--   <li><a>audsUsername</a> - The user name.</li>
--   <li><a>audsDeviceKey</a> - The device key.</li>
--   </ul>
adminUpdateDeviceStatus :: Text -> Text -> Text -> AdminUpdateDeviceStatus

-- | The request to update the device status, as an administrator.
--   
--   <i>See:</i> <a>adminUpdateDeviceStatus</a> smart constructor.
data AdminUpdateDeviceStatus

-- | The status indicating whether a device has been remembered or not.
audsDeviceRememberedStatus :: Lens' AdminUpdateDeviceStatus (Maybe DeviceRememberedStatusType)

-- | The user pool ID&gt;
audsUserPoolId :: Lens' AdminUpdateDeviceStatus Text

-- | The user name.
audsUsername :: Lens' AdminUpdateDeviceStatus Text

-- | The device key.
audsDeviceKey :: Lens' AdminUpdateDeviceStatus Text

-- | Creates a value of <a>AdminUpdateDeviceStatusResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>audsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminUpdateDeviceStatusResponse :: Int -> AdminUpdateDeviceStatusResponse

-- | The status response from the request to update the device, as an
--   administrator.
--   
--   <i>See:</i> <a>adminUpdateDeviceStatusResponse</a> smart constructor.
data AdminUpdateDeviceStatusResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
audsrsResponseStatus :: Lens' AdminUpdateDeviceStatusResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatusResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatusResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatusResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatusResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatusResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatus
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus.AdminUpdateDeviceStatusResponse


-- | Sets all the user settings for a specified user name. Works on any
--   user.
module Network.AWS.CognitoIdentityProvider.AdminSetUserSettings

-- | Creates a value of <a>AdminSetUserSettings</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asusUserPoolId</a> - The user pool ID for the user pool where
--   you want to set the user's settings, such as MFA options.</li>
--   <li><a>asusUsername</a> - The user name of the user for whom you wish
--   to set user settings.</li>
--   <li><a>asusMFAOptions</a> - Specifies the options for MFA (e.g., email
--   or phone number).</li>
--   </ul>
adminSetUserSettings :: Text -> Text -> AdminSetUserSettings

-- | Represents the request to set user settings as an administrator.
--   
--   <i>See:</i> <a>adminSetUserSettings</a> smart constructor.
data AdminSetUserSettings

-- | The user pool ID for the user pool where you want to set the user's
--   settings, such as MFA options.
asusUserPoolId :: Lens' AdminSetUserSettings Text

-- | The user name of the user for whom you wish to set user settings.
asusUsername :: Lens' AdminSetUserSettings Text

-- | Specifies the options for MFA (e.g., email or phone number).
asusMFAOptions :: Lens' AdminSetUserSettings [MFAOptionType]

-- | Creates a value of <a>AdminSetUserSettingsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asusrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminSetUserSettingsResponse :: Int -> AdminSetUserSettingsResponse

-- | Represents the response from the server to set user settings as an
--   administrator.
--   
--   <i>See:</i> <a>adminSetUserSettingsResponse</a> smart constructor.
data AdminSetUserSettingsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
asusrsResponseStatus :: Lens' AdminSetUserSettingsResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettingsResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettingsResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettingsResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettingsResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettingsResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettings
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminSetUserSettings.AdminSetUserSettingsResponse


-- | Responds to an authentication challenge, as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge

-- | Creates a value of <a>AdminRespondToAuthChallenge</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>artacChallengeResponses</a> - The challenge response.</li>
--   <li><a>artacSession</a> - The session.</li>
--   <li><a>artacUserPoolId</a> - The ID of the Amazon Cognito user
--   pool.</li>
--   <li><a>artacClientId</a> - The client ID.</li>
--   <li><a>artacChallengeName</a> - The name of the challenge.</li>
--   </ul>
adminRespondToAuthChallenge :: Text -> Text -> ChallengeNameType -> AdminRespondToAuthChallenge

-- | The request to respond to the authentication challenge, as an
--   administrator.
--   
--   <i>See:</i> <a>adminRespondToAuthChallenge</a> smart constructor.
data AdminRespondToAuthChallenge

-- | The challenge response.
artacChallengeResponses :: Lens' AdminRespondToAuthChallenge (HashMap Text Text)

-- | The session.
artacSession :: Lens' AdminRespondToAuthChallenge (Maybe Text)

-- | The ID of the Amazon Cognito user pool.
artacUserPoolId :: Lens' AdminRespondToAuthChallenge Text

-- | The client ID.
artacClientId :: Lens' AdminRespondToAuthChallenge Text

-- | The name of the challenge.
artacChallengeName :: Lens' AdminRespondToAuthChallenge ChallengeNameType

-- | Creates a value of <a>AdminRespondToAuthChallengeResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>artacrsChallengeName</a> - The name of the challenge.</li>
--   <li><a>artacrsChallengeParameters</a> - The challenge parameters.</li>
--   <li><a>artacrsAuthenticationResult</a> - The result returned by the
--   server in response to the authentication request.</li>
--   <li><a>artacrsSession</a> - The session.</li>
--   <li><a>artacrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminRespondToAuthChallengeResponse :: Int -> AdminRespondToAuthChallengeResponse

-- | Responds to the authentication challenge, as an administrator.
--   
--   <i>See:</i> <a>adminRespondToAuthChallengeResponse</a> smart
--   constructor.
data AdminRespondToAuthChallengeResponse

-- | The name of the challenge.
artacrsChallengeName :: Lens' AdminRespondToAuthChallengeResponse (Maybe ChallengeNameType)

-- | The challenge parameters.
artacrsChallengeParameters :: Lens' AdminRespondToAuthChallengeResponse (HashMap Text Text)

-- | The result returned by the server in response to the authentication
--   request.
artacrsAuthenticationResult :: Lens' AdminRespondToAuthChallengeResponse (Maybe AuthenticationResultType)

-- | The session.
artacrsSession :: Lens' AdminRespondToAuthChallengeResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
artacrsResponseStatus :: Lens' AdminRespondToAuthChallengeResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallengeResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallengeResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallengeResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallengeResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallengeResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallenge
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge.AdminRespondToAuthChallengeResponse


-- | Resets the specified user's password in a user pool as an
--   administrator. Works on any user.
--   
--   When a developer calls this API, the current password is invalidated,
--   so it must be changed. If a user tries to sign in after the API is
--   called, the app will get a PasswordResetRequiredException exception
--   back and should direct the user down the flow to reset the password,
--   which is the same as the forgot password flow. In addition, if the
--   user pool has phone verification selected and a verified phone number
--   exists for the user, or if email verification is selected and a
--   verified email exists for the user, calling this API will also result
--   in sending a message to the end user with the code to change their
--   password.
module Network.AWS.CognitoIdentityProvider.AdminResetUserPassword

-- | Creates a value of <a>AdminResetUserPassword</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>arupUserPoolId</a> - The user pool ID for the user pool where
--   you want to reset the user's password.</li>
--   <li><a>arupUsername</a> - The user name of the user whose password you
--   wish to reset.</li>
--   </ul>
adminResetUserPassword :: Text -> Text -> AdminResetUserPassword

-- | Represents the request to reset a user's password as an administrator.
--   
--   <i>See:</i> <a>adminResetUserPassword</a> smart constructor.
data AdminResetUserPassword

-- | The user pool ID for the user pool where you want to reset the user's
--   password.
arupUserPoolId :: Lens' AdminResetUserPassword Text

-- | The user name of the user whose password you wish to reset.
arupUsername :: Lens' AdminResetUserPassword Text

-- | Creates a value of <a>AdminResetUserPasswordResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aruprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminResetUserPasswordResponse :: Int -> AdminResetUserPasswordResponse

-- | Represents the response from the server to reset a user password as an
--   administrator.
--   
--   <i>See:</i> <a>adminResetUserPasswordResponse</a> smart constructor.
data AdminResetUserPasswordResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
aruprsResponseStatus :: Lens' AdminResetUserPasswordResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPasswordResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPasswordResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPasswordResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPasswordResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPasswordResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPassword
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminResetUserPassword.AdminResetUserPasswordResponse


-- | Lists devices, as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminListDevices

-- | Creates a value of <a>AdminListDevices</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aldPaginationToken</a> - The pagination token.</li>
--   <li><a>aldLimit</a> - The limit of the devices request.</li>
--   <li><a>aldUserPoolId</a> - The user pool ID.</li>
--   <li><a>aldUsername</a> - The user name.</li>
--   </ul>
adminListDevices :: Text -> Text -> AdminListDevices

-- | Represents the request to list devices, as an administrator.
--   
--   <i>See:</i> <a>adminListDevices</a> smart constructor.
data AdminListDevices

-- | The pagination token.
aldPaginationToken :: Lens' AdminListDevices (Maybe Text)

-- | The limit of the devices request.
aldLimit :: Lens' AdminListDevices (Maybe Natural)

-- | The user pool ID.
aldUserPoolId :: Lens' AdminListDevices Text

-- | The user name.
aldUsername :: Lens' AdminListDevices Text

-- | Creates a value of <a>AdminListDevicesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aldrsPaginationToken</a> - The pagination token.</li>
--   <li><a>aldrsDevices</a> - The devices in the list of devices
--   response.</li>
--   <li><a>aldrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminListDevicesResponse :: Int -> AdminListDevicesResponse

-- | Lists the device's response, as an administrator.
--   
--   <i>See:</i> <a>adminListDevicesResponse</a> smart constructor.
data AdminListDevicesResponse

-- | The pagination token.
aldrsPaginationToken :: Lens' AdminListDevicesResponse (Maybe Text)

-- | The devices in the list of devices response.
aldrsDevices :: Lens' AdminListDevicesResponse [DeviceType]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
aldrsResponseStatus :: Lens' AdminListDevicesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevicesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevicesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevicesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevicesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevicesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevices
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminListDevices.AdminListDevicesResponse


-- | Initiates the authentication flow, as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminInitiateAuth

-- | Creates a value of <a>AdminInitiateAuth</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aiaClientMetadata</a> - The client app metadata.</li>
--   <li><a>aiaAuthParameters</a> - The authentication parameters.</li>
--   <li><a>aiaUserPoolId</a> - The ID of the Amazon Cognito user
--   pool.</li>
--   <li><a>aiaClientId</a> - The client app ID.</li>
--   <li><a>aiaAuthFlow</a> - The authentication flow.</li>
--   </ul>
adminInitiateAuth :: Text -> Text -> AuthFlowType -> AdminInitiateAuth

-- | Initiates the authorization request, as an administrator.
--   
--   <i>See:</i> <a>adminInitiateAuth</a> smart constructor.
data AdminInitiateAuth

-- | The client app metadata.
aiaClientMetadata :: Lens' AdminInitiateAuth (HashMap Text Text)

-- | The authentication parameters.
aiaAuthParameters :: Lens' AdminInitiateAuth (HashMap Text Text)

-- | The ID of the Amazon Cognito user pool.
aiaUserPoolId :: Lens' AdminInitiateAuth Text

-- | The client app ID.
aiaClientId :: Lens' AdminInitiateAuth Text

-- | The authentication flow.
aiaAuthFlow :: Lens' AdminInitiateAuth AuthFlowType

-- | Creates a value of <a>AdminInitiateAuthResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aiarsChallengeName</a> - The name of the challenge.</li>
--   <li><a>aiarsChallengeParameters</a> - The challenge parameters.</li>
--   <li><a>aiarsAuthenticationResult</a> - The result of the
--   authentication response.</li>
--   <li><a>aiarsSession</a> - The session.</li>
--   <li><a>aiarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminInitiateAuthResponse :: Int -> AdminInitiateAuthResponse

-- | Initiates the authentication response, as an administrator.
--   
--   <i>See:</i> <a>adminInitiateAuthResponse</a> smart constructor.
data AdminInitiateAuthResponse

-- | The name of the challenge.
aiarsChallengeName :: Lens' AdminInitiateAuthResponse (Maybe ChallengeNameType)

-- | The challenge parameters.
aiarsChallengeParameters :: Lens' AdminInitiateAuthResponse (HashMap Text Text)

-- | The result of the authentication response.
aiarsAuthenticationResult :: Lens' AdminInitiateAuthResponse (Maybe AuthenticationResultType)

-- | The session.
aiarsSession :: Lens' AdminInitiateAuthResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
aiarsResponseStatus :: Lens' AdminInitiateAuthResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuthResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuthResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuthResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuthResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuthResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuth
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminInitiateAuth.AdminInitiateAuthResponse


-- | Gets the specified user by user name in a user pool as an
--   administrator. Works on any user.
module Network.AWS.CognitoIdentityProvider.AdminGetUser

-- | Creates a value of <a>AdminGetUser</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aguUserPoolId</a> - The user pool ID for the user pool where
--   you want to get information about the user.</li>
--   <li><a>aguUsername</a> - The user name of the user you wish to
--   retrieve.</li>
--   </ul>
adminGetUser :: Text -> Text -> AdminGetUser

-- | Represents the request to get the specified user as an administrator.
--   
--   <i>See:</i> <a>adminGetUser</a> smart constructor.
data AdminGetUser

-- | The user pool ID for the user pool where you want to get information
--   about the user.
aguUserPoolId :: Lens' AdminGetUser Text

-- | The user name of the user you wish to retrieve.
aguUsername :: Lens' AdminGetUser Text

-- | Creates a value of <a>AdminGetUserResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>agursEnabled</a> - Indicates that the status is enabled.</li>
--   <li><a>agursUserStatus</a> - The user status. Can be one of the
--   following: * UNCONFIRMED - User has been created but not confirmed. *
--   CONFIRMED - User has been confirmed. * ARCHIVED - User is no longer
--   active. * COMPROMISED - User is disabled due to a potential security
--   threat. * UNKNOWN - User status is not known.</li>
--   <li><a>agursUserAttributes</a> - An array of name-value pairs
--   representing user attributes.</li>
--   <li><a>agursUserCreateDate</a> - The date the user was created.</li>
--   <li><a>agursMFAOptions</a> - Specifies the options for MFA (e.g.,
--   email or phone number).</li>
--   <li><a>agursUserLastModifiedDate</a> - The date the user was last
--   modified.</li>
--   <li><a>agursResponseStatus</a> - -- | The response status code.</li>
--   <li><a>agursUsername</a> - The user name of the user about whom you
--   are receiving information.</li>
--   </ul>
adminGetUserResponse :: Int -> Text -> AdminGetUserResponse

-- | Represents the response from the server from the request to get the
--   specified user as an administrator.
--   
--   <i>See:</i> <a>adminGetUserResponse</a> smart constructor.
data AdminGetUserResponse

-- | Indicates that the status is enabled.
agursEnabled :: Lens' AdminGetUserResponse (Maybe Bool)

-- | The user status. Can be one of the following: * UNCONFIRMED - User has
--   been created but not confirmed. * CONFIRMED - User has been confirmed.
--   * ARCHIVED - User is no longer active. * COMPROMISED - User is
--   disabled due to a potential security threat. * UNKNOWN - User status
--   is not known.
agursUserStatus :: Lens' AdminGetUserResponse (Maybe UserStatusType)

-- | An array of name-value pairs representing user attributes.
agursUserAttributes :: Lens' AdminGetUserResponse [AttributeType]

-- | The date the user was created.
agursUserCreateDate :: Lens' AdminGetUserResponse (Maybe UTCTime)

-- | Specifies the options for MFA (e.g., email or phone number).
agursMFAOptions :: Lens' AdminGetUserResponse [MFAOptionType]

-- | The date the user was last modified.
agursUserLastModifiedDate :: Lens' AdminGetUserResponse (Maybe UTCTime)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
agursResponseStatus :: Lens' AdminGetUserResponse Int

-- | The user name of the user about whom you are receiving information.
agursUsername :: Lens' AdminGetUserResponse Text
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminGetUser.AdminGetUserResponse


-- | Gets the device, as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminGetDevice

-- | Creates a value of <a>AdminGetDevice</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>agdDeviceKey</a> - The device key.</li>
--   <li><a>agdUserPoolId</a> - The user pool ID.</li>
--   <li><a>agdUsername</a> - The user name.</li>
--   </ul>
adminGetDevice :: Text -> Text -> Text -> AdminGetDevice

-- | Represents the request to get the device, as an administrator.
--   
--   <i>See:</i> <a>adminGetDevice</a> smart constructor.
data AdminGetDevice

-- | The device key.
agdDeviceKey :: Lens' AdminGetDevice Text

-- | The user pool ID.
agdUserPoolId :: Lens' AdminGetDevice Text

-- | The user name.
agdUsername :: Lens' AdminGetDevice Text

-- | Creates a value of <a>AdminGetDeviceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>agdrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>agdrsDevice</a> - The device.</li>
--   </ul>
adminGetDeviceResponse :: Int -> DeviceType -> AdminGetDeviceResponse

-- | Gets the device response, as an administrator.
--   
--   <i>See:</i> <a>adminGetDeviceResponse</a> smart constructor.
data AdminGetDeviceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
agdrsResponseStatus :: Lens' AdminGetDeviceResponse Int

-- | The device.
agdrsDevice :: Lens' AdminGetDeviceResponse DeviceType
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDeviceResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDeviceResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDeviceResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDeviceResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminGetDevice.AdminGetDeviceResponse


-- | Forgets the device, as an administrator.
module Network.AWS.CognitoIdentityProvider.AdminForgetDevice

-- | Creates a value of <a>AdminForgetDevice</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afdUserPoolId</a> - The user pool ID.</li>
--   <li><a>afdUsername</a> - The user name.</li>
--   <li><a>afdDeviceKey</a> - The device key.</li>
--   </ul>
adminForgetDevice :: Text -> Text -> Text -> AdminForgetDevice

-- | Sends the forgot device request, as an administrator.
--   
--   <i>See:</i> <a>adminForgetDevice</a> smart constructor.
data AdminForgetDevice

-- | The user pool ID.
afdUserPoolId :: Lens' AdminForgetDevice Text

-- | The user name.
afdUsername :: Lens' AdminForgetDevice Text

-- | The device key.
afdDeviceKey :: Lens' AdminForgetDevice Text

-- | Creates a value of <a>AdminForgetDeviceResponse</a> with the minimum
--   fields required to make a request.
adminForgetDeviceResponse :: AdminForgetDeviceResponse

-- | <i>See:</i> <a>adminForgetDeviceResponse</a> smart constructor.
data AdminForgetDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDeviceResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDeviceResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDeviceResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDeviceResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDeviceResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDevice
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminForgetDevice.AdminForgetDeviceResponse


-- | Enables the specified user as an administrator. Works on any user.
module Network.AWS.CognitoIdentityProvider.AdminEnableUser

-- | Creates a value of <a>AdminEnableUser</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aeuUserPoolId</a> - The user pool ID for the user pool where
--   you want to enable the user.</li>
--   <li><a>aeuUsername</a> - The user name of the user you wish to
--   ebable.</li>
--   </ul>
adminEnableUser :: Text -> Text -> AdminEnableUser

-- | Represents the request that enables the user as an administrator.
--   
--   <i>See:</i> <a>adminEnableUser</a> smart constructor.
data AdminEnableUser

-- | The user pool ID for the user pool where you want to enable the user.
aeuUserPoolId :: Lens' AdminEnableUser Text

-- | The user name of the user you wish to ebable.
aeuUsername :: Lens' AdminEnableUser Text

-- | Creates a value of <a>AdminEnableUserResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aeursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminEnableUserResponse :: Int -> AdminEnableUserResponse

-- | Represents the response from the server for the request to enable a
--   user as an administrator.
--   
--   <i>See:</i> <a>adminEnableUserResponse</a> smart constructor.
data AdminEnableUserResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
aeursResponseStatus :: Lens' AdminEnableUserResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminEnableUser.AdminEnableUserResponse


-- | Disables the specified user as an administrator. Works on any user.
module Network.AWS.CognitoIdentityProvider.AdminDisableUser

-- | Creates a value of <a>AdminDisableUser</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aduUserPoolId</a> - The user pool ID for the user pool where
--   you want to disable the user.</li>
--   <li><a>aduUsername</a> - The user name of the user you wish to
--   disable.</li>
--   </ul>
adminDisableUser :: Text -> Text -> AdminDisableUser

-- | Represents the request to disable any user as an administrator.
--   
--   <i>See:</i> <a>adminDisableUser</a> smart constructor.
data AdminDisableUser

-- | The user pool ID for the user pool where you want to disable the user.
aduUserPoolId :: Lens' AdminDisableUser Text

-- | The user name of the user you wish to disable.
aduUsername :: Lens' AdminDisableUser Text

-- | Creates a value of <a>AdminDisableUserResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>adursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminDisableUserResponse :: Int -> AdminDisableUserResponse

-- | Represents the response received from the server to disable the user
--   as an administrator.
--   
--   <i>See:</i> <a>adminDisableUserResponse</a> smart constructor.
data AdminDisableUserResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
adursResponseStatus :: Lens' AdminDisableUserResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminDisableUser.AdminDisableUserResponse


-- | Deletes the user attributes in a user pool as an administrator. Works
--   on any user.
module Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

-- | Creates a value of <a>AdminDeleteUserAttributes</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aduaUserPoolId</a> - The user pool ID for the user pool where
--   you want to delete user attributes.</li>
--   <li><a>aduaUsername</a> - The user name of the user from which you
--   would like to delete attributes.</li>
--   <li><a>aduaUserAttributeNames</a> - An array of strings representing
--   the user attribute names you wish to delete.</li>
--   </ul>
adminDeleteUserAttributes :: Text -> Text -> AdminDeleteUserAttributes

-- | Represents the request to delete user attributes as an administrator.
--   
--   <i>See:</i> <a>adminDeleteUserAttributes</a> smart constructor.
data AdminDeleteUserAttributes

-- | The user pool ID for the user pool where you want to delete user
--   attributes.
aduaUserPoolId :: Lens' AdminDeleteUserAttributes Text

-- | The user name of the user from which you would like to delete
--   attributes.
aduaUsername :: Lens' AdminDeleteUserAttributes Text

-- | An array of strings representing the user attribute names you wish to
--   delete.
aduaUserAttributeNames :: Lens' AdminDeleteUserAttributes [Text]

-- | Creates a value of <a>AdminDeleteUserAttributesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aduarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminDeleteUserAttributesResponse :: Int -> AdminDeleteUserAttributesResponse

-- | Represents the response received from the server for a request to
--   delete user attributes.
--   
--   <i>See:</i> <a>adminDeleteUserAttributesResponse</a> smart
--   constructor.
data AdminDeleteUserAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
aduarsResponseStatus :: Lens' AdminDeleteUserAttributesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes.AdminDeleteUserAttributesResponse


-- | Deletes a user as an administrator. Works on any user.
module Network.AWS.CognitoIdentityProvider.AdminDeleteUser

-- | Creates a value of <a>AdminDeleteUser</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aUserPoolId</a> - The user pool ID for the user pool where you
--   want to delete the user.</li>
--   <li><a>aUsername</a> - The user name of the user you wish to
--   delete.</li>
--   </ul>
adminDeleteUser :: Text -> Text -> AdminDeleteUser

-- | Represents the request to delete a user as an administrator.
--   
--   <i>See:</i> <a>adminDeleteUser</a> smart constructor.
data AdminDeleteUser

-- | The user pool ID for the user pool where you want to delete the user.
aUserPoolId :: Lens' AdminDeleteUser Text

-- | The user name of the user you wish to delete.
aUsername :: Lens' AdminDeleteUser Text

-- | Creates a value of <a>AdminDeleteUserResponse</a> with the minimum
--   fields required to make a request.
adminDeleteUserResponse :: AdminDeleteUserResponse

-- | <i>See:</i> <a>adminDeleteUserResponse</a> smart constructor.
data AdminDeleteUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminDeleteUser.AdminDeleteUserResponse


-- | Creates a new user in the specified user pool and sends a welcome
--   message via email or phone (SMS). This message is based on a template
--   that you configured in your call to CreateUserPool or UpdateUserPool.
--   This template includes your custom sign-up instructions and
--   placeholders for user name and temporary password.
--   
--   Requires developer credentials.
module Network.AWS.CognitoIdentityProvider.AdminCreateUser

-- | Creates a value of <a>AdminCreateUser</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acuTemporaryPassword</a> - The user's temporary password. This
--   password must conform to the password policy that you specified when
--   you created the user pool. The temporary password is valid only once.
--   To complete the Admin Create User flow, the user must enter the
--   temporary password in the sign-in page along with a new password to be
--   used in all future sign-ins. This parameter is not required. If you do
--   not specify a value, Amazon Cognito generates one for you. The
--   temporary password can only be used until the user account expiration
--   limit that you specified when you created the user pool. To reset the
--   account after that time limit, you must call AdminCreateUser again,
--   specifying <a>RESEND</a> for the MessageAction parameter.</li>
--   <li><a>acuForceAliasCreation</a> - This parameter is only used if the
--   phone_number_verified or email_verified attribute is set to True.
--   Otherwise, it is ignored. If this parameter is set to True and the
--   phone number or email address specified in the UserAttributes
--   parameter already exists as an alias with a different user, the API
--   call will migrate the alias from the previous user to the newly
--   created user. The previous user will no longer be able to log in using
--   that alias. If this parameter is set to False, the API throws an
--   AliasExistsException error if the alias already exists. The default
--   value is False.</li>
--   <li><a>acuDesiredDeliveryMediums</a> - Specify <a>EMAIL</a> if email
--   will be used to send the welcome message. Specify <a>SMS</a> if the
--   phone number will be used. The default value is <a>SMS</a>. More than
--   one value can be specified.</li>
--   <li><a>acuMessageAction</a> - Set to <a>RESEND</a> to resend the
--   invitation message to a user that already exists and reset the
--   expiration limit on the user's account. Set to <a>SUPPRESS</a> to
--   suppress sending the message. Only one value can be specified.</li>
--   <li><a>acuUserAttributes</a> - An array of name-value pairs that
--   contain user attributes and attribute values to be set for the user to
--   be created. You can create a user without specifying any attributes
--   other than Username. However, any attributes that you specify as
--   required (in CreateUserPool or in the <b>Attributes</b> tab of the
--   console) must be supplied either by you (in your call to
--   AdminCreateUser) or by the user (when he or she signs up in response
--   to your welcome message). To send a message inviting the user to sign
--   up, you must specify the user's email address or phone number. This
--   can be done in your call to AdminCreateUser or in the <b>Users</b> tab
--   of the Amazon Cognito console for managing your user pools. In your
--   call to AdminCreateUser, you can set the email_verified attribute to
--   True, and you can set the phone_number_verified attribute to True.
--   (You cannot do this by calling other operations such as
--   AdminUpdateUserAttributes.) * <b>email</b> : The email address of the
--   user to whom the message that contains the code and username will be
--   sent. Required if the email_verified attribute is set to True, or if
--   <a>EMAIL</a> is specified in the DesiredDeliveryMediums parameter. *
--   <b>phone_number</b> : The phone number of the user to whom the message
--   that contains the code and username will be sent. Required if the
--   phone_number_verified attribute is set to True, or if <a>SMS</a> is
--   specified in the DesiredDeliveryMediums parameter.</li>
--   <li><a>acuValidationData</a> - The user's validation data. This is an
--   array of name-value pairs that contain user attributes and attribute
--   values that you can use for custom validation, such as restricting the
--   types of user accounts that can be registered. For example, you might
--   choose to allow or disallow user sign-up based on the user's domain.
--   To configure custom validation, you must create a Pre Sign-up Lambda
--   trigger for the user pool as described in the Amazon Cognito Developer
--   Guide. The Lambda trigger receives the validation data and uses it in
--   the validation process. The user's validation data is not
--   persisted.</li>
--   <li><a>acuUserPoolId</a> - The user pool ID for the user pool where
--   the user will be created.</li>
--   <li><a>acuUsername</a> - The username for the user. Must be unique
--   within the user pool. Must be a UTF-8 string between 1 and 128
--   characters. After the user is created, the username cannot be
--   changed.</li>
--   </ul>
adminCreateUser :: Text -> Text -> AdminCreateUser

-- | Represents the request to create a user in the specified user pool.
--   
--   <i>See:</i> <a>adminCreateUser</a> smart constructor.
data AdminCreateUser

-- | The user's temporary password. This password must conform to the
--   password policy that you specified when you created the user pool. The
--   temporary password is valid only once. To complete the Admin Create
--   User flow, the user must enter the temporary password in the sign-in
--   page along with a new password to be used in all future sign-ins. This
--   parameter is not required. If you do not specify a value, Amazon
--   Cognito generates one for you. The temporary password can only be used
--   until the user account expiration limit that you specified when you
--   created the user pool. To reset the account after that time limit, you
--   must call AdminCreateUser again, specifying <a>RESEND</a> for the
--   MessageAction parameter.
acuTemporaryPassword :: Lens' AdminCreateUser (Maybe Text)

-- | This parameter is only used if the phone_number_verified or
--   email_verified attribute is set to True. Otherwise, it is ignored. If
--   this parameter is set to True and the phone number or email address
--   specified in the UserAttributes parameter already exists as an alias
--   with a different user, the API call will migrate the alias from the
--   previous user to the newly created user. The previous user will no
--   longer be able to log in using that alias. If this parameter is set to
--   False, the API throws an AliasExistsException error if the alias
--   already exists. The default value is False.
acuForceAliasCreation :: Lens' AdminCreateUser (Maybe Bool)

-- | Specify <a>EMAIL</a> if email will be used to send the welcome
--   message. Specify <a>SMS</a> if the phone number will be used. The
--   default value is <a>SMS</a>. More than one value can be specified.
acuDesiredDeliveryMediums :: Lens' AdminCreateUser [DeliveryMediumType]

-- | Set to <a>RESEND</a> to resend the invitation message to a user that
--   already exists and reset the expiration limit on the user's account.
--   Set to <a>SUPPRESS</a> to suppress sending the message. Only one value
--   can be specified.
acuMessageAction :: Lens' AdminCreateUser (Maybe MessageActionType)

-- | An array of name-value pairs that contain user attributes and
--   attribute values to be set for the user to be created. You can create
--   a user without specifying any attributes other than Username. However,
--   any attributes that you specify as required (in CreateUserPool or in
--   the <b>Attributes</b> tab of the console) must be supplied either by
--   you (in your call to AdminCreateUser) or by the user (when he or she
--   signs up in response to your welcome message). To send a message
--   inviting the user to sign up, you must specify the user's email
--   address or phone number. This can be done in your call to
--   AdminCreateUser or in the <b>Users</b> tab of the Amazon Cognito
--   console for managing your user pools. In your call to AdminCreateUser,
--   you can set the email_verified attribute to True, and you can set the
--   phone_number_verified attribute to True. (You cannot do this by
--   calling other operations such as AdminUpdateUserAttributes.) *
--   <b>email</b> : The email address of the user to whom the message that
--   contains the code and username will be sent. Required if the
--   email_verified attribute is set to True, or if <a>EMAIL</a> is
--   specified in the DesiredDeliveryMediums parameter. *
--   <b>phone_number</b> : The phone number of the user to whom the message
--   that contains the code and username will be sent. Required if the
--   phone_number_verified attribute is set to True, or if <a>SMS</a> is
--   specified in the DesiredDeliveryMediums parameter.
acuUserAttributes :: Lens' AdminCreateUser [AttributeType]

-- | The user's validation data. This is an array of name-value pairs that
--   contain user attributes and attribute values that you can use for
--   custom validation, such as restricting the types of user accounts that
--   can be registered. For example, you might choose to allow or disallow
--   user sign-up based on the user's domain. To configure custom
--   validation, you must create a Pre Sign-up Lambda trigger for the user
--   pool as described in the Amazon Cognito Developer Guide. The Lambda
--   trigger receives the validation data and uses it in the validation
--   process. The user's validation data is not persisted.
acuValidationData :: Lens' AdminCreateUser [AttributeType]

-- | The user pool ID for the user pool where the user will be created.
acuUserPoolId :: Lens' AdminCreateUser Text

-- | The username for the user. Must be unique within the user pool. Must
--   be a UTF-8 string between 1 and 128 characters. After the user is
--   created, the username cannot be changed.
acuUsername :: Lens' AdminCreateUser Text

-- | Creates a value of <a>AdminCreateUserResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acursUser</a> - The user returned in the request to create a
--   new user.</li>
--   <li><a>acursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminCreateUserResponse :: Int -> AdminCreateUserResponse

-- | Represents the response from the server to the request to create the
--   user.
--   
--   <i>See:</i> <a>adminCreateUserResponse</a> smart constructor.
data AdminCreateUserResponse

-- | The user returned in the request to create a new user.
acursUser :: Lens' AdminCreateUserResponse (Maybe UserType)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
acursResponseStatus :: Lens' AdminCreateUserResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUserResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUserResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUserResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUserResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUserResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUser
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminCreateUser.AdminCreateUserResponse


-- | Confirms user registration as an admin without using a confirmation
--   code. Works on any user.
module Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp

-- | Creates a value of <a>AdminConfirmSignUp</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acsuUserPoolId</a> - The user pool ID for which you want to
--   confirm user registration.</li>
--   <li><a>acsuUsername</a> - The user name for which you want to confirm
--   user registration.</li>
--   </ul>
adminConfirmSignUp :: Text -> Text -> AdminConfirmSignUp

-- | Represents the request to confirm user registration.
--   
--   <i>See:</i> <a>adminConfirmSignUp</a> smart constructor.
data AdminConfirmSignUp

-- | The user pool ID for which you want to confirm user registration.
acsuUserPoolId :: Lens' AdminConfirmSignUp Text

-- | The user name for which you want to confirm user registration.
acsuUsername :: Lens' AdminConfirmSignUp Text

-- | Creates a value of <a>AdminConfirmSignUpResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acsursResponseStatus</a> - -- | The response status code.</li>
--   </ul>
adminConfirmSignUpResponse :: Int -> AdminConfirmSignUpResponse

-- | Represents the response from the server for the request to confirm
--   registration.
--   
--   <i>See:</i> <a>adminConfirmSignUpResponse</a> smart constructor.
data AdminConfirmSignUpResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
acsursResponseStatus :: Lens' AdminConfirmSignUpResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUpResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUpResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUpResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUpResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUpResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUp
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp.AdminConfirmSignUpResponse


-- | Adds additional user attributes to the user pool schema.
module Network.AWS.CognitoIdentityProvider.AddCustomAttributes

-- | Creates a value of <a>AddCustomAttributes</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acaUserPoolId</a> - The user pool ID for the user pool where
--   you want to add custom attributes.</li>
--   <li><a>acaCustomAttributes</a> - An array of custom attributes, such
--   as Mutable and Name.</li>
--   </ul>
addCustomAttributes :: Text -> NonEmpty SchemaAttributeType -> AddCustomAttributes

-- | Represents the request to add custom attributes.
--   
--   <i>See:</i> <a>addCustomAttributes</a> smart constructor.
data AddCustomAttributes

-- | The user pool ID for the user pool where you want to add custom
--   attributes.
acaUserPoolId :: Lens' AddCustomAttributes Text

-- | An array of custom attributes, such as Mutable and Name.
acaCustomAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType)

-- | Creates a value of <a>AddCustomAttributesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
addCustomAttributesResponse :: Int -> AddCustomAttributesResponse

-- | Represents the response from the server for the request to add custom
--   attributes.
--   
--   <i>See:</i> <a>addCustomAttributesResponse</a> smart constructor.
data AddCustomAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
acarsResponseStatus :: Lens' AddCustomAttributesResponse Int
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributesResponse
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributesResponse
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributesResponse
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributesResponse
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributesResponse
instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributes
instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AddCustomAttributes.AddCustomAttributesResponse


-- | Using the Amazon Cognito Your User Pools API, you can create a user
--   pool to manage directories and users. You can authenticate a user to
--   obtain tokens related to user identity and access policies.
--   
--   This API reference provides information about user pools in Amazon
--   Cognito Your User Pools.
--   
--   For more information, see the Amazon Cognito Documentation.
module Network.AWS.CognitoIdentityProvider

-- | API version <tt>2016-04-18</tt> of the Amazon Cognito Identity
--   Provider SDK configuration.
cognitoIdentityProvider :: Service

-- | The request failed because the user is in an unsupported state.
_UnsupportedUserStateException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a password reset is required.
_PasswordResetRequiredException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service encounters an
--   invalid parameter.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service encounters an
--   invalid AWS Lambda response.
_InvalidLambdaResponseException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito is not allowed to use
--   your email identity. HTTP status code: 400.
_InvalidEmailRoleAccessPolicyException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user is not found.
_UserNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the Amazon Cognito service encounters
--   an unexpected exception with the AWS Lambda service.
_UnexpectedLambdaException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when a user is not authorized.
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito encounters an internal
--   error.
_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the user pool configuration is invalid.
_InvalidUserPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is returned when the role provided for SMS
--   configuration does not have permission to publish using Amazon SNS.
_InvalidSmsRoleAccessPolicyException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown if the provided code does not match what the
--   server was expecting.
_CodeMismatchException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when you are trying to modify a user pool
--   while a user import job is in progress for that pool.
_UserImportInProgressException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the trust relationship is invalid for
--   the role provided for SMS configuration. This can happen if you do not
--   trust <b>cognito-idp.amazonaws.com</b> or the external ID provided in
--   the role does not match what is provided in the SMS configuration for
--   the user pool.
_InvalidSmsRoleTrustRelationshipException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the user has made too many requests
--   for a given operation.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown if two or more modifications are happening
--   concurrently.
_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the Amazon Cognito service encounters
--   a user validation exception with the AWS Lambda service.
_UserLambdaValidationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a precondition is not met.
_PreconditionNotMetException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown if a code has expired.
_ExpiredCodeException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception gets thrown when the user has made too many failed
--   attempts for a given action (e.g., sign in).
_TooManyFailedAttemptsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user is not confirmed successfully.
_UserNotConfirmedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a verification code fails to deliver
--   successfully.
_CodeDeliveryFailureException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service cannot find
--   the requested resource.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito cannot find a
--   multi-factor authentication (MFA) method.
_MFAMethodNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user tries to confirm the account with
--   an email or phone number that has already been supplied as an alias
--   from a different account. This exception tells user that an account
--   with this email or phone already exists.
_AliasExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when a user exceeds the limit for a requested
--   AWS resource.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when the Amazon Cognito service encounters an
--   invalid password.
_InvalidPasswordException :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception is thrown when Amazon Cognito encounters a user name
--   that already exists in the user pool.
_UsernameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
data AliasAttributeType
AATEmail :: AliasAttributeType
AATPhoneNumber :: AliasAttributeType
AATPreferredUsername :: AliasAttributeType
data AttributeDataType
Boolean :: AttributeDataType
DateTime :: AttributeDataType
Number :: AttributeDataType
String :: AttributeDataType
data AuthFlowType
AdminNoSrpAuth :: AuthFlowType
CustomAuth :: AuthFlowType
RefreshToken :: AuthFlowType
RefreshTokenAuth :: AuthFlowType
UserSrpAuth :: AuthFlowType
data ChallengeNameType
CNTAdminNoSrpAuth :: ChallengeNameType
CNTCustomChallenge :: ChallengeNameType
CNTDevicePasswordVerifier :: ChallengeNameType
CNTDeviceSrpAuth :: ChallengeNameType
CNTNewPasswordRequired :: ChallengeNameType
CNTPasswordVerifier :: ChallengeNameType
CNTSmsMFA :: ChallengeNameType
data DeliveryMediumType
DMTEmail :: DeliveryMediumType
DMTSms :: DeliveryMediumType
data DeviceRememberedStatusType
NotRemembered :: DeviceRememberedStatusType
Remembered :: DeviceRememberedStatusType
data ExplicitAuthFlowsType
EAFTAdminNoSrpAuth :: ExplicitAuthFlowsType
EAFTCustomAuthFlowOnly :: ExplicitAuthFlowsType
data MessageActionType
Resend :: MessageActionType
Suppress :: MessageActionType
data StatusType
Disabled :: StatusType
Enabled :: StatusType
data UserImportJobStatusType
Created :: UserImportJobStatusType
Expired :: UserImportJobStatusType
Failed :: UserImportJobStatusType
InProgress :: UserImportJobStatusType
Pending :: UserImportJobStatusType
Stopped :: UserImportJobStatusType
Stopping :: UserImportJobStatusType
Succeeded :: UserImportJobStatusType
data UserPoolMFAType
ON :: UserPoolMFAType
Off :: UserPoolMFAType
Optional :: UserPoolMFAType
data UserStatusType
Archived :: UserStatusType
Compromised :: UserStatusType
Confirmed :: UserStatusType
ForceChangePassword :: UserStatusType
ResetRequired :: UserStatusType
Unconfirmed :: UserStatusType
Unknown :: UserStatusType
data VerifiedAttributeType
Email :: VerifiedAttributeType
PhoneNumber :: VerifiedAttributeType

-- | The type of configuration for creating a new user profile.
--   
--   <i>See:</i> <a>adminCreateUserConfigType</a> smart constructor.
data AdminCreateUserConfigType

-- | Creates a value of <a>AdminCreateUserConfigType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acuctAllowAdminCreateUserOnly</a> - Set to True if only the
--   administrator is allowed to create user profiles. Set to False if
--   users can sign themselves up via an app.</li>
--   <li><a>acuctUnusedAccountValidityDays</a> - The user account
--   expiration limit, in days, after which the account is no longer
--   usable. To reset the account after that time limit, you must call
--   AdminCreateUser again, specifying <a>RESEND</a> for the MessageAction
--   parameter.</li>
--   <li><a>acuctInviteMessageTemplate</a> - The message template to be
--   used for the welcome message to new users.</li>
--   </ul>
adminCreateUserConfigType :: AdminCreateUserConfigType

-- | Set to True if only the administrator is allowed to create user
--   profiles. Set to False if users can sign themselves up via an app.
acuctAllowAdminCreateUserOnly :: Lens' AdminCreateUserConfigType (Maybe Bool)

-- | The user account expiration limit, in days, after which the account is
--   no longer usable. To reset the account after that time limit, you must
--   call AdminCreateUser again, specifying <a>RESEND</a> for the
--   MessageAction parameter.
acuctUnusedAccountValidityDays :: Lens' AdminCreateUserConfigType (Maybe Natural)

-- | The message template to be used for the welcome message to new users.
acuctInviteMessageTemplate :: Lens' AdminCreateUserConfigType (Maybe MessageTemplateType)

-- | Specifies whether the attribute is standard or custom.
--   
--   <i>See:</i> <a>attributeType</a> smart constructor.
data AttributeType

-- | Creates a value of <a>AttributeType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atValue</a> - The value of the attribute.</li>
--   <li><a>atName</a> - The name of the attribute.</li>
--   </ul>
attributeType :: Text -> AttributeType

-- | The value of the attribute.
atValue :: Lens' AttributeType (Maybe Text)

-- | The name of the attribute.
atName :: Lens' AttributeType Text

-- | The result type of the authentication result.
--   
--   <i>See:</i> <a>authenticationResultType</a> smart constructor.
data AuthenticationResultType

-- | Creates a value of <a>AuthenticationResultType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>artAccessToken</a> - The access token of the authentication
--   result.</li>
--   <li><a>artRefreshToken</a> - The refresh token of the authentication
--   result.</li>
--   <li><a>artNewDeviceMetadata</a> - The new device metadata from an
--   authentication result.</li>
--   <li><a>artExpiresIn</a> - The expiration period of the authentication
--   result.</li>
--   <li><a>artTokenType</a> - The token type of the authentication
--   result.</li>
--   <li><a>artIdToken</a> - The ID token of the authentication
--   result.</li>
--   </ul>
authenticationResultType :: AuthenticationResultType

-- | The access token of the authentication result.
artAccessToken :: Lens' AuthenticationResultType (Maybe Text)

-- | The refresh token of the authentication result.
artRefreshToken :: Lens' AuthenticationResultType (Maybe Text)

-- | The new device metadata from an authentication result.
artNewDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)

-- | The expiration period of the authentication result.
artExpiresIn :: Lens' AuthenticationResultType (Maybe Int)

-- | The token type of the authentication result.
artTokenType :: Lens' AuthenticationResultType (Maybe Text)

-- | The ID token of the authentication result.
artIdToken :: Lens' AuthenticationResultType (Maybe Text)

-- | The type of code delivery details being returned from the server.
--   
--   <i>See:</i> <a>codeDeliveryDetailsType</a> smart constructor.
data CodeDeliveryDetailsType

-- | Creates a value of <a>CodeDeliveryDetailsType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cddtDestination</a> - The destination for the code delivery
--   details.</li>
--   <li><a>cddtDeliveryMedium</a> - The delivery medium (email message or
--   phone number).</li>
--   <li><a>cddtAttributeName</a> - The name of the attribute in the code
--   delivery details type.</li>
--   </ul>
codeDeliveryDetailsType :: CodeDeliveryDetailsType

-- | The destination for the code delivery details.
cddtDestination :: Lens' CodeDeliveryDetailsType (Maybe Text)

-- | The delivery medium (email message or phone number).
cddtDeliveryMedium :: Lens' CodeDeliveryDetailsType (Maybe DeliveryMediumType)

-- | The name of the attribute in the code delivery details type.
cddtAttributeName :: Lens' CodeDeliveryDetailsType (Maybe Text)

-- | The type of configuration for the user pool's device tracking.
--   
--   <i>See:</i> <a>deviceConfigurationType</a> smart constructor.
data DeviceConfigurationType

-- | Creates a value of <a>DeviceConfigurationType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dctChallengeRequiredOnNewDevice</a> - Indicates whether a
--   challenge is required on a new device. Only applicable to a new
--   device.</li>
--   <li><a>dctDeviceOnlyRememberedOnUserPrompt</a> - If true, a device is
--   only remembered on user prompt.</li>
--   </ul>
deviceConfigurationType :: DeviceConfigurationType

-- | Indicates whether a challenge is required on a new device. Only
--   applicable to a new device.
dctChallengeRequiredOnNewDevice :: Lens' DeviceConfigurationType (Maybe Bool)

-- | If true, a device is only remembered on user prompt.
dctDeviceOnlyRememberedOnUserPrompt :: Lens' DeviceConfigurationType (Maybe Bool)

-- | The device verifier against which it will be authenticated.
--   
--   <i>See:</i> <a>deviceSecretVerifierConfigType</a> smart constructor.
data DeviceSecretVerifierConfigType

-- | Creates a value of <a>DeviceSecretVerifierConfigType</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsvctPasswordVerifier</a> - The password verifier.</li>
--   <li><a>dsvctSalt</a> - The salt.</li>
--   </ul>
deviceSecretVerifierConfigType :: DeviceSecretVerifierConfigType

-- | The password verifier.
dsvctPasswordVerifier :: Lens' DeviceSecretVerifierConfigType (Maybe Text)

-- | The salt.
dsvctSalt :: Lens' DeviceSecretVerifierConfigType (Maybe Text)

-- | The device type.
--   
--   <i>See:</i> <a>deviceType</a> smart constructor.
data DeviceType

-- | Creates a value of <a>DeviceType</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtDeviceLastModifiedDate</a> - The last modified date of the
--   device.</li>
--   <li><a>dtDeviceCreateDate</a> - The creation date of the device.</li>
--   <li><a>dtDeviceAttributes</a> - The device attributes.</li>
--   <li><a>dtDeviceKey</a> - The device key.</li>
--   <li><a>dtDeviceLastAuthenticatedDate</a> - The date in which the
--   device was last authenticated.</li>
--   </ul>
deviceType :: DeviceType

-- | The last modified date of the device.
dtDeviceLastModifiedDate :: Lens' DeviceType (Maybe UTCTime)

-- | The creation date of the device.
dtDeviceCreateDate :: Lens' DeviceType (Maybe UTCTime)

-- | The device attributes.
dtDeviceAttributes :: Lens' DeviceType [AttributeType]

-- | The device key.
dtDeviceKey :: Lens' DeviceType (Maybe Text)

-- | The date in which the device was last authenticated.
dtDeviceLastAuthenticatedDate :: Lens' DeviceType (Maybe UTCTime)

-- | The email configuration type.
--   
--   <i>See:</i> <a>emailConfigurationType</a> smart constructor.
data EmailConfigurationType

-- | Creates a value of <a>EmailConfigurationType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ectSourceARN</a> - The Amazon Resource Name (ARN) of the email
--   source.</li>
--   <li><a>ectReplyToEmailAddress</a> - The REPLY-TO email address.</li>
--   </ul>
emailConfigurationType :: EmailConfigurationType

-- | The Amazon Resource Name (ARN) of the email source.
ectSourceARN :: Lens' EmailConfigurationType (Maybe Text)

-- | The REPLY-TO email address.
ectReplyToEmailAddress :: Lens' EmailConfigurationType (Maybe Text)

-- | Specifies the type of configuration for AWS Lambda triggers.
--   
--   <i>See:</i> <a>lambdaConfigType</a> smart constructor.
data LambdaConfigType

-- | Creates a value of <a>LambdaConfigType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lctPreAuthentication</a> - A pre-authentication AWS Lambda
--   trigger.</li>
--   <li><a>lctCreateAuthChallenge</a> - Creates an authentication
--   challenge.</li>
--   <li><a>lctVerifyAuthChallengeResponse</a> - Verifies the
--   authentication challenge response.</li>
--   <li><a>lctPostAuthentication</a> - A post-authentication AWS Lambda
--   trigger.</li>
--   <li><a>lctCustomMessage</a> - A custom Message AWS Lambda
--   trigger.</li>
--   <li><a>lctDefineAuthChallenge</a> - Defines the authentication
--   challenge.</li>
--   <li><a>lctPostConfirmation</a> - A post-confirmation AWS Lambda
--   trigger.</li>
--   <li><a>lctPreSignUp</a> - A pre-registration AWS Lambda trigger.</li>
--   </ul>
lambdaConfigType :: LambdaConfigType

-- | A pre-authentication AWS Lambda trigger.
lctPreAuthentication :: Lens' LambdaConfigType (Maybe Text)

-- | Creates an authentication challenge.
lctCreateAuthChallenge :: Lens' LambdaConfigType (Maybe Text)

-- | Verifies the authentication challenge response.
lctVerifyAuthChallengeResponse :: Lens' LambdaConfigType (Maybe Text)

-- | A post-authentication AWS Lambda trigger.
lctPostAuthentication :: Lens' LambdaConfigType (Maybe Text)

-- | A custom Message AWS Lambda trigger.
lctCustomMessage :: Lens' LambdaConfigType (Maybe Text)

-- | Defines the authentication challenge.
lctDefineAuthChallenge :: Lens' LambdaConfigType (Maybe Text)

-- | A post-confirmation AWS Lambda trigger.
lctPostConfirmation :: Lens' LambdaConfigType (Maybe Text)

-- | A pre-registration AWS Lambda trigger.
lctPreSignUp :: Lens' LambdaConfigType (Maybe Text)

-- | Specifies the different settings for multi-factor authentication
--   (MFA).
--   
--   <i>See:</i> <a>mfaOptionType</a> smart constructor.
data MFAOptionType

-- | Creates a value of <a>MFAOptionType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>motDeliveryMedium</a> - The delivery medium (email message or
--   SMS message) to send the MFA code.</li>
--   <li><a>motAttributeName</a> - The attribute name of the MFA option
--   type.</li>
--   </ul>
mfaOptionType :: MFAOptionType

-- | The delivery medium (email message or SMS message) to send the MFA
--   code.
motDeliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType)

-- | The attribute name of the MFA option type.
motAttributeName :: Lens' MFAOptionType (Maybe Text)

-- | The message template structure.
--   
--   <i>See:</i> <a>messageTemplateType</a> smart constructor.
data MessageTemplateType

-- | Creates a value of <a>MessageTemplateType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mttEmailSubject</a> - The subject line for email messages.</li>
--   <li><a>mttSMSMessage</a> - The message template for SMS messages.</li>
--   <li><a>mttEmailMessage</a> - The message template for email
--   messages.</li>
--   </ul>
messageTemplateType :: MessageTemplateType

-- | The subject line for email messages.
mttEmailSubject :: Lens' MessageTemplateType (Maybe Text)

-- | The message template for SMS messages.
mttSMSMessage :: Lens' MessageTemplateType (Maybe Text)

-- | The message template for email messages.
mttEmailMessage :: Lens' MessageTemplateType (Maybe Text)

-- | The new device metadata type.
--   
--   <i>See:</i> <a>newDeviceMetadataType</a> smart constructor.
data NewDeviceMetadataType

-- | Creates a value of <a>NewDeviceMetadataType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ndmtDeviceGroupKey</a> - The device group key.</li>
--   <li><a>ndmtDeviceKey</a> - The device key.</li>
--   </ul>
newDeviceMetadataType :: NewDeviceMetadataType

-- | The device group key.
ndmtDeviceGroupKey :: Lens' NewDeviceMetadataType (Maybe Text)

-- | The device key.
ndmtDeviceKey :: Lens' NewDeviceMetadataType (Maybe Text)

-- | The minimum and maximum value of an attribute that is of the number
--   data type.
--   
--   <i>See:</i> <a>numberAttributeConstraintsType</a> smart constructor.
data NumberAttributeConstraintsType

-- | Creates a value of <a>NumberAttributeConstraintsType</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>nactMaxValue</a> - The maximum value of an attribute that is of
--   the number data type.</li>
--   <li><a>nactMinValue</a> - The minimum value of an attribute that is of
--   the number data type.</li>
--   </ul>
numberAttributeConstraintsType :: NumberAttributeConstraintsType

-- | The maximum value of an attribute that is of the number data type.
nactMaxValue :: Lens' NumberAttributeConstraintsType (Maybe Text)

-- | The minimum value of an attribute that is of the number data type.
nactMinValue :: Lens' NumberAttributeConstraintsType (Maybe Text)

-- | The password policy type.
--   
--   <i>See:</i> <a>passwordPolicyType</a> smart constructor.
data PasswordPolicyType

-- | Creates a value of <a>PasswordPolicyType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pptRequireNumbers</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   number in their password.</li>
--   <li><a>pptRequireUppercase</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   uppercase letter in their password.</li>
--   <li><a>pptRequireLowercase</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   lowercase letter in their password.</li>
--   <li><a>pptMinimumLength</a> - The minimum length of the password
--   policy that you have set. Cannot be less than 6.</li>
--   <li><a>pptRequireSymbols</a> - In the password policy that you have
--   set, refers to whether you have required users to use at least one
--   symbol in their password.</li>
--   </ul>
passwordPolicyType :: PasswordPolicyType

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one number in their password.
pptRequireNumbers :: Lens' PasswordPolicyType (Maybe Bool)

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one uppercase letter in their password.
pptRequireUppercase :: Lens' PasswordPolicyType (Maybe Bool)

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one lowercase letter in their password.
pptRequireLowercase :: Lens' PasswordPolicyType (Maybe Bool)

-- | The minimum length of the password policy that you have set. Cannot be
--   less than 6.
pptMinimumLength :: Lens' PasswordPolicyType (Maybe Natural)

-- | In the password policy that you have set, refers to whether you have
--   required users to use at least one symbol in their password.
pptRequireSymbols :: Lens' PasswordPolicyType (Maybe Bool)

-- | Contains information about the schema attribute.
--   
--   <i>See:</i> <a>schemaAttributeType</a> smart constructor.
data SchemaAttributeType

-- | Creates a value of <a>SchemaAttributeType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>satNumberAttributeConstraints</a> - Specifies the constraints
--   for an attribute of the number type.</li>
--   <li><a>satRequired</a> - Specifies whether a user pool attribute is
--   required. If the attribute is required and the user does not provide a
--   value, registration or sign-in will fail.</li>
--   <li><a>satAttributeDataType</a> - The attribute data type.</li>
--   <li><a>satStringAttributeConstraints</a> - Specifies the constraints
--   for an attribute of the string type.</li>
--   <li><a>satName</a> - A schema attribute of the name type.</li>
--   <li><a>satDeveloperOnlyAttribute</a> - Specifies whether the attribute
--   type is developer only.</li>
--   <li><a>satMutable</a> - Specifies whether the attribute can be changed
--   once it has been created.</li>
--   </ul>
schemaAttributeType :: SchemaAttributeType

-- | Specifies the constraints for an attribute of the number type.
satNumberAttributeConstraints :: Lens' SchemaAttributeType (Maybe NumberAttributeConstraintsType)

-- | Specifies whether a user pool attribute is required. If the attribute
--   is required and the user does not provide a value, registration or
--   sign-in will fail.
satRequired :: Lens' SchemaAttributeType (Maybe Bool)

-- | The attribute data type.
satAttributeDataType :: Lens' SchemaAttributeType (Maybe AttributeDataType)

-- | Specifies the constraints for an attribute of the string type.
satStringAttributeConstraints :: Lens' SchemaAttributeType (Maybe StringAttributeConstraintsType)

-- | A schema attribute of the name type.
satName :: Lens' SchemaAttributeType (Maybe Text)

-- | Specifies whether the attribute type is developer only.
satDeveloperOnlyAttribute :: Lens' SchemaAttributeType (Maybe Bool)

-- | Specifies whether the attribute can be changed once it has been
--   created.
satMutable :: Lens' SchemaAttributeType (Maybe Bool)

-- | The SMS configuratoin type.
--   
--   <i>See:</i> <a>smsConfigurationType</a> smart constructor.
data SmsConfigurationType

-- | Creates a value of <a>SmsConfigurationType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sctExternalId</a> - The external ID.</li>
--   <li><a>sctSNSCallerARN</a> - The Amazon Resource Name (ARN) of the
--   Amazon Simple Notification Service (SNS) caller.</li>
--   </ul>
smsConfigurationType :: Text -> SmsConfigurationType

-- | The external ID.
sctExternalId :: Lens' SmsConfigurationType (Maybe Text)

-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
--   Service (SNS) caller.
sctSNSCallerARN :: Lens' SmsConfigurationType Text

-- | The type of constraints associated with an attribute of the string
--   type.
--   
--   <i>See:</i> <a>stringAttributeConstraintsType</a> smart constructor.
data StringAttributeConstraintsType

-- | Creates a value of <a>StringAttributeConstraintsType</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sactMaxLength</a> - The maximum length of an attribute value of
--   the string type.</li>
--   <li><a>sactMinLength</a> - The minimum length of an attribute value of
--   the string type.</li>
--   </ul>
stringAttributeConstraintsType :: StringAttributeConstraintsType

-- | The maximum length of an attribute value of the string type.
sactMaxLength :: Lens' StringAttributeConstraintsType (Maybe Text)

-- | The minimum length of an attribute value of the string type.
sactMinLength :: Lens' StringAttributeConstraintsType (Maybe Text)

-- | The user import job type.
--   
--   <i>See:</i> <a>userImportJobType</a> smart constructor.
data UserImportJobType

-- | Creates a value of <a>UserImportJobType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uijtStatus</a> - The status of the user import job. One of the
--   following: * Created - The job was created but not started. * Pending
--   - A transition state. You have started the job, but it has not begun
--   importing users yet. * InProgress - The job has started, and users are
--   being imported. * Stopping - You have stopped the job, but the job has
--   not stopped importing users yet. * Stopped - You have stopped the job,
--   and the job has stopped importing users. * Succeeded - The job has
--   completed successfully. * Failed - The job has stopped due to an
--   error. * Expired - You created a job, but did not start the job within
--   24-48 hours. All data associated with the job was deleted, and the job
--   cannot be started.</li>
--   <li><a>uijtSkippedUsers</a> - The number of users that were
--   skipped.</li>
--   <li><a>uijtJobId</a> - The job ID for the user import job.</li>
--   <li><a>uijtUserPoolId</a> - The user pool ID for the user pool that
--   the users are being imported into.</li>
--   <li><a>uijtJobName</a> - The job name for the user import job.</li>
--   <li><a>uijtPreSignedURL</a> - The pre-signed URL to be used to upload
--   the .csv file.</li>
--   <li><a>uijtFailedUsers</a> - The number of users that could not be
--   imported.</li>
--   <li><a>uijtStartDate</a> - The date when the user import job was
--   started.</li>
--   <li><a>uijtCompletionMessage</a> - The message returned when the user
--   import job is completed.</li>
--   <li><a>uijtCreationDate</a> - The date when the user import job was
--   created.</li>
--   <li><a>uijtCompletionDate</a> - The date when the user imoprt job was
--   completed.</li>
--   <li><a>uijtCloudWatchLogsRoleARN</a> - The role ARN for the Amazon
--   CloudWatch Logging role for the user import job. For more information,
--   see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito
--   Developer Guide.</li>
--   <li><a>uijtImportedUsers</a> - The number of users that were
--   successfully imported.</li>
--   </ul>
userImportJobType :: UserImportJobType

-- | The status of the user import job. One of the following: * Created -
--   The job was created but not started. * Pending - A transition state.
--   You have started the job, but it has not begun importing users yet. *
--   InProgress - The job has started, and users are being imported. *
--   Stopping - You have stopped the job, but the job has not stopped
--   importing users yet. * Stopped - You have stopped the job, and the job
--   has stopped importing users. * Succeeded - The job has completed
--   successfully. * Failed - The job has stopped due to an error. *
--   Expired - You created a job, but did not start the job within 24-48
--   hours. All data associated with the job was deleted, and the job
--   cannot be started.
uijtStatus :: Lens' UserImportJobType (Maybe UserImportJobStatusType)

-- | The number of users that were skipped.
uijtSkippedUsers :: Lens' UserImportJobType (Maybe Integer)

-- | The job ID for the user import job.
uijtJobId :: Lens' UserImportJobType (Maybe Text)

-- | The user pool ID for the user pool that the users are being imported
--   into.
uijtUserPoolId :: Lens' UserImportJobType (Maybe Text)

-- | The job name for the user import job.
uijtJobName :: Lens' UserImportJobType (Maybe Text)

-- | The pre-signed URL to be used to upload the .csv file.
uijtPreSignedURL :: Lens' UserImportJobType (Maybe Text)

-- | The number of users that could not be imported.
uijtFailedUsers :: Lens' UserImportJobType (Maybe Integer)

-- | The date when the user import job was started.
uijtStartDate :: Lens' UserImportJobType (Maybe UTCTime)

-- | The message returned when the user import job is completed.
uijtCompletionMessage :: Lens' UserImportJobType (Maybe Text)

-- | The date when the user import job was created.
uijtCreationDate :: Lens' UserImportJobType (Maybe UTCTime)

-- | The date when the user imoprt job was completed.
uijtCompletionDate :: Lens' UserImportJobType (Maybe UTCTime)

-- | The role ARN for the Amazon CloudWatch Logging role for the user
--   import job. For more information, see "Creating the CloudWatch Logs
--   IAM Role" in the Amazon Cognito Developer Guide.
uijtCloudWatchLogsRoleARN :: Lens' UserImportJobType (Maybe Text)

-- | The number of users that were successfully imported.
uijtImportedUsers :: Lens' UserImportJobType (Maybe Integer)

-- | The description of the user poool client.
--   
--   <i>See:</i> <a>userPoolClientDescription</a> smart constructor.
data UserPoolClientDescription

-- | Creates a value of <a>UserPoolClientDescription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>upcdClientId</a> - The ID of the client associated with the
--   user pool.</li>
--   <li><a>upcdUserPoolId</a> - The user pool ID for the user pool where
--   you want to describe the user pool client.</li>
--   <li><a>upcdClientName</a> - The client name from the user pool client
--   description.</li>
--   </ul>
userPoolClientDescription :: UserPoolClientDescription

-- | The ID of the client associated with the user pool.
upcdClientId :: Lens' UserPoolClientDescription (Maybe Text)

-- | The user pool ID for the user pool where you want to describe the user
--   pool client.
upcdUserPoolId :: Lens' UserPoolClientDescription (Maybe Text)

-- | The client name from the user pool client description.
upcdClientName :: Lens' UserPoolClientDescription (Maybe Text)

-- | A user pool of the client type.
--   
--   <i>See:</i> <a>userPoolClientType</a> smart constructor.
data UserPoolClientType

-- | Creates a value of <a>UserPoolClientType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>upctRefreshTokenValidity</a> - The validity of the refresh
--   token.</li>
--   <li><a>upctClientId</a> - The ID of the client associated with the
--   user pool.</li>
--   <li><a>upctExplicitAuthFlows</a> - The explicit authentication
--   flows.</li>
--   <li><a>upctClientSecret</a> - The client secret from the user pool
--   request of the client type.</li>
--   <li><a>upctLastModifiedDate</a> - The last modified date from the user
--   pool request of the client type.</li>
--   <li><a>upctUserPoolId</a> - The user pool ID for the user pool
--   client.</li>
--   <li><a>upctWriteAttributes</a> - The writeable attributes.</li>
--   <li><a>upctCreationDate</a> - The creation date from the user pool
--   request of the client type.</li>
--   <li><a>upctReadAttributes</a> - The Read-only attributes.</li>
--   <li><a>upctClientName</a> - The client name from the user pool request
--   of the client type.</li>
--   </ul>
userPoolClientType :: UserPoolClientType

-- | The validity of the refresh token.
upctRefreshTokenValidity :: Lens' UserPoolClientType (Maybe Natural)

-- | The ID of the client associated with the user pool.
upctClientId :: Lens' UserPoolClientType (Maybe Text)

-- | The explicit authentication flows.
upctExplicitAuthFlows :: Lens' UserPoolClientType [ExplicitAuthFlowsType]

-- | The client secret from the user pool request of the client type.
upctClientSecret :: Lens' UserPoolClientType (Maybe Text)

-- | The last modified date from the user pool request of the client type.
upctLastModifiedDate :: Lens' UserPoolClientType (Maybe UTCTime)

-- | The user pool ID for the user pool client.
upctUserPoolId :: Lens' UserPoolClientType (Maybe Text)

-- | The writeable attributes.
upctWriteAttributes :: Lens' UserPoolClientType [Text]

-- | The creation date from the user pool request of the client type.
upctCreationDate :: Lens' UserPoolClientType (Maybe UTCTime)

-- | The Read-only attributes.
upctReadAttributes :: Lens' UserPoolClientType [Text]

-- | The client name from the user pool request of the client type.
upctClientName :: Lens' UserPoolClientType (Maybe Text)

-- | A user pool description.
--   
--   <i>See:</i> <a>userPoolDescriptionType</a> smart constructor.
data UserPoolDescriptionType

-- | Creates a value of <a>UserPoolDescriptionType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>updtStatus</a> - The user pool status in a user pool
--   description.</li>
--   <li><a>updtLastModifiedDate</a> - The last modified date in a user
--   pool description.</li>
--   <li><a>updtName</a> - The name in a user pool description.</li>
--   <li><a>updtId</a> - The ID in a user pool description.</li>
--   <li><a>updtCreationDate</a> - The creation date in a user pool
--   description.</li>
--   <li><a>updtLambdaConfig</a> - The AWS Lambda configuration information
--   in a user pool description.</li>
--   </ul>
userPoolDescriptionType :: UserPoolDescriptionType

-- | The user pool status in a user pool description.
updtStatus :: Lens' UserPoolDescriptionType (Maybe StatusType)

-- | The last modified date in a user pool description.
updtLastModifiedDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)

-- | The name in a user pool description.
updtName :: Lens' UserPoolDescriptionType (Maybe Text)

-- | The ID in a user pool description.
updtId :: Lens' UserPoolDescriptionType (Maybe Text)

-- | The creation date in a user pool description.
updtCreationDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)

-- | The AWS Lambda configuration information in a user pool description.
updtLambdaConfig :: Lens' UserPoolDescriptionType (Maybe LambdaConfigType)

-- | The type of policy in a user pool.
--   
--   <i>See:</i> <a>userPoolPolicyType</a> smart constructor.
data UserPoolPolicyType

-- | Creates a value of <a>UserPoolPolicyType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>upptPasswordPolicy</a> - A container with information about the
--   user pool password policy.</li>
--   </ul>
userPoolPolicyType :: UserPoolPolicyType

-- | A container with information about the user pool password policy.
upptPasswordPolicy :: Lens' UserPoolPolicyType (Maybe PasswordPolicyType)

-- | A container with information about the user pool type.
--   
--   <i>See:</i> <a>userPoolType</a> smart constructor.
data UserPoolType

-- | Creates a value of <a>UserPoolType</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uptStatus</a> - The status of a user pool.</li>
--   <li><a>uptEmailConfigurationFailure</a> - The reason why the email
--   configuration cannot send the messages to your users.</li>
--   <li><a>uptLastModifiedDate</a> - The last modified date of a user
--   pool.</li>
--   <li><a>uptEstimatedNumberOfUsers</a> - A number estimating the size of
--   the user pool.</li>
--   <li><a>uptEmailVerificationMessage</a> - The contents of the email
--   verification message.</li>
--   <li><a>uptSmsAuthenticationMessage</a> - The contents of the SMS
--   authentication message.</li>
--   <li><a>uptSchemaAttributes</a> - A container with the schema
--   attributes of a user pool.</li>
--   <li><a>uptEmailVerificationSubject</a> - The subject of the email
--   verification message.</li>
--   <li><a>uptAliasAttributes</a> - Specifies the attributes that are
--   aliased in a user pool.</li>
--   <li><a>uptEmailConfiguration</a> - The email configuration.</li>
--   <li><a>uptSmsVerificationMessage</a> - The contents of the SMS
--   verification message.</li>
--   <li><a>uptName</a> - The name of the user pool.</li>
--   <li><a>uptMFAConfiguration</a> - Can be one of the following values: *
--   <tt>OFF</tt> - MFA tokens are not required and cannot be specified
--   during user registration. * <tt>ON</tt> - MFA tokens are required for
--   all user registrations. You can only specify required when you are
--   initially creating a user pool. * <tt>OPTIONAL</tt> - Users have the
--   option when registering to create an MFA token.</li>
--   <li><a>uptId</a> - The ID of the user pool.</li>
--   <li><a>uptSmsConfigurationFailure</a> - The reason why the SMS
--   configuration cannot send the message(s) to your users.</li>
--   <li><a>uptCreationDate</a> - The creation date of a user pool.</li>
--   <li><a>uptLambdaConfig</a> - A container describing the AWS Lambda
--   triggers associated with a user pool.</li>
--   <li><a>uptSmsConfiguration</a> - The SMS configuration.</li>
--   <li><a>uptAdminCreateUserConfig</a> - The configuration for
--   AdminCreateUser requests.</li>
--   <li><a>uptDeviceConfiguration</a> - The device configuration.</li>
--   <li><a>uptAutoVerifiedAttributes</a> - Specifies the attributes that
--   are auto-verified in a user pool.</li>
--   <li><a>uptPolicies</a> - A container describing the policies
--   associated with a user pool.</li>
--   </ul>
userPoolType :: UserPoolType

-- | The status of a user pool.
uptStatus :: Lens' UserPoolType (Maybe StatusType)

-- | The reason why the email configuration cannot send the messages to
--   your users.
uptEmailConfigurationFailure :: Lens' UserPoolType (Maybe Text)

-- | The last modified date of a user pool.
uptLastModifiedDate :: Lens' UserPoolType (Maybe UTCTime)

-- | A number estimating the size of the user pool.
uptEstimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int)

-- | The contents of the email verification message.
uptEmailVerificationMessage :: Lens' UserPoolType (Maybe Text)

-- | The contents of the SMS authentication message.
uptSmsAuthenticationMessage :: Lens' UserPoolType (Maybe Text)

-- | A container with the schema attributes of a user pool.
uptSchemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType))

-- | The subject of the email verification message.
uptEmailVerificationSubject :: Lens' UserPoolType (Maybe Text)

-- | Specifies the attributes that are aliased in a user pool.
uptAliasAttributes :: Lens' UserPoolType [AliasAttributeType]

-- | The email configuration.
uptEmailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType)

-- | The contents of the SMS verification message.
uptSmsVerificationMessage :: Lens' UserPoolType (Maybe Text)

-- | The name of the user pool.
uptName :: Lens' UserPoolType (Maybe Text)

-- | Can be one of the following values: * <tt>OFF</tt> - MFA tokens are
--   not required and cannot be specified during user registration. *
--   <tt>ON</tt> - MFA tokens are required for all user registrations. You
--   can only specify required when you are initially creating a user pool.
--   * <tt>OPTIONAL</tt> - Users have the option when registering to create
--   an MFA token.
uptMFAConfiguration :: Lens' UserPoolType (Maybe UserPoolMFAType)

-- | The ID of the user pool.
uptId :: Lens' UserPoolType (Maybe Text)

-- | The reason why the SMS configuration cannot send the message(s) to
--   your users.
uptSmsConfigurationFailure :: Lens' UserPoolType (Maybe Text)

-- | The creation date of a user pool.
uptCreationDate :: Lens' UserPoolType (Maybe UTCTime)

-- | A container describing the AWS Lambda triggers associated with a user
--   pool.
uptLambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType)

-- | The SMS configuration.
uptSmsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType)

-- | The configuration for AdminCreateUser requests.
uptAdminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType)

-- | The device configuration.
uptDeviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType)

-- | Specifies the attributes that are auto-verified in a user pool.
uptAutoVerifiedAttributes :: Lens' UserPoolType [VerifiedAttributeType]

-- | A container describing the policies associated with a user pool.
uptPolicies :: Lens' UserPoolType (Maybe UserPoolPolicyType)

-- | The user type.
--   
--   <i>See:</i> <a>userType</a> smart constructor.
data UserType

-- | Creates a value of <a>UserType</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>utEnabled</a> - Specifies whether the user is enabled.</li>
--   <li><a>utUserStatus</a> - The user status. Can be one of the
--   following: * UNCONFIRMED - User has been created but not confirmed. *
--   CONFIRMED - User has been confirmed. * ARCHIVED - User is no longer
--   active. * COMPROMISED - User is disabled due to a potential security
--   threat. * UNKNOWN - User status is not known.</li>
--   <li><a>utUsername</a> - The user name of the user you wish to
--   describe.</li>
--   <li><a>utUserCreateDate</a> - The creation date of the user.</li>
--   <li><a>utAttributes</a> - A container with information about the user
--   type attributes.</li>
--   <li><a>utMFAOptions</a> - The MFA options for the user.</li>
--   <li><a>utUserLastModifiedDate</a> - The last modified date of the
--   user.</li>
--   </ul>
userType :: UserType

-- | Specifies whether the user is enabled.
utEnabled :: Lens' UserType (Maybe Bool)

-- | The user status. Can be one of the following: * UNCONFIRMED - User has
--   been created but not confirmed. * CONFIRMED - User has been confirmed.
--   * ARCHIVED - User is no longer active. * COMPROMISED - User is
--   disabled due to a potential security threat. * UNKNOWN - User status
--   is not known.
utUserStatus :: Lens' UserType (Maybe UserStatusType)

-- | The user name of the user you wish to describe.
utUsername :: Lens' UserType (Maybe Text)

-- | The creation date of the user.
utUserCreateDate :: Lens' UserType (Maybe UTCTime)

-- | A container with information about the user type attributes.
utAttributes :: Lens' UserType [AttributeType]

-- | The MFA options for the user.
utMFAOptions :: Lens' UserType [MFAOptionType]

-- | The last modified date of the user.
utUserLastModifiedDate :: Lens' UserType (Maybe UTCTime)
