Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Operations
- DeleteUserPool
- UpdateUserPool
- UpdateUserPoolDomain
- DeleteUserPoolDomain
- AdminInitiateAuth
- AdminLinkProviderForUser
- AdminEnableUser
- GetUserAttributeVerificationCode
- SetUserPoolMfaConfig
- UpdateUserAttributes
- DeleteUserAttributes
- VerifyUserAttribute
- AdminDisableUser
- ConfirmDevice
- ConfirmForgotPassword
- ListUserImportJobs
- ListTagsForResource
- DescribeIdentityProvider
- ListUsers
- AdminDeleteUserAttributes
- DescribeUserPoolDomain
- AdminUpdateUserAttributes
- AdminGetUser
- AdminUserGlobalSignOut
- ListUsersInGroup
- AssociateSoftwareToken
- AdminDisableProviderForUser
- ForgotPassword
- DescribeUserPool
- InitiateAuth
- AdminListGroupsForUser
- AdminConfirmSignUp
- AdminUpdateAuthEventFeedback
- AdminSetUserPassword
- StartUserImportJob
- CreateIdentityProvider
- SetUICustomization
- ListIdentityProviders
- GetDevice
- SignUp
- DeleteResourceServer
- UpdateResourceServer
- ChangePassword
- CreateUserPoolDomain
- RespondToAuthChallenge
- CreateUserPool
- AdminGetDevice
- GetIdentityProviderByIdentifier
- AdminRemoveUserFromGroup
- SetRiskConfiguration
- ConfirmSignUp
- ListUserPools
- AdminResetUserPassword
- UpdateAuthEventFeedback
- CreateUserImportJob
- GetUser
- GetUICustomization
- GetCSVHeader
- AdminDeleteUser
- AdminForgetDevice
- DescribeResourceServer
- SetUserMFAPreference
- AdminUpdateDeviceStatus
- AdminCreateUser
- AddCustomAttributes
- ListUserPoolClients
- AdminSetUserMFAPreference
- UpdateUserPoolClient
- DeleteUserPoolClient
- UpdateDeviceStatus
- ForgetDevice
- GetSigningCertificate
- DeleteUser
- TagResource
- CreateUserPoolClient
- GetUserPoolMfaConfig
- CreateResourceServer
- AdminListUserAuthEvents
- CreateGroup
- AdminAddUserToGroup
- VerifySoftwareToken
- UntagResource
- RevokeToken
- StopUserImportJob
- DescribeUserImportJob
- DescribeRiskConfiguration
- DeleteGroup
- UpdateGroup
- GlobalSignOut
- ListGroups
- UpdateIdentityProvider
- DeleteIdentityProvider
- ListResourceServers
- AdminRespondToAuthChallenge
- SetUserSettings
- AdminListDevices
- DescribeUserPoolClient
- ResendConfirmationCode
- GetGroup
- AdminSetUserSettings
- ListDevices
- Types
- AccountRecoverySettingType
- AccountTakeoverActionType
- AccountTakeoverActionsType
- AccountTakeoverRiskConfigurationType
- AdminCreateUserConfigType
- AnalyticsConfigurationType
- AnalyticsMetadataType
- AttributeType
- AuthEventType
- AuthenticationResultType
- ChallengeResponseType
- CodeDeliveryDetailsType
- CompromisedCredentialsActionsType
- CompromisedCredentialsRiskConfigurationType
- ContextDataType
- CustomDomainConfigType
- CustomEmailLambdaVersionConfigType
- CustomSMSLambdaVersionConfigType
- DeviceConfigurationType
- DeviceSecretVerifierConfigType
- DeviceType
- DomainDescriptionType
- EmailConfigurationType
- EventContextDataType
- EventFeedbackType
- EventRiskType
- GroupType
- HttpHeader
- IdentityProviderType
- LambdaConfigType
- MFAOptionType
- MessageTemplateType
- NewDeviceMetadataType
- NotifyConfigurationType
- NotifyEmailType
- NumberAttributeConstraintsType
- PasswordPolicyType
- ProviderDescription
- ProviderUserIdentifierType
- RecoveryOptionType
- ResourceServerScopeType
- ResourceServerType
- RiskConfigurationType
- RiskExceptionConfigurationType
- SMSMfaSettingsType
- SchemaAttributeType
- SmsConfigurationType
- SmsMfaConfigType
- SoftwareTokenMfaConfigType
- SoftwareTokenMfaSettingsType
- StringAttributeConstraintsType
- TokenValidityUnitsType
- UICustomizationType
- UserContextDataType
- UserImportJobType
- UserPoolAddOnsType
- UserPoolClientDescription
- UserPoolClientType
- UserPoolDescriptionType
- UserPoolPolicyType
- UserPoolType
- UserType
- UsernameConfigurationType
- VerificationMessageTemplateType
Synopsis
- deleteUserPool_userPoolId :: Lens' DeleteUserPool Text
- updateUserPool_userPoolTags :: Lens' UpdateUserPool (Maybe (HashMap Text Text))
- updateUserPool_verificationMessageTemplate :: Lens' UpdateUserPool (Maybe VerificationMessageTemplateType)
- updateUserPool_emailVerificationMessage :: Lens' UpdateUserPool (Maybe Text)
- updateUserPool_smsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text)
- updateUserPool_userPoolAddOns :: Lens' UpdateUserPool (Maybe UserPoolAddOnsType)
- updateUserPool_emailVerificationSubject :: Lens' UpdateUserPool (Maybe Text)
- updateUserPool_accountRecoverySetting :: Lens' UpdateUserPool (Maybe AccountRecoverySettingType)
- updateUserPool_emailConfiguration :: Lens' UpdateUserPool (Maybe EmailConfigurationType)
- updateUserPool_smsVerificationMessage :: Lens' UpdateUserPool (Maybe Text)
- updateUserPool_mfaConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMfaType)
- updateUserPool_lambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType)
- updateUserPool_smsConfiguration :: Lens' UpdateUserPool (Maybe SmsConfigurationType)
- updateUserPool_adminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType)
- updateUserPool_deviceConfiguration :: Lens' UpdateUserPool (Maybe DeviceConfigurationType)
- updateUserPool_autoVerifiedAttributes :: Lens' UpdateUserPool (Maybe [VerifiedAttributeType])
- updateUserPool_policies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType)
- updateUserPool_userPoolId :: Lens' UpdateUserPool Text
- updateUserPoolResponse_httpStatus :: Lens' UpdateUserPoolResponse Int
- updateUserPoolDomain_domain :: Lens' UpdateUserPoolDomain Text
- updateUserPoolDomain_userPoolId :: Lens' UpdateUserPoolDomain Text
- updateUserPoolDomain_customDomainConfig :: Lens' UpdateUserPoolDomain CustomDomainConfigType
- updateUserPoolDomainResponse_cloudFrontDomain :: Lens' UpdateUserPoolDomainResponse (Maybe Text)
- updateUserPoolDomainResponse_httpStatus :: Lens' UpdateUserPoolDomainResponse Int
- deleteUserPoolDomain_domain :: Lens' DeleteUserPoolDomain Text
- deleteUserPoolDomain_userPoolId :: Lens' DeleteUserPoolDomain Text
- deleteUserPoolDomainResponse_httpStatus :: Lens' DeleteUserPoolDomainResponse Int
- adminInitiateAuth_clientMetadata :: Lens' AdminInitiateAuth (Maybe (HashMap Text Text))
- adminInitiateAuth_contextData :: Lens' AdminInitiateAuth (Maybe ContextDataType)
- adminInitiateAuth_analyticsMetadata :: Lens' AdminInitiateAuth (Maybe AnalyticsMetadataType)
- adminInitiateAuth_authParameters :: Lens' AdminInitiateAuth (Maybe (HashMap Text Text))
- adminInitiateAuth_userPoolId :: Lens' AdminInitiateAuth Text
- adminInitiateAuth_clientId :: Lens' AdminInitiateAuth Text
- adminInitiateAuth_authFlow :: Lens' AdminInitiateAuth AuthFlowType
- adminInitiateAuthResponse_challengeName :: Lens' AdminInitiateAuthResponse (Maybe ChallengeNameType)
- adminInitiateAuthResponse_challengeParameters :: Lens' AdminInitiateAuthResponse (Maybe (HashMap Text Text))
- adminInitiateAuthResponse_authenticationResult :: Lens' AdminInitiateAuthResponse (Maybe AuthenticationResultType)
- adminInitiateAuthResponse_session :: Lens' AdminInitiateAuthResponse (Maybe Text)
- adminInitiateAuthResponse_httpStatus :: Lens' AdminInitiateAuthResponse Int
- adminLinkProviderForUser_userPoolId :: Lens' AdminLinkProviderForUser Text
- adminLinkProviderForUser_destinationUser :: Lens' AdminLinkProviderForUser ProviderUserIdentifierType
- adminLinkProviderForUser_sourceUser :: Lens' AdminLinkProviderForUser ProviderUserIdentifierType
- adminLinkProviderForUserResponse_httpStatus :: Lens' AdminLinkProviderForUserResponse Int
- adminEnableUser_userPoolId :: Lens' AdminEnableUser Text
- adminEnableUser_username :: Lens' AdminEnableUser Text
- adminEnableUserResponse_httpStatus :: Lens' AdminEnableUserResponse Int
- getUserAttributeVerificationCode_clientMetadata :: Lens' GetUserAttributeVerificationCode (Maybe (HashMap Text Text))
- getUserAttributeVerificationCode_accessToken :: Lens' GetUserAttributeVerificationCode Text
- getUserAttributeVerificationCode_attributeName :: Lens' GetUserAttributeVerificationCode Text
- getUserAttributeVerificationCodeResponse_codeDeliveryDetails :: Lens' GetUserAttributeVerificationCodeResponse (Maybe CodeDeliveryDetailsType)
- getUserAttributeVerificationCodeResponse_httpStatus :: Lens' GetUserAttributeVerificationCodeResponse Int
- setUserPoolMfaConfig_smsMfaConfiguration :: Lens' SetUserPoolMfaConfig (Maybe SmsMfaConfigType)
- setUserPoolMfaConfig_softwareTokenMfaConfiguration :: Lens' SetUserPoolMfaConfig (Maybe SoftwareTokenMfaConfigType)
- setUserPoolMfaConfig_mfaConfiguration :: Lens' SetUserPoolMfaConfig (Maybe UserPoolMfaType)
- setUserPoolMfaConfig_userPoolId :: Lens' SetUserPoolMfaConfig Text
- setUserPoolMfaConfigResponse_smsMfaConfiguration :: Lens' SetUserPoolMfaConfigResponse (Maybe SmsMfaConfigType)
- setUserPoolMfaConfigResponse_softwareTokenMfaConfiguration :: Lens' SetUserPoolMfaConfigResponse (Maybe SoftwareTokenMfaConfigType)
- setUserPoolMfaConfigResponse_mfaConfiguration :: Lens' SetUserPoolMfaConfigResponse (Maybe UserPoolMfaType)
- setUserPoolMfaConfigResponse_httpStatus :: Lens' SetUserPoolMfaConfigResponse Int
- updateUserAttributes_clientMetadata :: Lens' UpdateUserAttributes (Maybe (HashMap Text Text))
- updateUserAttributes_userAttributes :: Lens' UpdateUserAttributes [AttributeType]
- updateUserAttributes_accessToken :: Lens' UpdateUserAttributes Text
- updateUserAttributesResponse_codeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse (Maybe [CodeDeliveryDetailsType])
- updateUserAttributesResponse_httpStatus :: Lens' UpdateUserAttributesResponse Int
- deleteUserAttributes_userAttributeNames :: Lens' DeleteUserAttributes [Text]
- deleteUserAttributes_accessToken :: Lens' DeleteUserAttributes Text
- deleteUserAttributesResponse_httpStatus :: Lens' DeleteUserAttributesResponse Int
- verifyUserAttribute_accessToken :: Lens' VerifyUserAttribute Text
- verifyUserAttribute_attributeName :: Lens' VerifyUserAttribute Text
- verifyUserAttribute_code :: Lens' VerifyUserAttribute Text
- verifyUserAttributeResponse_httpStatus :: Lens' VerifyUserAttributeResponse Int
- adminDisableUser_userPoolId :: Lens' AdminDisableUser Text
- adminDisableUser_username :: Lens' AdminDisableUser Text
- adminDisableUserResponse_httpStatus :: Lens' AdminDisableUserResponse Int
- confirmDevice_deviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType)
- confirmDevice_deviceName :: Lens' ConfirmDevice (Maybe Text)
- confirmDevice_accessToken :: Lens' ConfirmDevice Text
- confirmDevice_deviceKey :: Lens' ConfirmDevice Text
- confirmDeviceResponse_userConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool)
- confirmDeviceResponse_httpStatus :: Lens' ConfirmDeviceResponse Int
- confirmForgotPassword_clientMetadata :: Lens' ConfirmForgotPassword (Maybe (HashMap Text Text))
- confirmForgotPassword_analyticsMetadata :: Lens' ConfirmForgotPassword (Maybe AnalyticsMetadataType)
- confirmForgotPassword_userContextData :: Lens' ConfirmForgotPassword (Maybe UserContextDataType)
- confirmForgotPassword_secretHash :: Lens' ConfirmForgotPassword (Maybe Text)
- confirmForgotPassword_clientId :: Lens' ConfirmForgotPassword Text
- confirmForgotPassword_username :: Lens' ConfirmForgotPassword Text
- confirmForgotPassword_confirmationCode :: Lens' ConfirmForgotPassword Text
- confirmForgotPassword_password :: Lens' ConfirmForgotPassword Text
- confirmForgotPasswordResponse_httpStatus :: Lens' ConfirmForgotPasswordResponse Int
- listUserImportJobs_paginationToken :: Lens' ListUserImportJobs (Maybe Text)
- listUserImportJobs_userPoolId :: Lens' ListUserImportJobs Text
- listUserImportJobs_maxResults :: Lens' ListUserImportJobs Natural
- listUserImportJobsResponse_paginationToken :: Lens' ListUserImportJobsResponse (Maybe Text)
- listUserImportJobsResponse_userImportJobs :: Lens' ListUserImportJobsResponse (Maybe (NonEmpty UserImportJobType))
- listUserImportJobsResponse_httpStatus :: Lens' ListUserImportJobsResponse Int
- listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- describeIdentityProvider_userPoolId :: Lens' DescribeIdentityProvider Text
- describeIdentityProvider_providerName :: Lens' DescribeIdentityProvider Text
- describeIdentityProviderResponse_httpStatus :: Lens' DescribeIdentityProviderResponse Int
- describeIdentityProviderResponse_identityProvider :: Lens' DescribeIdentityProviderResponse IdentityProviderType
- listUsers_paginationToken :: Lens' ListUsers (Maybe Text)
- listUsers_attributesToGet :: Lens' ListUsers (Maybe [Text])
- listUsers_limit :: Lens' ListUsers (Maybe Natural)
- listUsers_filter :: Lens' ListUsers (Maybe Text)
- listUsers_userPoolId :: Lens' ListUsers Text
- listUsersResponse_paginationToken :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_users :: Lens' ListUsersResponse (Maybe [UserType])
- listUsersResponse_httpStatus :: Lens' ListUsersResponse Int
- adminDeleteUserAttributes_userPoolId :: Lens' AdminDeleteUserAttributes Text
- adminDeleteUserAttributes_username :: Lens' AdminDeleteUserAttributes Text
- adminDeleteUserAttributes_userAttributeNames :: Lens' AdminDeleteUserAttributes [Text]
- adminDeleteUserAttributesResponse_httpStatus :: Lens' AdminDeleteUserAttributesResponse Int
- describeUserPoolDomain_domain :: Lens' DescribeUserPoolDomain Text
- describeUserPoolDomainResponse_domainDescription :: Lens' DescribeUserPoolDomainResponse (Maybe DomainDescriptionType)
- describeUserPoolDomainResponse_httpStatus :: Lens' DescribeUserPoolDomainResponse Int
- adminUpdateUserAttributes_clientMetadata :: Lens' AdminUpdateUserAttributes (Maybe (HashMap Text Text))
- adminUpdateUserAttributes_userPoolId :: Lens' AdminUpdateUserAttributes Text
- adminUpdateUserAttributes_username :: Lens' AdminUpdateUserAttributes Text
- adminUpdateUserAttributes_userAttributes :: Lens' AdminUpdateUserAttributes [AttributeType]
- adminUpdateUserAttributesResponse_httpStatus :: Lens' AdminUpdateUserAttributesResponse Int
- adminGetUser_userPoolId :: Lens' AdminGetUser Text
- adminGetUser_username :: Lens' AdminGetUser Text
- adminGetUserResponse_enabled :: Lens' AdminGetUserResponse (Maybe Bool)
- adminGetUserResponse_userStatus :: Lens' AdminGetUserResponse (Maybe UserStatusType)
- adminGetUserResponse_userAttributes :: Lens' AdminGetUserResponse (Maybe [AttributeType])
- adminGetUserResponse_userCreateDate :: Lens' AdminGetUserResponse (Maybe UTCTime)
- adminGetUserResponse_userMFASettingList :: Lens' AdminGetUserResponse (Maybe [Text])
- adminGetUserResponse_mfaOptions :: Lens' AdminGetUserResponse (Maybe [MFAOptionType])
- adminGetUserResponse_userLastModifiedDate :: Lens' AdminGetUserResponse (Maybe UTCTime)
- adminGetUserResponse_preferredMfaSetting :: Lens' AdminGetUserResponse (Maybe Text)
- adminGetUserResponse_httpStatus :: Lens' AdminGetUserResponse Int
- adminGetUserResponse_username :: Lens' AdminGetUserResponse Text
- adminUserGlobalSignOut_userPoolId :: Lens' AdminUserGlobalSignOut Text
- adminUserGlobalSignOut_username :: Lens' AdminUserGlobalSignOut Text
- adminUserGlobalSignOutResponse_httpStatus :: Lens' AdminUserGlobalSignOutResponse Int
- listUsersInGroup_nextToken :: Lens' ListUsersInGroup (Maybe Text)
- listUsersInGroup_limit :: Lens' ListUsersInGroup (Maybe Natural)
- listUsersInGroup_userPoolId :: Lens' ListUsersInGroup Text
- listUsersInGroup_groupName :: Lens' ListUsersInGroup Text
- listUsersInGroupResponse_users :: Lens' ListUsersInGroupResponse (Maybe [UserType])
- listUsersInGroupResponse_nextToken :: Lens' ListUsersInGroupResponse (Maybe Text)
- listUsersInGroupResponse_httpStatus :: Lens' ListUsersInGroupResponse Int
- associateSoftwareToken_accessToken :: Lens' AssociateSoftwareToken (Maybe Text)
- associateSoftwareToken_session :: Lens' AssociateSoftwareToken (Maybe Text)
- associateSoftwareTokenResponse_secretCode :: Lens' AssociateSoftwareTokenResponse (Maybe Text)
- associateSoftwareTokenResponse_session :: Lens' AssociateSoftwareTokenResponse (Maybe Text)
- associateSoftwareTokenResponse_httpStatus :: Lens' AssociateSoftwareTokenResponse Int
- adminDisableProviderForUser_userPoolId :: Lens' AdminDisableProviderForUser Text
- adminDisableProviderForUser_user :: Lens' AdminDisableProviderForUser ProviderUserIdentifierType
- adminDisableProviderForUserResponse_httpStatus :: Lens' AdminDisableProviderForUserResponse Int
- forgotPassword_clientMetadata :: Lens' ForgotPassword (Maybe (HashMap Text Text))
- forgotPassword_analyticsMetadata :: Lens' ForgotPassword (Maybe AnalyticsMetadataType)
- forgotPassword_userContextData :: Lens' ForgotPassword (Maybe UserContextDataType)
- forgotPassword_secretHash :: Lens' ForgotPassword (Maybe Text)
- forgotPassword_clientId :: Lens' ForgotPassword Text
- forgotPassword_username :: Lens' ForgotPassword Text
- forgotPasswordResponse_codeDeliveryDetails :: Lens' ForgotPasswordResponse (Maybe CodeDeliveryDetailsType)
- forgotPasswordResponse_httpStatus :: Lens' ForgotPasswordResponse Int
- describeUserPool_userPoolId :: Lens' DescribeUserPool Text
- describeUserPoolResponse_userPool :: Lens' DescribeUserPoolResponse (Maybe UserPoolType)
- describeUserPoolResponse_httpStatus :: Lens' DescribeUserPoolResponse Int
- initiateAuth_clientMetadata :: Lens' InitiateAuth (Maybe (HashMap Text Text))
- initiateAuth_analyticsMetadata :: Lens' InitiateAuth (Maybe AnalyticsMetadataType)
- initiateAuth_userContextData :: Lens' InitiateAuth (Maybe UserContextDataType)
- initiateAuth_authParameters :: Lens' InitiateAuth (Maybe (HashMap Text Text))
- initiateAuth_authFlow :: Lens' InitiateAuth AuthFlowType
- initiateAuth_clientId :: Lens' InitiateAuth Text
- initiateAuthResponse_challengeName :: Lens' InitiateAuthResponse (Maybe ChallengeNameType)
- initiateAuthResponse_challengeParameters :: Lens' InitiateAuthResponse (Maybe (HashMap Text Text))
- initiateAuthResponse_authenticationResult :: Lens' InitiateAuthResponse (Maybe AuthenticationResultType)
- initiateAuthResponse_session :: Lens' InitiateAuthResponse (Maybe Text)
- initiateAuthResponse_httpStatus :: Lens' InitiateAuthResponse Int
- adminListGroupsForUser_nextToken :: Lens' AdminListGroupsForUser (Maybe Text)
- adminListGroupsForUser_limit :: Lens' AdminListGroupsForUser (Maybe Natural)
- adminListGroupsForUser_username :: Lens' AdminListGroupsForUser Text
- adminListGroupsForUser_userPoolId :: Lens' AdminListGroupsForUser Text
- adminListGroupsForUserResponse_groups :: Lens' AdminListGroupsForUserResponse (Maybe [GroupType])
- adminListGroupsForUserResponse_nextToken :: Lens' AdminListGroupsForUserResponse (Maybe Text)
- adminListGroupsForUserResponse_httpStatus :: Lens' AdminListGroupsForUserResponse Int
- adminConfirmSignUp_clientMetadata :: Lens' AdminConfirmSignUp (Maybe (HashMap Text Text))
- adminConfirmSignUp_userPoolId :: Lens' AdminConfirmSignUp Text
- adminConfirmSignUp_username :: Lens' AdminConfirmSignUp Text
- adminConfirmSignUpResponse_httpStatus :: Lens' AdminConfirmSignUpResponse Int
- adminUpdateAuthEventFeedback_userPoolId :: Lens' AdminUpdateAuthEventFeedback Text
- adminUpdateAuthEventFeedback_username :: Lens' AdminUpdateAuthEventFeedback Text
- adminUpdateAuthEventFeedback_eventId :: Lens' AdminUpdateAuthEventFeedback Text
- adminUpdateAuthEventFeedback_feedbackValue :: Lens' AdminUpdateAuthEventFeedback FeedbackValueType
- adminUpdateAuthEventFeedbackResponse_httpStatus :: Lens' AdminUpdateAuthEventFeedbackResponse Int
- adminSetUserPassword_permanent :: Lens' AdminSetUserPassword (Maybe Bool)
- adminSetUserPassword_userPoolId :: Lens' AdminSetUserPassword Text
- adminSetUserPassword_username :: Lens' AdminSetUserPassword Text
- adminSetUserPassword_password :: Lens' AdminSetUserPassword Text
- adminSetUserPasswordResponse_httpStatus :: Lens' AdminSetUserPasswordResponse Int
- startUserImportJob_userPoolId :: Lens' StartUserImportJob Text
- startUserImportJob_jobId :: Lens' StartUserImportJob Text
- startUserImportJobResponse_userImportJob :: Lens' StartUserImportJobResponse (Maybe UserImportJobType)
- startUserImportJobResponse_httpStatus :: Lens' StartUserImportJobResponse Int
- createIdentityProvider_idpIdentifiers :: Lens' CreateIdentityProvider (Maybe [Text])
- createIdentityProvider_attributeMapping :: Lens' CreateIdentityProvider (Maybe (HashMap Text Text))
- createIdentityProvider_userPoolId :: Lens' CreateIdentityProvider Text
- createIdentityProvider_providerName :: Lens' CreateIdentityProvider Text
- createIdentityProvider_providerType :: Lens' CreateIdentityProvider IdentityProviderTypeType
- createIdentityProvider_providerDetails :: Lens' CreateIdentityProvider (HashMap Text Text)
- createIdentityProviderResponse_httpStatus :: Lens' CreateIdentityProviderResponse Int
- createIdentityProviderResponse_identityProvider :: Lens' CreateIdentityProviderResponse IdentityProviderType
- setUICustomization_clientId :: Lens' SetUICustomization (Maybe Text)
- setUICustomization_css :: Lens' SetUICustomization (Maybe Text)
- setUICustomization_imageFile :: Lens' SetUICustomization (Maybe ByteString)
- setUICustomization_userPoolId :: Lens' SetUICustomization Text
- setUICustomizationResponse_httpStatus :: Lens' SetUICustomizationResponse Int
- setUICustomizationResponse_uICustomization :: Lens' SetUICustomizationResponse UICustomizationType
- listIdentityProviders_nextToken :: Lens' ListIdentityProviders (Maybe Text)
- listIdentityProviders_maxResults :: Lens' ListIdentityProviders (Maybe Natural)
- listIdentityProviders_userPoolId :: Lens' ListIdentityProviders Text
- listIdentityProvidersResponse_nextToken :: Lens' ListIdentityProvidersResponse (Maybe Text)
- listIdentityProvidersResponse_httpStatus :: Lens' ListIdentityProvidersResponse Int
- listIdentityProvidersResponse_providers :: Lens' ListIdentityProvidersResponse [ProviderDescription]
- getDevice_accessToken :: Lens' GetDevice (Maybe Text)
- getDevice_deviceKey :: Lens' GetDevice Text
- getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int
- getDeviceResponse_device :: Lens' GetDeviceResponse DeviceType
- signUp_clientMetadata :: Lens' SignUp (Maybe (HashMap Text Text))
- signUp_analyticsMetadata :: Lens' SignUp (Maybe AnalyticsMetadataType)
- signUp_userContextData :: Lens' SignUp (Maybe UserContextDataType)
- signUp_userAttributes :: Lens' SignUp (Maybe [AttributeType])
- signUp_secretHash :: Lens' SignUp (Maybe Text)
- signUp_validationData :: Lens' SignUp (Maybe [AttributeType])
- signUp_clientId :: Lens' SignUp Text
- signUp_username :: Lens' SignUp Text
- signUp_password :: Lens' SignUp Text
- signUpResponse_codeDeliveryDetails :: Lens' SignUpResponse (Maybe CodeDeliveryDetailsType)
- signUpResponse_httpStatus :: Lens' SignUpResponse Int
- signUpResponse_userConfirmed :: Lens' SignUpResponse Bool
- signUpResponse_userSub :: Lens' SignUpResponse Text
- deleteResourceServer_userPoolId :: Lens' DeleteResourceServer Text
- deleteResourceServer_identifier :: Lens' DeleteResourceServer Text
- updateResourceServer_scopes :: Lens' UpdateResourceServer (Maybe [ResourceServerScopeType])
- updateResourceServer_userPoolId :: Lens' UpdateResourceServer Text
- updateResourceServer_identifier :: Lens' UpdateResourceServer Text
- updateResourceServer_name :: Lens' UpdateResourceServer Text
- updateResourceServerResponse_httpStatus :: Lens' UpdateResourceServerResponse Int
- updateResourceServerResponse_resourceServer :: Lens' UpdateResourceServerResponse ResourceServerType
- changePassword_previousPassword :: Lens' ChangePassword Text
- changePassword_proposedPassword :: Lens' ChangePassword Text
- changePassword_accessToken :: Lens' ChangePassword Text
- changePasswordResponse_httpStatus :: Lens' ChangePasswordResponse Int
- createUserPoolDomain_customDomainConfig :: Lens' CreateUserPoolDomain (Maybe CustomDomainConfigType)
- createUserPoolDomain_domain :: Lens' CreateUserPoolDomain Text
- createUserPoolDomain_userPoolId :: Lens' CreateUserPoolDomain Text
- createUserPoolDomainResponse_cloudFrontDomain :: Lens' CreateUserPoolDomainResponse (Maybe Text)
- createUserPoolDomainResponse_httpStatus :: Lens' CreateUserPoolDomainResponse Int
- respondToAuthChallenge_clientMetadata :: Lens' RespondToAuthChallenge (Maybe (HashMap Text Text))
- respondToAuthChallenge_analyticsMetadata :: Lens' RespondToAuthChallenge (Maybe AnalyticsMetadataType)
- respondToAuthChallenge_challengeResponses :: Lens' RespondToAuthChallenge (Maybe (HashMap Text Text))
- respondToAuthChallenge_userContextData :: Lens' RespondToAuthChallenge (Maybe UserContextDataType)
- respondToAuthChallenge_session :: Lens' RespondToAuthChallenge (Maybe Text)
- respondToAuthChallenge_clientId :: Lens' RespondToAuthChallenge Text
- respondToAuthChallenge_challengeName :: Lens' RespondToAuthChallenge ChallengeNameType
- respondToAuthChallengeResponse_challengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType)
- respondToAuthChallengeResponse_challengeParameters :: Lens' RespondToAuthChallengeResponse (Maybe (HashMap Text Text))
- respondToAuthChallengeResponse_authenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType)
- respondToAuthChallengeResponse_session :: Lens' RespondToAuthChallengeResponse (Maybe Text)
- respondToAuthChallengeResponse_httpStatus :: Lens' RespondToAuthChallengeResponse Int
- createUserPool_userPoolTags :: Lens' CreateUserPool (Maybe (HashMap Text Text))
- createUserPool_verificationMessageTemplate :: Lens' CreateUserPool (Maybe VerificationMessageTemplateType)
- createUserPool_emailVerificationMessage :: Lens' CreateUserPool (Maybe Text)
- createUserPool_smsAuthenticationMessage :: Lens' CreateUserPool (Maybe Text)
- createUserPool_userPoolAddOns :: Lens' CreateUserPool (Maybe UserPoolAddOnsType)
- createUserPool_emailVerificationSubject :: Lens' CreateUserPool (Maybe Text)
- createUserPool_usernameAttributes :: Lens' CreateUserPool (Maybe [UsernameAttributeType])
- createUserPool_aliasAttributes :: Lens' CreateUserPool (Maybe [AliasAttributeType])
- createUserPool_schema :: Lens' CreateUserPool (Maybe (NonEmpty SchemaAttributeType))
- createUserPool_accountRecoverySetting :: Lens' CreateUserPool (Maybe AccountRecoverySettingType)
- createUserPool_emailConfiguration :: Lens' CreateUserPool (Maybe EmailConfigurationType)
- createUserPool_smsVerificationMessage :: Lens' CreateUserPool (Maybe Text)
- createUserPool_mfaConfiguration :: Lens' CreateUserPool (Maybe UserPoolMfaType)
- createUserPool_lambdaConfig :: Lens' CreateUserPool (Maybe LambdaConfigType)
- createUserPool_smsConfiguration :: Lens' CreateUserPool (Maybe SmsConfigurationType)
- createUserPool_adminCreateUserConfig :: Lens' CreateUserPool (Maybe AdminCreateUserConfigType)
- createUserPool_deviceConfiguration :: Lens' CreateUserPool (Maybe DeviceConfigurationType)
- createUserPool_autoVerifiedAttributes :: Lens' CreateUserPool (Maybe [VerifiedAttributeType])
- createUserPool_policies :: Lens' CreateUserPool (Maybe UserPoolPolicyType)
- createUserPool_usernameConfiguration :: Lens' CreateUserPool (Maybe UsernameConfigurationType)
- createUserPool_poolName :: Lens' CreateUserPool Text
- createUserPoolResponse_userPool :: Lens' CreateUserPoolResponse (Maybe UserPoolType)
- createUserPoolResponse_httpStatus :: Lens' CreateUserPoolResponse Int
- adminGetDevice_deviceKey :: Lens' AdminGetDevice Text
- adminGetDevice_userPoolId :: Lens' AdminGetDevice Text
- adminGetDevice_username :: Lens' AdminGetDevice Text
- adminGetDeviceResponse_httpStatus :: Lens' AdminGetDeviceResponse Int
- adminGetDeviceResponse_device :: Lens' AdminGetDeviceResponse DeviceType
- getIdentityProviderByIdentifier_userPoolId :: Lens' GetIdentityProviderByIdentifier Text
- getIdentityProviderByIdentifier_idpIdentifier :: Lens' GetIdentityProviderByIdentifier Text
- getIdentityProviderByIdentifierResponse_httpStatus :: Lens' GetIdentityProviderByIdentifierResponse Int
- getIdentityProviderByIdentifierResponse_identityProvider :: Lens' GetIdentityProviderByIdentifierResponse IdentityProviderType
- adminRemoveUserFromGroup_userPoolId :: Lens' AdminRemoveUserFromGroup Text
- adminRemoveUserFromGroup_username :: Lens' AdminRemoveUserFromGroup Text
- adminRemoveUserFromGroup_groupName :: Lens' AdminRemoveUserFromGroup Text
- setRiskConfiguration_riskExceptionConfiguration :: Lens' SetRiskConfiguration (Maybe RiskExceptionConfigurationType)
- setRiskConfiguration_clientId :: Lens' SetRiskConfiguration (Maybe Text)
- setRiskConfiguration_accountTakeoverRiskConfiguration :: Lens' SetRiskConfiguration (Maybe AccountTakeoverRiskConfigurationType)
- setRiskConfiguration_compromisedCredentialsRiskConfiguration :: Lens' SetRiskConfiguration (Maybe CompromisedCredentialsRiskConfigurationType)
- setRiskConfiguration_userPoolId :: Lens' SetRiskConfiguration Text
- setRiskConfigurationResponse_httpStatus :: Lens' SetRiskConfigurationResponse Int
- setRiskConfigurationResponse_riskConfiguration :: Lens' SetRiskConfigurationResponse RiskConfigurationType
- confirmSignUp_clientMetadata :: Lens' ConfirmSignUp (Maybe (HashMap Text Text))
- confirmSignUp_forceAliasCreation :: Lens' ConfirmSignUp (Maybe Bool)
- confirmSignUp_analyticsMetadata :: Lens' ConfirmSignUp (Maybe AnalyticsMetadataType)
- confirmSignUp_userContextData :: Lens' ConfirmSignUp (Maybe UserContextDataType)
- confirmSignUp_secretHash :: Lens' ConfirmSignUp (Maybe Text)
- confirmSignUp_clientId :: Lens' ConfirmSignUp Text
- confirmSignUp_username :: Lens' ConfirmSignUp Text
- confirmSignUp_confirmationCode :: Lens' ConfirmSignUp Text
- confirmSignUpResponse_httpStatus :: Lens' ConfirmSignUpResponse Int
- listUserPools_nextToken :: Lens' ListUserPools (Maybe Text)
- listUserPools_maxResults :: Lens' ListUserPools Natural
- listUserPoolsResponse_userPools :: Lens' ListUserPoolsResponse (Maybe [UserPoolDescriptionType])
- listUserPoolsResponse_nextToken :: Lens' ListUserPoolsResponse (Maybe Text)
- listUserPoolsResponse_httpStatus :: Lens' ListUserPoolsResponse Int
- adminResetUserPassword_clientMetadata :: Lens' AdminResetUserPassword (Maybe (HashMap Text Text))
- adminResetUserPassword_userPoolId :: Lens' AdminResetUserPassword Text
- adminResetUserPassword_username :: Lens' AdminResetUserPassword Text
- adminResetUserPasswordResponse_httpStatus :: Lens' AdminResetUserPasswordResponse Int
- updateAuthEventFeedback_userPoolId :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_username :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_eventId :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_feedbackToken :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_feedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType
- updateAuthEventFeedbackResponse_httpStatus :: Lens' UpdateAuthEventFeedbackResponse Int
- createUserImportJob_jobName :: Lens' CreateUserImportJob Text
- createUserImportJob_userPoolId :: Lens' CreateUserImportJob Text
- createUserImportJob_cloudWatchLogsRoleArn :: Lens' CreateUserImportJob Text
- createUserImportJobResponse_userImportJob :: Lens' CreateUserImportJobResponse (Maybe UserImportJobType)
- createUserImportJobResponse_httpStatus :: Lens' CreateUserImportJobResponse Int
- getUser_accessToken :: Lens' GetUser Text
- getUserResponse_userMFASettingList :: Lens' GetUserResponse (Maybe [Text])
- getUserResponse_mfaOptions :: Lens' GetUserResponse (Maybe [MFAOptionType])
- getUserResponse_preferredMfaSetting :: Lens' GetUserResponse (Maybe Text)
- getUserResponse_httpStatus :: Lens' GetUserResponse Int
- getUserResponse_username :: Lens' GetUserResponse Text
- getUserResponse_userAttributes :: Lens' GetUserResponse [AttributeType]
- getUICustomization_clientId :: Lens' GetUICustomization (Maybe Text)
- getUICustomization_userPoolId :: Lens' GetUICustomization Text
- getUICustomizationResponse_httpStatus :: Lens' GetUICustomizationResponse Int
- getUICustomizationResponse_uICustomization :: Lens' GetUICustomizationResponse UICustomizationType
- getCSVHeader_userPoolId :: Lens' GetCSVHeader Text
- getCSVHeaderResponse_userPoolId :: Lens' GetCSVHeaderResponse (Maybe Text)
- getCSVHeaderResponse_cSVHeader :: Lens' GetCSVHeaderResponse (Maybe [Text])
- getCSVHeaderResponse_httpStatus :: Lens' GetCSVHeaderResponse Int
- adminDeleteUser_userPoolId :: Lens' AdminDeleteUser Text
- adminDeleteUser_username :: Lens' AdminDeleteUser Text
- adminForgetDevice_userPoolId :: Lens' AdminForgetDevice Text
- adminForgetDevice_username :: Lens' AdminForgetDevice Text
- adminForgetDevice_deviceKey :: Lens' AdminForgetDevice Text
- describeResourceServer_userPoolId :: Lens' DescribeResourceServer Text
- describeResourceServer_identifier :: Lens' DescribeResourceServer Text
- describeResourceServerResponse_httpStatus :: Lens' DescribeResourceServerResponse Int
- describeResourceServerResponse_resourceServer :: Lens' DescribeResourceServerResponse ResourceServerType
- setUserMFAPreference_sMSMfaSettings :: Lens' SetUserMFAPreference (Maybe SMSMfaSettingsType)
- setUserMFAPreference_softwareTokenMfaSettings :: Lens' SetUserMFAPreference (Maybe SoftwareTokenMfaSettingsType)
- setUserMFAPreference_accessToken :: Lens' SetUserMFAPreference Text
- setUserMFAPreferenceResponse_httpStatus :: Lens' SetUserMFAPreferenceResponse Int
- adminUpdateDeviceStatus_deviceRememberedStatus :: Lens' AdminUpdateDeviceStatus (Maybe DeviceRememberedStatusType)
- adminUpdateDeviceStatus_userPoolId :: Lens' AdminUpdateDeviceStatus Text
- adminUpdateDeviceStatus_username :: Lens' AdminUpdateDeviceStatus Text
- adminUpdateDeviceStatus_deviceKey :: Lens' AdminUpdateDeviceStatus Text
- adminUpdateDeviceStatusResponse_httpStatus :: Lens' AdminUpdateDeviceStatusResponse Int
- adminCreateUser_clientMetadata :: Lens' AdminCreateUser (Maybe (HashMap Text Text))
- adminCreateUser_temporaryPassword :: Lens' AdminCreateUser (Maybe Text)
- adminCreateUser_forceAliasCreation :: Lens' AdminCreateUser (Maybe Bool)
- adminCreateUser_desiredDeliveryMediums :: Lens' AdminCreateUser (Maybe [DeliveryMediumType])
- adminCreateUser_messageAction :: Lens' AdminCreateUser (Maybe MessageActionType)
- adminCreateUser_userAttributes :: Lens' AdminCreateUser (Maybe [AttributeType])
- adminCreateUser_validationData :: Lens' AdminCreateUser (Maybe [AttributeType])
- adminCreateUser_userPoolId :: Lens' AdminCreateUser Text
- adminCreateUser_username :: Lens' AdminCreateUser Text
- adminCreateUserResponse_user :: Lens' AdminCreateUserResponse (Maybe UserType)
- adminCreateUserResponse_httpStatus :: Lens' AdminCreateUserResponse Int
- addCustomAttributes_userPoolId :: Lens' AddCustomAttributes Text
- addCustomAttributes_customAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType)
- addCustomAttributesResponse_httpStatus :: Lens' AddCustomAttributesResponse Int
- listUserPoolClients_nextToken :: Lens' ListUserPoolClients (Maybe Text)
- listUserPoolClients_maxResults :: Lens' ListUserPoolClients (Maybe Natural)
- listUserPoolClients_userPoolId :: Lens' ListUserPoolClients Text
- listUserPoolClientsResponse_nextToken :: Lens' ListUserPoolClientsResponse (Maybe Text)
- listUserPoolClientsResponse_userPoolClients :: Lens' ListUserPoolClientsResponse (Maybe [UserPoolClientDescription])
- listUserPoolClientsResponse_httpStatus :: Lens' ListUserPoolClientsResponse Int
- adminSetUserMFAPreference_sMSMfaSettings :: Lens' AdminSetUserMFAPreference (Maybe SMSMfaSettingsType)
- adminSetUserMFAPreference_softwareTokenMfaSettings :: Lens' AdminSetUserMFAPreference (Maybe SoftwareTokenMfaSettingsType)
- adminSetUserMFAPreference_username :: Lens' AdminSetUserMFAPreference Text
- adminSetUserMFAPreference_userPoolId :: Lens' AdminSetUserMFAPreference Text
- adminSetUserMFAPreferenceResponse_httpStatus :: Lens' AdminSetUserMFAPreferenceResponse Int
- updateUserPoolClient_refreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural)
- updateUserPoolClient_explicitAuthFlows :: Lens' UpdateUserPoolClient (Maybe [ExplicitAuthFlowsType])
- updateUserPoolClient_supportedIdentityProviders :: Lens' UpdateUserPoolClient (Maybe [Text])
- updateUserPoolClient_logoutURLs :: Lens' UpdateUserPoolClient (Maybe [Text])
- updateUserPoolClient_allowedOAuthFlowsUserPoolClient :: Lens' UpdateUserPoolClient (Maybe Bool)
- updateUserPoolClient_idTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural)
- updateUserPoolClient_tokenValidityUnits :: Lens' UpdateUserPoolClient (Maybe TokenValidityUnitsType)
- updateUserPoolClient_defaultRedirectURI :: Lens' UpdateUserPoolClient (Maybe Text)
- updateUserPoolClient_enableTokenRevocation :: Lens' UpdateUserPoolClient (Maybe Bool)
- updateUserPoolClient_writeAttributes :: Lens' UpdateUserPoolClient (Maybe [Text])
- updateUserPoolClient_preventUserExistenceErrors :: Lens' UpdateUserPoolClient (Maybe PreventUserExistenceErrorTypes)
- updateUserPoolClient_accessTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural)
- updateUserPoolClient_readAttributes :: Lens' UpdateUserPoolClient (Maybe [Text])
- updateUserPoolClient_allowedOAuthScopes :: Lens' UpdateUserPoolClient (Maybe [Text])
- updateUserPoolClient_allowedOAuthFlows :: Lens' UpdateUserPoolClient (Maybe [OAuthFlowType])
- updateUserPoolClient_analyticsConfiguration :: Lens' UpdateUserPoolClient (Maybe AnalyticsConfigurationType)
- updateUserPoolClient_clientName :: Lens' UpdateUserPoolClient (Maybe Text)
- updateUserPoolClient_callbackURLs :: Lens' UpdateUserPoolClient (Maybe [Text])
- updateUserPoolClient_userPoolId :: Lens' UpdateUserPoolClient Text
- updateUserPoolClient_clientId :: Lens' UpdateUserPoolClient Text
- updateUserPoolClientResponse_userPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType)
- updateUserPoolClientResponse_httpStatus :: Lens' UpdateUserPoolClientResponse Int
- deleteUserPoolClient_userPoolId :: Lens' DeleteUserPoolClient Text
- deleteUserPoolClient_clientId :: Lens' DeleteUserPoolClient Text
- updateDeviceStatus_deviceRememberedStatus :: Lens' UpdateDeviceStatus (Maybe DeviceRememberedStatusType)
- updateDeviceStatus_accessToken :: Lens' UpdateDeviceStatus Text
- updateDeviceStatus_deviceKey :: Lens' UpdateDeviceStatus Text
- updateDeviceStatusResponse_httpStatus :: Lens' UpdateDeviceStatusResponse Int
- forgetDevice_accessToken :: Lens' ForgetDevice (Maybe Text)
- forgetDevice_deviceKey :: Lens' ForgetDevice Text
- getSigningCertificate_userPoolId :: Lens' GetSigningCertificate Text
- getSigningCertificateResponse_certificate :: Lens' GetSigningCertificateResponse (Maybe Text)
- getSigningCertificateResponse_httpStatus :: Lens' GetSigningCertificateResponse Int
- deleteUser_accessToken :: Lens' DeleteUser Text
- tagResource_resourceArn :: Lens' TagResource Text
- tagResource_tags :: Lens' TagResource (HashMap Text Text)
- tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
- createUserPoolClient_refreshTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural)
- createUserPoolClient_explicitAuthFlows :: Lens' CreateUserPoolClient (Maybe [ExplicitAuthFlowsType])
- createUserPoolClient_supportedIdentityProviders :: Lens' CreateUserPoolClient (Maybe [Text])
- createUserPoolClient_logoutURLs :: Lens' CreateUserPoolClient (Maybe [Text])
- createUserPoolClient_allowedOAuthFlowsUserPoolClient :: Lens' CreateUserPoolClient (Maybe Bool)
- createUserPoolClient_generateSecret :: Lens' CreateUserPoolClient (Maybe Bool)
- createUserPoolClient_idTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural)
- createUserPoolClient_tokenValidityUnits :: Lens' CreateUserPoolClient (Maybe TokenValidityUnitsType)
- createUserPoolClient_defaultRedirectURI :: Lens' CreateUserPoolClient (Maybe Text)
- createUserPoolClient_enableTokenRevocation :: Lens' CreateUserPoolClient (Maybe Bool)
- createUserPoolClient_writeAttributes :: Lens' CreateUserPoolClient (Maybe [Text])
- createUserPoolClient_preventUserExistenceErrors :: Lens' CreateUserPoolClient (Maybe PreventUserExistenceErrorTypes)
- createUserPoolClient_accessTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural)
- createUserPoolClient_readAttributes :: Lens' CreateUserPoolClient (Maybe [Text])
- createUserPoolClient_allowedOAuthScopes :: Lens' CreateUserPoolClient (Maybe [Text])
- createUserPoolClient_allowedOAuthFlows :: Lens' CreateUserPoolClient (Maybe [OAuthFlowType])
- createUserPoolClient_analyticsConfiguration :: Lens' CreateUserPoolClient (Maybe AnalyticsConfigurationType)
- createUserPoolClient_callbackURLs :: Lens' CreateUserPoolClient (Maybe [Text])
- createUserPoolClient_userPoolId :: Lens' CreateUserPoolClient Text
- createUserPoolClient_clientName :: Lens' CreateUserPoolClient Text
- createUserPoolClientResponse_userPoolClient :: Lens' CreateUserPoolClientResponse (Maybe UserPoolClientType)
- createUserPoolClientResponse_httpStatus :: Lens' CreateUserPoolClientResponse Int
- getUserPoolMfaConfig_userPoolId :: Lens' GetUserPoolMfaConfig Text
- getUserPoolMfaConfigResponse_smsMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SmsMfaConfigType)
- getUserPoolMfaConfigResponse_softwareTokenMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SoftwareTokenMfaConfigType)
- getUserPoolMfaConfigResponse_mfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe UserPoolMfaType)
- getUserPoolMfaConfigResponse_httpStatus :: Lens' GetUserPoolMfaConfigResponse Int
- createResourceServer_scopes :: Lens' CreateResourceServer (Maybe [ResourceServerScopeType])
- createResourceServer_userPoolId :: Lens' CreateResourceServer Text
- createResourceServer_identifier :: Lens' CreateResourceServer Text
- createResourceServer_name :: Lens' CreateResourceServer Text
- createResourceServerResponse_httpStatus :: Lens' CreateResourceServerResponse Int
- createResourceServerResponse_resourceServer :: Lens' CreateResourceServerResponse ResourceServerType
- adminListUserAuthEvents_nextToken :: Lens' AdminListUserAuthEvents (Maybe Text)
- adminListUserAuthEvents_maxResults :: Lens' AdminListUserAuthEvents (Maybe Natural)
- adminListUserAuthEvents_userPoolId :: Lens' AdminListUserAuthEvents Text
- adminListUserAuthEvents_username :: Lens' AdminListUserAuthEvents Text
- adminListUserAuthEventsResponse_nextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text)
- adminListUserAuthEventsResponse_authEvents :: Lens' AdminListUserAuthEventsResponse (Maybe [AuthEventType])
- adminListUserAuthEventsResponse_httpStatus :: Lens' AdminListUserAuthEventsResponse Int
- createGroup_precedence :: Lens' CreateGroup (Maybe Natural)
- createGroup_description :: Lens' CreateGroup (Maybe Text)
- createGroup_roleArn :: Lens' CreateGroup (Maybe Text)
- createGroup_groupName :: Lens' CreateGroup Text
- createGroup_userPoolId :: Lens' CreateGroup Text
- createGroupResponse_group :: Lens' CreateGroupResponse (Maybe GroupType)
- createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int
- adminAddUserToGroup_userPoolId :: Lens' AdminAddUserToGroup Text
- adminAddUserToGroup_username :: Lens' AdminAddUserToGroup Text
- adminAddUserToGroup_groupName :: Lens' AdminAddUserToGroup Text
- verifySoftwareToken_accessToken :: Lens' VerifySoftwareToken (Maybe Text)
- verifySoftwareToken_friendlyDeviceName :: Lens' VerifySoftwareToken (Maybe Text)
- verifySoftwareToken_session :: Lens' VerifySoftwareToken (Maybe Text)
- verifySoftwareToken_userCode :: Lens' VerifySoftwareToken Text
- verifySoftwareTokenResponse_status :: Lens' VerifySoftwareTokenResponse (Maybe VerifySoftwareTokenResponseType)
- verifySoftwareTokenResponse_session :: Lens' VerifySoftwareTokenResponse (Maybe Text)
- verifySoftwareTokenResponse_httpStatus :: Lens' VerifySoftwareTokenResponse Int
- untagResource_resourceArn :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource [Text]
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
- revokeToken_clientSecret :: Lens' RevokeToken (Maybe Text)
- revokeToken_token :: Lens' RevokeToken Text
- revokeToken_clientId :: Lens' RevokeToken Text
- revokeTokenResponse_httpStatus :: Lens' RevokeTokenResponse Int
- stopUserImportJob_userPoolId :: Lens' StopUserImportJob Text
- stopUserImportJob_jobId :: Lens' StopUserImportJob Text
- stopUserImportJobResponse_userImportJob :: Lens' StopUserImportJobResponse (Maybe UserImportJobType)
- stopUserImportJobResponse_httpStatus :: Lens' StopUserImportJobResponse Int
- describeUserImportJob_userPoolId :: Lens' DescribeUserImportJob Text
- describeUserImportJob_jobId :: Lens' DescribeUserImportJob Text
- describeUserImportJobResponse_userImportJob :: Lens' DescribeUserImportJobResponse (Maybe UserImportJobType)
- describeUserImportJobResponse_httpStatus :: Lens' DescribeUserImportJobResponse Int
- describeRiskConfiguration_clientId :: Lens' DescribeRiskConfiguration (Maybe Text)
- describeRiskConfiguration_userPoolId :: Lens' DescribeRiskConfiguration Text
- describeRiskConfigurationResponse_httpStatus :: Lens' DescribeRiskConfigurationResponse Int
- describeRiskConfigurationResponse_riskConfiguration :: Lens' DescribeRiskConfigurationResponse RiskConfigurationType
- deleteGroup_groupName :: Lens' DeleteGroup Text
- deleteGroup_userPoolId :: Lens' DeleteGroup Text
- updateGroup_precedence :: Lens' UpdateGroup (Maybe Natural)
- updateGroup_description :: Lens' UpdateGroup (Maybe Text)
- updateGroup_roleArn :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupName :: Lens' UpdateGroup Text
- updateGroup_userPoolId :: Lens' UpdateGroup Text
- updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe GroupType)
- updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
- globalSignOut_accessToken :: Lens' GlobalSignOut Text
- globalSignOutResponse_httpStatus :: Lens' GlobalSignOutResponse Int
- listGroups_nextToken :: Lens' ListGroups (Maybe Text)
- listGroups_limit :: Lens' ListGroups (Maybe Natural)
- listGroups_userPoolId :: Lens' ListGroups Text
- listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [GroupType])
- listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text)
- listGroupsResponse_httpStatus :: Lens' ListGroupsResponse Int
- updateIdentityProvider_idpIdentifiers :: Lens' UpdateIdentityProvider (Maybe [Text])
- updateIdentityProvider_attributeMapping :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text))
- updateIdentityProvider_providerDetails :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text))
- updateIdentityProvider_userPoolId :: Lens' UpdateIdentityProvider Text
- updateIdentityProvider_providerName :: Lens' UpdateIdentityProvider Text
- updateIdentityProviderResponse_httpStatus :: Lens' UpdateIdentityProviderResponse Int
- updateIdentityProviderResponse_identityProvider :: Lens' UpdateIdentityProviderResponse IdentityProviderType
- deleteIdentityProvider_userPoolId :: Lens' DeleteIdentityProvider Text
- deleteIdentityProvider_providerName :: Lens' DeleteIdentityProvider Text
- listResourceServers_nextToken :: Lens' ListResourceServers (Maybe Text)
- listResourceServers_maxResults :: Lens' ListResourceServers (Maybe Natural)
- listResourceServers_userPoolId :: Lens' ListResourceServers Text
- listResourceServersResponse_nextToken :: Lens' ListResourceServersResponse (Maybe Text)
- listResourceServersResponse_httpStatus :: Lens' ListResourceServersResponse Int
- listResourceServersResponse_resourceServers :: Lens' ListResourceServersResponse [ResourceServerType]
- adminRespondToAuthChallenge_clientMetadata :: Lens' AdminRespondToAuthChallenge (Maybe (HashMap Text Text))
- adminRespondToAuthChallenge_contextData :: Lens' AdminRespondToAuthChallenge (Maybe ContextDataType)
- adminRespondToAuthChallenge_analyticsMetadata :: Lens' AdminRespondToAuthChallenge (Maybe AnalyticsMetadataType)
- adminRespondToAuthChallenge_challengeResponses :: Lens' AdminRespondToAuthChallenge (Maybe (HashMap Text Text))
- adminRespondToAuthChallenge_session :: Lens' AdminRespondToAuthChallenge (Maybe Text)
- adminRespondToAuthChallenge_userPoolId :: Lens' AdminRespondToAuthChallenge Text
- adminRespondToAuthChallenge_clientId :: Lens' AdminRespondToAuthChallenge Text
- adminRespondToAuthChallenge_challengeName :: Lens' AdminRespondToAuthChallenge ChallengeNameType
- adminRespondToAuthChallengeResponse_challengeName :: Lens' AdminRespondToAuthChallengeResponse (Maybe ChallengeNameType)
- adminRespondToAuthChallengeResponse_challengeParameters :: Lens' AdminRespondToAuthChallengeResponse (Maybe (HashMap Text Text))
- adminRespondToAuthChallengeResponse_authenticationResult :: Lens' AdminRespondToAuthChallengeResponse (Maybe AuthenticationResultType)
- adminRespondToAuthChallengeResponse_session :: Lens' AdminRespondToAuthChallengeResponse (Maybe Text)
- adminRespondToAuthChallengeResponse_httpStatus :: Lens' AdminRespondToAuthChallengeResponse Int
- setUserSettings_accessToken :: Lens' SetUserSettings Text
- setUserSettings_mfaOptions :: Lens' SetUserSettings [MFAOptionType]
- setUserSettingsResponse_httpStatus :: Lens' SetUserSettingsResponse Int
- adminListDevices_paginationToken :: Lens' AdminListDevices (Maybe Text)
- adminListDevices_limit :: Lens' AdminListDevices (Maybe Natural)
- adminListDevices_userPoolId :: Lens' AdminListDevices Text
- adminListDevices_username :: Lens' AdminListDevices Text
- adminListDevicesResponse_paginationToken :: Lens' AdminListDevicesResponse (Maybe Text)
- adminListDevicesResponse_devices :: Lens' AdminListDevicesResponse (Maybe [DeviceType])
- adminListDevicesResponse_httpStatus :: Lens' AdminListDevicesResponse Int
- describeUserPoolClient_userPoolId :: Lens' DescribeUserPoolClient Text
- describeUserPoolClient_clientId :: Lens' DescribeUserPoolClient Text
- describeUserPoolClientResponse_userPoolClient :: Lens' DescribeUserPoolClientResponse (Maybe UserPoolClientType)
- describeUserPoolClientResponse_httpStatus :: Lens' DescribeUserPoolClientResponse Int
- resendConfirmationCode_clientMetadata :: Lens' ResendConfirmationCode (Maybe (HashMap Text Text))
- resendConfirmationCode_analyticsMetadata :: Lens' ResendConfirmationCode (Maybe AnalyticsMetadataType)
- resendConfirmationCode_userContextData :: Lens' ResendConfirmationCode (Maybe UserContextDataType)
- resendConfirmationCode_secretHash :: Lens' ResendConfirmationCode (Maybe Text)
- resendConfirmationCode_clientId :: Lens' ResendConfirmationCode Text
- resendConfirmationCode_username :: Lens' ResendConfirmationCode Text
- resendConfirmationCodeResponse_codeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType)
- resendConfirmationCodeResponse_httpStatus :: Lens' ResendConfirmationCodeResponse Int
- getGroup_groupName :: Lens' GetGroup Text
- getGroup_userPoolId :: Lens' GetGroup Text
- getGroupResponse_group :: Lens' GetGroupResponse (Maybe GroupType)
- getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
- adminSetUserSettings_userPoolId :: Lens' AdminSetUserSettings Text
- adminSetUserSettings_username :: Lens' AdminSetUserSettings Text
- adminSetUserSettings_mfaOptions :: Lens' AdminSetUserSettings [MFAOptionType]
- adminSetUserSettingsResponse_httpStatus :: Lens' AdminSetUserSettingsResponse Int
- listDevices_paginationToken :: Lens' ListDevices (Maybe Text)
- listDevices_limit :: Lens' ListDevices (Maybe Natural)
- listDevices_accessToken :: Lens' ListDevices Text
- listDevicesResponse_paginationToken :: Lens' ListDevicesResponse (Maybe Text)
- listDevicesResponse_devices :: Lens' ListDevicesResponse (Maybe [DeviceType])
- listDevicesResponse_httpStatus :: Lens' ListDevicesResponse Int
- accountRecoverySettingType_recoveryMechanisms :: Lens' AccountRecoverySettingType (Maybe (NonEmpty RecoveryOptionType))
- accountTakeoverActionType_notify :: Lens' AccountTakeoverActionType Bool
- accountTakeoverActionType_eventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType
- accountTakeoverActionsType_lowAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
- accountTakeoverActionsType_highAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
- accountTakeoverActionsType_mediumAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
- accountTakeoverRiskConfigurationType_notifyConfiguration :: Lens' AccountTakeoverRiskConfigurationType (Maybe NotifyConfigurationType)
- accountTakeoverRiskConfigurationType_actions :: Lens' AccountTakeoverRiskConfigurationType AccountTakeoverActionsType
- adminCreateUserConfigType_allowAdminCreateUserOnly :: Lens' AdminCreateUserConfigType (Maybe Bool)
- adminCreateUserConfigType_unusedAccountValidityDays :: Lens' AdminCreateUserConfigType (Maybe Natural)
- adminCreateUserConfigType_inviteMessageTemplate :: Lens' AdminCreateUserConfigType (Maybe MessageTemplateType)
- analyticsConfigurationType_applicationArn :: Lens' AnalyticsConfigurationType (Maybe Text)
- analyticsConfigurationType_userDataShared :: Lens' AnalyticsConfigurationType (Maybe Bool)
- analyticsConfigurationType_applicationId :: Lens' AnalyticsConfigurationType (Maybe Text)
- analyticsConfigurationType_externalId :: Lens' AnalyticsConfigurationType (Maybe Text)
- analyticsConfigurationType_roleArn :: Lens' AnalyticsConfigurationType (Maybe Text)
- analyticsMetadataType_analyticsEndpointId :: Lens' AnalyticsMetadataType (Maybe Text)
- attributeType_value :: Lens' AttributeType (Maybe Text)
- attributeType_name :: Lens' AttributeType Text
- authEventType_eventRisk :: Lens' AuthEventType (Maybe EventRiskType)
- authEventType_eventResponse :: Lens' AuthEventType (Maybe EventResponseType)
- authEventType_eventContextData :: Lens' AuthEventType (Maybe EventContextDataType)
- authEventType_challengeResponses :: Lens' AuthEventType (Maybe [ChallengeResponseType])
- authEventType_eventType :: Lens' AuthEventType (Maybe EventType)
- authEventType_creationDate :: Lens' AuthEventType (Maybe UTCTime)
- authEventType_eventFeedback :: Lens' AuthEventType (Maybe EventFeedbackType)
- authEventType_eventId :: Lens' AuthEventType (Maybe Text)
- authenticationResultType_accessToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_refreshToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_newDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)
- authenticationResultType_expiresIn :: Lens' AuthenticationResultType (Maybe Int)
- authenticationResultType_tokenType :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_idToken :: Lens' AuthenticationResultType (Maybe Text)
- challengeResponseType_challengeName :: Lens' ChallengeResponseType (Maybe ChallengeName)
- challengeResponseType_challengeResponse :: Lens' ChallengeResponseType (Maybe ChallengeResponse)
- codeDeliveryDetailsType_destination :: Lens' CodeDeliveryDetailsType (Maybe Text)
- codeDeliveryDetailsType_deliveryMedium :: Lens' CodeDeliveryDetailsType (Maybe DeliveryMediumType)
- codeDeliveryDetailsType_attributeName :: Lens' CodeDeliveryDetailsType (Maybe Text)
- compromisedCredentialsActionsType_eventAction :: Lens' CompromisedCredentialsActionsType CompromisedCredentialsEventActionType
- compromisedCredentialsRiskConfigurationType_eventFilter :: Lens' CompromisedCredentialsRiskConfigurationType (Maybe [EventFilterType])
- compromisedCredentialsRiskConfigurationType_actions :: Lens' CompromisedCredentialsRiskConfigurationType CompromisedCredentialsActionsType
- contextDataType_encodedData :: Lens' ContextDataType (Maybe Text)
- contextDataType_ipAddress :: Lens' ContextDataType Text
- contextDataType_serverName :: Lens' ContextDataType Text
- contextDataType_serverPath :: Lens' ContextDataType Text
- contextDataType_httpHeaders :: Lens' ContextDataType [HttpHeader]
- customDomainConfigType_certificateArn :: Lens' CustomDomainConfigType Text
- customEmailLambdaVersionConfigType_lambdaVersion :: Lens' CustomEmailLambdaVersionConfigType CustomEmailSenderLambdaVersionType
- customEmailLambdaVersionConfigType_lambdaArn :: Lens' CustomEmailLambdaVersionConfigType Text
- customSMSLambdaVersionConfigType_lambdaVersion :: Lens' CustomSMSLambdaVersionConfigType CustomSMSSenderLambdaVersionType
- customSMSLambdaVersionConfigType_lambdaArn :: Lens' CustomSMSLambdaVersionConfigType Text
- deviceConfigurationType_challengeRequiredOnNewDevice :: Lens' DeviceConfigurationType (Maybe Bool)
- deviceConfigurationType_deviceOnlyRememberedOnUserPrompt :: Lens' DeviceConfigurationType (Maybe Bool)
- deviceSecretVerifierConfigType_passwordVerifier :: Lens' DeviceSecretVerifierConfigType (Maybe Text)
- deviceSecretVerifierConfigType_salt :: Lens' DeviceSecretVerifierConfigType (Maybe Text)
- deviceType_deviceLastModifiedDate :: Lens' DeviceType (Maybe UTCTime)
- deviceType_deviceCreateDate :: Lens' DeviceType (Maybe UTCTime)
- deviceType_deviceAttributes :: Lens' DeviceType (Maybe [AttributeType])
- deviceType_deviceKey :: Lens' DeviceType (Maybe Text)
- deviceType_deviceLastAuthenticatedDate :: Lens' DeviceType (Maybe UTCTime)
- domainDescriptionType_status :: Lens' DomainDescriptionType (Maybe DomainStatusType)
- domainDescriptionType_cloudFrontDistribution :: Lens' DomainDescriptionType (Maybe Text)
- domainDescriptionType_userPoolId :: Lens' DomainDescriptionType (Maybe Text)
- domainDescriptionType_domain :: Lens' DomainDescriptionType (Maybe Text)
- domainDescriptionType_aWSAccountId :: Lens' DomainDescriptionType (Maybe Text)
- domainDescriptionType_customDomainConfig :: Lens' DomainDescriptionType (Maybe CustomDomainConfigType)
- domainDescriptionType_version :: Lens' DomainDescriptionType (Maybe Text)
- domainDescriptionType_s3Bucket :: Lens' DomainDescriptionType (Maybe Text)
- emailConfigurationType_sourceArn :: Lens' EmailConfigurationType (Maybe Text)
- emailConfigurationType_from :: Lens' EmailConfigurationType (Maybe Text)
- emailConfigurationType_configurationSet :: Lens' EmailConfigurationType (Maybe Text)
- emailConfigurationType_replyToEmailAddress :: Lens' EmailConfigurationType (Maybe Text)
- emailConfigurationType_emailSendingAccount :: Lens' EmailConfigurationType (Maybe EmailSendingAccountType)
- eventContextDataType_ipAddress :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_country :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_city :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_deviceName :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_timezone :: Lens' EventContextDataType (Maybe Text)
- eventFeedbackType_feedbackDate :: Lens' EventFeedbackType (Maybe UTCTime)
- eventFeedbackType_feedbackValue :: Lens' EventFeedbackType FeedbackValueType
- eventFeedbackType_provider :: Lens' EventFeedbackType Text
- eventRiskType_compromisedCredentialsDetected :: Lens' EventRiskType (Maybe Bool)
- eventRiskType_riskLevel :: Lens' EventRiskType (Maybe RiskLevelType)
- eventRiskType_riskDecision :: Lens' EventRiskType (Maybe RiskDecisionType)
- groupType_lastModifiedDate :: Lens' GroupType (Maybe UTCTime)
- groupType_userPoolId :: Lens' GroupType (Maybe Text)
- groupType_creationDate :: Lens' GroupType (Maybe UTCTime)
- groupType_precedence :: Lens' GroupType (Maybe Natural)
- groupType_groupName :: Lens' GroupType (Maybe Text)
- groupType_description :: Lens' GroupType (Maybe Text)
- groupType_roleArn :: Lens' GroupType (Maybe Text)
- httpHeader_headerValue :: Lens' HttpHeader (Maybe Text)
- httpHeader_headerName :: Lens' HttpHeader (Maybe Text)
- identityProviderType_lastModifiedDate :: Lens' IdentityProviderType (Maybe UTCTime)
- identityProviderType_userPoolId :: Lens' IdentityProviderType (Maybe Text)
- identityProviderType_providerType :: Lens' IdentityProviderType (Maybe IdentityProviderTypeType)
- identityProviderType_creationDate :: Lens' IdentityProviderType (Maybe UTCTime)
- identityProviderType_idpIdentifiers :: Lens' IdentityProviderType (Maybe [Text])
- identityProviderType_attributeMapping :: Lens' IdentityProviderType (Maybe (HashMap Text Text))
- identityProviderType_providerDetails :: Lens' IdentityProviderType (Maybe (HashMap Text Text))
- identityProviderType_providerName :: Lens' IdentityProviderType (Maybe Text)
- lambdaConfigType_preAuthentication :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_createAuthChallenge :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_verifyAuthChallengeResponse :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_customSMSSender :: Lens' LambdaConfigType (Maybe CustomSMSLambdaVersionConfigType)
- lambdaConfigType_postAuthentication :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_customMessage :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_defineAuthChallenge :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_customEmailSender :: Lens' LambdaConfigType (Maybe CustomEmailLambdaVersionConfigType)
- lambdaConfigType_kmsKeyID :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_postConfirmation :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_preTokenGeneration :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_userMigration :: Lens' LambdaConfigType (Maybe Text)
- lambdaConfigType_preSignUp :: Lens' LambdaConfigType (Maybe Text)
- mfaOptionType_deliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType)
- mfaOptionType_attributeName :: Lens' MFAOptionType (Maybe Text)
- messageTemplateType_emailSubject :: Lens' MessageTemplateType (Maybe Text)
- messageTemplateType_sMSMessage :: Lens' MessageTemplateType (Maybe Text)
- messageTemplateType_emailMessage :: Lens' MessageTemplateType (Maybe Text)
- newDeviceMetadataType_deviceGroupKey :: Lens' NewDeviceMetadataType (Maybe Text)
- newDeviceMetadataType_deviceKey :: Lens' NewDeviceMetadataType (Maybe Text)
- notifyConfigurationType_noActionEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
- notifyConfigurationType_from :: Lens' NotifyConfigurationType (Maybe Text)
- notifyConfigurationType_replyTo :: Lens' NotifyConfigurationType (Maybe Text)
- notifyConfigurationType_blockEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
- notifyConfigurationType_mfaEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
- notifyConfigurationType_sourceArn :: Lens' NotifyConfigurationType Text
- notifyEmailType_textBody :: Lens' NotifyEmailType (Maybe Text)
- notifyEmailType_htmlBody :: Lens' NotifyEmailType (Maybe Text)
- notifyEmailType_subject :: Lens' NotifyEmailType Text
- numberAttributeConstraintsType_maxValue :: Lens' NumberAttributeConstraintsType (Maybe Text)
- numberAttributeConstraintsType_minValue :: Lens' NumberAttributeConstraintsType (Maybe Text)
- passwordPolicyType_requireNumbers :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_requireUppercase :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_requireLowercase :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_minimumLength :: Lens' PasswordPolicyType (Maybe Natural)
- passwordPolicyType_requireSymbols :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_temporaryPasswordValidityDays :: Lens' PasswordPolicyType (Maybe Natural)
- providerDescription_lastModifiedDate :: Lens' ProviderDescription (Maybe UTCTime)
- providerDescription_providerType :: Lens' ProviderDescription (Maybe IdentityProviderTypeType)
- providerDescription_creationDate :: Lens' ProviderDescription (Maybe UTCTime)
- providerDescription_providerName :: Lens' ProviderDescription (Maybe Text)
- providerUserIdentifierType_providerAttributeValue :: Lens' ProviderUserIdentifierType (Maybe Text)
- providerUserIdentifierType_providerAttributeName :: Lens' ProviderUserIdentifierType (Maybe Text)
- providerUserIdentifierType_providerName :: Lens' ProviderUserIdentifierType (Maybe Text)
- recoveryOptionType_priority :: Lens' RecoveryOptionType Natural
- recoveryOptionType_name :: Lens' RecoveryOptionType RecoveryOptionNameType
- resourceServerScopeType_scopeName :: Lens' ResourceServerScopeType Text
- resourceServerScopeType_scopeDescription :: Lens' ResourceServerScopeType Text
- resourceServerType_userPoolId :: Lens' ResourceServerType (Maybe Text)
- resourceServerType_identifier :: Lens' ResourceServerType (Maybe Text)
- resourceServerType_scopes :: Lens' ResourceServerType (Maybe [ResourceServerScopeType])
- resourceServerType_name :: Lens' ResourceServerType (Maybe Text)
- riskConfigurationType_riskExceptionConfiguration :: Lens' RiskConfigurationType (Maybe RiskExceptionConfigurationType)
- riskConfigurationType_clientId :: Lens' RiskConfigurationType (Maybe Text)
- riskConfigurationType_accountTakeoverRiskConfiguration :: Lens' RiskConfigurationType (Maybe AccountTakeoverRiskConfigurationType)
- riskConfigurationType_lastModifiedDate :: Lens' RiskConfigurationType (Maybe UTCTime)
- riskConfigurationType_userPoolId :: Lens' RiskConfigurationType (Maybe Text)
- riskConfigurationType_compromisedCredentialsRiskConfiguration :: Lens' RiskConfigurationType (Maybe CompromisedCredentialsRiskConfigurationType)
- riskExceptionConfigurationType_skippedIPRangeList :: Lens' RiskExceptionConfigurationType (Maybe [Text])
- riskExceptionConfigurationType_blockedIPRangeList :: Lens' RiskExceptionConfigurationType (Maybe [Text])
- sMSMfaSettingsType_enabled :: Lens' SMSMfaSettingsType (Maybe Bool)
- sMSMfaSettingsType_preferredMfa :: Lens' SMSMfaSettingsType (Maybe Bool)
- schemaAttributeType_numberAttributeConstraints :: Lens' SchemaAttributeType (Maybe NumberAttributeConstraintsType)
- schemaAttributeType_required :: Lens' SchemaAttributeType (Maybe Bool)
- schemaAttributeType_attributeDataType :: Lens' SchemaAttributeType (Maybe AttributeDataType)
- schemaAttributeType_stringAttributeConstraints :: Lens' SchemaAttributeType (Maybe StringAttributeConstraintsType)
- schemaAttributeType_name :: Lens' SchemaAttributeType (Maybe Text)
- schemaAttributeType_developerOnlyAttribute :: Lens' SchemaAttributeType (Maybe Bool)
- schemaAttributeType_mutable :: Lens' SchemaAttributeType (Maybe Bool)
- smsConfigurationType_externalId :: Lens' SmsConfigurationType (Maybe Text)
- smsConfigurationType_snsCallerArn :: Lens' SmsConfigurationType Text
- smsMfaConfigType_smsAuthenticationMessage :: Lens' SmsMfaConfigType (Maybe Text)
- smsMfaConfigType_smsConfiguration :: Lens' SmsMfaConfigType (Maybe SmsConfigurationType)
- softwareTokenMfaConfigType_enabled :: Lens' SoftwareTokenMfaConfigType (Maybe Bool)
- softwareTokenMfaSettingsType_enabled :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool)
- softwareTokenMfaSettingsType_preferredMfa :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool)
- stringAttributeConstraintsType_maxLength :: Lens' StringAttributeConstraintsType (Maybe Text)
- stringAttributeConstraintsType_minLength :: Lens' StringAttributeConstraintsType (Maybe Text)
- tokenValidityUnitsType_accessToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType)
- tokenValidityUnitsType_refreshToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType)
- tokenValidityUnitsType_idToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType)
- uICustomizationType_clientId :: Lens' UICustomizationType (Maybe Text)
- uICustomizationType_lastModifiedDate :: Lens' UICustomizationType (Maybe UTCTime)
- uICustomizationType_userPoolId :: Lens' UICustomizationType (Maybe Text)
- uICustomizationType_css :: Lens' UICustomizationType (Maybe Text)
- uICustomizationType_cSSVersion :: Lens' UICustomizationType (Maybe Text)
- uICustomizationType_imageUrl :: Lens' UICustomizationType (Maybe Text)
- uICustomizationType_creationDate :: Lens' UICustomizationType (Maybe UTCTime)
- userContextDataType_encodedData :: Lens' UserContextDataType (Maybe Text)
- userImportJobType_status :: Lens' UserImportJobType (Maybe UserImportJobStatusType)
- userImportJobType_skippedUsers :: Lens' UserImportJobType (Maybe Integer)
- userImportJobType_jobId :: Lens' UserImportJobType (Maybe Text)
- userImportJobType_userPoolId :: Lens' UserImportJobType (Maybe Text)
- userImportJobType_jobName :: Lens' UserImportJobType (Maybe Text)
- userImportJobType_preSignedUrl :: Lens' UserImportJobType (Maybe Text)
- userImportJobType_failedUsers :: Lens' UserImportJobType (Maybe Integer)
- userImportJobType_startDate :: Lens' UserImportJobType (Maybe UTCTime)
- userImportJobType_completionMessage :: Lens' UserImportJobType (Maybe Text)
- userImportJobType_creationDate :: Lens' UserImportJobType (Maybe UTCTime)
- userImportJobType_completionDate :: Lens' UserImportJobType (Maybe UTCTime)
- userImportJobType_cloudWatchLogsRoleArn :: Lens' UserImportJobType (Maybe Text)
- userImportJobType_importedUsers :: Lens' UserImportJobType (Maybe Integer)
- userPoolAddOnsType_advancedSecurityMode :: Lens' UserPoolAddOnsType AdvancedSecurityModeType
- userPoolClientDescription_clientId :: Lens' UserPoolClientDescription (Maybe Text)
- userPoolClientDescription_userPoolId :: Lens' UserPoolClientDescription (Maybe Text)
- userPoolClientDescription_clientName :: Lens' UserPoolClientDescription (Maybe Text)
- userPoolClientType_refreshTokenValidity :: Lens' UserPoolClientType (Maybe Natural)
- userPoolClientType_clientId :: Lens' UserPoolClientType (Maybe Text)
- userPoolClientType_explicitAuthFlows :: Lens' UserPoolClientType (Maybe [ExplicitAuthFlowsType])
- userPoolClientType_clientSecret :: Lens' UserPoolClientType (Maybe Text)
- userPoolClientType_lastModifiedDate :: Lens' UserPoolClientType (Maybe UTCTime)
- userPoolClientType_supportedIdentityProviders :: Lens' UserPoolClientType (Maybe [Text])
- userPoolClientType_logoutURLs :: Lens' UserPoolClientType (Maybe [Text])
- userPoolClientType_allowedOAuthFlowsUserPoolClient :: Lens' UserPoolClientType (Maybe Bool)
- userPoolClientType_userPoolId :: Lens' UserPoolClientType (Maybe Text)
- userPoolClientType_idTokenValidity :: Lens' UserPoolClientType (Maybe Natural)
- userPoolClientType_tokenValidityUnits :: Lens' UserPoolClientType (Maybe TokenValidityUnitsType)
- userPoolClientType_defaultRedirectURI :: Lens' UserPoolClientType (Maybe Text)
- userPoolClientType_enableTokenRevocation :: Lens' UserPoolClientType (Maybe Bool)
- userPoolClientType_writeAttributes :: Lens' UserPoolClientType (Maybe [Text])
- userPoolClientType_preventUserExistenceErrors :: Lens' UserPoolClientType (Maybe PreventUserExistenceErrorTypes)
- userPoolClientType_accessTokenValidity :: Lens' UserPoolClientType (Maybe Natural)
- userPoolClientType_creationDate :: Lens' UserPoolClientType (Maybe UTCTime)
- userPoolClientType_readAttributes :: Lens' UserPoolClientType (Maybe [Text])
- userPoolClientType_allowedOAuthScopes :: Lens' UserPoolClientType (Maybe [Text])
- userPoolClientType_allowedOAuthFlows :: Lens' UserPoolClientType (Maybe [OAuthFlowType])
- userPoolClientType_analyticsConfiguration :: Lens' UserPoolClientType (Maybe AnalyticsConfigurationType)
- userPoolClientType_clientName :: Lens' UserPoolClientType (Maybe Text)
- userPoolClientType_callbackURLs :: Lens' UserPoolClientType (Maybe [Text])
- userPoolDescriptionType_status :: Lens' UserPoolDescriptionType (Maybe StatusType)
- userPoolDescriptionType_lastModifiedDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)
- userPoolDescriptionType_name :: Lens' UserPoolDescriptionType (Maybe Text)
- userPoolDescriptionType_id :: Lens' UserPoolDescriptionType (Maybe Text)
- userPoolDescriptionType_creationDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)
- userPoolDescriptionType_lambdaConfig :: Lens' UserPoolDescriptionType (Maybe LambdaConfigType)
- userPoolPolicyType_passwordPolicy :: Lens' UserPoolPolicyType (Maybe PasswordPolicyType)
- userPoolType_status :: Lens' UserPoolType (Maybe StatusType)
- userPoolType_userPoolTags :: Lens' UserPoolType (Maybe (HashMap Text Text))
- userPoolType_emailConfigurationFailure :: Lens' UserPoolType (Maybe Text)
- userPoolType_lastModifiedDate :: Lens' UserPoolType (Maybe UTCTime)
- userPoolType_verificationMessageTemplate :: Lens' UserPoolType (Maybe VerificationMessageTemplateType)
- userPoolType_estimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int)
- userPoolType_arn :: Lens' UserPoolType (Maybe Text)
- userPoolType_domain :: Lens' UserPoolType (Maybe Text)
- userPoolType_customDomain :: Lens' UserPoolType (Maybe Text)
- userPoolType_emailVerificationMessage :: Lens' UserPoolType (Maybe Text)
- userPoolType_smsAuthenticationMessage :: Lens' UserPoolType (Maybe Text)
- userPoolType_userPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType)
- userPoolType_schemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType))
- userPoolType_emailVerificationSubject :: Lens' UserPoolType (Maybe Text)
- userPoolType_usernameAttributes :: Lens' UserPoolType (Maybe [UsernameAttributeType])
- userPoolType_aliasAttributes :: Lens' UserPoolType (Maybe [AliasAttributeType])
- userPoolType_accountRecoverySetting :: Lens' UserPoolType (Maybe AccountRecoverySettingType)
- userPoolType_emailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType)
- userPoolType_smsVerificationMessage :: Lens' UserPoolType (Maybe Text)
- userPoolType_name :: Lens' UserPoolType (Maybe Text)
- userPoolType_mfaConfiguration :: Lens' UserPoolType (Maybe UserPoolMfaType)
- userPoolType_id :: Lens' UserPoolType (Maybe Text)
- userPoolType_smsConfigurationFailure :: Lens' UserPoolType (Maybe Text)
- userPoolType_creationDate :: Lens' UserPoolType (Maybe UTCTime)
- userPoolType_lambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType)
- userPoolType_smsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType)
- userPoolType_adminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType)
- userPoolType_deviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType)
- userPoolType_autoVerifiedAttributes :: Lens' UserPoolType (Maybe [VerifiedAttributeType])
- userPoolType_policies :: Lens' UserPoolType (Maybe UserPoolPolicyType)
- userPoolType_usernameConfiguration :: Lens' UserPoolType (Maybe UsernameConfigurationType)
- userType_enabled :: Lens' UserType (Maybe Bool)
- userType_userStatus :: Lens' UserType (Maybe UserStatusType)
- userType_username :: Lens' UserType (Maybe Text)
- userType_userCreateDate :: Lens' UserType (Maybe UTCTime)
- userType_attributes :: Lens' UserType (Maybe [AttributeType])
- userType_mfaOptions :: Lens' UserType (Maybe [MFAOptionType])
- userType_userLastModifiedDate :: Lens' UserType (Maybe UTCTime)
- usernameConfigurationType_caseSensitive :: Lens' UsernameConfigurationType Bool
- verificationMessageTemplateType_defaultEmailOption :: Lens' VerificationMessageTemplateType (Maybe DefaultEmailOptionType)
- verificationMessageTemplateType_emailSubject :: Lens' VerificationMessageTemplateType (Maybe Text)
- verificationMessageTemplateType_emailSubjectByLink :: Lens' VerificationMessageTemplateType (Maybe Text)
- verificationMessageTemplateType_smsMessage :: Lens' VerificationMessageTemplateType (Maybe Text)
- verificationMessageTemplateType_emailMessageByLink :: Lens' VerificationMessageTemplateType (Maybe Text)
- verificationMessageTemplateType_emailMessage :: Lens' VerificationMessageTemplateType (Maybe Text)
Operations
DeleteUserPool
deleteUserPool_userPoolId :: Lens' DeleteUserPool Text Source #
The user pool ID for the user pool you want to delete.
UpdateUserPool
updateUserPool_userPoolTags :: Lens' UpdateUserPool (Maybe (HashMap Text Text)) Source #
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
updateUserPool_verificationMessageTemplate :: Lens' UpdateUserPool (Maybe VerificationMessageTemplateType) Source #
The template for verification messages.
updateUserPool_emailVerificationMessage :: Lens' UpdateUserPool (Maybe Text) Source #
The contents of the email verification message.
updateUserPool_smsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text) Source #
The contents of the SMS authentication message.
updateUserPool_userPoolAddOns :: Lens' UpdateUserPool (Maybe UserPoolAddOnsType) Source #
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode
to the value "AUDIT".
updateUserPool_emailVerificationSubject :: Lens' UpdateUserPool (Maybe Text) Source #
The subject of the email verification message.
updateUserPool_accountRecoverySetting :: Lens' UpdateUserPool (Maybe AccountRecoverySettingType) Source #
Use this setting to define which verified available method a user can
use to recover their password when they call ForgotPassword
. It allows
you to define a preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid password
recovery mechanism if the user also has SMS MFA enabled. In the absence
of this setting, Cognito uses the legacy behavior to determine the
recovery method where SMS is preferred over email.
updateUserPool_emailConfiguration :: Lens' UpdateUserPool (Maybe EmailConfigurationType) Source #
Email configuration.
updateUserPool_smsVerificationMessage :: Lens' UpdateUserPool (Maybe Text) Source #
A container with information about the SMS verification message.
updateUserPool_mfaConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMfaType) Source #
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.ON
- MFA tokens are required for all user registrations. You can only specify ON when you are initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools.OPTIONAL
- Users have the option when registering to create an MFA token.
updateUserPool_lambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType) Source #
The Lambda configuration information from the request to update the user pool.
updateUserPool_smsConfiguration :: Lens' UpdateUserPool (Maybe SmsConfigurationType) Source #
SMS configuration.
updateUserPool_adminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType) Source #
The configuration for AdminCreateUser
requests.
updateUserPool_deviceConfiguration :: Lens' UpdateUserPool (Maybe DeviceConfigurationType) Source #
Device configuration.
updateUserPool_autoVerifiedAttributes :: Lens' UpdateUserPool (Maybe [VerifiedAttributeType]) Source #
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
updateUserPool_policies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType) Source #
A container with the policies you wish to update in a user pool.
updateUserPool_userPoolId :: Lens' UpdateUserPool Text Source #
The user pool ID for the user pool you want to update.
updateUserPoolResponse_httpStatus :: Lens' UpdateUserPoolResponse Int Source #
The response's http status code.
UpdateUserPoolDomain
updateUserPoolDomain_domain :: Lens' UpdateUserPoolDomain Text Source #
The domain name for the custom domain that hosts the sign-up and sign-in
pages for your application. For example: auth.example.com
.
This string can include only lowercase letters, numbers, and hyphens. Do not use a hyphen for the first or last character. Use periods to separate subdomain names.
updateUserPoolDomain_userPoolId :: Lens' UpdateUserPoolDomain Text Source #
The ID of the user pool that is associated with the custom domain that you are updating the certificate for.
updateUserPoolDomain_customDomainConfig :: Lens' UpdateUserPoolDomain CustomDomainConfigType Source #
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
updateUserPoolDomainResponse_cloudFrontDomain :: Lens' UpdateUserPoolDomainResponse (Maybe Text) Source #
The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user pool.
updateUserPoolDomainResponse_httpStatus :: Lens' UpdateUserPoolDomainResponse Int Source #
The response's http status code.
DeleteUserPoolDomain
deleteUserPoolDomain_domain :: Lens' DeleteUserPoolDomain Text Source #
The domain string.
deleteUserPoolDomain_userPoolId :: Lens' DeleteUserPoolDomain Text Source #
The user pool ID.
deleteUserPoolDomainResponse_httpStatus :: Lens' DeleteUserPoolDomainResponse Int Source #
The response's http status code.
AdminInitiateAuth
adminInitiateAuth_clientMetadata :: Lens' AdminInitiateAuth (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers:
- Pre signup
- Pre authentication
- User migration
When Amazon Cognito invokes the functions for these triggers, it passes
a JSON payload, which the function receives as input. This payload
contains a validationData
attribute, which provides the data that you
assigned to the ClientMetadata parameter in your AdminInitiateAuth
request. In your function code in Lambda, you can process the
validationData
value to enhance your workflow for your specific needs.
When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it does not provide the ClientMetadata value as input:
- Post authentication
- Custom message
- Pre token generation
- Create auth challenge
- Define auth challenge
- Verify auth challenge
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
adminInitiateAuth_contextData :: Lens' AdminInitiateAuth (Maybe ContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
adminInitiateAuth_analyticsMetadata :: Lens' AdminInitiateAuth (Maybe AnalyticsMetadataType) Source #
The analytics metadata for collecting Amazon Pinpoint metrics for
AdminInitiateAuth
calls.
adminInitiateAuth_authParameters :: Lens' AdminInitiateAuth (Maybe (HashMap Text Text)) Source #
The authentication parameters. These are inputs corresponding to the
AuthFlow
that you are invoking. The required values depend on the
value of AuthFlow
:
- For
USER_SRP_AUTH
:USERNAME
(required),SRP_A
(required),SECRET_HASH
(required if the app client is configured with a client secret),DEVICE_KEY
. - For
REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:REFRESH_TOKEN
(required),SECRET_HASH
(required if the app client is configured with a client secret),DEVICE_KEY
. - For
ADMIN_NO_SRP_AUTH
:USERNAME
(required),SECRET_HASH
(if app client is configured with client secret),PASSWORD
(required),DEVICE_KEY
. - For
CUSTOM_AUTH
:USERNAME
(required),SECRET_HASH
(if app client is configured with client secret),DEVICE_KEY
. To start the authentication flow with password verification, includeChallengeName: SRP_A
andSRP_A: (The SRP_A Value)
.
adminInitiateAuth_userPoolId :: Lens' AdminInitiateAuth Text Source #
The ID of the Amazon Cognito user pool.
adminInitiateAuth_clientId :: Lens' AdminInitiateAuth Text Source #
The app client ID.
adminInitiateAuth_authFlow :: Lens' AdminInitiateAuth AuthFlowType Source #
The authentication flow for this call to execute. The API action will depend on this value. For example:
REFRESH_TOKEN_AUTH
will take in a valid refresh token and return new tokens.USER_SRP_AUTH
will take inUSERNAME
andSRP_A
and return the SRP variables to be used for next challenge execution.USER_PASSWORD_AUTH
will take inUSERNAME
andPASSWORD
and return the next challenge or tokens.
Valid values include:
USER_SRP_AUTH
: Authentication flow for the Secure Remote Password (SRP) protocol.REFRESH_TOKEN_AUTH
/REFRESH_TOKEN
: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.CUSTOM_AUTH
: Custom authentication flow.ADMIN_NO_SRP_AUTH
: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client.USER_PASSWORD_AUTH
: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool.ADMIN_USER_PASSWORD_AUTH
: Admin-based user password authentication. This replaces theADMIN_NO_SRP_AUTH
authentication flow. In this flow, Cognito receives the password in the request instead of using the SRP process to verify passwords.
adminInitiateAuthResponse_challengeName :: Lens' AdminInitiateAuthResponse (Maybe ChallengeNameType) Source #
The name of the challenge which you are responding to with this call.
This is returned to you in the AdminInitiateAuth
response if you need
to pass another challenge.
MFA_SETUP
: If MFA is required, users who do not have at least one of the MFA methods set up are presented with anMFA_SETUP
challenge. The user must set up at least one MFA type to continue to authenticate.SELECT_MFA_TYPE
: Selects the MFA type. Valid MFA options areSMS_MFA
for text SMS MFA, andSOFTWARE_TOKEN_MFA
for TOTP software token MFA.SMS_MFA
: Next challenge is to supply anSMS_MFA_CODE
, delivered via SMS.PASSWORD_VERIFIER
: Next challenge is to supplyPASSWORD_CLAIM_SIGNATURE
,PASSWORD_CLAIM_SECRET_BLOCK
, andTIMESTAMP
after the client-side SRP calculations.CUSTOM_CHALLENGE
: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.DEVICE_SRP_AUTH
: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.DEVICE_PASSWORD_VERIFIER
: Similar toPASSWORD_VERIFIER
, but for devices only.ADMIN_NO_SRP_AUTH
: This is returned if you need to authenticate withUSERNAME
andPASSWORD
directly. An app client must be enabled to use this flow.NEW_PASSWORD_REQUIRED
: For users who are required to change their passwords after successful first login. This challenge should be passed withNEW_PASSWORD
and any other required attributes.MFA_SETUP
: For users who are required to setup an MFA factor before they can sign-in. The MFA types enabled for the user pool will be listed in the challenge parametersMFA_CAN_SETUP
value.To setup software token MFA, use the session returned here from
InitiateAuth
as an input toAssociateSoftwareToken
, and use the session returned byVerifySoftwareToken
as an input toRespondToAuthChallenge
with challenge nameMFA_SETUP
to complete sign-in. To setup SMS MFA, users will need help from an administrator to add a phone number to their account and then callInitiateAuth
again to restart sign-in.
adminInitiateAuthResponse_challengeParameters :: Lens' AdminInitiateAuthResponse (Maybe (HashMap Text Text)) Source #
The challenge parameters. These are returned to you in the
AdminInitiateAuth
response if you need to pass another challenge. The
responses in this parameter should be used to compute inputs to the next
call (AdminRespondToAuthChallenge
).
All challenges require USERNAME
and SECRET_HASH
(if applicable).
The value of the USER_ID_FOR_SRP
attribute will be the user's actual
username, not an alias (such as email address or phone number), even if
you specified an alias in your call to AdminInitiateAuth
. This is
because, in the AdminRespondToAuthChallenge
API ChallengeResponses
,
the USERNAME
attribute cannot be an alias.
adminInitiateAuthResponse_authenticationResult :: Lens' AdminInitiateAuthResponse (Maybe AuthenticationResultType) Source #
The result of the authentication response. This is only returned if the
caller does not need to pass another challenge. If the caller does need
to pass another challenge before it gets tokens, ChallengeName
,
ChallengeParameters
, and Session
are returned.
adminInitiateAuthResponse_session :: Lens' AdminInitiateAuthResponse (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls
to the service. If AdminInitiateAuth
or AdminRespondToAuthChallenge
API call determines that the caller needs to go through another
challenge, they return a session with other challenge parameters. This
session should be passed as it is to the next
AdminRespondToAuthChallenge
API call.
adminInitiateAuthResponse_httpStatus :: Lens' AdminInitiateAuthResponse Int Source #
The response's http status code.
AdminLinkProviderForUser
adminLinkProviderForUser_userPoolId :: Lens' AdminLinkProviderForUser Text Source #
The user pool ID for the user pool.
adminLinkProviderForUser_destinationUser :: Lens' AdminLinkProviderForUser ProviderUserIdentifierType Source #
The existing user in the user pool to be linked to the external identity provider user account. Can be a native (Username + Password) Cognito User Pools user or a federated user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user (with the linked identity provider attribute) signs in.
For a native username + password user, the ProviderAttributeValue
for
the DestinationUser
should be the username in the user pool. For a
federated user, it should be the provider-specific user_id
.
The ProviderAttributeName
of the DestinationUser
is ignored.
The ProviderName
should be set to Cognito
for users in Cognito user
pools.
adminLinkProviderForUser_sourceUser :: Lens' AdminLinkProviderForUser ProviderUserIdentifierType Source #
An external identity provider account for a user who does not currently exist yet in the user pool. This user must be a federated user (for example, a SAML or Facebook user), not another native user.
If the SourceUser
is a federated social identity provider user
(Facebook, Google, or Login with Amazon), you must set the
ProviderAttributeName
to Cognito_Subject
. For social identity
providers, the ProviderName
will be Facebook
, Google
, or
LoginWithAmazon
, and Cognito will automatically parse the Facebook,
Google, and Login with Amazon tokens for id
, sub
, and user_id
,
respectively. The ProviderAttributeValue
for the user must be the same
value as the id
, sub
, or user_id
value found in the social
identity provider token.
For SAML, the ProviderAttributeName
can be any value that matches a
claim in the SAML assertion. If you wish to link SAML users based on the
subject of the SAML assertion, you should map the subject to a claim
through the SAML identity provider and submit that claim name as the
ProviderAttributeName
. If you set ProviderAttributeName
to
Cognito_Subject
, Cognito will automatically parse the default unique
identifier found in the subject from the SAML token.
adminLinkProviderForUserResponse_httpStatus :: Lens' AdminLinkProviderForUserResponse Int Source #
The response's http status code.
AdminEnableUser
adminEnableUser_userPoolId :: Lens' AdminEnableUser Text Source #
The user pool ID for the user pool where you want to enable the user.
adminEnableUser_username :: Lens' AdminEnableUser Text Source #
The user name of the user you wish to enable.
adminEnableUserResponse_httpStatus :: Lens' AdminEnableUserResponse Int Source #
The response's http status code.
GetUserAttributeVerificationCode
getUserAttributeVerificationCode_clientMetadata :: Lens' GetUserAttributeVerificationCode (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the GetUserAttributeVerificationCode API action,
Amazon Cognito invokes the function that is assigned to the /custom
message/ trigger. When Amazon Cognito invokes this function, it passes a
JSON payload, which the function receives as input. This payload
contains a clientMetadata
attribute, which provides the data that you
assigned to the ClientMetadata parameter in your
GetUserAttributeVerificationCode request. In your function code in
Lambda, you can process the clientMetadata
value to enhance your
workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
getUserAttributeVerificationCode_accessToken :: Lens' GetUserAttributeVerificationCode Text Source #
The access token returned by the server response to get the user attribute verification code.
getUserAttributeVerificationCode_attributeName :: Lens' GetUserAttributeVerificationCode Text Source #
The attribute name returned by the server response to get the user attribute verification code.
getUserAttributeVerificationCodeResponse_codeDeliveryDetails :: Lens' GetUserAttributeVerificationCodeResponse (Maybe CodeDeliveryDetailsType) Source #
The code delivery details returned by the server in response to the request to get the user attribute verification code.
getUserAttributeVerificationCodeResponse_httpStatus :: Lens' GetUserAttributeVerificationCodeResponse Int Source #
The response's http status code.
SetUserPoolMfaConfig
setUserPoolMfaConfig_smsMfaConfiguration :: Lens' SetUserPoolMfaConfig (Maybe SmsMfaConfigType) Source #
The SMS text message MFA configuration.
setUserPoolMfaConfig_softwareTokenMfaConfiguration :: Lens' SetUserPoolMfaConfig (Maybe SoftwareTokenMfaConfigType) Source #
The software token MFA configuration.
setUserPoolMfaConfig_mfaConfiguration :: Lens' SetUserPoolMfaConfig (Maybe UserPoolMfaType) Source #
The MFA configuration. Users who don't have an MFA factor set up won't be able to sign-in if you set the MfaConfiguration value to ‘ON’. See Adding Multi-Factor Authentication (MFA) to a User Pool to learn more. Valid values include:
OFF
MFA will not be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor enabled.
setUserPoolMfaConfig_userPoolId :: Lens' SetUserPoolMfaConfig Text Source #
The user pool ID.
setUserPoolMfaConfigResponse_smsMfaConfiguration :: Lens' SetUserPoolMfaConfigResponse (Maybe SmsMfaConfigType) Source #
The SMS text message MFA configuration.
setUserPoolMfaConfigResponse_softwareTokenMfaConfiguration :: Lens' SetUserPoolMfaConfigResponse (Maybe SoftwareTokenMfaConfigType) Source #
The software token MFA configuration.
setUserPoolMfaConfigResponse_mfaConfiguration :: Lens' SetUserPoolMfaConfigResponse (Maybe UserPoolMfaType) Source #
The MFA configuration. Valid values include:
OFF
MFA will not be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor enabled.
setUserPoolMfaConfigResponse_httpStatus :: Lens' SetUserPoolMfaConfigResponse Int Source #
The response's http status code.
UpdateUserAttributes
updateUserAttributes_clientMetadata :: Lens' UpdateUserAttributes (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the UpdateUserAttributes API action, Amazon
Cognito invokes the function that is assigned to the custom message
trigger. When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your UpdateUserAttributes request. In
your function code in Lambda, you can process the clientMetadata
value
to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
updateUserAttributes_userAttributes :: Lens' UpdateUserAttributes [AttributeType] Source #
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
updateUserAttributes_accessToken :: Lens' UpdateUserAttributes Text Source #
The access token for the request to update user attributes.
updateUserAttributesResponse_codeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse (Maybe [CodeDeliveryDetailsType]) Source #
The code delivery details list from the server for the request to update user attributes.
updateUserAttributesResponse_httpStatus :: Lens' UpdateUserAttributesResponse Int Source #
The response's http status code.
DeleteUserAttributes
deleteUserAttributes_userAttributeNames :: Lens' DeleteUserAttributes [Text] Source #
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
deleteUserAttributes_accessToken :: Lens' DeleteUserAttributes Text Source #
The access token used in the request to delete user attributes.
deleteUserAttributesResponse_httpStatus :: Lens' DeleteUserAttributesResponse Int Source #
The response's http status code.
VerifyUserAttribute
verifyUserAttribute_accessToken :: Lens' VerifyUserAttribute Text Source #
Represents the access token of the request to verify user attributes.
verifyUserAttribute_attributeName :: Lens' VerifyUserAttribute Text Source #
The attribute name in the request to verify user attributes.
verifyUserAttribute_code :: Lens' VerifyUserAttribute Text Source #
The verification code in the request to verify user attributes.
verifyUserAttributeResponse_httpStatus :: Lens' VerifyUserAttributeResponse Int Source #
The response's http status code.
AdminDisableUser
adminDisableUser_userPoolId :: Lens' AdminDisableUser Text Source #
The user pool ID for the user pool where you want to disable the user.
adminDisableUser_username :: Lens' AdminDisableUser Text Source #
The user name of the user you wish to disable.
adminDisableUserResponse_httpStatus :: Lens' AdminDisableUserResponse Int Source #
The response's http status code.
ConfirmDevice
confirmDevice_deviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType) Source #
The configuration of the device secret verifier.
confirmDevice_deviceName :: Lens' ConfirmDevice (Maybe Text) Source #
The device name.
confirmDevice_accessToken :: Lens' ConfirmDevice Text Source #
The access token.
confirmDevice_deviceKey :: Lens' ConfirmDevice Text Source #
The device key.
confirmDeviceResponse_userConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool) Source #
Indicates whether the user confirmation is necessary to confirm the device response.
confirmDeviceResponse_httpStatus :: Lens' ConfirmDeviceResponse Int Source #
The response's http status code.
ConfirmForgotPassword
confirmForgotPassword_clientMetadata :: Lens' ConfirmForgotPassword (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the ConfirmForgotPassword API action, Amazon
Cognito invokes the function that is assigned to the post confirmation
trigger. When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your ConfirmForgotPassword request. In
your function code in Lambda, you can process the clientMetadata
value
to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
confirmForgotPassword_analyticsMetadata :: Lens' ConfirmForgotPassword (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
ConfirmForgotPassword
calls.
confirmForgotPassword_userContextData :: Lens' ConfirmForgotPassword (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
confirmForgotPassword_secretHash :: Lens' ConfirmForgotPassword (Maybe Text) Source #
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.
confirmForgotPassword_clientId :: Lens' ConfirmForgotPassword Text Source #
The app client ID of the app associated with the user pool.
confirmForgotPassword_username :: Lens' ConfirmForgotPassword Text Source #
The user name of the user for whom you want to enter a code to retrieve a forgotten password.
confirmForgotPassword_confirmationCode :: Lens' ConfirmForgotPassword Text Source #
The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see ForgotPassword.
confirmForgotPassword_password :: Lens' ConfirmForgotPassword Text Source #
The password sent by a user's request to retrieve a forgotten password.
confirmForgotPasswordResponse_httpStatus :: Lens' ConfirmForgotPasswordResponse Int Source #
The response's http status code.
ListUserImportJobs
listUserImportJobs_paginationToken :: Lens' ListUserImportJobs (Maybe Text) Source #
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.
listUserImportJobs_userPoolId :: Lens' ListUserImportJobs Text Source #
The user pool ID for the user pool that the users are being imported into.
listUserImportJobs_maxResults :: Lens' ListUserImportJobs Natural Source #
The maximum number of import jobs you want the request to return.
listUserImportJobsResponse_paginationToken :: Lens' ListUserImportJobsResponse (Maybe Text) Source #
An identifier that can be used to return the next set of user import jobs in the list.
listUserImportJobsResponse_userImportJobs :: Lens' ListUserImportJobsResponse (Maybe (NonEmpty UserImportJobType)) Source #
The user import jobs.
listUserImportJobsResponse_httpStatus :: Lens' ListUserImportJobsResponse Int Source #
The response's http status code.
ListTagsForResource
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #
The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #
The tags that are assigned to the user pool.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
DescribeIdentityProvider
describeIdentityProvider_userPoolId :: Lens' DescribeIdentityProvider Text Source #
The user pool ID.
describeIdentityProvider_providerName :: Lens' DescribeIdentityProvider Text Source #
The identity provider name.
describeIdentityProviderResponse_httpStatus :: Lens' DescribeIdentityProviderResponse Int Source #
The response's http status code.
describeIdentityProviderResponse_identityProvider :: Lens' DescribeIdentityProviderResponse IdentityProviderType Source #
The identity provider that was deleted.
ListUsers
listUsers_paginationToken :: Lens' ListUsers (Maybe Text) Source #
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.
listUsers_attributesToGet :: Lens' ListUsers (Maybe [Text]) Source #
An array of strings, where each string is the name of a user attribute to be returned for each user in the search results. If the array is null, all attributes are returned.
listUsers_filter :: Lens' ListUsers (Maybe Text) Source #
A filter string of the form "AttributeName Filter-Type
"AttributeValue"". Quotation marks within the filter string must be
escaped using the backslash (\) character. For example, "family_name
= \"Reddy\"".
- AttributeName: The name of the attribute to search for. You can only search for one attribute at a time.
- Filter-Type: For an exact match, use =, for example,
"
given_name
= \"Jon\"". For a prefix ("starts with") match, use ^=, for example, "given_name
^= \"Jon\"". - AttributeValue: The attribute value that must be matched for each user.
If the filter string is empty, ListUsers
returns all users in the user
pool.
You can only search for the following standard attributes:
username
(case-sensitive)email
phone_number
name
given_name
family_name
preferred_username
cognito:user_status
(called Status in the Console) (case-insensitive)status (called Enabled in the Console) (case-sensitive)
sub
Custom attributes are not searchable.
For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide.
listUsers_userPoolId :: Lens' ListUsers Text Source #
The user pool ID for the user pool on which the search should be performed.
listUsersResponse_paginationToken :: Lens' ListUsersResponse (Maybe Text) Source #
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.
listUsersResponse_users :: Lens' ListUsersResponse (Maybe [UserType]) Source #
The users returned in the request to list users.
listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #
The response's http status code.
AdminDeleteUserAttributes
adminDeleteUserAttributes_userPoolId :: Lens' AdminDeleteUserAttributes Text Source #
The user pool ID for the user pool where you want to delete user attributes.
adminDeleteUserAttributes_username :: Lens' AdminDeleteUserAttributes Text Source #
The user name of the user from which you would like to delete attributes.
adminDeleteUserAttributes_userAttributeNames :: Lens' AdminDeleteUserAttributes [Text] Source #
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
adminDeleteUserAttributesResponse_httpStatus :: Lens' AdminDeleteUserAttributesResponse Int Source #
The response's http status code.
DescribeUserPoolDomain
describeUserPoolDomain_domain :: Lens' DescribeUserPoolDomain Text Source #
The domain string.
describeUserPoolDomainResponse_domainDescription :: Lens' DescribeUserPoolDomainResponse (Maybe DomainDescriptionType) Source #
A domain description object containing information about the domain.
describeUserPoolDomainResponse_httpStatus :: Lens' DescribeUserPoolDomainResponse Int Source #
The response's http status code.
AdminUpdateUserAttributes
adminUpdateUserAttributes_clientMetadata :: Lens' AdminUpdateUserAttributes (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the AdminUpdateUserAttributes API action, Amazon
Cognito invokes the function that is assigned to the custom message
trigger. When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your AdminUpdateUserAttributes request.
In your function code in Lambda, you can process the clientMetadata
value to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
adminUpdateUserAttributes_userPoolId :: Lens' AdminUpdateUserAttributes Text Source #
The user pool ID for the user pool where you want to update user attributes.
adminUpdateUserAttributes_username :: Lens' AdminUpdateUserAttributes Text Source #
The user name of the user for whom you want to update user attributes.
adminUpdateUserAttributes_userAttributes :: Lens' AdminUpdateUserAttributes [AttributeType] Source #
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
adminUpdateUserAttributesResponse_httpStatus :: Lens' AdminUpdateUserAttributesResponse Int Source #
The response's http status code.
AdminGetUser
adminGetUser_userPoolId :: Lens' AdminGetUser Text Source #
The user pool ID for the user pool where you want to get information about the user.
adminGetUser_username :: Lens' AdminGetUser Text Source #
The user name of the user you wish to retrieve.
adminGetUserResponse_enabled :: Lens' AdminGetUserResponse (Maybe Bool) Source #
Indicates that the status is enabled.
adminGetUserResponse_userStatus :: Lens' AdminGetUserResponse (Maybe UserStatusType) Source #
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.
- RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.
- FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.
adminGetUserResponse_userAttributes :: Lens' AdminGetUserResponse (Maybe [AttributeType]) Source #
An array of name-value pairs representing user attributes.
adminGetUserResponse_userCreateDate :: Lens' AdminGetUserResponse (Maybe UTCTime) Source #
The date the user was created.
adminGetUserResponse_userMFASettingList :: Lens' AdminGetUserResponse (Maybe [Text]) Source #
The MFA options that are enabled for the user. The possible values in
this list are SMS_MFA
and SOFTWARE_TOKEN_MFA
.
adminGetUserResponse_mfaOptions :: Lens' AdminGetUserResponse (Maybe [MFAOptionType]) Source #
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
adminGetUserResponse_userLastModifiedDate :: Lens' AdminGetUserResponse (Maybe UTCTime) Source #
The date the user was last modified.
adminGetUserResponse_preferredMfaSetting :: Lens' AdminGetUserResponse (Maybe Text) Source #
The user's preferred MFA setting.
adminGetUserResponse_httpStatus :: Lens' AdminGetUserResponse Int Source #
The response's http status code.
adminGetUserResponse_username :: Lens' AdminGetUserResponse Text Source #
The user name of the user about whom you are receiving information.
AdminUserGlobalSignOut
adminUserGlobalSignOut_userPoolId :: Lens' AdminUserGlobalSignOut Text Source #
The user pool ID.
adminUserGlobalSignOut_username :: Lens' AdminUserGlobalSignOut Text Source #
The user name.
adminUserGlobalSignOutResponse_httpStatus :: Lens' AdminUserGlobalSignOutResponse Int Source #
The response's http status code.
ListUsersInGroup
listUsersInGroup_nextToken :: Lens' ListUsersInGroup (Maybe Text) Source #
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.
listUsersInGroup_limit :: Lens' ListUsersInGroup (Maybe Natural) Source #
The limit of the request to list users.
listUsersInGroup_userPoolId :: Lens' ListUsersInGroup Text Source #
The user pool ID for the user pool.
listUsersInGroup_groupName :: Lens' ListUsersInGroup Text Source #
The name of the group.
listUsersInGroupResponse_users :: Lens' ListUsersInGroupResponse (Maybe [UserType]) Source #
The users returned in the request to list users.
listUsersInGroupResponse_nextToken :: Lens' ListUsersInGroupResponse (Maybe Text) Source #
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.
listUsersInGroupResponse_httpStatus :: Lens' ListUsersInGroupResponse Int Source #
The response's http status code.
AssociateSoftwareToken
associateSoftwareToken_accessToken :: Lens' AssociateSoftwareToken (Maybe Text) Source #
The access token.
associateSoftwareToken_session :: Lens' AssociateSoftwareToken (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
associateSoftwareTokenResponse_secretCode :: Lens' AssociateSoftwareTokenResponse (Maybe Text) Source #
A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
associateSoftwareTokenResponse_session :: Lens' AssociateSoftwareTokenResponse (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
associateSoftwareTokenResponse_httpStatus :: Lens' AssociateSoftwareTokenResponse Int Source #
The response's http status code.
AdminDisableProviderForUser
adminDisableProviderForUser_userPoolId :: Lens' AdminDisableProviderForUser Text Source #
The user pool ID for the user pool.
adminDisableProviderForUser_user :: Lens' AdminDisableProviderForUser ProviderUserIdentifierType Source #
The user to be disabled.
adminDisableProviderForUserResponse_httpStatus :: Lens' AdminDisableProviderForUserResponse Int Source #
The response's http status code.
ForgotPassword
forgotPassword_clientMetadata :: Lens' ForgotPassword (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the ForgotPassword API action, Amazon Cognito
invokes any functions that are assigned to the following triggers: /pre
sign-up, custom message, and user migration/. When Amazon Cognito
invokes any of these functions, it passes a JSON payload, which the
function receives as input. This payload contains a clientMetadata
attribute, which provides the data that you assigned to the
ClientMetadata parameter in your ForgotPassword request. In your
function code in Lambda, you can process the clientMetadata
value to
enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
forgotPassword_analyticsMetadata :: Lens' ForgotPassword (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
ForgotPassword
calls.
forgotPassword_userContextData :: Lens' ForgotPassword (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
forgotPassword_secretHash :: Lens' ForgotPassword (Maybe Text) Source #
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.
forgotPassword_clientId :: Lens' ForgotPassword Text Source #
The ID of the client associated with the user pool.
forgotPassword_username :: Lens' ForgotPassword Text Source #
The user name of the user for whom you want to enter a code to reset a forgotten password.
forgotPasswordResponse_codeDeliveryDetails :: Lens' ForgotPasswordResponse (Maybe CodeDeliveryDetailsType) Source #
The code delivery details returned by the server in response to the request to reset a password.
forgotPasswordResponse_httpStatus :: Lens' ForgotPasswordResponse Int Source #
The response's http status code.
DescribeUserPool
describeUserPool_userPoolId :: Lens' DescribeUserPool Text Source #
The user pool ID for the user pool you want to describe.
describeUserPoolResponse_userPool :: Lens' DescribeUserPoolResponse (Maybe UserPoolType) Source #
The container of metadata returned by the server to describe the pool.
describeUserPoolResponse_httpStatus :: Lens' DescribeUserPoolResponse Int Source #
The response's http status code.
InitiateAuth
initiateAuth_clientMetadata :: Lens' InitiateAuth (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool triggers. When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers:
- Pre signup
- Pre authentication
- User migration
When Amazon Cognito invokes the functions for these triggers, it passes
a JSON payload, which the function receives as input. This payload
contains a validationData
attribute, which provides the data that you
assigned to the ClientMetadata parameter in your InitiateAuth request.
In your function code in Lambda, you can process the validationData
value to enhance your workflow for your specific needs.
When you use the InitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it does not provide the ClientMetadata value as input:
- Post authentication
- Custom message
- Pre token generation
- Create auth challenge
- Define auth challenge
- Verify auth challenge
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
initiateAuth_analyticsMetadata :: Lens' InitiateAuth (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
InitiateAuth
calls.
initiateAuth_userContextData :: Lens' InitiateAuth (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
initiateAuth_authParameters :: Lens' InitiateAuth (Maybe (HashMap Text Text)) Source #
The authentication parameters. These are inputs corresponding to the
AuthFlow
that you are invoking. The required values depend on the
value of AuthFlow
:
- For
USER_SRP_AUTH
:USERNAME
(required),SRP_A
(required),SECRET_HASH
(required if the app client is configured with a client secret),DEVICE_KEY
. - For
REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:REFRESH_TOKEN
(required),SECRET_HASH
(required if the app client is configured with a client secret),DEVICE_KEY
. - For
CUSTOM_AUTH
:USERNAME
(required),SECRET_HASH
(if app client is configured with client secret),DEVICE_KEY
. To start the authentication flow with password verification, includeChallengeName: SRP_A
andSRP_A: (The SRP_A Value)
.
initiateAuth_authFlow :: Lens' InitiateAuth AuthFlowType Source #
The authentication flow for this call to execute. The API action will depend on this value. For example:
REFRESH_TOKEN_AUTH
will take in a valid refresh token and return new tokens.USER_SRP_AUTH
will take inUSERNAME
andSRP_A
and return the SRP variables to be used for next challenge execution.USER_PASSWORD_AUTH
will take inUSERNAME
andPASSWORD
and return the next challenge or tokens.
Valid values include:
USER_SRP_AUTH
: Authentication flow for the Secure Remote Password (SRP) protocol.REFRESH_TOKEN_AUTH
/REFRESH_TOKEN
: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.CUSTOM_AUTH
: Custom authentication flow.USER_PASSWORD_AUTH
: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool.ADMIN_USER_PASSWORD_AUTH
: Admin-based user password authentication. This replaces theADMIN_NO_SRP_AUTH
authentication flow. In this flow, Cognito receives the password in the request instead of using the SRP process to verify passwords.
ADMIN_NO_SRP_AUTH
is not a valid value.
initiateAuth_clientId :: Lens' InitiateAuth Text Source #
The app client ID.
initiateAuthResponse_challengeName :: Lens' InitiateAuthResponse (Maybe ChallengeNameType) Source #
The name of the challenge which you are responding to with this call.
This is returned to you in the AdminInitiateAuth
response if you need
to pass another challenge.
Valid values include the following. Note that all of these challenges
require USERNAME
and SECRET_HASH
(if applicable) in the parameters.
SMS_MFA
: Next challenge is to supply anSMS_MFA_CODE
, delivered via SMS.PASSWORD_VERIFIER
: Next challenge is to supplyPASSWORD_CLAIM_SIGNATURE
,PASSWORD_CLAIM_SECRET_BLOCK
, andTIMESTAMP
after the client-side SRP calculations.CUSTOM_CHALLENGE
: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.DEVICE_SRP_AUTH
: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.DEVICE_PASSWORD_VERIFIER
: Similar toPASSWORD_VERIFIER
, but for devices only.NEW_PASSWORD_REQUIRED
: For users who are required to change their passwords after successful first login. This challenge should be passed withNEW_PASSWORD
and any other required attributes.MFA_SETUP
: For users who are required to setup an MFA factor before they can sign-in. The MFA types enabled for the user pool will be listed in the challenge parametersMFA_CAN_SETUP
value.To setup software token MFA, use the session returned here from
InitiateAuth
as an input toAssociateSoftwareToken
, and use the session returned byVerifySoftwareToken
as an input toRespondToAuthChallenge
with challenge nameMFA_SETUP
to complete sign-in. To setup SMS MFA, users will need help from an administrator to add a phone number to their account and then callInitiateAuth
again to restart sign-in.
initiateAuthResponse_challengeParameters :: Lens' InitiateAuthResponse (Maybe (HashMap Text Text)) Source #
The challenge parameters. These are returned to you in the
InitiateAuth
response if you need to pass another challenge. The
responses in this parameter should be used to compute inputs to the next
call (RespondToAuthChallenge
).
All challenges require USERNAME
and SECRET_HASH
(if applicable).
initiateAuthResponse_authenticationResult :: Lens' InitiateAuthResponse (Maybe AuthenticationResultType) Source #
The result of the authentication response. This is only returned if the
caller does not need to pass another challenge. If the caller does need
to pass another challenge before it gets tokens, ChallengeName
,
ChallengeParameters
, and Session
are returned.
initiateAuthResponse_session :: Lens' InitiateAuthResponse (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls
to the service. If the caller needs to go through another challenge,
they return a session with other challenge parameters. This session
should be passed as it is to the next RespondToAuthChallenge
API call.
initiateAuthResponse_httpStatus :: Lens' InitiateAuthResponse Int Source #
The response's http status code.
AdminListGroupsForUser
adminListGroupsForUser_nextToken :: Lens' AdminListGroupsForUser (Maybe Text) Source #
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.
adminListGroupsForUser_limit :: Lens' AdminListGroupsForUser (Maybe Natural) Source #
The limit of the request to list groups.
adminListGroupsForUser_username :: Lens' AdminListGroupsForUser Text Source #
The username for the user.
adminListGroupsForUser_userPoolId :: Lens' AdminListGroupsForUser Text Source #
The user pool ID for the user pool.
adminListGroupsForUserResponse_groups :: Lens' AdminListGroupsForUserResponse (Maybe [GroupType]) Source #
The groups that the user belongs to.
adminListGroupsForUserResponse_nextToken :: Lens' AdminListGroupsForUserResponse (Maybe Text) Source #
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.
adminListGroupsForUserResponse_httpStatus :: Lens' AdminListGroupsForUserResponse Int Source #
The response's http status code.
AdminConfirmSignUp
adminConfirmSignUp_clientMetadata :: Lens' AdminConfirmSignUp (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the
AdminConfirmSignUp API action invokes the Lambda function that is
specified for the post confirmation trigger. When Amazon Cognito
invokes this function, it passes a JSON payload, which the function
receives as input. In this payload, the clientMetadata
attribute
provides the data that you assigned to the ClientMetadata parameter in
your AdminConfirmSignUp request. In your function code in Lambda, you
can process the ClientMetadata value to enhance your workflow for your
specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
adminConfirmSignUp_userPoolId :: Lens' AdminConfirmSignUp Text Source #
The user pool ID for which you want to confirm user registration.
adminConfirmSignUp_username :: Lens' AdminConfirmSignUp Text Source #
The user name for which you want to confirm user registration.
adminConfirmSignUpResponse_httpStatus :: Lens' AdminConfirmSignUpResponse Int Source #
The response's http status code.
AdminUpdateAuthEventFeedback
adminUpdateAuthEventFeedback_userPoolId :: Lens' AdminUpdateAuthEventFeedback Text Source #
The user pool ID.
adminUpdateAuthEventFeedback_username :: Lens' AdminUpdateAuthEventFeedback Text Source #
The user pool username.
adminUpdateAuthEventFeedback_eventId :: Lens' AdminUpdateAuthEventFeedback Text Source #
The authentication event ID.
adminUpdateAuthEventFeedback_feedbackValue :: Lens' AdminUpdateAuthEventFeedback FeedbackValueType Source #
The authentication event feedback value.
adminUpdateAuthEventFeedbackResponse_httpStatus :: Lens' AdminUpdateAuthEventFeedbackResponse Int Source #
The response's http status code.
AdminSetUserPassword
adminSetUserPassword_permanent :: Lens' AdminSetUserPassword (Maybe Bool) Source #
True
if the password is permanent, False
if it is temporary.
adminSetUserPassword_userPoolId :: Lens' AdminSetUserPassword Text Source #
The user pool ID for the user pool where you want to set the user's password.
adminSetUserPassword_username :: Lens' AdminSetUserPassword Text Source #
The user name of the user whose password you wish to set.
adminSetUserPassword_password :: Lens' AdminSetUserPassword Text Source #
The password for the user.
adminSetUserPasswordResponse_httpStatus :: Lens' AdminSetUserPasswordResponse Int Source #
The response's http status code.
StartUserImportJob
startUserImportJob_userPoolId :: Lens' StartUserImportJob Text Source #
The user pool ID for the user pool that the users are being imported into.
startUserImportJob_jobId :: Lens' StartUserImportJob Text Source #
The job ID for the user import job.
startUserImportJobResponse_userImportJob :: Lens' StartUserImportJobResponse (Maybe UserImportJobType) Source #
The job object that represents the user import job.
startUserImportJobResponse_httpStatus :: Lens' StartUserImportJobResponse Int Source #
The response's http status code.
CreateIdentityProvider
createIdentityProvider_idpIdentifiers :: Lens' CreateIdentityProvider (Maybe [Text]) Source #
A list of identity provider identifiers.
createIdentityProvider_attributeMapping :: Lens' CreateIdentityProvider (Maybe (HashMap Text Text)) Source #
A mapping of identity provider attributes to standard and custom user pool attributes.
createIdentityProvider_userPoolId :: Lens' CreateIdentityProvider Text Source #
The user pool ID.
createIdentityProvider_providerName :: Lens' CreateIdentityProvider Text Source #
The identity provider name.
createIdentityProvider_providerType :: Lens' CreateIdentityProvider IdentityProviderTypeType Source #
The identity provider type.
createIdentityProvider_providerDetails :: Lens' CreateIdentityProvider (HashMap Text Text) Source #
The identity provider details. The following list describes the provider detail keys for each identity provider type.
For Google and Login with Amazon:
- client_id
- client_secret
- authorize_scopes
For Facebook:
- client_id
- client_secret
- authorize_scopes
- api_version
For Sign in with Apple:
- client_id
- team_id
- key_id
- private_key
- authorize_scopes
For OIDC providers:
- client_id
- client_secret
- attributes_request_method
- oidc_issuer
- authorize_scopes
- authorize_url /if not available from discovery URL specified by oidc_issuer key/
- token_url /if not available from discovery URL specified by oidc_issuer key/
- attributes_url /if not available from discovery URL specified by oidc_issuer key/
- jwks_uri /if not available from discovery URL specified by oidc_issuer key/
For SAML providers:
- MetadataFile OR MetadataURL
- IDPSignout optional
createIdentityProviderResponse_httpStatus :: Lens' CreateIdentityProviderResponse Int Source #
The response's http status code.
createIdentityProviderResponse_identityProvider :: Lens' CreateIdentityProviderResponse IdentityProviderType Source #
The newly created identity provider object.
SetUICustomization
setUICustomization_clientId :: Lens' SetUICustomization (Maybe Text) Source #
The client ID for the client app.
setUICustomization_css :: Lens' SetUICustomization (Maybe Text) Source #
The CSS values in the UI customization.
setUICustomization_imageFile :: Lens' SetUICustomization (Maybe ByteString) Source #
The uploaded logo image for the UI customization.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
setUICustomization_userPoolId :: Lens' SetUICustomization Text Source #
The user pool ID for the user pool.
setUICustomizationResponse_httpStatus :: Lens' SetUICustomizationResponse Int Source #
The response's http status code.
setUICustomizationResponse_uICustomization :: Lens' SetUICustomizationResponse UICustomizationType Source #
The UI customization information.
ListIdentityProviders
listIdentityProviders_nextToken :: Lens' ListIdentityProviders (Maybe Text) Source #
A pagination token.
listIdentityProviders_maxResults :: Lens' ListIdentityProviders (Maybe Natural) Source #
The maximum number of identity providers to return.
listIdentityProviders_userPoolId :: Lens' ListIdentityProviders Text Source #
The user pool ID.
listIdentityProvidersResponse_nextToken :: Lens' ListIdentityProvidersResponse (Maybe Text) Source #
A pagination token.
listIdentityProvidersResponse_httpStatus :: Lens' ListIdentityProvidersResponse Int Source #
The response's http status code.
listIdentityProvidersResponse_providers :: Lens' ListIdentityProvidersResponse [ProviderDescription] Source #
A list of identity provider objects.
GetDevice
getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int Source #
The response's http status code.
getDeviceResponse_device :: Lens' GetDeviceResponse DeviceType Source #
The device.
SignUp
signUp_clientMetadata :: Lens' SignUp (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the SignUp API action, Amazon Cognito invokes any
functions that are assigned to the following triggers: pre sign-up,
custom message, and post confirmation. When Amazon Cognito invokes
any of these functions, it passes a JSON payload, which the function
receives as input. This payload contains a clientMetadata
attribute,
which provides the data that you assigned to the ClientMetadata
parameter in your SignUp request. In your function code in Lambda, you
can process the clientMetadata
value to enhance your workflow for your
specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
signUp_analyticsMetadata :: Lens' SignUp (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
SignUp
calls.
signUp_userContextData :: Lens' SignUp (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
signUp_userAttributes :: Lens' SignUp (Maybe [AttributeType]) Source #
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
signUp_secretHash :: Lens' SignUp (Maybe Text) Source #
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.
signUp_validationData :: Lens' SignUp (Maybe [AttributeType]) Source #
The validation data in the request to register a user.
signUpResponse_codeDeliveryDetails :: Lens' SignUpResponse (Maybe CodeDeliveryDetailsType) Source #
The code delivery details returned by the server response to the user registration request.
signUpResponse_httpStatus :: Lens' SignUpResponse Int Source #
The response's http status code.
signUpResponse_userConfirmed :: Lens' SignUpResponse Bool Source #
A response from the server indicating that a user registration has been confirmed.
signUpResponse_userSub :: Lens' SignUpResponse Text Source #
The UUID of the authenticated user. This is not the same as username
.
DeleteResourceServer
deleteResourceServer_userPoolId :: Lens' DeleteResourceServer Text Source #
The user pool ID for the user pool that hosts the resource server.
deleteResourceServer_identifier :: Lens' DeleteResourceServer Text Source #
The identifier for the resource server.
UpdateResourceServer
updateResourceServer_scopes :: Lens' UpdateResourceServer (Maybe [ResourceServerScopeType]) Source #
The scope values to be set for the resource server.
updateResourceServer_userPoolId :: Lens' UpdateResourceServer Text Source #
The user pool ID for the user pool.
updateResourceServer_identifier :: Lens' UpdateResourceServer Text Source #
The identifier for the resource server.
updateResourceServer_name :: Lens' UpdateResourceServer Text Source #
The name of the resource server.
updateResourceServerResponse_httpStatus :: Lens' UpdateResourceServerResponse Int Source #
The response's http status code.
updateResourceServerResponse_resourceServer :: Lens' UpdateResourceServerResponse ResourceServerType Source #
The resource server.
ChangePassword
changePassword_previousPassword :: Lens' ChangePassword Text Source #
The old password.
changePassword_proposedPassword :: Lens' ChangePassword Text Source #
The new password.
changePassword_accessToken :: Lens' ChangePassword Text Source #
The access token.
changePasswordResponse_httpStatus :: Lens' ChangePasswordResponse Int Source #
The response's http status code.
CreateUserPoolDomain
createUserPoolDomain_customDomainConfig :: Lens' CreateUserPoolDomain (Maybe CustomDomainConfigType) Source #
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
createUserPoolDomain_domain :: Lens' CreateUserPoolDomain Text Source #
The domain string.
createUserPoolDomain_userPoolId :: Lens' CreateUserPoolDomain Text Source #
The user pool ID.
createUserPoolDomainResponse_cloudFrontDomain :: Lens' CreateUserPoolDomainResponse (Maybe Text) Source #
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
createUserPoolDomainResponse_httpStatus :: Lens' CreateUserPoolDomainResponse Int Source #
The response's http status code.
RespondToAuthChallenge
respondToAuthChallenge_clientMetadata :: Lens' RespondToAuthChallenge (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the RespondToAuthChallenge API action, Amazon
Cognito invokes any functions that are assigned to the following
triggers: post authentication, pre token generation, /define auth
challenge, create auth challenge, and verify auth challenge/. When
Amazon Cognito invokes any of these functions, it passes a JSON payload,
which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your RespondToAuthChallenge request. In
your function code in Lambda, you can process the clientMetadata
value
to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
respondToAuthChallenge_analyticsMetadata :: Lens' RespondToAuthChallenge (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
RespondToAuthChallenge
calls.
respondToAuthChallenge_challengeResponses :: Lens' RespondToAuthChallenge (Maybe (HashMap Text Text)) Source #
The challenge responses. These are inputs corresponding to the value of
ChallengeName
, for example:
SECRET_HASH
(if app client is configured with client secret) applies
to all inputs below (including SOFTWARE_TOKEN_MFA
).
SMS_MFA
:SMS_MFA_CODE
,USERNAME
.PASSWORD_VERIFIER
:PASSWORD_CLAIM_SIGNATURE
,PASSWORD_CLAIM_SECRET_BLOCK
,TIMESTAMP
,USERNAME
.NEW_PASSWORD_REQUIRED
:NEW_PASSWORD
, any other required attributes,USERNAME
.SOFTWARE_TOKEN_MFA
:USERNAME
andSOFTWARE_TOKEN_MFA_CODE
are required attributes.DEVICE_SRP_AUTH
requiresUSERNAME
,DEVICE_KEY
,SRP_A
(andSECRET_HASH
).DEVICE_PASSWORD_VERIFIER
requires everything thatPASSWORD_VERIFIER
requires plusDEVICE_KEY
.MFA_SETUP
requiresUSERNAME
, plus you need to use the session value returned byVerifySoftwareToken
in theSession
parameter.
respondToAuthChallenge_userContextData :: Lens' RespondToAuthChallenge (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
respondToAuthChallenge_session :: Lens' RespondToAuthChallenge (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls
to the service. If InitiateAuth
or RespondToAuthChallenge
API call
determines that the caller needs to go through another challenge, they
return a session with other challenge parameters. This session should be
passed as it is to the next RespondToAuthChallenge
API call.
respondToAuthChallenge_clientId :: Lens' RespondToAuthChallenge Text Source #
The app client ID.
respondToAuthChallenge_challengeName :: Lens' RespondToAuthChallenge ChallengeNameType Source #
The challenge name. For more information, see InitiateAuth.
ADMIN_NO_SRP_AUTH
is not a valid value.
respondToAuthChallengeResponse_challengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType) Source #
The challenge name. For more information, see InitiateAuth.
respondToAuthChallengeResponse_challengeParameters :: Lens' RespondToAuthChallengeResponse (Maybe (HashMap Text Text)) Source #
The challenge parameters. For more information, see InitiateAuth.
respondToAuthChallengeResponse_authenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType) Source #
The result returned by the server in response to the request to respond to the authentication challenge.
respondToAuthChallengeResponse_session :: Lens' RespondToAuthChallengeResponse (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls
to the service. If the caller needs to go through another challenge,
they return a session with other challenge parameters. This session
should be passed as it is to the next RespondToAuthChallenge
API call.
respondToAuthChallengeResponse_httpStatus :: Lens' RespondToAuthChallengeResponse Int Source #
The response's http status code.
CreateUserPool
createUserPool_userPoolTags :: Lens' CreateUserPool (Maybe (HashMap Text Text)) Source #
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
createUserPool_verificationMessageTemplate :: Lens' CreateUserPool (Maybe VerificationMessageTemplateType) Source #
The template for the verification message that the user sees when the app requests permission to access the user's information.
createUserPool_emailVerificationMessage :: Lens' CreateUserPool (Maybe Text) Source #
A string representing the email verification message. EmailVerificationMessage is allowed only if EmailSendingAccount is DEVELOPER.
createUserPool_smsAuthenticationMessage :: Lens' CreateUserPool (Maybe Text) Source #
A string representing the SMS authentication message.
createUserPool_userPoolAddOns :: Lens' CreateUserPool (Maybe UserPoolAddOnsType) Source #
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode
to the value "AUDIT".
createUserPool_emailVerificationSubject :: Lens' CreateUserPool (Maybe Text) Source #
A string representing the email verification subject. EmailVerificationSubject is allowed only if EmailSendingAccount is DEVELOPER.
createUserPool_usernameAttributes :: Lens' CreateUserPool (Maybe [UsernameAttributeType]) Source #
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
createUserPool_aliasAttributes :: Lens' CreateUserPool (Maybe [AliasAttributeType]) Source #
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
createUserPool_schema :: Lens' CreateUserPool (Maybe (NonEmpty SchemaAttributeType)) Source #
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
createUserPool_accountRecoverySetting :: Lens' CreateUserPool (Maybe AccountRecoverySettingType) Source #
Use this setting to define which verified available method a user can
use to recover their password when they call ForgotPassword
. It allows
you to define a preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid password
recovery mechanism if the user also has SMS MFA enabled. In the absence
of this setting, Cognito uses the legacy behavior to determine the
recovery method where SMS is preferred over email.
createUserPool_emailConfiguration :: Lens' CreateUserPool (Maybe EmailConfigurationType) Source #
The email configuration.
createUserPool_smsVerificationMessage :: Lens' CreateUserPool (Maybe Text) Source #
A string representing the SMS verification message.
createUserPool_mfaConfiguration :: Lens' CreateUserPool (Maybe UserPoolMfaType) Source #
Specifies MFA configuration details.
createUserPool_lambdaConfig :: Lens' CreateUserPool (Maybe LambdaConfigType) Source #
The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the CLI, see add-permission .
createUserPool_smsConfiguration :: Lens' CreateUserPool (Maybe SmsConfigurationType) Source #
The SMS configuration.
createUserPool_adminCreateUserConfig :: Lens' CreateUserPool (Maybe AdminCreateUserConfigType) Source #
The configuration for AdminCreateUser
requests.
createUserPool_deviceConfiguration :: Lens' CreateUserPool (Maybe DeviceConfigurationType) Source #
The device configuration.
createUserPool_autoVerifiedAttributes :: Lens' CreateUserPool (Maybe [VerifiedAttributeType]) Source #
The attributes to be auto-verified. Possible values: email, phone_number.
createUserPool_policies :: Lens' CreateUserPool (Maybe UserPoolPolicyType) Source #
The policies associated with the new user pool.
createUserPool_usernameConfiguration :: Lens' CreateUserPool (Maybe UsernameConfigurationType) Source #
You can choose to set case sensitivity on the username input for the
selected sign-in option. For example, when this is set to False
, users
will be able to sign in using either "username" or "Username". This
configuration is immutable once it has been set. For more information,
see
UsernameConfigurationType.
createUserPool_poolName :: Lens' CreateUserPool Text Source #
A string used to name the user pool.
createUserPoolResponse_userPool :: Lens' CreateUserPoolResponse (Maybe UserPoolType) Source #
A container for the user pool details.
createUserPoolResponse_httpStatus :: Lens' CreateUserPoolResponse Int Source #
The response's http status code.
AdminGetDevice
adminGetDevice_deviceKey :: Lens' AdminGetDevice Text Source #
The device key.
adminGetDevice_userPoolId :: Lens' AdminGetDevice Text Source #
The user pool ID.
adminGetDevice_username :: Lens' AdminGetDevice Text Source #
The user name.
adminGetDeviceResponse_httpStatus :: Lens' AdminGetDeviceResponse Int Source #
The response's http status code.
adminGetDeviceResponse_device :: Lens' AdminGetDeviceResponse DeviceType Source #
The device.
GetIdentityProviderByIdentifier
getIdentityProviderByIdentifier_userPoolId :: Lens' GetIdentityProviderByIdentifier Text Source #
The user pool ID.
getIdentityProviderByIdentifier_idpIdentifier :: Lens' GetIdentityProviderByIdentifier Text Source #
The identity provider ID.
getIdentityProviderByIdentifierResponse_httpStatus :: Lens' GetIdentityProviderByIdentifierResponse Int Source #
The response's http status code.
getIdentityProviderByIdentifierResponse_identityProvider :: Lens' GetIdentityProviderByIdentifierResponse IdentityProviderType Source #
The identity provider object.
AdminRemoveUserFromGroup
adminRemoveUserFromGroup_userPoolId :: Lens' AdminRemoveUserFromGroup Text Source #
The user pool ID for the user pool.
adminRemoveUserFromGroup_username :: Lens' AdminRemoveUserFromGroup Text Source #
The username for the user.
adminRemoveUserFromGroup_groupName :: Lens' AdminRemoveUserFromGroup Text Source #
The group name.
SetRiskConfiguration
setRiskConfiguration_riskExceptionConfiguration :: Lens' SetRiskConfiguration (Maybe RiskExceptionConfigurationType) Source #
The configuration to override the risk decision.
setRiskConfiguration_clientId :: Lens' SetRiskConfiguration (Maybe Text) Source #
The app client ID. If ClientId
is null, then the risk configuration is
mapped to userPoolId
. When the client ID is null, the same risk
configuration is applied to all the clients in the userPool.
Otherwise, ClientId
is mapped to the client. When the client ID is not
null, the user pool configuration is overridden and the risk
configuration for the client is used instead.
setRiskConfiguration_accountTakeoverRiskConfiguration :: Lens' SetRiskConfiguration (Maybe AccountTakeoverRiskConfigurationType) Source #
The account takeover risk configuration.
setRiskConfiguration_compromisedCredentialsRiskConfiguration :: Lens' SetRiskConfiguration (Maybe CompromisedCredentialsRiskConfigurationType) Source #
The compromised credentials risk configuration.
setRiskConfiguration_userPoolId :: Lens' SetRiskConfiguration Text Source #
The user pool ID.
setRiskConfigurationResponse_httpStatus :: Lens' SetRiskConfigurationResponse Int Source #
The response's http status code.
setRiskConfigurationResponse_riskConfiguration :: Lens' SetRiskConfigurationResponse RiskConfigurationType Source #
The risk configuration.
ConfirmSignUp
confirmSignUp_clientMetadata :: Lens' ConfirmSignUp (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the ConfirmSignUp API action, Amazon Cognito
invokes the function that is assigned to the post confirmation
trigger. When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your ConfirmSignUp request. In your
function code in Lambda, you can process the clientMetadata
value to
enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
confirmSignUp_forceAliasCreation :: Lens' ConfirmSignUp (Maybe Bool) Source #
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 AliasExistsException error.
confirmSignUp_analyticsMetadata :: Lens' ConfirmSignUp (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
ConfirmSignUp
calls.
confirmSignUp_userContextData :: Lens' ConfirmSignUp (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
confirmSignUp_secretHash :: Lens' ConfirmSignUp (Maybe Text) Source #
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.
confirmSignUp_clientId :: Lens' ConfirmSignUp Text Source #
The ID of the app client associated with the user pool.
confirmSignUp_username :: Lens' ConfirmSignUp Text Source #
The user name of the user whose registration you wish to confirm.
confirmSignUp_confirmationCode :: Lens' ConfirmSignUp Text Source #
The confirmation code sent by a user's request to confirm registration.
confirmSignUpResponse_httpStatus :: Lens' ConfirmSignUpResponse Int Source #
The response's http status code.
ListUserPools
listUserPools_nextToken :: Lens' ListUserPools (Maybe Text) Source #
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.
listUserPools_maxResults :: Lens' ListUserPools Natural Source #
The maximum number of results you want the request to return when listing the user pools.
listUserPoolsResponse_userPools :: Lens' ListUserPoolsResponse (Maybe [UserPoolDescriptionType]) Source #
The user pools from the response to list users.
listUserPoolsResponse_nextToken :: Lens' ListUserPoolsResponse (Maybe Text) Source #
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.
listUserPoolsResponse_httpStatus :: Lens' ListUserPoolsResponse Int Source #
The response's http status code.
AdminResetUserPassword
adminResetUserPassword_clientMetadata :: Lens' AdminResetUserPassword (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the AdminResetUserPassword API action, Amazon
Cognito invokes the function that is assigned to the custom message
trigger. When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your AdminResetUserPassword request. In
your function code in Lambda, you can process the clientMetadata
value
to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
adminResetUserPassword_userPoolId :: Lens' AdminResetUserPassword Text Source #
The user pool ID for the user pool where you want to reset the user's password.
adminResetUserPassword_username :: Lens' AdminResetUserPassword Text Source #
The user name of the user whose password you wish to reset.
adminResetUserPasswordResponse_httpStatus :: Lens' AdminResetUserPasswordResponse Int Source #
The response's http status code.
UpdateAuthEventFeedback
updateAuthEventFeedback_userPoolId :: Lens' UpdateAuthEventFeedback Text Source #
The user pool ID.
updateAuthEventFeedback_username :: Lens' UpdateAuthEventFeedback Text Source #
The user pool username.
updateAuthEventFeedback_eventId :: Lens' UpdateAuthEventFeedback Text Source #
The event ID.
updateAuthEventFeedback_feedbackToken :: Lens' UpdateAuthEventFeedback Text Source #
The feedback token.
updateAuthEventFeedback_feedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType Source #
The authentication event feedback value.
updateAuthEventFeedbackResponse_httpStatus :: Lens' UpdateAuthEventFeedbackResponse Int Source #
The response's http status code.
CreateUserImportJob
createUserImportJob_jobName :: Lens' CreateUserImportJob Text Source #
The job name for the user import job.
createUserImportJob_userPoolId :: Lens' CreateUserImportJob Text Source #
The user pool ID for the user pool that the users are being imported into.
createUserImportJob_cloudWatchLogsRoleArn :: Lens' CreateUserImportJob Text Source #
The role ARN for the Amazon CloudWatch Logging role for the user import job.
createUserImportJobResponse_userImportJob :: Lens' CreateUserImportJobResponse (Maybe UserImportJobType) Source #
The job object that represents the user import job.
createUserImportJobResponse_httpStatus :: Lens' CreateUserImportJobResponse Int Source #
The response's http status code.
GetUser
getUser_accessToken :: Lens' GetUser Text Source #
The access token returned by the server response to get information about the user.
getUserResponse_userMFASettingList :: Lens' GetUserResponse (Maybe [Text]) Source #
The MFA options that are enabled for the user. The possible values in
this list are SMS_MFA
and SOFTWARE_TOKEN_MFA
.
getUserResponse_mfaOptions :: Lens' GetUserResponse (Maybe [MFAOptionType]) Source #
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
getUserResponse_preferredMfaSetting :: Lens' GetUserResponse (Maybe Text) Source #
The user's preferred MFA setting.
getUserResponse_httpStatus :: Lens' GetUserResponse Int Source #
The response's http status code.
getUserResponse_username :: Lens' GetUserResponse Text Source #
The user name of the user you wish to retrieve from the get user request.
getUserResponse_userAttributes :: Lens' GetUserResponse [AttributeType] Source #
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
GetUICustomization
getUICustomization_clientId :: Lens' GetUICustomization (Maybe Text) Source #
The client ID for the client app.
getUICustomization_userPoolId :: Lens' GetUICustomization Text Source #
The user pool ID for the user pool.
getUICustomizationResponse_httpStatus :: Lens' GetUICustomizationResponse Int Source #
The response's http status code.
getUICustomizationResponse_uICustomization :: Lens' GetUICustomizationResponse UICustomizationType Source #
The UI customization information.
GetCSVHeader
getCSVHeader_userPoolId :: Lens' GetCSVHeader Text Source #
The user pool ID for the user pool that the users are to be imported into.
getCSVHeaderResponse_userPoolId :: Lens' GetCSVHeaderResponse (Maybe Text) Source #
The user pool ID for the user pool that the users are to be imported into.
getCSVHeaderResponse_cSVHeader :: Lens' GetCSVHeaderResponse (Maybe [Text]) Source #
The header information for the .csv file for the user import job.
getCSVHeaderResponse_httpStatus :: Lens' GetCSVHeaderResponse Int Source #
The response's http status code.
AdminDeleteUser
adminDeleteUser_userPoolId :: Lens' AdminDeleteUser Text Source #
The user pool ID for the user pool where you want to delete the user.
adminDeleteUser_username :: Lens' AdminDeleteUser Text Source #
The user name of the user you wish to delete.
AdminForgetDevice
adminForgetDevice_userPoolId :: Lens' AdminForgetDevice Text Source #
The user pool ID.
adminForgetDevice_username :: Lens' AdminForgetDevice Text Source #
The user name.
adminForgetDevice_deviceKey :: Lens' AdminForgetDevice Text Source #
The device key.
DescribeResourceServer
describeResourceServer_userPoolId :: Lens' DescribeResourceServer Text Source #
The user pool ID for the user pool that hosts the resource server.
describeResourceServer_identifier :: Lens' DescribeResourceServer Text Source #
The identifier for the resource server
describeResourceServerResponse_httpStatus :: Lens' DescribeResourceServerResponse Int Source #
The response's http status code.
describeResourceServerResponse_resourceServer :: Lens' DescribeResourceServerResponse ResourceServerType Source #
The resource server.
SetUserMFAPreference
setUserMFAPreference_sMSMfaSettings :: Lens' SetUserMFAPreference (Maybe SMSMfaSettingsType) Source #
The SMS text message multi-factor authentication (MFA) settings.
setUserMFAPreference_softwareTokenMfaSettings :: Lens' SetUserMFAPreference (Maybe SoftwareTokenMfaSettingsType) Source #
The time-based one-time password software token MFA settings.
setUserMFAPreference_accessToken :: Lens' SetUserMFAPreference Text Source #
The access token for the user.
setUserMFAPreferenceResponse_httpStatus :: Lens' SetUserMFAPreferenceResponse Int Source #
The response's http status code.
AdminUpdateDeviceStatus
adminUpdateDeviceStatus_deviceRememberedStatus :: Lens' AdminUpdateDeviceStatus (Maybe DeviceRememberedStatusType) Source #
The status indicating whether a device has been remembered or not.
adminUpdateDeviceStatus_userPoolId :: Lens' AdminUpdateDeviceStatus Text Source #
The user pool ID.
adminUpdateDeviceStatus_username :: Lens' AdminUpdateDeviceStatus Text Source #
The user name.
adminUpdateDeviceStatus_deviceKey :: Lens' AdminUpdateDeviceStatus Text Source #
The device key.
adminUpdateDeviceStatusResponse_httpStatus :: Lens' AdminUpdateDeviceStatusResponse Int Source #
The response's http status code.
AdminCreateUser
adminCreateUser_clientMetadata :: Lens' AdminCreateUser (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the AdminCreateUser API action, Amazon Cognito
invokes the function that is assigned to the pre sign-up trigger. When
Amazon Cognito invokes this function, it passes a JSON payload, which
the function receives as input. This payload contains a clientMetadata
attribute, which provides the data that you assigned to the
ClientMetadata parameter in your AdminCreateUser request. In your
function code in Lambda, you can process the clientMetadata
value to
enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
adminCreateUser_temporaryPassword :: Lens' AdminCreateUser (Maybe Text) Source #
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 "RESEND"
for the MessageAction
parameter.
adminCreateUser_forceAliasCreation :: Lens' AdminCreateUser (Maybe Bool) Source #
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
.
adminCreateUser_desiredDeliveryMediums :: Lens' AdminCreateUser (Maybe [DeliveryMediumType]) Source #
Specify "EMAIL"
if email will be used to send the welcome message.
Specify "SMS"
if the phone number will be used. The default value is
"SMS"
. More than one value can be specified.
adminCreateUser_messageAction :: Lens' AdminCreateUser (Maybe MessageActionType) Source #
Set to "RESEND"
to resend the invitation message to a user that
already exists and reset the expiration limit on the user's account.
Set to "SUPPRESS"
to suppress sending the message. Only one value
can be specified.
adminCreateUser_userAttributes :: Lens' AdminCreateUser (Maybe [AttributeType]) Source #
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 (when creating a user pool or in
the Attributes 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).
For custom attributes, you must prepend the custom:
prefix to the
attribute name.
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 Users 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 can also do this by calling
AdminUpdateUserAttributes.)
- email: 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 toTrue
, or if"EMAIL"
is specified in theDesiredDeliveryMediums
parameter. - phone_number: 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 toTrue
, or if"SMS"
is specified in theDesiredDeliveryMediums
parameter.
adminCreateUser_validationData :: Lens' AdminCreateUser (Maybe [AttributeType]) Source #
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.
adminCreateUser_userPoolId :: Lens' AdminCreateUser Text Source #
The user pool ID for the user pool where the user will be created.
adminCreateUser_username :: Lens' AdminCreateUser Text Source #
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.
adminCreateUserResponse_user :: Lens' AdminCreateUserResponse (Maybe UserType) Source #
The newly created user.
adminCreateUserResponse_httpStatus :: Lens' AdminCreateUserResponse Int Source #
The response's http status code.
AddCustomAttributes
addCustomAttributes_userPoolId :: Lens' AddCustomAttributes Text Source #
The user pool ID for the user pool where you want to add custom attributes.
addCustomAttributes_customAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType) Source #
An array of custom attributes, such as Mutable and Name.
addCustomAttributesResponse_httpStatus :: Lens' AddCustomAttributesResponse Int Source #
The response's http status code.
ListUserPoolClients
listUserPoolClients_nextToken :: Lens' ListUserPoolClients (Maybe Text) Source #
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.
listUserPoolClients_maxResults :: Lens' ListUserPoolClients (Maybe Natural) Source #
The maximum number of results you want the request to return when listing the user pool clients.
listUserPoolClients_userPoolId :: Lens' ListUserPoolClients Text Source #
The user pool ID for the user pool where you want to list user pool clients.
listUserPoolClientsResponse_nextToken :: Lens' ListUserPoolClientsResponse (Maybe Text) Source #
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.
listUserPoolClientsResponse_userPoolClients :: Lens' ListUserPoolClientsResponse (Maybe [UserPoolClientDescription]) Source #
The user pool clients in the response that lists user pool clients.
listUserPoolClientsResponse_httpStatus :: Lens' ListUserPoolClientsResponse Int Source #
The response's http status code.
AdminSetUserMFAPreference
adminSetUserMFAPreference_sMSMfaSettings :: Lens' AdminSetUserMFAPreference (Maybe SMSMfaSettingsType) Source #
The SMS text message MFA settings.
adminSetUserMFAPreference_softwareTokenMfaSettings :: Lens' AdminSetUserMFAPreference (Maybe SoftwareTokenMfaSettingsType) Source #
The time-based one-time password software token MFA settings.
adminSetUserMFAPreference_username :: Lens' AdminSetUserMFAPreference Text Source #
The user pool username or alias.
adminSetUserMFAPreference_userPoolId :: Lens' AdminSetUserMFAPreference Text Source #
The user pool ID.
adminSetUserMFAPreferenceResponse_httpStatus :: Lens' AdminSetUserMFAPreferenceResponse Int Source #
The response's http status code.
UpdateUserPoolClient
updateUserPoolClient_refreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural) Source #
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
updateUserPoolClient_explicitAuthFlows :: Lens' UpdateUserPoolClient (Maybe [ExplicitAuthFlowsType]) Source #
The authentication flows that are supported by the user pool clients.
Flow names without the ALLOW_
prefix are deprecated in favor of new
names with the ALLOW_
prefix. Note that values with ALLOW_
prefix
cannot be used along with values without ALLOW_
prefix.
Valid values include:
ALLOW_ADMIN_USER_PASSWORD_AUTH
: Enable admin based user password authentication flowADMIN_USER_PASSWORD_AUTH
. This setting replaces theADMIN_NO_SRP_AUTH
setting. With this authentication flow, Cognito receives the password in the request instead of using the SRP (Secure Remote Password protocol) protocol to verify passwords.ALLOW_CUSTOM_AUTH
: Enable Lambda trigger based authentication.ALLOW_USER_PASSWORD_AUTH
: Enable user password-based authentication. In this flow, Cognito receives the password in the request instead of using the SRP protocol to verify passwords.ALLOW_USER_SRP_AUTH
: Enable SRP based authentication.ALLOW_REFRESH_TOKEN_AUTH
: Enable authflow to refresh tokens.
updateUserPoolClient_supportedIdentityProviders :: Lens' UpdateUserPoolClient (Maybe [Text]) Source #
A list of provider names for the identity providers that are supported on this client.
updateUserPoolClient_logoutURLs :: Lens' UpdateUserPoolClient (Maybe [Text]) Source #
A list of allowed logout URLs for the identity providers.
updateUserPoolClient_allowedOAuthFlowsUserPoolClient :: Lens' UpdateUserPoolClient (Maybe Bool) Source #
Set to true if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
updateUserPoolClient_idTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural) Source #
The time limit, after which the ID token is no longer valid and cannot be used.
updateUserPoolClient_tokenValidityUnits :: Lens' UpdateUserPoolClient (Maybe TokenValidityUnitsType) Source #
The units in which the validity times are represented in. Default for RefreshToken is days, and default for ID and access tokens are hours.
updateUserPoolClient_defaultRedirectURI :: Lens' UpdateUserPoolClient (Maybe Text) Source #
The default redirect URI. Must be in the CallbackURLs
list.
A redirect URI must:
- Be an absolute URI.
- Be registered with the authorization server.
- Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
updateUserPoolClient_enableTokenRevocation :: Lens' UpdateUserPoolClient (Maybe Bool) Source #
Enables or disables token revocation. For more information about revoking tokens, see RevokeToken.
updateUserPoolClient_writeAttributes :: Lens' UpdateUserPoolClient (Maybe [Text]) Source #
The writeable attributes of the user pool.
updateUserPoolClient_preventUserExistenceErrors :: Lens' UpdateUserPoolClient (Maybe PreventUserExistenceErrorTypes) Source #
Use this setting to choose which errors and responses are returned by
Cognito APIs during authentication, account confirmation, and password
recovery when the user does not exist in the user pool. When set to
ENABLED
and the user does not exist, authentication returns an error
indicating either the username or password was incorrect, and account
confirmation and password recovery return a response indicating a code
was sent to a simulated destination. When set to LEGACY
, those APIs
will return a UserNotFoundException
exception if the user does not
exist in the user pool.
Valid values include:
ENABLED
- This prevents user existence-related errors.LEGACY
- This represents the old behavior of Cognito where user existence related errors are not prevented.
After February 15th 2020, the value of PreventUserExistenceErrors
will
default to ENABLED
for newly created user pool clients if no value is
provided.
updateUserPoolClient_accessTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural) Source #
The time limit, after which the access token is no longer valid and cannot be used.
updateUserPoolClient_readAttributes :: Lens' UpdateUserPoolClient (Maybe [Text]) Source #
The read-only attributes of the user pool.
updateUserPoolClient_allowedOAuthScopes :: Lens' UpdateUserPoolClient (Maybe [Text]) Source #
The allowed OAuth scopes. Possible values provided by OAuth are:
phone
, email
, openid
, and profile
. Possible values provided by
Amazon Web Services are: aws.cognito.signin.user.admin
. Custom scopes
created in Resource Servers are also supported.
updateUserPoolClient_allowedOAuthFlows :: Lens' UpdateUserPoolClient (Maybe [OAuthFlowType]) Source #
The allowed OAuth flows.
Set to code
to initiate a code grant flow, which provides an
authorization code as the response. This code can be exchanged for
access tokens with the token endpoint.
Set to implicit
to specify that the client should get the access token
(and, optionally, ID token, based on scopes) directly.
Set to client_credentials
to specify that the client should get the
access token (and, optionally, ID token, based on scopes) from the token
endpoint using a combination of client and client_secret.
updateUserPoolClient_analyticsConfiguration :: Lens' UpdateUserPoolClient (Maybe AnalyticsConfigurationType) Source #
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
In regions where Pinpoint is not available, Cognito User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint is available, Cognito User Pools will support sending events to Amazon Pinpoint projects within that same region.
updateUserPoolClient_clientName :: Lens' UpdateUserPoolClient (Maybe Text) Source #
The client name from the update user pool client request.
updateUserPoolClient_callbackURLs :: Lens' UpdateUserPoolClient (Maybe [Text]) Source #
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
- Be an absolute URI.
- Be registered with the authorization server.
- Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
updateUserPoolClient_userPoolId :: Lens' UpdateUserPoolClient Text Source #
The user pool ID for the user pool where you want to update the user pool client.
updateUserPoolClient_clientId :: Lens' UpdateUserPoolClient Text Source #
The ID of the client associated with the user pool.
updateUserPoolClientResponse_userPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType) Source #
The user pool client value from the response from the server when an update user pool client request is made.
updateUserPoolClientResponse_httpStatus :: Lens' UpdateUserPoolClientResponse Int Source #
The response's http status code.
DeleteUserPoolClient
deleteUserPoolClient_userPoolId :: Lens' DeleteUserPoolClient Text Source #
The user pool ID for the user pool where you want to delete the client.
deleteUserPoolClient_clientId :: Lens' DeleteUserPoolClient Text Source #
The app client ID of the app associated with the user pool.
UpdateDeviceStatus
updateDeviceStatus_deviceRememberedStatus :: Lens' UpdateDeviceStatus (Maybe DeviceRememberedStatusType) Source #
The status of whether a device is remembered.
updateDeviceStatus_accessToken :: Lens' UpdateDeviceStatus Text Source #
The access token.
updateDeviceStatus_deviceKey :: Lens' UpdateDeviceStatus Text Source #
The device key.
updateDeviceStatusResponse_httpStatus :: Lens' UpdateDeviceStatusResponse Int Source #
The response's http status code.
ForgetDevice
forgetDevice_accessToken :: Lens' ForgetDevice (Maybe Text) Source #
The access token for the forgotten device request.
forgetDevice_deviceKey :: Lens' ForgetDevice Text Source #
The device key.
GetSigningCertificate
getSigningCertificate_userPoolId :: Lens' GetSigningCertificate Text Source #
The user pool ID.
getSigningCertificateResponse_certificate :: Lens' GetSigningCertificateResponse (Maybe Text) Source #
The signing certificate.
getSigningCertificateResponse_httpStatus :: Lens' GetSigningCertificateResponse Int Source #
The response's http status code.
DeleteUser
deleteUser_accessToken :: Lens' DeleteUser Text Source #
The access token from a request to delete a user.
TagResource
tagResource_resourceArn :: Lens' TagResource Text Source #
The Amazon Resource Name (ARN) of the user pool to assign the tags to.
tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #
The tags to assign to the user pool.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int Source #
The response's http status code.
CreateUserPoolClient
createUserPoolClient_refreshTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural) Source #
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
createUserPoolClient_explicitAuthFlows :: Lens' CreateUserPoolClient (Maybe [ExplicitAuthFlowsType]) Source #
The authentication flows that are supported by the user pool clients.
Flow names without the ALLOW_
prefix are deprecated in favor of new
names with the ALLOW_
prefix. Note that values with ALLOW_
prefix
cannot be used along with values without ALLOW_
prefix.
Valid values include:
ALLOW_ADMIN_USER_PASSWORD_AUTH
: Enable admin based user password authentication flowADMIN_USER_PASSWORD_AUTH
. This setting replaces theADMIN_NO_SRP_AUTH
setting. With this authentication flow, Cognito receives the password in the request instead of using the SRP (Secure Remote Password protocol) protocol to verify passwords.ALLOW_CUSTOM_AUTH
: Enable Lambda trigger based authentication.ALLOW_USER_PASSWORD_AUTH
: Enable user password-based authentication. In this flow, Cognito receives the password in the request instead of using the SRP protocol to verify passwords.ALLOW_USER_SRP_AUTH
: Enable SRP based authentication.ALLOW_REFRESH_TOKEN_AUTH
: Enable authflow to refresh tokens.
createUserPoolClient_supportedIdentityProviders :: Lens' CreateUserPoolClient (Maybe [Text]) Source #
A list of provider names for the identity providers that are supported
on this client. The following are supported: COGNITO
, Facebook
,
Google
and LoginWithAmazon
.
createUserPoolClient_logoutURLs :: Lens' CreateUserPoolClient (Maybe [Text]) Source #
A list of allowed logout URLs for the identity providers.
createUserPoolClient_allowedOAuthFlowsUserPoolClient :: Lens' CreateUserPoolClient (Maybe Bool) Source #
Set to true if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
createUserPoolClient_generateSecret :: Lens' CreateUserPoolClient (Maybe Bool) Source #
Boolean to specify whether you want to generate a secret for the user pool client being created.
createUserPoolClient_idTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural) Source #
The time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in TokenValidityUnits.
createUserPoolClient_tokenValidityUnits :: Lens' CreateUserPoolClient (Maybe TokenValidityUnitsType) Source #
The units in which the validity times are represented in. Default for RefreshToken is days, and default for ID and access tokens are hours.
createUserPoolClient_defaultRedirectURI :: Lens' CreateUserPoolClient (Maybe Text) Source #
The default redirect URI. Must be in the CallbackURLs
list.
A redirect URI must:
- Be an absolute URI.
- Be registered with the authorization server.
- Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
createUserPoolClient_enableTokenRevocation :: Lens' CreateUserPoolClient (Maybe Bool) Source #
Enables or disables token revocation. For more information about revoking tokens, see RevokeToken.
If you don't include this parameter, token revocation is automatically enabled for the new user pool client.
createUserPoolClient_writeAttributes :: Lens' CreateUserPoolClient (Maybe [Text]) Source #
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
createUserPoolClient_preventUserExistenceErrors :: Lens' CreateUserPoolClient (Maybe PreventUserExistenceErrorTypes) Source #
Use this setting to choose which errors and responses are returned by
Cognito APIs during authentication, account confirmation, and password
recovery when the user does not exist in the user pool. When set to
ENABLED
and the user does not exist, authentication returns an error
indicating either the username or password was incorrect, and account
confirmation and password recovery return a response indicating a code
was sent to a simulated destination. When set to LEGACY
, those APIs
will return a UserNotFoundException
exception if the user does not
exist in the user pool.
Valid values include:
ENABLED
- This prevents user existence-related errors.LEGACY
- This represents the old behavior of Cognito where user existence related errors are not prevented.
After February 15th 2020, the value of PreventUserExistenceErrors
will
default to ENABLED
for newly created user pool clients if no value is
provided.
createUserPoolClient_accessTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural) Source #
The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in TokenValidityUnits.
createUserPoolClient_readAttributes :: Lens' CreateUserPoolClient (Maybe [Text]) Source #
The read attributes.
createUserPoolClient_allowedOAuthScopes :: Lens' CreateUserPoolClient (Maybe [Text]) Source #
The allowed OAuth scopes. Possible values provided by OAuth are:
phone
, email
, openid
, and profile
. Possible values provided by
Amazon Web Services are: aws.cognito.signin.user.admin
. Custom scopes
created in Resource Servers are also supported.
createUserPoolClient_allowedOAuthFlows :: Lens' CreateUserPoolClient (Maybe [OAuthFlowType]) Source #
The allowed OAuth flows.
Set to code
to initiate a code grant flow, which provides an
authorization code as the response. This code can be exchanged for
access tokens with the token endpoint.
Set to implicit
to specify that the client should get the access token
(and, optionally, ID token, based on scopes) directly.
Set to client_credentials
to specify that the client should get the
access token (and, optionally, ID token, based on scopes) from the token
endpoint using a combination of client and client_secret.
createUserPoolClient_analyticsConfiguration :: Lens' CreateUserPoolClient (Maybe AnalyticsConfigurationType) Source #
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
In regions where Pinpoint is not available, Cognito User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint is available, Cognito User Pools will support sending events to Amazon Pinpoint projects within that same region.
createUserPoolClient_callbackURLs :: Lens' CreateUserPoolClient (Maybe [Text]) Source #
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
- Be an absolute URI.
- Be registered with the authorization server.
- Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
createUserPoolClient_userPoolId :: Lens' CreateUserPoolClient Text Source #
The user pool ID for the user pool where you want to create a user pool client.
createUserPoolClient_clientName :: Lens' CreateUserPoolClient Text Source #
The client name for the user pool client you would like to create.
createUserPoolClientResponse_userPoolClient :: Lens' CreateUserPoolClientResponse (Maybe UserPoolClientType) Source #
The user pool client that was just created.
createUserPoolClientResponse_httpStatus :: Lens' CreateUserPoolClientResponse Int Source #
The response's http status code.
GetUserPoolMfaConfig
getUserPoolMfaConfig_userPoolId :: Lens' GetUserPoolMfaConfig Text Source #
The user pool ID.
getUserPoolMfaConfigResponse_smsMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SmsMfaConfigType) Source #
The SMS text message multi-factor (MFA) configuration.
getUserPoolMfaConfigResponse_softwareTokenMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SoftwareTokenMfaConfigType) Source #
The software token multi-factor (MFA) configuration.
getUserPoolMfaConfigResponse_mfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe UserPoolMfaType) Source #
The multi-factor (MFA) configuration. Valid values include:
OFF
MFA will not be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor enabled.
getUserPoolMfaConfigResponse_httpStatus :: Lens' GetUserPoolMfaConfigResponse Int Source #
The response's http status code.
CreateResourceServer
createResourceServer_scopes :: Lens' CreateResourceServer (Maybe [ResourceServerScopeType]) Source #
A list of scopes. Each scope is map, where the keys are name
and
description
.
createResourceServer_userPoolId :: Lens' CreateResourceServer Text Source #
The user pool ID for the user pool.
createResourceServer_identifier :: Lens' CreateResourceServer Text Source #
A unique resource server identifier for the resource server. This could
be an HTTPS endpoint where the resource server is located. For example,
https://my-weather-api.example.com
.
createResourceServer_name :: Lens' CreateResourceServer Text Source #
A friendly name for the resource server.
createResourceServerResponse_httpStatus :: Lens' CreateResourceServerResponse Int Source #
The response's http status code.
createResourceServerResponse_resourceServer :: Lens' CreateResourceServerResponse ResourceServerType Source #
The newly created resource server.
AdminListUserAuthEvents
adminListUserAuthEvents_nextToken :: Lens' AdminListUserAuthEvents (Maybe Text) Source #
A pagination token.
adminListUserAuthEvents_maxResults :: Lens' AdminListUserAuthEvents (Maybe Natural) Source #
The maximum number of authentication events to return.
adminListUserAuthEvents_userPoolId :: Lens' AdminListUserAuthEvents Text Source #
The user pool ID.
adminListUserAuthEvents_username :: Lens' AdminListUserAuthEvents Text Source #
The user pool username or an alias.
adminListUserAuthEventsResponse_nextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text) Source #
A pagination token.
adminListUserAuthEventsResponse_authEvents :: Lens' AdminListUserAuthEventsResponse (Maybe [AuthEventType]) Source #
The response object. It includes the EventID
, EventType
,
CreationDate
, EventRisk
, and EventResponse
.
adminListUserAuthEventsResponse_httpStatus :: Lens' AdminListUserAuthEventsResponse Int Source #
The response's http status code.
CreateGroup
createGroup_precedence :: Lens' CreateGroup (Maybe Natural) Source #
A nonnegative integer value that specifies the precedence of this group
relative to the other groups that a user can belong to in the user pool.
Zero is the highest precedence value. Groups with lower Precedence
values take precedence over groups with higher or null Precedence
values. If a user belongs to two or more groups, it is the group with
the lowest precedence value whose role ARN will be used in the
cognito:roles
and cognito:preferred_role
claims in the user's
tokens.
Two groups can have the same Precedence
value. If this happens,
neither group takes precedence over the other. If two groups with the
same Precedence
have the same role ARN, that role is used in the
cognito:preferred_role
claim in tokens for users in each group. If the
two groups have different role ARNs, the cognito:preferred_role
claim
is not set in users' tokens.
The default Precedence
value is null.
createGroup_description :: Lens' CreateGroup (Maybe Text) Source #
A string containing the description of the group.
createGroup_roleArn :: Lens' CreateGroup (Maybe Text) Source #
The role ARN for the group.
createGroup_groupName :: Lens' CreateGroup Text Source #
The name of the group. Must be unique.
createGroup_userPoolId :: Lens' CreateGroup Text Source #
The user pool ID for the user pool.
createGroupResponse_group :: Lens' CreateGroupResponse (Maybe GroupType) Source #
The group object for the group.
createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int Source #
The response's http status code.
AdminAddUserToGroup
adminAddUserToGroup_userPoolId :: Lens' AdminAddUserToGroup Text Source #
The user pool ID for the user pool.
adminAddUserToGroup_username :: Lens' AdminAddUserToGroup Text Source #
The username for the user.
adminAddUserToGroup_groupName :: Lens' AdminAddUserToGroup Text Source #
The group name.
VerifySoftwareToken
verifySoftwareToken_accessToken :: Lens' VerifySoftwareToken (Maybe Text) Source #
The access token.
verifySoftwareToken_friendlyDeviceName :: Lens' VerifySoftwareToken (Maybe Text) Source #
The friendly device name.
verifySoftwareToken_session :: Lens' VerifySoftwareToken (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls to the service.
verifySoftwareToken_userCode :: Lens' VerifySoftwareToken Text Source #
The one time password computed using the secret code returned by AssociateSoftwareToken".
verifySoftwareTokenResponse_status :: Lens' VerifySoftwareTokenResponse (Maybe VerifySoftwareTokenResponseType) Source #
The status of the verify software token.
verifySoftwareTokenResponse_session :: Lens' VerifySoftwareTokenResponse (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls to the service.
verifySoftwareTokenResponse_httpStatus :: Lens' VerifySoftwareTokenResponse Int Source #
The response's http status code.
UntagResource
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.
untagResource_tagKeys :: Lens' UntagResource [Text] Source #
The keys of the tags to remove from the user pool.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.
RevokeToken
revokeToken_clientSecret :: Lens' RevokeToken (Maybe Text) Source #
The secret for the client ID. This is required only if the client ID has a secret.
revokeToken_token :: Lens' RevokeToken Text Source #
The token that you want to revoke.
revokeToken_clientId :: Lens' RevokeToken Text Source #
The client ID for the token that you want to revoke.
revokeTokenResponse_httpStatus :: Lens' RevokeTokenResponse Int Source #
The response's http status code.
StopUserImportJob
stopUserImportJob_userPoolId :: Lens' StopUserImportJob Text Source #
The user pool ID for the user pool that the users are being imported into.
stopUserImportJob_jobId :: Lens' StopUserImportJob Text Source #
The job ID for the user import job.
stopUserImportJobResponse_userImportJob :: Lens' StopUserImportJobResponse (Maybe UserImportJobType) Source #
The job object that represents the user import job.
stopUserImportJobResponse_httpStatus :: Lens' StopUserImportJobResponse Int Source #
The response's http status code.
DescribeUserImportJob
describeUserImportJob_userPoolId :: Lens' DescribeUserImportJob Text Source #
The user pool ID for the user pool that the users are being imported into.
describeUserImportJob_jobId :: Lens' DescribeUserImportJob Text Source #
The job ID for the user import job.
describeUserImportJobResponse_userImportJob :: Lens' DescribeUserImportJobResponse (Maybe UserImportJobType) Source #
The job object that represents the user import job.
describeUserImportJobResponse_httpStatus :: Lens' DescribeUserImportJobResponse Int Source #
The response's http status code.
DescribeRiskConfiguration
describeRiskConfiguration_clientId :: Lens' DescribeRiskConfiguration (Maybe Text) Source #
The app client ID.
describeRiskConfiguration_userPoolId :: Lens' DescribeRiskConfiguration Text Source #
The user pool ID.
describeRiskConfigurationResponse_httpStatus :: Lens' DescribeRiskConfigurationResponse Int Source #
The response's http status code.
describeRiskConfigurationResponse_riskConfiguration :: Lens' DescribeRiskConfigurationResponse RiskConfigurationType Source #
The risk configuration.
DeleteGroup
deleteGroup_groupName :: Lens' DeleteGroup Text Source #
The name of the group.
deleteGroup_userPoolId :: Lens' DeleteGroup Text Source #
The user pool ID for the user pool.
UpdateGroup
updateGroup_precedence :: Lens' UpdateGroup (Maybe Natural) Source #
The new precedence value for the group. For more information about this parameter, see CreateGroup.
updateGroup_description :: Lens' UpdateGroup (Maybe Text) Source #
A string containing the new description of the group.
updateGroup_roleArn :: Lens' UpdateGroup (Maybe Text) Source #
The new role ARN for the group. This is used for setting the
cognito:roles
and cognito:preferred_role
claims in the token.
updateGroup_groupName :: Lens' UpdateGroup Text Source #
The name of the group.
updateGroup_userPoolId :: Lens' UpdateGroup Text Source #
The user pool ID for the user pool.
updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe GroupType) Source #
The group object for the group.
updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int Source #
The response's http status code.
GlobalSignOut
globalSignOut_accessToken :: Lens' GlobalSignOut Text Source #
The access token.
globalSignOutResponse_httpStatus :: Lens' GlobalSignOutResponse Int Source #
The response's http status code.
ListGroups
listGroups_nextToken :: Lens' ListGroups (Maybe Text) Source #
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.
listGroups_limit :: Lens' ListGroups (Maybe Natural) Source #
The limit of the request to list groups.
listGroups_userPoolId :: Lens' ListGroups Text Source #
The user pool ID for the user pool.
listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [GroupType]) Source #
The group objects for the groups.
listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text) Source #
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.
listGroupsResponse_httpStatus :: Lens' ListGroupsResponse Int Source #
The response's http status code.
UpdateIdentityProvider
updateIdentityProvider_idpIdentifiers :: Lens' UpdateIdentityProvider (Maybe [Text]) Source #
A list of identity provider identifiers.
updateIdentityProvider_attributeMapping :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text)) Source #
The identity provider attribute mapping to be changed.
updateIdentityProvider_providerDetails :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text)) Source #
The identity provider details to be updated, such as MetadataURL
and
MetadataFile
.
updateIdentityProvider_userPoolId :: Lens' UpdateIdentityProvider Text Source #
The user pool ID.
updateIdentityProvider_providerName :: Lens' UpdateIdentityProvider Text Source #
The identity provider name.
updateIdentityProviderResponse_httpStatus :: Lens' UpdateIdentityProviderResponse Int Source #
The response's http status code.
updateIdentityProviderResponse_identityProvider :: Lens' UpdateIdentityProviderResponse IdentityProviderType Source #
The identity provider object.
DeleteIdentityProvider
deleteIdentityProvider_userPoolId :: Lens' DeleteIdentityProvider Text Source #
The user pool ID.
deleteIdentityProvider_providerName :: Lens' DeleteIdentityProvider Text Source #
The identity provider name.
ListResourceServers
listResourceServers_nextToken :: Lens' ListResourceServers (Maybe Text) Source #
A pagination token.
listResourceServers_maxResults :: Lens' ListResourceServers (Maybe Natural) Source #
The maximum number of resource servers to return.
listResourceServers_userPoolId :: Lens' ListResourceServers Text Source #
The user pool ID for the user pool.
listResourceServersResponse_nextToken :: Lens' ListResourceServersResponse (Maybe Text) Source #
A pagination token.
listResourceServersResponse_httpStatus :: Lens' ListResourceServersResponse Int Source #
The response's http status code.
listResourceServersResponse_resourceServers :: Lens' ListResourceServersResponse [ResourceServerType] Source #
The resource servers.
AdminRespondToAuthChallenge
adminRespondToAuthChallenge_clientMetadata :: Lens' AdminRespondToAuthChallenge (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the AdminRespondToAuthChallenge API action,
Amazon Cognito invokes any functions that are assigned to the following
triggers: pre sign-up, custom message, post authentication, /user
migration, pre token generation, define auth challenge, create
auth challenge, and verify auth challenge response/. When Amazon
Cognito invokes any of these functions, it passes a JSON payload, which
the function receives as input. This payload contains a clientMetadata
attribute, which provides the data that you assigned to the
ClientMetadata parameter in your AdminRespondToAuthChallenge request. In
your function code in Lambda, you can process the clientMetadata
value
to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
adminRespondToAuthChallenge_contextData :: Lens' AdminRespondToAuthChallenge (Maybe ContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
adminRespondToAuthChallenge_analyticsMetadata :: Lens' AdminRespondToAuthChallenge (Maybe AnalyticsMetadataType) Source #
The analytics metadata for collecting Amazon Pinpoint metrics for
AdminRespondToAuthChallenge
calls.
adminRespondToAuthChallenge_challengeResponses :: Lens' AdminRespondToAuthChallenge (Maybe (HashMap Text Text)) Source #
The challenge responses. These are inputs corresponding to the value of
ChallengeName
, for example:
SMS_MFA
:SMS_MFA_CODE
,USERNAME
,SECRET_HASH
(if app client is configured with client secret).PASSWORD_VERIFIER
:PASSWORD_CLAIM_SIGNATURE
,PASSWORD_CLAIM_SECRET_BLOCK
,TIMESTAMP
,USERNAME
,SECRET_HASH
(if app client is configured with client secret).ADMIN_NO_SRP_AUTH
:PASSWORD
,USERNAME
,SECRET_HASH
(if app client is configured with client secret).NEW_PASSWORD_REQUIRED
:NEW_PASSWORD
, any other required attributes,USERNAME
,SECRET_HASH
(if app client is configured with client secret).MFA_SETUP
requiresUSERNAME
, plus you need to use the session value returned byVerifySoftwareToken
in theSession
parameter.
The value of the USERNAME
attribute must be the user's actual
username, not an alias (such as email address or phone number). To make
this easier, the AdminInitiateAuth
response includes the actual
username value in the USERNAMEUSER_ID_FOR_SRP
attribute, even if you
specified an alias in your call to AdminInitiateAuth
.
adminRespondToAuthChallenge_session :: Lens' AdminRespondToAuthChallenge (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls
to the service. If InitiateAuth
or RespondToAuthChallenge
API call
determines that the caller needs to go through another challenge, they
return a session with other challenge parameters. This session should be
passed as it is to the next RespondToAuthChallenge
API call.
adminRespondToAuthChallenge_userPoolId :: Lens' AdminRespondToAuthChallenge Text Source #
The ID of the Amazon Cognito user pool.
adminRespondToAuthChallenge_clientId :: Lens' AdminRespondToAuthChallenge Text Source #
The app client ID.
adminRespondToAuthChallenge_challengeName :: Lens' AdminRespondToAuthChallenge ChallengeNameType Source #
The challenge name. For more information, see AdminInitiateAuth.
adminRespondToAuthChallengeResponse_challengeName :: Lens' AdminRespondToAuthChallengeResponse (Maybe ChallengeNameType) Source #
The name of the challenge. For more information, see AdminInitiateAuth.
adminRespondToAuthChallengeResponse_challengeParameters :: Lens' AdminRespondToAuthChallengeResponse (Maybe (HashMap Text Text)) Source #
The challenge parameters. For more information, see AdminInitiateAuth.
adminRespondToAuthChallengeResponse_authenticationResult :: Lens' AdminRespondToAuthChallengeResponse (Maybe AuthenticationResultType) Source #
The result returned by the server in response to the authentication request.
adminRespondToAuthChallengeResponse_session :: Lens' AdminRespondToAuthChallengeResponse (Maybe Text) Source #
The session which should be passed both ways in challenge-response calls
to the service. If the caller needs to go through another challenge,
they return a session with other challenge parameters. This session
should be passed as it is to the next RespondToAuthChallenge
API call.
adminRespondToAuthChallengeResponse_httpStatus :: Lens' AdminRespondToAuthChallengeResponse Int Source #
The response's http status code.
SetUserSettings
setUserSettings_accessToken :: Lens' SetUserSettings Text Source #
The access token for the set user settings request.
setUserSettings_mfaOptions :: Lens' SetUserSettings [MFAOptionType] Source #
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
setUserSettingsResponse_httpStatus :: Lens' SetUserSettingsResponse Int Source #
The response's http status code.
AdminListDevices
adminListDevices_paginationToken :: Lens' AdminListDevices (Maybe Text) Source #
The pagination token.
adminListDevices_limit :: Lens' AdminListDevices (Maybe Natural) Source #
The limit of the devices request.
adminListDevices_userPoolId :: Lens' AdminListDevices Text Source #
The user pool ID.
adminListDevices_username :: Lens' AdminListDevices Text Source #
The user name.
adminListDevicesResponse_paginationToken :: Lens' AdminListDevicesResponse (Maybe Text) Source #
The pagination token.
adminListDevicesResponse_devices :: Lens' AdminListDevicesResponse (Maybe [DeviceType]) Source #
The devices in the list of devices response.
adminListDevicesResponse_httpStatus :: Lens' AdminListDevicesResponse Int Source #
The response's http status code.
DescribeUserPoolClient
describeUserPoolClient_userPoolId :: Lens' DescribeUserPoolClient Text Source #
The user pool ID for the user pool you want to describe.
describeUserPoolClient_clientId :: Lens' DescribeUserPoolClient Text Source #
The app client ID of the app associated with the user pool.
describeUserPoolClientResponse_userPoolClient :: Lens' DescribeUserPoolClientResponse (Maybe UserPoolClientType) Source #
The user pool client from a server response to describe the user pool client.
describeUserPoolClientResponse_httpStatus :: Lens' DescribeUserPoolClientResponse Int Source #
The response's http status code.
ResendConfirmationCode
resendConfirmationCode_clientMetadata :: Lens' ResendConfirmationCode (Maybe (HashMap Text Text)) Source #
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
You create custom workflows by assigning Lambda functions to user pool
triggers. When you use the ResendConfirmationCode API action, Amazon
Cognito invokes the function that is assigned to the custom message
trigger. When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. This payload contains a
clientMetadata
attribute, which provides the data that you assigned to
the ClientMetadata parameter in your ResendConfirmationCode request. In
your function code in Lambda, you can process the clientMetadata
value
to enhance your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
- Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
- Amazon Cognito does not validate the ClientMetadata value.
- Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
resendConfirmationCode_analyticsMetadata :: Lens' ResendConfirmationCode (Maybe AnalyticsMetadataType) Source #
The Amazon Pinpoint analytics metadata for collecting metrics for
ResendConfirmationCode
calls.
resendConfirmationCode_userContextData :: Lens' ResendConfirmationCode (Maybe UserContextDataType) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
resendConfirmationCode_secretHash :: Lens' ResendConfirmationCode (Maybe Text) Source #
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.
resendConfirmationCode_clientId :: Lens' ResendConfirmationCode Text Source #
The ID of the client associated with the user pool.
resendConfirmationCode_username :: Lens' ResendConfirmationCode Text Source #
The user name of the user to whom you wish to resend a confirmation code.
resendConfirmationCodeResponse_codeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType) Source #
The code delivery details returned by the server in response to the request to resend the confirmation code.
resendConfirmationCodeResponse_httpStatus :: Lens' ResendConfirmationCodeResponse Int Source #
The response's http status code.
GetGroup
getGroupResponse_group :: Lens' GetGroupResponse (Maybe GroupType) Source #
The group object for the group.
getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #
The response's http status code.
AdminSetUserSettings
adminSetUserSettings_userPoolId :: Lens' AdminSetUserSettings Text Source #
The ID of the user pool that contains the user that you are setting options for.
adminSetUserSettings_username :: Lens' AdminSetUserSettings Text Source #
The user name of the user that you are setting options for.
adminSetUserSettings_mfaOptions :: Lens' AdminSetUserSettings [MFAOptionType] Source #
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
adminSetUserSettingsResponse_httpStatus :: Lens' AdminSetUserSettingsResponse Int Source #
The response's http status code.
ListDevices
listDevices_paginationToken :: Lens' ListDevices (Maybe Text) Source #
The pagination token for the list request.
listDevices_limit :: Lens' ListDevices (Maybe Natural) Source #
The limit of the device request.
listDevices_accessToken :: Lens' ListDevices Text Source #
The access tokens for the request to list devices.
listDevicesResponse_paginationToken :: Lens' ListDevicesResponse (Maybe Text) Source #
The pagination token for the list device response.
listDevicesResponse_devices :: Lens' ListDevicesResponse (Maybe [DeviceType]) Source #
The devices returned in the list devices response.
listDevicesResponse_httpStatus :: Lens' ListDevicesResponse Int Source #
The response's http status code.
Types
AccountRecoverySettingType
accountRecoverySettingType_recoveryMechanisms :: Lens' AccountRecoverySettingType (Maybe (NonEmpty RecoveryOptionType)) Source #
The list of RecoveryOptionTypes
.
AccountTakeoverActionType
accountTakeoverActionType_notify :: Lens' AccountTakeoverActionType Bool Source #
Flag specifying whether to send a notification.
accountTakeoverActionType_eventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType Source #
The event action.
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Throw MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Throw MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user sign-in.
AccountTakeoverActionsType
accountTakeoverActionsType_lowAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType) Source #
Action to take for a low risk.
accountTakeoverActionsType_highAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType) Source #
Action to take for a high risk.
accountTakeoverActionsType_mediumAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType) Source #
Action to take for a medium risk.
AccountTakeoverRiskConfigurationType
accountTakeoverRiskConfigurationType_notifyConfiguration :: Lens' AccountTakeoverRiskConfigurationType (Maybe NotifyConfigurationType) Source #
The notify configuration used to construct email notifications.
accountTakeoverRiskConfigurationType_actions :: Lens' AccountTakeoverRiskConfigurationType AccountTakeoverActionsType Source #
Account takeover risk configuration actions
AdminCreateUserConfigType
adminCreateUserConfigType_allowAdminCreateUserOnly :: Lens' AdminCreateUserConfigType (Maybe Bool) Source #
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.
adminCreateUserConfigType_unusedAccountValidityDays :: Lens' AdminCreateUserConfigType (Maybe Natural) Source #
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 "RESEND"
for the
MessageAction
parameter. The default value for this parameter is 7.
If you set a value for TemporaryPasswordValidityDays
in
PasswordPolicy
, that value will be used and
UnusedAccountValidityDays
will be deprecated for that user pool.
adminCreateUserConfigType_inviteMessageTemplate :: Lens' AdminCreateUserConfigType (Maybe MessageTemplateType) Source #
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
AnalyticsConfigurationType
analyticsConfigurationType_applicationArn :: Lens' AnalyticsConfigurationType (Maybe Text) Source #
The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project for Pinpoint integration with the chosen User Pool Client. Amazon Cognito publishes events to the pinpoint project declared by the app ARN.
analyticsConfigurationType_userDataShared :: Lens' AnalyticsConfigurationType (Maybe Bool) Source #
If UserDataShared
is true
, Amazon Cognito will include user data in
the events it publishes to Amazon Pinpoint analytics.
analyticsConfigurationType_applicationId :: Lens' AnalyticsConfigurationType (Maybe Text) Source #
The application ID for an Amazon Pinpoint application.
analyticsConfigurationType_externalId :: Lens' AnalyticsConfigurationType (Maybe Text) Source #
The external ID.
analyticsConfigurationType_roleArn :: Lens' AnalyticsConfigurationType (Maybe Text) Source #
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
AnalyticsMetadataType
analyticsMetadataType_analyticsEndpointId :: Lens' AnalyticsMetadataType (Maybe Text) Source #
The endpoint ID.
AttributeType
attributeType_value :: Lens' AttributeType (Maybe Text) Source #
The value of the attribute.
attributeType_name :: Lens' AttributeType Text Source #
The name of the attribute.
AuthEventType
authEventType_eventRisk :: Lens' AuthEventType (Maybe EventRiskType) Source #
The event risk.
authEventType_eventResponse :: Lens' AuthEventType (Maybe EventResponseType) Source #
The event response.
authEventType_eventContextData :: Lens' AuthEventType (Maybe EventContextDataType) Source #
The user context data captured at the time of an event request. It provides additional information about the client from which event the request is received.
authEventType_challengeResponses :: Lens' AuthEventType (Maybe [ChallengeResponseType]) Source #
The challenge responses.
authEventType_eventType :: Lens' AuthEventType (Maybe EventType) Source #
The event type.
authEventType_creationDate :: Lens' AuthEventType (Maybe UTCTime) Source #
The creation date
authEventType_eventFeedback :: Lens' AuthEventType (Maybe EventFeedbackType) Source #
A flag specifying the user feedback captured at the time of an event request is good or bad.
authEventType_eventId :: Lens' AuthEventType (Maybe Text) Source #
The event ID.
AuthenticationResultType
authenticationResultType_accessToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The access token.
authenticationResultType_refreshToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The refresh token.
authenticationResultType_newDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType) Source #
The new device metadata from an authentication result.
authenticationResultType_expiresIn :: Lens' AuthenticationResultType (Maybe Int) Source #
The expiration period of the authentication result in seconds.
authenticationResultType_tokenType :: Lens' AuthenticationResultType (Maybe Text) Source #
The token type.
authenticationResultType_idToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The ID token.
ChallengeResponseType
challengeResponseType_challengeName :: Lens' ChallengeResponseType (Maybe ChallengeName) Source #
The challenge name
challengeResponseType_challengeResponse :: Lens' ChallengeResponseType (Maybe ChallengeResponse) Source #
The challenge response.
CodeDeliveryDetailsType
codeDeliveryDetailsType_destination :: Lens' CodeDeliveryDetailsType (Maybe Text) Source #
The destination for the code delivery details.
codeDeliveryDetailsType_deliveryMedium :: Lens' CodeDeliveryDetailsType (Maybe DeliveryMediumType) Source #
The delivery medium (email message or phone number).
codeDeliveryDetailsType_attributeName :: Lens' CodeDeliveryDetailsType (Maybe Text) Source #
The attribute name.
CompromisedCredentialsActionsType
compromisedCredentialsActionsType_eventAction :: Lens' CompromisedCredentialsActionsType CompromisedCredentialsEventActionType Source #
The event action.
CompromisedCredentialsRiskConfigurationType
compromisedCredentialsRiskConfigurationType_eventFilter :: Lens' CompromisedCredentialsRiskConfigurationType (Maybe [EventFilterType]) Source #
Perform the action for these events. The default is to perform all events if no event filter is specified.
compromisedCredentialsRiskConfigurationType_actions :: Lens' CompromisedCredentialsRiskConfigurationType CompromisedCredentialsActionsType Source #
The compromised credentials risk configuration actions.
ContextDataType
contextDataType_encodedData :: Lens' ContextDataType (Maybe Text) Source #
Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.
contextDataType_ipAddress :: Lens' ContextDataType Text Source #
Source IP address of your user.
contextDataType_serverName :: Lens' ContextDataType Text Source #
Your server endpoint where this API is invoked.
contextDataType_serverPath :: Lens' ContextDataType Text Source #
Your server path where this API is invoked.
contextDataType_httpHeaders :: Lens' ContextDataType [HttpHeader] Source #
HttpHeaders received on your server in same order.
CustomDomainConfigType
customDomainConfigType_certificateArn :: Lens' CustomDomainConfigType Text Source #
The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
CustomEmailLambdaVersionConfigType
customEmailLambdaVersionConfigType_lambdaVersion :: Lens' CustomEmailLambdaVersionConfigType CustomEmailSenderLambdaVersionType Source #
The Lambda version represents the signature of the "request" attribute
in the "event" information Amazon Cognito passes to your custom email
Lambda function. The only supported value is V1_0
.
customEmailLambdaVersionConfigType_lambdaArn :: Lens' CustomEmailLambdaVersionConfigType Text Source #
The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send email notifications to users.
CustomSMSLambdaVersionConfigType
customSMSLambdaVersionConfigType_lambdaVersion :: Lens' CustomSMSLambdaVersionConfigType CustomSMSSenderLambdaVersionType Source #
The Lambda version represents the signature of the "request" attribute
in the "event" information Amazon Cognito passes to your custom SMS
Lambda function. The only supported value is V1_0
.
customSMSLambdaVersionConfigType_lambdaArn :: Lens' CustomSMSLambdaVersionConfigType Text Source #
The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send SMS notifications to users.
DeviceConfigurationType
deviceConfigurationType_challengeRequiredOnNewDevice :: Lens' DeviceConfigurationType (Maybe Bool) Source #
Indicates whether a challenge is required on a new device. Only applicable to a new device.
deviceConfigurationType_deviceOnlyRememberedOnUserPrompt :: Lens' DeviceConfigurationType (Maybe Bool) Source #
If true, a device is only remembered on user prompt.
DeviceSecretVerifierConfigType
deviceSecretVerifierConfigType_passwordVerifier :: Lens' DeviceSecretVerifierConfigType (Maybe Text) Source #
The password verifier.
deviceSecretVerifierConfigType_salt :: Lens' DeviceSecretVerifierConfigType (Maybe Text) Source #
The salt.
DeviceType
deviceType_deviceLastModifiedDate :: Lens' DeviceType (Maybe UTCTime) Source #
The last modified date of the device.
deviceType_deviceCreateDate :: Lens' DeviceType (Maybe UTCTime) Source #
The creation date of the device.
deviceType_deviceAttributes :: Lens' DeviceType (Maybe [AttributeType]) Source #
The device attributes.
deviceType_deviceKey :: Lens' DeviceType (Maybe Text) Source #
The device key.
deviceType_deviceLastAuthenticatedDate :: Lens' DeviceType (Maybe UTCTime) Source #
The date in which the device was last authenticated.
DomainDescriptionType
domainDescriptionType_status :: Lens' DomainDescriptionType (Maybe DomainStatusType) Source #
The domain status.
domainDescriptionType_cloudFrontDistribution :: Lens' DomainDescriptionType (Maybe Text) Source #
The ARN of the CloudFront distribution.
domainDescriptionType_userPoolId :: Lens' DomainDescriptionType (Maybe Text) Source #
The user pool ID.
domainDescriptionType_domain :: Lens' DomainDescriptionType (Maybe Text) Source #
The domain string.
domainDescriptionType_aWSAccountId :: Lens' DomainDescriptionType (Maybe Text) Source #
The account ID for the user pool owner.
domainDescriptionType_customDomainConfig :: Lens' DomainDescriptionType (Maybe CustomDomainConfigType) Source #
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
domainDescriptionType_version :: Lens' DomainDescriptionType (Maybe Text) Source #
The app version.
domainDescriptionType_s3Bucket :: Lens' DomainDescriptionType (Maybe Text) Source #
The S3 bucket where the static files for this domain are stored.
EmailConfigurationType
emailConfigurationType_sourceArn :: Lens' EmailConfigurationType (Maybe Text) Source #
The Amazon Resource Name (ARN) of a verified email address in Amazon
SES. This email address is used in one of the following ways, depending
on the value that you specify for the EmailSendingAccount
parameter:
- If you specify
COGNITO_DEFAULT
, Amazon Cognito uses this address as the custom FROM address when it emails your users by using its built-in email account. - If you specify
DEVELOPER
, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf.
emailConfigurationType_from :: Lens' EmailConfigurationType (Maybe Text) Source #
Identifies either the sender’s email address or the sender’s name with
their email address. For example, testuser@example.com
or
Test User <testuser@example.com>
. This address will appear before
the body of the email.
emailConfigurationType_configurationSet :: Lens' EmailConfigurationType (Maybe Text) Source #
The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails:
- Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other Amazon Web Services services such as SNS and CloudWatch.
- IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets.
emailConfigurationType_replyToEmailAddress :: Lens' EmailConfigurationType (Maybe Text) Source #
The destination to which the receiver of the email should reply to.
emailConfigurationType_emailSendingAccount :: Lens' EmailConfigurationType (Maybe EmailSendingAccountType) Source #
Specifies whether Amazon Cognito emails your users by using its built-in email functionality or your Amazon SES email configuration. Specify one of the following values:
- COGNITO_DEFAULT
- When Amazon Cognito emails your users, it uses its built-in email
functionality. When you use the default option, Amazon Cognito
allows only a limited number of emails each day for your user pool.
For typical production environments, the default email limit is
below the required delivery volume. To achieve a higher delivery
volume, specify DEVELOPER to use your Amazon SES email
configuration.
To look up the email delivery limit for the default option, see Limits in Amazon Cognito in the Amazon Cognito Developer Guide.
The default FROM address is no-reply@verificationemail.com. To customize the FROM address, provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.If EmailSendingAccount is COGNITO_DEFAULT, the following parameters aren't allowed:
- EmailVerificationMessage
- EmailVerificationSubject
- InviteMessageTemplate.EmailMessage
- InviteMessageTemplate.EmailSubject
- VerificationMessageTemplate.EmailMessage
- VerificationMessageTemplate.EmailMessageByLink
- VerificationMessageTemplate.EmailSubject,
- VerificationMessageTemplate.EmailSubjectByLink
DEVELOPER EmailSendingAccount is required.
- DEVELOPER
- When Amazon Cognito emails your users, it uses your Amazon SES
configuration. Amazon Cognito calls Amazon SES on your behalf to
send email from your verified email address. When you use this
option, the email delivery limits are the same limits that apply to
your Amazon SES verified email address in your account.
If you use this option, you must provide the ARN of an Amazon SES verified email address for the
SourceArn
parameter.Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a /service-linked role/, which is a type of IAM role, in your account. This role contains the permissions that allow Amazon Cognito to access Amazon SES and send email messages with your address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide.
EventContextDataType
eventContextDataType_ipAddress :: Lens' EventContextDataType (Maybe Text) Source #
The user's IP address.
eventContextDataType_country :: Lens' EventContextDataType (Maybe Text) Source #
The user's country.
eventContextDataType_city :: Lens' EventContextDataType (Maybe Text) Source #
The user's city.
eventContextDataType_deviceName :: Lens' EventContextDataType (Maybe Text) Source #
The user's device name.
eventContextDataType_timezone :: Lens' EventContextDataType (Maybe Text) Source #
The user's time zone.
EventFeedbackType
eventFeedbackType_feedbackDate :: Lens' EventFeedbackType (Maybe UTCTime) Source #
The event feedback date.
eventFeedbackType_feedbackValue :: Lens' EventFeedbackType FeedbackValueType Source #
The event feedback value.
eventFeedbackType_provider :: Lens' EventFeedbackType Text Source #
The provider.
EventRiskType
eventRiskType_compromisedCredentialsDetected :: Lens' EventRiskType (Maybe Bool) Source #
Indicates whether compromised credentials were detected during an authentication event.
eventRiskType_riskLevel :: Lens' EventRiskType (Maybe RiskLevelType) Source #
The risk level.
eventRiskType_riskDecision :: Lens' EventRiskType (Maybe RiskDecisionType) Source #
The risk decision.
GroupType
groupType_lastModifiedDate :: Lens' GroupType (Maybe UTCTime) Source #
The date the group was last modified.
groupType_precedence :: Lens' GroupType (Maybe Natural) Source #
A nonnegative integer value that specifies the precedence of this group
relative to the other groups that a user can belong to in the user pool.
If a user belongs to two or more groups, it is the group with the
highest precedence whose role ARN will be used in the cognito:roles
and cognito:preferred_role
claims in the user's tokens. Groups with
higher Precedence
values take precedence over groups with lower
Precedence
values or with null Precedence
values.
Two groups can have the same Precedence
value. If this happens,
neither group takes precedence over the other. If two groups with the
same Precedence
have the same role ARN, that role is used in the
cognito:preferred_role
claim in tokens for users in each group. If the
two groups have different role ARNs, the cognito:preferred_role
claim
is not set in users' tokens.
The default Precedence
value is null.
groupType_description :: Lens' GroupType (Maybe Text) Source #
A string containing the description of the group.
HttpHeader
httpHeader_headerValue :: Lens' HttpHeader (Maybe Text) Source #
The header value.
httpHeader_headerName :: Lens' HttpHeader (Maybe Text) Source #
The header name
IdentityProviderType
identityProviderType_lastModifiedDate :: Lens' IdentityProviderType (Maybe UTCTime) Source #
The date the identity provider was last modified.
identityProviderType_userPoolId :: Lens' IdentityProviderType (Maybe Text) Source #
The user pool ID.
identityProviderType_providerType :: Lens' IdentityProviderType (Maybe IdentityProviderTypeType) Source #
The identity provider type.
identityProviderType_creationDate :: Lens' IdentityProviderType (Maybe UTCTime) Source #
The date the identity provider was created.
identityProviderType_idpIdentifiers :: Lens' IdentityProviderType (Maybe [Text]) Source #
A list of identity provider identifiers.
identityProviderType_attributeMapping :: Lens' IdentityProviderType (Maybe (HashMap Text Text)) Source #
A mapping of identity provider attributes to standard and custom user pool attributes.
identityProviderType_providerDetails :: Lens' IdentityProviderType (Maybe (HashMap Text Text)) Source #
The identity provider details. The following list describes the provider detail keys for each identity provider type.
For Google and Login with Amazon:
- client_id
- client_secret
- authorize_scopes
For Facebook:
- client_id
- client_secret
- authorize_scopes
- api_version
For Sign in with Apple:
- client_id
- team_id
- key_id
- private_key
- authorize_scopes
For OIDC providers:
- client_id
- client_secret
- attributes_request_method
- oidc_issuer
- authorize_scopes
- authorize_url /if not available from discovery URL specified by oidc_issuer key/
- token_url /if not available from discovery URL specified by oidc_issuer key/
- attributes_url /if not available from discovery URL specified by oidc_issuer key/
- jwks_uri /if not available from discovery URL specified by oidc_issuer key/
For SAML providers:
- MetadataFile OR MetadataURL
- IDPSignOut optional
identityProviderType_providerName :: Lens' IdentityProviderType (Maybe Text) Source #
The identity provider name.
LambdaConfigType
lambdaConfigType_preAuthentication :: Lens' LambdaConfigType (Maybe Text) Source #
A pre-authentication Lambda trigger.
lambdaConfigType_createAuthChallenge :: Lens' LambdaConfigType (Maybe Text) Source #
Creates an authentication challenge.
lambdaConfigType_verifyAuthChallengeResponse :: Lens' LambdaConfigType (Maybe Text) Source #
Verifies the authentication challenge response.
lambdaConfigType_customSMSSender :: Lens' LambdaConfigType (Maybe CustomSMSLambdaVersionConfigType) Source #
A custom SMS sender Lambda trigger.
lambdaConfigType_postAuthentication :: Lens' LambdaConfigType (Maybe Text) Source #
A post-authentication Lambda trigger.
lambdaConfigType_customMessage :: Lens' LambdaConfigType (Maybe Text) Source #
A custom Message Lambda trigger.
lambdaConfigType_defineAuthChallenge :: Lens' LambdaConfigType (Maybe Text) Source #
Defines the authentication challenge.
lambdaConfigType_customEmailSender :: Lens' LambdaConfigType (Maybe CustomEmailLambdaVersionConfigType) Source #
A custom email sender Lambda trigger.
lambdaConfigType_kmsKeyID :: Lens' LambdaConfigType (Maybe Text) Source #
The Amazon Resource Name of Key Management Service
Customer master keys
. Amazon Cognito uses the key to encrypt codes and temporary passwords
sent to CustomEmailSender
and CustomSMSSender
.
lambdaConfigType_postConfirmation :: Lens' LambdaConfigType (Maybe Text) Source #
A post-confirmation Lambda trigger.
lambdaConfigType_preTokenGeneration :: Lens' LambdaConfigType (Maybe Text) Source #
A Lambda trigger that is invoked before token generation.
lambdaConfigType_userMigration :: Lens' LambdaConfigType (Maybe Text) Source #
The user migration Lambda config type.
lambdaConfigType_preSignUp :: Lens' LambdaConfigType (Maybe Text) Source #
A pre-registration Lambda trigger.
MFAOptionType
mfaOptionType_deliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType) Source #
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS
delivery medium value.
mfaOptionType_attributeName :: Lens' MFAOptionType (Maybe Text) Source #
The attribute name of the MFA option type. The only valid value is
phone_number
.
MessageTemplateType
messageTemplateType_emailSubject :: Lens' MessageTemplateType (Maybe Text) Source #
The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
messageTemplateType_sMSMessage :: Lens' MessageTemplateType (Maybe Text) Source #
The message template for SMS messages.
messageTemplateType_emailMessage :: Lens' MessageTemplateType (Maybe Text) Source #
The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
NewDeviceMetadataType
newDeviceMetadataType_deviceGroupKey :: Lens' NewDeviceMetadataType (Maybe Text) Source #
The device group key.
newDeviceMetadataType_deviceKey :: Lens' NewDeviceMetadataType (Maybe Text) Source #
The device key.
NotifyConfigurationType
notifyConfigurationType_noActionEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType) Source #
The email template used when a detected risk event is allowed.
notifyConfigurationType_from :: Lens' NotifyConfigurationType (Maybe Text) Source #
The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
notifyConfigurationType_replyTo :: Lens' NotifyConfigurationType (Maybe Text) Source #
The destination to which the receiver of an email should reply to.
notifyConfigurationType_blockEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType) Source #
Email template used when a detected risk event is blocked.
notifyConfigurationType_mfaEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType) Source #
The MFA email template used when MFA is challenged as part of a detected risk.
notifyConfigurationType_sourceArn :: Lens' NotifyConfigurationType Text Source #
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy. It permits Amazon Cognito to send for
the email address specified in the From
parameter.
NotifyEmailType
notifyEmailType_textBody :: Lens' NotifyEmailType (Maybe Text) Source #
The text body.
notifyEmailType_htmlBody :: Lens' NotifyEmailType (Maybe Text) Source #
The HTML body.
notifyEmailType_subject :: Lens' NotifyEmailType Text Source #
The subject.
NumberAttributeConstraintsType
numberAttributeConstraintsType_maxValue :: Lens' NumberAttributeConstraintsType (Maybe Text) Source #
The maximum value of an attribute that is of the number data type.
numberAttributeConstraintsType_minValue :: Lens' NumberAttributeConstraintsType (Maybe Text) Source #
The minimum value of an attribute that is of the number data type.
PasswordPolicyType
passwordPolicyType_requireNumbers :: Lens' PasswordPolicyType (Maybe Bool) Source #
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
passwordPolicyType_requireUppercase :: Lens' PasswordPolicyType (Maybe Bool) Source #
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.
passwordPolicyType_requireLowercase :: Lens' PasswordPolicyType (Maybe Bool) Source #
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.
passwordPolicyType_minimumLength :: Lens' PasswordPolicyType (Maybe Natural) Source #
The minimum length of the password policy that you have set. Cannot be less than 6.
passwordPolicyType_requireSymbols :: Lens' PasswordPolicyType (Maybe Bool) Source #
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
passwordPolicyType_temporaryPasswordValidityDays :: Lens' PasswordPolicyType (Maybe Natural) Source #
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.
When you set TemporaryPasswordValidityDays
for a user pool, you will
no longer be able to set the deprecated UnusedAccountValidityDays
value for that user pool.
ProviderDescription
providerDescription_lastModifiedDate :: Lens' ProviderDescription (Maybe UTCTime) Source #
The date the provider was last modified.
providerDescription_providerType :: Lens' ProviderDescription (Maybe IdentityProviderTypeType) Source #
The identity provider type.
providerDescription_creationDate :: Lens' ProviderDescription (Maybe UTCTime) Source #
The date the provider was added to the user pool.
providerDescription_providerName :: Lens' ProviderDescription (Maybe Text) Source #
The identity provider name.
ProviderUserIdentifierType
providerUserIdentifierType_providerAttributeValue :: Lens' ProviderUserIdentifierType (Maybe Text) Source #
The value of the provider attribute to link to, for example,
xxxxx_account
.
providerUserIdentifierType_providerAttributeName :: Lens' ProviderUserIdentifierType (Maybe Text) Source #
The name of the provider attribute to link to, for example, NameID
.
providerUserIdentifierType_providerName :: Lens' ProviderUserIdentifierType (Maybe Text) Source #
The name of the provider, for example, Facebook, Google, or Login with Amazon.
RecoveryOptionType
recoveryOptionType_priority :: Lens' RecoveryOptionType Natural Source #
A positive integer specifying priority of a method with 1 being the highest priority.
recoveryOptionType_name :: Lens' RecoveryOptionType RecoveryOptionNameType Source #
Specifies the recovery method for a user.
ResourceServerScopeType
resourceServerScopeType_scopeName :: Lens' ResourceServerScopeType Text Source #
The name of the scope.
resourceServerScopeType_scopeDescription :: Lens' ResourceServerScopeType Text Source #
A description of the scope.
ResourceServerType
resourceServerType_userPoolId :: Lens' ResourceServerType (Maybe Text) Source #
The user pool ID for the user pool that hosts the resource server.
resourceServerType_identifier :: Lens' ResourceServerType (Maybe Text) Source #
The identifier for the resource server.
resourceServerType_scopes :: Lens' ResourceServerType (Maybe [ResourceServerScopeType]) Source #
A list of scopes that are defined for the resource server.
resourceServerType_name :: Lens' ResourceServerType (Maybe Text) Source #
The name of the resource server.
RiskConfigurationType
riskConfigurationType_riskExceptionConfiguration :: Lens' RiskConfigurationType (Maybe RiskExceptionConfigurationType) Source #
The configuration to override the risk decision.
riskConfigurationType_clientId :: Lens' RiskConfigurationType (Maybe Text) Source #
The app client ID.
riskConfigurationType_accountTakeoverRiskConfiguration :: Lens' RiskConfigurationType (Maybe AccountTakeoverRiskConfigurationType) Source #
The account takeover risk configuration object including the
NotifyConfiguration
object and Actions
to take in the case of an
account takeover.
riskConfigurationType_lastModifiedDate :: Lens' RiskConfigurationType (Maybe UTCTime) Source #
The last modified date.
riskConfigurationType_userPoolId :: Lens' RiskConfigurationType (Maybe Text) Source #
The user pool ID.
riskConfigurationType_compromisedCredentialsRiskConfiguration :: Lens' RiskConfigurationType (Maybe CompromisedCredentialsRiskConfigurationType) Source #
The compromised credentials risk configuration object including the
EventFilter
and the EventAction
RiskExceptionConfigurationType
riskExceptionConfigurationType_skippedIPRangeList :: Lens' RiskExceptionConfigurationType (Maybe [Text]) Source #
Risk detection is not performed on the IP addresses in the range list. The IP range is in CIDR notation.
riskExceptionConfigurationType_blockedIPRangeList :: Lens' RiskExceptionConfigurationType (Maybe [Text]) Source #
Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation: a compact representation of an IP address and its associated routing prefix.
SMSMfaSettingsType
sMSMfaSettingsType_enabled :: Lens' SMSMfaSettingsType (Maybe Bool) Source #
Specifies whether SMS text message MFA is enabled. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted.
sMSMfaSettingsType_preferredMfa :: Lens' SMSMfaSettingsType (Maybe Bool) Source #
Specifies whether SMS is the preferred MFA method.
SchemaAttributeType
schemaAttributeType_numberAttributeConstraints :: Lens' SchemaAttributeType (Maybe NumberAttributeConstraintsType) Source #
Specifies the constraints for an attribute of the number type.
schemaAttributeType_required :: Lens' SchemaAttributeType (Maybe Bool) Source #
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.
schemaAttributeType_attributeDataType :: Lens' SchemaAttributeType (Maybe AttributeDataType) Source #
The attribute data type.
schemaAttributeType_stringAttributeConstraints :: Lens' SchemaAttributeType (Maybe StringAttributeConstraintsType) Source #
Specifies the constraints for an attribute of the string type.
schemaAttributeType_name :: Lens' SchemaAttributeType (Maybe Text) Source #
A schema attribute of the name type.
schemaAttributeType_developerOnlyAttribute :: Lens' SchemaAttributeType (Maybe Bool) Source #
We recommend that you use
WriteAttributes
in the user pool client to control how attributes can be mutated for new
use cases instead of using DeveloperOnlyAttribute
.
Specifies whether the attribute type is developer only. This attribute
can only be modified by an administrator. Users will not be able to
modify this attribute using their access token. For example,
DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes
but cannot be updated using UpdateUserAttributes.
schemaAttributeType_mutable :: Lens' SchemaAttributeType (Maybe Bool) Source #
Specifies whether the value of the attribute can be changed.
For any user pool attribute that's mapped to an identity provider
attribute, you must set this parameter to true
. Amazon Cognito updates
mapped attributes when users sign in to your application through an
identity provider. If an attribute is immutable, Amazon Cognito throws
an error when it attempts to update the attribute. For more information,
see
Specifying Identity Provider Attribute Mappings for Your User Pool.
SmsConfigurationType
smsConfigurationType_externalId :: Lens' SmsConfigurationType (Maybe Text) Source #
The external ID is a value that we recommend you use to add security to
your IAM role which is used to call Amazon SNS to send SMS messages for
your user pool. If you provide an ExternalId
, the Cognito User Pool
will include it when attempting to assume your IAM role, so that you can
set your roles trust policy to require the ExternalID
. If you use the
Cognito Management Console to create a role for SMS MFA, Cognito will
create a role with the required permissions and a trust policy that
demonstrates use of the ExternalId
.
For more information about the ExternalId
of a role, see
How to use an external ID when granting access to your Amazon Web Services resources to a third party
smsConfigurationType_snsCallerArn :: Lens' SmsConfigurationType Text Source #
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller. This is the ARN of the IAM role in your account which Cognito will use to send SMS messages. SMS messages are subject to a spending limit.
SmsMfaConfigType
smsMfaConfigType_smsAuthenticationMessage :: Lens' SmsMfaConfigType (Maybe Text) Source #
The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used.
smsMfaConfigType_smsConfiguration :: Lens' SmsMfaConfigType (Maybe SmsConfigurationType) Source #
The SMS configuration.
SoftwareTokenMfaConfigType
softwareTokenMfaConfigType_enabled :: Lens' SoftwareTokenMfaConfigType (Maybe Bool) Source #
Specifies whether software token MFA is enabled.
SoftwareTokenMfaSettingsType
softwareTokenMfaSettingsType_enabled :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool) Source #
Specifies whether software token MFA is enabled. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted.
softwareTokenMfaSettingsType_preferredMfa :: Lens' SoftwareTokenMfaSettingsType (Maybe Bool) Source #
Specifies whether software token MFA is the preferred MFA method.
StringAttributeConstraintsType
stringAttributeConstraintsType_maxLength :: Lens' StringAttributeConstraintsType (Maybe Text) Source #
The maximum length.
stringAttributeConstraintsType_minLength :: Lens' StringAttributeConstraintsType (Maybe Text) Source #
The minimum length.
TokenValidityUnitsType
tokenValidityUnitsType_accessToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType) Source #
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in AccessTokenValidity, defaults to hours.
tokenValidityUnitsType_refreshToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType) Source #
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in RefreshTokenValidity, defaults to days.
tokenValidityUnitsType_idToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType) Source #
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in IdTokenValidity, defaults to hours.
UICustomizationType
uICustomizationType_clientId :: Lens' UICustomizationType (Maybe Text) Source #
The client ID for the client app.
uICustomizationType_lastModifiedDate :: Lens' UICustomizationType (Maybe UTCTime) Source #
The last-modified date for the UI customization.
uICustomizationType_userPoolId :: Lens' UICustomizationType (Maybe Text) Source #
The user pool ID for the user pool.
uICustomizationType_css :: Lens' UICustomizationType (Maybe Text) Source #
The CSS values in the UI customization.
uICustomizationType_cSSVersion :: Lens' UICustomizationType (Maybe Text) Source #
The CSS version number.
uICustomizationType_imageUrl :: Lens' UICustomizationType (Maybe Text) Source #
The logo image for the UI customization.
uICustomizationType_creationDate :: Lens' UICustomizationType (Maybe UTCTime) Source #
The creation date for the UI customization.
UserContextDataType
userContextDataType_encodedData :: Lens' UserContextDataType (Maybe Text) Source #
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
UserImportJobType
userImportJobType_status :: Lens' UserImportJobType (Maybe UserImportJobStatusType) Source #
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.
userImportJobType_skippedUsers :: Lens' UserImportJobType (Maybe Integer) Source #
The number of users that were skipped.
userImportJobType_jobId :: Lens' UserImportJobType (Maybe Text) Source #
The job ID for the user import job.
userImportJobType_userPoolId :: Lens' UserImportJobType (Maybe Text) Source #
The user pool ID for the user pool that the users are being imported into.
userImportJobType_jobName :: Lens' UserImportJobType (Maybe Text) Source #
The job name for the user import job.
userImportJobType_preSignedUrl :: Lens' UserImportJobType (Maybe Text) Source #
The pre-signed URL to be used to upload the .csv
file.
userImportJobType_failedUsers :: Lens' UserImportJobType (Maybe Integer) Source #
The number of users that could not be imported.
userImportJobType_startDate :: Lens' UserImportJobType (Maybe UTCTime) Source #
The date when the user import job was started.
userImportJobType_completionMessage :: Lens' UserImportJobType (Maybe Text) Source #
The message returned when the user import job is completed.
userImportJobType_creationDate :: Lens' UserImportJobType (Maybe UTCTime) Source #
The date the user import job was created.
userImportJobType_completionDate :: Lens' UserImportJobType (Maybe UTCTime) Source #
The date when the user import job was completed.
userImportJobType_cloudWatchLogsRoleArn :: Lens' UserImportJobType (Maybe Text) Source #
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.
userImportJobType_importedUsers :: Lens' UserImportJobType (Maybe Integer) Source #
The number of users that were successfully imported.
UserPoolAddOnsType
userPoolAddOnsType_advancedSecurityMode :: Lens' UserPoolAddOnsType AdvancedSecurityModeType Source #
The advanced security mode.
UserPoolClientDescription
userPoolClientDescription_clientId :: Lens' UserPoolClientDescription (Maybe Text) Source #
The ID of the client associated with the user pool.
userPoolClientDescription_userPoolId :: Lens' UserPoolClientDescription (Maybe Text) Source #
The user pool ID for the user pool where you want to describe the user pool client.
userPoolClientDescription_clientName :: Lens' UserPoolClientDescription (Maybe Text) Source #
The client name from the user pool client description.
UserPoolClientType
userPoolClientType_refreshTokenValidity :: Lens' UserPoolClientType (Maybe Natural) Source #
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
userPoolClientType_clientId :: Lens' UserPoolClientType (Maybe Text) Source #
The ID of the client associated with the user pool.
userPoolClientType_explicitAuthFlows :: Lens' UserPoolClientType (Maybe [ExplicitAuthFlowsType]) Source #
The authentication flows that are supported by the user pool clients.
Flow names without the ALLOW_
prefix are deprecated in favor of new
names with the ALLOW_
prefix. Note that values with ALLOW_
prefix
cannot be used along with values without ALLOW_
prefix.
Valid values include:
ALLOW_ADMIN_USER_PASSWORD_AUTH
: Enable admin based user password authentication flowADMIN_USER_PASSWORD_AUTH
. This setting replaces theADMIN_NO_SRP_AUTH
setting. With this authentication flow, Cognito receives the password in the request instead of using the SRP (Secure Remote Password protocol) protocol to verify passwords.ALLOW_CUSTOM_AUTH
: Enable Lambda trigger based authentication.ALLOW_USER_PASSWORD_AUTH
: Enable user password-based authentication. In this flow, Cognito receives the password in the request instead of using the SRP protocol to verify passwords.ALLOW_USER_SRP_AUTH
: Enable SRP based authentication.ALLOW_REFRESH_TOKEN_AUTH
: Enable authflow to refresh tokens.
userPoolClientType_clientSecret :: Lens' UserPoolClientType (Maybe Text) Source #
The client secret from the user pool request of the client type.
userPoolClientType_lastModifiedDate :: Lens' UserPoolClientType (Maybe UTCTime) Source #
The date the user pool client was last modified.
userPoolClientType_supportedIdentityProviders :: Lens' UserPoolClientType (Maybe [Text]) Source #
A list of provider names for the identity providers that are supported on this client.
userPoolClientType_logoutURLs :: Lens' UserPoolClientType (Maybe [Text]) Source #
A list of allowed logout URLs for the identity providers.
userPoolClientType_allowedOAuthFlowsUserPoolClient :: Lens' UserPoolClientType (Maybe Bool) Source #
Set to true if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
userPoolClientType_userPoolId :: Lens' UserPoolClientType (Maybe Text) Source #
The user pool ID for the user pool client.
userPoolClientType_idTokenValidity :: Lens' UserPoolClientType (Maybe Natural) Source #
The time limit, specified by tokenValidityUnits, defaulting to hours, after which the refresh token is no longer valid and cannot be used.
userPoolClientType_tokenValidityUnits :: Lens' UserPoolClientType (Maybe TokenValidityUnitsType) Source #
The time units used to specify the token validity times of their respective token.
userPoolClientType_defaultRedirectURI :: Lens' UserPoolClientType (Maybe Text) Source #
The default redirect URI. Must be in the CallbackURLs
list.
A redirect URI must:
- Be an absolute URI.
- Be registered with the authorization server.
- Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
userPoolClientType_enableTokenRevocation :: Lens' UserPoolClientType (Maybe Bool) Source #
Indicates whether token revocation is enabled for the user pool client. When you create a new user pool client, token revocation is enabled by default. For more information about revoking tokens, see RevokeToken.
userPoolClientType_writeAttributes :: Lens' UserPoolClientType (Maybe [Text]) Source #
The writeable attributes.
userPoolClientType_preventUserExistenceErrors :: Lens' UserPoolClientType (Maybe PreventUserExistenceErrorTypes) Source #
Use this setting to choose which errors and responses are returned by
Cognito APIs during authentication, account confirmation, and password
recovery when the user does not exist in the user pool. When set to
ENABLED
and the user does not exist, authentication returns an error
indicating either the username or password was incorrect, and account
confirmation and password recovery return a response indicating a code
was sent to a simulated destination. When set to LEGACY
, those APIs
will return a UserNotFoundException
exception if the user does not
exist in the user pool.
Valid values include:
ENABLED
- This prevents user existence-related errors.LEGACY
- This represents the old behavior of Cognito where user existence related errors are not prevented.
After February 15th 2020, the value of PreventUserExistenceErrors
will
default to ENABLED
for newly created user pool clients if no value is
provided.
userPoolClientType_accessTokenValidity :: Lens' UserPoolClientType (Maybe Natural) Source #
The time limit, specified by tokenValidityUnits, defaulting to hours, after which the access token is no longer valid and cannot be used.
userPoolClientType_creationDate :: Lens' UserPoolClientType (Maybe UTCTime) Source #
The date the user pool client was created.
userPoolClientType_readAttributes :: Lens' UserPoolClientType (Maybe [Text]) Source #
The Read-only attributes.
userPoolClientType_allowedOAuthScopes :: Lens' UserPoolClientType (Maybe [Text]) Source #
The allowed OAuth scopes. Possible values provided by OAuth are:
phone
, email
, openid
, and profile
. Possible values provided by
Amazon Web Services are: aws.cognito.signin.user.admin
. Custom scopes
created in Resource Servers are also supported.
userPoolClientType_allowedOAuthFlows :: Lens' UserPoolClientType (Maybe [OAuthFlowType]) Source #
The allowed OAuth flows.
Set to code
to initiate a code grant flow, which provides an
authorization code as the response. This code can be exchanged for
access tokens with the token endpoint.
Set to implicit
to specify that the client should get the access token
(and, optionally, ID token, based on scopes) directly.
Set to client_credentials
to specify that the client should get the
access token (and, optionally, ID token, based on scopes) from the token
endpoint using a combination of client and client_secret.
userPoolClientType_analyticsConfiguration :: Lens' UserPoolClientType (Maybe AnalyticsConfigurationType) Source #
The Amazon Pinpoint analytics configuration for the user pool client.
Cognito User Pools only supports sending events to Amazon Pinpoint projects in the US East (N. Virginia) us-east-1 Region, regardless of the region in which the user pool resides.
userPoolClientType_clientName :: Lens' UserPoolClientType (Maybe Text) Source #
The client name from the user pool request of the client type.
userPoolClientType_callbackURLs :: Lens' UserPoolClientType (Maybe [Text]) Source #
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
- Be an absolute URI.
- Be registered with the authorization server.
- Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
UserPoolDescriptionType
userPoolDescriptionType_status :: Lens' UserPoolDescriptionType (Maybe StatusType) Source #
The user pool status in a user pool description.
userPoolDescriptionType_lastModifiedDate :: Lens' UserPoolDescriptionType (Maybe UTCTime) Source #
The date the user pool description was last modified.
userPoolDescriptionType_name :: Lens' UserPoolDescriptionType (Maybe Text) Source #
The name in a user pool description.
userPoolDescriptionType_id :: Lens' UserPoolDescriptionType (Maybe Text) Source #
The ID in a user pool description.
userPoolDescriptionType_creationDate :: Lens' UserPoolDescriptionType (Maybe UTCTime) Source #
The date the user pool description was created.
userPoolDescriptionType_lambdaConfig :: Lens' UserPoolDescriptionType (Maybe LambdaConfigType) Source #
The Lambda configuration information in a user pool description.
UserPoolPolicyType
userPoolPolicyType_passwordPolicy :: Lens' UserPoolPolicyType (Maybe PasswordPolicyType) Source #
The password policy.
UserPoolType
userPoolType_status :: Lens' UserPoolType (Maybe StatusType) Source #
The status of a user pool.
userPoolType_userPoolTags :: Lens' UserPoolType (Maybe (HashMap Text Text)) Source #
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
userPoolType_emailConfigurationFailure :: Lens' UserPoolType (Maybe Text) Source #
The reason why the email configuration cannot send the messages to your users.
userPoolType_lastModifiedDate :: Lens' UserPoolType (Maybe UTCTime) Source #
The date the user pool was last modified.
userPoolType_verificationMessageTemplate :: Lens' UserPoolType (Maybe VerificationMessageTemplateType) Source #
The template for verification messages.
userPoolType_estimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int) Source #
A number estimating the size of the user pool.
userPoolType_arn :: Lens' UserPoolType (Maybe Text) Source #
The Amazon Resource Name (ARN) for the user pool.
userPoolType_domain :: Lens' UserPoolType (Maybe Text) Source #
Holds the domain prefix if the user pool has a domain associated with it.
userPoolType_customDomain :: Lens' UserPoolType (Maybe Text) Source #
A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com
.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
userPoolType_emailVerificationMessage :: Lens' UserPoolType (Maybe Text) Source #
The contents of the email verification message.
userPoolType_smsAuthenticationMessage :: Lens' UserPoolType (Maybe Text) Source #
The contents of the SMS authentication message.
userPoolType_userPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType) Source #
The user pool add-ons.
userPoolType_schemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType)) Source #
A container with the schema attributes of a user pool.
userPoolType_emailVerificationSubject :: Lens' UserPoolType (Maybe Text) Source #
The subject of the email verification message.
userPoolType_usernameAttributes :: Lens' UserPoolType (Maybe [UsernameAttributeType]) Source #
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
userPoolType_aliasAttributes :: Lens' UserPoolType (Maybe [AliasAttributeType]) Source #
Specifies the attributes that are aliased in a user pool.
userPoolType_accountRecoverySetting :: Lens' UserPoolType (Maybe AccountRecoverySettingType) Source #
Use this setting to define which verified available method a user can
use to recover their password when they call ForgotPassword
. It allows
you to define a preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid password
recovery mechanism if the user also has SMS MFA enabled. In the absence
of this setting, Cognito uses the legacy behavior to determine the
recovery method where SMS is preferred over email.
userPoolType_emailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType) Source #
The email configuration.
userPoolType_smsVerificationMessage :: Lens' UserPoolType (Maybe Text) Source #
The contents of the SMS verification message.
userPoolType_name :: Lens' UserPoolType (Maybe Text) Source #
The name of the user pool.
userPoolType_mfaConfiguration :: Lens' UserPoolType (Maybe UserPoolMfaType) Source #
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.ON
- MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool.OPTIONAL
- Users have the option when registering to create an MFA token.
userPoolType_id :: Lens' UserPoolType (Maybe Text) Source #
The ID of the user pool.
userPoolType_smsConfigurationFailure :: Lens' UserPoolType (Maybe Text) Source #
The reason why the SMS configuration cannot send the messages to your users.
This message might include comma-separated values to describe why your SMS configuration can't send messages to user pool end users.
- InvalidSmsRoleAccessPolicyException - The IAM role which Cognito uses to send SMS messages is not properly configured. For more information, see SmsConfigurationType.
- SNSSandbox - The account is in SNS Sandbox and messages won’t reach unverified end users. This parameter won’t get populated with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions. To learn how to move your account out of the sandbox, see Moving out of the SMS sandbox.
userPoolType_creationDate :: Lens' UserPoolType (Maybe UTCTime) Source #
The date the user pool was created.
userPoolType_lambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType) Source #
The Lambda triggers associated with the user pool.
userPoolType_smsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType) Source #
The SMS configuration.
userPoolType_adminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType) Source #
The configuration for AdminCreateUser
requests.
userPoolType_deviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType) Source #
The device configuration.
userPoolType_autoVerifiedAttributes :: Lens' UserPoolType (Maybe [VerifiedAttributeType]) Source #
Specifies the attributes that are auto-verified in a user pool.
userPoolType_policies :: Lens' UserPoolType (Maybe UserPoolPolicyType) Source #
The policies associated with the user pool.
userPoolType_usernameConfiguration :: Lens' UserPoolType (Maybe UsernameConfigurationType) Source #
You can choose to enable case sensitivity on the username input for the
selected sign-in option. For example, when this is set to False
, users
will be able to sign in using either "username" or "Username". This
configuration is immutable once it has been set. For more information,
see
UsernameConfigurationType.
UserType
userType_userStatus :: Lens' UserType (Maybe UserStatusType) Source #
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.
- RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.
- FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.
userType_username :: Lens' UserType (Maybe Text) Source #
The user name of the user you wish to describe.
userType_attributes :: Lens' UserType (Maybe [AttributeType]) Source #
A container with information about the user type attributes.
userType_mfaOptions :: Lens' UserType (Maybe [MFAOptionType]) Source #
The MFA options for the user.
userType_userLastModifiedDate :: Lens' UserType (Maybe UTCTime) Source #
The last modified date of the user.
UsernameConfigurationType
usernameConfigurationType_caseSensitive :: Lens' UsernameConfigurationType Bool Source #
Specifies whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.
Valid values include:
True
: Enables case sensitivity for all username input. When this option is set toTrue
, users must sign in using the exact capitalization of their given username. For example, “UserName”. This is the default value.False
: Enables case insensitivity for all username input. For example, when this option is set toFalse
, users will be able to sign in using either "username" or "Username". This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
VerificationMessageTemplateType
verificationMessageTemplateType_defaultEmailOption :: Lens' VerificationMessageTemplateType (Maybe DefaultEmailOptionType) Source #
The default email option.
verificationMessageTemplateType_emailSubject :: Lens' VerificationMessageTemplateType (Maybe Text) Source #
The subject line for the email message template. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
verificationMessageTemplateType_emailSubjectByLink :: Lens' VerificationMessageTemplateType (Maybe Text) Source #
The subject line for the email message template for sending a confirmation link to the user. EmailSubjectByLink is allowed only EmailSendingAccount is DEVELOPER.
verificationMessageTemplateType_smsMessage :: Lens' VerificationMessageTemplateType (Maybe Text) Source #
The SMS message template.
verificationMessageTemplateType_emailMessageByLink :: Lens' VerificationMessageTemplateType (Maybe Text) Source #
The email message template for sending a confirmation link to the user. EmailMessageByLink is allowed only if EmailSendingAccount is DEVELOPER.
verificationMessageTemplateType_emailMessage :: Lens' VerificationMessageTemplateType (Maybe Text) Source #
The email message template. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.