packages feed

amazonka-cognito-idp 1.5.0 → 1.6.0

raw patch · 130 files changed

+8650/−3737 lines, 130 filesdep ~amazonka-coredep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-test

API changes (from Hackage documentation)

- Network.AWS.CognitoIdentityProvider: ON :: UserPoolMFAType
- Network.AWS.CognitoIdentityProvider: Optional :: UserPoolMFAType
- Network.AWS.CognitoIdentityProvider.Types: ON :: UserPoolMFAType
- Network.AWS.CognitoIdentityProvider.Types: Optional :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider: ATEATBlock :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider: ATEATMFAIfConfigured :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider: ATEATMFARequired :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider: ATEATNoAction :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider: AccountTakeover :: RiskDecisionType
+ Network.AWS.CognitoIdentityProvider: Audit :: AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider: Block :: RiskDecisionType
+ Network.AWS.CognitoIdentityProvider: CCEATBlock :: CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider: CCEATNoAction :: CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider: CFailure :: ChallengeResponse
+ Network.AWS.CognitoIdentityProvider: CNTMFASetup :: ChallengeNameType
+ Network.AWS.CognitoIdentityProvider: CNTSelectMFAType :: ChallengeNameType
+ Network.AWS.CognitoIdentityProvider: CNTSoftwareTokenMFA :: ChallengeNameType
+ Network.AWS.CognitoIdentityProvider: CSuccess :: ChallengeResponse
+ Network.AWS.CognitoIdentityProvider: EAFTUserPasswordAuth :: ExplicitAuthFlowsType
+ Network.AWS.CognitoIdentityProvider: ETForgotPassword :: EventType
+ Network.AWS.CognitoIdentityProvider: ETSignIn :: EventType
+ Network.AWS.CognitoIdentityProvider: ETSignUp :: EventType
+ Network.AWS.CognitoIdentityProvider: Enforced :: AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider: Failure :: EventResponseType
+ Network.AWS.CognitoIdentityProvider: High :: RiskLevelType
+ Network.AWS.CognitoIdentityProvider: Invalid :: FeedbackValueType
+ Network.AWS.CognitoIdentityProvider: Low :: RiskLevelType
+ Network.AWS.CognitoIdentityProvider: MFA :: ChallengeName
+ Network.AWS.CognitoIdentityProvider: Medium :: RiskLevelType
+ Network.AWS.CognitoIdentityProvider: NoRisk :: RiskDecisionType
+ Network.AWS.CognitoIdentityProvider: Password :: ChallengeName
+ Network.AWS.CognitoIdentityProvider: PasswordChange :: EventFilterType
+ Network.AWS.CognitoIdentityProvider: SignIn :: EventFilterType
+ Network.AWS.CognitoIdentityProvider: SignUp :: EventFilterType
+ Network.AWS.CognitoIdentityProvider: Success :: EventResponseType
+ Network.AWS.CognitoIdentityProvider: UPMTON :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider: UPMTOff :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider: UPMTOptional :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider: UserPasswordAuth :: AuthFlowType
+ Network.AWS.CognitoIdentityProvider: VSTRTError' :: VerifySoftwareTokenResponseType
+ Network.AWS.CognitoIdentityProvider: VSTRTSuccess :: VerifySoftwareTokenResponseType
+ Network.AWS.CognitoIdentityProvider: Valid :: FeedbackValueType
+ Network.AWS.CognitoIdentityProvider: _EnableSoftwareTokenMFAException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.CognitoIdentityProvider: _SoftwareTokenMFANotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.CognitoIdentityProvider: _UserPoolAddOnNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.CognitoIdentityProvider: accountTakeoverActionType :: Bool -> AccountTakeoverEventActionType -> AccountTakeoverActionType
+ Network.AWS.CognitoIdentityProvider: accountTakeoverActionsType :: AccountTakeoverActionsType
+ Network.AWS.CognitoIdentityProvider: accountTakeoverRiskConfigurationType :: AccountTakeoverActionsType -> AccountTakeoverRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider: actApplicationId :: Lens' AnalyticsConfigurationType Text
+ Network.AWS.CognitoIdentityProvider: actExternalId :: Lens' AnalyticsConfigurationType Text
+ Network.AWS.CognitoIdentityProvider: actRoleARN :: Lens' AnalyticsConfigurationType Text
+ Network.AWS.CognitoIdentityProvider: actUserDataShared :: Lens' AnalyticsConfigurationType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider: aetChallengeResponses :: Lens' AuthEventType [ChallengeResponseType]
+ Network.AWS.CognitoIdentityProvider: aetCreationDate :: Lens' AuthEventType (Maybe UTCTime)
+ Network.AWS.CognitoIdentityProvider: aetEventContextData :: Lens' AuthEventType (Maybe EventContextDataType)
+ Network.AWS.CognitoIdentityProvider: aetEventFeedback :: Lens' AuthEventType (Maybe EventFeedbackType)
+ Network.AWS.CognitoIdentityProvider: aetEventId :: Lens' AuthEventType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: aetEventResponse :: Lens' AuthEventType (Maybe EventResponseType)
+ Network.AWS.CognitoIdentityProvider: aetEventRisk :: Lens' AuthEventType (Maybe EventRiskType)
+ Network.AWS.CognitoIdentityProvider: aetEventType :: Lens' AuthEventType (Maybe EventType)
+ Network.AWS.CognitoIdentityProvider: amtAnalyticsEndpointId :: Lens' AnalyticsMetadataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: analyticsConfigurationType :: Text -> Text -> Text -> AnalyticsConfigurationType
+ Network.AWS.CognitoIdentityProvider: analyticsMetadataType :: AnalyticsMetadataType
+ Network.AWS.CognitoIdentityProvider: atatEventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider: atatHighAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
+ Network.AWS.CognitoIdentityProvider: atatLowAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
+ Network.AWS.CognitoIdentityProvider: atatMediumAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
+ Network.AWS.CognitoIdentityProvider: atatNotify :: Lens' AccountTakeoverActionType Bool
+ Network.AWS.CognitoIdentityProvider: atrctActions :: Lens' AccountTakeoverRiskConfigurationType AccountTakeoverActionsType
+ Network.AWS.CognitoIdentityProvider: atrctNotifyConfiguration :: Lens' AccountTakeoverRiskConfigurationType (Maybe NotifyConfigurationType)
+ Network.AWS.CognitoIdentityProvider: authEventType :: AuthEventType
+ Network.AWS.CognitoIdentityProvider: ccatEventAction :: Lens' CompromisedCredentialsActionsType CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider: ccrctActions :: Lens' CompromisedCredentialsRiskConfigurationType CompromisedCredentialsActionsType
+ Network.AWS.CognitoIdentityProvider: ccrctEventFilter :: Lens' CompromisedCredentialsRiskConfigurationType [EventFilterType]
+ Network.AWS.CognitoIdentityProvider: cdtEncodedData :: Lens' ContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: cdtHTTPHeaders :: Lens' ContextDataType [HTTPHeader]
+ Network.AWS.CognitoIdentityProvider: cdtIPAddress :: Lens' ContextDataType Text
+ Network.AWS.CognitoIdentityProvider: cdtServerName :: Lens' ContextDataType Text
+ Network.AWS.CognitoIdentityProvider: cdtServerPath :: Lens' ContextDataType Text
+ Network.AWS.CognitoIdentityProvider: challengeResponseType :: ChallengeResponseType
+ Network.AWS.CognitoIdentityProvider: compromisedCredentialsActionsType :: CompromisedCredentialsEventActionType -> CompromisedCredentialsActionsType
+ Network.AWS.CognitoIdentityProvider: compromisedCredentialsRiskConfigurationType :: CompromisedCredentialsActionsType -> CompromisedCredentialsRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider: contextDataType :: Text -> Text -> Text -> ContextDataType
+ Network.AWS.CognitoIdentityProvider: crtChallengeName :: Lens' ChallengeResponseType (Maybe ChallengeName)
+ Network.AWS.CognitoIdentityProvider: crtChallengeResponse :: Lens' ChallengeResponseType (Maybe ChallengeResponse)
+ Network.AWS.CognitoIdentityProvider: data AccountTakeoverActionType
+ Network.AWS.CognitoIdentityProvider: data AccountTakeoverActionsType
+ Network.AWS.CognitoIdentityProvider: data AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider: data AccountTakeoverRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider: data AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider: data AnalyticsConfigurationType
+ Network.AWS.CognitoIdentityProvider: data AnalyticsMetadataType
+ Network.AWS.CognitoIdentityProvider: data AuthEventType
+ Network.AWS.CognitoIdentityProvider: data ChallengeName
+ Network.AWS.CognitoIdentityProvider: data ChallengeResponse
+ Network.AWS.CognitoIdentityProvider: data ChallengeResponseType
+ Network.AWS.CognitoIdentityProvider: data CompromisedCredentialsActionsType
+ Network.AWS.CognitoIdentityProvider: data CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider: data CompromisedCredentialsRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider: data ContextDataType
+ Network.AWS.CognitoIdentityProvider: data EventContextDataType
+ Network.AWS.CognitoIdentityProvider: data EventFeedbackType
+ Network.AWS.CognitoIdentityProvider: data EventFilterType
+ Network.AWS.CognitoIdentityProvider: data EventResponseType
+ Network.AWS.CognitoIdentityProvider: data EventRiskType
+ Network.AWS.CognitoIdentityProvider: data EventType
+ Network.AWS.CognitoIdentityProvider: data FeedbackValueType
+ Network.AWS.CognitoIdentityProvider: data HTTPHeader
+ Network.AWS.CognitoIdentityProvider: data NotifyConfigurationType
+ Network.AWS.CognitoIdentityProvider: data NotifyEmailType
+ Network.AWS.CognitoIdentityProvider: data RiskConfigurationType
+ Network.AWS.CognitoIdentityProvider: data RiskDecisionType
+ Network.AWS.CognitoIdentityProvider: data RiskExceptionConfigurationType
+ Network.AWS.CognitoIdentityProvider: data RiskLevelType
+ Network.AWS.CognitoIdentityProvider: data SMSMFASettingsType
+ Network.AWS.CognitoIdentityProvider: data SmsMFAConfigType
+ Network.AWS.CognitoIdentityProvider: data SoftwareTokenMFAConfigType
+ Network.AWS.CognitoIdentityProvider: data SoftwareTokenMFASettingsType
+ Network.AWS.CognitoIdentityProvider: data UserContextDataType
+ Network.AWS.CognitoIdentityProvider: data UserPoolAddOnsType
+ Network.AWS.CognitoIdentityProvider: data VerifySoftwareTokenResponseType
+ Network.AWS.CognitoIdentityProvider: ecdtCity :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: ecdtCountry :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: ecdtDeviceName :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: ecdtIPAddress :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: ecdtTimezone :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: eftFeedbackDate :: Lens' EventFeedbackType (Maybe UTCTime)
+ Network.AWS.CognitoIdentityProvider: eftFeedbackValue :: Lens' EventFeedbackType FeedbackValueType
+ Network.AWS.CognitoIdentityProvider: eftProvider :: Lens' EventFeedbackType Text
+ Network.AWS.CognitoIdentityProvider: ertRiskDecision :: Lens' EventRiskType (Maybe RiskDecisionType)
+ Network.AWS.CognitoIdentityProvider: ertRiskLevel :: Lens' EventRiskType (Maybe RiskLevelType)
+ Network.AWS.CognitoIdentityProvider: eventContextDataType :: EventContextDataType
+ Network.AWS.CognitoIdentityProvider: eventFeedbackType :: FeedbackValueType -> Text -> EventFeedbackType
+ Network.AWS.CognitoIdentityProvider: eventRiskType :: EventRiskType
+ Network.AWS.CognitoIdentityProvider: hTTPHeader :: HTTPHeader
+ Network.AWS.CognitoIdentityProvider: httphHeaderName :: Lens' HTTPHeader (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: httphHeaderValue :: Lens' HTTPHeader (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: lctPreTokenGeneration :: Lens' LambdaConfigType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: lctUserMigration :: Lens' LambdaConfigType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: nctBlockEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
+ Network.AWS.CognitoIdentityProvider: nctFrom :: Lens' NotifyConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: nctMFAEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
+ Network.AWS.CognitoIdentityProvider: nctNoActionEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
+ Network.AWS.CognitoIdentityProvider: nctReplyTo :: Lens' NotifyConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: nctSourceARN :: Lens' NotifyConfigurationType Text
+ Network.AWS.CognitoIdentityProvider: netHTMLBody :: Lens' NotifyEmailType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: netSubject :: Lens' NotifyEmailType Text
+ Network.AWS.CognitoIdentityProvider: netTextBody :: Lens' NotifyEmailType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: notifyConfigurationType :: Text -> NotifyConfigurationType
+ Network.AWS.CognitoIdentityProvider: notifyEmailType :: Text -> NotifyEmailType
+ Network.AWS.CognitoIdentityProvider: rctAccountTakeoverRiskConfiguration :: Lens' RiskConfigurationType (Maybe AccountTakeoverRiskConfigurationType)
+ Network.AWS.CognitoIdentityProvider: rctClientId :: Lens' RiskConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: rctCompromisedCredentialsRiskConfiguration :: Lens' RiskConfigurationType (Maybe CompromisedCredentialsRiskConfigurationType)
+ Network.AWS.CognitoIdentityProvider: rctLastModifiedDate :: Lens' RiskConfigurationType (Maybe UTCTime)
+ Network.AWS.CognitoIdentityProvider: rctRiskExceptionConfiguration :: Lens' RiskConfigurationType (Maybe RiskExceptionConfigurationType)
+ Network.AWS.CognitoIdentityProvider: rctUserPoolId :: Lens' RiskConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: rectBlockedIPRangeList :: Lens' RiskExceptionConfigurationType [Text]
+ Network.AWS.CognitoIdentityProvider: rectSkippedIPRangeList :: Lens' RiskExceptionConfigurationType [Text]
+ Network.AWS.CognitoIdentityProvider: riskConfigurationType :: RiskConfigurationType
+ Network.AWS.CognitoIdentityProvider: riskExceptionConfigurationType :: RiskExceptionConfigurationType
+ Network.AWS.CognitoIdentityProvider: sMSMFASettingsType :: SMSMFASettingsType
+ Network.AWS.CognitoIdentityProvider: smctSmsAuthenticationMessage :: Lens' SmsMFAConfigType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: smctSmsConfiguration :: Lens' SmsMFAConfigType (Maybe SmsConfigurationType)
+ Network.AWS.CognitoIdentityProvider: smsMFAConfigType :: SmsMFAConfigType
+ Network.AWS.CognitoIdentityProvider: smsmstEnabled :: Lens' SMSMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider: smsmstPreferredMFA :: Lens' SMSMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider: softwareTokenMFAConfigType :: SoftwareTokenMFAConfigType
+ Network.AWS.CognitoIdentityProvider: softwareTokenMFASettingsType :: SoftwareTokenMFASettingsType
+ Network.AWS.CognitoIdentityProvider: stmctEnabled :: Lens' SoftwareTokenMFAConfigType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider: stmstEnabled :: Lens' SoftwareTokenMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider: stmstPreferredMFA :: Lens' SoftwareTokenMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider: ucdtEncodedData :: Lens' UserContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: upaotAdvancedSecurityMode :: Lens' UserPoolAddOnsType AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider: upctAnalyticsConfiguration :: Lens' UserPoolClientType (Maybe AnalyticsConfigurationType)
+ Network.AWS.CognitoIdentityProvider: uptDomain :: Lens' UserPoolType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider: uptUserPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType)
+ Network.AWS.CognitoIdentityProvider: userContextDataType :: UserContextDataType
+ Network.AWS.CognitoIdentityProvider: userPoolAddOnsType :: AdvancedSecurityModeType -> UserPoolAddOnsType
+ Network.AWS.CognitoIdentityProvider.AdminGetUser: agursPreferredMFASetting :: Lens' AdminGetUserResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AdminGetUser: agursUserMFASettingList :: Lens' AdminGetUserResponse [Text]
+ Network.AWS.CognitoIdentityProvider.AdminInitiateAuth: aiaAnalyticsMetadata :: Lens' AdminInitiateAuth (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.AdminInitiateAuth: aiaContextData :: Lens' AdminInitiateAuth (Maybe ContextDataType)
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: adminListUserAuthEvents :: Text -> Text -> AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: adminListUserAuthEventsResponse :: Int -> AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaeMaxResults :: Lens' AdminListUserAuthEvents (Maybe Natural)
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaeNextToken :: Lens' AdminListUserAuthEvents (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaeUserPoolId :: Lens' AdminListUserAuthEvents Text
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaeUsername :: Lens' AdminListUserAuthEvents Text
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaersAuthEvents :: Lens' AdminListUserAuthEventsResponse [AuthEventType]
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaersNextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: aluaersResponseStatus :: Lens' AdminListUserAuthEventsResponse Int
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: data AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: data AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEventsResponse
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents.AdminListUserAuthEvents
+ Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge: artacAnalyticsMetadata :: Lens' AdminRespondToAuthChallenge (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge: artacContextData :: Lens' AdminRespondToAuthChallenge (Maybe ContextDataType)
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: adminSetUserMFAPreference :: Text -> Text -> AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: adminSetUserMFAPreferenceResponse :: Int -> AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: asumpSMSMFASettings :: Lens' AdminSetUserMFAPreference (Maybe SMSMFASettingsType)
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: asumpSoftwareTokenMFASettings :: Lens' AdminSetUserMFAPreference (Maybe SoftwareTokenMFASettingsType)
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: asumpUserPoolId :: Lens' AdminSetUserMFAPreference Text
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: asumpUsername :: Lens' AdminSetUserMFAPreference Text
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: asumprsResponseStatus :: Lens' AdminSetUserMFAPreferenceResponse Int
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: data AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: data AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference.AdminSetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: adminUpdateAuthEventFeedback :: Text -> Text -> Text -> FeedbackValueType -> AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: adminUpdateAuthEventFeedbackResponse :: Int -> AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: auaefEventId :: Lens' AdminUpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: auaefFeedbackValue :: Lens' AdminUpdateAuthEventFeedback FeedbackValueType
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: auaefUserPoolId :: Lens' AdminUpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: auaefUsername :: Lens' AdminUpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: auaefrsResponseStatus :: Lens' AdminUpdateAuthEventFeedbackResponse Int
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: data AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: data AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback.AdminUpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: associateSoftwareToken :: AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: associateSoftwareTokenResponse :: Int -> AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: astAccessToken :: Lens' AssociateSoftwareToken (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: astSession :: Lens' AssociateSoftwareToken (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: astrsResponseStatus :: Lens' AssociateSoftwareTokenResponse Int
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: astrsSecretCode :: Lens' AssociateSoftwareTokenResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: astrsSession :: Lens' AssociateSoftwareTokenResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: data AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: data AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken.AssociateSoftwareToken
+ Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword: cfpAnalyticsMetadata :: Lens' ConfirmForgotPassword (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword: cfpUserContextData :: Lens' ConfirmForgotPassword (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.ConfirmSignUp: csuAnalyticsMetadata :: Lens' ConfirmSignUp (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.ConfirmSignUp: csuUserContextData :: Lens' ConfirmSignUp (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.CreateUserPool: cupUserPoolAddOns :: Lens' CreateUserPool (Maybe UserPoolAddOnsType)
+ Network.AWS.CognitoIdentityProvider.CreateUserPoolClient: cupcAnalyticsConfiguration :: Lens' CreateUserPoolClient (Maybe AnalyticsConfigurationType)
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: data DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: data DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: describeRiskConfiguration :: Text -> DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: describeRiskConfigurationResponse :: Int -> RiskConfigurationType -> DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: drcClientId :: Lens' DescribeRiskConfiguration (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: drcUserPoolId :: Lens' DescribeRiskConfiguration Text
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: drcrsResponseStatus :: Lens' DescribeRiskConfigurationResponse Int
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: drcrsRiskConfiguration :: Lens' DescribeRiskConfigurationResponse RiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration.DescribeRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.ForgotPassword: fpAnalyticsMetadata :: Lens' ForgotPassword (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.ForgotPassword: fpUserContextData :: Lens' ForgotPassword (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: data GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: data GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: getSigningCertificate :: Text -> GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: getSigningCertificateResponse :: Int -> GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: gscUserPoolId :: Lens' GetSigningCertificate Text
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: gscrsCertificate :: Lens' GetSigningCertificateResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: gscrsResponseStatus :: Lens' GetSigningCertificateResponse Int
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificateResponse
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetSigningCertificate: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GetSigningCertificate.GetSigningCertificate
+ Network.AWS.CognitoIdentityProvider.GetUser: gursPreferredMFASetting :: Lens' GetUserResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.GetUser: gursUserMFASettingList :: Lens' GetUserResponse [Text]
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: data GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: data GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: getUserPoolMFAConfig :: Text -> GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: getUserPoolMFAConfigResponse :: Int -> GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: gupmcUserPoolId :: Lens' GetUserPoolMFAConfig Text
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: gupmcrsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe UserPoolMFAType)
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: gupmcrsResponseStatus :: Lens' GetUserPoolMFAConfigResponse Int
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: gupmcrsSmsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType)
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: gupmcrsSoftwareTokenMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType)
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig.GetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.InitiateAuth: iaAnalyticsMetadata :: Lens' InitiateAuth (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.InitiateAuth: iaUserContextData :: Lens' InitiateAuth (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.ResendConfirmationCode: rccAnalyticsMetadata :: Lens' ResendConfirmationCode (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.ResendConfirmationCode: rccUserContextData :: Lens' ResendConfirmationCode (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge: rtacAnalyticsMetadata :: Lens' RespondToAuthChallenge (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge: rtacUserContextData :: Lens' RespondToAuthChallenge (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: data SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: data SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.SetRiskConfiguration.SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: setRiskConfiguration :: Text -> SetRiskConfiguration
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: setRiskConfigurationResponse :: Int -> RiskConfigurationType -> SetRiskConfigurationResponse
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcAccountTakeoverRiskConfiguration :: Lens' SetRiskConfiguration (Maybe AccountTakeoverRiskConfigurationType)
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcClientId :: Lens' SetRiskConfiguration (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcCompromisedCredentialsRiskConfiguration :: Lens' SetRiskConfiguration (Maybe CompromisedCredentialsRiskConfigurationType)
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcRiskExceptionConfiguration :: Lens' SetRiskConfiguration (Maybe RiskExceptionConfigurationType)
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcUserPoolId :: Lens' SetRiskConfiguration Text
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcrsResponseStatus :: Lens' SetRiskConfigurationResponse Int
+ Network.AWS.CognitoIdentityProvider.SetRiskConfiguration: srcrsRiskConfiguration :: Lens' SetRiskConfigurationResponse RiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: data SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: data SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.SetUserMFAPreference.SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: setUserMFAPreference :: Text -> SetUserMFAPreference
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: setUserMFAPreferenceResponse :: Int -> SetUserMFAPreferenceResponse
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: sumpAccessToken :: Lens' SetUserMFAPreference Text
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: sumpSMSMFASettings :: Lens' SetUserMFAPreference (Maybe SMSMFASettingsType)
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: sumpSoftwareTokenMFASettings :: Lens' SetUserMFAPreference (Maybe SoftwareTokenMFASettingsType)
+ Network.AWS.CognitoIdentityProvider.SetUserMFAPreference: sumprsResponseStatus :: Lens' SetUserMFAPreferenceResponse Int
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: data SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: data SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig.SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: setUserPoolMFAConfig :: Text -> SetUserPoolMFAConfig
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: setUserPoolMFAConfigResponse :: Int -> SetUserPoolMFAConfigResponse
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe UserPoolMFAType)
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcSmsMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SmsMFAConfigType)
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SoftwareTokenMFAConfigType)
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcUserPoolId :: Lens' SetUserPoolMFAConfig Text
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcrsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe UserPoolMFAType)
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcrsResponseStatus :: Lens' SetUserPoolMFAConfigResponse Int
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcrsSmsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType)
+ Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig: supmcrsSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType)
+ Network.AWS.CognitoIdentityProvider.SignUp: suAnalyticsMetadata :: Lens' SignUp (Maybe AnalyticsMetadataType)
+ Network.AWS.CognitoIdentityProvider.SignUp: suUserContextData :: Lens' SignUp (Maybe UserContextDataType)
+ Network.AWS.CognitoIdentityProvider.Types: ATEATBlock :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: ATEATMFAIfConfigured :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: ATEATMFARequired :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: ATEATNoAction :: AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: AccountTakeover :: RiskDecisionType
+ Network.AWS.CognitoIdentityProvider.Types: Audit :: AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider.Types: Block :: RiskDecisionType
+ Network.AWS.CognitoIdentityProvider.Types: CCEATBlock :: CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: CCEATNoAction :: CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: CFailure :: ChallengeResponse
+ Network.AWS.CognitoIdentityProvider.Types: CNTMFASetup :: ChallengeNameType
+ Network.AWS.CognitoIdentityProvider.Types: CNTSelectMFAType :: ChallengeNameType
+ Network.AWS.CognitoIdentityProvider.Types: CNTSoftwareTokenMFA :: ChallengeNameType
+ Network.AWS.CognitoIdentityProvider.Types: CSuccess :: ChallengeResponse
+ Network.AWS.CognitoIdentityProvider.Types: EAFTUserPasswordAuth :: ExplicitAuthFlowsType
+ Network.AWS.CognitoIdentityProvider.Types: ETForgotPassword :: EventType
+ Network.AWS.CognitoIdentityProvider.Types: ETSignIn :: EventType
+ Network.AWS.CognitoIdentityProvider.Types: ETSignUp :: EventType
+ Network.AWS.CognitoIdentityProvider.Types: Enforced :: AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider.Types: Failure :: EventResponseType
+ Network.AWS.CognitoIdentityProvider.Types: High :: RiskLevelType
+ Network.AWS.CognitoIdentityProvider.Types: Invalid :: FeedbackValueType
+ Network.AWS.CognitoIdentityProvider.Types: Low :: RiskLevelType
+ Network.AWS.CognitoIdentityProvider.Types: MFA :: ChallengeName
+ Network.AWS.CognitoIdentityProvider.Types: Medium :: RiskLevelType
+ Network.AWS.CognitoIdentityProvider.Types: NoRisk :: RiskDecisionType
+ Network.AWS.CognitoIdentityProvider.Types: Password :: ChallengeName
+ Network.AWS.CognitoIdentityProvider.Types: PasswordChange :: EventFilterType
+ Network.AWS.CognitoIdentityProvider.Types: SignIn :: EventFilterType
+ Network.AWS.CognitoIdentityProvider.Types: SignUp :: EventFilterType
+ Network.AWS.CognitoIdentityProvider.Types: Success :: EventResponseType
+ Network.AWS.CognitoIdentityProvider.Types: UPMTON :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider.Types: UPMTOff :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider.Types: UPMTOptional :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider.Types: UserPasswordAuth :: AuthFlowType
+ Network.AWS.CognitoIdentityProvider.Types: VSTRTError' :: VerifySoftwareTokenResponseType
+ Network.AWS.CognitoIdentityProvider.Types: VSTRTSuccess :: VerifySoftwareTokenResponseType
+ Network.AWS.CognitoIdentityProvider.Types: Valid :: FeedbackValueType
+ Network.AWS.CognitoIdentityProvider.Types: _EnableSoftwareTokenMFAException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.CognitoIdentityProvider.Types: _SoftwareTokenMFANotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.CognitoIdentityProvider.Types: _UserPoolAddOnNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.CognitoIdentityProvider.Types: accountTakeoverActionType :: Bool -> AccountTakeoverEventActionType -> AccountTakeoverActionType
+ Network.AWS.CognitoIdentityProvider.Types: accountTakeoverActionsType :: AccountTakeoverActionsType
+ Network.AWS.CognitoIdentityProvider.Types: accountTakeoverRiskConfigurationType :: AccountTakeoverActionsType -> AccountTakeoverRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: actApplicationId :: Lens' AnalyticsConfigurationType Text
+ Network.AWS.CognitoIdentityProvider.Types: actExternalId :: Lens' AnalyticsConfigurationType Text
+ Network.AWS.CognitoIdentityProvider.Types: actRoleARN :: Lens' AnalyticsConfigurationType Text
+ Network.AWS.CognitoIdentityProvider.Types: actUserDataShared :: Lens' AnalyticsConfigurationType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider.Types: aetChallengeResponses :: Lens' AuthEventType [ChallengeResponseType]
+ Network.AWS.CognitoIdentityProvider.Types: aetCreationDate :: Lens' AuthEventType (Maybe UTCTime)
+ Network.AWS.CognitoIdentityProvider.Types: aetEventContextData :: Lens' AuthEventType (Maybe EventContextDataType)
+ Network.AWS.CognitoIdentityProvider.Types: aetEventFeedback :: Lens' AuthEventType (Maybe EventFeedbackType)
+ Network.AWS.CognitoIdentityProvider.Types: aetEventId :: Lens' AuthEventType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: aetEventResponse :: Lens' AuthEventType (Maybe EventResponseType)
+ Network.AWS.CognitoIdentityProvider.Types: aetEventRisk :: Lens' AuthEventType (Maybe EventRiskType)
+ Network.AWS.CognitoIdentityProvider.Types: aetEventType :: Lens' AuthEventType (Maybe EventType)
+ Network.AWS.CognitoIdentityProvider.Types: amtAnalyticsEndpointId :: Lens' AnalyticsMetadataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: analyticsConfigurationType :: Text -> Text -> Text -> AnalyticsConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: analyticsMetadataType :: AnalyticsMetadataType
+ Network.AWS.CognitoIdentityProvider.Types: atatEventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: atatHighAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
+ Network.AWS.CognitoIdentityProvider.Types: atatLowAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
+ Network.AWS.CognitoIdentityProvider.Types: atatMediumAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)
+ Network.AWS.CognitoIdentityProvider.Types: atatNotify :: Lens' AccountTakeoverActionType Bool
+ Network.AWS.CognitoIdentityProvider.Types: atrctActions :: Lens' AccountTakeoverRiskConfigurationType AccountTakeoverActionsType
+ Network.AWS.CognitoIdentityProvider.Types: atrctNotifyConfiguration :: Lens' AccountTakeoverRiskConfigurationType (Maybe NotifyConfigurationType)
+ Network.AWS.CognitoIdentityProvider.Types: authEventType :: AuthEventType
+ Network.AWS.CognitoIdentityProvider.Types: ccatEventAction :: Lens' CompromisedCredentialsActionsType CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: ccrctActions :: Lens' CompromisedCredentialsRiskConfigurationType CompromisedCredentialsActionsType
+ Network.AWS.CognitoIdentityProvider.Types: ccrctEventFilter :: Lens' CompromisedCredentialsRiskConfigurationType [EventFilterType]
+ Network.AWS.CognitoIdentityProvider.Types: cdtEncodedData :: Lens' ContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: cdtHTTPHeaders :: Lens' ContextDataType [HTTPHeader]
+ Network.AWS.CognitoIdentityProvider.Types: cdtIPAddress :: Lens' ContextDataType Text
+ Network.AWS.CognitoIdentityProvider.Types: cdtServerName :: Lens' ContextDataType Text
+ Network.AWS.CognitoIdentityProvider.Types: cdtServerPath :: Lens' ContextDataType Text
+ Network.AWS.CognitoIdentityProvider.Types: challengeResponseType :: ChallengeResponseType
+ Network.AWS.CognitoIdentityProvider.Types: compromisedCredentialsActionsType :: CompromisedCredentialsEventActionType -> CompromisedCredentialsActionsType
+ Network.AWS.CognitoIdentityProvider.Types: compromisedCredentialsRiskConfigurationType :: CompromisedCredentialsActionsType -> CompromisedCredentialsRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: contextDataType :: Text -> Text -> Text -> ContextDataType
+ Network.AWS.CognitoIdentityProvider.Types: crtChallengeName :: Lens' ChallengeResponseType (Maybe ChallengeName)
+ Network.AWS.CognitoIdentityProvider.Types: crtChallengeResponse :: Lens' ChallengeResponseType (Maybe ChallengeResponse)
+ Network.AWS.CognitoIdentityProvider.Types: data AccountTakeoverActionType
+ Network.AWS.CognitoIdentityProvider.Types: data AccountTakeoverActionsType
+ Network.AWS.CognitoIdentityProvider.Types: data AccountTakeoverEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: data AccountTakeoverRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: data AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider.Types: data AnalyticsConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: data AnalyticsMetadataType
+ Network.AWS.CognitoIdentityProvider.Types: data AuthEventType
+ Network.AWS.CognitoIdentityProvider.Types: data ChallengeName
+ Network.AWS.CognitoIdentityProvider.Types: data ChallengeResponse
+ Network.AWS.CognitoIdentityProvider.Types: data ChallengeResponseType
+ Network.AWS.CognitoIdentityProvider.Types: data CompromisedCredentialsActionsType
+ Network.AWS.CognitoIdentityProvider.Types: data CompromisedCredentialsEventActionType
+ Network.AWS.CognitoIdentityProvider.Types: data CompromisedCredentialsRiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: data ContextDataType
+ Network.AWS.CognitoIdentityProvider.Types: data EventContextDataType
+ Network.AWS.CognitoIdentityProvider.Types: data EventFeedbackType
+ Network.AWS.CognitoIdentityProvider.Types: data EventFilterType
+ Network.AWS.CognitoIdentityProvider.Types: data EventResponseType
+ Network.AWS.CognitoIdentityProvider.Types: data EventRiskType
+ Network.AWS.CognitoIdentityProvider.Types: data EventType
+ Network.AWS.CognitoIdentityProvider.Types: data FeedbackValueType
+ Network.AWS.CognitoIdentityProvider.Types: data HTTPHeader
+ Network.AWS.CognitoIdentityProvider.Types: data NotifyConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: data NotifyEmailType
+ Network.AWS.CognitoIdentityProvider.Types: data RiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: data RiskDecisionType
+ Network.AWS.CognitoIdentityProvider.Types: data RiskExceptionConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: data RiskLevelType
+ Network.AWS.CognitoIdentityProvider.Types: data SMSMFASettingsType
+ Network.AWS.CognitoIdentityProvider.Types: data SmsMFAConfigType
+ Network.AWS.CognitoIdentityProvider.Types: data SoftwareTokenMFAConfigType
+ Network.AWS.CognitoIdentityProvider.Types: data SoftwareTokenMFASettingsType
+ Network.AWS.CognitoIdentityProvider.Types: data UserContextDataType
+ Network.AWS.CognitoIdentityProvider.Types: data UserPoolAddOnsType
+ Network.AWS.CognitoIdentityProvider.Types: data VerifySoftwareTokenResponseType
+ Network.AWS.CognitoIdentityProvider.Types: ecdtCity :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: ecdtCountry :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: ecdtDeviceName :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: ecdtIPAddress :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: ecdtTimezone :: Lens' EventContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: eftFeedbackDate :: Lens' EventFeedbackType (Maybe UTCTime)
+ Network.AWS.CognitoIdentityProvider.Types: eftFeedbackValue :: Lens' EventFeedbackType FeedbackValueType
+ Network.AWS.CognitoIdentityProvider.Types: eftProvider :: Lens' EventFeedbackType Text
+ Network.AWS.CognitoIdentityProvider.Types: ertRiskDecision :: Lens' EventRiskType (Maybe RiskDecisionType)
+ Network.AWS.CognitoIdentityProvider.Types: ertRiskLevel :: Lens' EventRiskType (Maybe RiskLevelType)
+ Network.AWS.CognitoIdentityProvider.Types: eventContextDataType :: EventContextDataType
+ Network.AWS.CognitoIdentityProvider.Types: eventFeedbackType :: FeedbackValueType -> Text -> EventFeedbackType
+ Network.AWS.CognitoIdentityProvider.Types: eventRiskType :: EventRiskType
+ Network.AWS.CognitoIdentityProvider.Types: hTTPHeader :: HTTPHeader
+ Network.AWS.CognitoIdentityProvider.Types: httphHeaderName :: Lens' HTTPHeader (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: httphHeaderValue :: Lens' HTTPHeader (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: lctPreTokenGeneration :: Lens' LambdaConfigType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: lctUserMigration :: Lens' LambdaConfigType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: nctBlockEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
+ Network.AWS.CognitoIdentityProvider.Types: nctFrom :: Lens' NotifyConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: nctMFAEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
+ Network.AWS.CognitoIdentityProvider.Types: nctNoActionEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)
+ Network.AWS.CognitoIdentityProvider.Types: nctReplyTo :: Lens' NotifyConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: nctSourceARN :: Lens' NotifyConfigurationType Text
+ Network.AWS.CognitoIdentityProvider.Types: netHTMLBody :: Lens' NotifyEmailType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: netSubject :: Lens' NotifyEmailType Text
+ Network.AWS.CognitoIdentityProvider.Types: netTextBody :: Lens' NotifyEmailType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: notifyConfigurationType :: Text -> NotifyConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: notifyEmailType :: Text -> NotifyEmailType
+ Network.AWS.CognitoIdentityProvider.Types: rctAccountTakeoverRiskConfiguration :: Lens' RiskConfigurationType (Maybe AccountTakeoverRiskConfigurationType)
+ Network.AWS.CognitoIdentityProvider.Types: rctClientId :: Lens' RiskConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: rctCompromisedCredentialsRiskConfiguration :: Lens' RiskConfigurationType (Maybe CompromisedCredentialsRiskConfigurationType)
+ Network.AWS.CognitoIdentityProvider.Types: rctLastModifiedDate :: Lens' RiskConfigurationType (Maybe UTCTime)
+ Network.AWS.CognitoIdentityProvider.Types: rctRiskExceptionConfiguration :: Lens' RiskConfigurationType (Maybe RiskExceptionConfigurationType)
+ Network.AWS.CognitoIdentityProvider.Types: rctUserPoolId :: Lens' RiskConfigurationType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: rectBlockedIPRangeList :: Lens' RiskExceptionConfigurationType [Text]
+ Network.AWS.CognitoIdentityProvider.Types: rectSkippedIPRangeList :: Lens' RiskExceptionConfigurationType [Text]
+ Network.AWS.CognitoIdentityProvider.Types: riskConfigurationType :: RiskConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: riskExceptionConfigurationType :: RiskExceptionConfigurationType
+ Network.AWS.CognitoIdentityProvider.Types: sMSMFASettingsType :: SMSMFASettingsType
+ Network.AWS.CognitoIdentityProvider.Types: smctSmsAuthenticationMessage :: Lens' SmsMFAConfigType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: smctSmsConfiguration :: Lens' SmsMFAConfigType (Maybe SmsConfigurationType)
+ Network.AWS.CognitoIdentityProvider.Types: smsMFAConfigType :: SmsMFAConfigType
+ Network.AWS.CognitoIdentityProvider.Types: smsmstEnabled :: Lens' SMSMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider.Types: smsmstPreferredMFA :: Lens' SMSMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider.Types: softwareTokenMFAConfigType :: SoftwareTokenMFAConfigType
+ Network.AWS.CognitoIdentityProvider.Types: softwareTokenMFASettingsType :: SoftwareTokenMFASettingsType
+ Network.AWS.CognitoIdentityProvider.Types: stmctEnabled :: Lens' SoftwareTokenMFAConfigType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider.Types: stmstEnabled :: Lens' SoftwareTokenMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider.Types: stmstPreferredMFA :: Lens' SoftwareTokenMFASettingsType (Maybe Bool)
+ Network.AWS.CognitoIdentityProvider.Types: ucdtEncodedData :: Lens' UserContextDataType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: upaotAdvancedSecurityMode :: Lens' UserPoolAddOnsType AdvancedSecurityModeType
+ Network.AWS.CognitoIdentityProvider.Types: upctAnalyticsConfiguration :: Lens' UserPoolClientType (Maybe AnalyticsConfigurationType)
+ Network.AWS.CognitoIdentityProvider.Types: uptDomain :: Lens' UserPoolType (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.Types: uptUserPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType)
+ Network.AWS.CognitoIdentityProvider.Types: userContextDataType :: UserContextDataType
+ Network.AWS.CognitoIdentityProvider.Types: userPoolAddOnsType :: AdvancedSecurityModeType -> UserPoolAddOnsType
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: data UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: data UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback.UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: uaefEventId :: Lens' UpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: uaefFeedbackToken :: Lens' UpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: uaefFeedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: uaefUserPoolId :: Lens' UpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: uaefUsername :: Lens' UpdateAuthEventFeedback Text
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: uaefrsResponseStatus :: Lens' UpdateAuthEventFeedbackResponse Int
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: updateAuthEventFeedback :: Text -> Text -> Text -> Text -> FeedbackValueType -> UpdateAuthEventFeedback
+ Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback: updateAuthEventFeedbackResponse :: Int -> UpdateAuthEventFeedbackResponse
+ Network.AWS.CognitoIdentityProvider.UpdateUserPool: uupUserPoolAddOns :: Lens' UpdateUserPool (Maybe UserPoolAddOnsType)
+ Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient: uupcAnalyticsConfiguration :: Lens' UpdateUserPoolClient (Maybe AnalyticsConfigurationType)
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: data VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: data VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Data.Data.Data Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Classes.Eq Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Generics.Generic Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Read.Read Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance GHC.Show.Show Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentityProvider.VerifySoftwareToken.VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: verifySoftwareToken :: Text -> VerifySoftwareToken
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: verifySoftwareTokenResponse :: Int -> VerifySoftwareTokenResponse
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstAccessToken :: Lens' VerifySoftwareToken (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstFriendlyDeviceName :: Lens' VerifySoftwareToken (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstSession :: Lens' VerifySoftwareToken (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstUserCode :: Lens' VerifySoftwareToken Text
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstrsResponseStatus :: Lens' VerifySoftwareTokenResponse Int
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstrsSession :: Lens' VerifySoftwareTokenResponse (Maybe Text)
+ Network.AWS.CognitoIdentityProvider.VerifySoftwareToken: vstrsStatus :: Lens' VerifySoftwareTokenResponse (Maybe VerifySoftwareTokenResponseType)
- Network.AWS.CognitoIdentityProvider: Off :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider: Off :: AdvancedSecurityModeType
- Network.AWS.CognitoIdentityProvider.Types: Off :: UserPoolMFAType
+ Network.AWS.CognitoIdentityProvider.Types: Off :: AdvancedSecurityModeType

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.5.0`+`1.6.0`   ## Description
amazonka-cognito-idp.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-cognito-idp-version:               1.5.0+version:               1.6.0 synopsis:              Amazon Cognito Identity Provider SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file:          LICENSE author:                Brendan Hay maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2017 Brendan Hay+copyright:             Copyright (c) 2013-2018 Brendan Hay category:              Network, AWS, Cloud, Distributed Computing build-type:            Simple cabal-version:         >= 1.10@@ -61,13 +61,17 @@         , Network.AWS.CognitoIdentityProvider.AdminLinkProviderForUser         , Network.AWS.CognitoIdentityProvider.AdminListDevices         , Network.AWS.CognitoIdentityProvider.AdminListGroupsForUser+        , Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents         , Network.AWS.CognitoIdentityProvider.AdminRemoveUserFromGroup         , Network.AWS.CognitoIdentityProvider.AdminResetUserPassword         , Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge+        , Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference         , Network.AWS.CognitoIdentityProvider.AdminSetUserSettings+        , Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback         , Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus         , Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes         , Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut+        , Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken         , Network.AWS.CognitoIdentityProvider.ChangePassword         , Network.AWS.CognitoIdentityProvider.ConfirmDevice         , Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword@@ -89,6 +93,7 @@         , Network.AWS.CognitoIdentityProvider.DeleteUserPoolDomain         , Network.AWS.CognitoIdentityProvider.DescribeIdentityProvider         , Network.AWS.CognitoIdentityProvider.DescribeResourceServer+        , Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration         , Network.AWS.CognitoIdentityProvider.DescribeUserImportJob         , Network.AWS.CognitoIdentityProvider.DescribeUserPool         , Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient@@ -99,9 +104,11 @@         , Network.AWS.CognitoIdentityProvider.GetDevice         , Network.AWS.CognitoIdentityProvider.GetGroup         , Network.AWS.CognitoIdentityProvider.GetIdentityProviderByIdentifier+        , Network.AWS.CognitoIdentityProvider.GetSigningCertificate         , Network.AWS.CognitoIdentityProvider.GetUICustomization         , Network.AWS.CognitoIdentityProvider.GetUser         , Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode+        , Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig         , Network.AWS.CognitoIdentityProvider.GlobalSignOut         , Network.AWS.CognitoIdentityProvider.InitiateAuth         , Network.AWS.CognitoIdentityProvider.ListDevices@@ -115,12 +122,16 @@         , Network.AWS.CognitoIdentityProvider.ListUsersInGroup         , Network.AWS.CognitoIdentityProvider.ResendConfirmationCode         , Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge+        , Network.AWS.CognitoIdentityProvider.SetRiskConfiguration         , Network.AWS.CognitoIdentityProvider.SetUICustomization+        , Network.AWS.CognitoIdentityProvider.SetUserMFAPreference+        , Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig         , Network.AWS.CognitoIdentityProvider.SetUserSettings         , Network.AWS.CognitoIdentityProvider.SignUp         , Network.AWS.CognitoIdentityProvider.StartUserImportJob         , Network.AWS.CognitoIdentityProvider.StopUserImportJob         , Network.AWS.CognitoIdentityProvider.Types+        , Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback         , Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus         , Network.AWS.CognitoIdentityProvider.UpdateGroup         , Network.AWS.CognitoIdentityProvider.UpdateIdentityProvider@@ -128,6 +139,7 @@         , Network.AWS.CognitoIdentityProvider.UpdateUserAttributes         , Network.AWS.CognitoIdentityProvider.UpdateUserPool         , Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient+        , Network.AWS.CognitoIdentityProvider.VerifySoftwareToken         , Network.AWS.CognitoIdentityProvider.VerifyUserAttribute         , Network.AWS.CognitoIdentityProvider.Waiters @@ -136,7 +148,7 @@         , Network.AWS.CognitoIdentityProvider.Types.Sum      build-depends:-          amazonka-core == 1.5.0.*+          amazonka-core == 1.6.0.*         , base          >= 4.7     && < 5  test-suite amazonka-cognito-idp-test@@ -156,8 +168,8 @@         , Test.AWS.CognitoIdentityProvider.Internal      build-depends:-          amazonka-core == 1.5.0.*-        , amazonka-test == 1.5.0.*+          amazonka-core == 1.6.0.*+        , amazonka-test == 1.6.0.*         , amazonka-cognito-idp         , base         , bytestring
+ fixture/AdminListUserAuthEvents.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/AdminListUserAuthEventsResponse.proto view
+ fixture/AdminSetUserMFAPreference.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/AdminSetUserMFAPreferenceResponse.proto view
+ fixture/AdminUpdateAuthEventFeedback.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/AdminUpdateAuthEventFeedbackResponse.proto view
+ fixture/AssociateSoftwareToken.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/AssociateSoftwareTokenResponse.proto view
+ fixture/DescribeRiskConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeRiskConfigurationResponse.proto view
+ fixture/GetSigningCertificate.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetSigningCertificateResponse.proto view
+ fixture/GetUserPoolMFAConfig.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetUserPoolMFAConfigResponse.proto view
+ fixture/SetRiskConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/SetRiskConfigurationResponse.proto view
+ fixture/SetUserMFAPreference.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/SetUserMFAPreferenceResponse.proto view
+ fixture/SetUserPoolMFAConfig.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/SetUserPoolMFAConfigResponse.proto view
+ fixture/UpdateAuthEventFeedback.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UpdateAuthEventFeedbackResponse.proto view
+ fixture/VerifySoftwareToken.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-idp/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cognito-idp.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/VerifySoftwareTokenResponse.proto view
gen/Network/AWS/CognitoIdentityProvider.hs view
@@ -5,7 +5,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -77,12 +77,18 @@     -- ** UserPoolTaggingException     , _UserPoolTaggingException +    -- ** SoftwareTokenMFANotFoundException+    , _SoftwareTokenMFANotFoundException+     -- ** TooManyRequestsException     , _TooManyRequestsException      -- ** ConcurrentModificationException     , _ConcurrentModificationException +    -- ** UserPoolAddOnNotEnabledException+    , _UserPoolAddOnNotEnabledException+     -- ** UserLambdaValidationException     , _UserLambdaValidationException @@ -95,6 +101,9 @@     -- ** TooManyFailedAttemptsException     , _TooManyFailedAttemptsException +    -- ** EnableSoftwareTokenMFAException+    , _EnableSoftwareTokenMFAException+     -- ** UserNotConfirmedException     , _UserNotConfirmedException @@ -155,6 +164,9 @@     -- ** GetUserAttributeVerificationCode     , module Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode +    -- ** SetUserPoolMFAConfig+    , module Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig+     -- ** UpdateUserAttributes     , module Network.AWS.CognitoIdentityProvider.UpdateUserAttributes @@ -200,6 +212,9 @@     -- ** ListUsersInGroup     , module Network.AWS.CognitoIdentityProvider.ListUsersInGroup +    -- ** AssociateSoftwareToken+    , module Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken+     -- ** AdminDisableProviderForUser     , module Network.AWS.CognitoIdentityProvider.AdminDisableProviderForUser @@ -218,6 +233,9 @@     -- ** AdminConfirmSignUp     , module Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp +    -- ** AdminUpdateAuthEventFeedback+    , module Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback+     -- ** StartUserImportJob     , module Network.AWS.CognitoIdentityProvider.StartUserImportJob @@ -263,6 +281,9 @@     -- ** AdminRemoveUserFromGroup     , module Network.AWS.CognitoIdentityProvider.AdminRemoveUserFromGroup +    -- ** SetRiskConfiguration+    , module Network.AWS.CognitoIdentityProvider.SetRiskConfiguration+     -- ** ConfirmSignUp     , module Network.AWS.CognitoIdentityProvider.ConfirmSignUp @@ -272,6 +293,9 @@     -- ** AdminResetUserPassword     , module Network.AWS.CognitoIdentityProvider.AdminResetUserPassword +    -- ** UpdateAuthEventFeedback+    , module Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback+     -- ** CreateUserImportJob     , module Network.AWS.CognitoIdentityProvider.CreateUserImportJob @@ -293,6 +317,9 @@     -- ** DescribeResourceServer     , module Network.AWS.CognitoIdentityProvider.DescribeResourceServer +    -- ** SetUserMFAPreference+    , module Network.AWS.CognitoIdentityProvider.SetUserMFAPreference+     -- ** AdminUpdateDeviceStatus     , module Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus @@ -305,6 +332,9 @@     -- ** ListUserPoolClients     , module Network.AWS.CognitoIdentityProvider.ListUserPoolClients +    -- ** AdminSetUserMFAPreference+    , module Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference+     -- ** UpdateUserPoolClient     , module Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient @@ -317,27 +347,42 @@     -- ** ForgetDevice     , module Network.AWS.CognitoIdentityProvider.ForgetDevice +    -- ** GetSigningCertificate+    , module Network.AWS.CognitoIdentityProvider.GetSigningCertificate+     -- ** DeleteUser     , module Network.AWS.CognitoIdentityProvider.DeleteUser      -- ** CreateUserPoolClient     , module Network.AWS.CognitoIdentityProvider.CreateUserPoolClient +    -- ** GetUserPoolMFAConfig+    , module Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig+     -- ** CreateResourceServer     , module Network.AWS.CognitoIdentityProvider.CreateResourceServer +    -- ** AdminListUserAuthEvents+    , module Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents+     -- ** CreateGroup     , module Network.AWS.CognitoIdentityProvider.CreateGroup      -- ** AdminAddUserToGroup     , module Network.AWS.CognitoIdentityProvider.AdminAddUserToGroup +    -- ** VerifySoftwareToken+    , module Network.AWS.CognitoIdentityProvider.VerifySoftwareToken+     -- ** StopUserImportJob     , module Network.AWS.CognitoIdentityProvider.StopUserImportJob      -- ** DescribeUserImportJob     , module Network.AWS.CognitoIdentityProvider.DescribeUserImportJob +    -- ** DescribeRiskConfiguration+    , module Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration+     -- ** DeleteGroup     , module Network.AWS.CognitoIdentityProvider.DeleteGroup @@ -385,6 +430,12 @@      -- * Types +    -- ** AccountTakeoverEventActionType+    , AccountTakeoverEventActionType (..)++    -- ** AdvancedSecurityModeType+    , AdvancedSecurityModeType (..)+     -- ** AliasAttributeType     , AliasAttributeType (..) @@ -394,9 +445,18 @@     -- ** AuthFlowType     , AuthFlowType (..) +    -- ** ChallengeName+    , ChallengeName (..)+     -- ** ChallengeNameType     , ChallengeNameType (..) +    -- ** ChallengeResponse+    , ChallengeResponse (..)++    -- ** CompromisedCredentialsEventActionType+    , CompromisedCredentialsEventActionType (..)+     -- ** DefaultEmailOptionType     , DefaultEmailOptionType (..) @@ -409,9 +469,21 @@     -- ** DomainStatusType     , DomainStatusType (..) +    -- ** EventFilterType+    , EventFilterType (..)++    -- ** EventResponseType+    , EventResponseType (..)++    -- ** EventType+    , EventType (..)+     -- ** ExplicitAuthFlowsType     , ExplicitAuthFlowsType (..) +    -- ** FeedbackValueType+    , FeedbackValueType (..)+     -- ** IdentityProviderTypeType     , IdentityProviderTypeType (..) @@ -421,6 +493,12 @@     -- ** OAuthFlowType     , OAuthFlowType (..) +    -- ** RiskDecisionType+    , RiskDecisionType (..)++    -- ** RiskLevelType+    , RiskLevelType (..)+     -- ** StatusType     , StatusType (..) @@ -439,6 +517,28 @@     -- ** VerifiedAttributeType     , VerifiedAttributeType (..) +    -- ** VerifySoftwareTokenResponseType+    , VerifySoftwareTokenResponseType (..)++    -- ** AccountTakeoverActionType+    , AccountTakeoverActionType+    , accountTakeoverActionType+    , atatNotify+    , atatEventAction++    -- ** AccountTakeoverActionsType+    , AccountTakeoverActionsType+    , accountTakeoverActionsType+    , atatLowAction+    , atatHighAction+    , atatMediumAction++    -- ** AccountTakeoverRiskConfigurationType+    , AccountTakeoverRiskConfigurationType+    , accountTakeoverRiskConfigurationType+    , atrctNotifyConfiguration+    , atrctActions+     -- ** AdminCreateUserConfigType     , AdminCreateUserConfigType     , adminCreateUserConfigType@@ -446,12 +546,37 @@     , acuctUnusedAccountValidityDays     , acuctInviteMessageTemplate +    -- ** AnalyticsConfigurationType+    , AnalyticsConfigurationType+    , analyticsConfigurationType+    , actUserDataShared+    , actApplicationId+    , actRoleARN+    , actExternalId++    -- ** AnalyticsMetadataType+    , AnalyticsMetadataType+    , analyticsMetadataType+    , amtAnalyticsEndpointId+     -- ** AttributeType     , AttributeType     , attributeType     , atValue     , atName +    -- ** AuthEventType+    , AuthEventType+    , authEventType+    , aetEventRisk+    , aetEventResponse+    , aetEventContextData+    , aetChallengeResponses+    , aetEventType+    , aetCreationDate+    , aetEventFeedback+    , aetEventId+     -- ** AuthenticationResultType     , AuthenticationResultType     , authenticationResultType@@ -462,6 +587,12 @@     , artTokenType     , artIdToken +    -- ** ChallengeResponseType+    , ChallengeResponseType+    , challengeResponseType+    , crtChallengeName+    , crtChallengeResponse+     -- ** CodeDeliveryDetailsType     , CodeDeliveryDetailsType     , codeDeliveryDetailsType@@ -469,6 +600,26 @@     , cddtDeliveryMedium     , cddtAttributeName +    -- ** CompromisedCredentialsActionsType+    , CompromisedCredentialsActionsType+    , compromisedCredentialsActionsType+    , ccatEventAction++    -- ** CompromisedCredentialsRiskConfigurationType+    , CompromisedCredentialsRiskConfigurationType+    , compromisedCredentialsRiskConfigurationType+    , ccrctEventFilter+    , ccrctActions++    -- ** ContextDataType+    , ContextDataType+    , contextDataType+    , cdtEncodedData+    , cdtIPAddress+    , cdtServerName+    , cdtServerPath+    , cdtHTTPHeaders+     -- ** DeviceConfigurationType     , DeviceConfigurationType     , deviceConfigurationType@@ -507,6 +658,28 @@     , ectSourceARN     , ectReplyToEmailAddress +    -- ** EventContextDataType+    , EventContextDataType+    , eventContextDataType+    , ecdtIPAddress+    , ecdtCountry+    , ecdtCity+    , ecdtDeviceName+    , ecdtTimezone++    -- ** EventFeedbackType+    , EventFeedbackType+    , eventFeedbackType+    , eftFeedbackDate+    , eftFeedbackValue+    , eftProvider++    -- ** EventRiskType+    , EventRiskType+    , eventRiskType+    , ertRiskLevel+    , ertRiskDecision+     -- ** GroupType     , GroupType     , groupType@@ -518,6 +691,12 @@     , gtDescription     , gtRoleARN +    -- ** HTTPHeader+    , HTTPHeader+    , hTTPHeader+    , httphHeaderValue+    , httphHeaderName+     -- ** IdentityProviderType     , IdentityProviderType     , identityProviderType@@ -540,6 +719,8 @@     , lctCustomMessage     , lctDefineAuthChallenge     , lctPostConfirmation+    , lctPreTokenGeneration+    , lctUserMigration     , lctPreSignUp      -- ** MFAOptionType@@ -561,6 +742,23 @@     , ndmtDeviceGroupKey     , ndmtDeviceKey +    -- ** NotifyConfigurationType+    , NotifyConfigurationType+    , notifyConfigurationType+    , nctNoActionEmail+    , nctFrom+    , nctReplyTo+    , nctBlockEmail+    , nctMFAEmail+    , nctSourceARN++    -- ** NotifyEmailType+    , NotifyEmailType+    , notifyEmailType+    , netTextBody+    , netHTMLBody+    , netSubject+     -- ** NumberAttributeConstraintsType     , NumberAttributeConstraintsType     , numberAttributeConstraintsType@@ -605,6 +803,28 @@     , rstScopes     , rstName +    -- ** RiskConfigurationType+    , RiskConfigurationType+    , riskConfigurationType+    , rctRiskExceptionConfiguration+    , rctClientId+    , rctAccountTakeoverRiskConfiguration+    , rctLastModifiedDate+    , rctUserPoolId+    , rctCompromisedCredentialsRiskConfiguration++    -- ** RiskExceptionConfigurationType+    , RiskExceptionConfigurationType+    , riskExceptionConfigurationType+    , rectSkippedIPRangeList+    , rectBlockedIPRangeList++    -- ** SMSMFASettingsType+    , SMSMFASettingsType+    , sMSMFASettingsType+    , smsmstEnabled+    , smsmstPreferredMFA+     -- ** SchemaAttributeType     , SchemaAttributeType     , schemaAttributeType@@ -622,6 +842,23 @@     , sctExternalId     , sctSNSCallerARN +    -- ** SmsMFAConfigType+    , SmsMFAConfigType+    , smsMFAConfigType+    , smctSmsAuthenticationMessage+    , smctSmsConfiguration++    -- ** SoftwareTokenMFAConfigType+    , SoftwareTokenMFAConfigType+    , softwareTokenMFAConfigType+    , stmctEnabled++    -- ** SoftwareTokenMFASettingsType+    , SoftwareTokenMFASettingsType+    , softwareTokenMFASettingsType+    , stmstEnabled+    , stmstPreferredMFA+     -- ** StringAttributeConstraintsType     , StringAttributeConstraintsType     , stringAttributeConstraintsType@@ -639,6 +876,11 @@     , uictImageURL     , uictCreationDate +    -- ** UserContextDataType+    , UserContextDataType+    , userContextDataType+    , ucdtEncodedData+     -- ** UserImportJobType     , UserImportJobType     , userImportJobType@@ -656,6 +898,11 @@     , uijtCloudWatchLogsRoleARN     , uijtImportedUsers +    -- ** UserPoolAddOnsType+    , UserPoolAddOnsType+    , userPoolAddOnsType+    , upaotAdvancedSecurityMode+     -- ** UserPoolClientDescription     , UserPoolClientDescription     , userPoolClientDescription@@ -681,6 +928,7 @@     , upctReadAttributes     , upctAllowedOAuthScopes     , upctAllowedOAuthFlows+    , upctAnalyticsConfiguration     , upctClientName     , upctCallbackURLs @@ -708,8 +956,10 @@     , uptLastModifiedDate     , uptVerificationMessageTemplate     , uptEstimatedNumberOfUsers+    , uptDomain     , uptEmailVerificationMessage     , uptSmsAuthenticationMessage+    , uptUserPoolAddOns     , uptSchemaAttributes     , uptEmailVerificationSubject     , uptUsernameAttributes@@ -766,13 +1016,17 @@ import Network.AWS.CognitoIdentityProvider.AdminLinkProviderForUser import Network.AWS.CognitoIdentityProvider.AdminListDevices import Network.AWS.CognitoIdentityProvider.AdminListGroupsForUser+import Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents import Network.AWS.CognitoIdentityProvider.AdminRemoveUserFromGroup import Network.AWS.CognitoIdentityProvider.AdminResetUserPassword import Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge+import Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference import Network.AWS.CognitoIdentityProvider.AdminSetUserSettings+import Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback import Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus import Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes import Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut+import Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken import Network.AWS.CognitoIdentityProvider.ChangePassword import Network.AWS.CognitoIdentityProvider.ConfirmDevice import Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword@@ -794,6 +1048,7 @@ import Network.AWS.CognitoIdentityProvider.DeleteUserPoolDomain import Network.AWS.CognitoIdentityProvider.DescribeIdentityProvider import Network.AWS.CognitoIdentityProvider.DescribeResourceServer+import Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration import Network.AWS.CognitoIdentityProvider.DescribeUserImportJob import Network.AWS.CognitoIdentityProvider.DescribeUserPool import Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient@@ -804,9 +1059,11 @@ import Network.AWS.CognitoIdentityProvider.GetDevice import Network.AWS.CognitoIdentityProvider.GetGroup import Network.AWS.CognitoIdentityProvider.GetIdentityProviderByIdentifier+import Network.AWS.CognitoIdentityProvider.GetSigningCertificate import Network.AWS.CognitoIdentityProvider.GetUICustomization import Network.AWS.CognitoIdentityProvider.GetUser import Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode+import Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig import Network.AWS.CognitoIdentityProvider.GlobalSignOut import Network.AWS.CognitoIdentityProvider.InitiateAuth import Network.AWS.CognitoIdentityProvider.ListDevices@@ -820,12 +1077,16 @@ import Network.AWS.CognitoIdentityProvider.ListUsersInGroup import Network.AWS.CognitoIdentityProvider.ResendConfirmationCode import Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge+import Network.AWS.CognitoIdentityProvider.SetRiskConfiguration import Network.AWS.CognitoIdentityProvider.SetUICustomization+import Network.AWS.CognitoIdentityProvider.SetUserMFAPreference+import Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig import Network.AWS.CognitoIdentityProvider.SetUserSettings import Network.AWS.CognitoIdentityProvider.SignUp import Network.AWS.CognitoIdentityProvider.StartUserImportJob import Network.AWS.CognitoIdentityProvider.StopUserImportJob import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback import Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus import Network.AWS.CognitoIdentityProvider.UpdateGroup import Network.AWS.CognitoIdentityProvider.UpdateIdentityProvider@@ -833,6 +1094,7 @@ import Network.AWS.CognitoIdentityProvider.UpdateUserAttributes import Network.AWS.CognitoIdentityProvider.UpdateUserPool import Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient+import Network.AWS.CognitoIdentityProvider.VerifySoftwareToken import Network.AWS.CognitoIdentityProvider.VerifyUserAttribute import Network.AWS.CognitoIdentityProvider.Waiters 
gen/Network/AWS/CognitoIdentityProvider/AddCustomAttributes.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AddCustomAttributes--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,18 +68,18 @@     -> AddCustomAttributes addCustomAttributes pUserPoolId_ pCustomAttributes_ =   AddCustomAttributes'-  { _acaUserPoolId = pUserPoolId_-  , _acaCustomAttributes = _List1 # pCustomAttributes_-  }+    { _acaUserPoolId = pUserPoolId_+    , _acaCustomAttributes = _List1 # pCustomAttributes_+    }   -- | The user pool ID for the user pool where you want to add custom attributes. acaUserPoolId :: Lens' AddCustomAttributes Text-acaUserPoolId = lens _acaUserPoolId (\ s a -> s{_acaUserPoolId = a});+acaUserPoolId = lens _acaUserPoolId (\ s a -> s{_acaUserPoolId = a})  -- | An array of custom attributes, such as Mutable and Name. acaCustomAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType)-acaCustomAttributes = lens _acaCustomAttributes (\ s a -> s{_acaCustomAttributes = a}) . _List1;+acaCustomAttributes = lens _acaCustomAttributes (\ s a -> s{_acaCustomAttributes = a}) . _List1  instance AWSRequest AddCustomAttributes where         type Rs AddCustomAttributes =@@ -141,6 +141,6 @@  -- | -- | The response status code. acarsResponseStatus :: Lens' AddCustomAttributesResponse Int-acarsResponseStatus = lens _acarsResponseStatus (\ s a -> s{_acarsResponseStatus = a});+acarsResponseStatus = lens _acarsResponseStatus (\ s a -> s{_acarsResponseStatus = a})  instance NFData AddCustomAttributesResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminAddUserToGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminAddUserToGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,23 +69,23 @@     -> AdminAddUserToGroup adminAddUserToGroup pUserPoolId_ pUsername_ pGroupName_ =   AdminAddUserToGroup'-  { _aautgUserPoolId = pUserPoolId_-  , _aautgUsername = _Sensitive # pUsername_-  , _aautgGroupName = pGroupName_-  }+    { _aautgUserPoolId = pUserPoolId_+    , _aautgUsername = _Sensitive # pUsername_+    , _aautgGroupName = pGroupName_+    }   -- | The user pool ID for the user pool. aautgUserPoolId :: Lens' AdminAddUserToGroup Text-aautgUserPoolId = lens _aautgUserPoolId (\ s a -> s{_aautgUserPoolId = a});+aautgUserPoolId = lens _aautgUserPoolId (\ s a -> s{_aautgUserPoolId = a})  -- | The username for the user. aautgUsername :: Lens' AdminAddUserToGroup Text-aautgUsername = lens _aautgUsername (\ s a -> s{_aautgUsername = a}) . _Sensitive;+aautgUsername = lens _aautgUsername (\ s a -> s{_aautgUsername = a}) . _Sensitive  -- | The group name. aautgGroupName :: Lens' AdminAddUserToGroup Text-aautgGroupName = lens _aautgGroupName (\ s a -> s{_aautgGroupName = a});+aautgGroupName = lens _aautgGroupName (\ s a -> s{_aautgGroupName = a})  instance AWSRequest AdminAddUserToGroup where         type Rs AdminAddUserToGroup =
gen/Network/AWS/CognitoIdentityProvider/AdminConfirmSignUp.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminConfirmSignUp--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -70,16 +70,16 @@     -> AdminConfirmSignUp adminConfirmSignUp pUserPoolId_ pUsername_ =   AdminConfirmSignUp'-  {_acsuUserPoolId = pUserPoolId_, _acsuUsername = _Sensitive # pUsername_}+    {_acsuUserPoolId = pUserPoolId_, _acsuUsername = _Sensitive # pUsername_}   -- | The user pool ID for which you want to confirm user registration. acsuUserPoolId :: Lens' AdminConfirmSignUp Text-acsuUserPoolId = lens _acsuUserPoolId (\ s a -> s{_acsuUserPoolId = a});+acsuUserPoolId = lens _acsuUserPoolId (\ s a -> s{_acsuUserPoolId = a})  -- | The user name for which you want to confirm user registration. acsuUsername :: Lens' AdminConfirmSignUp Text-acsuUsername = lens _acsuUsername (\ s a -> s{_acsuUsername = a}) . _Sensitive;+acsuUsername = lens _acsuUsername (\ s a -> s{_acsuUsername = a}) . _Sensitive  instance AWSRequest AdminConfirmSignUp where         type Rs AdminConfirmSignUp =@@ -141,6 +141,6 @@  -- | -- | The response status code. acsursResponseStatus :: Lens' AdminConfirmSignUpResponse Int-acsursResponseStatus = lens _acsursResponseStatus (\ s a -> s{_acsursResponseStatus = a});+acsursResponseStatus = lens _acsursResponseStatus (\ s a -> s{_acsursResponseStatus = a})  instance NFData AdminConfirmSignUpResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminCreateUser.hs view
@@ -12,17 +12,23 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminCreateUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 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) ----- Creates a new user in the specified user pool and sends a welcome message via email or phone (SMS). This message is based on a template that you configured in your call to <API_CreateUserPool.html CreateUserPool> or <API_UpdateUserPool.html UpdateUserPool> . This template includes your custom sign-up instructions and placeholders for user name and temporary password.+-- Creates a new user in the specified user pool. -- ----- Requires developer credentials.+-- If @MessageAction@ is not set, the default is to send a welcome message via email or phone (SMS). --+-- Alternatively, you can call AdminCreateUser with “SUPPRESS” for the @MessageAction@ parameter, and Amazon Cognito will not send any email.+--+-- In either case, the user will be in the @FORCE_CHANGE_PASSWORD@ state until they sign in and change their password.+--+-- AdminCreateUser requires developer credentials.+-- module Network.AWS.CognitoIdentityProvider.AdminCreateUser     (     -- * Creating a Request@@ -82,7 +88,7 @@ -- -- * 'acuMessageAction' - 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. ----- * 'acuUserAttributes' - An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than @Username@ . However, any attributes that you specify as required (in <API_CreateUserPool.html CreateUserPool> 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 <API_AdminUpdateUserAttributes.html 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 to @True@ , or if @"EMAIL"@ is specified in the @DesiredDeliveryMediums@ 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 to @True@ , or if @"SMS"@ is specified in the @DesiredDeliveryMediums@ parameter.+-- * 'acuUserAttributes' - An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than @Username@ . However, any attributes that you specify as required (in 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 .)     * __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 to @True@ , or if @"EMAIL"@ is specified in the @DesiredDeliveryMediums@ 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 to @True@ , or if @"SMS"@ is specified in the @DesiredDeliveryMediums@ parameter. -- -- * 'acuValidationData' - 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. --@@ -95,48 +101,48 @@     -> AdminCreateUser adminCreateUser pUserPoolId_ pUsername_ =   AdminCreateUser'-  { _acuTemporaryPassword = Nothing-  , _acuForceAliasCreation = Nothing-  , _acuDesiredDeliveryMediums = Nothing-  , _acuMessageAction = Nothing-  , _acuUserAttributes = Nothing-  , _acuValidationData = Nothing-  , _acuUserPoolId = pUserPoolId_-  , _acuUsername = _Sensitive # pUsername_-  }+    { _acuTemporaryPassword = Nothing+    , _acuForceAliasCreation = Nothing+    , _acuDesiredDeliveryMediums = Nothing+    , _acuMessageAction = Nothing+    , _acuUserAttributes = Nothing+    , _acuValidationData = Nothing+    , _acuUserPoolId = pUserPoolId_+    , _acuUsername = _Sensitive # pUsername_+    }   -- | 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. acuTemporaryPassword :: Lens' AdminCreateUser (Maybe Text)-acuTemporaryPassword = lens _acuTemporaryPassword (\ s a -> s{_acuTemporaryPassword = a}) . mapping _Sensitive;+acuTemporaryPassword = lens _acuTemporaryPassword (\ s a -> s{_acuTemporaryPassword = a}) . mapping _Sensitive  -- | This parameter is only used if the @phone_number_verified@ or @email_verified@ attribute is set to @True@ . Otherwise, it is ignored. If this parameter is set to @True@ and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user. The previous user will no longer be able to log in using that alias. If this parameter is set to @False@ , the API throws an @AliasExistsException@ error if the alias already exists. The default value is @False@ . acuForceAliasCreation :: Lens' AdminCreateUser (Maybe Bool)-acuForceAliasCreation = lens _acuForceAliasCreation (\ s a -> s{_acuForceAliasCreation = a});+acuForceAliasCreation = lens _acuForceAliasCreation (\ s a -> s{_acuForceAliasCreation = a})  -- | 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. acuDesiredDeliveryMediums :: Lens' AdminCreateUser [DeliveryMediumType]-acuDesiredDeliveryMediums = lens _acuDesiredDeliveryMediums (\ s a -> s{_acuDesiredDeliveryMediums = a}) . _Default . _Coerce;+acuDesiredDeliveryMediums = lens _acuDesiredDeliveryMediums (\ s a -> s{_acuDesiredDeliveryMediums = a}) . _Default . _Coerce  -- | 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. acuMessageAction :: Lens' AdminCreateUser (Maybe MessageActionType)-acuMessageAction = lens _acuMessageAction (\ s a -> s{_acuMessageAction = a});+acuMessageAction = lens _acuMessageAction (\ s a -> s{_acuMessageAction = a}) --- | An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than @Username@ . However, any attributes that you specify as required (in <API_CreateUserPool.html CreateUserPool> 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 <API_AdminUpdateUserAttributes.html 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 to @True@ , or if @"EMAIL"@ is specified in the @DesiredDeliveryMediums@ 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 to @True@ , or if @"SMS"@ is specified in the @DesiredDeliveryMediums@ parameter.+-- | An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than @Username@ . However, any attributes that you specify as required (in 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 .)     * __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 to @True@ , or if @"EMAIL"@ is specified in the @DesiredDeliveryMediums@ 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 to @True@ , or if @"SMS"@ is specified in the @DesiredDeliveryMediums@ parameter. acuUserAttributes :: Lens' AdminCreateUser [AttributeType]-acuUserAttributes = lens _acuUserAttributes (\ s a -> s{_acuUserAttributes = a}) . _Default . _Coerce;+acuUserAttributes = lens _acuUserAttributes (\ s a -> s{_acuUserAttributes = a}) . _Default . _Coerce  -- | The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain. To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation data and uses it in the validation process. The user's validation data is not persisted. acuValidationData :: Lens' AdminCreateUser [AttributeType]-acuValidationData = lens _acuValidationData (\ s a -> s{_acuValidationData = a}) . _Default . _Coerce;+acuValidationData = lens _acuValidationData (\ s a -> s{_acuValidationData = a}) . _Default . _Coerce  -- | The user pool ID for the user pool where the user will be created. acuUserPoolId :: Lens' AdminCreateUser Text-acuUserPoolId = lens _acuUserPoolId (\ s a -> s{_acuUserPoolId = a});+acuUserPoolId = lens _acuUserPoolId (\ s a -> s{_acuUserPoolId = a})  -- | The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username cannot be changed. acuUsername :: Lens' AdminCreateUser Text-acuUsername = lens _acuUsername (\ s a -> s{_acuUsername = a}) . _Sensitive;+acuUsername = lens _acuUsername (\ s a -> s{_acuUsername = a}) . _Sensitive  instance AWSRequest AdminCreateUser where         type Rs AdminCreateUser = AdminCreateUserResponse@@ -204,15 +210,15 @@     -> AdminCreateUserResponse adminCreateUserResponse pResponseStatus_ =   AdminCreateUserResponse'-  {_acursUser = Nothing, _acursResponseStatus = pResponseStatus_}+    {_acursUser = Nothing, _acursResponseStatus = pResponseStatus_}   -- | The newly created user. acursUser :: Lens' AdminCreateUserResponse (Maybe UserType)-acursUser = lens _acursUser (\ s a -> s{_acursUser = a});+acursUser = lens _acursUser (\ s a -> s{_acursUser = a})  -- | -- | The response status code. acursResponseStatus :: Lens' AdminCreateUserResponse Int-acursResponseStatus = lens _acursResponseStatus (\ s a -> s{_acursResponseStatus = a});+acursResponseStatus = lens _acursResponseStatus (\ s a -> s{_acursResponseStatus = a})  instance NFData AdminCreateUserResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminDeleteUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminDeleteUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,16 +68,16 @@     -> AdminDeleteUser adminDeleteUser pUserPoolId_ pUsername_ =   AdminDeleteUser'-  {_aUserPoolId = pUserPoolId_, _aUsername = _Sensitive # pUsername_}+    {_aUserPoolId = pUserPoolId_, _aUsername = _Sensitive # pUsername_}   -- | The user pool ID for the user pool where you want to delete the user. aUserPoolId :: Lens' AdminDeleteUser Text-aUserPoolId = lens _aUserPoolId (\ s a -> s{_aUserPoolId = a});+aUserPoolId = lens _aUserPoolId (\ s a -> s{_aUserPoolId = a})  -- | The user name of the user you wish to delete. aUsername :: Lens' AdminDeleteUser Text-aUsername = lens _aUsername (\ s a -> s{_aUsername = a}) . _Sensitive;+aUsername = lens _aUsername (\ s a -> s{_aUsername = a}) . _Sensitive  instance AWSRequest AdminDeleteUser where         type Rs AdminDeleteUser = AdminDeleteUserResponse
gen/Network/AWS/CognitoIdentityProvider/AdminDeleteUserAttributes.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,23 +74,23 @@     -> AdminDeleteUserAttributes adminDeleteUserAttributes pUserPoolId_ pUsername_ =   AdminDeleteUserAttributes'-  { _aduaUserPoolId = pUserPoolId_-  , _aduaUsername = _Sensitive # pUsername_-  , _aduaUserAttributeNames = mempty-  }+    { _aduaUserPoolId = pUserPoolId_+    , _aduaUsername = _Sensitive # pUsername_+    , _aduaUserAttributeNames = mempty+    }   -- | The user pool ID for the user pool where you want to delete user attributes. aduaUserPoolId :: Lens' AdminDeleteUserAttributes Text-aduaUserPoolId = lens _aduaUserPoolId (\ s a -> s{_aduaUserPoolId = a});+aduaUserPoolId = lens _aduaUserPoolId (\ s a -> s{_aduaUserPoolId = a})  -- | The user name of the user from which you would like to delete attributes. aduaUsername :: Lens' AdminDeleteUserAttributes Text-aduaUsername = lens _aduaUsername (\ s a -> s{_aduaUsername = a}) . _Sensitive;+aduaUsername = lens _aduaUsername (\ s a -> s{_aduaUsername = a}) . _Sensitive  -- | 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. aduaUserAttributeNames :: Lens' AdminDeleteUserAttributes [Text]-aduaUserAttributeNames = lens _aduaUserAttributeNames (\ s a -> s{_aduaUserAttributeNames = a}) . _Coerce;+aduaUserAttributeNames = lens _aduaUserAttributeNames (\ s a -> s{_aduaUserAttributeNames = a}) . _Coerce  instance AWSRequest AdminDeleteUserAttributes where         type Rs AdminDeleteUserAttributes =@@ -155,7 +155,7 @@  -- | -- | The response status code. aduarsResponseStatus :: Lens' AdminDeleteUserAttributesResponse Int-aduarsResponseStatus = lens _aduarsResponseStatus (\ s a -> s{_aduarsResponseStatus = a});+aduarsResponseStatus = lens _aduarsResponseStatus (\ s a -> s{_aduarsResponseStatus = a})  instance NFData AdminDeleteUserAttributesResponse          where
gen/Network/AWS/CognitoIdentityProvider/AdminDisableProviderForUser.hs view
@@ -12,13 +12,13 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminDisableProviderForUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 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) ----- Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Cognito User Pools native username + password user, they are not permitted to use their password to sign-in. If the user to disable is a linked external IdP user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked @DestinationUser@ ) signs in, they must create a new user account. See <API_AdminLinkProviderForUser.html AdminLinkProviderForUser> .+-- Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Cognito User Pools native username + password user, they are not permitted to use their password to sign-in. If the user to disable is a linked external IdP user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked @DestinationUser@ ) signs in, they must create a new user account. See . -- -- -- This action is enabled only for admin access and requires developer credentials.@@ -29,7 +29,7 @@ -- -- The @ProviderAttributeName@ must always be @Cognito_Subject@ for social identity providers. The @ProviderAttributeValue@ must always be the exact subject that was used when the user was originally linked as a source user. ----- For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign-in, the @ProviderAttributeName@ and @ProviderAttributeValue@ must be the same values that were used for the @SourceUser@ when the identities were originally linked in the <API_AdminLinkProviderForUser.html AdminLinkProviderForUser> call. (If the linking was done with @ProviderAttributeName@ set to @Cognito_Subject@ , the same applies here). However, if the user has already signed in, the @ProviderAttributeName@ must be @Cognito_Subject@ and @ProviderAttributeValue@ must be the subject of the SAML assertion.+-- For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign-in, the @ProviderAttributeName@ and @ProviderAttributeValue@ must be the same values that were used for the @SourceUser@ when the identities were originally linked in the call. (If the linking was done with @ProviderAttributeName@ set to @Cognito_Subject@ , the same applies here). However, if the user has already signed in, the @ProviderAttributeName@ must be @Cognito_Subject@ and @ProviderAttributeValue@ must be the subject of the SAML assertion. -- module Network.AWS.CognitoIdentityProvider.AdminDisableProviderForUser     (@@ -74,16 +74,16 @@     -> AdminDisableProviderForUser adminDisableProviderForUser pUserPoolId_ pUser_ =   AdminDisableProviderForUser'-  {_adpfuUserPoolId = pUserPoolId_, _adpfuUser = pUser_}+    {_adpfuUserPoolId = pUserPoolId_, _adpfuUser = pUser_}   -- | The user pool ID for the user pool. adpfuUserPoolId :: Lens' AdminDisableProviderForUser Text-adpfuUserPoolId = lens _adpfuUserPoolId (\ s a -> s{_adpfuUserPoolId = a});+adpfuUserPoolId = lens _adpfuUserPoolId (\ s a -> s{_adpfuUserPoolId = a})  -- | The user to be disabled. adpfuUser :: Lens' AdminDisableProviderForUser ProviderUserIdentifierType-adpfuUser = lens _adpfuUser (\ s a -> s{_adpfuUser = a});+adpfuUser = lens _adpfuUser (\ s a -> s{_adpfuUser = a})  instance AWSRequest AdminDisableProviderForUser where         type Rs AdminDisableProviderForUser =@@ -138,12 +138,12 @@     -> AdminDisableProviderForUserResponse adminDisableProviderForUserResponse pResponseStatus_ =   AdminDisableProviderForUserResponse'-  {_adpfursResponseStatus = pResponseStatus_}+    {_adpfursResponseStatus = pResponseStatus_}   -- | -- | The response status code. adpfursResponseStatus :: Lens' AdminDisableProviderForUserResponse Int-adpfursResponseStatus = lens _adpfursResponseStatus (\ s a -> s{_adpfursResponseStatus = a});+adpfursResponseStatus = lens _adpfursResponseStatus (\ s a -> s{_adpfursResponseStatus = a})  instance NFData AdminDisableProviderForUserResponse          where
gen/Network/AWS/CognitoIdentityProvider/AdminDisableUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminDisableUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -70,16 +70,16 @@     -> AdminDisableUser adminDisableUser pUserPoolId_ pUsername_ =   AdminDisableUser'-  {_aduUserPoolId = pUserPoolId_, _aduUsername = _Sensitive # pUsername_}+    {_aduUserPoolId = pUserPoolId_, _aduUsername = _Sensitive # pUsername_}   -- | The user pool ID for the user pool where you want to disable the user. aduUserPoolId :: Lens' AdminDisableUser Text-aduUserPoolId = lens _aduUserPoolId (\ s a -> s{_aduUserPoolId = a});+aduUserPoolId = lens _aduUserPoolId (\ s a -> s{_aduUserPoolId = a})  -- | The user name of the user you wish to disable. aduUsername :: Lens' AdminDisableUser Text-aduUsername = lens _aduUsername (\ s a -> s{_aduUsername = a}) . _Sensitive;+aduUsername = lens _aduUsername (\ s a -> s{_aduUsername = a}) . _Sensitive  instance AWSRequest AdminDisableUser where         type Rs AdminDisableUser = AdminDisableUserResponse@@ -140,6 +140,6 @@  -- | -- | The response status code. adursResponseStatus :: Lens' AdminDisableUserResponse Int-adursResponseStatus = lens _adursResponseStatus (\ s a -> s{_adursResponseStatus = a});+adursResponseStatus = lens _adursResponseStatus (\ s a -> s{_adursResponseStatus = a})  instance NFData AdminDisableUserResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminEnableUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminEnableUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -70,16 +70,16 @@     -> AdminEnableUser adminEnableUser pUserPoolId_ pUsername_ =   AdminEnableUser'-  {_aeuUserPoolId = pUserPoolId_, _aeuUsername = _Sensitive # pUsername_}+    {_aeuUserPoolId = pUserPoolId_, _aeuUsername = _Sensitive # pUsername_}   -- | The user pool ID for the user pool where you want to enable the user. aeuUserPoolId :: Lens' AdminEnableUser Text-aeuUserPoolId = lens _aeuUserPoolId (\ s a -> s{_aeuUserPoolId = a});+aeuUserPoolId = lens _aeuUserPoolId (\ s a -> s{_aeuUserPoolId = a})  -- | The user name of the user you wish to enable. aeuUsername :: Lens' AdminEnableUser Text-aeuUsername = lens _aeuUsername (\ s a -> s{_aeuUsername = a}) . _Sensitive;+aeuUsername = lens _aeuUsername (\ s a -> s{_aeuUsername = a}) . _Sensitive  instance AWSRequest AdminEnableUser where         type Rs AdminEnableUser = AdminEnableUserResponse@@ -140,6 +140,6 @@  -- | -- | The response status code. aeursResponseStatus :: Lens' AdminEnableUserResponse Int-aeursResponseStatus = lens _aeursResponseStatus (\ s a -> s{_aeursResponseStatus = a});+aeursResponseStatus = lens _aeursResponseStatus (\ s a -> s{_aeursResponseStatus = a})  instance NFData AdminEnableUserResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminForgetDevice.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminForgetDevice--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,23 +73,23 @@     -> AdminForgetDevice adminForgetDevice pUserPoolId_ pUsername_ pDeviceKey_ =   AdminForgetDevice'-  { _afdUserPoolId = pUserPoolId_-  , _afdUsername = _Sensitive # pUsername_-  , _afdDeviceKey = pDeviceKey_-  }+    { _afdUserPoolId = pUserPoolId_+    , _afdUsername = _Sensitive # pUsername_+    , _afdDeviceKey = pDeviceKey_+    }   -- | The user pool ID. afdUserPoolId :: Lens' AdminForgetDevice Text-afdUserPoolId = lens _afdUserPoolId (\ s a -> s{_afdUserPoolId = a});+afdUserPoolId = lens _afdUserPoolId (\ s a -> s{_afdUserPoolId = a})  -- | The user name. afdUsername :: Lens' AdminForgetDevice Text-afdUsername = lens _afdUsername (\ s a -> s{_afdUsername = a}) . _Sensitive;+afdUsername = lens _afdUsername (\ s a -> s{_afdUsername = a}) . _Sensitive  -- | The device key. afdDeviceKey :: Lens' AdminForgetDevice Text-afdDeviceKey = lens _afdDeviceKey (\ s a -> s{_afdDeviceKey = a});+afdDeviceKey = lens _afdDeviceKey (\ s a -> s{_afdDeviceKey = a})  instance AWSRequest AdminForgetDevice where         type Rs AdminForgetDevice = AdminForgetDeviceResponse
gen/Network/AWS/CognitoIdentityProvider/AdminGetDevice.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminGetDevice--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -76,23 +76,23 @@     -> AdminGetDevice adminGetDevice pDeviceKey_ pUserPoolId_ pUsername_ =   AdminGetDevice'-  { _agdDeviceKey = pDeviceKey_-  , _agdUserPoolId = pUserPoolId_-  , _agdUsername = _Sensitive # pUsername_-  }+    { _agdDeviceKey = pDeviceKey_+    , _agdUserPoolId = pUserPoolId_+    , _agdUsername = _Sensitive # pUsername_+    }   -- | The device key. agdDeviceKey :: Lens' AdminGetDevice Text-agdDeviceKey = lens _agdDeviceKey (\ s a -> s{_agdDeviceKey = a});+agdDeviceKey = lens _agdDeviceKey (\ s a -> s{_agdDeviceKey = a})  -- | The user pool ID. agdUserPoolId :: Lens' AdminGetDevice Text-agdUserPoolId = lens _agdUserPoolId (\ s a -> s{_agdUserPoolId = a});+agdUserPoolId = lens _agdUserPoolId (\ s a -> s{_agdUserPoolId = a})  -- | The user name. agdUsername :: Lens' AdminGetDevice Text-agdUsername = lens _agdUsername (\ s a -> s{_agdUsername = a}) . _Sensitive;+agdUsername = lens _agdUsername (\ s a -> s{_agdUsername = a}) . _Sensitive  instance AWSRequest AdminGetDevice where         type Rs AdminGetDevice = AdminGetDeviceResponse@@ -155,15 +155,15 @@     -> AdminGetDeviceResponse adminGetDeviceResponse pResponseStatus_ pDevice_ =   AdminGetDeviceResponse'-  {_agdrsResponseStatus = pResponseStatus_, _agdrsDevice = pDevice_}+    {_agdrsResponseStatus = pResponseStatus_, _agdrsDevice = pDevice_}   -- | -- | The response status code. agdrsResponseStatus :: Lens' AdminGetDeviceResponse Int-agdrsResponseStatus = lens _agdrsResponseStatus (\ s a -> s{_agdrsResponseStatus = a});+agdrsResponseStatus = lens _agdrsResponseStatus (\ s a -> s{_agdrsResponseStatus = a})  -- | The device. agdrsDevice :: Lens' AdminGetDeviceResponse DeviceType-agdrsDevice = lens _agdrsDevice (\ s a -> s{_agdrsDevice = a});+agdrsDevice = lens _agdrsDevice (\ s a -> s{_agdrsDevice = a})  instance NFData AdminGetDeviceResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminGetUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminGetUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -40,8 +40,10 @@     , agursUserStatus     , agursUserAttributes     , agursUserCreateDate+    , agursUserMFASettingList     , agursMFAOptions     , agursUserLastModifiedDate+    , agursPreferredMFASetting     , agursResponseStatus     , agursUsername     ) where@@ -77,16 +79,16 @@     -> AdminGetUser adminGetUser pUserPoolId_ pUsername_ =   AdminGetUser'-  {_aguUserPoolId = pUserPoolId_, _aguUsername = _Sensitive # pUsername_}+    {_aguUserPoolId = pUserPoolId_, _aguUsername = _Sensitive # pUsername_}   -- | The user pool ID for the user pool where you want to get information about the user. aguUserPoolId :: Lens' AdminGetUser Text-aguUserPoolId = lens _aguUserPoolId (\ s a -> s{_aguUserPoolId = a});+aguUserPoolId = lens _aguUserPoolId (\ s a -> s{_aguUserPoolId = a})  -- | The user name of the user you wish to retrieve. aguUsername :: Lens' AdminGetUser Text-aguUsername = lens _aguUsername (\ s a -> s{_aguUsername = a}) . _Sensitive;+aguUsername = lens _aguUsername (\ s a -> s{_aguUsername = a}) . _Sensitive  instance AWSRequest AdminGetUser where         type Rs AdminGetUser = AdminGetUserResponse@@ -98,8 +100,10 @@                    (x .?> "Enabled") <*> (x .?> "UserStatus") <*>                      (x .?> "UserAttributes" .!@ mempty)                      <*> (x .?> "UserCreateDate")+                     <*> (x .?> "UserMFASettingList" .!@ mempty)                      <*> (x .?> "MFAOptions" .!@ mempty)                      <*> (x .?> "UserLastModifiedDate")+                     <*> (x .?> "PreferredMfaSetting")                      <*> (pure (fromEnum s))                      <*> (x .:> "Username")) @@ -140,8 +144,10 @@   , _agursUserStatus           :: !(Maybe UserStatusType)   , _agursUserAttributes       :: !(Maybe [AttributeType])   , _agursUserCreateDate       :: !(Maybe POSIX)+  , _agursUserMFASettingList   :: !(Maybe [Text])   , _agursMFAOptions           :: !(Maybe [MFAOptionType])   , _agursUserLastModifiedDate :: !(Maybe POSIX)+  , _agursPreferredMFASetting  :: !(Maybe Text)   , _agursResponseStatus       :: !Int   , _agursUsername             :: !(Sensitive Text)   } deriving (Eq, Show, Data, Typeable, Generic)@@ -159,10 +165,14 @@ -- -- * 'agursUserCreateDate' - The date the user was created. --+-- * 'agursUserMFASettingList' - The list of the user's MFA settings.+-- -- * 'agursMFAOptions' - Specifies the options for MFA (e.g., email or phone number). -- -- * 'agursUserLastModifiedDate' - The date the user was last modified. --+-- * 'agursPreferredMFASetting' - The user's preferred MFA setting.+-- -- * 'agursResponseStatus' - -- | The response status code. -- -- * 'agursUsername' - The user name of the user about whom you are receiving information.@@ -172,47 +182,57 @@     -> AdminGetUserResponse adminGetUserResponse pResponseStatus_ pUsername_ =   AdminGetUserResponse'-  { _agursEnabled = Nothing-  , _agursUserStatus = Nothing-  , _agursUserAttributes = Nothing-  , _agursUserCreateDate = Nothing-  , _agursMFAOptions = Nothing-  , _agursUserLastModifiedDate = Nothing-  , _agursResponseStatus = pResponseStatus_-  , _agursUsername = _Sensitive # pUsername_-  }+    { _agursEnabled = Nothing+    , _agursUserStatus = Nothing+    , _agursUserAttributes = Nothing+    , _agursUserCreateDate = Nothing+    , _agursUserMFASettingList = Nothing+    , _agursMFAOptions = Nothing+    , _agursUserLastModifiedDate = Nothing+    , _agursPreferredMFASetting = Nothing+    , _agursResponseStatus = pResponseStatus_+    , _agursUsername = _Sensitive # pUsername_+    }   -- | Indicates that the status is enabled. agursEnabled :: Lens' AdminGetUserResponse (Maybe Bool)-agursEnabled = lens _agursEnabled (\ s a -> s{_agursEnabled = a});+agursEnabled = lens _agursEnabled (\ s a -> s{_agursEnabled = a})  -- | The user status. Can be one of the following:     * UNCONFIRMED - User has been created but not confirmed.     * CONFIRMED - User has been confirmed.     * ARCHIVED - User is no longer active.     * COMPROMISED - User is disabled due to a potential security threat.     * UNKNOWN - User status is not known. agursUserStatus :: Lens' AdminGetUserResponse (Maybe UserStatusType)-agursUserStatus = lens _agursUserStatus (\ s a -> s{_agursUserStatus = a});+agursUserStatus = lens _agursUserStatus (\ s a -> s{_agursUserStatus = a})  -- | An array of name-value pairs representing user attributes. agursUserAttributes :: Lens' AdminGetUserResponse [AttributeType]-agursUserAttributes = lens _agursUserAttributes (\ s a -> s{_agursUserAttributes = a}) . _Default . _Coerce;+agursUserAttributes = lens _agursUserAttributes (\ s a -> s{_agursUserAttributes = a}) . _Default . _Coerce  -- | The date the user was created. agursUserCreateDate :: Lens' AdminGetUserResponse (Maybe UTCTime)-agursUserCreateDate = lens _agursUserCreateDate (\ s a -> s{_agursUserCreateDate = a}) . mapping _Time;+agursUserCreateDate = lens _agursUserCreateDate (\ s a -> s{_agursUserCreateDate = a}) . mapping _Time +-- | The list of the user's MFA settings.+agursUserMFASettingList :: Lens' AdminGetUserResponse [Text]+agursUserMFASettingList = lens _agursUserMFASettingList (\ s a -> s{_agursUserMFASettingList = a}) . _Default . _Coerce+ -- | Specifies the options for MFA (e.g., email or phone number). agursMFAOptions :: Lens' AdminGetUserResponse [MFAOptionType]-agursMFAOptions = lens _agursMFAOptions (\ s a -> s{_agursMFAOptions = a}) . _Default . _Coerce;+agursMFAOptions = lens _agursMFAOptions (\ s a -> s{_agursMFAOptions = a}) . _Default . _Coerce  -- | The date the user was last modified. agursUserLastModifiedDate :: Lens' AdminGetUserResponse (Maybe UTCTime)-agursUserLastModifiedDate = lens _agursUserLastModifiedDate (\ s a -> s{_agursUserLastModifiedDate = a}) . mapping _Time;+agursUserLastModifiedDate = lens _agursUserLastModifiedDate (\ s a -> s{_agursUserLastModifiedDate = a}) . mapping _Time +-- | The user's preferred MFA setting.+agursPreferredMFASetting :: Lens' AdminGetUserResponse (Maybe Text)+agursPreferredMFASetting = lens _agursPreferredMFASetting (\ s a -> s{_agursPreferredMFASetting = a})+ -- | -- | The response status code. agursResponseStatus :: Lens' AdminGetUserResponse Int-agursResponseStatus = lens _agursResponseStatus (\ s a -> s{_agursResponseStatus = a});+agursResponseStatus = lens _agursResponseStatus (\ s a -> s{_agursResponseStatus = a})  -- | The user name of the user about whom you are receiving information. agursUsername :: Lens' AdminGetUserResponse Text-agursUsername = lens _agursUsername (\ s a -> s{_agursUsername = a}) . _Sensitive;+agursUsername = lens _agursUsername (\ s a -> s{_agursUsername = a}) . _Sensitive  instance NFData AdminGetUserResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminInitiateAuth.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminInitiateAuth--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -30,6 +30,8 @@     , AdminInitiateAuth     -- * Request Lenses     , aiaClientMetadata+    , aiaContextData+    , aiaAnalyticsMetadata     , aiaAuthParameters     , aiaUserPoolId     , aiaClientId@@ -59,11 +61,13 @@ -- -- /See:/ 'adminInitiateAuth' smart constructor. data AdminInitiateAuth = AdminInitiateAuth'-  { _aiaClientMetadata :: !(Maybe (Map Text Text))-  , _aiaAuthParameters :: !(Maybe (Map Text Text))-  , _aiaUserPoolId     :: !Text-  , _aiaClientId       :: !(Sensitive Text)-  , _aiaAuthFlow       :: !AuthFlowType+  { _aiaClientMetadata    :: !(Maybe (Map Text Text))+  , _aiaContextData       :: !(Maybe ContextDataType)+  , _aiaAnalyticsMetadata :: !(Maybe AnalyticsMetadataType)+  , _aiaAuthParameters    :: !(Maybe (Map Text Text))+  , _aiaUserPoolId        :: !Text+  , _aiaClientId          :: !(Sensitive Text)+  , _aiaAuthFlow          :: !AuthFlowType   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -73,13 +77,17 @@ -- -- * 'aiaClientMetadata' - This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication. ----- * 'aiaAuthParameters' - 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@ : @USERNAME@ (required), @SECRET_HASH@ (required if the app client is configured with a client secret), @REFRESH_TOKEN@ (required), @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@+-- * 'aiaContextData' - 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. --+-- * 'aiaAnalyticsMetadata' - The analytics metadata for collecting Amazon Pinpoint metrics for @AdminInitiateAuth@ calls.+--+-- * 'aiaAuthParameters' - 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@+-- -- * 'aiaUserPoolId' - The ID of the Amazon Cognito user pool. -- -- * 'aiaClientId' - The app client ID. ----- * 'aiaAuthFlow' - 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution. 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.+-- * 'aiaAuthFlow' - 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution.     * @USER_PASSWORD_AUTH@ will take in @USERNAME@ and @PASSWORD@ 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. adminInitiateAuth     :: Text -- ^ 'aiaUserPoolId'     -> Text -- ^ 'aiaClientId'@@ -87,33 +95,43 @@     -> AdminInitiateAuth adminInitiateAuth pUserPoolId_ pClientId_ pAuthFlow_ =   AdminInitiateAuth'-  { _aiaClientMetadata = Nothing-  , _aiaAuthParameters = Nothing-  , _aiaUserPoolId = pUserPoolId_-  , _aiaClientId = _Sensitive # pClientId_-  , _aiaAuthFlow = pAuthFlow_-  }+    { _aiaClientMetadata = Nothing+    , _aiaContextData = Nothing+    , _aiaAnalyticsMetadata = Nothing+    , _aiaAuthParameters = Nothing+    , _aiaUserPoolId = pUserPoolId_+    , _aiaClientId = _Sensitive # pClientId_+    , _aiaAuthFlow = pAuthFlow_+    }   -- | This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication. aiaClientMetadata :: Lens' AdminInitiateAuth (HashMap Text Text)-aiaClientMetadata = lens _aiaClientMetadata (\ s a -> s{_aiaClientMetadata = a}) . _Default . _Map;+aiaClientMetadata = lens _aiaClientMetadata (\ s a -> s{_aiaClientMetadata = a}) . _Default . _Map --- | 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@ : @USERNAME@ (required), @SECRET_HASH@ (required if the app client is configured with a client secret), @REFRESH_TOKEN@ (required), @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@+-- | 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.+aiaContextData :: Lens' AdminInitiateAuth (Maybe ContextDataType)+aiaContextData = lens _aiaContextData (\ s a -> s{_aiaContextData = a})++-- | The analytics metadata for collecting Amazon Pinpoint metrics for @AdminInitiateAuth@ calls.+aiaAnalyticsMetadata :: Lens' AdminInitiateAuth (Maybe AnalyticsMetadataType)+aiaAnalyticsMetadata = lens _aiaAnalyticsMetadata (\ s a -> s{_aiaAnalyticsMetadata = a})++-- | 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@ aiaAuthParameters :: Lens' AdminInitiateAuth (HashMap Text Text)-aiaAuthParameters = lens _aiaAuthParameters (\ s a -> s{_aiaAuthParameters = a}) . _Default . _Map;+aiaAuthParameters = lens _aiaAuthParameters (\ s a -> s{_aiaAuthParameters = a}) . _Default . _Map  -- | The ID of the Amazon Cognito user pool. aiaUserPoolId :: Lens' AdminInitiateAuth Text-aiaUserPoolId = lens _aiaUserPoolId (\ s a -> s{_aiaUserPoolId = a});+aiaUserPoolId = lens _aiaUserPoolId (\ s a -> s{_aiaUserPoolId = a})  -- | The app client ID. aiaClientId :: Lens' AdminInitiateAuth Text-aiaClientId = lens _aiaClientId (\ s a -> s{_aiaClientId = a}) . _Sensitive;+aiaClientId = lens _aiaClientId (\ s a -> s{_aiaClientId = a}) . _Sensitive --- | 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution. 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.+-- | 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution.     * @USER_PASSWORD_AUTH@ will take in @USERNAME@ and @PASSWORD@ 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. aiaAuthFlow :: Lens' AdminInitiateAuth AuthFlowType-aiaAuthFlow = lens _aiaAuthFlow (\ s a -> s{_aiaAuthFlow = a});+aiaAuthFlow = lens _aiaAuthFlow (\ s a -> s{_aiaAuthFlow = a})  instance AWSRequest AdminInitiateAuth where         type Rs AdminInitiateAuth = AdminInitiateAuthResponse@@ -147,6 +165,8 @@           = object               (catMaybes                  [("ClientMetadata" .=) <$> _aiaClientMetadata,+                  ("ContextData" .=) <$> _aiaContextData,+                  ("AnalyticsMetadata" .=) <$> _aiaAnalyticsMetadata,                   ("AuthParameters" .=) <$> _aiaAuthParameters,                   Just ("UserPoolId" .= _aiaUserPoolId),                   Just ("ClientId" .= _aiaClientId),@@ -178,7 +198,7 @@ -- -- * 'aiarsChallengeName' - 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.     * @SMS_MFA@ : Next challenge is to supply an @SMS_MFA_CODE@ , delivered via SMS.     * @PASSWORD_VERIFIER@ : Next challenge is to supply @PASSWORD_CLAIM_SIGNATURE@ , @PASSWORD_CLAIM_SECRET_BLOCK@ , and @TIMESTAMP@ 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 to @PASSWORD_VERIFIER@ , but for devices only.     * @ADMIN_NO_SRP_AUTH@ : This is returned if you need to authenticate with @USERNAME@ and @PASSWORD@ directly. An app client must be enabled to use this flow.     * @NEW_PASSWORD_REQUIRED@ : For users which are required to change their passwords after successful first login. This challenge should be passed with @NEW_PASSWORD@ and any other required attributes. ----- * 'aiarsChallengeParameters' - 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_IF_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.+-- * 'aiarsChallengeParameters' - 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. -- -- * 'aiarsAuthenticationResult' - 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. --@@ -190,32 +210,32 @@     -> AdminInitiateAuthResponse adminInitiateAuthResponse pResponseStatus_ =   AdminInitiateAuthResponse'-  { _aiarsChallengeName = Nothing-  , _aiarsChallengeParameters = Nothing-  , _aiarsAuthenticationResult = Nothing-  , _aiarsSession = Nothing-  , _aiarsResponseStatus = pResponseStatus_-  }+    { _aiarsChallengeName = Nothing+    , _aiarsChallengeParameters = Nothing+    , _aiarsAuthenticationResult = Nothing+    , _aiarsSession = Nothing+    , _aiarsResponseStatus = pResponseStatus_+    }   -- | 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.     * @SMS_MFA@ : Next challenge is to supply an @SMS_MFA_CODE@ , delivered via SMS.     * @PASSWORD_VERIFIER@ : Next challenge is to supply @PASSWORD_CLAIM_SIGNATURE@ , @PASSWORD_CLAIM_SECRET_BLOCK@ , and @TIMESTAMP@ 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 to @PASSWORD_VERIFIER@ , but for devices only.     * @ADMIN_NO_SRP_AUTH@ : This is returned if you need to authenticate with @USERNAME@ and @PASSWORD@ directly. An app client must be enabled to use this flow.     * @NEW_PASSWORD_REQUIRED@ : For users which are required to change their passwords after successful first login. This challenge should be passed with @NEW_PASSWORD@ and any other required attributes. aiarsChallengeName :: Lens' AdminInitiateAuthResponse (Maybe ChallengeNameType)-aiarsChallengeName = lens _aiarsChallengeName (\ s a -> s{_aiarsChallengeName = a});+aiarsChallengeName = lens _aiarsChallengeName (\ s a -> s{_aiarsChallengeName = a}) --- | 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_IF_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.+-- | 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. aiarsChallengeParameters :: Lens' AdminInitiateAuthResponse (HashMap Text Text)-aiarsChallengeParameters = lens _aiarsChallengeParameters (\ s a -> s{_aiarsChallengeParameters = a}) . _Default . _Map;+aiarsChallengeParameters = lens _aiarsChallengeParameters (\ s a -> s{_aiarsChallengeParameters = a}) . _Default . _Map  -- | 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. aiarsAuthenticationResult :: Lens' AdminInitiateAuthResponse (Maybe AuthenticationResultType)-aiarsAuthenticationResult = lens _aiarsAuthenticationResult (\ s a -> s{_aiarsAuthenticationResult = a});+aiarsAuthenticationResult = lens _aiarsAuthenticationResult (\ s a -> s{_aiarsAuthenticationResult = a})  -- | 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. aiarsSession :: Lens' AdminInitiateAuthResponse (Maybe Text)-aiarsSession = lens _aiarsSession (\ s a -> s{_aiarsSession = a});+aiarsSession = lens _aiarsSession (\ s a -> s{_aiarsSession = a})  -- | -- | The response status code. aiarsResponseStatus :: Lens' AdminInitiateAuthResponse Int-aiarsResponseStatus = lens _aiarsResponseStatus (\ s a -> s{_aiarsResponseStatus = a});+aiarsResponseStatus = lens _aiarsResponseStatus (\ s a -> s{_aiarsResponseStatus = a})  instance NFData AdminInitiateAuthResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminLinkProviderForUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminLinkProviderForUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -25,7 +25,7 @@ -- -- /Important:/ Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner. ----- See also <API_AdminDisableProviderForUser.html AdminDisableProviderForUser> .+-- See also . -- -- This action is enabled only for admin access and requires developer credentials. --@@ -67,7 +67,7 @@ -- -- * 'alpfuUserPoolId' - The user pool ID for the user pool. ----- * 'alpfuDestinationUser' - 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. The @ProviderAttributeValue@ for the @DestinationUser@ must match the username for the user in the user pool. The @ProviderAttributeName@ will always be ignored.+-- * 'alpfuDestinationUser' - 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. -- -- * 'alpfuSourceUser' - 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. adminLinkProviderForUser@@ -77,23 +77,23 @@     -> AdminLinkProviderForUser adminLinkProviderForUser pUserPoolId_ pDestinationUser_ pSourceUser_ =   AdminLinkProviderForUser'-  { _alpfuUserPoolId = pUserPoolId_-  , _alpfuDestinationUser = pDestinationUser_-  , _alpfuSourceUser = pSourceUser_-  }+    { _alpfuUserPoolId = pUserPoolId_+    , _alpfuDestinationUser = pDestinationUser_+    , _alpfuSourceUser = pSourceUser_+    }   -- | The user pool ID for the user pool. alpfuUserPoolId :: Lens' AdminLinkProviderForUser Text-alpfuUserPoolId = lens _alpfuUserPoolId (\ s a -> s{_alpfuUserPoolId = a});+alpfuUserPoolId = lens _alpfuUserPoolId (\ s a -> s{_alpfuUserPoolId = a}) --- | 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. The @ProviderAttributeValue@ for the @DestinationUser@ must match the username for the user in the user pool. The @ProviderAttributeName@ will always be ignored.+-- | 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. alpfuDestinationUser :: Lens' AdminLinkProviderForUser ProviderUserIdentifierType-alpfuDestinationUser = lens _alpfuDestinationUser (\ s a -> s{_alpfuDestinationUser = a});+alpfuDestinationUser = lens _alpfuDestinationUser (\ s a -> s{_alpfuDestinationUser = a})  -- | 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. alpfuSourceUser :: Lens' AdminLinkProviderForUser ProviderUserIdentifierType-alpfuSourceUser = lens _alpfuSourceUser (\ s a -> s{_alpfuSourceUser = a});+alpfuSourceUser = lens _alpfuSourceUser (\ s a -> s{_alpfuSourceUser = a})  instance AWSRequest AdminLinkProviderForUser where         type Rs AdminLinkProviderForUser =@@ -153,7 +153,7 @@  -- | -- | The response status code. alpfursResponseStatus :: Lens' AdminLinkProviderForUserResponse Int-alpfursResponseStatus = lens _alpfursResponseStatus (\ s a -> s{_alpfursResponseStatus = a});+alpfursResponseStatus = lens _alpfursResponseStatus (\ s a -> s{_alpfursResponseStatus = a})  instance NFData AdminLinkProviderForUserResponse          where
gen/Network/AWS/CognitoIdentityProvider/AdminListDevices.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminListDevices--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -80,28 +80,28 @@     -> AdminListDevices adminListDevices pUserPoolId_ pUsername_ =   AdminListDevices'-  { _aldPaginationToken = Nothing-  , _aldLimit = Nothing-  , _aldUserPoolId = pUserPoolId_-  , _aldUsername = _Sensitive # pUsername_-  }+    { _aldPaginationToken = Nothing+    , _aldLimit = Nothing+    , _aldUserPoolId = pUserPoolId_+    , _aldUsername = _Sensitive # pUsername_+    }   -- | The pagination token. aldPaginationToken :: Lens' AdminListDevices (Maybe Text)-aldPaginationToken = lens _aldPaginationToken (\ s a -> s{_aldPaginationToken = a});+aldPaginationToken = lens _aldPaginationToken (\ s a -> s{_aldPaginationToken = a})  -- | The limit of the devices request. aldLimit :: Lens' AdminListDevices (Maybe Natural)-aldLimit = lens _aldLimit (\ s a -> s{_aldLimit = a}) . mapping _Nat;+aldLimit = lens _aldLimit (\ s a -> s{_aldLimit = a}) . mapping _Nat  -- | The user pool ID. aldUserPoolId :: Lens' AdminListDevices Text-aldUserPoolId = lens _aldUserPoolId (\ s a -> s{_aldUserPoolId = a});+aldUserPoolId = lens _aldUserPoolId (\ s a -> s{_aldUserPoolId = a})  -- | The user name. aldUsername :: Lens' AdminListDevices Text-aldUsername = lens _aldUsername (\ s a -> s{_aldUsername = a}) . _Sensitive;+aldUsername = lens _aldUsername (\ s a -> s{_aldUsername = a}) . _Sensitive  instance AWSRequest AdminListDevices where         type Rs AdminListDevices = AdminListDevicesResponse@@ -169,22 +169,22 @@     -> AdminListDevicesResponse adminListDevicesResponse pResponseStatus_ =   AdminListDevicesResponse'-  { _aldrsPaginationToken = Nothing-  , _aldrsDevices = Nothing-  , _aldrsResponseStatus = pResponseStatus_-  }+    { _aldrsPaginationToken = Nothing+    , _aldrsDevices = Nothing+    , _aldrsResponseStatus = pResponseStatus_+    }   -- | The pagination token. aldrsPaginationToken :: Lens' AdminListDevicesResponse (Maybe Text)-aldrsPaginationToken = lens _aldrsPaginationToken (\ s a -> s{_aldrsPaginationToken = a});+aldrsPaginationToken = lens _aldrsPaginationToken (\ s a -> s{_aldrsPaginationToken = a})  -- | The devices in the list of devices response. aldrsDevices :: Lens' AdminListDevicesResponse [DeviceType]-aldrsDevices = lens _aldrsDevices (\ s a -> s{_aldrsDevices = a}) . _Default . _Coerce;+aldrsDevices = lens _aldrsDevices (\ s a -> s{_aldrsDevices = a}) . _Default . _Coerce  -- | -- | The response status code. aldrsResponseStatus :: Lens' AdminListDevicesResponse Int-aldrsResponseStatus = lens _aldrsResponseStatus (\ s a -> s{_aldrsResponseStatus = a});+aldrsResponseStatus = lens _aldrsResponseStatus (\ s a -> s{_aldrsResponseStatus = a})  instance NFData AdminListDevicesResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminListGroupsForUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminListGroupsForUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -76,28 +76,28 @@     -> AdminListGroupsForUser adminListGroupsForUser pUsername_ pUserPoolId_ =   AdminListGroupsForUser'-  { _algfuNextToken = Nothing-  , _algfuLimit = Nothing-  , _algfuUsername = _Sensitive # pUsername_-  , _algfuUserPoolId = pUserPoolId_-  }+    { _algfuNextToken = Nothing+    , _algfuLimit = Nothing+    , _algfuUsername = _Sensitive # pUsername_+    , _algfuUserPoolId = pUserPoolId_+    }   -- | 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. algfuNextToken :: Lens' AdminListGroupsForUser (Maybe Text)-algfuNextToken = lens _algfuNextToken (\ s a -> s{_algfuNextToken = a});+algfuNextToken = lens _algfuNextToken (\ s a -> s{_algfuNextToken = a})  -- | The limit of the request to list groups. algfuLimit :: Lens' AdminListGroupsForUser (Maybe Natural)-algfuLimit = lens _algfuLimit (\ s a -> s{_algfuLimit = a}) . mapping _Nat;+algfuLimit = lens _algfuLimit (\ s a -> s{_algfuLimit = a}) . mapping _Nat  -- | The username for the user. algfuUsername :: Lens' AdminListGroupsForUser Text-algfuUsername = lens _algfuUsername (\ s a -> s{_algfuUsername = a}) . _Sensitive;+algfuUsername = lens _algfuUsername (\ s a -> s{_algfuUsername = a}) . _Sensitive  -- | The user pool ID for the user pool. algfuUserPoolId :: Lens' AdminListGroupsForUser Text-algfuUserPoolId = lens _algfuUserPoolId (\ s a -> s{_algfuUserPoolId = a});+algfuUserPoolId = lens _algfuUserPoolId (\ s a -> s{_algfuUserPoolId = a})  instance AWSRequest AdminListGroupsForUser where         type Rs AdminListGroupsForUser =@@ -161,22 +161,22 @@     -> AdminListGroupsForUserResponse adminListGroupsForUserResponse pResponseStatus_ =   AdminListGroupsForUserResponse'-  { _algfursGroups = Nothing-  , _algfursNextToken = Nothing-  , _algfursResponseStatus = pResponseStatus_-  }+    { _algfursGroups = Nothing+    , _algfursNextToken = Nothing+    , _algfursResponseStatus = pResponseStatus_+    }   -- | The groups that the user belongs to. algfursGroups :: Lens' AdminListGroupsForUserResponse [GroupType]-algfursGroups = lens _algfursGroups (\ s a -> s{_algfursGroups = a}) . _Default . _Coerce;+algfursGroups = lens _algfursGroups (\ s a -> s{_algfursGroups = a}) . _Default . _Coerce  -- | 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. algfursNextToken :: Lens' AdminListGroupsForUserResponse (Maybe Text)-algfursNextToken = lens _algfursNextToken (\ s a -> s{_algfursNextToken = a});+algfursNextToken = lens _algfursNextToken (\ s a -> s{_algfursNextToken = a})  -- | -- | The response status code. algfursResponseStatus :: Lens' AdminListGroupsForUserResponse Int-algfursResponseStatus = lens _algfursResponseStatus (\ s a -> s{_algfursResponseStatus = a});+algfursResponseStatus = lens _algfursResponseStatus (\ s a -> s{_algfursResponseStatus = a})  instance NFData AdminListGroupsForUserResponse where
+ gen/Network/AWS/CognitoIdentityProvider/AdminListUserAuthEvents.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents+-- Copyright   : (c) 2013-2018 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)+--+-- Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security.+--+--+module Network.AWS.CognitoIdentityProvider.AdminListUserAuthEvents+    (+    -- * Creating a Request+      adminListUserAuthEvents+    , AdminListUserAuthEvents+    -- * Request Lenses+    , aluaeNextToken+    , aluaeMaxResults+    , aluaeUserPoolId+    , aluaeUsername++    -- * Destructuring the Response+    , adminListUserAuthEventsResponse+    , AdminListUserAuthEventsResponse+    -- * Response Lenses+    , aluaersNextToken+    , aluaersAuthEvents+    , aluaersResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'adminListUserAuthEvents' smart constructor.+data AdminListUserAuthEvents = AdminListUserAuthEvents'+  { _aluaeNextToken  :: !(Maybe Text)+  , _aluaeMaxResults :: !(Maybe Nat)+  , _aluaeUserPoolId :: !Text+  , _aluaeUsername   :: !(Sensitive Text)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminListUserAuthEvents' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'aluaeNextToken' - A pagination token.+--+-- * 'aluaeMaxResults' - The maximum number of authentication events to return.+--+-- * 'aluaeUserPoolId' - The user pool ID.+--+-- * 'aluaeUsername' - The user pool username or an alias.+adminListUserAuthEvents+    :: Text -- ^ 'aluaeUserPoolId'+    -> Text -- ^ 'aluaeUsername'+    -> AdminListUserAuthEvents+adminListUserAuthEvents pUserPoolId_ pUsername_ =+  AdminListUserAuthEvents'+    { _aluaeNextToken = Nothing+    , _aluaeMaxResults = Nothing+    , _aluaeUserPoolId = pUserPoolId_+    , _aluaeUsername = _Sensitive # pUsername_+    }+++-- | A pagination token.+aluaeNextToken :: Lens' AdminListUserAuthEvents (Maybe Text)+aluaeNextToken = lens _aluaeNextToken (\ s a -> s{_aluaeNextToken = a})++-- | The maximum number of authentication events to return.+aluaeMaxResults :: Lens' AdminListUserAuthEvents (Maybe Natural)+aluaeMaxResults = lens _aluaeMaxResults (\ s a -> s{_aluaeMaxResults = a}) . mapping _Nat++-- | The user pool ID.+aluaeUserPoolId :: Lens' AdminListUserAuthEvents Text+aluaeUserPoolId = lens _aluaeUserPoolId (\ s a -> s{_aluaeUserPoolId = a})++-- | The user pool username or an alias.+aluaeUsername :: Lens' AdminListUserAuthEvents Text+aluaeUsername = lens _aluaeUsername (\ s a -> s{_aluaeUsername = a}) . _Sensitive++instance AWSRequest AdminListUserAuthEvents where+        type Rs AdminListUserAuthEvents =+             AdminListUserAuthEventsResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 AdminListUserAuthEventsResponse' <$>+                   (x .?> "NextToken") <*>+                     (x .?> "AuthEvents" .!@ mempty)+                     <*> (pure (fromEnum s)))++instance Hashable AdminListUserAuthEvents where++instance NFData AdminListUserAuthEvents where++instance ToHeaders AdminListUserAuthEvents where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.AdminListUserAuthEvents"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON AdminListUserAuthEvents where+        toJSON AdminListUserAuthEvents'{..}+          = object+              (catMaybes+                 [("NextToken" .=) <$> _aluaeNextToken,+                  ("MaxResults" .=) <$> _aluaeMaxResults,+                  Just ("UserPoolId" .= _aluaeUserPoolId),+                  Just ("Username" .= _aluaeUsername)])++instance ToPath AdminListUserAuthEvents where+        toPath = const "/"++instance ToQuery AdminListUserAuthEvents where+        toQuery = const mempty++-- | /See:/ 'adminListUserAuthEventsResponse' smart constructor.+data AdminListUserAuthEventsResponse = AdminListUserAuthEventsResponse'+  { _aluaersNextToken      :: !(Maybe Text)+  , _aluaersAuthEvents     :: !(Maybe [AuthEventType])+  , _aluaersResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminListUserAuthEventsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'aluaersNextToken' - A pagination token.+--+-- * 'aluaersAuthEvents' - The response object. It includes the @EventID@ , @EventType@ , @CreationDate@ , @EventRisk@ , and @EventResponse@ .+--+-- * 'aluaersResponseStatus' - -- | The response status code.+adminListUserAuthEventsResponse+    :: Int -- ^ 'aluaersResponseStatus'+    -> AdminListUserAuthEventsResponse+adminListUserAuthEventsResponse pResponseStatus_ =+  AdminListUserAuthEventsResponse'+    { _aluaersNextToken = Nothing+    , _aluaersAuthEvents = Nothing+    , _aluaersResponseStatus = pResponseStatus_+    }+++-- | A pagination token.+aluaersNextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text)+aluaersNextToken = lens _aluaersNextToken (\ s a -> s{_aluaersNextToken = a})++-- | The response object. It includes the @EventID@ , @EventType@ , @CreationDate@ , @EventRisk@ , and @EventResponse@ .+aluaersAuthEvents :: Lens' AdminListUserAuthEventsResponse [AuthEventType]+aluaersAuthEvents = lens _aluaersAuthEvents (\ s a -> s{_aluaersAuthEvents = a}) . _Default . _Coerce++-- | -- | The response status code.+aluaersResponseStatus :: Lens' AdminListUserAuthEventsResponse Int+aluaersResponseStatus = lens _aluaersResponseStatus (\ s a -> s{_aluaersResponseStatus = a})++instance NFData AdminListUserAuthEventsResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminRemoveUserFromGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminRemoveUserFromGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,23 +69,23 @@     -> AdminRemoveUserFromGroup adminRemoveUserFromGroup pUserPoolId_ pUsername_ pGroupName_ =   AdminRemoveUserFromGroup'-  { _arufgUserPoolId = pUserPoolId_-  , _arufgUsername = _Sensitive # pUsername_-  , _arufgGroupName = pGroupName_-  }+    { _arufgUserPoolId = pUserPoolId_+    , _arufgUsername = _Sensitive # pUsername_+    , _arufgGroupName = pGroupName_+    }   -- | The user pool ID for the user pool. arufgUserPoolId :: Lens' AdminRemoveUserFromGroup Text-arufgUserPoolId = lens _arufgUserPoolId (\ s a -> s{_arufgUserPoolId = a});+arufgUserPoolId = lens _arufgUserPoolId (\ s a -> s{_arufgUserPoolId = a})  -- | The username for the user. arufgUsername :: Lens' AdminRemoveUserFromGroup Text-arufgUsername = lens _arufgUsername (\ s a -> s{_arufgUsername = a}) . _Sensitive;+arufgUsername = lens _arufgUsername (\ s a -> s{_arufgUsername = a}) . _Sensitive  -- | The group name. arufgGroupName :: Lens' AdminRemoveUserFromGroup Text-arufgGroupName = lens _arufgGroupName (\ s a -> s{_arufgGroupName = a});+arufgGroupName = lens _arufgGroupName (\ s a -> s{_arufgGroupName = a})  instance AWSRequest AdminRemoveUserFromGroup where         type Rs AdminRemoveUserFromGroup =
gen/Network/AWS/CognitoIdentityProvider/AdminResetUserPassword.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminResetUserPassword--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -72,16 +72,16 @@     -> AdminResetUserPassword adminResetUserPassword pUserPoolId_ pUsername_ =   AdminResetUserPassword'-  {_arupUserPoolId = pUserPoolId_, _arupUsername = _Sensitive # pUsername_}+    {_arupUserPoolId = pUserPoolId_, _arupUsername = _Sensitive # pUsername_}   -- | The user pool ID for the user pool where you want to reset the user's password. arupUserPoolId :: Lens' AdminResetUserPassword Text-arupUserPoolId = lens _arupUserPoolId (\ s a -> s{_arupUserPoolId = a});+arupUserPoolId = lens _arupUserPoolId (\ s a -> s{_arupUserPoolId = a})  -- | The user name of the user whose password you wish to reset. arupUsername :: Lens' AdminResetUserPassword Text-arupUsername = lens _arupUsername (\ s a -> s{_arupUsername = a}) . _Sensitive;+arupUsername = lens _arupUsername (\ s a -> s{_arupUsername = a}) . _Sensitive  instance AWSRequest AdminResetUserPassword where         type Rs AdminResetUserPassword =@@ -144,6 +144,6 @@  -- | -- | The response status code. aruprsResponseStatus :: Lens' AdminResetUserPasswordResponse Int-aruprsResponseStatus = lens _aruprsResponseStatus (\ s a -> s{_aruprsResponseStatus = a});+aruprsResponseStatus = lens _aruprsResponseStatus (\ s a -> s{_aruprsResponseStatus = a})  instance NFData AdminResetUserPasswordResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminRespondToAuthChallenge.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminRespondToAuthChallenge--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -29,6 +29,8 @@       adminRespondToAuthChallenge     , AdminRespondToAuthChallenge     -- * Request Lenses+    , artacContextData+    , artacAnalyticsMetadata     , artacChallengeResponses     , artacSession     , artacUserPoolId@@ -59,7 +61,9 @@ -- -- /See:/ 'adminRespondToAuthChallenge' smart constructor. data AdminRespondToAuthChallenge = AdminRespondToAuthChallenge'-  { _artacChallengeResponses :: !(Maybe (Map Text Text))+  { _artacContextData        :: !(Maybe ContextDataType)+  , _artacAnalyticsMetadata  :: !(Maybe AnalyticsMetadataType)+  , _artacChallengeResponses :: !(Maybe (Map Text Text))   , _artacSession            :: !(Maybe Text)   , _artacUserPoolId         :: !Text   , _artacClientId           :: !(Sensitive Text)@@ -71,6 +75,10 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'artacContextData' - 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.+--+-- * 'artacAnalyticsMetadata' - The analytics metadata for collecting Amazon Pinpoint metrics for @AdminRespondToAuthChallenge@ calls.+-- -- * 'artacChallengeResponses' - 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).  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@ . -- -- * 'artacSession' - 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.@@ -79,7 +87,7 @@ -- -- * 'artacClientId' - The app client ID. ----- * 'artacChallengeName' - The challenge name. For more information, see <API_AdminInitiateAuth.html AdminInitiateAuth> .+-- * 'artacChallengeName' - The challenge name. For more information, see . adminRespondToAuthChallenge     :: Text -- ^ 'artacUserPoolId'     -> Text -- ^ 'artacClientId'@@ -87,33 +95,43 @@     -> AdminRespondToAuthChallenge adminRespondToAuthChallenge pUserPoolId_ pClientId_ pChallengeName_ =   AdminRespondToAuthChallenge'-  { _artacChallengeResponses = Nothing-  , _artacSession = Nothing-  , _artacUserPoolId = pUserPoolId_-  , _artacClientId = _Sensitive # pClientId_-  , _artacChallengeName = pChallengeName_-  }+    { _artacContextData = Nothing+    , _artacAnalyticsMetadata = Nothing+    , _artacChallengeResponses = Nothing+    , _artacSession = Nothing+    , _artacUserPoolId = pUserPoolId_+    , _artacClientId = _Sensitive # pClientId_+    , _artacChallengeName = pChallengeName_+    }  +-- | 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.+artacContextData :: Lens' AdminRespondToAuthChallenge (Maybe ContextDataType)+artacContextData = lens _artacContextData (\ s a -> s{_artacContextData = a})++-- | The analytics metadata for collecting Amazon Pinpoint metrics for @AdminRespondToAuthChallenge@ calls.+artacAnalyticsMetadata :: Lens' AdminRespondToAuthChallenge (Maybe AnalyticsMetadataType)+artacAnalyticsMetadata = lens _artacAnalyticsMetadata (\ s a -> s{_artacAnalyticsMetadata = a})+ -- | 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).  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@ . artacChallengeResponses :: Lens' AdminRespondToAuthChallenge (HashMap Text Text)-artacChallengeResponses = lens _artacChallengeResponses (\ s a -> s{_artacChallengeResponses = a}) . _Default . _Map;+artacChallengeResponses = lens _artacChallengeResponses (\ s a -> s{_artacChallengeResponses = a}) . _Default . _Map  -- | 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. artacSession :: Lens' AdminRespondToAuthChallenge (Maybe Text)-artacSession = lens _artacSession (\ s a -> s{_artacSession = a});+artacSession = lens _artacSession (\ s a -> s{_artacSession = a})  -- | The ID of the Amazon Cognito user pool. artacUserPoolId :: Lens' AdminRespondToAuthChallenge Text-artacUserPoolId = lens _artacUserPoolId (\ s a -> s{_artacUserPoolId = a});+artacUserPoolId = lens _artacUserPoolId (\ s a -> s{_artacUserPoolId = a})  -- | The app client ID. artacClientId :: Lens' AdminRespondToAuthChallenge Text-artacClientId = lens _artacClientId (\ s a -> s{_artacClientId = a}) . _Sensitive;+artacClientId = lens _artacClientId (\ s a -> s{_artacClientId = a}) . _Sensitive --- | The challenge name. For more information, see <API_AdminInitiateAuth.html AdminInitiateAuth> .+-- | The challenge name. For more information, see . artacChallengeName :: Lens' AdminRespondToAuthChallenge ChallengeNameType-artacChallengeName = lens _artacChallengeName (\ s a -> s{_artacChallengeName = a});+artacChallengeName = lens _artacChallengeName (\ s a -> s{_artacChallengeName = a})  instance AWSRequest AdminRespondToAuthChallenge where         type Rs AdminRespondToAuthChallenge =@@ -147,7 +165,9 @@         toJSON AdminRespondToAuthChallenge'{..}           = object               (catMaybes-                 [("ChallengeResponses" .=) <$>+                 [("ContextData" .=) <$> _artacContextData,+                  ("AnalyticsMetadata" .=) <$> _artacAnalyticsMetadata,+                  ("ChallengeResponses" .=) <$>                     _artacChallengeResponses,                   ("Session" .=) <$> _artacSession,                   Just ("UserPoolId" .= _artacUserPoolId),@@ -178,13 +198,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'artacrsChallengeName' - The name of the challenge. For more information, see <API_AdminInitiateAuth.html AdminInitiateAuth> .+-- * 'artacrsChallengeName' - The name of the challenge. For more information, see . ----- * 'artacrsChallengeParameters' - The challenge parameters. For more information, see <API_AdminInitiateAuth.html AdminInitiateAuth> .+-- * 'artacrsChallengeParameters' - The challenge parameters. For more information, see . -- -- * 'artacrsAuthenticationResult' - The result returned by the server in response to the authentication request. ----- * 'artacrsSession' - The session which should be passed both ways in challenge-response calls to the service. If the <API_InitiateAuth.html InitiateAuth> or <API_RespondToAuthChallenge.html 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.+-- * 'artacrsSession' - The session which should be passed both ways in challenge-response calls to the service. If the or 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. -- -- * 'artacrsResponseStatus' - -- | The response status code. adminRespondToAuthChallengeResponse@@ -192,33 +212,33 @@     -> AdminRespondToAuthChallengeResponse adminRespondToAuthChallengeResponse pResponseStatus_ =   AdminRespondToAuthChallengeResponse'-  { _artacrsChallengeName = Nothing-  , _artacrsChallengeParameters = Nothing-  , _artacrsAuthenticationResult = Nothing-  , _artacrsSession = Nothing-  , _artacrsResponseStatus = pResponseStatus_-  }+    { _artacrsChallengeName = Nothing+    , _artacrsChallengeParameters = Nothing+    , _artacrsAuthenticationResult = Nothing+    , _artacrsSession = Nothing+    , _artacrsResponseStatus = pResponseStatus_+    }  --- | The name of the challenge. For more information, see <API_AdminInitiateAuth.html AdminInitiateAuth> .+-- | The name of the challenge. For more information, see . artacrsChallengeName :: Lens' AdminRespondToAuthChallengeResponse (Maybe ChallengeNameType)-artacrsChallengeName = lens _artacrsChallengeName (\ s a -> s{_artacrsChallengeName = a});+artacrsChallengeName = lens _artacrsChallengeName (\ s a -> s{_artacrsChallengeName = a}) --- | The challenge parameters. For more information, see <API_AdminInitiateAuth.html AdminInitiateAuth> .+-- | The challenge parameters. For more information, see . artacrsChallengeParameters :: Lens' AdminRespondToAuthChallengeResponse (HashMap Text Text)-artacrsChallengeParameters = lens _artacrsChallengeParameters (\ s a -> s{_artacrsChallengeParameters = a}) . _Default . _Map;+artacrsChallengeParameters = lens _artacrsChallengeParameters (\ s a -> s{_artacrsChallengeParameters = a}) . _Default . _Map  -- | The result returned by the server in response to the authentication request. artacrsAuthenticationResult :: Lens' AdminRespondToAuthChallengeResponse (Maybe AuthenticationResultType)-artacrsAuthenticationResult = lens _artacrsAuthenticationResult (\ s a -> s{_artacrsAuthenticationResult = a});+artacrsAuthenticationResult = lens _artacrsAuthenticationResult (\ s a -> s{_artacrsAuthenticationResult = a}) --- | The session which should be passed both ways in challenge-response calls to the service. If the <API_InitiateAuth.html InitiateAuth> or <API_RespondToAuthChallenge.html 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.+-- | The session which should be passed both ways in challenge-response calls to the service. If the or 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. artacrsSession :: Lens' AdminRespondToAuthChallengeResponse (Maybe Text)-artacrsSession = lens _artacrsSession (\ s a -> s{_artacrsSession = a});+artacrsSession = lens _artacrsSession (\ s a -> s{_artacrsSession = a})  -- | -- | The response status code. artacrsResponseStatus :: Lens' AdminRespondToAuthChallengeResponse Int-artacrsResponseStatus = lens _artacrsResponseStatus (\ s a -> s{_artacrsResponseStatus = a});+artacrsResponseStatus = lens _artacrsResponseStatus (\ s a -> s{_artacrsResponseStatus = a})  instance NFData AdminRespondToAuthChallengeResponse          where
+ gen/Network/AWS/CognitoIdentityProvider/AdminSetUserMFAPreference.hs view
@@ -0,0 +1,161 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference+-- Copyright   : (c) 2013-2018 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)+--+-- Sets the user's multi-factor authentication (MFA) preference.+--+--+module Network.AWS.CognitoIdentityProvider.AdminSetUserMFAPreference+    (+    -- * Creating a Request+      adminSetUserMFAPreference+    , AdminSetUserMFAPreference+    -- * Request Lenses+    , asumpSMSMFASettings+    , asumpSoftwareTokenMFASettings+    , asumpUsername+    , asumpUserPoolId++    -- * Destructuring the Response+    , adminSetUserMFAPreferenceResponse+    , AdminSetUserMFAPreferenceResponse+    -- * Response Lenses+    , asumprsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'adminSetUserMFAPreference' smart constructor.+data AdminSetUserMFAPreference = AdminSetUserMFAPreference'+  { _asumpSMSMFASettings           :: !(Maybe SMSMFASettingsType)+  , _asumpSoftwareTokenMFASettings :: !(Maybe SoftwareTokenMFASettingsType)+  , _asumpUsername                 :: !(Sensitive Text)+  , _asumpUserPoolId               :: !Text+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminSetUserMFAPreference' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'asumpSMSMFASettings' - The SMS text message MFA settings.+--+-- * 'asumpSoftwareTokenMFASettings' - The time-based one-time password software token MFA settings.+--+-- * 'asumpUsername' - The user pool username or alias.+--+-- * 'asumpUserPoolId' - The user pool ID.+adminSetUserMFAPreference+    :: Text -- ^ 'asumpUsername'+    -> Text -- ^ 'asumpUserPoolId'+    -> AdminSetUserMFAPreference+adminSetUserMFAPreference pUsername_ pUserPoolId_ =+  AdminSetUserMFAPreference'+    { _asumpSMSMFASettings = Nothing+    , _asumpSoftwareTokenMFASettings = Nothing+    , _asumpUsername = _Sensitive # pUsername_+    , _asumpUserPoolId = pUserPoolId_+    }+++-- | The SMS text message MFA settings.+asumpSMSMFASettings :: Lens' AdminSetUserMFAPreference (Maybe SMSMFASettingsType)+asumpSMSMFASettings = lens _asumpSMSMFASettings (\ s a -> s{_asumpSMSMFASettings = a})++-- | The time-based one-time password software token MFA settings.+asumpSoftwareTokenMFASettings :: Lens' AdminSetUserMFAPreference (Maybe SoftwareTokenMFASettingsType)+asumpSoftwareTokenMFASettings = lens _asumpSoftwareTokenMFASettings (\ s a -> s{_asumpSoftwareTokenMFASettings = a})++-- | The user pool username or alias.+asumpUsername :: Lens' AdminSetUserMFAPreference Text+asumpUsername = lens _asumpUsername (\ s a -> s{_asumpUsername = a}) . _Sensitive++-- | The user pool ID.+asumpUserPoolId :: Lens' AdminSetUserMFAPreference Text+asumpUserPoolId = lens _asumpUserPoolId (\ s a -> s{_asumpUserPoolId = a})++instance AWSRequest AdminSetUserMFAPreference where+        type Rs AdminSetUserMFAPreference =+             AdminSetUserMFAPreferenceResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveEmpty+              (\ s h x ->+                 AdminSetUserMFAPreferenceResponse' <$>+                   (pure (fromEnum s)))++instance Hashable AdminSetUserMFAPreference where++instance NFData AdminSetUserMFAPreference where++instance ToHeaders AdminSetUserMFAPreference where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.AdminSetUserMFAPreference"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON AdminSetUserMFAPreference where+        toJSON AdminSetUserMFAPreference'{..}+          = object+              (catMaybes+                 [("SMSMfaSettings" .=) <$> _asumpSMSMFASettings,+                  ("SoftwareTokenMfaSettings" .=) <$>+                    _asumpSoftwareTokenMFASettings,+                  Just ("Username" .= _asumpUsername),+                  Just ("UserPoolId" .= _asumpUserPoolId)])++instance ToPath AdminSetUserMFAPreference where+        toPath = const "/"++instance ToQuery AdminSetUserMFAPreference where+        toQuery = const mempty++-- | /See:/ 'adminSetUserMFAPreferenceResponse' smart constructor.+newtype AdminSetUserMFAPreferenceResponse = AdminSetUserMFAPreferenceResponse'+  { _asumprsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminSetUserMFAPreferenceResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'asumprsResponseStatus' - -- | The response status code.+adminSetUserMFAPreferenceResponse+    :: Int -- ^ 'asumprsResponseStatus'+    -> AdminSetUserMFAPreferenceResponse+adminSetUserMFAPreferenceResponse pResponseStatus_ =+  AdminSetUserMFAPreferenceResponse' {_asumprsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+asumprsResponseStatus :: Lens' AdminSetUserMFAPreferenceResponse Int+asumprsResponseStatus = lens _asumprsResponseStatus (\ s a -> s{_asumprsResponseStatus = a})++instance NFData AdminSetUserMFAPreferenceResponse+         where
gen/Network/AWS/CognitoIdentityProvider/AdminSetUserSettings.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminSetUserSettings--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,23 +74,23 @@     -> AdminSetUserSettings adminSetUserSettings pUserPoolId_ pUsername_ =   AdminSetUserSettings'-  { _asusUserPoolId = pUserPoolId_-  , _asusUsername = _Sensitive # pUsername_-  , _asusMFAOptions = mempty-  }+    { _asusUserPoolId = pUserPoolId_+    , _asusUsername = _Sensitive # pUsername_+    , _asusMFAOptions = mempty+    }   -- | The user pool ID for the user pool where you want to set the user's settings, such as MFA options. asusUserPoolId :: Lens' AdminSetUserSettings Text-asusUserPoolId = lens _asusUserPoolId (\ s a -> s{_asusUserPoolId = a});+asusUserPoolId = lens _asusUserPoolId (\ s a -> s{_asusUserPoolId = a})  -- | The user name of the user for whom you wish to set user settings. asusUsername :: Lens' AdminSetUserSettings Text-asusUsername = lens _asusUsername (\ s a -> s{_asusUsername = a}) . _Sensitive;+asusUsername = lens _asusUsername (\ s a -> s{_asusUsername = a}) . _Sensitive  -- | Specifies the options for MFA (e.g., email or phone number). asusMFAOptions :: Lens' AdminSetUserSettings [MFAOptionType]-asusMFAOptions = lens _asusMFAOptions (\ s a -> s{_asusMFAOptions = a}) . _Coerce;+asusMFAOptions = lens _asusMFAOptions (\ s a -> s{_asusMFAOptions = a}) . _Coerce  instance AWSRequest AdminSetUserSettings where         type Rs AdminSetUserSettings =@@ -154,6 +154,6 @@  -- | -- | The response status code. asusrsResponseStatus :: Lens' AdminSetUserSettingsResponse Int-asusrsResponseStatus = lens _asusrsResponseStatus (\ s a -> s{_asusrsResponseStatus = a});+asusrsResponseStatus = lens _asusrsResponseStatus (\ s a -> s{_asusrsResponseStatus = a})  instance NFData AdminSetUserSettingsResponse where
+ gen/Network/AWS/CognitoIdentityProvider/AdminUpdateAuthEventFeedback.hs view
@@ -0,0 +1,164 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback+-- Copyright   : (c) 2013-2018 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)+--+-- Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.+--+--+module Network.AWS.CognitoIdentityProvider.AdminUpdateAuthEventFeedback+    (+    -- * Creating a Request+      adminUpdateAuthEventFeedback+    , AdminUpdateAuthEventFeedback+    -- * Request Lenses+    , auaefUserPoolId+    , auaefUsername+    , auaefEventId+    , auaefFeedbackValue++    -- * Destructuring the Response+    , adminUpdateAuthEventFeedbackResponse+    , AdminUpdateAuthEventFeedbackResponse+    -- * Response Lenses+    , auaefrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'adminUpdateAuthEventFeedback' smart constructor.+data AdminUpdateAuthEventFeedback = AdminUpdateAuthEventFeedback'+  { _auaefUserPoolId    :: !Text+  , _auaefUsername      :: !(Sensitive Text)+  , _auaefEventId       :: !Text+  , _auaefFeedbackValue :: !FeedbackValueType+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminUpdateAuthEventFeedback' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'auaefUserPoolId' - The user pool ID.+--+-- * 'auaefUsername' - The user pool username.+--+-- * 'auaefEventId' - The authentication event ID.+--+-- * 'auaefFeedbackValue' - The authentication event feedback value.+adminUpdateAuthEventFeedback+    :: Text -- ^ 'auaefUserPoolId'+    -> Text -- ^ 'auaefUsername'+    -> Text -- ^ 'auaefEventId'+    -> FeedbackValueType -- ^ 'auaefFeedbackValue'+    -> AdminUpdateAuthEventFeedback+adminUpdateAuthEventFeedback pUserPoolId_ pUsername_ pEventId_ pFeedbackValue_ =+  AdminUpdateAuthEventFeedback'+    { _auaefUserPoolId = pUserPoolId_+    , _auaefUsername = _Sensitive # pUsername_+    , _auaefEventId = pEventId_+    , _auaefFeedbackValue = pFeedbackValue_+    }+++-- | The user pool ID.+auaefUserPoolId :: Lens' AdminUpdateAuthEventFeedback Text+auaefUserPoolId = lens _auaefUserPoolId (\ s a -> s{_auaefUserPoolId = a})++-- | The user pool username.+auaefUsername :: Lens' AdminUpdateAuthEventFeedback Text+auaefUsername = lens _auaefUsername (\ s a -> s{_auaefUsername = a}) . _Sensitive++-- | The authentication event ID.+auaefEventId :: Lens' AdminUpdateAuthEventFeedback Text+auaefEventId = lens _auaefEventId (\ s a -> s{_auaefEventId = a})++-- | The authentication event feedback value.+auaefFeedbackValue :: Lens' AdminUpdateAuthEventFeedback FeedbackValueType+auaefFeedbackValue = lens _auaefFeedbackValue (\ s a -> s{_auaefFeedbackValue = a})++instance AWSRequest AdminUpdateAuthEventFeedback+         where+        type Rs AdminUpdateAuthEventFeedback =+             AdminUpdateAuthEventFeedbackResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveEmpty+              (\ s h x ->+                 AdminUpdateAuthEventFeedbackResponse' <$>+                   (pure (fromEnum s)))++instance Hashable AdminUpdateAuthEventFeedback where++instance NFData AdminUpdateAuthEventFeedback where++instance ToHeaders AdminUpdateAuthEventFeedback where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.AdminUpdateAuthEventFeedback"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON AdminUpdateAuthEventFeedback where+        toJSON AdminUpdateAuthEventFeedback'{..}+          = object+              (catMaybes+                 [Just ("UserPoolId" .= _auaefUserPoolId),+                  Just ("Username" .= _auaefUsername),+                  Just ("EventId" .= _auaefEventId),+                  Just ("FeedbackValue" .= _auaefFeedbackValue)])++instance ToPath AdminUpdateAuthEventFeedback where+        toPath = const "/"++instance ToQuery AdminUpdateAuthEventFeedback where+        toQuery = const mempty++-- | /See:/ 'adminUpdateAuthEventFeedbackResponse' smart constructor.+newtype AdminUpdateAuthEventFeedbackResponse = AdminUpdateAuthEventFeedbackResponse'+  { _auaefrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminUpdateAuthEventFeedbackResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'auaefrsResponseStatus' - -- | The response status code.+adminUpdateAuthEventFeedbackResponse+    :: Int -- ^ 'auaefrsResponseStatus'+    -> AdminUpdateAuthEventFeedbackResponse+adminUpdateAuthEventFeedbackResponse pResponseStatus_ =+  AdminUpdateAuthEventFeedbackResponse'+    {_auaefrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+auaefrsResponseStatus :: Lens' AdminUpdateAuthEventFeedbackResponse Int+auaefrsResponseStatus = lens _auaefrsResponseStatus (\ s a -> s{_auaefrsResponseStatus = a})++instance NFData AdminUpdateAuthEventFeedbackResponse+         where
gen/Network/AWS/CognitoIdentityProvider/AdminUpdateDeviceStatus.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminUpdateDeviceStatus--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -79,28 +79,28 @@     -> AdminUpdateDeviceStatus adminUpdateDeviceStatus pUserPoolId_ pUsername_ pDeviceKey_ =   AdminUpdateDeviceStatus'-  { _audsDeviceRememberedStatus = Nothing-  , _audsUserPoolId = pUserPoolId_-  , _audsUsername = _Sensitive # pUsername_-  , _audsDeviceKey = pDeviceKey_-  }+    { _audsDeviceRememberedStatus = Nothing+    , _audsUserPoolId = pUserPoolId_+    , _audsUsername = _Sensitive # pUsername_+    , _audsDeviceKey = pDeviceKey_+    }   -- | The status indicating whether a device has been remembered or not. audsDeviceRememberedStatus :: Lens' AdminUpdateDeviceStatus (Maybe DeviceRememberedStatusType)-audsDeviceRememberedStatus = lens _audsDeviceRememberedStatus (\ s a -> s{_audsDeviceRememberedStatus = a});+audsDeviceRememberedStatus = lens _audsDeviceRememberedStatus (\ s a -> s{_audsDeviceRememberedStatus = a})  -- | The user pool ID. audsUserPoolId :: Lens' AdminUpdateDeviceStatus Text-audsUserPoolId = lens _audsUserPoolId (\ s a -> s{_audsUserPoolId = a});+audsUserPoolId = lens _audsUserPoolId (\ s a -> s{_audsUserPoolId = a})  -- | The user name. audsUsername :: Lens' AdminUpdateDeviceStatus Text-audsUsername = lens _audsUsername (\ s a -> s{_audsUsername = a}) . _Sensitive;+audsUsername = lens _audsUsername (\ s a -> s{_audsUsername = a}) . _Sensitive  -- | The device key. audsDeviceKey :: Lens' AdminUpdateDeviceStatus Text-audsDeviceKey = lens _audsDeviceKey (\ s a -> s{_audsDeviceKey = a});+audsDeviceKey = lens _audsDeviceKey (\ s a -> s{_audsDeviceKey = a})  instance AWSRequest AdminUpdateDeviceStatus where         type Rs AdminUpdateDeviceStatus =@@ -166,6 +166,6 @@  -- | -- | The response status code. audsrsResponseStatus :: Lens' AdminUpdateDeviceStatusResponse Int-audsrsResponseStatus = lens _audsrsResponseStatus (\ s a -> s{_audsrsResponseStatus = a});+audsrsResponseStatus = lens _audsrsResponseStatus (\ s a -> s{_audsrsResponseStatus = a})  instance NFData AdminUpdateDeviceStatusResponse where
gen/Network/AWS/CognitoIdentityProvider/AdminUpdateUserAttributes.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminUpdateUserAttributes--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -78,23 +78,23 @@     -> AdminUpdateUserAttributes adminUpdateUserAttributes pUserPoolId_ pUsername_ =   AdminUpdateUserAttributes'-  { _auuaUserPoolId = pUserPoolId_-  , _auuaUsername = _Sensitive # pUsername_-  , _auuaUserAttributes = mempty-  }+    { _auuaUserPoolId = pUserPoolId_+    , _auuaUsername = _Sensitive # pUsername_+    , _auuaUserAttributes = mempty+    }   -- | The user pool ID for the user pool where you want to update user attributes. auuaUserPoolId :: Lens' AdminUpdateUserAttributes Text-auuaUserPoolId = lens _auuaUserPoolId (\ s a -> s{_auuaUserPoolId = a});+auuaUserPoolId = lens _auuaUserPoolId (\ s a -> s{_auuaUserPoolId = a})  -- | The user name of the user for whom you want to update user attributes. auuaUsername :: Lens' AdminUpdateUserAttributes Text-auuaUsername = lens _auuaUsername (\ s a -> s{_auuaUsername = a}) . _Sensitive;+auuaUsername = lens _auuaUsername (\ s a -> s{_auuaUsername = a}) . _Sensitive  -- | An array of name-value pairs representing user attributes. For custom attributes, you must prepend the @custom:@ prefix to the attribute name. auuaUserAttributes :: Lens' AdminUpdateUserAttributes [AttributeType]-auuaUserAttributes = lens _auuaUserAttributes (\ s a -> s{_auuaUserAttributes = a}) . _Coerce;+auuaUserAttributes = lens _auuaUserAttributes (\ s a -> s{_auuaUserAttributes = a}) . _Coerce  instance AWSRequest AdminUpdateUserAttributes where         type Rs AdminUpdateUserAttributes =@@ -158,7 +158,7 @@  -- | -- | The response status code. auuarsResponseStatus :: Lens' AdminUpdateUserAttributesResponse Int-auuarsResponseStatus = lens _auuarsResponseStatus (\ s a -> s{_auuarsResponseStatus = a});+auuarsResponseStatus = lens _auuarsResponseStatus (\ s a -> s{_auuarsResponseStatus = a})  instance NFData AdminUpdateUserAttributesResponse          where
gen/Network/AWS/CognitoIdentityProvider/AdminUserGlobalSignOut.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.AdminUserGlobalSignOut--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -70,16 +70,16 @@     -> AdminUserGlobalSignOut adminUserGlobalSignOut pUserPoolId_ pUsername_ =   AdminUserGlobalSignOut'-  {_augsoUserPoolId = pUserPoolId_, _augsoUsername = _Sensitive # pUsername_}+    {_augsoUserPoolId = pUserPoolId_, _augsoUsername = _Sensitive # pUsername_}   -- | The user pool ID. augsoUserPoolId :: Lens' AdminUserGlobalSignOut Text-augsoUserPoolId = lens _augsoUserPoolId (\ s a -> s{_augsoUserPoolId = a});+augsoUserPoolId = lens _augsoUserPoolId (\ s a -> s{_augsoUserPoolId = a})  -- | The user name. augsoUsername :: Lens' AdminUserGlobalSignOut Text-augsoUsername = lens _augsoUsername (\ s a -> s{_augsoUsername = a}) . _Sensitive;+augsoUsername = lens _augsoUsername (\ s a -> s{_augsoUsername = a}) . _Sensitive  instance AWSRequest AdminUserGlobalSignOut where         type Rs AdminUserGlobalSignOut =@@ -142,6 +142,6 @@  -- | -- | The response status code. augsorsResponseStatus :: Lens' AdminUserGlobalSignOutResponse Int-augsorsResponseStatus = lens _augsorsResponseStatus (\ s a -> s{_augsorsResponseStatus = a});+augsorsResponseStatus = lens _augsorsResponseStatus (\ s a -> s{_augsorsResponseStatus = a})  instance NFData AdminUserGlobalSignOutResponse where
+ gen/Network/AWS/CognitoIdentityProvider/AssociateSoftwareToken.hs view
@@ -0,0 +1,155 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken+-- Copyright   : (c) 2013-2018 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)+--+-- Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both.+--+--+module Network.AWS.CognitoIdentityProvider.AssociateSoftwareToken+    (+    -- * Creating a Request+      associateSoftwareToken+    , AssociateSoftwareToken+    -- * Request Lenses+    , astAccessToken+    , astSession++    -- * Destructuring the Response+    , associateSoftwareTokenResponse+    , AssociateSoftwareTokenResponse+    -- * Response Lenses+    , astrsSecretCode+    , astrsSession+    , astrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'associateSoftwareToken' smart constructor.+data AssociateSoftwareToken = AssociateSoftwareToken'+  { _astAccessToken :: !(Maybe (Sensitive Text))+  , _astSession     :: !(Maybe Text)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AssociateSoftwareToken' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'astAccessToken' - The access token.+--+-- * 'astSession' - 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.+associateSoftwareToken+    :: AssociateSoftwareToken+associateSoftwareToken =+  AssociateSoftwareToken' {_astAccessToken = Nothing, _astSession = Nothing}+++-- | The access token.+astAccessToken :: Lens' AssociateSoftwareToken (Maybe Text)+astAccessToken = lens _astAccessToken (\ s a -> s{_astAccessToken = a}) . mapping _Sensitive++-- | 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.+astSession :: Lens' AssociateSoftwareToken (Maybe Text)+astSession = lens _astSession (\ s a -> s{_astSession = a})++instance AWSRequest AssociateSoftwareToken where+        type Rs AssociateSoftwareToken =+             AssociateSoftwareTokenResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 AssociateSoftwareTokenResponse' <$>+                   (x .?> "SecretCode") <*> (x .?> "Session") <*>+                     (pure (fromEnum s)))++instance Hashable AssociateSoftwareToken where++instance NFData AssociateSoftwareToken where++instance ToHeaders AssociateSoftwareToken where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.AssociateSoftwareToken"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON AssociateSoftwareToken where+        toJSON AssociateSoftwareToken'{..}+          = object+              (catMaybes+                 [("AccessToken" .=) <$> _astAccessToken,+                  ("Session" .=) <$> _astSession])++instance ToPath AssociateSoftwareToken where+        toPath = const "/"++instance ToQuery AssociateSoftwareToken where+        toQuery = const mempty++-- | /See:/ 'associateSoftwareTokenResponse' smart constructor.+data AssociateSoftwareTokenResponse = AssociateSoftwareTokenResponse'+  { _astrsSecretCode     :: !(Maybe (Sensitive Text))+  , _astrsSession        :: !(Maybe Text)+  , _astrsResponseStatus :: !Int+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AssociateSoftwareTokenResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'astrsSecretCode' - A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.+--+-- * 'astrsSession' - 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.+--+-- * 'astrsResponseStatus' - -- | The response status code.+associateSoftwareTokenResponse+    :: Int -- ^ 'astrsResponseStatus'+    -> AssociateSoftwareTokenResponse+associateSoftwareTokenResponse pResponseStatus_ =+  AssociateSoftwareTokenResponse'+    { _astrsSecretCode = Nothing+    , _astrsSession = Nothing+    , _astrsResponseStatus = pResponseStatus_+    }+++-- | A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.+astrsSecretCode :: Lens' AssociateSoftwareTokenResponse (Maybe Text)+astrsSecretCode = lens _astrsSecretCode (\ s a -> s{_astrsSecretCode = a}) . mapping _Sensitive++-- | 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.+astrsSession :: Lens' AssociateSoftwareTokenResponse (Maybe Text)+astrsSession = lens _astrsSession (\ s a -> s{_astrsSession = a})++-- | -- | The response status code.+astrsResponseStatus :: Lens' AssociateSoftwareTokenResponse Int+astrsResponseStatus = lens _astrsResponseStatus (\ s a -> s{_astrsResponseStatus = a})++instance NFData AssociateSoftwareTokenResponse where
gen/Network/AWS/CognitoIdentityProvider/ChangePassword.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ChangePassword--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -61,11 +61,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpPreviousPassword' - The old password in the change password request.+-- * 'cpPreviousPassword' - The old password. ----- * 'cpProposedPassword' - The new password in the change password request.+-- * 'cpProposedPassword' - The new password. ----- * 'cpAccessToken' - The access token in the change password request.+-- * 'cpAccessToken' - The access token. changePassword     :: Text -- ^ 'cpPreviousPassword'     -> Text -- ^ 'cpProposedPassword'@@ -73,23 +73,23 @@     -> ChangePassword changePassword pPreviousPassword_ pProposedPassword_ pAccessToken_ =   ChangePassword'-  { _cpPreviousPassword = _Sensitive # pPreviousPassword_-  , _cpProposedPassword = _Sensitive # pProposedPassword_-  , _cpAccessToken = _Sensitive # pAccessToken_-  }+    { _cpPreviousPassword = _Sensitive # pPreviousPassword_+    , _cpProposedPassword = _Sensitive # pProposedPassword_+    , _cpAccessToken = _Sensitive # pAccessToken_+    }  --- | The old password in the change password request.+-- | The old password. cpPreviousPassword :: Lens' ChangePassword Text-cpPreviousPassword = lens _cpPreviousPassword (\ s a -> s{_cpPreviousPassword = a}) . _Sensitive;+cpPreviousPassword = lens _cpPreviousPassword (\ s a -> s{_cpPreviousPassword = a}) . _Sensitive --- | The new password in the change password request.+-- | The new password. cpProposedPassword :: Lens' ChangePassword Text-cpProposedPassword = lens _cpProposedPassword (\ s a -> s{_cpProposedPassword = a}) . _Sensitive;+cpProposedPassword = lens _cpProposedPassword (\ s a -> s{_cpProposedPassword = a}) . _Sensitive --- | The access token in the change password request.+-- | The access token. cpAccessToken :: Lens' ChangePassword Text-cpAccessToken = lens _cpAccessToken (\ s a -> s{_cpAccessToken = a}) . _Sensitive;+cpAccessToken = lens _cpAccessToken (\ s a -> s{_cpAccessToken = a}) . _Sensitive  instance AWSRequest ChangePassword where         type Rs ChangePassword = ChangePasswordResponse@@ -151,6 +151,6 @@  -- | -- | The response status code. cprsResponseStatus :: Lens' ChangePasswordResponse Int-cprsResponseStatus = lens _cprsResponseStatus (\ s a -> s{_cprsResponseStatus = a});+cprsResponseStatus = lens _cprsResponseStatus (\ s a -> s{_cprsResponseStatus = a})  instance NFData ChangePasswordResponse where
gen/Network/AWS/CognitoIdentityProvider/ConfirmDevice.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ConfirmDevice--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -77,28 +77,28 @@     -> ConfirmDevice confirmDevice pAccessToken_ pDeviceKey_ =   ConfirmDevice'-  { _cdDeviceSecretVerifierConfig = Nothing-  , _cdDeviceName = Nothing-  , _cdAccessToken = _Sensitive # pAccessToken_-  , _cdDeviceKey = pDeviceKey_-  }+    { _cdDeviceSecretVerifierConfig = Nothing+    , _cdDeviceName = Nothing+    , _cdAccessToken = _Sensitive # pAccessToken_+    , _cdDeviceKey = pDeviceKey_+    }   -- | The configuration of the device secret verifier. cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType)-cdDeviceSecretVerifierConfig = lens _cdDeviceSecretVerifierConfig (\ s a -> s{_cdDeviceSecretVerifierConfig = a});+cdDeviceSecretVerifierConfig = lens _cdDeviceSecretVerifierConfig (\ s a -> s{_cdDeviceSecretVerifierConfig = a})  -- | The device name. cdDeviceName :: Lens' ConfirmDevice (Maybe Text)-cdDeviceName = lens _cdDeviceName (\ s a -> s{_cdDeviceName = a});+cdDeviceName = lens _cdDeviceName (\ s a -> s{_cdDeviceName = a})  -- | The access token. cdAccessToken :: Lens' ConfirmDevice Text-cdAccessToken = lens _cdAccessToken (\ s a -> s{_cdAccessToken = a}) . _Sensitive;+cdAccessToken = lens _cdAccessToken (\ s a -> s{_cdAccessToken = a}) . _Sensitive  -- | The device key. cdDeviceKey :: Lens' ConfirmDevice Text-cdDeviceKey = lens _cdDeviceKey (\ s a -> s{_cdDeviceKey = a});+cdDeviceKey = lens _cdDeviceKey (\ s a -> s{_cdDeviceKey = a})  instance AWSRequest ConfirmDevice where         type Rs ConfirmDevice = ConfirmDeviceResponse@@ -163,17 +163,17 @@     -> ConfirmDeviceResponse confirmDeviceResponse pResponseStatus_ =   ConfirmDeviceResponse'-  { _cdrsUserConfirmationNecessary = Nothing-  , _cdrsResponseStatus = pResponseStatus_-  }+    { _cdrsUserConfirmationNecessary = Nothing+    , _cdrsResponseStatus = pResponseStatus_+    }   -- | Indicates whether the user confirmation is necessary to confirm the device response. cdrsUserConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool)-cdrsUserConfirmationNecessary = lens _cdrsUserConfirmationNecessary (\ s a -> s{_cdrsUserConfirmationNecessary = a});+cdrsUserConfirmationNecessary = lens _cdrsUserConfirmationNecessary (\ s a -> s{_cdrsUserConfirmationNecessary = a})  -- | -- | The response status code. cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int-cdrsResponseStatus = lens _cdrsResponseStatus (\ s a -> s{_cdrsResponseStatus = a});+cdrsResponseStatus = lens _cdrsResponseStatus (\ s a -> s{_cdrsResponseStatus = a})  instance NFData ConfirmDeviceResponse where
gen/Network/AWS/CognitoIdentityProvider/ConfirmForgotPassword.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -27,6 +27,8 @@       confirmForgotPassword     , ConfirmForgotPassword     -- * Request Lenses+    , cfpAnalyticsMetadata+    , cfpUserContextData     , cfpSecretHash     , cfpClientId     , cfpUsername@@ -53,11 +55,13 @@ -- -- /See:/ 'confirmForgotPassword' smart constructor. data ConfirmForgotPassword = ConfirmForgotPassword'-  { _cfpSecretHash       :: !(Maybe (Sensitive Text))-  , _cfpClientId         :: !(Sensitive Text)-  , _cfpUsername         :: !(Sensitive Text)-  , _cfpConfirmationCode :: !Text-  , _cfpPassword         :: !(Sensitive Text)+  { _cfpAnalyticsMetadata :: !(Maybe AnalyticsMetadataType)+  , _cfpUserContextData   :: !(Maybe UserContextDataType)+  , _cfpSecretHash        :: !(Maybe (Sensitive Text))+  , _cfpClientId          :: !(Sensitive Text)+  , _cfpUsername          :: !(Sensitive Text)+  , _cfpConfirmationCode  :: !Text+  , _cfpPassword          :: !(Sensitive Text)   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -65,13 +69,17 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'cfpAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @ConfirmForgotPassword@ calls.+--+-- * 'cfpUserContextData' - 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.+-- -- * 'cfpSecretHash' - 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. -- -- * 'cfpClientId' - The app client ID of the app associated with the user pool. -- -- * 'cfpUsername' - The user name of the user for whom you want to enter a code to retrieve a forgotten password. ----- * 'cfpConfirmationCode' - The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see <API_ForgotPassword.html ForgotPassword>+-- * 'cfpConfirmationCode' - The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see -- -- * 'cfpPassword' - The password sent by a user's request to retrieve a forgotten password. confirmForgotPassword@@ -82,33 +90,43 @@     -> ConfirmForgotPassword confirmForgotPassword pClientId_ pUsername_ pConfirmationCode_ pPassword_ =   ConfirmForgotPassword'-  { _cfpSecretHash = Nothing-  , _cfpClientId = _Sensitive # pClientId_-  , _cfpUsername = _Sensitive # pUsername_-  , _cfpConfirmationCode = pConfirmationCode_-  , _cfpPassword = _Sensitive # pPassword_-  }+    { _cfpAnalyticsMetadata = Nothing+    , _cfpUserContextData = Nothing+    , _cfpSecretHash = Nothing+    , _cfpClientId = _Sensitive # pClientId_+    , _cfpUsername = _Sensitive # pUsername_+    , _cfpConfirmationCode = pConfirmationCode_+    , _cfpPassword = _Sensitive # pPassword_+    }  +-- | The Amazon Pinpoint analytics metadata for collecting metrics for @ConfirmForgotPassword@ calls.+cfpAnalyticsMetadata :: Lens' ConfirmForgotPassword (Maybe AnalyticsMetadataType)+cfpAnalyticsMetadata = lens _cfpAnalyticsMetadata (\ s a -> s{_cfpAnalyticsMetadata = a})++-- | 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.+cfpUserContextData :: Lens' ConfirmForgotPassword (Maybe UserContextDataType)+cfpUserContextData = lens _cfpUserContextData (\ s a -> s{_cfpUserContextData = a})+ -- | A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. cfpSecretHash :: Lens' ConfirmForgotPassword (Maybe Text)-cfpSecretHash = lens _cfpSecretHash (\ s a -> s{_cfpSecretHash = a}) . mapping _Sensitive;+cfpSecretHash = lens _cfpSecretHash (\ s a -> s{_cfpSecretHash = a}) . mapping _Sensitive  -- | The app client ID of the app associated with the user pool. cfpClientId :: Lens' ConfirmForgotPassword Text-cfpClientId = lens _cfpClientId (\ s a -> s{_cfpClientId = a}) . _Sensitive;+cfpClientId = lens _cfpClientId (\ s a -> s{_cfpClientId = a}) . _Sensitive  -- | The user name of the user for whom you want to enter a code to retrieve a forgotten password. cfpUsername :: Lens' ConfirmForgotPassword Text-cfpUsername = lens _cfpUsername (\ s a -> s{_cfpUsername = a}) . _Sensitive;+cfpUsername = lens _cfpUsername (\ s a -> s{_cfpUsername = a}) . _Sensitive --- | The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see <API_ForgotPassword.html ForgotPassword>+-- | The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see cfpConfirmationCode :: Lens' ConfirmForgotPassword Text-cfpConfirmationCode = lens _cfpConfirmationCode (\ s a -> s{_cfpConfirmationCode = a});+cfpConfirmationCode = lens _cfpConfirmationCode (\ s a -> s{_cfpConfirmationCode = a})  -- | The password sent by a user's request to retrieve a forgotten password. cfpPassword :: Lens' ConfirmForgotPassword Text-cfpPassword = lens _cfpPassword (\ s a -> s{_cfpPassword = a}) . _Sensitive;+cfpPassword = lens _cfpPassword (\ s a -> s{_cfpPassword = a}) . _Sensitive  instance AWSRequest ConfirmForgotPassword where         type Rs ConfirmForgotPassword =@@ -138,7 +156,9 @@         toJSON ConfirmForgotPassword'{..}           = object               (catMaybes-                 [("SecretHash" .=) <$> _cfpSecretHash,+                 [("AnalyticsMetadata" .=) <$> _cfpAnalyticsMetadata,+                  ("UserContextData" .=) <$> _cfpUserContextData,+                  ("SecretHash" .=) <$> _cfpSecretHash,                   Just ("ClientId" .= _cfpClientId),                   Just ("Username" .= _cfpUsername),                   Just ("ConfirmationCode" .= _cfpConfirmationCode),@@ -174,6 +194,6 @@  -- | -- | The response status code. cfprsResponseStatus :: Lens' ConfirmForgotPasswordResponse Int-cfprsResponseStatus = lens _cfprsResponseStatus (\ s a -> s{_cfprsResponseStatus = a});+cfprsResponseStatus = lens _cfprsResponseStatus (\ s a -> s{_cfprsResponseStatus = a})  instance NFData ConfirmForgotPasswordResponse where
gen/Network/AWS/CognitoIdentityProvider/ConfirmSignUp.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ConfirmSignUp--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -28,6 +28,8 @@     , ConfirmSignUp     -- * Request Lenses     , csuForceAliasCreation+    , csuAnalyticsMetadata+    , csuUserContextData     , csuSecretHash     , csuClientId     , csuUsername@@ -54,6 +56,8 @@ -- /See:/ 'confirmSignUp' smart constructor. data ConfirmSignUp = ConfirmSignUp'   { _csuForceAliasCreation :: !(Maybe Bool)+  , _csuAnalyticsMetadata  :: !(Maybe AnalyticsMetadataType)+  , _csuUserContextData    :: !(Maybe UserContextDataType)   , _csuSecretHash         :: !(Maybe (Sensitive Text))   , _csuClientId           :: !(Sensitive Text)   , _csuUsername           :: !(Sensitive Text)@@ -67,6 +71,10 @@ -- -- * 'csuForceAliasCreation' - 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. --+-- * 'csuAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @ConfirmSignUp@ calls.+--+-- * 'csuUserContextData' - 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.+-- -- * 'csuSecretHash' - 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. -- -- * 'csuClientId' - The ID of the app client associated with the user pool.@@ -81,33 +89,43 @@     -> ConfirmSignUp confirmSignUp pClientId_ pUsername_ pConfirmationCode_ =   ConfirmSignUp'-  { _csuForceAliasCreation = Nothing-  , _csuSecretHash = Nothing-  , _csuClientId = _Sensitive # pClientId_-  , _csuUsername = _Sensitive # pUsername_-  , _csuConfirmationCode = pConfirmationCode_-  }+    { _csuForceAliasCreation = Nothing+    , _csuAnalyticsMetadata = Nothing+    , _csuUserContextData = Nothing+    , _csuSecretHash = Nothing+    , _csuClientId = _Sensitive # pClientId_+    , _csuUsername = _Sensitive # pUsername_+    , _csuConfirmationCode = pConfirmationCode_+    }   -- | 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. csuForceAliasCreation :: Lens' ConfirmSignUp (Maybe Bool)-csuForceAliasCreation = lens _csuForceAliasCreation (\ s a -> s{_csuForceAliasCreation = a});+csuForceAliasCreation = lens _csuForceAliasCreation (\ s a -> s{_csuForceAliasCreation = a}) +-- | The Amazon Pinpoint analytics metadata for collecting metrics for @ConfirmSignUp@ calls.+csuAnalyticsMetadata :: Lens' ConfirmSignUp (Maybe AnalyticsMetadataType)+csuAnalyticsMetadata = lens _csuAnalyticsMetadata (\ s a -> s{_csuAnalyticsMetadata = a})++-- | 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.+csuUserContextData :: Lens' ConfirmSignUp (Maybe UserContextDataType)+csuUserContextData = lens _csuUserContextData (\ s a -> s{_csuUserContextData = a})+ -- | A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. csuSecretHash :: Lens' ConfirmSignUp (Maybe Text)-csuSecretHash = lens _csuSecretHash (\ s a -> s{_csuSecretHash = a}) . mapping _Sensitive;+csuSecretHash = lens _csuSecretHash (\ s a -> s{_csuSecretHash = a}) . mapping _Sensitive  -- | The ID of the app client associated with the user pool. csuClientId :: Lens' ConfirmSignUp Text-csuClientId = lens _csuClientId (\ s a -> s{_csuClientId = a}) . _Sensitive;+csuClientId = lens _csuClientId (\ s a -> s{_csuClientId = a}) . _Sensitive  -- | The user name of the user whose registration you wish to confirm. csuUsername :: Lens' ConfirmSignUp Text-csuUsername = lens _csuUsername (\ s a -> s{_csuUsername = a}) . _Sensitive;+csuUsername = lens _csuUsername (\ s a -> s{_csuUsername = a}) . _Sensitive  -- | The confirmation code sent by a user's request to confirm registration. csuConfirmationCode :: Lens' ConfirmSignUp Text-csuConfirmationCode = lens _csuConfirmationCode (\ s a -> s{_csuConfirmationCode = a});+csuConfirmationCode = lens _csuConfirmationCode (\ s a -> s{_csuConfirmationCode = a})  instance AWSRequest ConfirmSignUp where         type Rs ConfirmSignUp = ConfirmSignUpResponse@@ -137,6 +155,8 @@               (catMaybes                  [("ForceAliasCreation" .=) <$>                     _csuForceAliasCreation,+                  ("AnalyticsMetadata" .=) <$> _csuAnalyticsMetadata,+                  ("UserContextData" .=) <$> _csuUserContextData,                   ("SecretHash" .=) <$> _csuSecretHash,                   Just ("ClientId" .= _csuClientId),                   Just ("Username" .= _csuUsername),@@ -172,6 +192,6 @@  -- | -- | The response status code. csursResponseStatus :: Lens' ConfirmSignUpResponse Int-csursResponseStatus = lens _csursResponseStatus (\ s a -> s{_csursResponseStatus = a});+csursResponseStatus = lens _csursResponseStatus (\ s a -> s{_csursResponseStatus = a})  instance NFData ConfirmSignUpResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -79,33 +79,33 @@     -> CreateGroup createGroup pGroupName_ pUserPoolId_ =   CreateGroup'-  { _cgPrecedence = Nothing-  , _cgDescription = Nothing-  , _cgRoleARN = Nothing-  , _cgGroupName = pGroupName_-  , _cgUserPoolId = pUserPoolId_-  }+    { _cgPrecedence = Nothing+    , _cgDescription = Nothing+    , _cgRoleARN = Nothing+    , _cgGroupName = pGroupName_+    , _cgUserPoolId = pUserPoolId_+    }   -- | 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. cgPrecedence :: Lens' CreateGroup (Maybe Natural)-cgPrecedence = lens _cgPrecedence (\ s a -> s{_cgPrecedence = a}) . mapping _Nat;+cgPrecedence = lens _cgPrecedence (\ s a -> s{_cgPrecedence = a}) . mapping _Nat  -- | A string containing the description of the group. cgDescription :: Lens' CreateGroup (Maybe Text)-cgDescription = lens _cgDescription (\ s a -> s{_cgDescription = a});+cgDescription = lens _cgDescription (\ s a -> s{_cgDescription = a})  -- | The role ARN for the group. cgRoleARN :: Lens' CreateGroup (Maybe Text)-cgRoleARN = lens _cgRoleARN (\ s a -> s{_cgRoleARN = a});+cgRoleARN = lens _cgRoleARN (\ s a -> s{_cgRoleARN = a})  -- | The name of the group. Must be unique. cgGroupName :: Lens' CreateGroup Text-cgGroupName = lens _cgGroupName (\ s a -> s{_cgGroupName = a});+cgGroupName = lens _cgGroupName (\ s a -> s{_cgGroupName = a})  -- | The user pool ID for the user pool. cgUserPoolId :: Lens' CreateGroup Text-cgUserPoolId = lens _cgUserPoolId (\ s a -> s{_cgUserPoolId = a});+cgUserPoolId = lens _cgUserPoolId (\ s a -> s{_cgUserPoolId = a})  instance AWSRequest CreateGroup where         type Rs CreateGroup = CreateGroupResponse@@ -165,15 +165,15 @@     -> CreateGroupResponse createGroupResponse pResponseStatus_ =   CreateGroupResponse'-  {_cgrsGroup = Nothing, _cgrsResponseStatus = pResponseStatus_}+    {_cgrsGroup = Nothing, _cgrsResponseStatus = pResponseStatus_}   -- | The group object for the group. cgrsGroup :: Lens' CreateGroupResponse (Maybe GroupType)-cgrsGroup = lens _cgrsGroup (\ s a -> s{_cgrsGroup = a});+cgrsGroup = lens _cgrsGroup (\ s a -> s{_cgrsGroup = a})  -- | -- | The response status code. cgrsResponseStatus :: Lens' CreateGroupResponse Int-cgrsResponseStatus = lens _cgrsResponseStatus (\ s a -> s{_cgrsResponseStatus = a});+cgrsResponseStatus = lens _cgrsResponseStatus (\ s a -> s{_cgrsResponseStatus = a})  instance NFData CreateGroupResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateIdentityProvider.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateIdentityProvider--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -82,38 +82,38 @@     -> CreateIdentityProvider createIdentityProvider pUserPoolId_ pProviderName_ pProviderType_ =   CreateIdentityProvider'-  { _cipIdpIdentifiers = Nothing-  , _cipAttributeMapping = Nothing-  , _cipUserPoolId = pUserPoolId_-  , _cipProviderName = pProviderName_-  , _cipProviderType = pProviderType_-  , _cipProviderDetails = mempty-  }+    { _cipIdpIdentifiers = Nothing+    , _cipAttributeMapping = Nothing+    , _cipUserPoolId = pUserPoolId_+    , _cipProviderName = pProviderName_+    , _cipProviderType = pProviderType_+    , _cipProviderDetails = mempty+    }   -- | A list of identity provider identifiers. cipIdpIdentifiers :: Lens' CreateIdentityProvider [Text]-cipIdpIdentifiers = lens _cipIdpIdentifiers (\ s a -> s{_cipIdpIdentifiers = a}) . _Default . _Coerce;+cipIdpIdentifiers = lens _cipIdpIdentifiers (\ s a -> s{_cipIdpIdentifiers = a}) . _Default . _Coerce  -- | A mapping of identity provider attributes to standard and custom user pool attributes. cipAttributeMapping :: Lens' CreateIdentityProvider (HashMap Text Text)-cipAttributeMapping = lens _cipAttributeMapping (\ s a -> s{_cipAttributeMapping = a}) . _Default . _Map;+cipAttributeMapping = lens _cipAttributeMapping (\ s a -> s{_cipAttributeMapping = a}) . _Default . _Map  -- | The user pool ID. cipUserPoolId :: Lens' CreateIdentityProvider Text-cipUserPoolId = lens _cipUserPoolId (\ s a -> s{_cipUserPoolId = a});+cipUserPoolId = lens _cipUserPoolId (\ s a -> s{_cipUserPoolId = a})  -- | The identity provider name. cipProviderName :: Lens' CreateIdentityProvider Text-cipProviderName = lens _cipProviderName (\ s a -> s{_cipProviderName = a});+cipProviderName = lens _cipProviderName (\ s a -> s{_cipProviderName = a})  -- | The identity provider type. cipProviderType :: Lens' CreateIdentityProvider IdentityProviderTypeType-cipProviderType = lens _cipProviderType (\ s a -> s{_cipProviderType = a});+cipProviderType = lens _cipProviderType (\ s a -> s{_cipProviderType = a})  -- | The identity provider details, such as @MetadataURL@ and @MetadataFile@ . cipProviderDetails :: Lens' CreateIdentityProvider (HashMap Text Text)-cipProviderDetails = lens _cipProviderDetails (\ s a -> s{_cipProviderDetails = a}) . _Map;+cipProviderDetails = lens _cipProviderDetails (\ s a -> s{_cipProviderDetails = a}) . _Map  instance AWSRequest CreateIdentityProvider where         type Rs CreateIdentityProvider =@@ -176,17 +176,17 @@     -> CreateIdentityProviderResponse createIdentityProviderResponse pResponseStatus_ pIdentityProvider_ =   CreateIdentityProviderResponse'-  { _ciprsResponseStatus = pResponseStatus_-  , _ciprsIdentityProvider = pIdentityProvider_-  }+    { _ciprsResponseStatus = pResponseStatus_+    , _ciprsIdentityProvider = pIdentityProvider_+    }   -- | -- | The response status code. ciprsResponseStatus :: Lens' CreateIdentityProviderResponse Int-ciprsResponseStatus = lens _ciprsResponseStatus (\ s a -> s{_ciprsResponseStatus = a});+ciprsResponseStatus = lens _ciprsResponseStatus (\ s a -> s{_ciprsResponseStatus = a})  -- | The newly created identity provider object. ciprsIdentityProvider :: Lens' CreateIdentityProviderResponse IdentityProviderType-ciprsIdentityProvider = lens _ciprsIdentityProvider (\ s a -> s{_ciprsIdentityProvider = a});+ciprsIdentityProvider = lens _ciprsIdentityProvider (\ s a -> s{_ciprsIdentityProvider = a})  instance NFData CreateIdentityProviderResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateResourceServer.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateResourceServer--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,28 +74,28 @@     -> CreateResourceServer createResourceServer pUserPoolId_ pIdentifier_ pName_ =   CreateResourceServer'-  { _crsScopes = Nothing-  , _crsUserPoolId = pUserPoolId_-  , _crsIdentifier = pIdentifier_-  , _crsName = pName_-  }+    { _crsScopes = Nothing+    , _crsUserPoolId = pUserPoolId_+    , _crsIdentifier = pIdentifier_+    , _crsName = pName_+    }   -- | A list of scopes. Each scope is map, where the keys are @name@ and @description@ . crsScopes :: Lens' CreateResourceServer [ResourceServerScopeType]-crsScopes = lens _crsScopes (\ s a -> s{_crsScopes = a}) . _Default . _Coerce;+crsScopes = lens _crsScopes (\ s a -> s{_crsScopes = a}) . _Default . _Coerce  -- | The user pool ID for the user pool. crsUserPoolId :: Lens' CreateResourceServer Text-crsUserPoolId = lens _crsUserPoolId (\ s a -> s{_crsUserPoolId = a});+crsUserPoolId = lens _crsUserPoolId (\ s a -> s{_crsUserPoolId = a})  -- | 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@ . crsIdentifier :: Lens' CreateResourceServer Text-crsIdentifier = lens _crsIdentifier (\ s a -> s{_crsIdentifier = a});+crsIdentifier = lens _crsIdentifier (\ s a -> s{_crsIdentifier = a})  -- | A friendly name for the resource server. crsName :: Lens' CreateResourceServer Text-crsName = lens _crsName (\ s a -> s{_crsName = a});+crsName = lens _crsName (\ s a -> s{_crsName = a})  instance AWSRequest CreateResourceServer where         type Rs CreateResourceServer =@@ -156,17 +156,17 @@     -> CreateResourceServerResponse createResourceServerResponse pResponseStatus_ pResourceServer_ =   CreateResourceServerResponse'-  { _crsrsResponseStatus = pResponseStatus_-  , _crsrsResourceServer = pResourceServer_-  }+    { _crsrsResponseStatus = pResponseStatus_+    , _crsrsResourceServer = pResourceServer_+    }   -- | -- | The response status code. crsrsResponseStatus :: Lens' CreateResourceServerResponse Int-crsrsResponseStatus = lens _crsrsResponseStatus (\ s a -> s{_crsrsResponseStatus = a});+crsrsResponseStatus = lens _crsrsResponseStatus (\ s a -> s{_crsrsResponseStatus = a})  -- | The newly created resource server. crsrsResourceServer :: Lens' CreateResourceServerResponse ResourceServerType-crsrsResourceServer = lens _crsrsResourceServer (\ s a -> s{_crsrsResourceServer = a});+crsrsResourceServer = lens _crsrsResourceServer (\ s a -> s{_crsrsResourceServer = a})  instance NFData CreateResourceServerResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateUserImportJob.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateUserImportJob--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,23 +74,23 @@     -> CreateUserImportJob createUserImportJob pJobName_ pUserPoolId_ pCloudWatchLogsRoleARN_ =   CreateUserImportJob'-  { _cuijJobName = pJobName_-  , _cuijUserPoolId = pUserPoolId_-  , _cuijCloudWatchLogsRoleARN = pCloudWatchLogsRoleARN_-  }+    { _cuijJobName = pJobName_+    , _cuijUserPoolId = pUserPoolId_+    , _cuijCloudWatchLogsRoleARN = pCloudWatchLogsRoleARN_+    }   -- | The job name for the user import job. cuijJobName :: Lens' CreateUserImportJob Text-cuijJobName = lens _cuijJobName (\ s a -> s{_cuijJobName = a});+cuijJobName = lens _cuijJobName (\ s a -> s{_cuijJobName = a})  -- | The user pool ID for the user pool that the users are being imported into. cuijUserPoolId :: Lens' CreateUserImportJob Text-cuijUserPoolId = lens _cuijUserPoolId (\ s a -> s{_cuijUserPoolId = a});+cuijUserPoolId = lens _cuijUserPoolId (\ s a -> s{_cuijUserPoolId = a})  -- | The role ARN for the Amazon CloudWatch Logging role for the user import job. cuijCloudWatchLogsRoleARN :: Lens' CreateUserImportJob Text-cuijCloudWatchLogsRoleARN = lens _cuijCloudWatchLogsRoleARN (\ s a -> s{_cuijCloudWatchLogsRoleARN = a});+cuijCloudWatchLogsRoleARN = lens _cuijCloudWatchLogsRoleARN (\ s a -> s{_cuijCloudWatchLogsRoleARN = a})  instance AWSRequest CreateUserImportJob where         type Rs CreateUserImportJob =@@ -155,15 +155,15 @@     -> CreateUserImportJobResponse createUserImportJobResponse pResponseStatus_ =   CreateUserImportJobResponse'-  {_cuijrsUserImportJob = Nothing, _cuijrsResponseStatus = pResponseStatus_}+    {_cuijrsUserImportJob = Nothing, _cuijrsResponseStatus = pResponseStatus_}   -- | The job object that represents the user import job. cuijrsUserImportJob :: Lens' CreateUserImportJobResponse (Maybe UserImportJobType)-cuijrsUserImportJob = lens _cuijrsUserImportJob (\ s a -> s{_cuijrsUserImportJob = a});+cuijrsUserImportJob = lens _cuijrsUserImportJob (\ s a -> s{_cuijrsUserImportJob = a})  -- | -- | The response status code. cuijrsResponseStatus :: Lens' CreateUserImportJobResponse Int-cuijrsResponseStatus = lens _cuijrsResponseStatus (\ s a -> s{_cuijrsResponseStatus = a});+cuijrsResponseStatus = lens _cuijrsResponseStatus (\ s a -> s{_cuijrsResponseStatus = a})  instance NFData CreateUserImportJobResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateUserPool.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateUserPool--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -31,6 +31,7 @@     , cupVerificationMessageTemplate     , cupEmailVerificationMessage     , cupSmsAuthenticationMessage+    , cupUserPoolAddOns     , cupEmailVerificationSubject     , cupUsernameAttributes     , cupAliasAttributes@@ -71,6 +72,7 @@   , _cupVerificationMessageTemplate :: !(Maybe VerificationMessageTemplateType)   , _cupEmailVerificationMessage    :: !(Maybe Text)   , _cupSmsAuthenticationMessage    :: !(Maybe Text)+  , _cupUserPoolAddOns              :: !(Maybe UserPoolAddOnsType)   , _cupEmailVerificationSubject    :: !(Maybe Text)   , _cupUsernameAttributes          :: !(Maybe [UsernameAttributeType])   , _cupAliasAttributes             :: !(Maybe [AliasAttributeType])@@ -100,6 +102,8 @@ -- -- * 'cupSmsAuthenticationMessage' - A string representing the SMS authentication message. --+-- * 'cupUserPoolAddOns' - Used to enable advanced security risk detection. Set the key @AdvancedSecurityMode@ to the value "AUDIT".+-- -- * 'cupEmailVerificationSubject' - A string representing the email verification subject. -- -- * 'cupUsernameAttributes' - Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.@@ -132,98 +136,103 @@     -> CreateUserPool createUserPool pPoolName_ =   CreateUserPool'-  { _cupUserPoolTags = Nothing-  , _cupVerificationMessageTemplate = Nothing-  , _cupEmailVerificationMessage = Nothing-  , _cupSmsAuthenticationMessage = Nothing-  , _cupEmailVerificationSubject = Nothing-  , _cupUsernameAttributes = Nothing-  , _cupAliasAttributes = Nothing-  , _cupSchema = Nothing-  , _cupEmailConfiguration = Nothing-  , _cupSmsVerificationMessage = Nothing-  , _cupMFAConfiguration = Nothing-  , _cupLambdaConfig = Nothing-  , _cupSmsConfiguration = Nothing-  , _cupAdminCreateUserConfig = Nothing-  , _cupDeviceConfiguration = Nothing-  , _cupAutoVerifiedAttributes = Nothing-  , _cupPolicies = Nothing-  , _cupPoolName = pPoolName_-  }+    { _cupUserPoolTags = Nothing+    , _cupVerificationMessageTemplate = Nothing+    , _cupEmailVerificationMessage = Nothing+    , _cupSmsAuthenticationMessage = Nothing+    , _cupUserPoolAddOns = Nothing+    , _cupEmailVerificationSubject = Nothing+    , _cupUsernameAttributes = Nothing+    , _cupAliasAttributes = Nothing+    , _cupSchema = Nothing+    , _cupEmailConfiguration = Nothing+    , _cupSmsVerificationMessage = Nothing+    , _cupMFAConfiguration = Nothing+    , _cupLambdaConfig = Nothing+    , _cupSmsConfiguration = Nothing+    , _cupAdminCreateUserConfig = Nothing+    , _cupDeviceConfiguration = Nothing+    , _cupAutoVerifiedAttributes = Nothing+    , _cupPolicies = Nothing+    , _cupPoolName = pPoolName_+    }   -- | The cost allocation tags for the user pool. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html Adding Cost Allocation Tags to Your User Pool> cupUserPoolTags :: Lens' CreateUserPool (HashMap Text Text)-cupUserPoolTags = lens _cupUserPoolTags (\ s a -> s{_cupUserPoolTags = a}) . _Default . _Map;+cupUserPoolTags = lens _cupUserPoolTags (\ s a -> s{_cupUserPoolTags = a}) . _Default . _Map  -- | The template for the verification message that the user sees when the app requests permission to access the user's information. cupVerificationMessageTemplate :: Lens' CreateUserPool (Maybe VerificationMessageTemplateType)-cupVerificationMessageTemplate = lens _cupVerificationMessageTemplate (\ s a -> s{_cupVerificationMessageTemplate = a});+cupVerificationMessageTemplate = lens _cupVerificationMessageTemplate (\ s a -> s{_cupVerificationMessageTemplate = a})  -- | A string representing the email verification message. cupEmailVerificationMessage :: Lens' CreateUserPool (Maybe Text)-cupEmailVerificationMessage = lens _cupEmailVerificationMessage (\ s a -> s{_cupEmailVerificationMessage = a});+cupEmailVerificationMessage = lens _cupEmailVerificationMessage (\ s a -> s{_cupEmailVerificationMessage = a})  -- | A string representing the SMS authentication message. cupSmsAuthenticationMessage :: Lens' CreateUserPool (Maybe Text)-cupSmsAuthenticationMessage = lens _cupSmsAuthenticationMessage (\ s a -> s{_cupSmsAuthenticationMessage = a});+cupSmsAuthenticationMessage = lens _cupSmsAuthenticationMessage (\ s a -> s{_cupSmsAuthenticationMessage = a}) +-- | Used to enable advanced security risk detection. Set the key @AdvancedSecurityMode@ to the value "AUDIT".+cupUserPoolAddOns :: Lens' CreateUserPool (Maybe UserPoolAddOnsType)+cupUserPoolAddOns = lens _cupUserPoolAddOns (\ s a -> s{_cupUserPoolAddOns = a})+ -- | A string representing the email verification subject. cupEmailVerificationSubject :: Lens' CreateUserPool (Maybe Text)-cupEmailVerificationSubject = lens _cupEmailVerificationSubject (\ s a -> s{_cupEmailVerificationSubject = a});+cupEmailVerificationSubject = lens _cupEmailVerificationSubject (\ s a -> s{_cupEmailVerificationSubject = a})  -- | Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up. cupUsernameAttributes :: Lens' CreateUserPool [UsernameAttributeType]-cupUsernameAttributes = lens _cupUsernameAttributes (\ s a -> s{_cupUsernameAttributes = a}) . _Default . _Coerce;+cupUsernameAttributes = lens _cupUsernameAttributes (\ s a -> s{_cupUsernameAttributes = a}) . _Default . _Coerce  -- | Attributes supported as an alias for this user pool. Possible values: __phone_number__ , __email__ , or __preferred_username__ . cupAliasAttributes :: Lens' CreateUserPool [AliasAttributeType]-cupAliasAttributes = lens _cupAliasAttributes (\ s a -> s{_cupAliasAttributes = a}) . _Default . _Coerce;+cupAliasAttributes = lens _cupAliasAttributes (\ s a -> s{_cupAliasAttributes = a}) . _Default . _Coerce  -- | An array of schema attributes for the new user pool. These attributes can be standard or custom attributes. cupSchema :: Lens' CreateUserPool (Maybe (NonEmpty SchemaAttributeType))-cupSchema = lens _cupSchema (\ s a -> s{_cupSchema = a}) . mapping _List1;+cupSchema = lens _cupSchema (\ s a -> s{_cupSchema = a}) . mapping _List1  -- | The email configuration. cupEmailConfiguration :: Lens' CreateUserPool (Maybe EmailConfigurationType)-cupEmailConfiguration = lens _cupEmailConfiguration (\ s a -> s{_cupEmailConfiguration = a});+cupEmailConfiguration = lens _cupEmailConfiguration (\ s a -> s{_cupEmailConfiguration = a})  -- | A string representing the SMS verification message. cupSmsVerificationMessage :: Lens' CreateUserPool (Maybe Text)-cupSmsVerificationMessage = lens _cupSmsVerificationMessage (\ s a -> s{_cupSmsVerificationMessage = a});+cupSmsVerificationMessage = lens _cupSmsVerificationMessage (\ s a -> s{_cupSmsVerificationMessage = a})  -- | Specifies MFA configuration details. cupMFAConfiguration :: Lens' CreateUserPool (Maybe UserPoolMFAType)-cupMFAConfiguration = lens _cupMFAConfiguration (\ s a -> s{_cupMFAConfiguration = a});+cupMFAConfiguration = lens _cupMFAConfiguration (\ s a -> s{_cupMFAConfiguration = a})  -- | The Lambda trigger configuration information for the new user pool. cupLambdaConfig :: Lens' CreateUserPool (Maybe LambdaConfigType)-cupLambdaConfig = lens _cupLambdaConfig (\ s a -> s{_cupLambdaConfig = a});+cupLambdaConfig = lens _cupLambdaConfig (\ s a -> s{_cupLambdaConfig = a})  -- | The SMS configuration. cupSmsConfiguration :: Lens' CreateUserPool (Maybe SmsConfigurationType)-cupSmsConfiguration = lens _cupSmsConfiguration (\ s a -> s{_cupSmsConfiguration = a});+cupSmsConfiguration = lens _cupSmsConfiguration (\ s a -> s{_cupSmsConfiguration = a})  -- | The configuration for @AdminCreateUser@ requests. cupAdminCreateUserConfig :: Lens' CreateUserPool (Maybe AdminCreateUserConfigType)-cupAdminCreateUserConfig = lens _cupAdminCreateUserConfig (\ s a -> s{_cupAdminCreateUserConfig = a});+cupAdminCreateUserConfig = lens _cupAdminCreateUserConfig (\ s a -> s{_cupAdminCreateUserConfig = a})  -- | The device configuration. cupDeviceConfiguration :: Lens' CreateUserPool (Maybe DeviceConfigurationType)-cupDeviceConfiguration = lens _cupDeviceConfiguration (\ s a -> s{_cupDeviceConfiguration = a});+cupDeviceConfiguration = lens _cupDeviceConfiguration (\ s a -> s{_cupDeviceConfiguration = a})  -- | The attributes to be auto-verified. Possible values: __email__ , __phone_number__ . cupAutoVerifiedAttributes :: Lens' CreateUserPool [VerifiedAttributeType]-cupAutoVerifiedAttributes = lens _cupAutoVerifiedAttributes (\ s a -> s{_cupAutoVerifiedAttributes = a}) . _Default . _Coerce;+cupAutoVerifiedAttributes = lens _cupAutoVerifiedAttributes (\ s a -> s{_cupAutoVerifiedAttributes = a}) . _Default . _Coerce  -- | The policies associated with the new user pool. cupPolicies :: Lens' CreateUserPool (Maybe UserPoolPolicyType)-cupPolicies = lens _cupPolicies (\ s a -> s{_cupPolicies = a});+cupPolicies = lens _cupPolicies (\ s a -> s{_cupPolicies = a})  -- | A string used to name the user pool. cupPoolName :: Lens' CreateUserPool Text-cupPoolName = lens _cupPoolName (\ s a -> s{_cupPoolName = a});+cupPoolName = lens _cupPoolName (\ s a -> s{_cupPoolName = a})  instance AWSRequest CreateUserPool where         type Rs CreateUserPool = CreateUserPoolResponse@@ -259,6 +268,7 @@                     _cupEmailVerificationMessage,                   ("SmsAuthenticationMessage" .=) <$>                     _cupSmsAuthenticationMessage,+                  ("UserPoolAddOns" .=) <$> _cupUserPoolAddOns,                   ("EmailVerificationSubject" .=) <$>                     _cupEmailVerificationSubject,                   ("UsernameAttributes" .=) <$> _cupUsernameAttributes,@@ -308,15 +318,15 @@     -> CreateUserPoolResponse createUserPoolResponse pResponseStatus_ =   CreateUserPoolResponse'-  {_cuprsUserPool = Nothing, _cuprsResponseStatus = pResponseStatus_}+    {_cuprsUserPool = Nothing, _cuprsResponseStatus = pResponseStatus_}   -- | A container for the user pool details. cuprsUserPool :: Lens' CreateUserPoolResponse (Maybe UserPoolType)-cuprsUserPool = lens _cuprsUserPool (\ s a -> s{_cuprsUserPool = a});+cuprsUserPool = lens _cuprsUserPool (\ s a -> s{_cuprsUserPool = a})  -- | -- | The response status code. cuprsResponseStatus :: Lens' CreateUserPoolResponse Int-cuprsResponseStatus = lens _cuprsResponseStatus (\ s a -> s{_cuprsResponseStatus = a});+cuprsResponseStatus = lens _cuprsResponseStatus (\ s a -> s{_cuprsResponseStatus = a})  instance NFData CreateUserPoolResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateUserPoolClient.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateUserPoolClient--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -38,6 +38,7 @@     , cupcReadAttributes     , cupcAllowedOAuthScopes     , cupcAllowedOAuthFlows+    , cupcAnalyticsConfiguration     , cupcCallbackURLs     , cupcUserPoolId     , cupcClientName@@ -74,6 +75,7 @@   , _cupcReadAttributes                  :: !(Maybe [Text])   , _cupcAllowedOAuthScopes              :: !(Maybe [Text])   , _cupcAllowedOAuthFlows               :: !(Maybe [OAuthFlowType])+  , _cupcAnalyticsConfiguration          :: !(Maybe AnalyticsConfigurationType)   , _cupcCallbackURLs                    :: !(Maybe [Text])   , _cupcUserPoolId                      :: !Text   , _cupcClientName                      :: !Text@@ -106,6 +108,8 @@ -- -- * 'cupcAllowedOAuthFlows' - 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. --+-- * 'cupcAnalyticsConfiguration' - The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.+-- -- * 'cupcCallbackURLs' - A list of allowed callback URLs for the identity providers. -- -- * 'cupcUserPoolId' - The user pool ID for the user pool where you want to create a user pool client.@@ -117,78 +121,83 @@     -> CreateUserPoolClient createUserPoolClient pUserPoolId_ pClientName_ =   CreateUserPoolClient'-  { _cupcRefreshTokenValidity = Nothing-  , _cupcExplicitAuthFlows = Nothing-  , _cupcSupportedIdentityProviders = Nothing-  , _cupcLogoutURLs = Nothing-  , _cupcAllowedOAuthFlowsUserPoolClient = Nothing-  , _cupcGenerateSecret = Nothing-  , _cupcDefaultRedirectURI = Nothing-  , _cupcWriteAttributes = Nothing-  , _cupcReadAttributes = Nothing-  , _cupcAllowedOAuthScopes = Nothing-  , _cupcAllowedOAuthFlows = Nothing-  , _cupcCallbackURLs = Nothing-  , _cupcUserPoolId = pUserPoolId_-  , _cupcClientName = pClientName_-  }+    { _cupcRefreshTokenValidity = Nothing+    , _cupcExplicitAuthFlows = Nothing+    , _cupcSupportedIdentityProviders = Nothing+    , _cupcLogoutURLs = Nothing+    , _cupcAllowedOAuthFlowsUserPoolClient = Nothing+    , _cupcGenerateSecret = Nothing+    , _cupcDefaultRedirectURI = Nothing+    , _cupcWriteAttributes = Nothing+    , _cupcReadAttributes = Nothing+    , _cupcAllowedOAuthScopes = Nothing+    , _cupcAllowedOAuthFlows = Nothing+    , _cupcAnalyticsConfiguration = Nothing+    , _cupcCallbackURLs = Nothing+    , _cupcUserPoolId = pUserPoolId_+    , _cupcClientName = pClientName_+    }   -- | The time limit, in days, after which the refresh token is no longer valid and cannot be used. cupcRefreshTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural)-cupcRefreshTokenValidity = lens _cupcRefreshTokenValidity (\ s a -> s{_cupcRefreshTokenValidity = a}) . mapping _Nat;+cupcRefreshTokenValidity = lens _cupcRefreshTokenValidity (\ s a -> s{_cupcRefreshTokenValidity = a}) . mapping _Nat  -- | The explicit authentication flows. cupcExplicitAuthFlows :: Lens' CreateUserPoolClient [ExplicitAuthFlowsType]-cupcExplicitAuthFlows = lens _cupcExplicitAuthFlows (\ s a -> s{_cupcExplicitAuthFlows = a}) . _Default . _Coerce;+cupcExplicitAuthFlows = lens _cupcExplicitAuthFlows (\ s a -> s{_cupcExplicitAuthFlows = a}) . _Default . _Coerce  -- | A list of provider names for the identity providers that are supported on this client. cupcSupportedIdentityProviders :: Lens' CreateUserPoolClient [Text]-cupcSupportedIdentityProviders = lens _cupcSupportedIdentityProviders (\ s a -> s{_cupcSupportedIdentityProviders = a}) . _Default . _Coerce;+cupcSupportedIdentityProviders = lens _cupcSupportedIdentityProviders (\ s a -> s{_cupcSupportedIdentityProviders = a}) . _Default . _Coerce  -- | A list of allowed logout URLs for the identity providers. cupcLogoutURLs :: Lens' CreateUserPoolClient [Text]-cupcLogoutURLs = lens _cupcLogoutURLs (\ s a -> s{_cupcLogoutURLs = a}) . _Default . _Coerce;+cupcLogoutURLs = lens _cupcLogoutURLs (\ s a -> s{_cupcLogoutURLs = a}) . _Default . _Coerce  -- | Set to @True@ if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. cupcAllowedOAuthFlowsUserPoolClient :: Lens' CreateUserPoolClient (Maybe Bool)-cupcAllowedOAuthFlowsUserPoolClient = lens _cupcAllowedOAuthFlowsUserPoolClient (\ s a -> s{_cupcAllowedOAuthFlowsUserPoolClient = a});+cupcAllowedOAuthFlowsUserPoolClient = lens _cupcAllowedOAuthFlowsUserPoolClient (\ s a -> s{_cupcAllowedOAuthFlowsUserPoolClient = a})  -- | Boolean to specify whether you want to generate a secret for the user pool client being created. cupcGenerateSecret :: Lens' CreateUserPoolClient (Maybe Bool)-cupcGenerateSecret = lens _cupcGenerateSecret (\ s a -> s{_cupcGenerateSecret = a});+cupcGenerateSecret = lens _cupcGenerateSecret (\ s a -> s{_cupcGenerateSecret = a})  -- | The default redirect URI. Must be in the @CallbackURLs@ list. cupcDefaultRedirectURI :: Lens' CreateUserPoolClient (Maybe Text)-cupcDefaultRedirectURI = lens _cupcDefaultRedirectURI (\ s a -> s{_cupcDefaultRedirectURI = a});+cupcDefaultRedirectURI = lens _cupcDefaultRedirectURI (\ s a -> s{_cupcDefaultRedirectURI = a})  -- | The write attributes. cupcWriteAttributes :: Lens' CreateUserPoolClient [Text]-cupcWriteAttributes = lens _cupcWriteAttributes (\ s a -> s{_cupcWriteAttributes = a}) . _Default . _Coerce;+cupcWriteAttributes = lens _cupcWriteAttributes (\ s a -> s{_cupcWriteAttributes = a}) . _Default . _Coerce  -- | The read attributes. cupcReadAttributes :: Lens' CreateUserPoolClient [Text]-cupcReadAttributes = lens _cupcReadAttributes (\ s a -> s{_cupcReadAttributes = a}) . _Default . _Coerce;+cupcReadAttributes = lens _cupcReadAttributes (\ s a -> s{_cupcReadAttributes = a}) . _Default . _Coerce  -- | A list of allowed @OAuth@ scopes. Currently supported values are @"phone"@ , @"email"@ , @"openid"@ , and @"Cognito"@ . cupcAllowedOAuthScopes :: Lens' CreateUserPoolClient [Text]-cupcAllowedOAuthScopes = lens _cupcAllowedOAuthScopes (\ s a -> s{_cupcAllowedOAuthScopes = a}) . _Default . _Coerce;+cupcAllowedOAuthScopes = lens _cupcAllowedOAuthScopes (\ s a -> s{_cupcAllowedOAuthScopes = a}) . _Default . _Coerce  -- | 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. cupcAllowedOAuthFlows :: Lens' CreateUserPoolClient [OAuthFlowType]-cupcAllowedOAuthFlows = lens _cupcAllowedOAuthFlows (\ s a -> s{_cupcAllowedOAuthFlows = a}) . _Default . _Coerce;+cupcAllowedOAuthFlows = lens _cupcAllowedOAuthFlows (\ s a -> s{_cupcAllowedOAuthFlows = a}) . _Default . _Coerce +-- | The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.+cupcAnalyticsConfiguration :: Lens' CreateUserPoolClient (Maybe AnalyticsConfigurationType)+cupcAnalyticsConfiguration = lens _cupcAnalyticsConfiguration (\ s a -> s{_cupcAnalyticsConfiguration = a})+ -- | A list of allowed callback URLs for the identity providers. cupcCallbackURLs :: Lens' CreateUserPoolClient [Text]-cupcCallbackURLs = lens _cupcCallbackURLs (\ s a -> s{_cupcCallbackURLs = a}) . _Default . _Coerce;+cupcCallbackURLs = lens _cupcCallbackURLs (\ s a -> s{_cupcCallbackURLs = a}) . _Default . _Coerce  -- | The user pool ID for the user pool where you want to create a user pool client. cupcUserPoolId :: Lens' CreateUserPoolClient Text-cupcUserPoolId = lens _cupcUserPoolId (\ s a -> s{_cupcUserPoolId = a});+cupcUserPoolId = lens _cupcUserPoolId (\ s a -> s{_cupcUserPoolId = a})  -- | The client name for the user pool client you would like to create. cupcClientName :: Lens' CreateUserPoolClient Text-cupcClientName = lens _cupcClientName (\ s a -> s{_cupcClientName = a});+cupcClientName = lens _cupcClientName (\ s a -> s{_cupcClientName = a})  instance AWSRequest CreateUserPoolClient where         type Rs CreateUserPoolClient =@@ -234,6 +243,8 @@                   ("AllowedOAuthScopes" .=) <$>                     _cupcAllowedOAuthScopes,                   ("AllowedOAuthFlows" .=) <$> _cupcAllowedOAuthFlows,+                  ("AnalyticsConfiguration" .=) <$>+                    _cupcAnalyticsConfiguration,                   ("CallbackURLs" .=) <$> _cupcCallbackURLs,                   Just ("UserPoolId" .= _cupcUserPoolId),                   Just ("ClientName" .= _cupcClientName)])@@ -267,15 +278,15 @@     -> CreateUserPoolClientResponse createUserPoolClientResponse pResponseStatus_ =   CreateUserPoolClientResponse'-  {_cupcrsUserPoolClient = Nothing, _cupcrsResponseStatus = pResponseStatus_}+    {_cupcrsUserPoolClient = Nothing, _cupcrsResponseStatus = pResponseStatus_}   -- | The user pool client that was just created. cupcrsUserPoolClient :: Lens' CreateUserPoolClientResponse (Maybe UserPoolClientType)-cupcrsUserPoolClient = lens _cupcrsUserPoolClient (\ s a -> s{_cupcrsUserPoolClient = a});+cupcrsUserPoolClient = lens _cupcrsUserPoolClient (\ s a -> s{_cupcrsUserPoolClient = a})  -- | -- | The response status code. cupcrsResponseStatus :: Lens' CreateUserPoolClientResponse Int-cupcrsResponseStatus = lens _cupcrsResponseStatus (\ s a -> s{_cupcrsResponseStatus = a});+cupcrsResponseStatus = lens _cupcrsResponseStatus (\ s a -> s{_cupcrsResponseStatus = a})  instance NFData CreateUserPoolClientResponse where
gen/Network/AWS/CognitoIdentityProvider/CreateUserPoolDomain.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.CreateUserPoolDomain--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,11 +68,11 @@  -- | The domain string. cupdDomain :: Lens' CreateUserPoolDomain Text-cupdDomain = lens _cupdDomain (\ s a -> s{_cupdDomain = a});+cupdDomain = lens _cupdDomain (\ s a -> s{_cupdDomain = a})  -- | The user pool ID. cupdUserPoolId :: Lens' CreateUserPoolDomain Text-cupdUserPoolId = lens _cupdUserPoolId (\ s a -> s{_cupdUserPoolId = a});+cupdUserPoolId = lens _cupdUserPoolId (\ s a -> s{_cupdUserPoolId = a})  instance AWSRequest CreateUserPoolDomain where         type Rs CreateUserPoolDomain =@@ -131,6 +131,6 @@  -- | -- | The response status code. cupdrsResponseStatus :: Lens' CreateUserPoolDomainResponse Int-cupdrsResponseStatus = lens _cupdrsResponseStatus (\ s a -> s{_cupdrsResponseStatus = a});+cupdrsResponseStatus = lens _cupdrsResponseStatus (\ s a -> s{_cupdrsResponseStatus = a})  instance NFData CreateUserPoolDomainResponse where
gen/Network/AWS/CognitoIdentityProvider/DeleteGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,11 +68,11 @@  -- | The name of the group. dgGroupName :: Lens' DeleteGroup Text-dgGroupName = lens _dgGroupName (\ s a -> s{_dgGroupName = a});+dgGroupName = lens _dgGroupName (\ s a -> s{_dgGroupName = a})  -- | The user pool ID for the user pool. dgUserPoolId :: Lens' DeleteGroup Text-dgUserPoolId = lens _dgUserPoolId (\ s a -> s{_dgUserPoolId = a});+dgUserPoolId = lens _dgUserPoolId (\ s a -> s{_dgUserPoolId = a})  instance AWSRequest DeleteGroup where         type Rs DeleteGroup = DeleteGroupResponse
gen/Network/AWS/CognitoIdentityProvider/DeleteIdentityProvider.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteIdentityProvider--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -62,16 +62,16 @@     -> DeleteIdentityProvider deleteIdentityProvider pUserPoolId_ pProviderName_ =   DeleteIdentityProvider'-  {_delUserPoolId = pUserPoolId_, _delProviderName = pProviderName_}+    {_delUserPoolId = pUserPoolId_, _delProviderName = pProviderName_}   -- | The user pool ID. delUserPoolId :: Lens' DeleteIdentityProvider Text-delUserPoolId = lens _delUserPoolId (\ s a -> s{_delUserPoolId = a});+delUserPoolId = lens _delUserPoolId (\ s a -> s{_delUserPoolId = a})  -- | The identity provider name. delProviderName :: Lens' DeleteIdentityProvider Text-delProviderName = lens _delProviderName (\ s a -> s{_delProviderName = a});+delProviderName = lens _delProviderName (\ s a -> s{_delProviderName = a})  instance AWSRequest DeleteIdentityProvider where         type Rs DeleteIdentityProvider =
gen/Network/AWS/CognitoIdentityProvider/DeleteResourceServer.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteResourceServer--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -62,16 +62,16 @@     -> DeleteResourceServer deleteResourceServer pUserPoolId_ pIdentifier_ =   DeleteResourceServer'-  {_drsUserPoolId = pUserPoolId_, _drsIdentifier = pIdentifier_}+    {_drsUserPoolId = pUserPoolId_, _drsIdentifier = pIdentifier_}   -- | The user pool ID for the user pool that hosts the resource server. drsUserPoolId :: Lens' DeleteResourceServer Text-drsUserPoolId = lens _drsUserPoolId (\ s a -> s{_drsUserPoolId = a});+drsUserPoolId = lens _drsUserPoolId (\ s a -> s{_drsUserPoolId = a})  -- | The identifier for the resource server. drsIdentifier :: Lens' DeleteResourceServer Text-drsIdentifier = lens _drsIdentifier (\ s a -> s{_drsIdentifier = a});+drsIdentifier = lens _drsIdentifier (\ s a -> s{_drsIdentifier = a})  instance AWSRequest DeleteResourceServer where         type Rs DeleteResourceServer =
gen/Network/AWS/CognitoIdentityProvider/DeleteUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -65,7 +65,7 @@  -- | The access token from a request to delete a user. duAccessToken :: Lens' DeleteUser Text-duAccessToken = lens _duAccessToken (\ s a -> s{_duAccessToken = a}) . _Sensitive;+duAccessToken = lens _duAccessToken (\ s a -> s{_duAccessToken = a}) . _Sensitive  instance AWSRequest DeleteUser where         type Rs DeleteUser = DeleteUserResponse
gen/Network/AWS/CognitoIdentityProvider/DeleteUserAttributes.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteUserAttributes--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -67,18 +67,18 @@     -> DeleteUserAttributes deleteUserAttributes pAccessToken_ =   DeleteUserAttributes'-  { _duaUserAttributeNames = mempty-  , _duaAccessToken = _Sensitive # pAccessToken_-  }+    { _duaUserAttributeNames = mempty+    , _duaAccessToken = _Sensitive # pAccessToken_+    }   -- | 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. duaUserAttributeNames :: Lens' DeleteUserAttributes [Text]-duaUserAttributeNames = lens _duaUserAttributeNames (\ s a -> s{_duaUserAttributeNames = a}) . _Coerce;+duaUserAttributeNames = lens _duaUserAttributeNames (\ s a -> s{_duaUserAttributeNames = a}) . _Coerce  -- | The access token used in the request to delete user attributes. duaAccessToken :: Lens' DeleteUserAttributes Text-duaAccessToken = lens _duaAccessToken (\ s a -> s{_duaAccessToken = a}) . _Sensitive;+duaAccessToken = lens _duaAccessToken (\ s a -> s{_duaAccessToken = a}) . _Sensitive  instance AWSRequest DeleteUserAttributes where         type Rs DeleteUserAttributes =@@ -142,6 +142,6 @@  -- | -- | The response status code. duarsResponseStatus :: Lens' DeleteUserAttributesResponse Int-duarsResponseStatus = lens _duarsResponseStatus (\ s a -> s{_duarsResponseStatus = a});+duarsResponseStatus = lens _duarsResponseStatus (\ s a -> s{_duarsResponseStatus = a})  instance NFData DeleteUserAttributesResponse where
gen/Network/AWS/CognitoIdentityProvider/DeleteUserPool.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteUserPool--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -64,7 +64,7 @@  -- | The user pool ID for the user pool you want to delete. dupUserPoolId :: Lens' DeleteUserPool Text-dupUserPoolId = lens _dupUserPoolId (\ s a -> s{_dupUserPoolId = a});+dupUserPoolId = lens _dupUserPoolId (\ s a -> s{_dupUserPoolId = a})  instance AWSRequest DeleteUserPool where         type Rs DeleteUserPool = DeleteUserPoolResponse
gen/Network/AWS/CognitoIdentityProvider/DeleteUserPoolClient.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteUserPoolClient--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -66,16 +66,16 @@     -> DeleteUserPoolClient deleteUserPoolClient pUserPoolId_ pClientId_ =   DeleteUserPoolClient'-  {_dupcUserPoolId = pUserPoolId_, _dupcClientId = _Sensitive # pClientId_}+    {_dupcUserPoolId = pUserPoolId_, _dupcClientId = _Sensitive # pClientId_}   -- | The user pool ID for the user pool where you want to delete the client. dupcUserPoolId :: Lens' DeleteUserPoolClient Text-dupcUserPoolId = lens _dupcUserPoolId (\ s a -> s{_dupcUserPoolId = a});+dupcUserPoolId = lens _dupcUserPoolId (\ s a -> s{_dupcUserPoolId = a})  -- | The app client ID of the app associated with the user pool. dupcClientId :: Lens' DeleteUserPoolClient Text-dupcClientId = lens _dupcClientId (\ s a -> s{_dupcClientId = a}) . _Sensitive;+dupcClientId = lens _dupcClientId (\ s a -> s{_dupcClientId = a}) . _Sensitive  instance AWSRequest DeleteUserPoolClient where         type Rs DeleteUserPoolClient =
gen/Network/AWS/CognitoIdentityProvider/DeleteUserPoolDomain.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DeleteUserPoolDomain--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,11 +68,11 @@  -- | The domain string. dupdDomain :: Lens' DeleteUserPoolDomain Text-dupdDomain = lens _dupdDomain (\ s a -> s{_dupdDomain = a});+dupdDomain = lens _dupdDomain (\ s a -> s{_dupdDomain = a})  -- | The user pool ID. dupdUserPoolId :: Lens' DeleteUserPoolDomain Text-dupdUserPoolId = lens _dupdUserPoolId (\ s a -> s{_dupdUserPoolId = a});+dupdUserPoolId = lens _dupdUserPoolId (\ s a -> s{_dupdUserPoolId = a})  instance AWSRequest DeleteUserPoolDomain where         type Rs DeleteUserPoolDomain =@@ -131,6 +131,6 @@  -- | -- | The response status code. dupdrsResponseStatus :: Lens' DeleteUserPoolDomainResponse Int-dupdrsResponseStatus = lens _dupdrsResponseStatus (\ s a -> s{_dupdrsResponseStatus = a});+dupdrsResponseStatus = lens _dupdrsResponseStatus (\ s a -> s{_dupdrsResponseStatus = a})  instance NFData DeleteUserPoolDomainResponse where
gen/Network/AWS/CognitoIdentityProvider/DescribeIdentityProvider.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DescribeIdentityProvider--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -65,16 +65,16 @@     -> DescribeIdentityProvider describeIdentityProvider pUserPoolId_ pProviderName_ =   DescribeIdentityProvider'-  {_dipUserPoolId = pUserPoolId_, _dipProviderName = pProviderName_}+    {_dipUserPoolId = pUserPoolId_, _dipProviderName = pProviderName_}   -- | The user pool ID. dipUserPoolId :: Lens' DescribeIdentityProvider Text-dipUserPoolId = lens _dipUserPoolId (\ s a -> s{_dipUserPoolId = a});+dipUserPoolId = lens _dipUserPoolId (\ s a -> s{_dipUserPoolId = a})  -- | The identity provider name. dipProviderName :: Lens' DescribeIdentityProvider Text-dipProviderName = lens _dipProviderName (\ s a -> s{_dipProviderName = a});+dipProviderName = lens _dipProviderName (\ s a -> s{_dipProviderName = a})  instance AWSRequest DescribeIdentityProvider where         type Rs DescribeIdentityProvider =@@ -133,18 +133,18 @@     -> DescribeIdentityProviderResponse describeIdentityProviderResponse pResponseStatus_ pIdentityProvider_ =   DescribeIdentityProviderResponse'-  { _diprsResponseStatus = pResponseStatus_-  , _diprsIdentityProvider = pIdentityProvider_-  }+    { _diprsResponseStatus = pResponseStatus_+    , _diprsIdentityProvider = pIdentityProvider_+    }   -- | -- | The response status code. diprsResponseStatus :: Lens' DescribeIdentityProviderResponse Int-diprsResponseStatus = lens _diprsResponseStatus (\ s a -> s{_diprsResponseStatus = a});+diprsResponseStatus = lens _diprsResponseStatus (\ s a -> s{_diprsResponseStatus = a})  -- | The identity provider that was deleted. diprsIdentityProvider :: Lens' DescribeIdentityProviderResponse IdentityProviderType-diprsIdentityProvider = lens _diprsIdentityProvider (\ s a -> s{_diprsIdentityProvider = a});+diprsIdentityProvider = lens _diprsIdentityProvider (\ s a -> s{_diprsIdentityProvider = a})  instance NFData DescribeIdentityProviderResponse          where
gen/Network/AWS/CognitoIdentityProvider/DescribeResourceServer.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DescribeResourceServer--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -65,16 +65,16 @@     -> DescribeResourceServer describeResourceServer pUserPoolId_ pIdentifier_ =   DescribeResourceServer'-  {_desUserPoolId = pUserPoolId_, _desIdentifier = pIdentifier_}+    {_desUserPoolId = pUserPoolId_, _desIdentifier = pIdentifier_}   -- | The user pool ID for the user pool that hosts the resource server. desUserPoolId :: Lens' DescribeResourceServer Text-desUserPoolId = lens _desUserPoolId (\ s a -> s{_desUserPoolId = a});+desUserPoolId = lens _desUserPoolId (\ s a -> s{_desUserPoolId = a})  -- | The identifier for the resource server desIdentifier :: Lens' DescribeResourceServer Text-desIdentifier = lens _desIdentifier (\ s a -> s{_desIdentifier = a});+desIdentifier = lens _desIdentifier (\ s a -> s{_desIdentifier = a})  instance AWSRequest DescribeResourceServer where         type Rs DescribeResourceServer =@@ -133,17 +133,17 @@     -> DescribeResourceServerResponse describeResourceServerResponse pResponseStatus_ pResourceServer_ =   DescribeResourceServerResponse'-  { _drsrsResponseStatus = pResponseStatus_-  , _drsrsResourceServer = pResourceServer_-  }+    { _drsrsResponseStatus = pResponseStatus_+    , _drsrsResourceServer = pResourceServer_+    }   -- | -- | The response status code. drsrsResponseStatus :: Lens' DescribeResourceServerResponse Int-drsrsResponseStatus = lens _drsrsResponseStatus (\ s a -> s{_drsrsResponseStatus = a});+drsrsResponseStatus = lens _drsrsResponseStatus (\ s a -> s{_drsrsResponseStatus = a})  -- | The resource server. drsrsResourceServer :: Lens' DescribeResourceServerResponse ResourceServerType-drsrsResourceServer = lens _drsrsResourceServer (\ s a -> s{_drsrsResourceServer = a});+drsrsResourceServer = lens _drsrsResourceServer (\ s a -> s{_drsrsResourceServer = a})  instance NFData DescribeResourceServerResponse where
+ gen/Network/AWS/CognitoIdentityProvider/DescribeRiskConfiguration.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration+-- Copyright   : (c) 2013-2018 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)+--+-- Describes the risk configuration.+--+--+module Network.AWS.CognitoIdentityProvider.DescribeRiskConfiguration+    (+    -- * Creating a Request+      describeRiskConfiguration+    , DescribeRiskConfiguration+    -- * Request Lenses+    , drcClientId+    , drcUserPoolId++    -- * Destructuring the Response+    , describeRiskConfigurationResponse+    , DescribeRiskConfigurationResponse+    -- * Response Lenses+    , drcrsResponseStatus+    , drcrsRiskConfiguration+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'describeRiskConfiguration' smart constructor.+data DescribeRiskConfiguration = DescribeRiskConfiguration'+  { _drcClientId   :: !(Maybe (Sensitive Text))+  , _drcUserPoolId :: !Text+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeRiskConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'drcClientId' - The app client ID.+--+-- * 'drcUserPoolId' - The user pool ID.+describeRiskConfiguration+    :: Text -- ^ 'drcUserPoolId'+    -> DescribeRiskConfiguration+describeRiskConfiguration pUserPoolId_ =+  DescribeRiskConfiguration'+    {_drcClientId = Nothing, _drcUserPoolId = pUserPoolId_}+++-- | The app client ID.+drcClientId :: Lens' DescribeRiskConfiguration (Maybe Text)+drcClientId = lens _drcClientId (\ s a -> s{_drcClientId = a}) . mapping _Sensitive++-- | The user pool ID.+drcUserPoolId :: Lens' DescribeRiskConfiguration Text+drcUserPoolId = lens _drcUserPoolId (\ s a -> s{_drcUserPoolId = a})++instance AWSRequest DescribeRiskConfiguration where+        type Rs DescribeRiskConfiguration =+             DescribeRiskConfigurationResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 DescribeRiskConfigurationResponse' <$>+                   (pure (fromEnum s)) <*> (x .:> "RiskConfiguration"))++instance Hashable DescribeRiskConfiguration where++instance NFData DescribeRiskConfiguration where++instance ToHeaders DescribeRiskConfiguration where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.DescribeRiskConfiguration"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON DescribeRiskConfiguration where+        toJSON DescribeRiskConfiguration'{..}+          = object+              (catMaybes+                 [("ClientId" .=) <$> _drcClientId,+                  Just ("UserPoolId" .= _drcUserPoolId)])++instance ToPath DescribeRiskConfiguration where+        toPath = const "/"++instance ToQuery DescribeRiskConfiguration where+        toQuery = const mempty++-- | /See:/ 'describeRiskConfigurationResponse' smart constructor.+data DescribeRiskConfigurationResponse = DescribeRiskConfigurationResponse'+  { _drcrsResponseStatus    :: !Int+  , _drcrsRiskConfiguration :: !RiskConfigurationType+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeRiskConfigurationResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'drcrsResponseStatus' - -- | The response status code.+--+-- * 'drcrsRiskConfiguration' - The risk configuration.+describeRiskConfigurationResponse+    :: Int -- ^ 'drcrsResponseStatus'+    -> RiskConfigurationType -- ^ 'drcrsRiskConfiguration'+    -> DescribeRiskConfigurationResponse+describeRiskConfigurationResponse pResponseStatus_ pRiskConfiguration_ =+  DescribeRiskConfigurationResponse'+    { _drcrsResponseStatus = pResponseStatus_+    , _drcrsRiskConfiguration = pRiskConfiguration_+    }+++-- | -- | The response status code.+drcrsResponseStatus :: Lens' DescribeRiskConfigurationResponse Int+drcrsResponseStatus = lens _drcrsResponseStatus (\ s a -> s{_drcrsResponseStatus = a})++-- | The risk configuration.+drcrsRiskConfiguration :: Lens' DescribeRiskConfigurationResponse RiskConfigurationType+drcrsRiskConfiguration = lens _drcrsRiskConfiguration (\ s a -> s{_drcrsRiskConfiguration = a})++instance NFData DescribeRiskConfigurationResponse+         where
gen/Network/AWS/CognitoIdentityProvider/DescribeUserImportJob.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DescribeUserImportJob--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,11 +73,11 @@  -- | The user pool ID for the user pool that the users are being imported into. duijUserPoolId :: Lens' DescribeUserImportJob Text-duijUserPoolId = lens _duijUserPoolId (\ s a -> s{_duijUserPoolId = a});+duijUserPoolId = lens _duijUserPoolId (\ s a -> s{_duijUserPoolId = a})  -- | The job ID for the user import job. duijJobId :: Lens' DescribeUserImportJob Text-duijJobId = lens _duijJobId (\ s a -> s{_duijJobId = a});+duijJobId = lens _duijJobId (\ s a -> s{_duijJobId = a})  instance AWSRequest DescribeUserImportJob where         type Rs DescribeUserImportJob =@@ -139,15 +139,15 @@     -> DescribeUserImportJobResponse describeUserImportJobResponse pResponseStatus_ =   DescribeUserImportJobResponse'-  {_duijrsUserImportJob = Nothing, _duijrsResponseStatus = pResponseStatus_}+    {_duijrsUserImportJob = Nothing, _duijrsResponseStatus = pResponseStatus_}   -- | The job object that represents the user import job. duijrsUserImportJob :: Lens' DescribeUserImportJobResponse (Maybe UserImportJobType)-duijrsUserImportJob = lens _duijrsUserImportJob (\ s a -> s{_duijrsUserImportJob = a});+duijrsUserImportJob = lens _duijrsUserImportJob (\ s a -> s{_duijrsUserImportJob = a})  -- | -- | The response status code. duijrsResponseStatus :: Lens' DescribeUserImportJobResponse Int-duijrsResponseStatus = lens _duijrsResponseStatus (\ s a -> s{_duijrsResponseStatus = a});+duijrsResponseStatus = lens _duijrsResponseStatus (\ s a -> s{_duijrsResponseStatus = a})  instance NFData DescribeUserImportJobResponse where
gen/Network/AWS/CognitoIdentityProvider/DescribeUserPool.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DescribeUserPool--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -67,7 +67,7 @@  -- | The user pool ID for the user pool you want to describe. dUserPoolId :: Lens' DescribeUserPool Text-dUserPoolId = lens _dUserPoolId (\ s a -> s{_dUserPoolId = a});+dUserPoolId = lens _dUserPoolId (\ s a -> s{_dUserPoolId = a})  instance AWSRequest DescribeUserPool where         type Rs DescribeUserPool = DescribeUserPoolResponse@@ -126,15 +126,15 @@     -> DescribeUserPoolResponse describeUserPoolResponse pResponseStatus_ =   DescribeUserPoolResponse'-  {_duprsUserPool = Nothing, _duprsResponseStatus = pResponseStatus_}+    {_duprsUserPool = Nothing, _duprsResponseStatus = pResponseStatus_}   -- | The container of metadata returned by the server to describe the pool. duprsUserPool :: Lens' DescribeUserPoolResponse (Maybe UserPoolType)-duprsUserPool = lens _duprsUserPool (\ s a -> s{_duprsUserPool = a});+duprsUserPool = lens _duprsUserPool (\ s a -> s{_duprsUserPool = a})  -- | -- | The response status code. duprsResponseStatus :: Lens' DescribeUserPoolResponse Int-duprsResponseStatus = lens _duprsResponseStatus (\ s a -> s{_duprsResponseStatus = a});+duprsResponseStatus = lens _duprsResponseStatus (\ s a -> s{_duprsResponseStatus = a})  instance NFData DescribeUserPoolResponse where
gen/Network/AWS/CognitoIdentityProvider/DescribeUserPoolClient.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DescribeUserPoolClient--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,16 +69,16 @@     -> DescribeUserPoolClient describeUserPoolClient pUserPoolId_ pClientId_ =   DescribeUserPoolClient'-  {_dupcuUserPoolId = pUserPoolId_, _dupcuClientId = _Sensitive # pClientId_}+    {_dupcuUserPoolId = pUserPoolId_, _dupcuClientId = _Sensitive # pClientId_}   -- | The user pool ID for the user pool you want to describe. dupcuUserPoolId :: Lens' DescribeUserPoolClient Text-dupcuUserPoolId = lens _dupcuUserPoolId (\ s a -> s{_dupcuUserPoolId = a});+dupcuUserPoolId = lens _dupcuUserPoolId (\ s a -> s{_dupcuUserPoolId = a})  -- | The app client ID of the app associated with the user pool. dupcuClientId :: Lens' DescribeUserPoolClient Text-dupcuClientId = lens _dupcuClientId (\ s a -> s{_dupcuClientId = a}) . _Sensitive;+dupcuClientId = lens _dupcuClientId (\ s a -> s{_dupcuClientId = a}) . _Sensitive  instance AWSRequest DescribeUserPoolClient where         type Rs DescribeUserPoolClient =@@ -140,15 +140,15 @@     -> DescribeUserPoolClientResponse describeUserPoolClientResponse pResponseStatus_ =   DescribeUserPoolClientResponse'-  {_dupcrsUserPoolClient = Nothing, _dupcrsResponseStatus = pResponseStatus_}+    {_dupcrsUserPoolClient = Nothing, _dupcrsResponseStatus = pResponseStatus_}   -- | The user pool client from a server response to describe the user pool client. dupcrsUserPoolClient :: Lens' DescribeUserPoolClientResponse (Maybe UserPoolClientType)-dupcrsUserPoolClient = lens _dupcrsUserPoolClient (\ s a -> s{_dupcrsUserPoolClient = a});+dupcrsUserPoolClient = lens _dupcrsUserPoolClient (\ s a -> s{_dupcrsUserPoolClient = a})  -- | -- | The response status code. dupcrsResponseStatus :: Lens' DescribeUserPoolClientResponse Int-dupcrsResponseStatus = lens _dupcrsResponseStatus (\ s a -> s{_dupcrsResponseStatus = a});+dupcrsResponseStatus = lens _dupcrsResponseStatus (\ s a -> s{_dupcrsResponseStatus = a})  instance NFData DescribeUserPoolClientResponse where
gen/Network/AWS/CognitoIdentityProvider/DescribeUserPoolDomain.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.DescribeUserPoolDomain--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -63,7 +63,7 @@  -- | The domain string. dDomain :: Lens' DescribeUserPoolDomain Text-dDomain = lens _dDomain (\ s a -> s{_dDomain = a});+dDomain = lens _dDomain (\ s a -> s{_dDomain = a})  instance AWSRequest DescribeUserPoolDomain where         type Rs DescribeUserPoolDomain =@@ -118,15 +118,15 @@     -> DescribeUserPoolDomainResponse describeUserPoolDomainResponse pResponseStatus_ =   DescribeUserPoolDomainResponse'-  {_drsDomainDescription = Nothing, _drsResponseStatus = pResponseStatus_}+    {_drsDomainDescription = Nothing, _drsResponseStatus = pResponseStatus_}   -- | A domain description object containing information about the domain. drsDomainDescription :: Lens' DescribeUserPoolDomainResponse (Maybe DomainDescriptionType)-drsDomainDescription = lens _drsDomainDescription (\ s a -> s{_drsDomainDescription = a});+drsDomainDescription = lens _drsDomainDescription (\ s a -> s{_drsDomainDescription = a})  -- | -- | The response status code. drsResponseStatus :: Lens' DescribeUserPoolDomainResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});+drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})  instance NFData DescribeUserPoolDomainResponse where
gen/Network/AWS/CognitoIdentityProvider/ForgetDevice.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ForgetDevice--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,11 +69,11 @@  -- | The access token for the forgotten device request. fdAccessToken :: Lens' ForgetDevice (Maybe Text)-fdAccessToken = lens _fdAccessToken (\ s a -> s{_fdAccessToken = a}) . mapping _Sensitive;+fdAccessToken = lens _fdAccessToken (\ s a -> s{_fdAccessToken = a}) . mapping _Sensitive  -- | The device key. fdDeviceKey :: Lens' ForgetDevice Text-fdDeviceKey = lens _fdDeviceKey (\ s a -> s{_fdDeviceKey = a});+fdDeviceKey = lens _fdDeviceKey (\ s a -> s{_fdDeviceKey = a})  instance AWSRequest ForgetDevice where         type Rs ForgetDevice = ForgetDeviceResponse
gen/Network/AWS/CognitoIdentityProvider/ForgotPassword.hs view
@@ -12,13 +12,13 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ForgotPassword--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 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) ----- Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the @Username@ parameter, you can use the username or user alias. If a verified phone number exists for the user, the confirmation code is sent to the phone number. Otherwise, if a verified email exists, the confirmation code is sent to the email. If neither a verified phone number nor a verified email exists, @InvalidParameterException@ is thrown. To use the confirmation code for resetting the password, call <API_ConfirmForgotPassword.html ConfirmForgotPassword> .+-- Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the @Username@ parameter, you can use the username or user alias. If a verified phone number exists for the user, the confirmation code is sent to the phone number. Otherwise, if a verified email exists, the confirmation code is sent to the email. If neither a verified phone number nor a verified email exists, @InvalidParameterException@ is thrown. To use the confirmation code for resetting the password, call . -- -- module Network.AWS.CognitoIdentityProvider.ForgotPassword@@ -27,6 +27,8 @@       forgotPassword     , ForgotPassword     -- * Request Lenses+    , fpAnalyticsMetadata+    , fpUserContextData     , fpSecretHash     , fpClientId     , fpUsername@@ -52,9 +54,11 @@ -- -- /See:/ 'forgotPassword' smart constructor. data ForgotPassword = ForgotPassword'-  { _fpSecretHash :: !(Maybe (Sensitive Text))-  , _fpClientId   :: !(Sensitive Text)-  , _fpUsername   :: !(Sensitive Text)+  { _fpAnalyticsMetadata :: !(Maybe AnalyticsMetadataType)+  , _fpUserContextData   :: !(Maybe UserContextDataType)+  , _fpSecretHash        :: !(Maybe (Sensitive Text))+  , _fpClientId          :: !(Sensitive Text)+  , _fpUsername          :: !(Sensitive Text)   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -62,6 +66,10 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'fpAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @ForgotPassword@ calls.+--+-- * 'fpUserContextData' - 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.+-- -- * 'fpSecretHash' - 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. -- -- * 'fpClientId' - The ID of the client associated with the user pool.@@ -73,23 +81,33 @@     -> ForgotPassword forgotPassword pClientId_ pUsername_ =   ForgotPassword'-  { _fpSecretHash = Nothing-  , _fpClientId = _Sensitive # pClientId_-  , _fpUsername = _Sensitive # pUsername_-  }+    { _fpAnalyticsMetadata = Nothing+    , _fpUserContextData = Nothing+    , _fpSecretHash = Nothing+    , _fpClientId = _Sensitive # pClientId_+    , _fpUsername = _Sensitive # pUsername_+    }  +-- | The Amazon Pinpoint analytics metadata for collecting metrics for @ForgotPassword@ calls.+fpAnalyticsMetadata :: Lens' ForgotPassword (Maybe AnalyticsMetadataType)+fpAnalyticsMetadata = lens _fpAnalyticsMetadata (\ s a -> s{_fpAnalyticsMetadata = a})++-- | 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.+fpUserContextData :: Lens' ForgotPassword (Maybe UserContextDataType)+fpUserContextData = lens _fpUserContextData (\ s a -> s{_fpUserContextData = a})+ -- | A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. fpSecretHash :: Lens' ForgotPassword (Maybe Text)-fpSecretHash = lens _fpSecretHash (\ s a -> s{_fpSecretHash = a}) . mapping _Sensitive;+fpSecretHash = lens _fpSecretHash (\ s a -> s{_fpSecretHash = a}) . mapping _Sensitive  -- | The ID of the client associated with the user pool. fpClientId :: Lens' ForgotPassword Text-fpClientId = lens _fpClientId (\ s a -> s{_fpClientId = a}) . _Sensitive;+fpClientId = lens _fpClientId (\ s a -> s{_fpClientId = a}) . _Sensitive  -- | The user name of the user for whom you want to enter a code to reset a forgotten password. fpUsername :: Lens' ForgotPassword Text-fpUsername = lens _fpUsername (\ s a -> s{_fpUsername = a}) . _Sensitive;+fpUsername = lens _fpUsername (\ s a -> s{_fpUsername = a}) . _Sensitive  instance AWSRequest ForgotPassword where         type Rs ForgotPassword = ForgotPasswordResponse@@ -119,7 +137,9 @@         toJSON ForgotPassword'{..}           = object               (catMaybes-                 [("SecretHash" .=) <$> _fpSecretHash,+                 [("AnalyticsMetadata" .=) <$> _fpAnalyticsMetadata,+                  ("UserContextData" .=) <$> _fpUserContextData,+                  ("SecretHash" .=) <$> _fpSecretHash,                   Just ("ClientId" .= _fpClientId),                   Just ("Username" .= _fpUsername)]) @@ -152,15 +172,15 @@     -> ForgotPasswordResponse forgotPasswordResponse pResponseStatus_ =   ForgotPasswordResponse'-  {_fprsCodeDeliveryDetails = Nothing, _fprsResponseStatus = pResponseStatus_}+    {_fprsCodeDeliveryDetails = Nothing, _fprsResponseStatus = pResponseStatus_}   -- | The code delivery details returned by the server in response to the request to reset a password. fprsCodeDeliveryDetails :: Lens' ForgotPasswordResponse (Maybe CodeDeliveryDetailsType)-fprsCodeDeliveryDetails = lens _fprsCodeDeliveryDetails (\ s a -> s{_fprsCodeDeliveryDetails = a});+fprsCodeDeliveryDetails = lens _fprsCodeDeliveryDetails (\ s a -> s{_fprsCodeDeliveryDetails = a})  -- | -- | The response status code. fprsResponseStatus :: Lens' ForgotPasswordResponse Int-fprsResponseStatus = lens _fprsResponseStatus (\ s a -> s{_fprsResponseStatus = a});+fprsResponseStatus = lens _fprsResponseStatus (\ s a -> s{_fprsResponseStatus = a})  instance NFData ForgotPasswordResponse where
gen/Network/AWS/CognitoIdentityProvider/GetCSVHeader.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetCSVHeader--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,7 +68,7 @@  -- | The user pool ID for the user pool that the users are to be imported into. gchUserPoolId :: Lens' GetCSVHeader Text-gchUserPoolId = lens _gchUserPoolId (\ s a -> s{_gchUserPoolId = a});+gchUserPoolId = lens _gchUserPoolId (\ s a -> s{_gchUserPoolId = a})  instance AWSRequest GetCSVHeader where         type Rs GetCSVHeader = GetCSVHeaderResponse@@ -132,22 +132,22 @@     -> GetCSVHeaderResponse getCSVHeaderResponse pResponseStatus_ =   GetCSVHeaderResponse'-  { _gchrsUserPoolId = Nothing-  , _gchrsCSVHeader = Nothing-  , _gchrsResponseStatus = pResponseStatus_-  }+    { _gchrsUserPoolId = Nothing+    , _gchrsCSVHeader = Nothing+    , _gchrsResponseStatus = pResponseStatus_+    }   -- | The user pool ID for the user pool that the users are to be imported into. gchrsUserPoolId :: Lens' GetCSVHeaderResponse (Maybe Text)-gchrsUserPoolId = lens _gchrsUserPoolId (\ s a -> s{_gchrsUserPoolId = a});+gchrsUserPoolId = lens _gchrsUserPoolId (\ s a -> s{_gchrsUserPoolId = a})  -- | The header information for the .csv file for the user import job. gchrsCSVHeader :: Lens' GetCSVHeaderResponse [Text]-gchrsCSVHeader = lens _gchrsCSVHeader (\ s a -> s{_gchrsCSVHeader = a}) . _Default . _Coerce;+gchrsCSVHeader = lens _gchrsCSVHeader (\ s a -> s{_gchrsCSVHeader = a}) . _Default . _Coerce  -- | -- | The response status code. gchrsResponseStatus :: Lens' GetCSVHeaderResponse Int-gchrsResponseStatus = lens _gchrsResponseStatus (\ s a -> s{_gchrsResponseStatus = a});+gchrsResponseStatus = lens _gchrsResponseStatus (\ s a -> s{_gchrsResponseStatus = a})  instance NFData GetCSVHeaderResponse where
gen/Network/AWS/CognitoIdentityProvider/GetDevice.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetDevice--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -72,11 +72,11 @@  -- | The access token. gdAccessToken :: Lens' GetDevice (Maybe Text)-gdAccessToken = lens _gdAccessToken (\ s a -> s{_gdAccessToken = a}) . mapping _Sensitive;+gdAccessToken = lens _gdAccessToken (\ s a -> s{_gdAccessToken = a}) . mapping _Sensitive  -- | The device key. gdDeviceKey :: Lens' GetDevice Text-gdDeviceKey = lens _gdDeviceKey (\ s a -> s{_gdDeviceKey = a});+gdDeviceKey = lens _gdDeviceKey (\ s a -> s{_gdDeviceKey = a})  instance AWSRequest GetDevice where         type Rs GetDevice = GetDeviceResponse@@ -138,15 +138,15 @@     -> GetDeviceResponse getDeviceResponse pResponseStatus_ pDevice_ =   GetDeviceResponse'-  {_gdrsResponseStatus = pResponseStatus_, _gdrsDevice = pDevice_}+    {_gdrsResponseStatus = pResponseStatus_, _gdrsDevice = pDevice_}   -- | -- | The response status code. gdrsResponseStatus :: Lens' GetDeviceResponse Int-gdrsResponseStatus = lens _gdrsResponseStatus (\ s a -> s{_gdrsResponseStatus = a});+gdrsResponseStatus = lens _gdrsResponseStatus (\ s a -> s{_gdrsResponseStatus = a})  -- | The device. gdrsDevice :: Lens' GetDeviceResponse DeviceType-gdrsDevice = lens _gdrsDevice (\ s a -> s{_gdrsDevice = a});+gdrsDevice = lens _gdrsDevice (\ s a -> s{_gdrsDevice = a})  instance NFData GetDeviceResponse where
gen/Network/AWS/CognitoIdentityProvider/GetGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -71,11 +71,11 @@  -- | The name of the group. ggGroupName :: Lens' GetGroup Text-ggGroupName = lens _ggGroupName (\ s a -> s{_ggGroupName = a});+ggGroupName = lens _ggGroupName (\ s a -> s{_ggGroupName = a})  -- | The user pool ID for the user pool. ggUserPoolId :: Lens' GetGroup Text-ggUserPoolId = lens _ggUserPoolId (\ s a -> s{_ggUserPoolId = a});+ggUserPoolId = lens _ggUserPoolId (\ s a -> s{_ggUserPoolId = a})  instance AWSRequest GetGroup where         type Rs GetGroup = GetGroupResponse@@ -132,15 +132,15 @@     -> GetGroupResponse getGroupResponse pResponseStatus_ =   GetGroupResponse'-  {_ggrsGroup = Nothing, _ggrsResponseStatus = pResponseStatus_}+    {_ggrsGroup = Nothing, _ggrsResponseStatus = pResponseStatus_}   -- | The group object for the group. ggrsGroup :: Lens' GetGroupResponse (Maybe GroupType)-ggrsGroup = lens _ggrsGroup (\ s a -> s{_ggrsGroup = a});+ggrsGroup = lens _ggrsGroup (\ s a -> s{_ggrsGroup = a})  -- | -- | The response status code. ggrsResponseStatus :: Lens' GetGroupResponse Int-ggrsResponseStatus = lens _ggrsResponseStatus (\ s a -> s{_ggrsResponseStatus = a});+ggrsResponseStatus = lens _ggrsResponseStatus (\ s a -> s{_ggrsResponseStatus = a})  instance NFData GetGroupResponse where
gen/Network/AWS/CognitoIdentityProvider/GetIdentityProviderByIdentifier.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetIdentityProviderByIdentifier--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -65,16 +65,16 @@     -> GetIdentityProviderByIdentifier getIdentityProviderByIdentifier pUserPoolId_ pIdpIdentifier_ =   GetIdentityProviderByIdentifier'-  {_gipbiUserPoolId = pUserPoolId_, _gipbiIdpIdentifier = pIdpIdentifier_}+    {_gipbiUserPoolId = pUserPoolId_, _gipbiIdpIdentifier = pIdpIdentifier_}   -- | The user pool ID. gipbiUserPoolId :: Lens' GetIdentityProviderByIdentifier Text-gipbiUserPoolId = lens _gipbiUserPoolId (\ s a -> s{_gipbiUserPoolId = a});+gipbiUserPoolId = lens _gipbiUserPoolId (\ s a -> s{_gipbiUserPoolId = a})  -- | The identity provider ID. gipbiIdpIdentifier :: Lens' GetIdentityProviderByIdentifier Text-gipbiIdpIdentifier = lens _gipbiIdpIdentifier (\ s a -> s{_gipbiIdpIdentifier = a});+gipbiIdpIdentifier = lens _gipbiIdpIdentifier (\ s a -> s{_gipbiIdpIdentifier = a})  instance AWSRequest GetIdentityProviderByIdentifier          where@@ -137,18 +137,18 @@     -> GetIdentityProviderByIdentifierResponse getIdentityProviderByIdentifierResponse pResponseStatus_ pIdentityProvider_ =   GetIdentityProviderByIdentifierResponse'-  { _gipbirsResponseStatus = pResponseStatus_-  , _gipbirsIdentityProvider = pIdentityProvider_-  }+    { _gipbirsResponseStatus = pResponseStatus_+    , _gipbirsIdentityProvider = pIdentityProvider_+    }   -- | -- | The response status code. gipbirsResponseStatus :: Lens' GetIdentityProviderByIdentifierResponse Int-gipbirsResponseStatus = lens _gipbirsResponseStatus (\ s a -> s{_gipbirsResponseStatus = a});+gipbirsResponseStatus = lens _gipbirsResponseStatus (\ s a -> s{_gipbirsResponseStatus = a})  -- | The identity provider object. gipbirsIdentityProvider :: Lens' GetIdentityProviderByIdentifierResponse IdentityProviderType-gipbirsIdentityProvider = lens _gipbirsIdentityProvider (\ s a -> s{_gipbirsIdentityProvider = a});+gipbirsIdentityProvider = lens _gipbirsIdentityProvider (\ s a -> s{_gipbirsIdentityProvider = a})  instance NFData            GetIdentityProviderByIdentifierResponse
+ gen/Network/AWS/CognitoIdentityProvider/GetSigningCertificate.hs view
@@ -0,0 +1,142 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.GetSigningCertificate+-- Copyright   : (c) 2013-2018 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)+--+-- This method takes a user pool ID, and returns the signing certificate.+--+--+module Network.AWS.CognitoIdentityProvider.GetSigningCertificate+    (+    -- * Creating a Request+      getSigningCertificate+    , GetSigningCertificate+    -- * Request Lenses+    , gscUserPoolId++    -- * Destructuring the Response+    , getSigningCertificateResponse+    , GetSigningCertificateResponse+    -- * Response Lenses+    , gscrsCertificate+    , gscrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Request to get a signing certificate from Cognito.+--+--+--+-- /See:/ 'getSigningCertificate' smart constructor.+newtype GetSigningCertificate = GetSigningCertificate'+  { _gscUserPoolId :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetSigningCertificate' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gscUserPoolId' - The user pool ID.+getSigningCertificate+    :: Text -- ^ 'gscUserPoolId'+    -> GetSigningCertificate+getSigningCertificate pUserPoolId_ =+  GetSigningCertificate' {_gscUserPoolId = pUserPoolId_}+++-- | The user pool ID.+gscUserPoolId :: Lens' GetSigningCertificate Text+gscUserPoolId = lens _gscUserPoolId (\ s a -> s{_gscUserPoolId = a})++instance AWSRequest GetSigningCertificate where+        type Rs GetSigningCertificate =+             GetSigningCertificateResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 GetSigningCertificateResponse' <$>+                   (x .?> "Certificate") <*> (pure (fromEnum s)))++instance Hashable GetSigningCertificate where++instance NFData GetSigningCertificate where++instance ToHeaders GetSigningCertificate where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.GetSigningCertificate"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON GetSigningCertificate where+        toJSON GetSigningCertificate'{..}+          = object+              (catMaybes [Just ("UserPoolId" .= _gscUserPoolId)])++instance ToPath GetSigningCertificate where+        toPath = const "/"++instance ToQuery GetSigningCertificate where+        toQuery = const mempty++-- | Response from Cognito for a signing certificate request.+--+--+--+-- /See:/ 'getSigningCertificateResponse' smart constructor.+data GetSigningCertificateResponse = GetSigningCertificateResponse'+  { _gscrsCertificate    :: !(Maybe Text)+  , _gscrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetSigningCertificateResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gscrsCertificate' - The signing certificate.+--+-- * 'gscrsResponseStatus' - -- | The response status code.+getSigningCertificateResponse+    :: Int -- ^ 'gscrsResponseStatus'+    -> GetSigningCertificateResponse+getSigningCertificateResponse pResponseStatus_ =+  GetSigningCertificateResponse'+    {_gscrsCertificate = Nothing, _gscrsResponseStatus = pResponseStatus_}+++-- | The signing certificate.+gscrsCertificate :: Lens' GetSigningCertificateResponse (Maybe Text)+gscrsCertificate = lens _gscrsCertificate (\ s a -> s{_gscrsCertificate = a})++-- | -- | The response status code.+gscrsResponseStatus :: Lens' GetSigningCertificateResponse Int+gscrsResponseStatus = lens _gscrsResponseStatus (\ s a -> s{_gscrsResponseStatus = a})++instance NFData GetSigningCertificateResponse where
gen/Network/AWS/CognitoIdentityProvider/GetUICustomization.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetUICustomization--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,11 +68,11 @@  -- | The client ID for the client app. guicClientId :: Lens' GetUICustomization (Maybe Text)-guicClientId = lens _guicClientId (\ s a -> s{_guicClientId = a}) . mapping _Sensitive;+guicClientId = lens _guicClientId (\ s a -> s{_guicClientId = a}) . mapping _Sensitive  -- | The user pool ID for the user pool. guicUserPoolId :: Lens' GetUICustomization Text-guicUserPoolId = lens _guicUserPoolId (\ s a -> s{_guicUserPoolId = a});+guicUserPoolId = lens _guicUserPoolId (\ s a -> s{_guicUserPoolId = a})  instance AWSRequest GetUICustomization where         type Rs GetUICustomization =@@ -131,17 +131,17 @@     -> GetUICustomizationResponse getUICustomizationResponse pResponseStatus_ pUICustomization_ =   GetUICustomizationResponse'-  { _guicrsResponseStatus = pResponseStatus_-  , _guicrsUICustomization = pUICustomization_-  }+    { _guicrsResponseStatus = pResponseStatus_+    , _guicrsUICustomization = pUICustomization_+    }   -- | -- | The response status code. guicrsResponseStatus :: Lens' GetUICustomizationResponse Int-guicrsResponseStatus = lens _guicrsResponseStatus (\ s a -> s{_guicrsResponseStatus = a});+guicrsResponseStatus = lens _guicrsResponseStatus (\ s a -> s{_guicrsResponseStatus = a})  -- | The UI customization information. guicrsUICustomization :: Lens' GetUICustomizationResponse UICustomizationType-guicrsUICustomization = lens _guicrsUICustomization (\ s a -> s{_guicrsUICustomization = a});+guicrsUICustomization = lens _guicrsUICustomization (\ s a -> s{_guicrsUICustomization = a})  instance NFData GetUICustomizationResponse where
gen/Network/AWS/CognitoIdentityProvider/GetUser.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetUser--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -33,7 +33,9 @@     , getUserResponse     , GetUserResponse     -- * Response Lenses+    , gursUserMFASettingList     , gursMFAOptions+    , gursPreferredMFASetting     , gursResponseStatus     , gursUsername     , gursUserAttributes@@ -69,7 +71,7 @@  -- | The access token returned by the server response to get information about the user. guAccessToken :: Lens' GetUser Text-guAccessToken = lens _guAccessToken (\ s a -> s{_guAccessToken = a}) . _Sensitive;+guAccessToken = lens _guAccessToken (\ s a -> s{_guAccessToken = a}) . _Sensitive  instance AWSRequest GetUser where         type Rs GetUser = GetUserResponse@@ -78,8 +80,10 @@           = receiveJSON               (\ s h x ->                  GetUserResponse' <$>-                   (x .?> "MFAOptions" .!@ mempty) <*>-                     (pure (fromEnum s))+                   (x .?> "UserMFASettingList" .!@ mempty) <*>+                     (x .?> "MFAOptions" .!@ mempty)+                     <*> (x .?> "PreferredMfaSetting")+                     <*> (pure (fromEnum s))                      <*> (x .:> "Username")                      <*> (x .?> "UserAttributes" .!@ mempty)) @@ -114,10 +118,12 @@ -- -- /See:/ 'getUserResponse' smart constructor. data GetUserResponse = GetUserResponse'-  { _gursMFAOptions     :: !(Maybe [MFAOptionType])-  , _gursResponseStatus :: !Int-  , _gursUsername       :: !(Sensitive Text)-  , _gursUserAttributes :: ![AttributeType]+  { _gursUserMFASettingList  :: !(Maybe [Text])+  , _gursMFAOptions          :: !(Maybe [MFAOptionType])+  , _gursPreferredMFASetting :: !(Maybe Text)+  , _gursResponseStatus      :: !Int+  , _gursUsername            :: !(Sensitive Text)+  , _gursUserAttributes      :: ![AttributeType]   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -125,8 +131,12 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'gursUserMFASettingList' - The list of the user's MFA settings.+-- -- * 'gursMFAOptions' - Specifies the options for MFA (e.g., email or phone number). --+-- * 'gursPreferredMFASetting' - The user's preferred MFA setting.+-- -- * 'gursResponseStatus' - -- | The response status code. -- -- * 'gursUsername' - The user name of the user you wish to retrieve from the get user request.@@ -138,27 +148,37 @@     -> GetUserResponse getUserResponse pResponseStatus_ pUsername_ =   GetUserResponse'-  { _gursMFAOptions = Nothing-  , _gursResponseStatus = pResponseStatus_-  , _gursUsername = _Sensitive # pUsername_-  , _gursUserAttributes = mempty-  }+    { _gursUserMFASettingList = Nothing+    , _gursMFAOptions = Nothing+    , _gursPreferredMFASetting = Nothing+    , _gursResponseStatus = pResponseStatus_+    , _gursUsername = _Sensitive # pUsername_+    , _gursUserAttributes = mempty+    }  +-- | The list of the user's MFA settings.+gursUserMFASettingList :: Lens' GetUserResponse [Text]+gursUserMFASettingList = lens _gursUserMFASettingList (\ s a -> s{_gursUserMFASettingList = a}) . _Default . _Coerce+ -- | Specifies the options for MFA (e.g., email or phone number). gursMFAOptions :: Lens' GetUserResponse [MFAOptionType]-gursMFAOptions = lens _gursMFAOptions (\ s a -> s{_gursMFAOptions = a}) . _Default . _Coerce;+gursMFAOptions = lens _gursMFAOptions (\ s a -> s{_gursMFAOptions = a}) . _Default . _Coerce +-- | The user's preferred MFA setting.+gursPreferredMFASetting :: Lens' GetUserResponse (Maybe Text)+gursPreferredMFASetting = lens _gursPreferredMFASetting (\ s a -> s{_gursPreferredMFASetting = a})+ -- | -- | The response status code. gursResponseStatus :: Lens' GetUserResponse Int-gursResponseStatus = lens _gursResponseStatus (\ s a -> s{_gursResponseStatus = a});+gursResponseStatus = lens _gursResponseStatus (\ s a -> s{_gursResponseStatus = a})  -- | The user name of the user you wish to retrieve from the get user request. gursUsername :: Lens' GetUserResponse Text-gursUsername = lens _gursUsername (\ s a -> s{_gursUsername = a}) . _Sensitive;+gursUsername = lens _gursUsername (\ s a -> s{_gursUsername = a}) . _Sensitive  -- | An array of name-value pairs representing user attributes. For custom attributes, you must prepend the @custom:@ prefix to the attribute name. gursUserAttributes :: Lens' GetUserResponse [AttributeType]-gursUserAttributes = lens _gursUserAttributes (\ s a -> s{_gursUserAttributes = a}) . _Coerce;+gursUserAttributes = lens _gursUserAttributes (\ s a -> s{_gursUserAttributes = a}) . _Coerce  instance NFData GetUserResponse where
gen/Network/AWS/CognitoIdentityProvider/GetUserAttributeVerificationCode.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GetUserAttributeVerificationCode--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,18 +69,18 @@     -> GetUserAttributeVerificationCode getUserAttributeVerificationCode pAccessToken_ pAttributeName_ =   GetUserAttributeVerificationCode'-  { _guavcAccessToken = _Sensitive # pAccessToken_-  , _guavcAttributeName = pAttributeName_-  }+    { _guavcAccessToken = _Sensitive # pAccessToken_+    , _guavcAttributeName = pAttributeName_+    }   -- | The access token returned by the server response to get the user attribute verification code. guavcAccessToken :: Lens' GetUserAttributeVerificationCode Text-guavcAccessToken = lens _guavcAccessToken (\ s a -> s{_guavcAccessToken = a}) . _Sensitive;+guavcAccessToken = lens _guavcAccessToken (\ s a -> s{_guavcAccessToken = a}) . _Sensitive  -- | The attribute name returned by the server response to get the user attribute verification code. guavcAttributeName :: Lens' GetUserAttributeVerificationCode Text-guavcAttributeName = lens _guavcAttributeName (\ s a -> s{_guavcAttributeName = a});+guavcAttributeName = lens _guavcAttributeName (\ s a -> s{_guavcAttributeName = a})  instance AWSRequest GetUserAttributeVerificationCode          where@@ -150,18 +150,18 @@     -> GetUserAttributeVerificationCodeResponse getUserAttributeVerificationCodeResponse pResponseStatus_ =   GetUserAttributeVerificationCodeResponse'-  { _guavcrsCodeDeliveryDetails = Nothing-  , _guavcrsResponseStatus = pResponseStatus_-  }+    { _guavcrsCodeDeliveryDetails = Nothing+    , _guavcrsResponseStatus = pResponseStatus_+    }   -- | The code delivery details returned by the server in response to the request to get the user attribute verification code. guavcrsCodeDeliveryDetails :: Lens' GetUserAttributeVerificationCodeResponse (Maybe CodeDeliveryDetailsType)-guavcrsCodeDeliveryDetails = lens _guavcrsCodeDeliveryDetails (\ s a -> s{_guavcrsCodeDeliveryDetails = a});+guavcrsCodeDeliveryDetails = lens _guavcrsCodeDeliveryDetails (\ s a -> s{_guavcrsCodeDeliveryDetails = a})  -- | -- | The response status code. guavcrsResponseStatus :: Lens' GetUserAttributeVerificationCodeResponse Int-guavcrsResponseStatus = lens _guavcrsResponseStatus (\ s a -> s{_guavcrsResponseStatus = a});+guavcrsResponseStatus = lens _guavcrsResponseStatus (\ s a -> s{_guavcrsResponseStatus = a})  instance NFData            GetUserAttributeVerificationCodeResponse
+ gen/Network/AWS/CognitoIdentityProvider/GetUserPoolMFAConfig.hs view
@@ -0,0 +1,157 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig+-- Copyright   : (c) 2013-2018 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)+--+-- Gets the user pool multi-factor authentication (MFA) configuration.+--+--+module Network.AWS.CognitoIdentityProvider.GetUserPoolMFAConfig+    (+    -- * Creating a Request+      getUserPoolMFAConfig+    , GetUserPoolMFAConfig+    -- * Request Lenses+    , gupmcUserPoolId++    -- * Destructuring the Response+    , getUserPoolMFAConfigResponse+    , GetUserPoolMFAConfigResponse+    -- * Response Lenses+    , gupmcrsSmsMFAConfiguration+    , gupmcrsSoftwareTokenMFAConfiguration+    , gupmcrsMFAConfiguration+    , gupmcrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'getUserPoolMFAConfig' smart constructor.+newtype GetUserPoolMFAConfig = GetUserPoolMFAConfig'+  { _gupmcUserPoolId :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetUserPoolMFAConfig' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gupmcUserPoolId' - The user pool ID.+getUserPoolMFAConfig+    :: Text -- ^ 'gupmcUserPoolId'+    -> GetUserPoolMFAConfig+getUserPoolMFAConfig pUserPoolId_ =+  GetUserPoolMFAConfig' {_gupmcUserPoolId = pUserPoolId_}+++-- | The user pool ID.+gupmcUserPoolId :: Lens' GetUserPoolMFAConfig Text+gupmcUserPoolId = lens _gupmcUserPoolId (\ s a -> s{_gupmcUserPoolId = a})++instance AWSRequest GetUserPoolMFAConfig where+        type Rs GetUserPoolMFAConfig =+             GetUserPoolMFAConfigResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 GetUserPoolMFAConfigResponse' <$>+                   (x .?> "SmsMfaConfiguration") <*>+                     (x .?> "SoftwareTokenMfaConfiguration")+                     <*> (x .?> "MfaConfiguration")+                     <*> (pure (fromEnum s)))++instance Hashable GetUserPoolMFAConfig where++instance NFData GetUserPoolMFAConfig where++instance ToHeaders GetUserPoolMFAConfig where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.GetUserPoolMfaConfig"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON GetUserPoolMFAConfig where+        toJSON GetUserPoolMFAConfig'{..}+          = object+              (catMaybes [Just ("UserPoolId" .= _gupmcUserPoolId)])++instance ToPath GetUserPoolMFAConfig where+        toPath = const "/"++instance ToQuery GetUserPoolMFAConfig where+        toQuery = const mempty++-- | /See:/ 'getUserPoolMFAConfigResponse' smart constructor.+data GetUserPoolMFAConfigResponse = GetUserPoolMFAConfigResponse'+  { _gupmcrsSmsMFAConfiguration           :: !(Maybe SmsMFAConfigType)+  , _gupmcrsSoftwareTokenMFAConfiguration :: !(Maybe SoftwareTokenMFAConfigType)+  , _gupmcrsMFAConfiguration              :: !(Maybe UserPoolMFAType)+  , _gupmcrsResponseStatus                :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetUserPoolMFAConfigResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gupmcrsSmsMFAConfiguration' - The SMS text message multi-factor (MFA) configuration.+--+-- * 'gupmcrsSoftwareTokenMFAConfiguration' - The software token multi-factor (MFA) configuration.+--+-- * 'gupmcrsMFAConfiguration' - The multi-factor (MFA) configuration.+--+-- * 'gupmcrsResponseStatus' - -- | The response status code.+getUserPoolMFAConfigResponse+    :: Int -- ^ 'gupmcrsResponseStatus'+    -> GetUserPoolMFAConfigResponse+getUserPoolMFAConfigResponse pResponseStatus_ =+  GetUserPoolMFAConfigResponse'+    { _gupmcrsSmsMFAConfiguration = Nothing+    , _gupmcrsSoftwareTokenMFAConfiguration = Nothing+    , _gupmcrsMFAConfiguration = Nothing+    , _gupmcrsResponseStatus = pResponseStatus_+    }+++-- | The SMS text message multi-factor (MFA) configuration.+gupmcrsSmsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType)+gupmcrsSmsMFAConfiguration = lens _gupmcrsSmsMFAConfiguration (\ s a -> s{_gupmcrsSmsMFAConfiguration = a})++-- | The software token multi-factor (MFA) configuration.+gupmcrsSoftwareTokenMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType)+gupmcrsSoftwareTokenMFAConfiguration = lens _gupmcrsSoftwareTokenMFAConfiguration (\ s a -> s{_gupmcrsSoftwareTokenMFAConfiguration = a})++-- | The multi-factor (MFA) configuration.+gupmcrsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe UserPoolMFAType)+gupmcrsMFAConfiguration = lens _gupmcrsMFAConfiguration (\ s a -> s{_gupmcrsMFAConfiguration = a})++-- | -- | The response status code.+gupmcrsResponseStatus :: Lens' GetUserPoolMFAConfigResponse Int+gupmcrsResponseStatus = lens _gupmcrsResponseStatus (\ s a -> s{_gupmcrsResponseStatus = a})++instance NFData GetUserPoolMFAConfigResponse where
gen/Network/AWS/CognitoIdentityProvider/GlobalSignOut.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.GlobalSignOut--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -67,7 +67,7 @@  -- | The access token. gsoAccessToken :: Lens' GlobalSignOut Text-gsoAccessToken = lens _gsoAccessToken (\ s a -> s{_gsoAccessToken = a}) . _Sensitive;+gsoAccessToken = lens _gsoAccessToken (\ s a -> s{_gsoAccessToken = a}) . _Sensitive  instance AWSRequest GlobalSignOut where         type Rs GlobalSignOut = GlobalSignOutResponse@@ -126,6 +126,6 @@  -- | -- | The response status code. gsorsResponseStatus :: Lens' GlobalSignOutResponse Int-gsorsResponseStatus = lens _gsorsResponseStatus (\ s a -> s{_gsorsResponseStatus = a});+gsorsResponseStatus = lens _gsorsResponseStatus (\ s a -> s{_gsorsResponseStatus = a})  instance NFData GlobalSignOutResponse where
gen/Network/AWS/CognitoIdentityProvider/InitiateAuth.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.InitiateAuth--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -28,6 +28,8 @@     , InitiateAuth     -- * Request Lenses     , iaClientMetadata+    , iaAnalyticsMetadata+    , iaUserContextData     , iaAuthParameters     , iaAuthFlow     , iaClientId@@ -56,10 +58,12 @@ -- -- /See:/ 'initiateAuth' smart constructor. data InitiateAuth = InitiateAuth'-  { _iaClientMetadata :: !(Maybe (Map Text Text))-  , _iaAuthParameters :: !(Maybe (Map Text Text))-  , _iaAuthFlow       :: !AuthFlowType-  , _iaClientId       :: !(Sensitive Text)+  { _iaClientMetadata    :: !(Maybe (Map Text Text))+  , _iaAnalyticsMetadata :: !(Maybe AnalyticsMetadataType)+  , _iaUserContextData   :: !(Maybe UserContextDataType)+  , _iaAuthParameters    :: !(Maybe (Map Text Text))+  , _iaAuthFlow          :: !AuthFlowType+  , _iaClientId          :: !(Sensitive Text)   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -69,10 +73,14 @@ -- -- * 'iaClientMetadata' - This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication. ----- * 'iaAuthParameters' - 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@ : @USERNAME@ (required), @SECRET_HASH@ (required if the app client is configured with a client secret), @REFRESH_TOKEN@ (required), @DEVICE_KEY@      * For @CUSTOM_AUTH@ : @USERNAME@ (required), @SECRET_HASH@ (if app client is configured with client secret), @DEVICE_KEY@+-- * 'iaAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @InitiateAuth@ calls. ----- * 'iaAuthFlow' - 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution. 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@ is not a valid value.+-- * 'iaUserContextData' - 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. --+-- * 'iaAuthParameters' - 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@+--+-- * 'iaAuthFlow' - 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution.     * @USER_PASSWORD_AUTH@ will take in @USERNAME@ and @PASSWORD@ 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_NO_SRP_AUTH@ is not a valid value.+-- -- * 'iaClientId' - The app client ID. initiateAuth     :: AuthFlowType -- ^ 'iaAuthFlow'@@ -80,28 +88,38 @@     -> InitiateAuth initiateAuth pAuthFlow_ pClientId_ =   InitiateAuth'-  { _iaClientMetadata = Nothing-  , _iaAuthParameters = Nothing-  , _iaAuthFlow = pAuthFlow_-  , _iaClientId = _Sensitive # pClientId_-  }+    { _iaClientMetadata = Nothing+    , _iaAnalyticsMetadata = Nothing+    , _iaUserContextData = Nothing+    , _iaAuthParameters = Nothing+    , _iaAuthFlow = pAuthFlow_+    , _iaClientId = _Sensitive # pClientId_+    }   -- | This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication. iaClientMetadata :: Lens' InitiateAuth (HashMap Text Text)-iaClientMetadata = lens _iaClientMetadata (\ s a -> s{_iaClientMetadata = a}) . _Default . _Map;+iaClientMetadata = lens _iaClientMetadata (\ s a -> s{_iaClientMetadata = a}) . _Default . _Map --- | 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@ : @USERNAME@ (required), @SECRET_HASH@ (required if the app client is configured with a client secret), @REFRESH_TOKEN@ (required), @DEVICE_KEY@      * For @CUSTOM_AUTH@ : @USERNAME@ (required), @SECRET_HASH@ (if app client is configured with client secret), @DEVICE_KEY@+-- | The Amazon Pinpoint analytics metadata for collecting metrics for @InitiateAuth@ calls.+iaAnalyticsMetadata :: Lens' InitiateAuth (Maybe AnalyticsMetadataType)+iaAnalyticsMetadata = lens _iaAnalyticsMetadata (\ s a -> s{_iaAnalyticsMetadata = a})++-- | 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.+iaUserContextData :: Lens' InitiateAuth (Maybe UserContextDataType)+iaUserContextData = lens _iaUserContextData (\ s a -> s{_iaUserContextData = a})++-- | 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@ iaAuthParameters :: Lens' InitiateAuth (HashMap Text Text)-iaAuthParameters = lens _iaAuthParameters (\ s a -> s{_iaAuthParameters = a}) . _Default . _Map;+iaAuthParameters = lens _iaAuthParameters (\ s a -> s{_iaAuthParameters = a}) . _Default . _Map --- | 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution. 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@ is not a valid value.+-- | 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 in @USERNAME@ and @SRP_A@ and return the SRP variables to be used for next challenge execution.     * @USER_PASSWORD_AUTH@ will take in @USERNAME@ and @PASSWORD@ 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_NO_SRP_AUTH@ is not a valid value. iaAuthFlow :: Lens' InitiateAuth AuthFlowType-iaAuthFlow = lens _iaAuthFlow (\ s a -> s{_iaAuthFlow = a});+iaAuthFlow = lens _iaAuthFlow (\ s a -> s{_iaAuthFlow = a})  -- | The app client ID. iaClientId :: Lens' InitiateAuth Text-iaClientId = lens _iaClientId (\ s a -> s{_iaClientId = a}) . _Sensitive;+iaClientId = lens _iaClientId (\ s a -> s{_iaClientId = a}) . _Sensitive  instance AWSRequest InitiateAuth where         type Rs InitiateAuth = InitiateAuthResponse@@ -135,6 +153,8 @@           = object               (catMaybes                  [("ClientMetadata" .=) <$> _iaClientMetadata,+                  ("AnalyticsMetadata" .=) <$> _iaAnalyticsMetadata,+                  ("UserContextData" .=) <$> _iaUserContextData,                   ("AuthParameters" .=) <$> _iaAuthParameters,                   Just ("AuthFlow" .= _iaAuthFlow),                   Just ("ClientId" .= _iaClientId)])@@ -169,7 +189,7 @@ -- -- * 'iarsAuthenticationResult' - 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. ----- * 'iarsSession' - The session which should be passed both ways in challenge-response calls to the service. If the <API_InitiateAuth.html InitiateAuth> or <API_RespondToAuthChallenge.html 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.+-- * 'iarsSession' - The session which should be passed both ways in challenge-response calls to the service. If the or 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. -- -- * 'iarsResponseStatus' - -- | The response status code. initiateAuthResponse@@ -177,32 +197,32 @@     -> InitiateAuthResponse initiateAuthResponse pResponseStatus_ =   InitiateAuthResponse'-  { _iarsChallengeName = Nothing-  , _iarsChallengeParameters = Nothing-  , _iarsAuthenticationResult = Nothing-  , _iarsSession = Nothing-  , _iarsResponseStatus = pResponseStatus_-  }+    { _iarsChallengeName = Nothing+    , _iarsChallengeParameters = Nothing+    , _iarsAuthenticationResult = Nothing+    , _iarsSession = Nothing+    , _iarsResponseStatus = pResponseStatus_+    }   -- | 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 an @SMS_MFA_CODE@ , delivered via SMS.     * @PASSWORD_VERIFIER@ : Next challenge is to supply @PASSWORD_CLAIM_SIGNATURE@ , @PASSWORD_CLAIM_SECRET_BLOCK@ , and @TIMESTAMP@ 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 to @PASSWORD_VERIFIER@ , but for devices only.     * @NEW_PASSWORD_REQUIRED@ : For users which are required to change their passwords after successful first login. This challenge should be passed with @NEW_PASSWORD@ and any other required attributes. iarsChallengeName :: Lens' InitiateAuthResponse (Maybe ChallengeNameType)-iarsChallengeName = lens _iarsChallengeName (\ s a -> s{_iarsChallengeName = a});+iarsChallengeName = lens _iarsChallengeName (\ s a -> s{_iarsChallengeName = a})  -- | 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). iarsChallengeParameters :: Lens' InitiateAuthResponse (HashMap Text Text)-iarsChallengeParameters = lens _iarsChallengeParameters (\ s a -> s{_iarsChallengeParameters = a}) . _Default . _Map;+iarsChallengeParameters = lens _iarsChallengeParameters (\ s a -> s{_iarsChallengeParameters = a}) . _Default . _Map  -- | 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. iarsAuthenticationResult :: Lens' InitiateAuthResponse (Maybe AuthenticationResultType)-iarsAuthenticationResult = lens _iarsAuthenticationResult (\ s a -> s{_iarsAuthenticationResult = a});+iarsAuthenticationResult = lens _iarsAuthenticationResult (\ s a -> s{_iarsAuthenticationResult = a}) --- | The session which should be passed both ways in challenge-response calls to the service. If the <API_InitiateAuth.html InitiateAuth> or <API_RespondToAuthChallenge.html 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.+-- | The session which should be passed both ways in challenge-response calls to the service. If the or 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. iarsSession :: Lens' InitiateAuthResponse (Maybe Text)-iarsSession = lens _iarsSession (\ s a -> s{_iarsSession = a});+iarsSession = lens _iarsSession (\ s a -> s{_iarsSession = a})  -- | -- | The response status code. iarsResponseStatus :: Lens' InitiateAuthResponse Int-iarsResponseStatus = lens _iarsResponseStatus (\ s a -> s{_iarsResponseStatus = a});+iarsResponseStatus = lens _iarsResponseStatus (\ s a -> s{_iarsResponseStatus = a})  instance NFData InitiateAuthResponse where
gen/Network/AWS/CognitoIdentityProvider/ListDevices.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListDevices--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,23 +73,23 @@     -> ListDevices listDevices pAccessToken_ =   ListDevices'-  { _ldPaginationToken = Nothing-  , _ldLimit = Nothing-  , _ldAccessToken = _Sensitive # pAccessToken_-  }+    { _ldPaginationToken = Nothing+    , _ldLimit = Nothing+    , _ldAccessToken = _Sensitive # pAccessToken_+    }   -- | The pagination token for the list request. ldPaginationToken :: Lens' ListDevices (Maybe Text)-ldPaginationToken = lens _ldPaginationToken (\ s a -> s{_ldPaginationToken = a});+ldPaginationToken = lens _ldPaginationToken (\ s a -> s{_ldPaginationToken = a})  -- | The limit of the device request. ldLimit :: Lens' ListDevices (Maybe Natural)-ldLimit = lens _ldLimit (\ s a -> s{_ldLimit = a}) . mapping _Nat;+ldLimit = lens _ldLimit (\ s a -> s{_ldLimit = a}) . mapping _Nat  -- | The access tokens for the request to list devices. ldAccessToken :: Lens' ListDevices Text-ldAccessToken = lens _ldAccessToken (\ s a -> s{_ldAccessToken = a}) . _Sensitive;+ldAccessToken = lens _ldAccessToken (\ s a -> s{_ldAccessToken = a}) . _Sensitive  instance AWSRequest ListDevices where         type Rs ListDevices = ListDevicesResponse@@ -156,22 +156,22 @@     -> ListDevicesResponse listDevicesResponse pResponseStatus_ =   ListDevicesResponse'-  { _ldrsPaginationToken = Nothing-  , _ldrsDevices = Nothing-  , _ldrsResponseStatus = pResponseStatus_-  }+    { _ldrsPaginationToken = Nothing+    , _ldrsDevices = Nothing+    , _ldrsResponseStatus = pResponseStatus_+    }   -- | The pagination token for the list device response. ldrsPaginationToken :: Lens' ListDevicesResponse (Maybe Text)-ldrsPaginationToken = lens _ldrsPaginationToken (\ s a -> s{_ldrsPaginationToken = a});+ldrsPaginationToken = lens _ldrsPaginationToken (\ s a -> s{_ldrsPaginationToken = a})  -- | The devices returned in the list devices response. ldrsDevices :: Lens' ListDevicesResponse [DeviceType]-ldrsDevices = lens _ldrsDevices (\ s a -> s{_ldrsDevices = a}) . _Default . _Coerce;+ldrsDevices = lens _ldrsDevices (\ s a -> s{_ldrsDevices = a}) . _Default . _Coerce  -- | -- | The response status code. ldrsResponseStatus :: Lens' ListDevicesResponse Int-ldrsResponseStatus = lens _ldrsResponseStatus (\ s a -> s{_ldrsResponseStatus = a});+ldrsResponseStatus = lens _ldrsResponseStatus (\ s a -> s{_ldrsResponseStatus = a})  instance NFData ListDevicesResponse where
gen/Network/AWS/CognitoIdentityProvider/ListGroups.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListGroups--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -71,20 +71,20 @@     -> ListGroups listGroups pUserPoolId_ =   ListGroups'-  {_lgNextToken = Nothing, _lgLimit = Nothing, _lgUserPoolId = pUserPoolId_}+    {_lgNextToken = Nothing, _lgLimit = Nothing, _lgUserPoolId = pUserPoolId_}   -- | 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. lgNextToken :: Lens' ListGroups (Maybe Text)-lgNextToken = lens _lgNextToken (\ s a -> s{_lgNextToken = a});+lgNextToken = lens _lgNextToken (\ s a -> s{_lgNextToken = a})  -- | The limit of the request to list groups. lgLimit :: Lens' ListGroups (Maybe Natural)-lgLimit = lens _lgLimit (\ s a -> s{_lgLimit = a}) . mapping _Nat;+lgLimit = lens _lgLimit (\ s a -> s{_lgLimit = a}) . mapping _Nat  -- | The user pool ID for the user pool. lgUserPoolId :: Lens' ListGroups Text-lgUserPoolId = lens _lgUserPoolId (\ s a -> s{_lgUserPoolId = a});+lgUserPoolId = lens _lgUserPoolId (\ s a -> s{_lgUserPoolId = a})  instance AWSRequest ListGroups where         type Rs ListGroups = ListGroupsResponse@@ -146,22 +146,22 @@     -> ListGroupsResponse listGroupsResponse pResponseStatus_ =   ListGroupsResponse'-  { _lgrsGroups = Nothing-  , _lgrsNextToken = Nothing-  , _lgrsResponseStatus = pResponseStatus_-  }+    { _lgrsGroups = Nothing+    , _lgrsNextToken = Nothing+    , _lgrsResponseStatus = pResponseStatus_+    }   -- | The group objects for the groups. lgrsGroups :: Lens' ListGroupsResponse [GroupType]-lgrsGroups = lens _lgrsGroups (\ s a -> s{_lgrsGroups = a}) . _Default . _Coerce;+lgrsGroups = lens _lgrsGroups (\ s a -> s{_lgrsGroups = a}) . _Default . _Coerce  -- | 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. lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text)-lgrsNextToken = lens _lgrsNextToken (\ s a -> s{_lgrsNextToken = a});+lgrsNextToken = lens _lgrsNextToken (\ s a -> s{_lgrsNextToken = a})  -- | -- | The response status code. lgrsResponseStatus :: Lens' ListGroupsResponse Int-lgrsResponseStatus = lens _lgrsResponseStatus (\ s a -> s{_lgrsResponseStatus = a});+lgrsResponseStatus = lens _lgrsResponseStatus (\ s a -> s{_lgrsResponseStatus = a})  instance NFData ListGroupsResponse where
gen/Network/AWS/CognitoIdentityProvider/ListIdentityProviders.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListIdentityProviders--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,23 +69,23 @@     -> ListIdentityProviders listIdentityProviders pUserPoolId_ =   ListIdentityProviders'-  { _lipNextToken = Nothing-  , _lipMaxResults = Nothing-  , _lipUserPoolId = pUserPoolId_-  }+    { _lipNextToken = Nothing+    , _lipMaxResults = Nothing+    , _lipUserPoolId = pUserPoolId_+    }   -- | A pagination token. lipNextToken :: Lens' ListIdentityProviders (Maybe Text)-lipNextToken = lens _lipNextToken (\ s a -> s{_lipNextToken = a});+lipNextToken = lens _lipNextToken (\ s a -> s{_lipNextToken = a})  -- | The maximum number of identity providers to return. lipMaxResults :: Lens' ListIdentityProviders (Maybe Natural)-lipMaxResults = lens _lipMaxResults (\ s a -> s{_lipMaxResults = a}) . mapping _Nat;+lipMaxResults = lens _lipMaxResults (\ s a -> s{_lipMaxResults = a}) . mapping _Nat  -- | The user pool ID. lipUserPoolId :: Lens' ListIdentityProviders Text-lipUserPoolId = lens _lipUserPoolId (\ s a -> s{_lipUserPoolId = a});+lipUserPoolId = lens _lipUserPoolId (\ s a -> s{_lipUserPoolId = a})  instance AWSRequest ListIdentityProviders where         type Rs ListIdentityProviders =@@ -148,22 +148,22 @@     -> ListIdentityProvidersResponse listIdentityProvidersResponse pResponseStatus_ =   ListIdentityProvidersResponse'-  { _liprsNextToken = Nothing-  , _liprsResponseStatus = pResponseStatus_-  , _liprsProviders = mempty-  }+    { _liprsNextToken = Nothing+    , _liprsResponseStatus = pResponseStatus_+    , _liprsProviders = mempty+    }   -- | A pagination token. liprsNextToken :: Lens' ListIdentityProvidersResponse (Maybe Text)-liprsNextToken = lens _liprsNextToken (\ s a -> s{_liprsNextToken = a});+liprsNextToken = lens _liprsNextToken (\ s a -> s{_liprsNextToken = a})  -- | -- | The response status code. liprsResponseStatus :: Lens' ListIdentityProvidersResponse Int-liprsResponseStatus = lens _liprsResponseStatus (\ s a -> s{_liprsResponseStatus = a});+liprsResponseStatus = lens _liprsResponseStatus (\ s a -> s{_liprsResponseStatus = a})  -- | A list of identity provider objects. liprsProviders :: Lens' ListIdentityProvidersResponse [ProviderDescription]-liprsProviders = lens _liprsProviders (\ s a -> s{_liprsProviders = a}) . _Coerce;+liprsProviders = lens _liprsProviders (\ s a -> s{_liprsProviders = a}) . _Coerce  instance NFData ListIdentityProvidersResponse where
gen/Network/AWS/CognitoIdentityProvider/ListResourceServers.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListResourceServers--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,23 +69,23 @@     -> ListResourceServers listResourceServers pUserPoolId_ =   ListResourceServers'-  { _lrsNextToken = Nothing-  , _lrsMaxResults = Nothing-  , _lrsUserPoolId = pUserPoolId_-  }+    { _lrsNextToken = Nothing+    , _lrsMaxResults = Nothing+    , _lrsUserPoolId = pUserPoolId_+    }   -- | A pagination token. lrsNextToken :: Lens' ListResourceServers (Maybe Text)-lrsNextToken = lens _lrsNextToken (\ s a -> s{_lrsNextToken = a});+lrsNextToken = lens _lrsNextToken (\ s a -> s{_lrsNextToken = a})  -- | The maximum number of resource servers to return. lrsMaxResults :: Lens' ListResourceServers (Maybe Natural)-lrsMaxResults = lens _lrsMaxResults (\ s a -> s{_lrsMaxResults = a}) . mapping _Nat;+lrsMaxResults = lens _lrsMaxResults (\ s a -> s{_lrsMaxResults = a}) . mapping _Nat  -- | The user pool ID for the user pool. lrsUserPoolId :: Lens' ListResourceServers Text-lrsUserPoolId = lens _lrsUserPoolId (\ s a -> s{_lrsUserPoolId = a});+lrsUserPoolId = lens _lrsUserPoolId (\ s a -> s{_lrsUserPoolId = a})  instance AWSRequest ListResourceServers where         type Rs ListResourceServers =@@ -148,22 +148,22 @@     -> ListResourceServersResponse listResourceServersResponse pResponseStatus_ =   ListResourceServersResponse'-  { _lrsrsNextToken = Nothing-  , _lrsrsResponseStatus = pResponseStatus_-  , _lrsrsResourceServers = mempty-  }+    { _lrsrsNextToken = Nothing+    , _lrsrsResponseStatus = pResponseStatus_+    , _lrsrsResourceServers = mempty+    }   -- | A pagination token. lrsrsNextToken :: Lens' ListResourceServersResponse (Maybe Text)-lrsrsNextToken = lens _lrsrsNextToken (\ s a -> s{_lrsrsNextToken = a});+lrsrsNextToken = lens _lrsrsNextToken (\ s a -> s{_lrsrsNextToken = a})  -- | -- | The response status code. lrsrsResponseStatus :: Lens' ListResourceServersResponse Int-lrsrsResponseStatus = lens _lrsrsResponseStatus (\ s a -> s{_lrsrsResponseStatus = a});+lrsrsResponseStatus = lens _lrsrsResponseStatus (\ s a -> s{_lrsrsResponseStatus = a})  -- | The resource servers. lrsrsResourceServers :: Lens' ListResourceServersResponse [ResourceServerType]-lrsrsResourceServers = lens _lrsrsResourceServers (\ s a -> s{_lrsrsResourceServers = a}) . _Coerce;+lrsrsResourceServers = lens _lrsrsResourceServers (\ s a -> s{_lrsrsResourceServers = a}) . _Coerce  instance NFData ListResourceServersResponse where
gen/Network/AWS/CognitoIdentityProvider/ListUserImportJobs.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListUserImportJobs--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,23 +74,23 @@     -> ListUserImportJobs listUserImportJobs pUserPoolId_ pMaxResults_ =   ListUserImportJobs'-  { _luijPaginationToken = Nothing-  , _luijUserPoolId = pUserPoolId_-  , _luijMaxResults = _Nat # pMaxResults_-  }+    { _luijPaginationToken = Nothing+    , _luijUserPoolId = pUserPoolId_+    , _luijMaxResults = _Nat # pMaxResults_+    }   -- | An identifier that was returned from the previous call to @ListUserImportJobs@ , which can be used to return the next set of import jobs in the list. luijPaginationToken :: Lens' ListUserImportJobs (Maybe Text)-luijPaginationToken = lens _luijPaginationToken (\ s a -> s{_luijPaginationToken = a});+luijPaginationToken = lens _luijPaginationToken (\ s a -> s{_luijPaginationToken = a})  -- | The user pool ID for the user pool that the users are being imported into. luijUserPoolId :: Lens' ListUserImportJobs Text-luijUserPoolId = lens _luijUserPoolId (\ s a -> s{_luijUserPoolId = a});+luijUserPoolId = lens _luijUserPoolId (\ s a -> s{_luijUserPoolId = a})  -- | The maximum number of import jobs you want the request to return. luijMaxResults :: Lens' ListUserImportJobs Natural-luijMaxResults = lens _luijMaxResults (\ s a -> s{_luijMaxResults = a}) . _Nat;+luijMaxResults = lens _luijMaxResults (\ s a -> s{_luijMaxResults = a}) . _Nat  instance AWSRequest ListUserImportJobs where         type Rs ListUserImportJobs =@@ -158,22 +158,22 @@     -> ListUserImportJobsResponse listUserImportJobsResponse pResponseStatus_ =   ListUserImportJobsResponse'-  { _luijrsPaginationToken = Nothing-  , _luijrsUserImportJobs = Nothing-  , _luijrsResponseStatus = pResponseStatus_-  }+    { _luijrsPaginationToken = Nothing+    , _luijrsUserImportJobs = Nothing+    , _luijrsResponseStatus = pResponseStatus_+    }   -- | An identifier that can be used to return the next set of user import jobs in the list. luijrsPaginationToken :: Lens' ListUserImportJobsResponse (Maybe Text)-luijrsPaginationToken = lens _luijrsPaginationToken (\ s a -> s{_luijrsPaginationToken = a});+luijrsPaginationToken = lens _luijrsPaginationToken (\ s a -> s{_luijrsPaginationToken = a})  -- | The user import jobs. luijrsUserImportJobs :: Lens' ListUserImportJobsResponse (Maybe (NonEmpty UserImportJobType))-luijrsUserImportJobs = lens _luijrsUserImportJobs (\ s a -> s{_luijrsUserImportJobs = a}) . mapping _List1;+luijrsUserImportJobs = lens _luijrsUserImportJobs (\ s a -> s{_luijrsUserImportJobs = a}) . mapping _List1  -- | -- | The response status code. luijrsResponseStatus :: Lens' ListUserImportJobsResponse Int-luijrsResponseStatus = lens _luijrsResponseStatus (\ s a -> s{_luijrsResponseStatus = a});+luijrsResponseStatus = lens _luijrsResponseStatus (\ s a -> s{_luijrsResponseStatus = a})  instance NFData ListUserImportJobsResponse where
gen/Network/AWS/CognitoIdentityProvider/ListUserPoolClients.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListUserPoolClients--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,23 +73,23 @@     -> ListUserPoolClients listUserPoolClients pUserPoolId_ =   ListUserPoolClients'-  { _lupcNextToken = Nothing-  , _lupcMaxResults = Nothing-  , _lupcUserPoolId = pUserPoolId_-  }+    { _lupcNextToken = Nothing+    , _lupcMaxResults = Nothing+    , _lupcUserPoolId = pUserPoolId_+    }   -- | An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. lupcNextToken :: Lens' ListUserPoolClients (Maybe Text)-lupcNextToken = lens _lupcNextToken (\ s a -> s{_lupcNextToken = a});+lupcNextToken = lens _lupcNextToken (\ s a -> s{_lupcNextToken = a})  -- | The maximum number of results you want the request to return when listing the user pool clients. lupcMaxResults :: Lens' ListUserPoolClients (Maybe Natural)-lupcMaxResults = lens _lupcMaxResults (\ s a -> s{_lupcMaxResults = a}) . mapping _Nat;+lupcMaxResults = lens _lupcMaxResults (\ s a -> s{_lupcMaxResults = a}) . mapping _Nat  -- | The user pool ID for the user pool where you want to list user pool clients. lupcUserPoolId :: Lens' ListUserPoolClients Text-lupcUserPoolId = lens _lupcUserPoolId (\ s a -> s{_lupcUserPoolId = a});+lupcUserPoolId = lens _lupcUserPoolId (\ s a -> s{_lupcUserPoolId = a})  instance AWSRequest ListUserPoolClients where         type Rs ListUserPoolClients =@@ -157,22 +157,22 @@     -> ListUserPoolClientsResponse listUserPoolClientsResponse pResponseStatus_ =   ListUserPoolClientsResponse'-  { _lupcrsNextToken = Nothing-  , _lupcrsUserPoolClients = Nothing-  , _lupcrsResponseStatus = pResponseStatus_-  }+    { _lupcrsNextToken = Nothing+    , _lupcrsUserPoolClients = Nothing+    , _lupcrsResponseStatus = pResponseStatus_+    }   -- | An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. lupcrsNextToken :: Lens' ListUserPoolClientsResponse (Maybe Text)-lupcrsNextToken = lens _lupcrsNextToken (\ s a -> s{_lupcrsNextToken = a});+lupcrsNextToken = lens _lupcrsNextToken (\ s a -> s{_lupcrsNextToken = a})  -- | The user pool clients in the response that lists user pool clients. lupcrsUserPoolClients :: Lens' ListUserPoolClientsResponse [UserPoolClientDescription]-lupcrsUserPoolClients = lens _lupcrsUserPoolClients (\ s a -> s{_lupcrsUserPoolClients = a}) . _Default . _Coerce;+lupcrsUserPoolClients = lens _lupcrsUserPoolClients (\ s a -> s{_lupcrsUserPoolClients = a}) . _Default . _Coerce  -- | -- | The response status code. lupcrsResponseStatus :: Lens' ListUserPoolClientsResponse Int-lupcrsResponseStatus = lens _lupcrsResponseStatus (\ s a -> s{_lupcrsResponseStatus = a});+lupcrsResponseStatus = lens _lupcrsResponseStatus (\ s a -> s{_lupcrsResponseStatus = a})  instance NFData ListUserPoolClientsResponse where
gen/Network/AWS/CognitoIdentityProvider/ListUserPools.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListUserPools--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,11 +73,11 @@  -- | An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. lupNextToken :: Lens' ListUserPools (Maybe Text)-lupNextToken = lens _lupNextToken (\ s a -> s{_lupNextToken = a});+lupNextToken = lens _lupNextToken (\ s a -> s{_lupNextToken = a})  -- | The maximum number of results you want the request to return when listing the user pools. lupMaxResults :: Lens' ListUserPools Natural-lupMaxResults = lens _lupMaxResults (\ s a -> s{_lupMaxResults = a}) . _Nat;+lupMaxResults = lens _lupMaxResults (\ s a -> s{_lupMaxResults = a}) . _Nat  instance AWSRequest ListUserPools where         type Rs ListUserPools = ListUserPoolsResponse@@ -143,22 +143,22 @@     -> ListUserPoolsResponse listUserPoolsResponse pResponseStatus_ =   ListUserPoolsResponse'-  { _luprsUserPools = Nothing-  , _luprsNextToken = Nothing-  , _luprsResponseStatus = pResponseStatus_-  }+    { _luprsUserPools = Nothing+    , _luprsNextToken = Nothing+    , _luprsResponseStatus = pResponseStatus_+    }   -- | The user pools from the response to list users. luprsUserPools :: Lens' ListUserPoolsResponse [UserPoolDescriptionType]-luprsUserPools = lens _luprsUserPools (\ s a -> s{_luprsUserPools = a}) . _Default . _Coerce;+luprsUserPools = lens _luprsUserPools (\ s a -> s{_luprsUserPools = a}) . _Default . _Coerce  -- | An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. luprsNextToken :: Lens' ListUserPoolsResponse (Maybe Text)-luprsNextToken = lens _luprsNextToken (\ s a -> s{_luprsNextToken = a});+luprsNextToken = lens _luprsNextToken (\ s a -> s{_luprsNextToken = a})  -- | -- | The response status code. luprsResponseStatus :: Lens' ListUserPoolsResponse Int-luprsResponseStatus = lens _luprsResponseStatus (\ s a -> s{_luprsResponseStatus = a});+luprsResponseStatus = lens _luprsResponseStatus (\ s a -> s{_luprsResponseStatus = a})  instance NFData ListUserPoolsResponse where
gen/Network/AWS/CognitoIdentityProvider/ListUsers.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListUsers--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,11 +69,11 @@ -- -- * 'luPaginationToken' - 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. ----- * 'luAttributesToGet' - 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 empty, all attributes are returned.+-- * 'luAttributesToGet' - 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. -- -- * 'luLimit' - Maximum number of users to be returned. ----- * 'luFilter' - 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 __Enabled__ in the Console) (case-sensitive)     * @status@ (case-insensitive) Custom attributes are not searchable. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api Searching for Users Using the ListUsers API> and <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples Examples of Using the ListUsers API> in the /Amazon Cognito Developer Guide/ .+-- * 'luFilter' - 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 __Enabled__ in the Console) (case-sensitive)     * @status@ (case-insensitive)     * @sub@  Custom attributes are not searchable. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api Searching for Users Using the ListUsers API> and <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples Examples of Using the ListUsers API> in the /Amazon Cognito Developer Guide/ . -- -- * 'luUserPoolId' - The user pool ID for the user pool on which the search should be performed. listUsers@@ -81,33 +81,33 @@     -> ListUsers listUsers pUserPoolId_ =   ListUsers'-  { _luPaginationToken = Nothing-  , _luAttributesToGet = Nothing-  , _luLimit = Nothing-  , _luFilter = Nothing-  , _luUserPoolId = pUserPoolId_-  }+    { _luPaginationToken = Nothing+    , _luAttributesToGet = Nothing+    , _luLimit = Nothing+    , _luFilter = Nothing+    , _luUserPoolId = pUserPoolId_+    }   -- | An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. luPaginationToken :: Lens' ListUsers (Maybe Text)-luPaginationToken = lens _luPaginationToken (\ s a -> s{_luPaginationToken = a});+luPaginationToken = lens _luPaginationToken (\ s a -> s{_luPaginationToken = a}) --- | 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 empty, all attributes are returned.+-- | 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. luAttributesToGet :: Lens' ListUsers [Text]-luAttributesToGet = lens _luAttributesToGet (\ s a -> s{_luAttributesToGet = a}) . _Default . _Coerce;+luAttributesToGet = lens _luAttributesToGet (\ s a -> s{_luAttributesToGet = a}) . _Default . _Coerce  -- | Maximum number of users to be returned. luLimit :: Lens' ListUsers (Maybe Natural)-luLimit = lens _luLimit (\ s a -> s{_luLimit = a}) . mapping _Nat;+luLimit = lens _luLimit (\ s a -> s{_luLimit = a}) . mapping _Nat --- | 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 __Enabled__ in the Console) (case-sensitive)     * @status@ (case-insensitive) Custom attributes are not searchable. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api Searching for Users Using the ListUsers API> and <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples Examples of Using the ListUsers API> in the /Amazon Cognito Developer Guide/ .+-- | 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 __Enabled__ in the Console) (case-sensitive)     * @status@ (case-insensitive)     * @sub@  Custom attributes are not searchable. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api Searching for Users Using the ListUsers API> and <http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples Examples of Using the ListUsers API> in the /Amazon Cognito Developer Guide/ . luFilter :: Lens' ListUsers (Maybe Text)-luFilter = lens _luFilter (\ s a -> s{_luFilter = a});+luFilter = lens _luFilter (\ s a -> s{_luFilter = a})  -- | The user pool ID for the user pool on which the search should be performed. luUserPoolId :: Lens' ListUsers Text-luUserPoolId = lens _luUserPoolId (\ s a -> s{_luUserPoolId = a});+luUserPoolId = lens _luUserPoolId (\ s a -> s{_luUserPoolId = a})  instance AWSRequest ListUsers where         type Rs ListUsers = ListUsersResponse@@ -176,22 +176,22 @@     -> ListUsersResponse listUsersResponse pResponseStatus_ =   ListUsersResponse'-  { _lursPaginationToken = Nothing-  , _lursUsers = Nothing-  , _lursResponseStatus = pResponseStatus_-  }+    { _lursPaginationToken = Nothing+    , _lursUsers = Nothing+    , _lursResponseStatus = pResponseStatus_+    }   -- | An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. lursPaginationToken :: Lens' ListUsersResponse (Maybe Text)-lursPaginationToken = lens _lursPaginationToken (\ s a -> s{_lursPaginationToken = a});+lursPaginationToken = lens _lursPaginationToken (\ s a -> s{_lursPaginationToken = a})  -- | The users returned in the request to list users. lursUsers :: Lens' ListUsersResponse [UserType]-lursUsers = lens _lursUsers (\ s a -> s{_lursUsers = a}) . _Default . _Coerce;+lursUsers = lens _lursUsers (\ s a -> s{_lursUsers = a}) . _Default . _Coerce  -- | -- | The response status code. lursResponseStatus :: Lens' ListUsersResponse Int-lursResponseStatus = lens _lursResponseStatus (\ s a -> s{_lursResponseStatus = a});+lursResponseStatus = lens _lursResponseStatus (\ s a -> s{_lursResponseStatus = a})  instance NFData ListUsersResponse where
gen/Network/AWS/CognitoIdentityProvider/ListUsersInGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ListUsersInGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -76,28 +76,28 @@     -> ListUsersInGroup listUsersInGroup pUserPoolId_ pGroupName_ =   ListUsersInGroup'-  { _luigNextToken = Nothing-  , _luigLimit = Nothing-  , _luigUserPoolId = pUserPoolId_-  , _luigGroupName = pGroupName_-  }+    { _luigNextToken = Nothing+    , _luigLimit = Nothing+    , _luigUserPoolId = pUserPoolId_+    , _luigGroupName = pGroupName_+    }   -- | 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. luigNextToken :: Lens' ListUsersInGroup (Maybe Text)-luigNextToken = lens _luigNextToken (\ s a -> s{_luigNextToken = a});+luigNextToken = lens _luigNextToken (\ s a -> s{_luigNextToken = a})  -- | The limit of the request to list users. luigLimit :: Lens' ListUsersInGroup (Maybe Natural)-luigLimit = lens _luigLimit (\ s a -> s{_luigLimit = a}) . mapping _Nat;+luigLimit = lens _luigLimit (\ s a -> s{_luigLimit = a}) . mapping _Nat  -- | The user pool ID for the user pool. luigUserPoolId :: Lens' ListUsersInGroup Text-luigUserPoolId = lens _luigUserPoolId (\ s a -> s{_luigUserPoolId = a});+luigUserPoolId = lens _luigUserPoolId (\ s a -> s{_luigUserPoolId = a})  -- | The name of the group. luigGroupName :: Lens' ListUsersInGroup Text-luigGroupName = lens _luigGroupName (\ s a -> s{_luigGroupName = a});+luigGroupName = lens _luigGroupName (\ s a -> s{_luigGroupName = a})  instance AWSRequest ListUsersInGroup where         type Rs ListUsersInGroup = ListUsersInGroupResponse@@ -160,22 +160,22 @@     -> ListUsersInGroupResponse listUsersInGroupResponse pResponseStatus_ =   ListUsersInGroupResponse'-  { _luigrsUsers = Nothing-  , _luigrsNextToken = Nothing-  , _luigrsResponseStatus = pResponseStatus_-  }+    { _luigrsUsers = Nothing+    , _luigrsNextToken = Nothing+    , _luigrsResponseStatus = pResponseStatus_+    }   -- | The users returned in the request to list users. luigrsUsers :: Lens' ListUsersInGroupResponse [UserType]-luigrsUsers = lens _luigrsUsers (\ s a -> s{_luigrsUsers = a}) . _Default . _Coerce;+luigrsUsers = lens _luigrsUsers (\ s a -> s{_luigrsUsers = a}) . _Default . _Coerce  -- | 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. luigrsNextToken :: Lens' ListUsersInGroupResponse (Maybe Text)-luigrsNextToken = lens _luigrsNextToken (\ s a -> s{_luigrsNextToken = a});+luigrsNextToken = lens _luigrsNextToken (\ s a -> s{_luigrsNextToken = a})  -- | -- | The response status code. luigrsResponseStatus :: Lens' ListUsersInGroupResponse Int-luigrsResponseStatus = lens _luigrsResponseStatus (\ s a -> s{_luigrsResponseStatus = a});+luigrsResponseStatus = lens _luigrsResponseStatus (\ s a -> s{_luigrsResponseStatus = a})  instance NFData ListUsersInGroupResponse where
gen/Network/AWS/CognitoIdentityProvider/ResendConfirmationCode.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.ResendConfirmationCode--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -27,6 +27,8 @@       resendConfirmationCode     , ResendConfirmationCode     -- * Request Lenses+    , rccAnalyticsMetadata+    , rccUserContextData     , rccSecretHash     , rccClientId     , rccUsername@@ -52,9 +54,11 @@ -- -- /See:/ 'resendConfirmationCode' smart constructor. data ResendConfirmationCode = ResendConfirmationCode'-  { _rccSecretHash :: !(Maybe (Sensitive Text))-  , _rccClientId   :: !(Sensitive Text)-  , _rccUsername   :: !(Sensitive Text)+  { _rccAnalyticsMetadata :: !(Maybe AnalyticsMetadataType)+  , _rccUserContextData   :: !(Maybe UserContextDataType)+  , _rccSecretHash        :: !(Maybe (Sensitive Text))+  , _rccClientId          :: !(Sensitive Text)+  , _rccUsername          :: !(Sensitive Text)   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -62,6 +66,10 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'rccAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @ResendConfirmationCode@ calls.+--+-- * 'rccUserContextData' - 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.+-- -- * 'rccSecretHash' - 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. -- -- * 'rccClientId' - The ID of the client associated with the user pool.@@ -73,23 +81,33 @@     -> ResendConfirmationCode resendConfirmationCode pClientId_ pUsername_ =   ResendConfirmationCode'-  { _rccSecretHash = Nothing-  , _rccClientId = _Sensitive # pClientId_-  , _rccUsername = _Sensitive # pUsername_-  }+    { _rccAnalyticsMetadata = Nothing+    , _rccUserContextData = Nothing+    , _rccSecretHash = Nothing+    , _rccClientId = _Sensitive # pClientId_+    , _rccUsername = _Sensitive # pUsername_+    }  +-- | The Amazon Pinpoint analytics metadata for collecting metrics for @ResendConfirmationCode@ calls.+rccAnalyticsMetadata :: Lens' ResendConfirmationCode (Maybe AnalyticsMetadataType)+rccAnalyticsMetadata = lens _rccAnalyticsMetadata (\ s a -> s{_rccAnalyticsMetadata = a})++-- | 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.+rccUserContextData :: Lens' ResendConfirmationCode (Maybe UserContextDataType)+rccUserContextData = lens _rccUserContextData (\ s a -> s{_rccUserContextData = a})+ -- | A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. rccSecretHash :: Lens' ResendConfirmationCode (Maybe Text)-rccSecretHash = lens _rccSecretHash (\ s a -> s{_rccSecretHash = a}) . mapping _Sensitive;+rccSecretHash = lens _rccSecretHash (\ s a -> s{_rccSecretHash = a}) . mapping _Sensitive  -- | The ID of the client associated with the user pool. rccClientId :: Lens' ResendConfirmationCode Text-rccClientId = lens _rccClientId (\ s a -> s{_rccClientId = a}) . _Sensitive;+rccClientId = lens _rccClientId (\ s a -> s{_rccClientId = a}) . _Sensitive  -- | The user name of the user to whom you wish to resend a confirmation code. rccUsername :: Lens' ResendConfirmationCode Text-rccUsername = lens _rccUsername (\ s a -> s{_rccUsername = a}) . _Sensitive;+rccUsername = lens _rccUsername (\ s a -> s{_rccUsername = a}) . _Sensitive  instance AWSRequest ResendConfirmationCode where         type Rs ResendConfirmationCode =@@ -120,7 +138,9 @@         toJSON ResendConfirmationCode'{..}           = object               (catMaybes-                 [("SecretHash" .=) <$> _rccSecretHash,+                 [("AnalyticsMetadata" .=) <$> _rccAnalyticsMetadata,+                  ("UserContextData" .=) <$> _rccUserContextData,+                  ("SecretHash" .=) <$> _rccSecretHash,                   Just ("ClientId" .= _rccClientId),                   Just ("Username" .= _rccUsername)]) @@ -153,15 +173,17 @@     -> ResendConfirmationCodeResponse resendConfirmationCodeResponse pResponseStatus_ =   ResendConfirmationCodeResponse'-  {_rccrsCodeDeliveryDetails = Nothing, _rccrsResponseStatus = pResponseStatus_}+    { _rccrsCodeDeliveryDetails = Nothing+    , _rccrsResponseStatus = pResponseStatus_+    }   -- | The code delivery details returned by the server in response to the request to resend the confirmation code. rccrsCodeDeliveryDetails :: Lens' ResendConfirmationCodeResponse (Maybe CodeDeliveryDetailsType)-rccrsCodeDeliveryDetails = lens _rccrsCodeDeliveryDetails (\ s a -> s{_rccrsCodeDeliveryDetails = a});+rccrsCodeDeliveryDetails = lens _rccrsCodeDeliveryDetails (\ s a -> s{_rccrsCodeDeliveryDetails = a})  -- | -- | The response status code. rccrsResponseStatus :: Lens' ResendConfirmationCodeResponse Int-rccrsResponseStatus = lens _rccrsResponseStatus (\ s a -> s{_rccrsResponseStatus = a});+rccrsResponseStatus = lens _rccrsResponseStatus (\ s a -> s{_rccrsResponseStatus = a})  instance NFData ResendConfirmationCodeResponse where
gen/Network/AWS/CognitoIdentityProvider/RespondToAuthChallenge.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.RespondToAuthChallenge--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -27,7 +27,9 @@       respondToAuthChallenge     , RespondToAuthChallenge     -- * Request Lenses+    , rtacAnalyticsMetadata     , rtacChallengeResponses+    , rtacUserContextData     , rtacSession     , rtacClientId     , rtacChallengeName@@ -56,7 +58,9 @@ -- -- /See:/ 'respondToAuthChallenge' smart constructor. data RespondToAuthChallenge = RespondToAuthChallenge'-  { _rtacChallengeResponses :: !(Maybe (Map Text Text))+  { _rtacAnalyticsMetadata  :: !(Maybe AnalyticsMetadataType)+  , _rtacChallengeResponses :: !(Maybe (Map Text Text))+  , _rtacUserContextData    :: !(Maybe UserContextDataType)   , _rtacSession            :: !(Maybe Text)   , _rtacClientId           :: !(Sensitive Text)   , _rtacChallengeName      :: !ChallengeNameType@@ -67,41 +71,55 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'rtacAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @RespondToAuthChallenge@ calls.+-- -- * 'rtacChallengeResponses' - 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).     * @NEW_PASSWORD_REQUIRED@ : @NEW_PASSWORD@ , any other required attributes, @USERNAME@ , @SECRET_HASH@ (if app client is configured with client secret). --+-- * 'rtacUserContextData' - 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.+-- -- * 'rtacSession' - 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. -- -- * 'rtacClientId' - The app client ID. ----- * 'rtacChallengeName' - The challenge name. For more information, see <API_InitiateAuth.html InitiateAuth> . @ADMIN_NO_SRP_AUTH@ is not a valid value.+-- * 'rtacChallengeName' - The challenge name. For more information, see . @ADMIN_NO_SRP_AUTH@ is not a valid value. respondToAuthChallenge     :: Text -- ^ 'rtacClientId'     -> ChallengeNameType -- ^ 'rtacChallengeName'     -> RespondToAuthChallenge respondToAuthChallenge pClientId_ pChallengeName_ =   RespondToAuthChallenge'-  { _rtacChallengeResponses = Nothing-  , _rtacSession = Nothing-  , _rtacClientId = _Sensitive # pClientId_-  , _rtacChallengeName = pChallengeName_-  }+    { _rtacAnalyticsMetadata = Nothing+    , _rtacChallengeResponses = Nothing+    , _rtacUserContextData = Nothing+    , _rtacSession = Nothing+    , _rtacClientId = _Sensitive # pClientId_+    , _rtacChallengeName = pChallengeName_+    }  +-- | The Amazon Pinpoint analytics metadata for collecting metrics for @RespondToAuthChallenge@ calls.+rtacAnalyticsMetadata :: Lens' RespondToAuthChallenge (Maybe AnalyticsMetadataType)+rtacAnalyticsMetadata = lens _rtacAnalyticsMetadata (\ s a -> s{_rtacAnalyticsMetadata = a})+ -- | 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).     * @NEW_PASSWORD_REQUIRED@ : @NEW_PASSWORD@ , any other required attributes, @USERNAME@ , @SECRET_HASH@ (if app client is configured with client secret). rtacChallengeResponses :: Lens' RespondToAuthChallenge (HashMap Text Text)-rtacChallengeResponses = lens _rtacChallengeResponses (\ s a -> s{_rtacChallengeResponses = a}) . _Default . _Map;+rtacChallengeResponses = lens _rtacChallengeResponses (\ s a -> s{_rtacChallengeResponses = a}) . _Default . _Map +-- | 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.+rtacUserContextData :: Lens' RespondToAuthChallenge (Maybe UserContextDataType)+rtacUserContextData = lens _rtacUserContextData (\ s a -> s{_rtacUserContextData = a})+ -- | 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. rtacSession :: Lens' RespondToAuthChallenge (Maybe Text)-rtacSession = lens _rtacSession (\ s a -> s{_rtacSession = a});+rtacSession = lens _rtacSession (\ s a -> s{_rtacSession = a})  -- | The app client ID. rtacClientId :: Lens' RespondToAuthChallenge Text-rtacClientId = lens _rtacClientId (\ s a -> s{_rtacClientId = a}) . _Sensitive;+rtacClientId = lens _rtacClientId (\ s a -> s{_rtacClientId = a}) . _Sensitive --- | The challenge name. For more information, see <API_InitiateAuth.html InitiateAuth> . @ADMIN_NO_SRP_AUTH@ is not a valid value.+-- | The challenge name. For more information, see . @ADMIN_NO_SRP_AUTH@ is not a valid value. rtacChallengeName :: Lens' RespondToAuthChallenge ChallengeNameType-rtacChallengeName = lens _rtacChallengeName (\ s a -> s{_rtacChallengeName = a});+rtacChallengeName = lens _rtacChallengeName (\ s a -> s{_rtacChallengeName = a})  instance AWSRequest RespondToAuthChallenge where         type Rs RespondToAuthChallenge =@@ -135,8 +153,10 @@         toJSON RespondToAuthChallenge'{..}           = object               (catMaybes-                 [("ChallengeResponses" .=) <$>+                 [("AnalyticsMetadata" .=) <$> _rtacAnalyticsMetadata,+                  ("ChallengeResponses" .=) <$>                     _rtacChallengeResponses,+                  ("UserContextData" .=) <$> _rtacUserContextData,                   ("Session" .=) <$> _rtacSession,                   Just ("ClientId" .= _rtacClientId),                   Just ("ChallengeName" .= _rtacChallengeName)])@@ -165,13 +185,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtacrsChallengeName' - The challenge name. For more information, see <API_InitiateAuth.html InitiateAuth> .+-- * 'rtacrsChallengeName' - The challenge name. For more information, see . ----- * 'rtacrsChallengeParameters' - The challenge parameters. For more information, see <API_InitiateAuth.html InitiateAuth> .+-- * 'rtacrsChallengeParameters' - The challenge parameters. For more information, see . -- -- * 'rtacrsAuthenticationResult' - The result returned by the server in response to the request to respond to the authentication challenge. ----- * 'rtacrsSession' - The session which should be passed both ways in challenge-response calls to the service. If the <API_InitiateAuth.html InitiateAuth> or <API_RespondToAuthChallenge.html 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.+-- * 'rtacrsSession' - The session which should be passed both ways in challenge-response calls to the service. If the or 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. -- -- * 'rtacrsResponseStatus' - -- | The response status code. respondToAuthChallengeResponse@@ -179,32 +199,32 @@     -> RespondToAuthChallengeResponse respondToAuthChallengeResponse pResponseStatus_ =   RespondToAuthChallengeResponse'-  { _rtacrsChallengeName = Nothing-  , _rtacrsChallengeParameters = Nothing-  , _rtacrsAuthenticationResult = Nothing-  , _rtacrsSession = Nothing-  , _rtacrsResponseStatus = pResponseStatus_-  }+    { _rtacrsChallengeName = Nothing+    , _rtacrsChallengeParameters = Nothing+    , _rtacrsAuthenticationResult = Nothing+    , _rtacrsSession = Nothing+    , _rtacrsResponseStatus = pResponseStatus_+    }  --- | The challenge name. For more information, see <API_InitiateAuth.html InitiateAuth> .+-- | The challenge name. For more information, see . rtacrsChallengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType)-rtacrsChallengeName = lens _rtacrsChallengeName (\ s a -> s{_rtacrsChallengeName = a});+rtacrsChallengeName = lens _rtacrsChallengeName (\ s a -> s{_rtacrsChallengeName = a}) --- | The challenge parameters. For more information, see <API_InitiateAuth.html InitiateAuth> .+-- | The challenge parameters. For more information, see . rtacrsChallengeParameters :: Lens' RespondToAuthChallengeResponse (HashMap Text Text)-rtacrsChallengeParameters = lens _rtacrsChallengeParameters (\ s a -> s{_rtacrsChallengeParameters = a}) . _Default . _Map;+rtacrsChallengeParameters = lens _rtacrsChallengeParameters (\ s a -> s{_rtacrsChallengeParameters = a}) . _Default . _Map  -- | The result returned by the server in response to the request to respond to the authentication challenge. rtacrsAuthenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType)-rtacrsAuthenticationResult = lens _rtacrsAuthenticationResult (\ s a -> s{_rtacrsAuthenticationResult = a});+rtacrsAuthenticationResult = lens _rtacrsAuthenticationResult (\ s a -> s{_rtacrsAuthenticationResult = a}) --- | The session which should be passed both ways in challenge-response calls to the service. If the <API_InitiateAuth.html InitiateAuth> or <API_RespondToAuthChallenge.html 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.+-- | The session which should be passed both ways in challenge-response calls to the service. If the or 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. rtacrsSession :: Lens' RespondToAuthChallengeResponse (Maybe Text)-rtacrsSession = lens _rtacrsSession (\ s a -> s{_rtacrsSession = a});+rtacrsSession = lens _rtacrsSession (\ s a -> s{_rtacrsSession = a})  -- | -- | The response status code. rtacrsResponseStatus :: Lens' RespondToAuthChallengeResponse Int-rtacrsResponseStatus = lens _rtacrsResponseStatus (\ s a -> s{_rtacrsResponseStatus = a});+rtacrsResponseStatus = lens _rtacrsResponseStatus (\ s a -> s{_rtacrsResponseStatus = a})  instance NFData RespondToAuthChallengeResponse where
+ gen/Network/AWS/CognitoIdentityProvider/SetRiskConfiguration.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.SetRiskConfiguration+-- Copyright   : (c) 2013-2018 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)+--+-- Configures actions on detected risks. To delete the risk configuration for @UserPoolId@ or @ClientId@ , pass null values for all four configuration types.+--+--+-- To enable Amazon Cognito advanced security features, update the user pool to include the @UserPoolAddOns@ key@AdvancedSecurityMode@ .+--+-- See .+--+module Network.AWS.CognitoIdentityProvider.SetRiskConfiguration+    (+    -- * Creating a Request+      setRiskConfiguration+    , SetRiskConfiguration+    -- * Request Lenses+    , srcRiskExceptionConfiguration+    , srcClientId+    , srcAccountTakeoverRiskConfiguration+    , srcCompromisedCredentialsRiskConfiguration+    , srcUserPoolId++    -- * Destructuring the Response+    , setRiskConfigurationResponse+    , SetRiskConfigurationResponse+    -- * Response Lenses+    , srcrsResponseStatus+    , srcrsRiskConfiguration+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'setRiskConfiguration' smart constructor.+data SetRiskConfiguration = SetRiskConfiguration'+  { _srcRiskExceptionConfiguration :: !(Maybe RiskExceptionConfigurationType)+  , _srcClientId :: !(Maybe (Sensitive Text))+  , _srcAccountTakeoverRiskConfiguration :: !(Maybe AccountTakeoverRiskConfigurationType)+  , _srcCompromisedCredentialsRiskConfiguration :: !(Maybe CompromisedCredentialsRiskConfigurationType)+  , _srcUserPoolId :: !Text+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetRiskConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'srcRiskExceptionConfiguration' - The configuration to override the risk decision.+--+-- * 'srcClientId' - 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.+--+-- * 'srcAccountTakeoverRiskConfiguration' - The account takeover risk configuration.+--+-- * 'srcCompromisedCredentialsRiskConfiguration' - The compromised credentials risk configuration.+--+-- * 'srcUserPoolId' - The user pool ID.+setRiskConfiguration+    :: Text -- ^ 'srcUserPoolId'+    -> SetRiskConfiguration+setRiskConfiguration pUserPoolId_ =+  SetRiskConfiguration'+    { _srcRiskExceptionConfiguration = Nothing+    , _srcClientId = Nothing+    , _srcAccountTakeoverRiskConfiguration = Nothing+    , _srcCompromisedCredentialsRiskConfiguration = Nothing+    , _srcUserPoolId = pUserPoolId_+    }+++-- | The configuration to override the risk decision.+srcRiskExceptionConfiguration :: Lens' SetRiskConfiguration (Maybe RiskExceptionConfigurationType)+srcRiskExceptionConfiguration = lens _srcRiskExceptionConfiguration (\ s a -> s{_srcRiskExceptionConfiguration = a})++-- | 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.+srcClientId :: Lens' SetRiskConfiguration (Maybe Text)+srcClientId = lens _srcClientId (\ s a -> s{_srcClientId = a}) . mapping _Sensitive++-- | The account takeover risk configuration.+srcAccountTakeoverRiskConfiguration :: Lens' SetRiskConfiguration (Maybe AccountTakeoverRiskConfigurationType)+srcAccountTakeoverRiskConfiguration = lens _srcAccountTakeoverRiskConfiguration (\ s a -> s{_srcAccountTakeoverRiskConfiguration = a})++-- | The compromised credentials risk configuration.+srcCompromisedCredentialsRiskConfiguration :: Lens' SetRiskConfiguration (Maybe CompromisedCredentialsRiskConfigurationType)+srcCompromisedCredentialsRiskConfiguration = lens _srcCompromisedCredentialsRiskConfiguration (\ s a -> s{_srcCompromisedCredentialsRiskConfiguration = a})++-- | The user pool ID.+srcUserPoolId :: Lens' SetRiskConfiguration Text+srcUserPoolId = lens _srcUserPoolId (\ s a -> s{_srcUserPoolId = a})++instance AWSRequest SetRiskConfiguration where+        type Rs SetRiskConfiguration =+             SetRiskConfigurationResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 SetRiskConfigurationResponse' <$>+                   (pure (fromEnum s)) <*> (x .:> "RiskConfiguration"))++instance Hashable SetRiskConfiguration where++instance NFData SetRiskConfiguration where++instance ToHeaders SetRiskConfiguration where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.SetRiskConfiguration"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON SetRiskConfiguration where+        toJSON SetRiskConfiguration'{..}+          = object+              (catMaybes+                 [("RiskExceptionConfiguration" .=) <$>+                    _srcRiskExceptionConfiguration,+                  ("ClientId" .=) <$> _srcClientId,+                  ("AccountTakeoverRiskConfiguration" .=) <$>+                    _srcAccountTakeoverRiskConfiguration,+                  ("CompromisedCredentialsRiskConfiguration" .=) <$>+                    _srcCompromisedCredentialsRiskConfiguration,+                  Just ("UserPoolId" .= _srcUserPoolId)])++instance ToPath SetRiskConfiguration where+        toPath = const "/"++instance ToQuery SetRiskConfiguration where+        toQuery = const mempty++-- | /See:/ 'setRiskConfigurationResponse' smart constructor.+data SetRiskConfigurationResponse = SetRiskConfigurationResponse'+  { _srcrsResponseStatus    :: !Int+  , _srcrsRiskConfiguration :: !RiskConfigurationType+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetRiskConfigurationResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'srcrsResponseStatus' - -- | The response status code.+--+-- * 'srcrsRiskConfiguration' - The risk configuration.+setRiskConfigurationResponse+    :: Int -- ^ 'srcrsResponseStatus'+    -> RiskConfigurationType -- ^ 'srcrsRiskConfiguration'+    -> SetRiskConfigurationResponse+setRiskConfigurationResponse pResponseStatus_ pRiskConfiguration_ =+  SetRiskConfigurationResponse'+    { _srcrsResponseStatus = pResponseStatus_+    , _srcrsRiskConfiguration = pRiskConfiguration_+    }+++-- | -- | The response status code.+srcrsResponseStatus :: Lens' SetRiskConfigurationResponse Int+srcrsResponseStatus = lens _srcrsResponseStatus (\ s a -> s{_srcrsResponseStatus = a})++-- | The risk configuration.+srcrsRiskConfiguration :: Lens' SetRiskConfigurationResponse RiskConfigurationType+srcrsRiskConfiguration = lens _srcrsRiskConfiguration (\ s a -> s{_srcrsRiskConfiguration = a})++instance NFData SetRiskConfigurationResponse where
gen/Network/AWS/CognitoIdentityProvider/SetUICustomization.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.SetUICustomization--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,28 +74,28 @@     -> SetUICustomization setUICustomization pUserPoolId_ =   SetUICustomization'-  { _suicClientId = Nothing-  , _suicCSS = Nothing-  , _suicImageFile = Nothing-  , _suicUserPoolId = pUserPoolId_-  }+    { _suicClientId = Nothing+    , _suicCSS = Nothing+    , _suicImageFile = Nothing+    , _suicUserPoolId = pUserPoolId_+    }   -- | The client ID for the client app. suicClientId :: Lens' SetUICustomization (Maybe Text)-suicClientId = lens _suicClientId (\ s a -> s{_suicClientId = a}) . mapping _Sensitive;+suicClientId = lens _suicClientId (\ s a -> s{_suicClientId = a}) . mapping _Sensitive  -- | The CSS values in the UI customization. suicCSS :: Lens' SetUICustomization (Maybe Text)-suicCSS = lens _suicCSS (\ s a -> s{_suicCSS = a});+suicCSS = lens _suicCSS (\ s a -> s{_suicCSS = a})  -- | 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. suicImageFile :: Lens' SetUICustomization (Maybe ByteString)-suicImageFile = lens _suicImageFile (\ s a -> s{_suicImageFile = a}) . mapping _Base64;+suicImageFile = lens _suicImageFile (\ s a -> s{_suicImageFile = a}) . mapping _Base64  -- | The user pool ID for the user pool. suicUserPoolId :: Lens' SetUICustomization Text-suicUserPoolId = lens _suicUserPoolId (\ s a -> s{_suicUserPoolId = a});+suicUserPoolId = lens _suicUserPoolId (\ s a -> s{_suicUserPoolId = a})  instance AWSRequest SetUICustomization where         type Rs SetUICustomization =@@ -156,17 +156,17 @@     -> SetUICustomizationResponse setUICustomizationResponse pResponseStatus_ pUICustomization_ =   SetUICustomizationResponse'-  { _suicrsResponseStatus = pResponseStatus_-  , _suicrsUICustomization = pUICustomization_-  }+    { _suicrsResponseStatus = pResponseStatus_+    , _suicrsUICustomization = pUICustomization_+    }   -- | -- | The response status code. suicrsResponseStatus :: Lens' SetUICustomizationResponse Int-suicrsResponseStatus = lens _suicrsResponseStatus (\ s a -> s{_suicrsResponseStatus = a});+suicrsResponseStatus = lens _suicrsResponseStatus (\ s a -> s{_suicrsResponseStatus = a})  -- | The UI customization information. suicrsUICustomization :: Lens' SetUICustomizationResponse UICustomizationType-suicrsUICustomization = lens _suicrsUICustomization (\ s a -> s{_suicrsUICustomization = a});+suicrsUICustomization = lens _suicrsUICustomization (\ s a -> s{_suicrsUICustomization = a})  instance NFData SetUICustomizationResponse where
+ gen/Network/AWS/CognitoIdentityProvider/SetUserMFAPreference.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.SetUserMFAPreference+-- Copyright   : (c) 2013-2018 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)+--+-- Set the user's multi-factor authentication (MFA) method preference.+--+--+module Network.AWS.CognitoIdentityProvider.SetUserMFAPreference+    (+    -- * Creating a Request+      setUserMFAPreference+    , SetUserMFAPreference+    -- * Request Lenses+    , sumpSMSMFASettings+    , sumpSoftwareTokenMFASettings+    , sumpAccessToken++    -- * Destructuring the Response+    , setUserMFAPreferenceResponse+    , SetUserMFAPreferenceResponse+    -- * Response Lenses+    , sumprsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'setUserMFAPreference' smart constructor.+data SetUserMFAPreference = SetUserMFAPreference'+  { _sumpSMSMFASettings           :: !(Maybe SMSMFASettingsType)+  , _sumpSoftwareTokenMFASettings :: !(Maybe SoftwareTokenMFASettingsType)+  , _sumpAccessToken              :: !(Sensitive Text)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetUserMFAPreference' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sumpSMSMFASettings' - The SMS text message multi-factor authentication (MFA) settings.+--+-- * 'sumpSoftwareTokenMFASettings' - The time-based one-time password software token MFA settings.+--+-- * 'sumpAccessToken' - The access token.+setUserMFAPreference+    :: Text -- ^ 'sumpAccessToken'+    -> SetUserMFAPreference+setUserMFAPreference pAccessToken_ =+  SetUserMFAPreference'+    { _sumpSMSMFASettings = Nothing+    , _sumpSoftwareTokenMFASettings = Nothing+    , _sumpAccessToken = _Sensitive # pAccessToken_+    }+++-- | The SMS text message multi-factor authentication (MFA) settings.+sumpSMSMFASettings :: Lens' SetUserMFAPreference (Maybe SMSMFASettingsType)+sumpSMSMFASettings = lens _sumpSMSMFASettings (\ s a -> s{_sumpSMSMFASettings = a})++-- | The time-based one-time password software token MFA settings.+sumpSoftwareTokenMFASettings :: Lens' SetUserMFAPreference (Maybe SoftwareTokenMFASettingsType)+sumpSoftwareTokenMFASettings = lens _sumpSoftwareTokenMFASettings (\ s a -> s{_sumpSoftwareTokenMFASettings = a})++-- | The access token.+sumpAccessToken :: Lens' SetUserMFAPreference Text+sumpAccessToken = lens _sumpAccessToken (\ s a -> s{_sumpAccessToken = a}) . _Sensitive++instance AWSRequest SetUserMFAPreference where+        type Rs SetUserMFAPreference =+             SetUserMFAPreferenceResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveEmpty+              (\ s h x ->+                 SetUserMFAPreferenceResponse' <$>+                   (pure (fromEnum s)))++instance Hashable SetUserMFAPreference where++instance NFData SetUserMFAPreference where++instance ToHeaders SetUserMFAPreference where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.SetUserMFAPreference"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON SetUserMFAPreference where+        toJSON SetUserMFAPreference'{..}+          = object+              (catMaybes+                 [("SMSMfaSettings" .=) <$> _sumpSMSMFASettings,+                  ("SoftwareTokenMfaSettings" .=) <$>+                    _sumpSoftwareTokenMFASettings,+                  Just ("AccessToken" .= _sumpAccessToken)])++instance ToPath SetUserMFAPreference where+        toPath = const "/"++instance ToQuery SetUserMFAPreference where+        toQuery = const mempty++-- | /See:/ 'setUserMFAPreferenceResponse' smart constructor.+newtype SetUserMFAPreferenceResponse = SetUserMFAPreferenceResponse'+  { _sumprsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetUserMFAPreferenceResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sumprsResponseStatus' - -- | The response status code.+setUserMFAPreferenceResponse+    :: Int -- ^ 'sumprsResponseStatus'+    -> SetUserMFAPreferenceResponse+setUserMFAPreferenceResponse pResponseStatus_ =+  SetUserMFAPreferenceResponse' {_sumprsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+sumprsResponseStatus :: Lens' SetUserMFAPreferenceResponse Int+sumprsResponseStatus = lens _sumprsResponseStatus (\ s a -> s{_sumprsResponseStatus = a})++instance NFData SetUserMFAPreferenceResponse where
+ gen/Network/AWS/CognitoIdentityProvider/SetUserPoolMFAConfig.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig+-- Copyright   : (c) 2013-2018 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)+--+-- Set the user pool MFA configuration.+--+--+module Network.AWS.CognitoIdentityProvider.SetUserPoolMFAConfig+    (+    -- * Creating a Request+      setUserPoolMFAConfig+    , SetUserPoolMFAConfig+    -- * Request Lenses+    , supmcSmsMFAConfiguration+    , supmcSoftwareTokenMFAConfiguration+    , supmcMFAConfiguration+    , supmcUserPoolId++    -- * Destructuring the Response+    , setUserPoolMFAConfigResponse+    , SetUserPoolMFAConfigResponse+    -- * Response Lenses+    , supmcrsSmsMFAConfiguration+    , supmcrsSoftwareTokenMFAConfiguration+    , supmcrsMFAConfiguration+    , supmcrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'setUserPoolMFAConfig' smart constructor.+data SetUserPoolMFAConfig = SetUserPoolMFAConfig'+  { _supmcSmsMFAConfiguration           :: !(Maybe SmsMFAConfigType)+  , _supmcSoftwareTokenMFAConfiguration :: !(Maybe SoftwareTokenMFAConfigType)+  , _supmcMFAConfiguration              :: !(Maybe UserPoolMFAType)+  , _supmcUserPoolId                    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetUserPoolMFAConfig' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'supmcSmsMFAConfiguration' - The SMS text message MFA configuration.+--+-- * 'supmcSoftwareTokenMFAConfiguration' - The software token MFA configuration.+--+-- * 'supmcMFAConfiguration' - The MFA configuration.+--+-- * 'supmcUserPoolId' - The user pool ID.+setUserPoolMFAConfig+    :: Text -- ^ 'supmcUserPoolId'+    -> SetUserPoolMFAConfig+setUserPoolMFAConfig pUserPoolId_ =+  SetUserPoolMFAConfig'+    { _supmcSmsMFAConfiguration = Nothing+    , _supmcSoftwareTokenMFAConfiguration = Nothing+    , _supmcMFAConfiguration = Nothing+    , _supmcUserPoolId = pUserPoolId_+    }+++-- | The SMS text message MFA configuration.+supmcSmsMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SmsMFAConfigType)+supmcSmsMFAConfiguration = lens _supmcSmsMFAConfiguration (\ s a -> s{_supmcSmsMFAConfiguration = a})++-- | The software token MFA configuration.+supmcSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SoftwareTokenMFAConfigType)+supmcSoftwareTokenMFAConfiguration = lens _supmcSoftwareTokenMFAConfiguration (\ s a -> s{_supmcSoftwareTokenMFAConfiguration = a})++-- | The MFA configuration.+supmcMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe UserPoolMFAType)+supmcMFAConfiguration = lens _supmcMFAConfiguration (\ s a -> s{_supmcMFAConfiguration = a})++-- | The user pool ID.+supmcUserPoolId :: Lens' SetUserPoolMFAConfig Text+supmcUserPoolId = lens _supmcUserPoolId (\ s a -> s{_supmcUserPoolId = a})++instance AWSRequest SetUserPoolMFAConfig where+        type Rs SetUserPoolMFAConfig =+             SetUserPoolMFAConfigResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 SetUserPoolMFAConfigResponse' <$>+                   (x .?> "SmsMfaConfiguration") <*>+                     (x .?> "SoftwareTokenMfaConfiguration")+                     <*> (x .?> "MfaConfiguration")+                     <*> (pure (fromEnum s)))++instance Hashable SetUserPoolMFAConfig where++instance NFData SetUserPoolMFAConfig where++instance ToHeaders SetUserPoolMFAConfig where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.SetUserPoolMfaConfig"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON SetUserPoolMFAConfig where+        toJSON SetUserPoolMFAConfig'{..}+          = object+              (catMaybes+                 [("SmsMfaConfiguration" .=) <$>+                    _supmcSmsMFAConfiguration,+                  ("SoftwareTokenMfaConfiguration" .=) <$>+                    _supmcSoftwareTokenMFAConfiguration,+                  ("MfaConfiguration" .=) <$> _supmcMFAConfiguration,+                  Just ("UserPoolId" .= _supmcUserPoolId)])++instance ToPath SetUserPoolMFAConfig where+        toPath = const "/"++instance ToQuery SetUserPoolMFAConfig where+        toQuery = const mempty++-- | /See:/ 'setUserPoolMFAConfigResponse' smart constructor.+data SetUserPoolMFAConfigResponse = SetUserPoolMFAConfigResponse'+  { _supmcrsSmsMFAConfiguration           :: !(Maybe SmsMFAConfigType)+  , _supmcrsSoftwareTokenMFAConfiguration :: !(Maybe SoftwareTokenMFAConfigType)+  , _supmcrsMFAConfiguration              :: !(Maybe UserPoolMFAType)+  , _supmcrsResponseStatus                :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SetUserPoolMFAConfigResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'supmcrsSmsMFAConfiguration' - The SMS text message MFA configuration.+--+-- * 'supmcrsSoftwareTokenMFAConfiguration' - The software token MFA configuration.+--+-- * 'supmcrsMFAConfiguration' - The MFA configuration.+--+-- * 'supmcrsResponseStatus' - -- | The response status code.+setUserPoolMFAConfigResponse+    :: Int -- ^ 'supmcrsResponseStatus'+    -> SetUserPoolMFAConfigResponse+setUserPoolMFAConfigResponse pResponseStatus_ =+  SetUserPoolMFAConfigResponse'+    { _supmcrsSmsMFAConfiguration = Nothing+    , _supmcrsSoftwareTokenMFAConfiguration = Nothing+    , _supmcrsMFAConfiguration = Nothing+    , _supmcrsResponseStatus = pResponseStatus_+    }+++-- | The SMS text message MFA configuration.+supmcrsSmsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType)+supmcrsSmsMFAConfiguration = lens _supmcrsSmsMFAConfiguration (\ s a -> s{_supmcrsSmsMFAConfiguration = a})++-- | The software token MFA configuration.+supmcrsSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType)+supmcrsSoftwareTokenMFAConfiguration = lens _supmcrsSoftwareTokenMFAConfiguration (\ s a -> s{_supmcrsSoftwareTokenMFAConfiguration = a})++-- | The MFA configuration.+supmcrsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe UserPoolMFAType)+supmcrsMFAConfiguration = lens _supmcrsMFAConfiguration (\ s a -> s{_supmcrsMFAConfiguration = a})++-- | -- | The response status code.+supmcrsResponseStatus :: Lens' SetUserPoolMFAConfigResponse Int+supmcrsResponseStatus = lens _supmcrsResponseStatus (\ s a -> s{_supmcrsResponseStatus = a})++instance NFData SetUserPoolMFAConfigResponse where
gen/Network/AWS/CognitoIdentityProvider/SetUserSettings.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.SetUserSettings--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -67,16 +67,16 @@     -> SetUserSettings setUserSettings pAccessToken_ =   SetUserSettings'-  {_susAccessToken = _Sensitive # pAccessToken_, _susMFAOptions = mempty}+    {_susAccessToken = _Sensitive # pAccessToken_, _susMFAOptions = mempty}   -- | The access token for the set user settings request. susAccessToken :: Lens' SetUserSettings Text-susAccessToken = lens _susAccessToken (\ s a -> s{_susAccessToken = a}) . _Sensitive;+susAccessToken = lens _susAccessToken (\ s a -> s{_susAccessToken = a}) . _Sensitive  -- | Specifies the options for MFA (e.g., email or phone number). susMFAOptions :: Lens' SetUserSettings [MFAOptionType]-susMFAOptions = lens _susMFAOptions (\ s a -> s{_susMFAOptions = a}) . _Coerce;+susMFAOptions = lens _susMFAOptions (\ s a -> s{_susMFAOptions = a}) . _Coerce  instance AWSRequest SetUserSettings where         type Rs SetUserSettings = SetUserSettingsResponse@@ -137,6 +137,6 @@  -- | -- | The response status code. susrsResponseStatus :: Lens' SetUserSettingsResponse Int-susrsResponseStatus = lens _susrsResponseStatus (\ s a -> s{_susrsResponseStatus = a});+susrsResponseStatus = lens _susrsResponseStatus (\ s a -> s{_susrsResponseStatus = a})  instance NFData SetUserSettingsResponse where
gen/Network/AWS/CognitoIdentityProvider/SignUp.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.SignUp--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -27,6 +27,8 @@       signUp     , SignUp     -- * Request Lenses+    , suAnalyticsMetadata+    , suUserContextData     , suUserAttributes     , suSecretHash     , suValidationData@@ -57,12 +59,14 @@ -- -- /See:/ 'signUp' smart constructor. data SignUp = SignUp'-  { _suUserAttributes :: !(Maybe [AttributeType])-  , _suSecretHash     :: !(Maybe (Sensitive Text))-  , _suValidationData :: !(Maybe [AttributeType])-  , _suClientId       :: !(Sensitive Text)-  , _suUsername       :: !(Sensitive Text)-  , _suPassword       :: !(Sensitive Text)+  { _suAnalyticsMetadata :: !(Maybe AnalyticsMetadataType)+  , _suUserContextData   :: !(Maybe UserContextDataType)+  , _suUserAttributes    :: !(Maybe [AttributeType])+  , _suSecretHash        :: !(Maybe (Sensitive Text))+  , _suValidationData    :: !(Maybe [AttributeType])+  , _suClientId          :: !(Sensitive Text)+  , _suUsername          :: !(Sensitive Text)+  , _suPassword          :: !(Sensitive Text)   } deriving (Eq, Show, Data, Typeable, Generic)  @@ -70,6 +74,10 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'suAnalyticsMetadata' - The Amazon Pinpoint analytics metadata for collecting metrics for @SignUp@ calls.+--+-- * 'suUserContextData' - 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.+-- -- * 'suUserAttributes' - An array of name-value pairs representing user attributes. For custom attributes, you must prepend the @custom:@ prefix to the attribute name. -- -- * 'suSecretHash' - 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.@@ -88,38 +96,48 @@     -> SignUp signUp pClientId_ pUsername_ pPassword_ =   SignUp'-  { _suUserAttributes = Nothing-  , _suSecretHash = Nothing-  , _suValidationData = Nothing-  , _suClientId = _Sensitive # pClientId_-  , _suUsername = _Sensitive # pUsername_-  , _suPassword = _Sensitive # pPassword_-  }+    { _suAnalyticsMetadata = Nothing+    , _suUserContextData = Nothing+    , _suUserAttributes = Nothing+    , _suSecretHash = Nothing+    , _suValidationData = Nothing+    , _suClientId = _Sensitive # pClientId_+    , _suUsername = _Sensitive # pUsername_+    , _suPassword = _Sensitive # pPassword_+    }  +-- | The Amazon Pinpoint analytics metadata for collecting metrics for @SignUp@ calls.+suAnalyticsMetadata :: Lens' SignUp (Maybe AnalyticsMetadataType)+suAnalyticsMetadata = lens _suAnalyticsMetadata (\ s a -> s{_suAnalyticsMetadata = a})++-- | 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.+suUserContextData :: Lens' SignUp (Maybe UserContextDataType)+suUserContextData = lens _suUserContextData (\ s a -> s{_suUserContextData = a})+ -- | An array of name-value pairs representing user attributes. For custom attributes, you must prepend the @custom:@ prefix to the attribute name. suUserAttributes :: Lens' SignUp [AttributeType]-suUserAttributes = lens _suUserAttributes (\ s a -> s{_suUserAttributes = a}) . _Default . _Coerce;+suUserAttributes = lens _suUserAttributes (\ s a -> s{_suUserAttributes = a}) . _Default . _Coerce  -- | A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message. suSecretHash :: Lens' SignUp (Maybe Text)-suSecretHash = lens _suSecretHash (\ s a -> s{_suSecretHash = a}) . mapping _Sensitive;+suSecretHash = lens _suSecretHash (\ s a -> s{_suSecretHash = a}) . mapping _Sensitive  -- | The validation data in the request to register a user. suValidationData :: Lens' SignUp [AttributeType]-suValidationData = lens _suValidationData (\ s a -> s{_suValidationData = a}) . _Default . _Coerce;+suValidationData = lens _suValidationData (\ s a -> s{_suValidationData = a}) . _Default . _Coerce  -- | The ID of the client associated with the user pool. suClientId :: Lens' SignUp Text-suClientId = lens _suClientId (\ s a -> s{_suClientId = a}) . _Sensitive;+suClientId = lens _suClientId (\ s a -> s{_suClientId = a}) . _Sensitive  -- | The user name of the user you wish to register. suUsername :: Lens' SignUp Text-suUsername = lens _suUsername (\ s a -> s{_suUsername = a}) . _Sensitive;+suUsername = lens _suUsername (\ s a -> s{_suUsername = a}) . _Sensitive  -- | The password of the user you wish to register. suPassword :: Lens' SignUp Text-suPassword = lens _suPassword (\ s a -> s{_suPassword = a}) . _Sensitive;+suPassword = lens _suPassword (\ s a -> s{_suPassword = a}) . _Sensitive  instance AWSRequest SignUp where         type Rs SignUp = SignUpResponse@@ -150,7 +168,9 @@         toJSON SignUp'{..}           = object               (catMaybes-                 [("UserAttributes" .=) <$> _suUserAttributes,+                 [("AnalyticsMetadata" .=) <$> _suAnalyticsMetadata,+                  ("UserContextData" .=) <$> _suUserContextData,+                  ("UserAttributes" .=) <$> _suUserAttributes,                   ("SecretHash" .=) <$> _suSecretHash,                   ("ValidationData" .=) <$> _suValidationData,                   Just ("ClientId" .= _suClientId),@@ -194,27 +214,27 @@     -> SignUpResponse signUpResponse pResponseStatus_ pUserConfirmed_ pUserSub_ =   SignUpResponse'-  { _sursCodeDeliveryDetails = Nothing-  , _sursResponseStatus = pResponseStatus_-  , _sursUserConfirmed = pUserConfirmed_-  , _sursUserSub = pUserSub_-  }+    { _sursCodeDeliveryDetails = Nothing+    , _sursResponseStatus = pResponseStatus_+    , _sursUserConfirmed = pUserConfirmed_+    , _sursUserSub = pUserSub_+    }   -- | The code delivery details returned by the server response to the user registration request. sursCodeDeliveryDetails :: Lens' SignUpResponse (Maybe CodeDeliveryDetailsType)-sursCodeDeliveryDetails = lens _sursCodeDeliveryDetails (\ s a -> s{_sursCodeDeliveryDetails = a});+sursCodeDeliveryDetails = lens _sursCodeDeliveryDetails (\ s a -> s{_sursCodeDeliveryDetails = a})  -- | -- | The response status code. sursResponseStatus :: Lens' SignUpResponse Int-sursResponseStatus = lens _sursResponseStatus (\ s a -> s{_sursResponseStatus = a});+sursResponseStatus = lens _sursResponseStatus (\ s a -> s{_sursResponseStatus = a})  -- | A response from the server indicating that a user registration has been confirmed. sursUserConfirmed :: Lens' SignUpResponse Bool-sursUserConfirmed = lens _sursUserConfirmed (\ s a -> s{_sursUserConfirmed = a});+sursUserConfirmed = lens _sursUserConfirmed (\ s a -> s{_sursUserConfirmed = a})  -- | The UUID of the authenticated user. This is not the same as @username@ . sursUserSub :: Lens' SignUpResponse Text-sursUserSub = lens _sursUserSub (\ s a -> s{_sursUserSub = a});+sursUserSub = lens _sursUserSub (\ s a -> s{_sursUserSub = a})  instance NFData SignUpResponse where
gen/Network/AWS/CognitoIdentityProvider/StartUserImportJob.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.StartUserImportJob--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,11 +73,11 @@  -- | The user pool ID for the user pool that the users are being imported into. suijUserPoolId :: Lens' StartUserImportJob Text-suijUserPoolId = lens _suijUserPoolId (\ s a -> s{_suijUserPoolId = a});+suijUserPoolId = lens _suijUserPoolId (\ s a -> s{_suijUserPoolId = a})  -- | The job ID for the user import job. suijJobId :: Lens' StartUserImportJob Text-suijJobId = lens _suijJobId (\ s a -> s{_suijJobId = a});+suijJobId = lens _suijJobId (\ s a -> s{_suijJobId = a})  instance AWSRequest StartUserImportJob where         type Rs StartUserImportJob =@@ -139,15 +139,15 @@     -> StartUserImportJobResponse startUserImportJobResponse pResponseStatus_ =   StartUserImportJobResponse'-  {_suijrsUserImportJob = Nothing, _suijrsResponseStatus = pResponseStatus_}+    {_suijrsUserImportJob = Nothing, _suijrsResponseStatus = pResponseStatus_}   -- | The job object that represents the user import job. suijrsUserImportJob :: Lens' StartUserImportJobResponse (Maybe UserImportJobType)-suijrsUserImportJob = lens _suijrsUserImportJob (\ s a -> s{_suijrsUserImportJob = a});+suijrsUserImportJob = lens _suijrsUserImportJob (\ s a -> s{_suijrsUserImportJob = a})  -- | -- | The response status code. suijrsResponseStatus :: Lens' StartUserImportJobResponse Int-suijrsResponseStatus = lens _suijrsResponseStatus (\ s a -> s{_suijrsResponseStatus = a});+suijrsResponseStatus = lens _suijrsResponseStatus (\ s a -> s{_suijrsResponseStatus = a})  instance NFData StartUserImportJobResponse where
gen/Network/AWS/CognitoIdentityProvider/StopUserImportJob.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.StopUserImportJob--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,11 +73,11 @@  -- | The user pool ID for the user pool that the users are being imported into. sUserPoolId :: Lens' StopUserImportJob Text-sUserPoolId = lens _sUserPoolId (\ s a -> s{_sUserPoolId = a});+sUserPoolId = lens _sUserPoolId (\ s a -> s{_sUserPoolId = a})  -- | The job ID for the user import job. sJobId :: Lens' StopUserImportJob Text-sJobId = lens _sJobId (\ s a -> s{_sJobId = a});+sJobId = lens _sJobId (\ s a -> s{_sJobId = a})  instance AWSRequest StopUserImportJob where         type Rs StopUserImportJob = StopUserImportJobResponse@@ -138,15 +138,15 @@     -> StopUserImportJobResponse stopUserImportJobResponse pResponseStatus_ =   StopUserImportJobResponse'-  {_srsUserImportJob = Nothing, _srsResponseStatus = pResponseStatus_}+    {_srsUserImportJob = Nothing, _srsResponseStatus = pResponseStatus_}   -- | The job object that represents the user import job. srsUserImportJob :: Lens' StopUserImportJobResponse (Maybe UserImportJobType)-srsUserImportJob = lens _srsUserImportJob (\ s a -> s{_srsUserImportJob = a});+srsUserImportJob = lens _srsUserImportJob (\ s a -> s{_srsUserImportJob = a})  -- | -- | The response status code. srsResponseStatus :: Lens' StopUserImportJobResponse Int-srsResponseStatus = lens _srsResponseStatus (\ s a -> s{_srsResponseStatus = a});+srsResponseStatus = lens _srsResponseStatus (\ s a -> s{_srsResponseStatus = a})  instance NFData StopUserImportJobResponse where
gen/Network/AWS/CognitoIdentityProvider/Types.hs view
@@ -4,7 +4,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.Types--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -33,12 +33,15 @@     , _UserImportInProgressException     , _InvalidSmsRoleTrustRelationshipException     , _UserPoolTaggingException+    , _SoftwareTokenMFANotFoundException     , _TooManyRequestsException     , _ConcurrentModificationException+    , _UserPoolAddOnNotEnabledException     , _UserLambdaValidationException     , _PreconditionNotMetException     , _ExpiredCodeException     , _TooManyFailedAttemptsException+    , _EnableSoftwareTokenMFAException     , _UserNotConfirmedException     , _GroupExistsException     , _CodeDeliveryFailureException@@ -51,6 +54,12 @@     , _InvalidPasswordException     , _UsernameExistsException +    -- * AccountTakeoverEventActionType+    , AccountTakeoverEventActionType (..)++    -- * AdvancedSecurityModeType+    , AdvancedSecurityModeType (..)+     -- * AliasAttributeType     , AliasAttributeType (..) @@ -60,9 +69,18 @@     -- * AuthFlowType     , AuthFlowType (..) +    -- * ChallengeName+    , ChallengeName (..)+     -- * ChallengeNameType     , ChallengeNameType (..) +    -- * ChallengeResponse+    , ChallengeResponse (..)++    -- * CompromisedCredentialsEventActionType+    , CompromisedCredentialsEventActionType (..)+     -- * DefaultEmailOptionType     , DefaultEmailOptionType (..) @@ -75,9 +93,21 @@     -- * DomainStatusType     , DomainStatusType (..) +    -- * EventFilterType+    , EventFilterType (..)++    -- * EventResponseType+    , EventResponseType (..)++    -- * EventType+    , EventType (..)+     -- * ExplicitAuthFlowsType     , ExplicitAuthFlowsType (..) +    -- * FeedbackValueType+    , FeedbackValueType (..)+     -- * IdentityProviderTypeType     , IdentityProviderTypeType (..) @@ -87,6 +117,12 @@     -- * OAuthFlowType     , OAuthFlowType (..) +    -- * RiskDecisionType+    , RiskDecisionType (..)++    -- * RiskLevelType+    , RiskLevelType (..)+     -- * StatusType     , StatusType (..) @@ -105,6 +141,28 @@     -- * VerifiedAttributeType     , VerifiedAttributeType (..) +    -- * VerifySoftwareTokenResponseType+    , VerifySoftwareTokenResponseType (..)++    -- * AccountTakeoverActionType+    , AccountTakeoverActionType+    , accountTakeoverActionType+    , atatNotify+    , atatEventAction++    -- * AccountTakeoverActionsType+    , AccountTakeoverActionsType+    , accountTakeoverActionsType+    , atatLowAction+    , atatHighAction+    , atatMediumAction++    -- * AccountTakeoverRiskConfigurationType+    , AccountTakeoverRiskConfigurationType+    , accountTakeoverRiskConfigurationType+    , atrctNotifyConfiguration+    , atrctActions+     -- * AdminCreateUserConfigType     , AdminCreateUserConfigType     , adminCreateUserConfigType@@ -112,12 +170,37 @@     , acuctUnusedAccountValidityDays     , acuctInviteMessageTemplate +    -- * AnalyticsConfigurationType+    , AnalyticsConfigurationType+    , analyticsConfigurationType+    , actUserDataShared+    , actApplicationId+    , actRoleARN+    , actExternalId++    -- * AnalyticsMetadataType+    , AnalyticsMetadataType+    , analyticsMetadataType+    , amtAnalyticsEndpointId+     -- * AttributeType     , AttributeType     , attributeType     , atValue     , atName +    -- * AuthEventType+    , AuthEventType+    , authEventType+    , aetEventRisk+    , aetEventResponse+    , aetEventContextData+    , aetChallengeResponses+    , aetEventType+    , aetCreationDate+    , aetEventFeedback+    , aetEventId+     -- * AuthenticationResultType     , AuthenticationResultType     , authenticationResultType@@ -128,6 +211,12 @@     , artTokenType     , artIdToken +    -- * ChallengeResponseType+    , ChallengeResponseType+    , challengeResponseType+    , crtChallengeName+    , crtChallengeResponse+     -- * CodeDeliveryDetailsType     , CodeDeliveryDetailsType     , codeDeliveryDetailsType@@ -135,6 +224,26 @@     , cddtDeliveryMedium     , cddtAttributeName +    -- * CompromisedCredentialsActionsType+    , CompromisedCredentialsActionsType+    , compromisedCredentialsActionsType+    , ccatEventAction++    -- * CompromisedCredentialsRiskConfigurationType+    , CompromisedCredentialsRiskConfigurationType+    , compromisedCredentialsRiskConfigurationType+    , ccrctEventFilter+    , ccrctActions++    -- * ContextDataType+    , ContextDataType+    , contextDataType+    , cdtEncodedData+    , cdtIPAddress+    , cdtServerName+    , cdtServerPath+    , cdtHTTPHeaders+     -- * DeviceConfigurationType     , DeviceConfigurationType     , deviceConfigurationType@@ -173,6 +282,28 @@     , ectSourceARN     , ectReplyToEmailAddress +    -- * EventContextDataType+    , EventContextDataType+    , eventContextDataType+    , ecdtIPAddress+    , ecdtCountry+    , ecdtCity+    , ecdtDeviceName+    , ecdtTimezone++    -- * EventFeedbackType+    , EventFeedbackType+    , eventFeedbackType+    , eftFeedbackDate+    , eftFeedbackValue+    , eftProvider++    -- * EventRiskType+    , EventRiskType+    , eventRiskType+    , ertRiskLevel+    , ertRiskDecision+     -- * GroupType     , GroupType     , groupType@@ -184,6 +315,12 @@     , gtDescription     , gtRoleARN +    -- * HTTPHeader+    , HTTPHeader+    , hTTPHeader+    , httphHeaderValue+    , httphHeaderName+     -- * IdentityProviderType     , IdentityProviderType     , identityProviderType@@ -206,6 +343,8 @@     , lctCustomMessage     , lctDefineAuthChallenge     , lctPostConfirmation+    , lctPreTokenGeneration+    , lctUserMigration     , lctPreSignUp      -- * MFAOptionType@@ -227,6 +366,23 @@     , ndmtDeviceGroupKey     , ndmtDeviceKey +    -- * NotifyConfigurationType+    , NotifyConfigurationType+    , notifyConfigurationType+    , nctNoActionEmail+    , nctFrom+    , nctReplyTo+    , nctBlockEmail+    , nctMFAEmail+    , nctSourceARN++    -- * NotifyEmailType+    , NotifyEmailType+    , notifyEmailType+    , netTextBody+    , netHTMLBody+    , netSubject+     -- * NumberAttributeConstraintsType     , NumberAttributeConstraintsType     , numberAttributeConstraintsType@@ -271,6 +427,28 @@     , rstScopes     , rstName +    -- * RiskConfigurationType+    , RiskConfigurationType+    , riskConfigurationType+    , rctRiskExceptionConfiguration+    , rctClientId+    , rctAccountTakeoverRiskConfiguration+    , rctLastModifiedDate+    , rctUserPoolId+    , rctCompromisedCredentialsRiskConfiguration++    -- * RiskExceptionConfigurationType+    , RiskExceptionConfigurationType+    , riskExceptionConfigurationType+    , rectSkippedIPRangeList+    , rectBlockedIPRangeList++    -- * SMSMFASettingsType+    , SMSMFASettingsType+    , sMSMFASettingsType+    , smsmstEnabled+    , smsmstPreferredMFA+     -- * SchemaAttributeType     , SchemaAttributeType     , schemaAttributeType@@ -288,6 +466,23 @@     , sctExternalId     , sctSNSCallerARN +    -- * SmsMFAConfigType+    , SmsMFAConfigType+    , smsMFAConfigType+    , smctSmsAuthenticationMessage+    , smctSmsConfiguration++    -- * SoftwareTokenMFAConfigType+    , SoftwareTokenMFAConfigType+    , softwareTokenMFAConfigType+    , stmctEnabled++    -- * SoftwareTokenMFASettingsType+    , SoftwareTokenMFASettingsType+    , softwareTokenMFASettingsType+    , stmstEnabled+    , stmstPreferredMFA+     -- * StringAttributeConstraintsType     , StringAttributeConstraintsType     , stringAttributeConstraintsType@@ -305,6 +500,11 @@     , uictImageURL     , uictCreationDate +    -- * UserContextDataType+    , UserContextDataType+    , userContextDataType+    , ucdtEncodedData+     -- * UserImportJobType     , UserImportJobType     , userImportJobType@@ -322,6 +522,11 @@     , uijtCloudWatchLogsRoleARN     , uijtImportedUsers +    -- * UserPoolAddOnsType+    , UserPoolAddOnsType+    , userPoolAddOnsType+    , upaotAdvancedSecurityMode+     -- * UserPoolClientDescription     , UserPoolClientDescription     , userPoolClientDescription@@ -347,6 +552,7 @@     , upctReadAttributes     , upctAllowedOAuthScopes     , upctAllowedOAuthFlows+    , upctAnalyticsConfiguration     , upctClientName     , upctCallbackURLs @@ -374,8 +580,10 @@     , uptLastModifiedDate     , uptVerificationMessageTemplate     , uptEstimatedNumberOfUsers+    , uptDomain     , uptEmailVerificationMessage     , uptSmsAuthenticationMessage+    , uptUserPoolAddOns     , uptSchemaAttributes     , uptEmailVerificationSubject     , uptUsernameAttributes@@ -426,24 +634,24 @@ cognitoIdentityProvider :: Service cognitoIdentityProvider =   Service-  { _svcAbbrev = "CognitoIdentityProvider"-  , _svcSigner = v4-  , _svcPrefix = "cognito-idp"-  , _svcVersion = "2016-04-18"-  , _svcEndpoint = defaultEndpoint cognitoIdentityProvider-  , _svcTimeout = Just 70-  , _svcCheck = statusSuccess-  , _svcError = parseJSONError "CognitoIdentityProvider"-  , _svcRetry = retry-  }+    { _svcAbbrev = "CognitoIdentityProvider"+    , _svcSigner = v4+    , _svcPrefix = "cognito-idp"+    , _svcVersion = "2016-04-18"+    , _svcEndpoint = defaultEndpoint cognitoIdentityProvider+    , _svcTimeout = Just 70+    , _svcCheck = statusSuccess+    , _svcError = parseJSONError "CognitoIdentityProvider"+    , _svcRetry = retry+    }   where     retry =       Exponential-      { _retryBase = 5.0e-2-      , _retryGrowth = 2-      , _retryAttempts = 5-      , _retryCheck = check-      }+        { _retryBase = 5.0e-2+        , _retryGrowth = 2+        , _retryAttempts = 5+        , _retryCheck = check+        }     check e       | has (hasCode "ThrottledException" . hasStatus 400) e =         Just "throttled_exception"@@ -452,6 +660,8 @@         Just "throttling_exception"       | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"       | has (hasStatus 504) e = Just "gateway_timeout"+      | has (hasCode "RequestThrottledException" . hasStatus 400) e =+        Just "request_throttled_exception"       | has (hasStatus 502) e = Just "bad_gateway"       | has (hasStatus 503) e = Just "service_unavailable"       | has (hasStatus 500) e = Just "general_server_error"@@ -605,6 +815,14 @@   _MatchServiceError cognitoIdentityProvider "UserPoolTaggingException"  +-- | This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.+--+--+_SoftwareTokenMFANotFoundException :: AsError a => Getting (First ServiceError) a ServiceError+_SoftwareTokenMFANotFoundException =+  _MatchServiceError cognitoIdentityProvider "SoftwareTokenMFANotFoundException"++ -- | This exception is thrown when the user has made too many requests for a given operation. -- --@@ -621,6 +839,14 @@   _MatchServiceError cognitoIdentityProvider "ConcurrentModificationException"  +-- | This exception is thrown when user pool add-ons are not enabled.+--+--+_UserPoolAddOnNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError+_UserPoolAddOnNotEnabledException =+  _MatchServiceError cognitoIdentityProvider "UserPoolAddOnNotEnabledException"++ -- | This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service. -- --@@ -651,6 +877,14 @@ _TooManyFailedAttemptsException :: AsError a => Getting (First ServiceError) a ServiceError _TooManyFailedAttemptsException =   _MatchServiceError cognitoIdentityProvider "TooManyFailedAttemptsException"+++-- | This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).+--+--+_EnableSoftwareTokenMFAException :: AsError a => Getting (First ServiceError) a ServiceError+_EnableSoftwareTokenMFAException =+  _MatchServiceError cognitoIdentityProvider "EnableSoftwareTokenMFAException"   -- | This exception is thrown when a user is not confirmed successfully.
gen/Network/AWS/CognitoIdentityProvider/Types/Product.hs view
@@ -9,2647 +9,4083 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.Types.Product--- Copyright   : (c) 2013-2017 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)----module Network.AWS.CognitoIdentityProvider.Types.Product where--import Network.AWS.CognitoIdentityProvider.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | The type of configuration for creating a new user profile.------------ /See:/ 'adminCreateUserConfigType' smart constructor.-data AdminCreateUserConfigType = AdminCreateUserConfigType'-  { _acuctAllowAdminCreateUserOnly  :: !(Maybe Bool)-  , _acuctUnusedAccountValidityDays :: !(Maybe Nat)-  , _acuctInviteMessageTemplate     :: !(Maybe MessageTemplateType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AdminCreateUserConfigType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acuctAllowAdminCreateUserOnly' - 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.------ * 'acuctUnusedAccountValidityDays' - 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.------ * 'acuctInviteMessageTemplate' - The message template to be used for the welcome message to new users.-adminCreateUserConfigType-    :: AdminCreateUserConfigType-adminCreateUserConfigType =-  AdminCreateUserConfigType'-  { _acuctAllowAdminCreateUserOnly = Nothing-  , _acuctUnusedAccountValidityDays = Nothing-  , _acuctInviteMessageTemplate = Nothing-  }----- | Set to @True@ if only the administrator is allowed to create user profiles. Set to @False@ if users can sign themselves up via an app.-acuctAllowAdminCreateUserOnly :: Lens' AdminCreateUserConfigType (Maybe Bool)-acuctAllowAdminCreateUserOnly = lens _acuctAllowAdminCreateUserOnly (\ s a -> s{_acuctAllowAdminCreateUserOnly = a});---- | The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call @AdminCreateUser@ again, specifying @"RESEND"@ for the @MessageAction@ parameter. The default value for this parameter is 7.-acuctUnusedAccountValidityDays :: Lens' AdminCreateUserConfigType (Maybe Natural)-acuctUnusedAccountValidityDays = lens _acuctUnusedAccountValidityDays (\ s a -> s{_acuctUnusedAccountValidityDays = a}) . mapping _Nat;---- | The message template to be used for the welcome message to new users.-acuctInviteMessageTemplate :: Lens' AdminCreateUserConfigType (Maybe MessageTemplateType)-acuctInviteMessageTemplate = lens _acuctInviteMessageTemplate (\ s a -> s{_acuctInviteMessageTemplate = a});--instance FromJSON AdminCreateUserConfigType where-        parseJSON-          = withObject "AdminCreateUserConfigType"-              (\ x ->-                 AdminCreateUserConfigType' <$>-                   (x .:? "AllowAdminCreateUserOnly") <*>-                     (x .:? "UnusedAccountValidityDays")-                     <*> (x .:? "InviteMessageTemplate"))--instance Hashable AdminCreateUserConfigType where--instance NFData AdminCreateUserConfigType where--instance ToJSON AdminCreateUserConfigType where-        toJSON AdminCreateUserConfigType'{..}-          = object-              (catMaybes-                 [("AllowAdminCreateUserOnly" .=) <$>-                    _acuctAllowAdminCreateUserOnly,-                  ("UnusedAccountValidityDays" .=) <$>-                    _acuctUnusedAccountValidityDays,-                  ("InviteMessageTemplate" .=) <$>-                    _acuctInviteMessageTemplate])---- | Specifies whether the attribute is standard or custom.------------ /See:/ 'attributeType' smart constructor.-data AttributeType = AttributeType'-  { _atValue :: !(Maybe (Sensitive Text))-  , _atName  :: !Text-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AttributeType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'atValue' - The value of the attribute.------ * 'atName' - The name of the attribute.-attributeType-    :: Text -- ^ 'atName'-    -> AttributeType-attributeType pName_ = AttributeType' {_atValue = Nothing, _atName = pName_}----- | The value of the attribute.-atValue :: Lens' AttributeType (Maybe Text)-atValue = lens _atValue (\ s a -> s{_atValue = a}) . mapping _Sensitive;---- | The name of the attribute.-atName :: Lens' AttributeType Text-atName = lens _atName (\ s a -> s{_atName = a});--instance FromJSON AttributeType where-        parseJSON-          = withObject "AttributeType"-              (\ x ->-                 AttributeType' <$> (x .:? "Value") <*> (x .: "Name"))--instance Hashable AttributeType where--instance NFData AttributeType where--instance ToJSON AttributeType where-        toJSON AttributeType'{..}-          = object-              (catMaybes-                 [("Value" .=) <$> _atValue,-                  Just ("Name" .= _atName)])---- | The result type of the authentication result.------------ /See:/ 'authenticationResultType' smart constructor.-data AuthenticationResultType = AuthenticationResultType'-  { _artAccessToken       :: !(Maybe (Sensitive Text))-  , _artRefreshToken      :: !(Maybe (Sensitive Text))-  , _artNewDeviceMetadata :: !(Maybe NewDeviceMetadataType)-  , _artExpiresIn         :: !(Maybe Int)-  , _artTokenType         :: !(Maybe Text)-  , _artIdToken           :: !(Maybe (Sensitive Text))-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AuthenticationResultType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'artAccessToken' - The access token of the authentication result.------ * 'artRefreshToken' - The refresh token of the authentication result.------ * 'artNewDeviceMetadata' - The new device metadata from an authentication result.------ * 'artExpiresIn' - The expiration period of the authentication result.------ * 'artTokenType' - The token type of the authentication result.------ * 'artIdToken' - The ID token of the authentication result.-authenticationResultType-    :: AuthenticationResultType-authenticationResultType =-  AuthenticationResultType'-  { _artAccessToken = Nothing-  , _artRefreshToken = Nothing-  , _artNewDeviceMetadata = Nothing-  , _artExpiresIn = Nothing-  , _artTokenType = Nothing-  , _artIdToken = Nothing-  }----- | The access token of the authentication result.-artAccessToken :: Lens' AuthenticationResultType (Maybe Text)-artAccessToken = lens _artAccessToken (\ s a -> s{_artAccessToken = a}) . mapping _Sensitive;---- | The refresh token of the authentication result.-artRefreshToken :: Lens' AuthenticationResultType (Maybe Text)-artRefreshToken = lens _artRefreshToken (\ s a -> s{_artRefreshToken = a}) . mapping _Sensitive;---- | The new device metadata from an authentication result.-artNewDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)-artNewDeviceMetadata = lens _artNewDeviceMetadata (\ s a -> s{_artNewDeviceMetadata = a});---- | The expiration period of the authentication result.-artExpiresIn :: Lens' AuthenticationResultType (Maybe Int)-artExpiresIn = lens _artExpiresIn (\ s a -> s{_artExpiresIn = a});---- | The token type of the authentication result.-artTokenType :: Lens' AuthenticationResultType (Maybe Text)-artTokenType = lens _artTokenType (\ s a -> s{_artTokenType = a});---- | The ID token of the authentication result.-artIdToken :: Lens' AuthenticationResultType (Maybe Text)-artIdToken = lens _artIdToken (\ s a -> s{_artIdToken = a}) . mapping _Sensitive;--instance FromJSON AuthenticationResultType where-        parseJSON-          = withObject "AuthenticationResultType"-              (\ x ->-                 AuthenticationResultType' <$>-                   (x .:? "AccessToken") <*> (x .:? "RefreshToken") <*>-                     (x .:? "NewDeviceMetadata")-                     <*> (x .:? "ExpiresIn")-                     <*> (x .:? "TokenType")-                     <*> (x .:? "IdToken"))--instance Hashable AuthenticationResultType where--instance NFData AuthenticationResultType where---- | The type of code delivery details being returned from the server.------------ /See:/ 'codeDeliveryDetailsType' smart constructor.-data CodeDeliveryDetailsType = CodeDeliveryDetailsType'-  { _cddtDestination    :: !(Maybe Text)-  , _cddtDeliveryMedium :: !(Maybe DeliveryMediumType)-  , _cddtAttributeName  :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CodeDeliveryDetailsType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cddtDestination' - The destination for the code delivery details.------ * 'cddtDeliveryMedium' - The delivery medium (email message or phone number).------ * 'cddtAttributeName' - The name of the attribute in the code delivery details type.-codeDeliveryDetailsType-    :: CodeDeliveryDetailsType-codeDeliveryDetailsType =-  CodeDeliveryDetailsType'-  { _cddtDestination = Nothing-  , _cddtDeliveryMedium = Nothing-  , _cddtAttributeName = Nothing-  }----- | The destination for the code delivery details.-cddtDestination :: Lens' CodeDeliveryDetailsType (Maybe Text)-cddtDestination = lens _cddtDestination (\ s a -> s{_cddtDestination = a});---- | The delivery medium (email message or phone number).-cddtDeliveryMedium :: Lens' CodeDeliveryDetailsType (Maybe DeliveryMediumType)-cddtDeliveryMedium = lens _cddtDeliveryMedium (\ s a -> s{_cddtDeliveryMedium = a});---- | The name of the attribute in the code delivery details type.-cddtAttributeName :: Lens' CodeDeliveryDetailsType (Maybe Text)-cddtAttributeName = lens _cddtAttributeName (\ s a -> s{_cddtAttributeName = a});--instance FromJSON CodeDeliveryDetailsType where-        parseJSON-          = withObject "CodeDeliveryDetailsType"-              (\ x ->-                 CodeDeliveryDetailsType' <$>-                   (x .:? "Destination") <*> (x .:? "DeliveryMedium")-                     <*> (x .:? "AttributeName"))--instance Hashable CodeDeliveryDetailsType where--instance NFData CodeDeliveryDetailsType where---- | The type of configuration for the user pool's device tracking.------------ /See:/ 'deviceConfigurationType' smart constructor.-data DeviceConfigurationType = DeviceConfigurationType'-  { _dctChallengeRequiredOnNewDevice     :: !(Maybe Bool)-  , _dctDeviceOnlyRememberedOnUserPrompt :: !(Maybe Bool)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeviceConfigurationType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dctChallengeRequiredOnNewDevice' - Indicates whether a challenge is required on a new device. Only applicable to a new device.------ * 'dctDeviceOnlyRememberedOnUserPrompt' - If true, a device is only remembered on user prompt.-deviceConfigurationType-    :: DeviceConfigurationType-deviceConfigurationType =-  DeviceConfigurationType'-  { _dctChallengeRequiredOnNewDevice = Nothing-  , _dctDeviceOnlyRememberedOnUserPrompt = Nothing-  }----- | Indicates whether a challenge is required on a new device. Only applicable to a new device.-dctChallengeRequiredOnNewDevice :: Lens' DeviceConfigurationType (Maybe Bool)-dctChallengeRequiredOnNewDevice = lens _dctChallengeRequiredOnNewDevice (\ s a -> s{_dctChallengeRequiredOnNewDevice = a});---- | If true, a device is only remembered on user prompt.-dctDeviceOnlyRememberedOnUserPrompt :: Lens' DeviceConfigurationType (Maybe Bool)-dctDeviceOnlyRememberedOnUserPrompt = lens _dctDeviceOnlyRememberedOnUserPrompt (\ s a -> s{_dctDeviceOnlyRememberedOnUserPrompt = a});--instance FromJSON DeviceConfigurationType where-        parseJSON-          = withObject "DeviceConfigurationType"-              (\ x ->-                 DeviceConfigurationType' <$>-                   (x .:? "ChallengeRequiredOnNewDevice") <*>-                     (x .:? "DeviceOnlyRememberedOnUserPrompt"))--instance Hashable DeviceConfigurationType where--instance NFData DeviceConfigurationType where--instance ToJSON DeviceConfigurationType where-        toJSON DeviceConfigurationType'{..}-          = object-              (catMaybes-                 [("ChallengeRequiredOnNewDevice" .=) <$>-                    _dctChallengeRequiredOnNewDevice,-                  ("DeviceOnlyRememberedOnUserPrompt" .=) <$>-                    _dctDeviceOnlyRememberedOnUserPrompt])---- | The device verifier against which it will be authenticated.------------ /See:/ 'deviceSecretVerifierConfigType' smart constructor.-data DeviceSecretVerifierConfigType = DeviceSecretVerifierConfigType'-  { _dsvctPasswordVerifier :: !(Maybe Text)-  , _dsvctSalt             :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeviceSecretVerifierConfigType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsvctPasswordVerifier' - The password verifier.------ * 'dsvctSalt' - The salt.-deviceSecretVerifierConfigType-    :: DeviceSecretVerifierConfigType-deviceSecretVerifierConfigType =-  DeviceSecretVerifierConfigType'-  {_dsvctPasswordVerifier = Nothing, _dsvctSalt = Nothing}----- | The password verifier.-dsvctPasswordVerifier :: Lens' DeviceSecretVerifierConfigType (Maybe Text)-dsvctPasswordVerifier = lens _dsvctPasswordVerifier (\ s a -> s{_dsvctPasswordVerifier = a});---- | The salt.-dsvctSalt :: Lens' DeviceSecretVerifierConfigType (Maybe Text)-dsvctSalt = lens _dsvctSalt (\ s a -> s{_dsvctSalt = a});--instance Hashable DeviceSecretVerifierConfigType-         where--instance NFData DeviceSecretVerifierConfigType where--instance ToJSON DeviceSecretVerifierConfigType where-        toJSON DeviceSecretVerifierConfigType'{..}-          = object-              (catMaybes-                 [("PasswordVerifier" .=) <$> _dsvctPasswordVerifier,-                  ("Salt" .=) <$> _dsvctSalt])---- | The device type.------------ /See:/ 'deviceType' smart constructor.-data DeviceType = DeviceType'-  { _dtDeviceLastModifiedDate      :: !(Maybe POSIX)-  , _dtDeviceCreateDate            :: !(Maybe POSIX)-  , _dtDeviceAttributes            :: !(Maybe [AttributeType])-  , _dtDeviceKey                   :: !(Maybe Text)-  , _dtDeviceLastAuthenticatedDate :: !(Maybe POSIX)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DeviceType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtDeviceLastModifiedDate' - The last modified date of the device.------ * 'dtDeviceCreateDate' - The creation date of the device.------ * 'dtDeviceAttributes' - The device attributes.------ * 'dtDeviceKey' - The device key.------ * 'dtDeviceLastAuthenticatedDate' - The date in which the device was last authenticated.-deviceType-    :: DeviceType-deviceType =-  DeviceType'-  { _dtDeviceLastModifiedDate = Nothing-  , _dtDeviceCreateDate = Nothing-  , _dtDeviceAttributes = Nothing-  , _dtDeviceKey = Nothing-  , _dtDeviceLastAuthenticatedDate = Nothing-  }----- | The last modified date of the device.-dtDeviceLastModifiedDate :: Lens' DeviceType (Maybe UTCTime)-dtDeviceLastModifiedDate = lens _dtDeviceLastModifiedDate (\ s a -> s{_dtDeviceLastModifiedDate = a}) . mapping _Time;---- | The creation date of the device.-dtDeviceCreateDate :: Lens' DeviceType (Maybe UTCTime)-dtDeviceCreateDate = lens _dtDeviceCreateDate (\ s a -> s{_dtDeviceCreateDate = a}) . mapping _Time;---- | The device attributes.-dtDeviceAttributes :: Lens' DeviceType [AttributeType]-dtDeviceAttributes = lens _dtDeviceAttributes (\ s a -> s{_dtDeviceAttributes = a}) . _Default . _Coerce;---- | The device key.-dtDeviceKey :: Lens' DeviceType (Maybe Text)-dtDeviceKey = lens _dtDeviceKey (\ s a -> s{_dtDeviceKey = a});---- | The date in which the device was last authenticated.-dtDeviceLastAuthenticatedDate :: Lens' DeviceType (Maybe UTCTime)-dtDeviceLastAuthenticatedDate = lens _dtDeviceLastAuthenticatedDate (\ s a -> s{_dtDeviceLastAuthenticatedDate = a}) . mapping _Time;--instance FromJSON DeviceType where-        parseJSON-          = withObject "DeviceType"-              (\ x ->-                 DeviceType' <$>-                   (x .:? "DeviceLastModifiedDate") <*>-                     (x .:? "DeviceCreateDate")-                     <*> (x .:? "DeviceAttributes" .!= mempty)-                     <*> (x .:? "DeviceKey")-                     <*> (x .:? "DeviceLastAuthenticatedDate"))--instance Hashable DeviceType where--instance NFData DeviceType where---- | A container for information about a domain.------------ /See:/ 'domainDescriptionType' smart constructor.-data DomainDescriptionType = DomainDescriptionType'-  { _ddtStatus                 :: !(Maybe DomainStatusType)-  , _ddtCloudFrontDistribution :: !(Maybe Text)-  , _ddtUserPoolId             :: !(Maybe Text)-  , _ddtDomain                 :: !(Maybe Text)-  , _ddtAWSAccountId           :: !(Maybe Text)-  , _ddtVersion                :: !(Maybe Text)-  , _ddtS3Bucket               :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DomainDescriptionType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddtStatus' - The domain status.------ * 'ddtCloudFrontDistribution' - The ARN of the CloudFront distribution.------ * 'ddtUserPoolId' - The user pool ID.------ * 'ddtDomain' - The domain string.------ * 'ddtAWSAccountId' - The AWS account ID for the user pool owner.------ * 'ddtVersion' - The app version.------ * 'ddtS3Bucket' - The S3 bucket where the static files for this domain are stored.-domainDescriptionType-    :: DomainDescriptionType-domainDescriptionType =-  DomainDescriptionType'-  { _ddtStatus = Nothing-  , _ddtCloudFrontDistribution = Nothing-  , _ddtUserPoolId = Nothing-  , _ddtDomain = Nothing-  , _ddtAWSAccountId = Nothing-  , _ddtVersion = Nothing-  , _ddtS3Bucket = Nothing-  }----- | The domain status.-ddtStatus :: Lens' DomainDescriptionType (Maybe DomainStatusType)-ddtStatus = lens _ddtStatus (\ s a -> s{_ddtStatus = a});---- | The ARN of the CloudFront distribution.-ddtCloudFrontDistribution :: Lens' DomainDescriptionType (Maybe Text)-ddtCloudFrontDistribution = lens _ddtCloudFrontDistribution (\ s a -> s{_ddtCloudFrontDistribution = a});---- | The user pool ID.-ddtUserPoolId :: Lens' DomainDescriptionType (Maybe Text)-ddtUserPoolId = lens _ddtUserPoolId (\ s a -> s{_ddtUserPoolId = a});---- | The domain string.-ddtDomain :: Lens' DomainDescriptionType (Maybe Text)-ddtDomain = lens _ddtDomain (\ s a -> s{_ddtDomain = a});---- | The AWS account ID for the user pool owner.-ddtAWSAccountId :: Lens' DomainDescriptionType (Maybe Text)-ddtAWSAccountId = lens _ddtAWSAccountId (\ s a -> s{_ddtAWSAccountId = a});---- | The app version.-ddtVersion :: Lens' DomainDescriptionType (Maybe Text)-ddtVersion = lens _ddtVersion (\ s a -> s{_ddtVersion = a});---- | The S3 bucket where the static files for this domain are stored.-ddtS3Bucket :: Lens' DomainDescriptionType (Maybe Text)-ddtS3Bucket = lens _ddtS3Bucket (\ s a -> s{_ddtS3Bucket = a});--instance FromJSON DomainDescriptionType where-        parseJSON-          = withObject "DomainDescriptionType"-              (\ x ->-                 DomainDescriptionType' <$>-                   (x .:? "Status") <*> (x .:? "CloudFrontDistribution")-                     <*> (x .:? "UserPoolId")-                     <*> (x .:? "Domain")-                     <*> (x .:? "AWSAccountId")-                     <*> (x .:? "Version")-                     <*> (x .:? "S3Bucket"))--instance Hashable DomainDescriptionType where--instance NFData DomainDescriptionType where---- | The email configuration type.------------ /See:/ 'emailConfigurationType' smart constructor.-data EmailConfigurationType = EmailConfigurationType'-  { _ectSourceARN           :: !(Maybe Text)-  , _ectReplyToEmailAddress :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EmailConfigurationType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ectSourceARN' - The Amazon Resource Name (ARN) of the email source.------ * 'ectReplyToEmailAddress' - The REPLY-TO email address.-emailConfigurationType-    :: EmailConfigurationType-emailConfigurationType =-  EmailConfigurationType'-  {_ectSourceARN = Nothing, _ectReplyToEmailAddress = Nothing}----- | The Amazon Resource Name (ARN) of the email source.-ectSourceARN :: Lens' EmailConfigurationType (Maybe Text)-ectSourceARN = lens _ectSourceARN (\ s a -> s{_ectSourceARN = a});---- | The REPLY-TO email address.-ectReplyToEmailAddress :: Lens' EmailConfigurationType (Maybe Text)-ectReplyToEmailAddress = lens _ectReplyToEmailAddress (\ s a -> s{_ectReplyToEmailAddress = a});--instance FromJSON EmailConfigurationType where-        parseJSON-          = withObject "EmailConfigurationType"-              (\ x ->-                 EmailConfigurationType' <$>-                   (x .:? "SourceArn") <*>-                     (x .:? "ReplyToEmailAddress"))--instance Hashable EmailConfigurationType where--instance NFData EmailConfigurationType where--instance ToJSON EmailConfigurationType where-        toJSON EmailConfigurationType'{..}-          = object-              (catMaybes-                 [("SourceArn" .=) <$> _ectSourceARN,-                  ("ReplyToEmailAddress" .=) <$>-                    _ectReplyToEmailAddress])---- | The group type.------------ /See:/ 'groupType' smart constructor.-data GroupType = GroupType'-  { _gtLastModifiedDate :: !(Maybe POSIX)-  , _gtUserPoolId       :: !(Maybe Text)-  , _gtCreationDate     :: !(Maybe POSIX)-  , _gtPrecedence       :: !(Maybe Nat)-  , _gtGroupName        :: !(Maybe Text)-  , _gtDescription      :: !(Maybe Text)-  , _gtRoleARN          :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GroupType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gtLastModifiedDate' - The date the group was last modified.------ * 'gtUserPoolId' - The user pool ID for the user pool.------ * 'gtCreationDate' - The date the group was created.------ * 'gtPrecedence' - 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.------ * 'gtGroupName' - The name of the group.------ * 'gtDescription' - A string containing the description of the group.------ * 'gtRoleARN' - The role ARN for the group.-groupType-    :: GroupType-groupType =-  GroupType'-  { _gtLastModifiedDate = Nothing-  , _gtUserPoolId = Nothing-  , _gtCreationDate = Nothing-  , _gtPrecedence = Nothing-  , _gtGroupName = Nothing-  , _gtDescription = Nothing-  , _gtRoleARN = Nothing-  }----- | The date the group was last modified.-gtLastModifiedDate :: Lens' GroupType (Maybe UTCTime)-gtLastModifiedDate = lens _gtLastModifiedDate (\ s a -> s{_gtLastModifiedDate = a}) . mapping _Time;---- | The user pool ID for the user pool.-gtUserPoolId :: Lens' GroupType (Maybe Text)-gtUserPoolId = lens _gtUserPoolId (\ s a -> s{_gtUserPoolId = a});---- | The date the group was created.-gtCreationDate :: Lens' GroupType (Maybe UTCTime)-gtCreationDate = lens _gtCreationDate (\ s a -> s{_gtCreationDate = a}) . mapping _Time;---- | 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.-gtPrecedence :: Lens' GroupType (Maybe Natural)-gtPrecedence = lens _gtPrecedence (\ s a -> s{_gtPrecedence = a}) . mapping _Nat;---- | The name of the group.-gtGroupName :: Lens' GroupType (Maybe Text)-gtGroupName = lens _gtGroupName (\ s a -> s{_gtGroupName = a});---- | A string containing the description of the group.-gtDescription :: Lens' GroupType (Maybe Text)-gtDescription = lens _gtDescription (\ s a -> s{_gtDescription = a});---- | The role ARN for the group.-gtRoleARN :: Lens' GroupType (Maybe Text)-gtRoleARN = lens _gtRoleARN (\ s a -> s{_gtRoleARN = a});--instance FromJSON GroupType where-        parseJSON-          = withObject "GroupType"-              (\ x ->-                 GroupType' <$>-                   (x .:? "LastModifiedDate") <*> (x .:? "UserPoolId")-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "Precedence")-                     <*> (x .:? "GroupName")-                     <*> (x .:? "Description")-                     <*> (x .:? "RoleArn"))--instance Hashable GroupType where--instance NFData GroupType where---- | A container for information about an identity provider.------------ /See:/ 'identityProviderType' smart constructor.-data IdentityProviderType = IdentityProviderType'-  { _iptLastModifiedDate :: !(Maybe POSIX)-  , _iptUserPoolId       :: !(Maybe Text)-  , _iptProviderType     :: !(Maybe IdentityProviderTypeType)-  , _iptCreationDate     :: !(Maybe POSIX)-  , _iptIdpIdentifiers   :: !(Maybe [Text])-  , _iptAttributeMapping :: !(Maybe (Map Text Text))-  , _iptProviderDetails  :: !(Maybe (Map Text Text))-  , _iptProviderName     :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'IdentityProviderType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iptLastModifiedDate' - The date the identity provider was last modified.------ * 'iptUserPoolId' - The user pool ID.------ * 'iptProviderType' - The identity provider type.------ * 'iptCreationDate' - The date the identity provider was created.------ * 'iptIdpIdentifiers' - A list of identity provider identifiers.------ * 'iptAttributeMapping' - A mapping of identity provider attributes to standard and custom user pool attributes.------ * 'iptProviderDetails' - The identity provider details, such as @MetadataURL@ and @MetadataFile@ .------ * 'iptProviderName' - The identity provider name.-identityProviderType-    :: IdentityProviderType-identityProviderType =-  IdentityProviderType'-  { _iptLastModifiedDate = Nothing-  , _iptUserPoolId = Nothing-  , _iptProviderType = Nothing-  , _iptCreationDate = Nothing-  , _iptIdpIdentifiers = Nothing-  , _iptAttributeMapping = Nothing-  , _iptProviderDetails = Nothing-  , _iptProviderName = Nothing-  }----- | The date the identity provider was last modified.-iptLastModifiedDate :: Lens' IdentityProviderType (Maybe UTCTime)-iptLastModifiedDate = lens _iptLastModifiedDate (\ s a -> s{_iptLastModifiedDate = a}) . mapping _Time;---- | The user pool ID.-iptUserPoolId :: Lens' IdentityProviderType (Maybe Text)-iptUserPoolId = lens _iptUserPoolId (\ s a -> s{_iptUserPoolId = a});---- | The identity provider type.-iptProviderType :: Lens' IdentityProviderType (Maybe IdentityProviderTypeType)-iptProviderType = lens _iptProviderType (\ s a -> s{_iptProviderType = a});---- | The date the identity provider was created.-iptCreationDate :: Lens' IdentityProviderType (Maybe UTCTime)-iptCreationDate = lens _iptCreationDate (\ s a -> s{_iptCreationDate = a}) . mapping _Time;---- | A list of identity provider identifiers.-iptIdpIdentifiers :: Lens' IdentityProviderType [Text]-iptIdpIdentifiers = lens _iptIdpIdentifiers (\ s a -> s{_iptIdpIdentifiers = a}) . _Default . _Coerce;---- | A mapping of identity provider attributes to standard and custom user pool attributes.-iptAttributeMapping :: Lens' IdentityProviderType (HashMap Text Text)-iptAttributeMapping = lens _iptAttributeMapping (\ s a -> s{_iptAttributeMapping = a}) . _Default . _Map;---- | The identity provider details, such as @MetadataURL@ and @MetadataFile@ .-iptProviderDetails :: Lens' IdentityProviderType (HashMap Text Text)-iptProviderDetails = lens _iptProviderDetails (\ s a -> s{_iptProviderDetails = a}) . _Default . _Map;---- | The identity provider name.-iptProviderName :: Lens' IdentityProviderType (Maybe Text)-iptProviderName = lens _iptProviderName (\ s a -> s{_iptProviderName = a});--instance FromJSON IdentityProviderType where-        parseJSON-          = withObject "IdentityProviderType"-              (\ x ->-                 IdentityProviderType' <$>-                   (x .:? "LastModifiedDate") <*> (x .:? "UserPoolId")-                     <*> (x .:? "ProviderType")-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "IdpIdentifiers" .!= mempty)-                     <*> (x .:? "AttributeMapping" .!= mempty)-                     <*> (x .:? "ProviderDetails" .!= mempty)-                     <*> (x .:? "ProviderName"))--instance Hashable IdentityProviderType where--instance NFData IdentityProviderType where---- | Specifies the type of configuration for AWS Lambda triggers.------------ /See:/ 'lambdaConfigType' smart constructor.-data LambdaConfigType = LambdaConfigType'-  { _lctPreAuthentication           :: !(Maybe Text)-  , _lctCreateAuthChallenge         :: !(Maybe Text)-  , _lctVerifyAuthChallengeResponse :: !(Maybe Text)-  , _lctPostAuthentication          :: !(Maybe Text)-  , _lctCustomMessage               :: !(Maybe Text)-  , _lctDefineAuthChallenge         :: !(Maybe Text)-  , _lctPostConfirmation            :: !(Maybe Text)-  , _lctPreSignUp                   :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LambdaConfigType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lctPreAuthentication' - A pre-authentication AWS Lambda trigger.------ * 'lctCreateAuthChallenge' - Creates an authentication challenge.------ * 'lctVerifyAuthChallengeResponse' - Verifies the authentication challenge response.------ * 'lctPostAuthentication' - A post-authentication AWS Lambda trigger.------ * 'lctCustomMessage' - A custom Message AWS Lambda trigger.------ * 'lctDefineAuthChallenge' - Defines the authentication challenge.------ * 'lctPostConfirmation' - A post-confirmation AWS Lambda trigger.------ * 'lctPreSignUp' - A pre-registration AWS Lambda trigger.-lambdaConfigType-    :: LambdaConfigType-lambdaConfigType =-  LambdaConfigType'-  { _lctPreAuthentication = Nothing-  , _lctCreateAuthChallenge = Nothing-  , _lctVerifyAuthChallengeResponse = Nothing-  , _lctPostAuthentication = Nothing-  , _lctCustomMessage = Nothing-  , _lctDefineAuthChallenge = Nothing-  , _lctPostConfirmation = Nothing-  , _lctPreSignUp = Nothing-  }----- | A pre-authentication AWS Lambda trigger.-lctPreAuthentication :: Lens' LambdaConfigType (Maybe Text)-lctPreAuthentication = lens _lctPreAuthentication (\ s a -> s{_lctPreAuthentication = a});---- | Creates an authentication challenge.-lctCreateAuthChallenge :: Lens' LambdaConfigType (Maybe Text)-lctCreateAuthChallenge = lens _lctCreateAuthChallenge (\ s a -> s{_lctCreateAuthChallenge = a});---- | Verifies the authentication challenge response.-lctVerifyAuthChallengeResponse :: Lens' LambdaConfigType (Maybe Text)-lctVerifyAuthChallengeResponse = lens _lctVerifyAuthChallengeResponse (\ s a -> s{_lctVerifyAuthChallengeResponse = a});---- | A post-authentication AWS Lambda trigger.-lctPostAuthentication :: Lens' LambdaConfigType (Maybe Text)-lctPostAuthentication = lens _lctPostAuthentication (\ s a -> s{_lctPostAuthentication = a});---- | A custom Message AWS Lambda trigger.-lctCustomMessage :: Lens' LambdaConfigType (Maybe Text)-lctCustomMessage = lens _lctCustomMessage (\ s a -> s{_lctCustomMessage = a});---- | Defines the authentication challenge.-lctDefineAuthChallenge :: Lens' LambdaConfigType (Maybe Text)-lctDefineAuthChallenge = lens _lctDefineAuthChallenge (\ s a -> s{_lctDefineAuthChallenge = a});---- | A post-confirmation AWS Lambda trigger.-lctPostConfirmation :: Lens' LambdaConfigType (Maybe Text)-lctPostConfirmation = lens _lctPostConfirmation (\ s a -> s{_lctPostConfirmation = a});---- | A pre-registration AWS Lambda trigger.-lctPreSignUp :: Lens' LambdaConfigType (Maybe Text)-lctPreSignUp = lens _lctPreSignUp (\ s a -> s{_lctPreSignUp = a});--instance FromJSON LambdaConfigType where-        parseJSON-          = withObject "LambdaConfigType"-              (\ x ->-                 LambdaConfigType' <$>-                   (x .:? "PreAuthentication") <*>-                     (x .:? "CreateAuthChallenge")-                     <*> (x .:? "VerifyAuthChallengeResponse")-                     <*> (x .:? "PostAuthentication")-                     <*> (x .:? "CustomMessage")-                     <*> (x .:? "DefineAuthChallenge")-                     <*> (x .:? "PostConfirmation")-                     <*> (x .:? "PreSignUp"))--instance Hashable LambdaConfigType where--instance NFData LambdaConfigType where--instance ToJSON LambdaConfigType where-        toJSON LambdaConfigType'{..}-          = object-              (catMaybes-                 [("PreAuthentication" .=) <$> _lctPreAuthentication,-                  ("CreateAuthChallenge" .=) <$>-                    _lctCreateAuthChallenge,-                  ("VerifyAuthChallengeResponse" .=) <$>-                    _lctVerifyAuthChallengeResponse,-                  ("PostAuthentication" .=) <$> _lctPostAuthentication,-                  ("CustomMessage" .=) <$> _lctCustomMessage,-                  ("DefineAuthChallenge" .=) <$>-                    _lctDefineAuthChallenge,-                  ("PostConfirmation" .=) <$> _lctPostConfirmation,-                  ("PreSignUp" .=) <$> _lctPreSignUp])---- | Specifies the different settings for multi-factor authentication (MFA).------------ /See:/ 'mfaOptionType' smart constructor.-data MFAOptionType = MFAOptionType'-  { _motDeliveryMedium :: !(Maybe DeliveryMediumType)-  , _motAttributeName  :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MFAOptionType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'motDeliveryMedium' - The delivery medium (email message or SMS message) to send the MFA code.------ * 'motAttributeName' - The attribute name of the MFA option type.-mfaOptionType-    :: MFAOptionType-mfaOptionType =-  MFAOptionType' {_motDeliveryMedium = Nothing, _motAttributeName = Nothing}----- | The delivery medium (email message or SMS message) to send the MFA code.-motDeliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType)-motDeliveryMedium = lens _motDeliveryMedium (\ s a -> s{_motDeliveryMedium = a});---- | The attribute name of the MFA option type.-motAttributeName :: Lens' MFAOptionType (Maybe Text)-motAttributeName = lens _motAttributeName (\ s a -> s{_motAttributeName = a});--instance FromJSON MFAOptionType where-        parseJSON-          = withObject "MFAOptionType"-              (\ x ->-                 MFAOptionType' <$>-                   (x .:? "DeliveryMedium") <*> (x .:? "AttributeName"))--instance Hashable MFAOptionType where--instance NFData MFAOptionType where--instance ToJSON MFAOptionType where-        toJSON MFAOptionType'{..}-          = object-              (catMaybes-                 [("DeliveryMedium" .=) <$> _motDeliveryMedium,-                  ("AttributeName" .=) <$> _motAttributeName])---- | The message template structure.------------ /See:/ 'messageTemplateType' smart constructor.-data MessageTemplateType = MessageTemplateType'-  { _mttEmailSubject :: !(Maybe Text)-  , _mttSMSMessage   :: !(Maybe Text)-  , _mttEmailMessage :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MessageTemplateType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mttEmailSubject' - The subject line for email messages.------ * 'mttSMSMessage' - The message template for SMS messages.------ * 'mttEmailMessage' - The message template for email messages.-messageTemplateType-    :: MessageTemplateType-messageTemplateType =-  MessageTemplateType'-  { _mttEmailSubject = Nothing-  , _mttSMSMessage = Nothing-  , _mttEmailMessage = Nothing-  }----- | The subject line for email messages.-mttEmailSubject :: Lens' MessageTemplateType (Maybe Text)-mttEmailSubject = lens _mttEmailSubject (\ s a -> s{_mttEmailSubject = a});---- | The message template for SMS messages.-mttSMSMessage :: Lens' MessageTemplateType (Maybe Text)-mttSMSMessage = lens _mttSMSMessage (\ s a -> s{_mttSMSMessage = a});---- | The message template for email messages.-mttEmailMessage :: Lens' MessageTemplateType (Maybe Text)-mttEmailMessage = lens _mttEmailMessage (\ s a -> s{_mttEmailMessage = a});--instance FromJSON MessageTemplateType where-        parseJSON-          = withObject "MessageTemplateType"-              (\ x ->-                 MessageTemplateType' <$>-                   (x .:? "EmailSubject") <*> (x .:? "SMSMessage") <*>-                     (x .:? "EmailMessage"))--instance Hashable MessageTemplateType where--instance NFData MessageTemplateType where--instance ToJSON MessageTemplateType where-        toJSON MessageTemplateType'{..}-          = object-              (catMaybes-                 [("EmailSubject" .=) <$> _mttEmailSubject,-                  ("SMSMessage" .=) <$> _mttSMSMessage,-                  ("EmailMessage" .=) <$> _mttEmailMessage])---- | The new device metadata type.------------ /See:/ 'newDeviceMetadataType' smart constructor.-data NewDeviceMetadataType = NewDeviceMetadataType'-  { _ndmtDeviceGroupKey :: !(Maybe Text)-  , _ndmtDeviceKey      :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'NewDeviceMetadataType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ndmtDeviceGroupKey' - The device group key.------ * 'ndmtDeviceKey' - The device key.-newDeviceMetadataType-    :: NewDeviceMetadataType-newDeviceMetadataType =-  NewDeviceMetadataType'-  {_ndmtDeviceGroupKey = Nothing, _ndmtDeviceKey = Nothing}----- | The device group key.-ndmtDeviceGroupKey :: Lens' NewDeviceMetadataType (Maybe Text)-ndmtDeviceGroupKey = lens _ndmtDeviceGroupKey (\ s a -> s{_ndmtDeviceGroupKey = a});---- | The device key.-ndmtDeviceKey :: Lens' NewDeviceMetadataType (Maybe Text)-ndmtDeviceKey = lens _ndmtDeviceKey (\ s a -> s{_ndmtDeviceKey = a});--instance FromJSON NewDeviceMetadataType where-        parseJSON-          = withObject "NewDeviceMetadataType"-              (\ x ->-                 NewDeviceMetadataType' <$>-                   (x .:? "DeviceGroupKey") <*> (x .:? "DeviceKey"))--instance Hashable NewDeviceMetadataType where--instance NFData NewDeviceMetadataType where---- | The minimum and maximum value of an attribute that is of the number data type.------------ /See:/ 'numberAttributeConstraintsType' smart constructor.-data NumberAttributeConstraintsType = NumberAttributeConstraintsType'-  { _nactMaxValue :: !(Maybe Text)-  , _nactMinValue :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'NumberAttributeConstraintsType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'nactMaxValue' - The maximum value of an attribute that is of the number data type.------ * 'nactMinValue' - The minimum value of an attribute that is of the number data type.-numberAttributeConstraintsType-    :: NumberAttributeConstraintsType-numberAttributeConstraintsType =-  NumberAttributeConstraintsType'-  {_nactMaxValue = Nothing, _nactMinValue = Nothing}----- | The maximum value of an attribute that is of the number data type.-nactMaxValue :: Lens' NumberAttributeConstraintsType (Maybe Text)-nactMaxValue = lens _nactMaxValue (\ s a -> s{_nactMaxValue = a});---- | The minimum value of an attribute that is of the number data type.-nactMinValue :: Lens' NumberAttributeConstraintsType (Maybe Text)-nactMinValue = lens _nactMinValue (\ s a -> s{_nactMinValue = a});--instance FromJSON NumberAttributeConstraintsType-         where-        parseJSON-          = withObject "NumberAttributeConstraintsType"-              (\ x ->-                 NumberAttributeConstraintsType' <$>-                   (x .:? "MaxValue") <*> (x .:? "MinValue"))--instance Hashable NumberAttributeConstraintsType-         where--instance NFData NumberAttributeConstraintsType where--instance ToJSON NumberAttributeConstraintsType where-        toJSON NumberAttributeConstraintsType'{..}-          = object-              (catMaybes-                 [("MaxValue" .=) <$> _nactMaxValue,-                  ("MinValue" .=) <$> _nactMinValue])---- | The password policy type.------------ /See:/ 'passwordPolicyType' smart constructor.-data PasswordPolicyType = PasswordPolicyType'-  { _pptRequireNumbers   :: !(Maybe Bool)-  , _pptRequireUppercase :: !(Maybe Bool)-  , _pptRequireLowercase :: !(Maybe Bool)-  , _pptMinimumLength    :: !(Maybe Nat)-  , _pptRequireSymbols   :: !(Maybe Bool)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PasswordPolicyType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pptRequireNumbers' - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.------ * 'pptRequireUppercase' - 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.------ * 'pptRequireLowercase' - 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.------ * 'pptMinimumLength' - The minimum length of the password policy that you have set. Cannot be less than 6.------ * 'pptRequireSymbols' - 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-    :: PasswordPolicyType-passwordPolicyType =-  PasswordPolicyType'-  { _pptRequireNumbers = Nothing-  , _pptRequireUppercase = Nothing-  , _pptRequireLowercase = Nothing-  , _pptMinimumLength = Nothing-  , _pptRequireSymbols = Nothing-  }----- | In the password policy that you have set, refers to whether you have required users to use at least one number in their password.-pptRequireNumbers :: Lens' PasswordPolicyType (Maybe Bool)-pptRequireNumbers = lens _pptRequireNumbers (\ s a -> s{_pptRequireNumbers = a});---- | In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.-pptRequireUppercase :: Lens' PasswordPolicyType (Maybe Bool)-pptRequireUppercase = lens _pptRequireUppercase (\ s a -> s{_pptRequireUppercase = a});---- | In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.-pptRequireLowercase :: Lens' PasswordPolicyType (Maybe Bool)-pptRequireLowercase = lens _pptRequireLowercase (\ s a -> s{_pptRequireLowercase = a});---- | The minimum length of the password policy that you have set. Cannot be less than 6.-pptMinimumLength :: Lens' PasswordPolicyType (Maybe Natural)-pptMinimumLength = lens _pptMinimumLength (\ s a -> s{_pptMinimumLength = a}) . mapping _Nat;---- | In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.-pptRequireSymbols :: Lens' PasswordPolicyType (Maybe Bool)-pptRequireSymbols = lens _pptRequireSymbols (\ s a -> s{_pptRequireSymbols = a});--instance FromJSON PasswordPolicyType where-        parseJSON-          = withObject "PasswordPolicyType"-              (\ x ->-                 PasswordPolicyType' <$>-                   (x .:? "RequireNumbers") <*>-                     (x .:? "RequireUppercase")-                     <*> (x .:? "RequireLowercase")-                     <*> (x .:? "MinimumLength")-                     <*> (x .:? "RequireSymbols"))--instance Hashable PasswordPolicyType where--instance NFData PasswordPolicyType where--instance ToJSON PasswordPolicyType where-        toJSON PasswordPolicyType'{..}-          = object-              (catMaybes-                 [("RequireNumbers" .=) <$> _pptRequireNumbers,-                  ("RequireUppercase" .=) <$> _pptRequireUppercase,-                  ("RequireLowercase" .=) <$> _pptRequireLowercase,-                  ("MinimumLength" .=) <$> _pptMinimumLength,-                  ("RequireSymbols" .=) <$> _pptRequireSymbols])---- | A container for identity provider details.------------ /See:/ 'providerDescription' smart constructor.-data ProviderDescription = ProviderDescription'-  { _pdLastModifiedDate :: !(Maybe POSIX)-  , _pdProviderType     :: !(Maybe IdentityProviderTypeType)-  , _pdCreationDate     :: !(Maybe POSIX)-  , _pdProviderName     :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ProviderDescription' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdLastModifiedDate' - The date the provider was last modified.------ * 'pdProviderType' - The identity provider type.------ * 'pdCreationDate' - The date the provider was added to the user pool.------ * 'pdProviderName' - The identity provider name.-providerDescription-    :: ProviderDescription-providerDescription =-  ProviderDescription'-  { _pdLastModifiedDate = Nothing-  , _pdProviderType = Nothing-  , _pdCreationDate = Nothing-  , _pdProviderName = Nothing-  }----- | The date the provider was last modified.-pdLastModifiedDate :: Lens' ProviderDescription (Maybe UTCTime)-pdLastModifiedDate = lens _pdLastModifiedDate (\ s a -> s{_pdLastModifiedDate = a}) . mapping _Time;---- | The identity provider type.-pdProviderType :: Lens' ProviderDescription (Maybe IdentityProviderTypeType)-pdProviderType = lens _pdProviderType (\ s a -> s{_pdProviderType = a});---- | The date the provider was added to the user pool.-pdCreationDate :: Lens' ProviderDescription (Maybe UTCTime)-pdCreationDate = lens _pdCreationDate (\ s a -> s{_pdCreationDate = a}) . mapping _Time;---- | The identity provider name.-pdProviderName :: Lens' ProviderDescription (Maybe Text)-pdProviderName = lens _pdProviderName (\ s a -> s{_pdProviderName = a});--instance FromJSON ProviderDescription where-        parseJSON-          = withObject "ProviderDescription"-              (\ x ->-                 ProviderDescription' <$>-                   (x .:? "LastModifiedDate") <*> (x .:? "ProviderType")-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "ProviderName"))--instance Hashable ProviderDescription where--instance NFData ProviderDescription where---- | A container for information about an identity provider for a user pool.------------ /See:/ 'providerUserIdentifierType' smart constructor.-data ProviderUserIdentifierType = ProviderUserIdentifierType'-  { _puitProviderAttributeValue :: !(Maybe Text)-  , _puitProviderAttributeName  :: !(Maybe Text)-  , _puitProviderName           :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ProviderUserIdentifierType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'puitProviderAttributeValue' - The value of the provider attribute to link to, for example, @xxxxx_account@ .------ * 'puitProviderAttributeName' - The name of the provider attribute to link to, for example, @NameID@ .------ * 'puitProviderName' - The name of the provider, for example, Facebook, Google, or Login with Amazon.-providerUserIdentifierType-    :: ProviderUserIdentifierType-providerUserIdentifierType =-  ProviderUserIdentifierType'-  { _puitProviderAttributeValue = Nothing-  , _puitProviderAttributeName = Nothing-  , _puitProviderName = Nothing-  }----- | The value of the provider attribute to link to, for example, @xxxxx_account@ .-puitProviderAttributeValue :: Lens' ProviderUserIdentifierType (Maybe Text)-puitProviderAttributeValue = lens _puitProviderAttributeValue (\ s a -> s{_puitProviderAttributeValue = a});---- | The name of the provider attribute to link to, for example, @NameID@ .-puitProviderAttributeName :: Lens' ProviderUserIdentifierType (Maybe Text)-puitProviderAttributeName = lens _puitProviderAttributeName (\ s a -> s{_puitProviderAttributeName = a});---- | The name of the provider, for example, Facebook, Google, or Login with Amazon.-puitProviderName :: Lens' ProviderUserIdentifierType (Maybe Text)-puitProviderName = lens _puitProviderName (\ s a -> s{_puitProviderName = a});--instance Hashable ProviderUserIdentifierType where--instance NFData ProviderUserIdentifierType where--instance ToJSON ProviderUserIdentifierType where-        toJSON ProviderUserIdentifierType'{..}-          = object-              (catMaybes-                 [("ProviderAttributeValue" .=) <$>-                    _puitProviderAttributeValue,-                  ("ProviderAttributeName" .=) <$>-                    _puitProviderAttributeName,-                  ("ProviderName" .=) <$> _puitProviderName])---- | A resource server scope.------------ /See:/ 'resourceServerScopeType' smart constructor.-data ResourceServerScopeType = ResourceServerScopeType'-  { _rsstScopeName        :: !Text-  , _rsstScopeDescription :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ResourceServerScopeType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rsstScopeName' - The name of the scope.------ * 'rsstScopeDescription' - A description of the scope.-resourceServerScopeType-    :: Text -- ^ 'rsstScopeName'-    -> Text -- ^ 'rsstScopeDescription'-    -> ResourceServerScopeType-resourceServerScopeType pScopeName_ pScopeDescription_ =-  ResourceServerScopeType'-  {_rsstScopeName = pScopeName_, _rsstScopeDescription = pScopeDescription_}----- | The name of the scope.-rsstScopeName :: Lens' ResourceServerScopeType Text-rsstScopeName = lens _rsstScopeName (\ s a -> s{_rsstScopeName = a});---- | A description of the scope.-rsstScopeDescription :: Lens' ResourceServerScopeType Text-rsstScopeDescription = lens _rsstScopeDescription (\ s a -> s{_rsstScopeDescription = a});--instance FromJSON ResourceServerScopeType where-        parseJSON-          = withObject "ResourceServerScopeType"-              (\ x ->-                 ResourceServerScopeType' <$>-                   (x .: "ScopeName") <*> (x .: "ScopeDescription"))--instance Hashable ResourceServerScopeType where--instance NFData ResourceServerScopeType where--instance ToJSON ResourceServerScopeType where-        toJSON ResourceServerScopeType'{..}-          = object-              (catMaybes-                 [Just ("ScopeName" .= _rsstScopeName),-                  Just ("ScopeDescription" .= _rsstScopeDescription)])---- | A container for information about a resource server for a user pool.------------ /See:/ 'resourceServerType' smart constructor.-data ResourceServerType = ResourceServerType'-  { _rstUserPoolId :: !(Maybe Text)-  , _rstIdentifier :: !(Maybe Text)-  , _rstScopes     :: !(Maybe [ResourceServerScopeType])-  , _rstName       :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ResourceServerType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rstUserPoolId' - The user pool ID for the user pool that hosts the resource server.------ * 'rstIdentifier' - The identifier for the resource server.------ * 'rstScopes' - A list of scopes that are defined for the resource server.------ * 'rstName' - The name of the resource server.-resourceServerType-    :: ResourceServerType-resourceServerType =-  ResourceServerType'-  { _rstUserPoolId = Nothing-  , _rstIdentifier = Nothing-  , _rstScopes = Nothing-  , _rstName = Nothing-  }----- | The user pool ID for the user pool that hosts the resource server.-rstUserPoolId :: Lens' ResourceServerType (Maybe Text)-rstUserPoolId = lens _rstUserPoolId (\ s a -> s{_rstUserPoolId = a});---- | The identifier for the resource server.-rstIdentifier :: Lens' ResourceServerType (Maybe Text)-rstIdentifier = lens _rstIdentifier (\ s a -> s{_rstIdentifier = a});---- | A list of scopes that are defined for the resource server.-rstScopes :: Lens' ResourceServerType [ResourceServerScopeType]-rstScopes = lens _rstScopes (\ s a -> s{_rstScopes = a}) . _Default . _Coerce;---- | The name of the resource server.-rstName :: Lens' ResourceServerType (Maybe Text)-rstName = lens _rstName (\ s a -> s{_rstName = a});--instance FromJSON ResourceServerType where-        parseJSON-          = withObject "ResourceServerType"-              (\ x ->-                 ResourceServerType' <$>-                   (x .:? "UserPoolId") <*> (x .:? "Identifier") <*>-                     (x .:? "Scopes" .!= mempty)-                     <*> (x .:? "Name"))--instance Hashable ResourceServerType where--instance NFData ResourceServerType where---- | Contains information about the schema attribute.------------ /See:/ 'schemaAttributeType' smart constructor.-data SchemaAttributeType = SchemaAttributeType'-  { _satNumberAttributeConstraints :: !(Maybe NumberAttributeConstraintsType)-  , _satRequired                   :: !(Maybe Bool)-  , _satAttributeDataType          :: !(Maybe AttributeDataType)-  , _satStringAttributeConstraints :: !(Maybe StringAttributeConstraintsType)-  , _satName                       :: !(Maybe Text)-  , _satDeveloperOnlyAttribute     :: !(Maybe Bool)-  , _satMutable                    :: !(Maybe Bool)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SchemaAttributeType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'satNumberAttributeConstraints' - Specifies the constraints for an attribute of the number type.------ * 'satRequired' - 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.------ * 'satAttributeDataType' - The attribute data type.------ * 'satStringAttributeConstraints' - Specifies the constraints for an attribute of the string type.------ * 'satName' - A schema attribute of the name type.------ * 'satDeveloperOnlyAttribute' - Specifies whether the attribute type is developer only.------ * 'satMutable' - Specifies whether the attribute can be changed once it has been created.-schemaAttributeType-    :: SchemaAttributeType-schemaAttributeType =-  SchemaAttributeType'-  { _satNumberAttributeConstraints = Nothing-  , _satRequired = Nothing-  , _satAttributeDataType = Nothing-  , _satStringAttributeConstraints = Nothing-  , _satName = Nothing-  , _satDeveloperOnlyAttribute = Nothing-  , _satMutable = Nothing-  }----- | Specifies the constraints for an attribute of the number type.-satNumberAttributeConstraints :: Lens' SchemaAttributeType (Maybe NumberAttributeConstraintsType)-satNumberAttributeConstraints = lens _satNumberAttributeConstraints (\ s a -> s{_satNumberAttributeConstraints = a});---- | Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.-satRequired :: Lens' SchemaAttributeType (Maybe Bool)-satRequired = lens _satRequired (\ s a -> s{_satRequired = a});---- | The attribute data type.-satAttributeDataType :: Lens' SchemaAttributeType (Maybe AttributeDataType)-satAttributeDataType = lens _satAttributeDataType (\ s a -> s{_satAttributeDataType = a});---- | Specifies the constraints for an attribute of the string type.-satStringAttributeConstraints :: Lens' SchemaAttributeType (Maybe StringAttributeConstraintsType)-satStringAttributeConstraints = lens _satStringAttributeConstraints (\ s a -> s{_satStringAttributeConstraints = a});---- | A schema attribute of the name type.-satName :: Lens' SchemaAttributeType (Maybe Text)-satName = lens _satName (\ s a -> s{_satName = a});---- | Specifies whether the attribute type is developer only.-satDeveloperOnlyAttribute :: Lens' SchemaAttributeType (Maybe Bool)-satDeveloperOnlyAttribute = lens _satDeveloperOnlyAttribute (\ s a -> s{_satDeveloperOnlyAttribute = a});---- | Specifies whether the attribute can be changed once it has been created.-satMutable :: Lens' SchemaAttributeType (Maybe Bool)-satMutable = lens _satMutable (\ s a -> s{_satMutable = a});--instance FromJSON SchemaAttributeType where-        parseJSON-          = withObject "SchemaAttributeType"-              (\ x ->-                 SchemaAttributeType' <$>-                   (x .:? "NumberAttributeConstraints") <*>-                     (x .:? "Required")-                     <*> (x .:? "AttributeDataType")-                     <*> (x .:? "StringAttributeConstraints")-                     <*> (x .:? "Name")-                     <*> (x .:? "DeveloperOnlyAttribute")-                     <*> (x .:? "Mutable"))--instance Hashable SchemaAttributeType where--instance NFData SchemaAttributeType where--instance ToJSON SchemaAttributeType where-        toJSON SchemaAttributeType'{..}-          = object-              (catMaybes-                 [("NumberAttributeConstraints" .=) <$>-                    _satNumberAttributeConstraints,-                  ("Required" .=) <$> _satRequired,-                  ("AttributeDataType" .=) <$> _satAttributeDataType,-                  ("StringAttributeConstraints" .=) <$>-                    _satStringAttributeConstraints,-                  ("Name" .=) <$> _satName,-                  ("DeveloperOnlyAttribute" .=) <$>-                    _satDeveloperOnlyAttribute,-                  ("Mutable" .=) <$> _satMutable])---- | The SMS configuration type.------------ /See:/ 'smsConfigurationType' smart constructor.-data SmsConfigurationType = SmsConfigurationType'-  { _sctExternalId   :: !(Maybe Text)-  , _sctSNSCallerARN :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SmsConfigurationType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sctExternalId' - The external ID.------ * 'sctSNSCallerARN' - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.-smsConfigurationType-    :: Text -- ^ 'sctSNSCallerARN'-    -> SmsConfigurationType-smsConfigurationType pSNSCallerARN_ =-  SmsConfigurationType'-  {_sctExternalId = Nothing, _sctSNSCallerARN = pSNSCallerARN_}----- | The external ID.-sctExternalId :: Lens' SmsConfigurationType (Maybe Text)-sctExternalId = lens _sctExternalId (\ s a -> s{_sctExternalId = a});---- | The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.-sctSNSCallerARN :: Lens' SmsConfigurationType Text-sctSNSCallerARN = lens _sctSNSCallerARN (\ s a -> s{_sctSNSCallerARN = a});--instance FromJSON SmsConfigurationType where-        parseJSON-          = withObject "SmsConfigurationType"-              (\ x ->-                 SmsConfigurationType' <$>-                   (x .:? "ExternalId") <*> (x .: "SnsCallerArn"))--instance Hashable SmsConfigurationType where--instance NFData SmsConfigurationType where--instance ToJSON SmsConfigurationType where-        toJSON SmsConfigurationType'{..}-          = object-              (catMaybes-                 [("ExternalId" .=) <$> _sctExternalId,-                  Just ("SnsCallerArn" .= _sctSNSCallerARN)])---- | The type of constraints associated with an attribute of the string type.------------ /See:/ 'stringAttributeConstraintsType' smart constructor.-data StringAttributeConstraintsType = StringAttributeConstraintsType'-  { _sactMaxLength :: !(Maybe Text)-  , _sactMinLength :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StringAttributeConstraintsType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sactMaxLength' - The maximum length of an attribute value of the string type.------ * 'sactMinLength' - The minimum length of an attribute value of the string type.-stringAttributeConstraintsType-    :: StringAttributeConstraintsType-stringAttributeConstraintsType =-  StringAttributeConstraintsType'-  {_sactMaxLength = Nothing, _sactMinLength = Nothing}----- | The maximum length of an attribute value of the string type.-sactMaxLength :: Lens' StringAttributeConstraintsType (Maybe Text)-sactMaxLength = lens _sactMaxLength (\ s a -> s{_sactMaxLength = a});---- | The minimum length of an attribute value of the string type.-sactMinLength :: Lens' StringAttributeConstraintsType (Maybe Text)-sactMinLength = lens _sactMinLength (\ s a -> s{_sactMinLength = a});--instance FromJSON StringAttributeConstraintsType-         where-        parseJSON-          = withObject "StringAttributeConstraintsType"-              (\ x ->-                 StringAttributeConstraintsType' <$>-                   (x .:? "MaxLength") <*> (x .:? "MinLength"))--instance Hashable StringAttributeConstraintsType-         where--instance NFData StringAttributeConstraintsType where--instance ToJSON StringAttributeConstraintsType where-        toJSON StringAttributeConstraintsType'{..}-          = object-              (catMaybes-                 [("MaxLength" .=) <$> _sactMaxLength,-                  ("MinLength" .=) <$> _sactMinLength])---- | A container for the UI customization information for a user pool's built-in app UI.------------ /See:/ 'uICustomizationType' smart constructor.-data UICustomizationType = UICustomizationType'-  { _uictClientId         :: !(Maybe (Sensitive Text))-  , _uictLastModifiedDate :: !(Maybe POSIX)-  , _uictUserPoolId       :: !(Maybe Text)-  , _uictCSS              :: !(Maybe Text)-  , _uictCSSVersion       :: !(Maybe Text)-  , _uictImageURL         :: !(Maybe Text)-  , _uictCreationDate     :: !(Maybe POSIX)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UICustomizationType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uictClientId' - The client ID for the client app.------ * 'uictLastModifiedDate' - The last-modified date for the UI customization.------ * 'uictUserPoolId' - The user pool ID for the user pool.------ * 'uictCSS' - The CSS values in the UI customization.------ * 'uictCSSVersion' - The CSS version number.------ * 'uictImageURL' - The logo image for the UI customization.------ * 'uictCreationDate' - The creation date for the UI customization.-uICustomizationType-    :: UICustomizationType-uICustomizationType =-  UICustomizationType'-  { _uictClientId = Nothing-  , _uictLastModifiedDate = Nothing-  , _uictUserPoolId = Nothing-  , _uictCSS = Nothing-  , _uictCSSVersion = Nothing-  , _uictImageURL = Nothing-  , _uictCreationDate = Nothing-  }----- | The client ID for the client app.-uictClientId :: Lens' UICustomizationType (Maybe Text)-uictClientId = lens _uictClientId (\ s a -> s{_uictClientId = a}) . mapping _Sensitive;---- | The last-modified date for the UI customization.-uictLastModifiedDate :: Lens' UICustomizationType (Maybe UTCTime)-uictLastModifiedDate = lens _uictLastModifiedDate (\ s a -> s{_uictLastModifiedDate = a}) . mapping _Time;---- | The user pool ID for the user pool.-uictUserPoolId :: Lens' UICustomizationType (Maybe Text)-uictUserPoolId = lens _uictUserPoolId (\ s a -> s{_uictUserPoolId = a});---- | The CSS values in the UI customization.-uictCSS :: Lens' UICustomizationType (Maybe Text)-uictCSS = lens _uictCSS (\ s a -> s{_uictCSS = a});---- | The CSS version number.-uictCSSVersion :: Lens' UICustomizationType (Maybe Text)-uictCSSVersion = lens _uictCSSVersion (\ s a -> s{_uictCSSVersion = a});---- | The logo image for the UI customization.-uictImageURL :: Lens' UICustomizationType (Maybe Text)-uictImageURL = lens _uictImageURL (\ s a -> s{_uictImageURL = a});---- | The creation date for the UI customization.-uictCreationDate :: Lens' UICustomizationType (Maybe UTCTime)-uictCreationDate = lens _uictCreationDate (\ s a -> s{_uictCreationDate = a}) . mapping _Time;--instance FromJSON UICustomizationType where-        parseJSON-          = withObject "UICustomizationType"-              (\ x ->-                 UICustomizationType' <$>-                   (x .:? "ClientId") <*> (x .:? "LastModifiedDate") <*>-                     (x .:? "UserPoolId")-                     <*> (x .:? "CSS")-                     <*> (x .:? "CSSVersion")-                     <*> (x .:? "ImageUrl")-                     <*> (x .:? "CreationDate"))--instance Hashable UICustomizationType where--instance NFData UICustomizationType where---- | The user import job type.------------ /See:/ 'userImportJobType' smart constructor.-data UserImportJobType = UserImportJobType'-  { _uijtStatus                :: !(Maybe UserImportJobStatusType)-  , _uijtSkippedUsers          :: !(Maybe Integer)-  , _uijtJobId                 :: !(Maybe Text)-  , _uijtUserPoolId            :: !(Maybe Text)-  , _uijtJobName               :: !(Maybe Text)-  , _uijtPreSignedURL          :: !(Maybe Text)-  , _uijtFailedUsers           :: !(Maybe Integer)-  , _uijtStartDate             :: !(Maybe POSIX)-  , _uijtCompletionMessage     :: !(Maybe Text)-  , _uijtCreationDate          :: !(Maybe POSIX)-  , _uijtCompletionDate        :: !(Maybe POSIX)-  , _uijtCloudWatchLogsRoleARN :: !(Maybe Text)-  , _uijtImportedUsers         :: !(Maybe Integer)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UserImportJobType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uijtStatus' - 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.------ * 'uijtSkippedUsers' - The number of users that were skipped.------ * 'uijtJobId' - The job ID for the user import job.------ * 'uijtUserPoolId' - The user pool ID for the user pool that the users are being imported into.------ * 'uijtJobName' - The job name for the user import job.------ * 'uijtPreSignedURL' - The pre-signed URL to be used to upload the @.csv@ file.------ * 'uijtFailedUsers' - The number of users that could not be imported.------ * 'uijtStartDate' - The date when the user import job was started.------ * 'uijtCompletionMessage' - The message returned when the user import job is completed.------ * 'uijtCreationDate' - The date the user import job was created.------ * 'uijtCompletionDate' - The date when the user import job was completed.------ * 'uijtCloudWatchLogsRoleARN' - 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.------ * 'uijtImportedUsers' - The number of users that were successfully imported.-userImportJobType-    :: UserImportJobType-userImportJobType =-  UserImportJobType'-  { _uijtStatus = Nothing-  , _uijtSkippedUsers = Nothing-  , _uijtJobId = Nothing-  , _uijtUserPoolId = Nothing-  , _uijtJobName = Nothing-  , _uijtPreSignedURL = Nothing-  , _uijtFailedUsers = Nothing-  , _uijtStartDate = Nothing-  , _uijtCompletionMessage = Nothing-  , _uijtCreationDate = Nothing-  , _uijtCompletionDate = Nothing-  , _uijtCloudWatchLogsRoleARN = Nothing-  , _uijtImportedUsers = Nothing-  }----- | The status of the user import job. One of the following:     * @Created@ - The job was created but not started.     * @Pending@ - A transition state. You have started the job, but it has not begun importing users yet.     * @InProgress@ - The job has started, and users are being imported.     * @Stopping@ - You have stopped the job, but the job has not stopped importing users yet.     * @Stopped@ - You have stopped the job, and the job has stopped importing users.     * @Succeeded@ - The job has completed successfully.     * @Failed@ - The job has stopped due to an error.     * @Expired@ - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job cannot be started.-uijtStatus :: Lens' UserImportJobType (Maybe UserImportJobStatusType)-uijtStatus = lens _uijtStatus (\ s a -> s{_uijtStatus = a});---- | The number of users that were skipped.-uijtSkippedUsers :: Lens' UserImportJobType (Maybe Integer)-uijtSkippedUsers = lens _uijtSkippedUsers (\ s a -> s{_uijtSkippedUsers = a});---- | The job ID for the user import job.-uijtJobId :: Lens' UserImportJobType (Maybe Text)-uijtJobId = lens _uijtJobId (\ s a -> s{_uijtJobId = a});---- | The user pool ID for the user pool that the users are being imported into.-uijtUserPoolId :: Lens' UserImportJobType (Maybe Text)-uijtUserPoolId = lens _uijtUserPoolId (\ s a -> s{_uijtUserPoolId = a});---- | The job name for the user import job.-uijtJobName :: Lens' UserImportJobType (Maybe Text)-uijtJobName = lens _uijtJobName (\ s a -> s{_uijtJobName = a});---- | The pre-signed URL to be used to upload the @.csv@ file.-uijtPreSignedURL :: Lens' UserImportJobType (Maybe Text)-uijtPreSignedURL = lens _uijtPreSignedURL (\ s a -> s{_uijtPreSignedURL = a});---- | The number of users that could not be imported.-uijtFailedUsers :: Lens' UserImportJobType (Maybe Integer)-uijtFailedUsers = lens _uijtFailedUsers (\ s a -> s{_uijtFailedUsers = a});---- | The date when the user import job was started.-uijtStartDate :: Lens' UserImportJobType (Maybe UTCTime)-uijtStartDate = lens _uijtStartDate (\ s a -> s{_uijtStartDate = a}) . mapping _Time;---- | The message returned when the user import job is completed.-uijtCompletionMessage :: Lens' UserImportJobType (Maybe Text)-uijtCompletionMessage = lens _uijtCompletionMessage (\ s a -> s{_uijtCompletionMessage = a});---- | The date the user import job was created.-uijtCreationDate :: Lens' UserImportJobType (Maybe UTCTime)-uijtCreationDate = lens _uijtCreationDate (\ s a -> s{_uijtCreationDate = a}) . mapping _Time;---- | The date when the user import job was completed.-uijtCompletionDate :: Lens' UserImportJobType (Maybe UTCTime)-uijtCompletionDate = lens _uijtCompletionDate (\ s a -> s{_uijtCompletionDate = a}) . mapping _Time;---- | The role ARN for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.-uijtCloudWatchLogsRoleARN :: Lens' UserImportJobType (Maybe Text)-uijtCloudWatchLogsRoleARN = lens _uijtCloudWatchLogsRoleARN (\ s a -> s{_uijtCloudWatchLogsRoleARN = a});---- | The number of users that were successfully imported.-uijtImportedUsers :: Lens' UserImportJobType (Maybe Integer)-uijtImportedUsers = lens _uijtImportedUsers (\ s a -> s{_uijtImportedUsers = a});--instance FromJSON UserImportJobType where-        parseJSON-          = withObject "UserImportJobType"-              (\ x ->-                 UserImportJobType' <$>-                   (x .:? "Status") <*> (x .:? "SkippedUsers") <*>-                     (x .:? "JobId")-                     <*> (x .:? "UserPoolId")-                     <*> (x .:? "JobName")-                     <*> (x .:? "PreSignedUrl")-                     <*> (x .:? "FailedUsers")-                     <*> (x .:? "StartDate")-                     <*> (x .:? "CompletionMessage")-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "CompletionDate")-                     <*> (x .:? "CloudWatchLogsRoleArn")-                     <*> (x .:? "ImportedUsers"))--instance Hashable UserImportJobType where--instance NFData UserImportJobType where---- | The description of the user pool client.------------ /See:/ 'userPoolClientDescription' smart constructor.-data UserPoolClientDescription = UserPoolClientDescription'-  { _upcdClientId   :: !(Maybe (Sensitive Text))-  , _upcdUserPoolId :: !(Maybe Text)-  , _upcdClientName :: !(Maybe Text)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UserPoolClientDescription' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'upcdClientId' - The ID of the client associated with the user pool.------ * 'upcdUserPoolId' - The user pool ID for the user pool where you want to describe the user pool client.------ * 'upcdClientName' - The client name from the user pool client description.-userPoolClientDescription-    :: UserPoolClientDescription-userPoolClientDescription =-  UserPoolClientDescription'-  { _upcdClientId = Nothing-  , _upcdUserPoolId = Nothing-  , _upcdClientName = Nothing-  }----- | The ID of the client associated with the user pool.-upcdClientId :: Lens' UserPoolClientDescription (Maybe Text)-upcdClientId = lens _upcdClientId (\ s a -> s{_upcdClientId = a}) . mapping _Sensitive;---- | The user pool ID for the user pool where you want to describe the user pool client.-upcdUserPoolId :: Lens' UserPoolClientDescription (Maybe Text)-upcdUserPoolId = lens _upcdUserPoolId (\ s a -> s{_upcdUserPoolId = a});---- | The client name from the user pool client description.-upcdClientName :: Lens' UserPoolClientDescription (Maybe Text)-upcdClientName = lens _upcdClientName (\ s a -> s{_upcdClientName = a});--instance FromJSON UserPoolClientDescription where-        parseJSON-          = withObject "UserPoolClientDescription"-              (\ x ->-                 UserPoolClientDescription' <$>-                   (x .:? "ClientId") <*> (x .:? "UserPoolId") <*>-                     (x .:? "ClientName"))--instance Hashable UserPoolClientDescription where--instance NFData UserPoolClientDescription where---- | Contains information about a user pool client.------------ /See:/ 'userPoolClientType' smart constructor.-data UserPoolClientType = UserPoolClientType'-  { _upctRefreshTokenValidity            :: !(Maybe Nat)-  , _upctClientId                        :: !(Maybe (Sensitive Text))-  , _upctExplicitAuthFlows               :: !(Maybe [ExplicitAuthFlowsType])-  , _upctClientSecret                    :: !(Maybe (Sensitive Text))-  , _upctLastModifiedDate                :: !(Maybe POSIX)-  , _upctSupportedIdentityProviders      :: !(Maybe [Text])-  , _upctLogoutURLs                      :: !(Maybe [Text])-  , _upctAllowedOAuthFlowsUserPoolClient :: !(Maybe Bool)-  , _upctUserPoolId                      :: !(Maybe Text)-  , _upctDefaultRedirectURI              :: !(Maybe Text)-  , _upctWriteAttributes                 :: !(Maybe [Text])-  , _upctCreationDate                    :: !(Maybe POSIX)-  , _upctReadAttributes                  :: !(Maybe [Text])-  , _upctAllowedOAuthScopes              :: !(Maybe [Text])-  , _upctAllowedOAuthFlows               :: !(Maybe [OAuthFlowType])-  , _upctClientName                      :: !(Maybe Text)-  , _upctCallbackURLs                    :: !(Maybe [Text])-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UserPoolClientType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'upctRefreshTokenValidity' - The time limit, in days, after which the refresh token is no longer valid and cannot be used.------ * 'upctClientId' - The ID of the client associated with the user pool.------ * 'upctExplicitAuthFlows' - The explicit authentication flows.------ * 'upctClientSecret' - The client secret from the user pool request of the client type.------ * 'upctLastModifiedDate' - The date the user pool client was last modified.------ * 'upctSupportedIdentityProviders' - A list of provider names for the identity providers that are supported on this client.------ * 'upctLogoutURLs' - A list of allowed logout URLs for the identity providers.------ * 'upctAllowedOAuthFlowsUserPoolClient' - Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.------ * 'upctUserPoolId' - The user pool ID for the user pool client.------ * 'upctDefaultRedirectURI' - The default redirect URI. Must be in the @CallbackURLs@ list.------ * 'upctWriteAttributes' - The writeable attributes.------ * 'upctCreationDate' - The date the user pool client was created.------ * 'upctReadAttributes' - The Read-only attributes.------ * 'upctAllowedOAuthScopes' - A list of allowed @OAuth@ scopes. Currently supported values are @"phone"@ , @"email"@ , @"openid"@ , and @"Cognito"@ .------ * 'upctAllowedOAuthFlows' - 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.------ * 'upctClientName' - The client name from the user pool request of the client type.------ * 'upctCallbackURLs' - A list of allowed callback URLs for the identity providers.-userPoolClientType-    :: UserPoolClientType-userPoolClientType =-  UserPoolClientType'-  { _upctRefreshTokenValidity = Nothing-  , _upctClientId = Nothing-  , _upctExplicitAuthFlows = Nothing-  , _upctClientSecret = Nothing-  , _upctLastModifiedDate = Nothing-  , _upctSupportedIdentityProviders = Nothing-  , _upctLogoutURLs = Nothing-  , _upctAllowedOAuthFlowsUserPoolClient = Nothing-  , _upctUserPoolId = Nothing-  , _upctDefaultRedirectURI = Nothing-  , _upctWriteAttributes = Nothing-  , _upctCreationDate = Nothing-  , _upctReadAttributes = Nothing-  , _upctAllowedOAuthScopes = Nothing-  , _upctAllowedOAuthFlows = Nothing-  , _upctClientName = Nothing-  , _upctCallbackURLs = Nothing-  }----- | The time limit, in days, after which the refresh token is no longer valid and cannot be used.-upctRefreshTokenValidity :: Lens' UserPoolClientType (Maybe Natural)-upctRefreshTokenValidity = lens _upctRefreshTokenValidity (\ s a -> s{_upctRefreshTokenValidity = a}) . mapping _Nat;---- | The ID of the client associated with the user pool.-upctClientId :: Lens' UserPoolClientType (Maybe Text)-upctClientId = lens _upctClientId (\ s a -> s{_upctClientId = a}) . mapping _Sensitive;---- | The explicit authentication flows.-upctExplicitAuthFlows :: Lens' UserPoolClientType [ExplicitAuthFlowsType]-upctExplicitAuthFlows = lens _upctExplicitAuthFlows (\ s a -> s{_upctExplicitAuthFlows = a}) . _Default . _Coerce;---- | The client secret from the user pool request of the client type.-upctClientSecret :: Lens' UserPoolClientType (Maybe Text)-upctClientSecret = lens _upctClientSecret (\ s a -> s{_upctClientSecret = a}) . mapping _Sensitive;---- | The date the user pool client was last modified.-upctLastModifiedDate :: Lens' UserPoolClientType (Maybe UTCTime)-upctLastModifiedDate = lens _upctLastModifiedDate (\ s a -> s{_upctLastModifiedDate = a}) . mapping _Time;---- | A list of provider names for the identity providers that are supported on this client.-upctSupportedIdentityProviders :: Lens' UserPoolClientType [Text]-upctSupportedIdentityProviders = lens _upctSupportedIdentityProviders (\ s a -> s{_upctSupportedIdentityProviders = a}) . _Default . _Coerce;---- | A list of allowed logout URLs for the identity providers.-upctLogoutURLs :: Lens' UserPoolClientType [Text]-upctLogoutURLs = lens _upctLogoutURLs (\ s a -> s{_upctLogoutURLs = a}) . _Default . _Coerce;---- | Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.-upctAllowedOAuthFlowsUserPoolClient :: Lens' UserPoolClientType (Maybe Bool)-upctAllowedOAuthFlowsUserPoolClient = lens _upctAllowedOAuthFlowsUserPoolClient (\ s a -> s{_upctAllowedOAuthFlowsUserPoolClient = a});---- | The user pool ID for the user pool client.-upctUserPoolId :: Lens' UserPoolClientType (Maybe Text)-upctUserPoolId = lens _upctUserPoolId (\ s a -> s{_upctUserPoolId = a});---- | The default redirect URI. Must be in the @CallbackURLs@ list.-upctDefaultRedirectURI :: Lens' UserPoolClientType (Maybe Text)-upctDefaultRedirectURI = lens _upctDefaultRedirectURI (\ s a -> s{_upctDefaultRedirectURI = a});---- | The writeable attributes.-upctWriteAttributes :: Lens' UserPoolClientType [Text]-upctWriteAttributes = lens _upctWriteAttributes (\ s a -> s{_upctWriteAttributes = a}) . _Default . _Coerce;---- | The date the user pool client was created.-upctCreationDate :: Lens' UserPoolClientType (Maybe UTCTime)-upctCreationDate = lens _upctCreationDate (\ s a -> s{_upctCreationDate = a}) . mapping _Time;---- | The Read-only attributes.-upctReadAttributes :: Lens' UserPoolClientType [Text]-upctReadAttributes = lens _upctReadAttributes (\ s a -> s{_upctReadAttributes = a}) . _Default . _Coerce;---- | A list of allowed @OAuth@ scopes. Currently supported values are @"phone"@ , @"email"@ , @"openid"@ , and @"Cognito"@ .-upctAllowedOAuthScopes :: Lens' UserPoolClientType [Text]-upctAllowedOAuthScopes = lens _upctAllowedOAuthScopes (\ s a -> s{_upctAllowedOAuthScopes = a}) . _Default . _Coerce;---- | 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.-upctAllowedOAuthFlows :: Lens' UserPoolClientType [OAuthFlowType]-upctAllowedOAuthFlows = lens _upctAllowedOAuthFlows (\ s a -> s{_upctAllowedOAuthFlows = a}) . _Default . _Coerce;---- | The client name from the user pool request of the client type.-upctClientName :: Lens' UserPoolClientType (Maybe Text)-upctClientName = lens _upctClientName (\ s a -> s{_upctClientName = a});---- | A list of allowed callback URLs for the identity providers.-upctCallbackURLs :: Lens' UserPoolClientType [Text]-upctCallbackURLs = lens _upctCallbackURLs (\ s a -> s{_upctCallbackURLs = a}) . _Default . _Coerce;--instance FromJSON UserPoolClientType where-        parseJSON-          = withObject "UserPoolClientType"-              (\ x ->-                 UserPoolClientType' <$>-                   (x .:? "RefreshTokenValidity") <*> (x .:? "ClientId")-                     <*> (x .:? "ExplicitAuthFlows" .!= mempty)-                     <*> (x .:? "ClientSecret")-                     <*> (x .:? "LastModifiedDate")-                     <*> (x .:? "SupportedIdentityProviders" .!= mempty)-                     <*> (x .:? "LogoutURLs" .!= mempty)-                     <*> (x .:? "AllowedOAuthFlowsUserPoolClient")-                     <*> (x .:? "UserPoolId")-                     <*> (x .:? "DefaultRedirectURI")-                     <*> (x .:? "WriteAttributes" .!= mempty)-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "ReadAttributes" .!= mempty)-                     <*> (x .:? "AllowedOAuthScopes" .!= mempty)-                     <*> (x .:? "AllowedOAuthFlows" .!= mempty)-                     <*> (x .:? "ClientName")-                     <*> (x .:? "CallbackURLs" .!= mempty))--instance Hashable UserPoolClientType where--instance NFData UserPoolClientType where---- | A user pool description.------------ /See:/ 'userPoolDescriptionType' smart constructor.-data UserPoolDescriptionType = UserPoolDescriptionType'-  { _updtStatus           :: !(Maybe StatusType)-  , _updtLastModifiedDate :: !(Maybe POSIX)-  , _updtName             :: !(Maybe Text)-  , _updtId               :: !(Maybe Text)-  , _updtCreationDate     :: !(Maybe POSIX)-  , _updtLambdaConfig     :: !(Maybe LambdaConfigType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UserPoolDescriptionType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'updtStatus' - The user pool status in a user pool description.------ * 'updtLastModifiedDate' - The date the user pool description was last modified.------ * 'updtName' - The name in a user pool description.------ * 'updtId' - The ID in a user pool description.------ * 'updtCreationDate' - The date the user pool description was created.------ * 'updtLambdaConfig' - The AWS Lambda configuration information in a user pool description.-userPoolDescriptionType-    :: UserPoolDescriptionType-userPoolDescriptionType =-  UserPoolDescriptionType'-  { _updtStatus = Nothing-  , _updtLastModifiedDate = Nothing-  , _updtName = Nothing-  , _updtId = Nothing-  , _updtCreationDate = Nothing-  , _updtLambdaConfig = Nothing-  }----- | The user pool status in a user pool description.-updtStatus :: Lens' UserPoolDescriptionType (Maybe StatusType)-updtStatus = lens _updtStatus (\ s a -> s{_updtStatus = a});---- | The date the user pool description was last modified.-updtLastModifiedDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)-updtLastModifiedDate = lens _updtLastModifiedDate (\ s a -> s{_updtLastModifiedDate = a}) . mapping _Time;---- | The name in a user pool description.-updtName :: Lens' UserPoolDescriptionType (Maybe Text)-updtName = lens _updtName (\ s a -> s{_updtName = a});---- | The ID in a user pool description.-updtId :: Lens' UserPoolDescriptionType (Maybe Text)-updtId = lens _updtId (\ s a -> s{_updtId = a});---- | The date the user pool description was created.-updtCreationDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)-updtCreationDate = lens _updtCreationDate (\ s a -> s{_updtCreationDate = a}) . mapping _Time;---- | The AWS Lambda configuration information in a user pool description.-updtLambdaConfig :: Lens' UserPoolDescriptionType (Maybe LambdaConfigType)-updtLambdaConfig = lens _updtLambdaConfig (\ s a -> s{_updtLambdaConfig = a});--instance FromJSON UserPoolDescriptionType where-        parseJSON-          = withObject "UserPoolDescriptionType"-              (\ x ->-                 UserPoolDescriptionType' <$>-                   (x .:? "Status") <*> (x .:? "LastModifiedDate") <*>-                     (x .:? "Name")-                     <*> (x .:? "Id")-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "LambdaConfig"))--instance Hashable UserPoolDescriptionType where--instance NFData UserPoolDescriptionType where---- | The type of policy in a user pool.------------ /See:/ 'userPoolPolicyType' smart constructor.-newtype UserPoolPolicyType = UserPoolPolicyType'-  { _upptPasswordPolicy :: Maybe PasswordPolicyType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UserPoolPolicyType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'upptPasswordPolicy' - A container for information about the user pool password policy.-userPoolPolicyType-    :: UserPoolPolicyType-userPoolPolicyType = UserPoolPolicyType' {_upptPasswordPolicy = Nothing}----- | A container for information about the user pool password policy.-upptPasswordPolicy :: Lens' UserPoolPolicyType (Maybe PasswordPolicyType)-upptPasswordPolicy = lens _upptPasswordPolicy (\ s a -> s{_upptPasswordPolicy = a});--instance FromJSON UserPoolPolicyType where-        parseJSON-          = withObject "UserPoolPolicyType"-              (\ x ->-                 UserPoolPolicyType' <$> (x .:? "PasswordPolicy"))--instance Hashable UserPoolPolicyType where--instance NFData UserPoolPolicyType where--instance ToJSON UserPoolPolicyType where-        toJSON UserPoolPolicyType'{..}-          = object-              (catMaybes-                 [("PasswordPolicy" .=) <$> _upptPasswordPolicy])---- | A container for information about the user pool type.------------ /See:/ 'userPoolType' smart constructor.-data UserPoolType = UserPoolType'-  { _uptStatus                      :: !(Maybe StatusType)-  , _uptUserPoolTags                :: !(Maybe (Map Text Text))-  , _uptEmailConfigurationFailure   :: !(Maybe Text)-  , _uptLastModifiedDate            :: !(Maybe POSIX)-  , _uptVerificationMessageTemplate :: !(Maybe VerificationMessageTemplateType)-  , _uptEstimatedNumberOfUsers      :: !(Maybe Int)-  , _uptEmailVerificationMessage    :: !(Maybe Text)-  , _uptSmsAuthenticationMessage    :: !(Maybe Text)-  , _uptSchemaAttributes            :: !(Maybe (List1 SchemaAttributeType))-  , _uptEmailVerificationSubject    :: !(Maybe Text)-  , _uptUsernameAttributes          :: !(Maybe [UsernameAttributeType])-  , _uptAliasAttributes             :: !(Maybe [AliasAttributeType])-  , _uptEmailConfiguration          :: !(Maybe EmailConfigurationType)-  , _uptSmsVerificationMessage      :: !(Maybe Text)-  , _uptName                        :: !(Maybe Text)-  , _uptMFAConfiguration            :: !(Maybe UserPoolMFAType)-  , _uptId                          :: !(Maybe Text)-  , _uptSmsConfigurationFailure     :: !(Maybe Text)-  , _uptCreationDate                :: !(Maybe POSIX)-  , _uptLambdaConfig                :: !(Maybe LambdaConfigType)-  , _uptSmsConfiguration            :: !(Maybe SmsConfigurationType)-  , _uptAdminCreateUserConfig       :: !(Maybe AdminCreateUserConfigType)-  , _uptDeviceConfiguration         :: !(Maybe DeviceConfigurationType)-  , _uptAutoVerifiedAttributes      :: !(Maybe [VerifiedAttributeType])-  , _uptPolicies                    :: !(Maybe UserPoolPolicyType)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UserPoolType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uptStatus' - The status of a user pool.------ * 'uptUserPoolTags' - The cost allocation tags for the user pool. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html Adding Cost Allocation Tags to Your User Pool>------ * 'uptEmailConfigurationFailure' - The reason why the email configuration cannot send the messages to your users.------ * 'uptLastModifiedDate' - The date the user pool was last modified.------ * 'uptVerificationMessageTemplate' - The template for verification messages.------ * 'uptEstimatedNumberOfUsers' - A number estimating the size of the user pool.------ * 'uptEmailVerificationMessage' - The contents of the email verification message.------ * 'uptSmsAuthenticationMessage' - The contents of the SMS authentication message.------ * 'uptSchemaAttributes' - A container with the schema attributes of a user pool.------ * 'uptEmailVerificationSubject' - The subject of the email verification message.------ * 'uptUsernameAttributes' - Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.------ * 'uptAliasAttributes' - Specifies the attributes that are aliased in a user pool.------ * 'uptEmailConfiguration' - The email configuration.------ * 'uptSmsVerificationMessage' - The contents of the SMS verification message.------ * 'uptName' - The name of the user pool.------ * 'uptMFAConfiguration' - 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.------ * 'uptId' - The ID of the user pool.------ * 'uptSmsConfigurationFailure' - The reason why the SMS configuration cannot send the messages to your users.------ * 'uptCreationDate' - The date the user pool was created.------ * 'uptLambdaConfig' - A container for the AWS Lambda triggers associated with a user pool.------ * 'uptSmsConfiguration' - The SMS configuration.------ * 'uptAdminCreateUserConfig' - The configuration for @AdminCreateUser@ requests.------ * 'uptDeviceConfiguration' - The device configuration.------ * 'uptAutoVerifiedAttributes' - Specifies the attributes that are auto-verified in a user pool.------ * 'uptPolicies' - A container for the policies associated with a user pool.-userPoolType-    :: UserPoolType-userPoolType =-  UserPoolType'-  { _uptStatus = Nothing-  , _uptUserPoolTags = Nothing-  , _uptEmailConfigurationFailure = Nothing-  , _uptLastModifiedDate = Nothing-  , _uptVerificationMessageTemplate = Nothing-  , _uptEstimatedNumberOfUsers = Nothing-  , _uptEmailVerificationMessage = Nothing-  , _uptSmsAuthenticationMessage = Nothing-  , _uptSchemaAttributes = Nothing-  , _uptEmailVerificationSubject = Nothing-  , _uptUsernameAttributes = Nothing-  , _uptAliasAttributes = Nothing-  , _uptEmailConfiguration = Nothing-  , _uptSmsVerificationMessage = Nothing-  , _uptName = Nothing-  , _uptMFAConfiguration = Nothing-  , _uptId = Nothing-  , _uptSmsConfigurationFailure = Nothing-  , _uptCreationDate = Nothing-  , _uptLambdaConfig = Nothing-  , _uptSmsConfiguration = Nothing-  , _uptAdminCreateUserConfig = Nothing-  , _uptDeviceConfiguration = Nothing-  , _uptAutoVerifiedAttributes = Nothing-  , _uptPolicies = Nothing-  }----- | The status of a user pool.-uptStatus :: Lens' UserPoolType (Maybe StatusType)-uptStatus = lens _uptStatus (\ s a -> s{_uptStatus = a});---- | The cost allocation tags for the user pool. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html Adding Cost Allocation Tags to Your User Pool>-uptUserPoolTags :: Lens' UserPoolType (HashMap Text Text)-uptUserPoolTags = lens _uptUserPoolTags (\ s a -> s{_uptUserPoolTags = a}) . _Default . _Map;---- | The reason why the email configuration cannot send the messages to your users.-uptEmailConfigurationFailure :: Lens' UserPoolType (Maybe Text)-uptEmailConfigurationFailure = lens _uptEmailConfigurationFailure (\ s a -> s{_uptEmailConfigurationFailure = a});---- | The date the user pool was last modified.-uptLastModifiedDate :: Lens' UserPoolType (Maybe UTCTime)-uptLastModifiedDate = lens _uptLastModifiedDate (\ s a -> s{_uptLastModifiedDate = a}) . mapping _Time;---- | The template for verification messages.-uptVerificationMessageTemplate :: Lens' UserPoolType (Maybe VerificationMessageTemplateType)-uptVerificationMessageTemplate = lens _uptVerificationMessageTemplate (\ s a -> s{_uptVerificationMessageTemplate = a});---- | A number estimating the size of the user pool.-uptEstimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int)-uptEstimatedNumberOfUsers = lens _uptEstimatedNumberOfUsers (\ s a -> s{_uptEstimatedNumberOfUsers = a});---- | The contents of the email verification message.-uptEmailVerificationMessage :: Lens' UserPoolType (Maybe Text)-uptEmailVerificationMessage = lens _uptEmailVerificationMessage (\ s a -> s{_uptEmailVerificationMessage = a});---- | The contents of the SMS authentication message.-uptSmsAuthenticationMessage :: Lens' UserPoolType (Maybe Text)-uptSmsAuthenticationMessage = lens _uptSmsAuthenticationMessage (\ s a -> s{_uptSmsAuthenticationMessage = a});---- | A container with the schema attributes of a user pool.-uptSchemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType))-uptSchemaAttributes = lens _uptSchemaAttributes (\ s a -> s{_uptSchemaAttributes = a}) . mapping _List1;---- | The subject of the email verification message.-uptEmailVerificationSubject :: Lens' UserPoolType (Maybe Text)-uptEmailVerificationSubject = lens _uptEmailVerificationSubject (\ s a -> s{_uptEmailVerificationSubject = a});---- | Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.-uptUsernameAttributes :: Lens' UserPoolType [UsernameAttributeType]-uptUsernameAttributes = lens _uptUsernameAttributes (\ s a -> s{_uptUsernameAttributes = a}) . _Default . _Coerce;---- | Specifies the attributes that are aliased in a user pool.-uptAliasAttributes :: Lens' UserPoolType [AliasAttributeType]-uptAliasAttributes = lens _uptAliasAttributes (\ s a -> s{_uptAliasAttributes = a}) . _Default . _Coerce;---- | The email configuration.-uptEmailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType)-uptEmailConfiguration = lens _uptEmailConfiguration (\ s a -> s{_uptEmailConfiguration = a});---- | The contents of the SMS verification message.-uptSmsVerificationMessage :: Lens' UserPoolType (Maybe Text)-uptSmsVerificationMessage = lens _uptSmsVerificationMessage (\ s a -> s{_uptSmsVerificationMessage = a});---- | The name of the user pool.-uptName :: Lens' UserPoolType (Maybe Text)-uptName = lens _uptName (\ s a -> s{_uptName = a});---- | 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.-uptMFAConfiguration :: Lens' UserPoolType (Maybe UserPoolMFAType)-uptMFAConfiguration = lens _uptMFAConfiguration (\ s a -> s{_uptMFAConfiguration = a});---- | The ID of the user pool.-uptId :: Lens' UserPoolType (Maybe Text)-uptId = lens _uptId (\ s a -> s{_uptId = a});---- | The reason why the SMS configuration cannot send the messages to your users.-uptSmsConfigurationFailure :: Lens' UserPoolType (Maybe Text)-uptSmsConfigurationFailure = lens _uptSmsConfigurationFailure (\ s a -> s{_uptSmsConfigurationFailure = a});---- | The date the user pool was created.-uptCreationDate :: Lens' UserPoolType (Maybe UTCTime)-uptCreationDate = lens _uptCreationDate (\ s a -> s{_uptCreationDate = a}) . mapping _Time;---- | A container for the AWS Lambda triggers associated with a user pool.-uptLambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType)-uptLambdaConfig = lens _uptLambdaConfig (\ s a -> s{_uptLambdaConfig = a});---- | The SMS configuration.-uptSmsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType)-uptSmsConfiguration = lens _uptSmsConfiguration (\ s a -> s{_uptSmsConfiguration = a});---- | The configuration for @AdminCreateUser@ requests.-uptAdminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType)-uptAdminCreateUserConfig = lens _uptAdminCreateUserConfig (\ s a -> s{_uptAdminCreateUserConfig = a});---- | The device configuration.-uptDeviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType)-uptDeviceConfiguration = lens _uptDeviceConfiguration (\ s a -> s{_uptDeviceConfiguration = a});---- | Specifies the attributes that are auto-verified in a user pool.-uptAutoVerifiedAttributes :: Lens' UserPoolType [VerifiedAttributeType]-uptAutoVerifiedAttributes = lens _uptAutoVerifiedAttributes (\ s a -> s{_uptAutoVerifiedAttributes = a}) . _Default . _Coerce;---- | A container for the policies associated with a user pool.-uptPolicies :: Lens' UserPoolType (Maybe UserPoolPolicyType)-uptPolicies = lens _uptPolicies (\ s a -> s{_uptPolicies = a});--instance FromJSON UserPoolType where-        parseJSON-          = withObject "UserPoolType"-              (\ x ->-                 UserPoolType' <$>-                   (x .:? "Status") <*>-                     (x .:? "UserPoolTags" .!= mempty)-                     <*> (x .:? "EmailConfigurationFailure")-                     <*> (x .:? "LastModifiedDate")-                     <*> (x .:? "VerificationMessageTemplate")-                     <*> (x .:? "EstimatedNumberOfUsers")-                     <*> (x .:? "EmailVerificationMessage")-                     <*> (x .:? "SmsAuthenticationMessage")-                     <*> (x .:? "SchemaAttributes")-                     <*> (x .:? "EmailVerificationSubject")-                     <*> (x .:? "UsernameAttributes" .!= mempty)-                     <*> (x .:? "AliasAttributes" .!= mempty)-                     <*> (x .:? "EmailConfiguration")-                     <*> (x .:? "SmsVerificationMessage")-                     <*> (x .:? "Name")-                     <*> (x .:? "MfaConfiguration")-                     <*> (x .:? "Id")-                     <*> (x .:? "SmsConfigurationFailure")-                     <*> (x .:? "CreationDate")-                     <*> (x .:? "LambdaConfig")-                     <*> (x .:? "SmsConfiguration")-                     <*> (x .:? "AdminCreateUserConfig")-                     <*> (x .:? "DeviceConfiguration")-                     <*> (x .:? "AutoVerifiedAttributes" .!= mempty)-                     <*> (x .:? "Policies"))--instance Hashable UserPoolType where--instance NFData UserPoolType where---- | The user type.------------ /See:/ 'userType' smart constructor.-data UserType = UserType'-  { _utEnabled              :: !(Maybe Bool)-  , _utUserStatus           :: !(Maybe UserStatusType)-  , _utUsername             :: !(Maybe (Sensitive Text))-  , _utUserCreateDate       :: !(Maybe POSIX)-  , _utAttributes           :: !(Maybe [AttributeType])-  , _utMFAOptions           :: !(Maybe [MFAOptionType])-  , _utUserLastModifiedDate :: !(Maybe POSIX)-  } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UserType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'utEnabled' - Specifies whether the user is enabled.------ * 'utUserStatus' - 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.------ * 'utUsername' - The user name of the user you wish to describe.------ * 'utUserCreateDate' - The creation date of the user.------ * 'utAttributes' - A container with information about the user type attributes.------ * 'utMFAOptions' - The MFA options for the user.------ * 'utUserLastModifiedDate' - The last modified date of the user.-userType-    :: UserType-userType =-  UserType'-  { _utEnabled = Nothing-  , _utUserStatus = Nothing-  , _utUsername = Nothing-  , _utUserCreateDate = Nothing-  , _utAttributes = Nothing-  , _utMFAOptions = Nothing-  , _utUserLastModifiedDate = Nothing-  }----- | Specifies whether the user is enabled.-utEnabled :: Lens' UserType (Maybe Bool)-utEnabled = lens _utEnabled (\ s a -> s{_utEnabled = a});---- | The user status. Can be one of the following:     * UNCONFIRMED - User has been created but not confirmed.     * CONFIRMED - User has been confirmed.     * ARCHIVED - User is no longer active.     * COMPROMISED - User is disabled due to a potential security threat.     * UNKNOWN - User status is not known.-utUserStatus :: Lens' UserType (Maybe UserStatusType)-utUserStatus = lens _utUserStatus (\ s a -> s{_utUserStatus = a});---- | The user name of the user you wish to describe.-utUsername :: Lens' UserType (Maybe Text)-utUsername = lens _utUsername (\ s a -> s{_utUsername = a}) . mapping _Sensitive;---- | The creation date of the user.-utUserCreateDate :: Lens' UserType (Maybe UTCTime)-utUserCreateDate = lens _utUserCreateDate (\ s a -> s{_utUserCreateDate = a}) . mapping _Time;---- | A container with information about the user type attributes.-utAttributes :: Lens' UserType [AttributeType]-utAttributes = lens _utAttributes (\ s a -> s{_utAttributes = a}) . _Default . _Coerce;---- | The MFA options for the user.-utMFAOptions :: Lens' UserType [MFAOptionType]-utMFAOptions = lens _utMFAOptions (\ s a -> s{_utMFAOptions = a}) . _Default . _Coerce;---- | The last modified date of the user.-utUserLastModifiedDate :: Lens' UserType (Maybe UTCTime)-utUserLastModifiedDate = lens _utUserLastModifiedDate (\ s a -> s{_utUserLastModifiedDate = a}) . mapping _Time;--instance FromJSON UserType where-        parseJSON-          = withObject "UserType"-              (\ x ->-                 UserType' <$>-                   (x .:? "Enabled") <*> (x .:? "UserStatus") <*>-                     (x .:? "Username")-                     <*> (x .:? "UserCreateDate")-                     <*> (x .:? "Attributes" .!= mempty)-                     <*> (x .:? "MFAOptions" .!= mempty)-                     <*> (x .:? "UserLastModifiedDate"))--instance Hashable UserType where--instance NFData UserType where---- | The template for verification messages.------------ /See:/ 'verificationMessageTemplateType' smart constructor.-data VerificationMessageTemplateType = VerificationMessageTemplateType'-  { _vmttDefaultEmailOption :: !(Maybe DefaultEmailOptionType)-  , _vmttEmailSubject       :: !(Maybe Text)-  , _vmttEmailSubjectByLink :: !(Maybe Text)-  , _vmttSmsMessage         :: !(Maybe Text)-  , _vmttEmailMessageByLink :: !(Maybe Text)-  , _vmttEmailMessage       :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'VerificationMessageTemplateType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vmttDefaultEmailOption' - The default email option.------ * 'vmttEmailSubject' - The subject line for the email message template.------ * 'vmttEmailSubjectByLink' - The subject line for the email message template for sending a confirmation link to the user.------ * 'vmttSmsMessage' - The SMS message template.------ * 'vmttEmailMessageByLink' - The email message template for sending a confirmation link to the user.------ * 'vmttEmailMessage' - The email message template.-verificationMessageTemplateType-    :: VerificationMessageTemplateType-verificationMessageTemplateType =-  VerificationMessageTemplateType'-  { _vmttDefaultEmailOption = Nothing-  , _vmttEmailSubject = Nothing-  , _vmttEmailSubjectByLink = Nothing-  , _vmttSmsMessage = Nothing-  , _vmttEmailMessageByLink = Nothing-  , _vmttEmailMessage = Nothing-  }----- | The default email option.-vmttDefaultEmailOption :: Lens' VerificationMessageTemplateType (Maybe DefaultEmailOptionType)-vmttDefaultEmailOption = lens _vmttDefaultEmailOption (\ s a -> s{_vmttDefaultEmailOption = a});---- | The subject line for the email message template.-vmttEmailSubject :: Lens' VerificationMessageTemplateType (Maybe Text)-vmttEmailSubject = lens _vmttEmailSubject (\ s a -> s{_vmttEmailSubject = a});---- | The subject line for the email message template for sending a confirmation link to the user.-vmttEmailSubjectByLink :: Lens' VerificationMessageTemplateType (Maybe Text)-vmttEmailSubjectByLink = lens _vmttEmailSubjectByLink (\ s a -> s{_vmttEmailSubjectByLink = a});---- | The SMS message template.-vmttSmsMessage :: Lens' VerificationMessageTemplateType (Maybe Text)-vmttSmsMessage = lens _vmttSmsMessage (\ s a -> s{_vmttSmsMessage = a});---- | The email message template for sending a confirmation link to the user.-vmttEmailMessageByLink :: Lens' VerificationMessageTemplateType (Maybe Text)-vmttEmailMessageByLink = lens _vmttEmailMessageByLink (\ s a -> s{_vmttEmailMessageByLink = a});---- | The email message template.-vmttEmailMessage :: Lens' VerificationMessageTemplateType (Maybe Text)-vmttEmailMessage = lens _vmttEmailMessage (\ s a -> s{_vmttEmailMessage = a});+-- Copyright   : (c) 2013-2018 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)+--+module Network.AWS.CognitoIdentityProvider.Types.Product where++import Network.AWS.CognitoIdentityProvider.Types.Sum+import Network.AWS.Lens+import Network.AWS.Prelude++-- | Account takeover action type.+--+--+--+-- /See:/ 'accountTakeoverActionType' smart constructor.+data AccountTakeoverActionType = AccountTakeoverActionType'+  { _atatNotify      :: !Bool+  , _atatEventAction :: !AccountTakeoverEventActionType+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AccountTakeoverActionType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'atatNotify' - Flag specifying whether to send a notification.+--+-- * 'atatEventAction' - 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.+accountTakeoverActionType+    :: Bool -- ^ 'atatNotify'+    -> AccountTakeoverEventActionType -- ^ 'atatEventAction'+    -> AccountTakeoverActionType+accountTakeoverActionType pNotify_ pEventAction_ =+  AccountTakeoverActionType'+    {_atatNotify = pNotify_, _atatEventAction = pEventAction_}+++-- | Flag specifying whether to send a notification.+atatNotify :: Lens' AccountTakeoverActionType Bool+atatNotify = lens _atatNotify (\ s a -> s{_atatNotify = a})++-- | 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.+atatEventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType+atatEventAction = lens _atatEventAction (\ s a -> s{_atatEventAction = a})++instance FromJSON AccountTakeoverActionType where+        parseJSON+          = withObject "AccountTakeoverActionType"+              (\ x ->+                 AccountTakeoverActionType' <$>+                   (x .: "Notify") <*> (x .: "EventAction"))++instance Hashable AccountTakeoverActionType where++instance NFData AccountTakeoverActionType where++instance ToJSON AccountTakeoverActionType where+        toJSON AccountTakeoverActionType'{..}+          = object+              (catMaybes+                 [Just ("Notify" .= _atatNotify),+                  Just ("EventAction" .= _atatEventAction)])++-- | Account takeover actions type.+--+--+--+-- /See:/ 'accountTakeoverActionsType' smart constructor.+data AccountTakeoverActionsType = AccountTakeoverActionsType'+  { _atatLowAction    :: !(Maybe AccountTakeoverActionType)+  , _atatHighAction   :: !(Maybe AccountTakeoverActionType)+  , _atatMediumAction :: !(Maybe AccountTakeoverActionType)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AccountTakeoverActionsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'atatLowAction' - Action to take for a low risk.+--+-- * 'atatHighAction' - Action to take for a high risk.+--+-- * 'atatMediumAction' - Action to take for a medium risk.+accountTakeoverActionsType+    :: AccountTakeoverActionsType+accountTakeoverActionsType =+  AccountTakeoverActionsType'+    { _atatLowAction = Nothing+    , _atatHighAction = Nothing+    , _atatMediumAction = Nothing+    }+++-- | Action to take for a low risk.+atatLowAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)+atatLowAction = lens _atatLowAction (\ s a -> s{_atatLowAction = a})++-- | Action to take for a high risk.+atatHighAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)+atatHighAction = lens _atatHighAction (\ s a -> s{_atatHighAction = a})++-- | Action to take for a medium risk.+atatMediumAction :: Lens' AccountTakeoverActionsType (Maybe AccountTakeoverActionType)+atatMediumAction = lens _atatMediumAction (\ s a -> s{_atatMediumAction = a})++instance FromJSON AccountTakeoverActionsType where+        parseJSON+          = withObject "AccountTakeoverActionsType"+              (\ x ->+                 AccountTakeoverActionsType' <$>+                   (x .:? "LowAction") <*> (x .:? "HighAction") <*>+                     (x .:? "MediumAction"))++instance Hashable AccountTakeoverActionsType where++instance NFData AccountTakeoverActionsType where++instance ToJSON AccountTakeoverActionsType where+        toJSON AccountTakeoverActionsType'{..}+          = object+              (catMaybes+                 [("LowAction" .=) <$> _atatLowAction,+                  ("HighAction" .=) <$> _atatHighAction,+                  ("MediumAction" .=) <$> _atatMediumAction])++-- | Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.+--+--+--+-- /See:/ 'accountTakeoverRiskConfigurationType' smart constructor.+data AccountTakeoverRiskConfigurationType = AccountTakeoverRiskConfigurationType'+  { _atrctNotifyConfiguration :: !(Maybe NotifyConfigurationType)+  , _atrctActions             :: !AccountTakeoverActionsType+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AccountTakeoverRiskConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'atrctNotifyConfiguration' - The notify configuration used to construct email notifications.+--+-- * 'atrctActions' - Account takeover risk configuration actions+accountTakeoverRiskConfigurationType+    :: AccountTakeoverActionsType -- ^ 'atrctActions'+    -> AccountTakeoverRiskConfigurationType+accountTakeoverRiskConfigurationType pActions_ =+  AccountTakeoverRiskConfigurationType'+    {_atrctNotifyConfiguration = Nothing, _atrctActions = pActions_}+++-- | The notify configuration used to construct email notifications.+atrctNotifyConfiguration :: Lens' AccountTakeoverRiskConfigurationType (Maybe NotifyConfigurationType)+atrctNotifyConfiguration = lens _atrctNotifyConfiguration (\ s a -> s{_atrctNotifyConfiguration = a})++-- | Account takeover risk configuration actions+atrctActions :: Lens' AccountTakeoverRiskConfigurationType AccountTakeoverActionsType+atrctActions = lens _atrctActions (\ s a -> s{_atrctActions = a})++instance FromJSON+           AccountTakeoverRiskConfigurationType+         where+        parseJSON+          = withObject "AccountTakeoverRiskConfigurationType"+              (\ x ->+                 AccountTakeoverRiskConfigurationType' <$>+                   (x .:? "NotifyConfiguration") <*> (x .: "Actions"))++instance Hashable+           AccountTakeoverRiskConfigurationType+         where++instance NFData AccountTakeoverRiskConfigurationType+         where++instance ToJSON AccountTakeoverRiskConfigurationType+         where+        toJSON AccountTakeoverRiskConfigurationType'{..}+          = object+              (catMaybes+                 [("NotifyConfiguration" .=) <$>+                    _atrctNotifyConfiguration,+                  Just ("Actions" .= _atrctActions)])++-- | The configuration for creating a new user profile.+--+--+--+-- /See:/ 'adminCreateUserConfigType' smart constructor.+data AdminCreateUserConfigType = AdminCreateUserConfigType'+  { _acuctAllowAdminCreateUserOnly  :: !(Maybe Bool)+  , _acuctUnusedAccountValidityDays :: !(Maybe Nat)+  , _acuctInviteMessageTemplate     :: !(Maybe MessageTemplateType)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AdminCreateUserConfigType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'acuctAllowAdminCreateUserOnly' - 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.+--+-- * 'acuctUnusedAccountValidityDays' - 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.+--+-- * 'acuctInviteMessageTemplate' - The message template to be used for the welcome message to new users. See also <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization Customizing User Invitation Messages> .+adminCreateUserConfigType+    :: AdminCreateUserConfigType+adminCreateUserConfigType =+  AdminCreateUserConfigType'+    { _acuctAllowAdminCreateUserOnly = Nothing+    , _acuctUnusedAccountValidityDays = Nothing+    , _acuctInviteMessageTemplate = Nothing+    }+++-- | Set to @True@ if only the administrator is allowed to create user profiles. Set to @False@ if users can sign themselves up via an app.+acuctAllowAdminCreateUserOnly :: Lens' AdminCreateUserConfigType (Maybe Bool)+acuctAllowAdminCreateUserOnly = lens _acuctAllowAdminCreateUserOnly (\ s a -> s{_acuctAllowAdminCreateUserOnly = a})++-- | The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call @AdminCreateUser@ again, specifying @"RESEND"@ for the @MessageAction@ parameter. The default value for this parameter is 7.+acuctUnusedAccountValidityDays :: Lens' AdminCreateUserConfigType (Maybe Natural)+acuctUnusedAccountValidityDays = lens _acuctUnusedAccountValidityDays (\ s a -> s{_acuctUnusedAccountValidityDays = a}) . mapping _Nat++-- | The message template to be used for the welcome message to new users. See also <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization Customizing User Invitation Messages> .+acuctInviteMessageTemplate :: Lens' AdminCreateUserConfigType (Maybe MessageTemplateType)+acuctInviteMessageTemplate = lens _acuctInviteMessageTemplate (\ s a -> s{_acuctInviteMessageTemplate = a})++instance FromJSON AdminCreateUserConfigType where+        parseJSON+          = withObject "AdminCreateUserConfigType"+              (\ x ->+                 AdminCreateUserConfigType' <$>+                   (x .:? "AllowAdminCreateUserOnly") <*>+                     (x .:? "UnusedAccountValidityDays")+                     <*> (x .:? "InviteMessageTemplate"))++instance Hashable AdminCreateUserConfigType where++instance NFData AdminCreateUserConfigType where++instance ToJSON AdminCreateUserConfigType where+        toJSON AdminCreateUserConfigType'{..}+          = object+              (catMaybes+                 [("AllowAdminCreateUserOnly" .=) <$>+                    _acuctAllowAdminCreateUserOnly,+                  ("UnusedAccountValidityDays" .=) <$>+                    _acuctUnusedAccountValidityDays,+                  ("InviteMessageTemplate" .=) <$>+                    _acuctInviteMessageTemplate])++-- | The Amazon Pinpoint analytics configuration for collecting metrics for a user pool.+--+--+--+-- /See:/ 'analyticsConfigurationType' smart constructor.+data AnalyticsConfigurationType = AnalyticsConfigurationType'+  { _actUserDataShared :: !(Maybe Bool)+  , _actApplicationId  :: !Text+  , _actRoleARN        :: !Text+  , _actExternalId     :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AnalyticsConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'actUserDataShared' - If @UserDataShared@ is @true@ , Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.+--+-- * 'actApplicationId' - The application ID for an Amazon Pinpoint application.+--+-- * 'actRoleARN' - The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.+--+-- * 'actExternalId' - The external ID.+analyticsConfigurationType+    :: Text -- ^ 'actApplicationId'+    -> Text -- ^ 'actRoleARN'+    -> Text -- ^ 'actExternalId'+    -> AnalyticsConfigurationType+analyticsConfigurationType pApplicationId_ pRoleARN_ pExternalId_ =+  AnalyticsConfigurationType'+    { _actUserDataShared = Nothing+    , _actApplicationId = pApplicationId_+    , _actRoleARN = pRoleARN_+    , _actExternalId = pExternalId_+    }+++-- | If @UserDataShared@ is @true@ , Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.+actUserDataShared :: Lens' AnalyticsConfigurationType (Maybe Bool)+actUserDataShared = lens _actUserDataShared (\ s a -> s{_actUserDataShared = a})++-- | The application ID for an Amazon Pinpoint application.+actApplicationId :: Lens' AnalyticsConfigurationType Text+actApplicationId = lens _actApplicationId (\ s a -> s{_actApplicationId = a})++-- | The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.+actRoleARN :: Lens' AnalyticsConfigurationType Text+actRoleARN = lens _actRoleARN (\ s a -> s{_actRoleARN = a})++-- | The external ID.+actExternalId :: Lens' AnalyticsConfigurationType Text+actExternalId = lens _actExternalId (\ s a -> s{_actExternalId = a})++instance FromJSON AnalyticsConfigurationType where+        parseJSON+          = withObject "AnalyticsConfigurationType"+              (\ x ->+                 AnalyticsConfigurationType' <$>+                   (x .:? "UserDataShared") <*> (x .: "ApplicationId")+                     <*> (x .: "RoleArn")+                     <*> (x .: "ExternalId"))++instance Hashable AnalyticsConfigurationType where++instance NFData AnalyticsConfigurationType where++instance ToJSON AnalyticsConfigurationType where+        toJSON AnalyticsConfigurationType'{..}+          = object+              (catMaybes+                 [("UserDataShared" .=) <$> _actUserDataShared,+                  Just ("ApplicationId" .= _actApplicationId),+                  Just ("RoleArn" .= _actRoleARN),+                  Just ("ExternalId" .= _actExternalId)])++-- | An Amazon Pinpoint analytics endpoint.+--+--+-- An endpoint uniquely identifies a mobile device, email address, or phone number that can receive messages from Amazon Pinpoint analytics.+--+--+-- /See:/ 'analyticsMetadataType' smart constructor.+newtype AnalyticsMetadataType = AnalyticsMetadataType'+  { _amtAnalyticsEndpointId :: Maybe Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AnalyticsMetadataType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'amtAnalyticsEndpointId' - The endpoint ID.+analyticsMetadataType+    :: AnalyticsMetadataType+analyticsMetadataType =+  AnalyticsMetadataType' {_amtAnalyticsEndpointId = Nothing}+++-- | The endpoint ID.+amtAnalyticsEndpointId :: Lens' AnalyticsMetadataType (Maybe Text)+amtAnalyticsEndpointId = lens _amtAnalyticsEndpointId (\ s a -> s{_amtAnalyticsEndpointId = a})++instance Hashable AnalyticsMetadataType where++instance NFData AnalyticsMetadataType where++instance ToJSON AnalyticsMetadataType where+        toJSON AnalyticsMetadataType'{..}+          = object+              (catMaybes+                 [("AnalyticsEndpointId" .=) <$>+                    _amtAnalyticsEndpointId])++-- | Specifies whether the attribute is standard or custom.+--+--+--+-- /See:/ 'attributeType' smart constructor.+data AttributeType = AttributeType'+  { _atValue :: !(Maybe (Sensitive Text))+  , _atName  :: !Text+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AttributeType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'atValue' - The value of the attribute.+--+-- * 'atName' - The name of the attribute.+attributeType+    :: Text -- ^ 'atName'+    -> AttributeType+attributeType pName_ = AttributeType' {_atValue = Nothing, _atName = pName_}+++-- | The value of the attribute.+atValue :: Lens' AttributeType (Maybe Text)+atValue = lens _atValue (\ s a -> s{_atValue = a}) . mapping _Sensitive++-- | The name of the attribute.+atName :: Lens' AttributeType Text+atName = lens _atName (\ s a -> s{_atName = a})++instance FromJSON AttributeType where+        parseJSON+          = withObject "AttributeType"+              (\ x ->+                 AttributeType' <$> (x .:? "Value") <*> (x .: "Name"))++instance Hashable AttributeType where++instance NFData AttributeType where++instance ToJSON AttributeType where+        toJSON AttributeType'{..}+          = object+              (catMaybes+                 [("Value" .=) <$> _atValue,+                  Just ("Name" .= _atName)])++-- | The authentication event type.+--+--+--+-- /See:/ 'authEventType' smart constructor.+data AuthEventType = AuthEventType'+  { _aetEventRisk          :: !(Maybe EventRiskType)+  , _aetEventResponse      :: !(Maybe EventResponseType)+  , _aetEventContextData   :: !(Maybe EventContextDataType)+  , _aetChallengeResponses :: !(Maybe [ChallengeResponseType])+  , _aetEventType          :: !(Maybe EventType)+  , _aetCreationDate       :: !(Maybe POSIX)+  , _aetEventFeedback      :: !(Maybe EventFeedbackType)+  , _aetEventId            :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AuthEventType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'aetEventRisk' - The event risk.+--+-- * 'aetEventResponse' - The event response.+--+-- * 'aetEventContextData' - 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.+--+-- * 'aetChallengeResponses' - The challenge responses.+--+-- * 'aetEventType' - The event type.+--+-- * 'aetCreationDate' - The creation date+--+-- * 'aetEventFeedback' - A flag specifying the user feedback captured at the time of an event request is good or bad.+--+-- * 'aetEventId' - The event ID.+authEventType+    :: AuthEventType+authEventType =+  AuthEventType'+    { _aetEventRisk = Nothing+    , _aetEventResponse = Nothing+    , _aetEventContextData = Nothing+    , _aetChallengeResponses = Nothing+    , _aetEventType = Nothing+    , _aetCreationDate = Nothing+    , _aetEventFeedback = Nothing+    , _aetEventId = Nothing+    }+++-- | The event risk.+aetEventRisk :: Lens' AuthEventType (Maybe EventRiskType)+aetEventRisk = lens _aetEventRisk (\ s a -> s{_aetEventRisk = a})++-- | The event response.+aetEventResponse :: Lens' AuthEventType (Maybe EventResponseType)+aetEventResponse = lens _aetEventResponse (\ s a -> s{_aetEventResponse = a})++-- | 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.+aetEventContextData :: Lens' AuthEventType (Maybe EventContextDataType)+aetEventContextData = lens _aetEventContextData (\ s a -> s{_aetEventContextData = a})++-- | The challenge responses.+aetChallengeResponses :: Lens' AuthEventType [ChallengeResponseType]+aetChallengeResponses = lens _aetChallengeResponses (\ s a -> s{_aetChallengeResponses = a}) . _Default . _Coerce++-- | The event type.+aetEventType :: Lens' AuthEventType (Maybe EventType)+aetEventType = lens _aetEventType (\ s a -> s{_aetEventType = a})++-- | The creation date+aetCreationDate :: Lens' AuthEventType (Maybe UTCTime)+aetCreationDate = lens _aetCreationDate (\ s a -> s{_aetCreationDate = a}) . mapping _Time++-- | A flag specifying the user feedback captured at the time of an event request is good or bad.+aetEventFeedback :: Lens' AuthEventType (Maybe EventFeedbackType)+aetEventFeedback = lens _aetEventFeedback (\ s a -> s{_aetEventFeedback = a})++-- | The event ID.+aetEventId :: Lens' AuthEventType (Maybe Text)+aetEventId = lens _aetEventId (\ s a -> s{_aetEventId = a})++instance FromJSON AuthEventType where+        parseJSON+          = withObject "AuthEventType"+              (\ x ->+                 AuthEventType' <$>+                   (x .:? "EventRisk") <*> (x .:? "EventResponse") <*>+                     (x .:? "EventContextData")+                     <*> (x .:? "ChallengeResponses" .!= mempty)+                     <*> (x .:? "EventType")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "EventFeedback")+                     <*> (x .:? "EventId"))++instance Hashable AuthEventType where++instance NFData AuthEventType where++-- | The authentication result.+--+--+--+-- /See:/ 'authenticationResultType' smart constructor.+data AuthenticationResultType = AuthenticationResultType'+  { _artAccessToken       :: !(Maybe (Sensitive Text))+  , _artRefreshToken      :: !(Maybe (Sensitive Text))+  , _artNewDeviceMetadata :: !(Maybe NewDeviceMetadataType)+  , _artExpiresIn         :: !(Maybe Int)+  , _artTokenType         :: !(Maybe Text)+  , _artIdToken           :: !(Maybe (Sensitive Text))+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AuthenticationResultType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'artAccessToken' - The access token.+--+-- * 'artRefreshToken' - The refresh token.+--+-- * 'artNewDeviceMetadata' - The new device metadata from an authentication result.+--+-- * 'artExpiresIn' - The expiration period of the authentication result.+--+-- * 'artTokenType' - The token type.+--+-- * 'artIdToken' - The ID token.+authenticationResultType+    :: AuthenticationResultType+authenticationResultType =+  AuthenticationResultType'+    { _artAccessToken = Nothing+    , _artRefreshToken = Nothing+    , _artNewDeviceMetadata = Nothing+    , _artExpiresIn = Nothing+    , _artTokenType = Nothing+    , _artIdToken = Nothing+    }+++-- | The access token.+artAccessToken :: Lens' AuthenticationResultType (Maybe Text)+artAccessToken = lens _artAccessToken (\ s a -> s{_artAccessToken = a}) . mapping _Sensitive++-- | The refresh token.+artRefreshToken :: Lens' AuthenticationResultType (Maybe Text)+artRefreshToken = lens _artRefreshToken (\ s a -> s{_artRefreshToken = a}) . mapping _Sensitive++-- | The new device metadata from an authentication result.+artNewDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)+artNewDeviceMetadata = lens _artNewDeviceMetadata (\ s a -> s{_artNewDeviceMetadata = a})++-- | The expiration period of the authentication result.+artExpiresIn :: Lens' AuthenticationResultType (Maybe Int)+artExpiresIn = lens _artExpiresIn (\ s a -> s{_artExpiresIn = a})++-- | The token type.+artTokenType :: Lens' AuthenticationResultType (Maybe Text)+artTokenType = lens _artTokenType (\ s a -> s{_artTokenType = a})++-- | The ID token.+artIdToken :: Lens' AuthenticationResultType (Maybe Text)+artIdToken = lens _artIdToken (\ s a -> s{_artIdToken = a}) . mapping _Sensitive++instance FromJSON AuthenticationResultType where+        parseJSON+          = withObject "AuthenticationResultType"+              (\ x ->+                 AuthenticationResultType' <$>+                   (x .:? "AccessToken") <*> (x .:? "RefreshToken") <*>+                     (x .:? "NewDeviceMetadata")+                     <*> (x .:? "ExpiresIn")+                     <*> (x .:? "TokenType")+                     <*> (x .:? "IdToken"))++instance Hashable AuthenticationResultType where++instance NFData AuthenticationResultType where++-- | The challenge response type.+--+--+--+-- /See:/ 'challengeResponseType' smart constructor.+data ChallengeResponseType = ChallengeResponseType'+  { _crtChallengeName     :: !(Maybe ChallengeName)+  , _crtChallengeResponse :: !(Maybe ChallengeResponse)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ChallengeResponseType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'crtChallengeName' - The challenge name+--+-- * 'crtChallengeResponse' - The challenge response.+challengeResponseType+    :: ChallengeResponseType+challengeResponseType =+  ChallengeResponseType'+    {_crtChallengeName = Nothing, _crtChallengeResponse = Nothing}+++-- | The challenge name+crtChallengeName :: Lens' ChallengeResponseType (Maybe ChallengeName)+crtChallengeName = lens _crtChallengeName (\ s a -> s{_crtChallengeName = a})++-- | The challenge response.+crtChallengeResponse :: Lens' ChallengeResponseType (Maybe ChallengeResponse)+crtChallengeResponse = lens _crtChallengeResponse (\ s a -> s{_crtChallengeResponse = a})++instance FromJSON ChallengeResponseType where+        parseJSON+          = withObject "ChallengeResponseType"+              (\ x ->+                 ChallengeResponseType' <$>+                   (x .:? "ChallengeName") <*>+                     (x .:? "ChallengeResponse"))++instance Hashable ChallengeResponseType where++instance NFData ChallengeResponseType where++-- | The code delivery details being returned from the server.+--+--+--+-- /See:/ 'codeDeliveryDetailsType' smart constructor.+data CodeDeliveryDetailsType = CodeDeliveryDetailsType'+  { _cddtDestination    :: !(Maybe Text)+  , _cddtDeliveryMedium :: !(Maybe DeliveryMediumType)+  , _cddtAttributeName  :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CodeDeliveryDetailsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cddtDestination' - The destination for the code delivery details.+--+-- * 'cddtDeliveryMedium' - The delivery medium (email message or phone number).+--+-- * 'cddtAttributeName' - The attribute name.+codeDeliveryDetailsType+    :: CodeDeliveryDetailsType+codeDeliveryDetailsType =+  CodeDeliveryDetailsType'+    { _cddtDestination = Nothing+    , _cddtDeliveryMedium = Nothing+    , _cddtAttributeName = Nothing+    }+++-- | The destination for the code delivery details.+cddtDestination :: Lens' CodeDeliveryDetailsType (Maybe Text)+cddtDestination = lens _cddtDestination (\ s a -> s{_cddtDestination = a})++-- | The delivery medium (email message or phone number).+cddtDeliveryMedium :: Lens' CodeDeliveryDetailsType (Maybe DeliveryMediumType)+cddtDeliveryMedium = lens _cddtDeliveryMedium (\ s a -> s{_cddtDeliveryMedium = a})++-- | The attribute name.+cddtAttributeName :: Lens' CodeDeliveryDetailsType (Maybe Text)+cddtAttributeName = lens _cddtAttributeName (\ s a -> s{_cddtAttributeName = a})++instance FromJSON CodeDeliveryDetailsType where+        parseJSON+          = withObject "CodeDeliveryDetailsType"+              (\ x ->+                 CodeDeliveryDetailsType' <$>+                   (x .:? "Destination") <*> (x .:? "DeliveryMedium")+                     <*> (x .:? "AttributeName"))++instance Hashable CodeDeliveryDetailsType where++instance NFData CodeDeliveryDetailsType where++-- | The compromised credentials actions type+--+--+--+-- /See:/ 'compromisedCredentialsActionsType' smart constructor.+newtype CompromisedCredentialsActionsType = CompromisedCredentialsActionsType'+  { _ccatEventAction :: CompromisedCredentialsEventActionType+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CompromisedCredentialsActionsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ccatEventAction' - The event action.+compromisedCredentialsActionsType+    :: CompromisedCredentialsEventActionType -- ^ 'ccatEventAction'+    -> CompromisedCredentialsActionsType+compromisedCredentialsActionsType pEventAction_ =+  CompromisedCredentialsActionsType' {_ccatEventAction = pEventAction_}+++-- | The event action.+ccatEventAction :: Lens' CompromisedCredentialsActionsType CompromisedCredentialsEventActionType+ccatEventAction = lens _ccatEventAction (\ s a -> s{_ccatEventAction = a})++instance FromJSON CompromisedCredentialsActionsType+         where+        parseJSON+          = withObject "CompromisedCredentialsActionsType"+              (\ x ->+                 CompromisedCredentialsActionsType' <$>+                   (x .: "EventAction"))++instance Hashable CompromisedCredentialsActionsType+         where++instance NFData CompromisedCredentialsActionsType+         where++instance ToJSON CompromisedCredentialsActionsType+         where+        toJSON CompromisedCredentialsActionsType'{..}+          = object+              (catMaybes+                 [Just ("EventAction" .= _ccatEventAction)])++-- | The compromised credentials risk configuration type.+--+--+--+-- /See:/ 'compromisedCredentialsRiskConfigurationType' smart constructor.+data CompromisedCredentialsRiskConfigurationType = CompromisedCredentialsRiskConfigurationType'+  { _ccrctEventFilter :: !(Maybe [EventFilterType])+  , _ccrctActions     :: !CompromisedCredentialsActionsType+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CompromisedCredentialsRiskConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ccrctEventFilter' - Perform the action for these events. The default is to perform all events if no event filter is specified.+--+-- * 'ccrctActions' - The compromised credentials risk configuration actions.+compromisedCredentialsRiskConfigurationType+    :: CompromisedCredentialsActionsType -- ^ 'ccrctActions'+    -> CompromisedCredentialsRiskConfigurationType+compromisedCredentialsRiskConfigurationType pActions_ =+  CompromisedCredentialsRiskConfigurationType'+    {_ccrctEventFilter = Nothing, _ccrctActions = pActions_}+++-- | Perform the action for these events. The default is to perform all events if no event filter is specified.+ccrctEventFilter :: Lens' CompromisedCredentialsRiskConfigurationType [EventFilterType]+ccrctEventFilter = lens _ccrctEventFilter (\ s a -> s{_ccrctEventFilter = a}) . _Default . _Coerce++-- | The compromised credentials risk configuration actions.+ccrctActions :: Lens' CompromisedCredentialsRiskConfigurationType CompromisedCredentialsActionsType+ccrctActions = lens _ccrctActions (\ s a -> s{_ccrctActions = a})++instance FromJSON+           CompromisedCredentialsRiskConfigurationType+         where+        parseJSON+          = withObject+              "CompromisedCredentialsRiskConfigurationType"+              (\ x ->+                 CompromisedCredentialsRiskConfigurationType' <$>+                   (x .:? "EventFilter" .!= mempty) <*>+                     (x .: "Actions"))++instance Hashable+           CompromisedCredentialsRiskConfigurationType+         where++instance NFData+           CompromisedCredentialsRiskConfigurationType+         where++instance ToJSON+           CompromisedCredentialsRiskConfigurationType+         where+        toJSON+          CompromisedCredentialsRiskConfigurationType'{..}+          = object+              (catMaybes+                 [("EventFilter" .=) <$> _ccrctEventFilter,+                  Just ("Actions" .= _ccrctActions)])++-- | Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.+--+--+--+-- /See:/ 'contextDataType' smart constructor.+data ContextDataType = ContextDataType'+  { _cdtEncodedData :: !(Maybe Text)+  , _cdtIPAddress   :: !Text+  , _cdtServerName  :: !Text+  , _cdtServerPath  :: !Text+  , _cdtHTTPHeaders :: ![HTTPHeader]+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ContextDataType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cdtEncodedData' - Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.+--+-- * 'cdtIPAddress' - Source IP address of your user.+--+-- * 'cdtServerName' - Your server endpoint where this API is invoked.+--+-- * 'cdtServerPath' - Your server path where this API is invoked.+--+-- * 'cdtHTTPHeaders' - HttpHeaders received on your server in same order.+contextDataType+    :: Text -- ^ 'cdtIPAddress'+    -> Text -- ^ 'cdtServerName'+    -> Text -- ^ 'cdtServerPath'+    -> ContextDataType+contextDataType pIPAddress_ pServerName_ pServerPath_ =+  ContextDataType'+    { _cdtEncodedData = Nothing+    , _cdtIPAddress = pIPAddress_+    , _cdtServerName = pServerName_+    , _cdtServerPath = pServerPath_+    , _cdtHTTPHeaders = mempty+    }+++-- | Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.+cdtEncodedData :: Lens' ContextDataType (Maybe Text)+cdtEncodedData = lens _cdtEncodedData (\ s a -> s{_cdtEncodedData = a})++-- | Source IP address of your user.+cdtIPAddress :: Lens' ContextDataType Text+cdtIPAddress = lens _cdtIPAddress (\ s a -> s{_cdtIPAddress = a})++-- | Your server endpoint where this API is invoked.+cdtServerName :: Lens' ContextDataType Text+cdtServerName = lens _cdtServerName (\ s a -> s{_cdtServerName = a})++-- | Your server path where this API is invoked.+cdtServerPath :: Lens' ContextDataType Text+cdtServerPath = lens _cdtServerPath (\ s a -> s{_cdtServerPath = a})++-- | HttpHeaders received on your server in same order.+cdtHTTPHeaders :: Lens' ContextDataType [HTTPHeader]+cdtHTTPHeaders = lens _cdtHTTPHeaders (\ s a -> s{_cdtHTTPHeaders = a}) . _Coerce++instance Hashable ContextDataType where++instance NFData ContextDataType where++instance ToJSON ContextDataType where+        toJSON ContextDataType'{..}+          = object+              (catMaybes+                 [("EncodedData" .=) <$> _cdtEncodedData,+                  Just ("IpAddress" .= _cdtIPAddress),+                  Just ("ServerName" .= _cdtServerName),+                  Just ("ServerPath" .= _cdtServerPath),+                  Just ("HttpHeaders" .= _cdtHTTPHeaders)])++-- | The configuration for the user pool's device tracking.+--+--+--+-- /See:/ 'deviceConfigurationType' smart constructor.+data DeviceConfigurationType = DeviceConfigurationType'+  { _dctChallengeRequiredOnNewDevice     :: !(Maybe Bool)+  , _dctDeviceOnlyRememberedOnUserPrompt :: !(Maybe Bool)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeviceConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dctChallengeRequiredOnNewDevice' - Indicates whether a challenge is required on a new device. Only applicable to a new device.+--+-- * 'dctDeviceOnlyRememberedOnUserPrompt' - If true, a device is only remembered on user prompt.+deviceConfigurationType+    :: DeviceConfigurationType+deviceConfigurationType =+  DeviceConfigurationType'+    { _dctChallengeRequiredOnNewDevice = Nothing+    , _dctDeviceOnlyRememberedOnUserPrompt = Nothing+    }+++-- | Indicates whether a challenge is required on a new device. Only applicable to a new device.+dctChallengeRequiredOnNewDevice :: Lens' DeviceConfigurationType (Maybe Bool)+dctChallengeRequiredOnNewDevice = lens _dctChallengeRequiredOnNewDevice (\ s a -> s{_dctChallengeRequiredOnNewDevice = a})++-- | If true, a device is only remembered on user prompt.+dctDeviceOnlyRememberedOnUserPrompt :: Lens' DeviceConfigurationType (Maybe Bool)+dctDeviceOnlyRememberedOnUserPrompt = lens _dctDeviceOnlyRememberedOnUserPrompt (\ s a -> s{_dctDeviceOnlyRememberedOnUserPrompt = a})++instance FromJSON DeviceConfigurationType where+        parseJSON+          = withObject "DeviceConfigurationType"+              (\ x ->+                 DeviceConfigurationType' <$>+                   (x .:? "ChallengeRequiredOnNewDevice") <*>+                     (x .:? "DeviceOnlyRememberedOnUserPrompt"))++instance Hashable DeviceConfigurationType where++instance NFData DeviceConfigurationType where++instance ToJSON DeviceConfigurationType where+        toJSON DeviceConfigurationType'{..}+          = object+              (catMaybes+                 [("ChallengeRequiredOnNewDevice" .=) <$>+                    _dctChallengeRequiredOnNewDevice,+                  ("DeviceOnlyRememberedOnUserPrompt" .=) <$>+                    _dctDeviceOnlyRememberedOnUserPrompt])++-- | The device verifier against which it will be authenticated.+--+--+--+-- /See:/ 'deviceSecretVerifierConfigType' smart constructor.+data DeviceSecretVerifierConfigType = DeviceSecretVerifierConfigType'+  { _dsvctPasswordVerifier :: !(Maybe Text)+  , _dsvctSalt             :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeviceSecretVerifierConfigType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dsvctPasswordVerifier' - The password verifier.+--+-- * 'dsvctSalt' - The salt.+deviceSecretVerifierConfigType+    :: DeviceSecretVerifierConfigType+deviceSecretVerifierConfigType =+  DeviceSecretVerifierConfigType'+    {_dsvctPasswordVerifier = Nothing, _dsvctSalt = Nothing}+++-- | The password verifier.+dsvctPasswordVerifier :: Lens' DeviceSecretVerifierConfigType (Maybe Text)+dsvctPasswordVerifier = lens _dsvctPasswordVerifier (\ s a -> s{_dsvctPasswordVerifier = a})++-- | The salt.+dsvctSalt :: Lens' DeviceSecretVerifierConfigType (Maybe Text)+dsvctSalt = lens _dsvctSalt (\ s a -> s{_dsvctSalt = a})++instance Hashable DeviceSecretVerifierConfigType+         where++instance NFData DeviceSecretVerifierConfigType where++instance ToJSON DeviceSecretVerifierConfigType where+        toJSON DeviceSecretVerifierConfigType'{..}+          = object+              (catMaybes+                 [("PasswordVerifier" .=) <$> _dsvctPasswordVerifier,+                  ("Salt" .=) <$> _dsvctSalt])++-- | The device type.+--+--+--+-- /See:/ 'deviceType' smart constructor.+data DeviceType = DeviceType'+  { _dtDeviceLastModifiedDate      :: !(Maybe POSIX)+  , _dtDeviceCreateDate            :: !(Maybe POSIX)+  , _dtDeviceAttributes            :: !(Maybe [AttributeType])+  , _dtDeviceKey                   :: !(Maybe Text)+  , _dtDeviceLastAuthenticatedDate :: !(Maybe POSIX)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeviceType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtDeviceLastModifiedDate' - The last modified date of the device.+--+-- * 'dtDeviceCreateDate' - The creation date of the device.+--+-- * 'dtDeviceAttributes' - The device attributes.+--+-- * 'dtDeviceKey' - The device key.+--+-- * 'dtDeviceLastAuthenticatedDate' - The date in which the device was last authenticated.+deviceType+    :: DeviceType+deviceType =+  DeviceType'+    { _dtDeviceLastModifiedDate = Nothing+    , _dtDeviceCreateDate = Nothing+    , _dtDeviceAttributes = Nothing+    , _dtDeviceKey = Nothing+    , _dtDeviceLastAuthenticatedDate = Nothing+    }+++-- | The last modified date of the device.+dtDeviceLastModifiedDate :: Lens' DeviceType (Maybe UTCTime)+dtDeviceLastModifiedDate = lens _dtDeviceLastModifiedDate (\ s a -> s{_dtDeviceLastModifiedDate = a}) . mapping _Time++-- | The creation date of the device.+dtDeviceCreateDate :: Lens' DeviceType (Maybe UTCTime)+dtDeviceCreateDate = lens _dtDeviceCreateDate (\ s a -> s{_dtDeviceCreateDate = a}) . mapping _Time++-- | The device attributes.+dtDeviceAttributes :: Lens' DeviceType [AttributeType]+dtDeviceAttributes = lens _dtDeviceAttributes (\ s a -> s{_dtDeviceAttributes = a}) . _Default . _Coerce++-- | The device key.+dtDeviceKey :: Lens' DeviceType (Maybe Text)+dtDeviceKey = lens _dtDeviceKey (\ s a -> s{_dtDeviceKey = a})++-- | The date in which the device was last authenticated.+dtDeviceLastAuthenticatedDate :: Lens' DeviceType (Maybe UTCTime)+dtDeviceLastAuthenticatedDate = lens _dtDeviceLastAuthenticatedDate (\ s a -> s{_dtDeviceLastAuthenticatedDate = a}) . mapping _Time++instance FromJSON DeviceType where+        parseJSON+          = withObject "DeviceType"+              (\ x ->+                 DeviceType' <$>+                   (x .:? "DeviceLastModifiedDate") <*>+                     (x .:? "DeviceCreateDate")+                     <*> (x .:? "DeviceAttributes" .!= mempty)+                     <*> (x .:? "DeviceKey")+                     <*> (x .:? "DeviceLastAuthenticatedDate"))++instance Hashable DeviceType where++instance NFData DeviceType where++-- | A container for information about a domain.+--+--+--+-- /See:/ 'domainDescriptionType' smart constructor.+data DomainDescriptionType = DomainDescriptionType'+  { _ddtStatus                 :: !(Maybe DomainStatusType)+  , _ddtCloudFrontDistribution :: !(Maybe Text)+  , _ddtUserPoolId             :: !(Maybe Text)+  , _ddtDomain                 :: !(Maybe Text)+  , _ddtAWSAccountId           :: !(Maybe Text)+  , _ddtVersion                :: !(Maybe Text)+  , _ddtS3Bucket               :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DomainDescriptionType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ddtStatus' - The domain status.+--+-- * 'ddtCloudFrontDistribution' - The ARN of the CloudFront distribution.+--+-- * 'ddtUserPoolId' - The user pool ID.+--+-- * 'ddtDomain' - The domain string.+--+-- * 'ddtAWSAccountId' - The AWS account ID for the user pool owner.+--+-- * 'ddtVersion' - The app version.+--+-- * 'ddtS3Bucket' - The S3 bucket where the static files for this domain are stored.+domainDescriptionType+    :: DomainDescriptionType+domainDescriptionType =+  DomainDescriptionType'+    { _ddtStatus = Nothing+    , _ddtCloudFrontDistribution = Nothing+    , _ddtUserPoolId = Nothing+    , _ddtDomain = Nothing+    , _ddtAWSAccountId = Nothing+    , _ddtVersion = Nothing+    , _ddtS3Bucket = Nothing+    }+++-- | The domain status.+ddtStatus :: Lens' DomainDescriptionType (Maybe DomainStatusType)+ddtStatus = lens _ddtStatus (\ s a -> s{_ddtStatus = a})++-- | The ARN of the CloudFront distribution.+ddtCloudFrontDistribution :: Lens' DomainDescriptionType (Maybe Text)+ddtCloudFrontDistribution = lens _ddtCloudFrontDistribution (\ s a -> s{_ddtCloudFrontDistribution = a})++-- | The user pool ID.+ddtUserPoolId :: Lens' DomainDescriptionType (Maybe Text)+ddtUserPoolId = lens _ddtUserPoolId (\ s a -> s{_ddtUserPoolId = a})++-- | The domain string.+ddtDomain :: Lens' DomainDescriptionType (Maybe Text)+ddtDomain = lens _ddtDomain (\ s a -> s{_ddtDomain = a})++-- | The AWS account ID for the user pool owner.+ddtAWSAccountId :: Lens' DomainDescriptionType (Maybe Text)+ddtAWSAccountId = lens _ddtAWSAccountId (\ s a -> s{_ddtAWSAccountId = a})++-- | The app version.+ddtVersion :: Lens' DomainDescriptionType (Maybe Text)+ddtVersion = lens _ddtVersion (\ s a -> s{_ddtVersion = a})++-- | The S3 bucket where the static files for this domain are stored.+ddtS3Bucket :: Lens' DomainDescriptionType (Maybe Text)+ddtS3Bucket = lens _ddtS3Bucket (\ s a -> s{_ddtS3Bucket = a})++instance FromJSON DomainDescriptionType where+        parseJSON+          = withObject "DomainDescriptionType"+              (\ x ->+                 DomainDescriptionType' <$>+                   (x .:? "Status") <*> (x .:? "CloudFrontDistribution")+                     <*> (x .:? "UserPoolId")+                     <*> (x .:? "Domain")+                     <*> (x .:? "AWSAccountId")+                     <*> (x .:? "Version")+                     <*> (x .:? "S3Bucket"))++instance Hashable DomainDescriptionType where++instance NFData DomainDescriptionType where++-- | The email configuration type.+--+--+--+-- /See:/ 'emailConfigurationType' smart constructor.+data EmailConfigurationType = EmailConfigurationType'+  { _ectSourceARN           :: !(Maybe Text)+  , _ectReplyToEmailAddress :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EmailConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ectSourceARN' - The Amazon Resource Name (ARN) of the email source.+--+-- * 'ectReplyToEmailAddress' - The destination to which the receiver of the email should reply to.+emailConfigurationType+    :: EmailConfigurationType+emailConfigurationType =+  EmailConfigurationType'+    {_ectSourceARN = Nothing, _ectReplyToEmailAddress = Nothing}+++-- | The Amazon Resource Name (ARN) of the email source.+ectSourceARN :: Lens' EmailConfigurationType (Maybe Text)+ectSourceARN = lens _ectSourceARN (\ s a -> s{_ectSourceARN = a})++-- | The destination to which the receiver of the email should reply to.+ectReplyToEmailAddress :: Lens' EmailConfigurationType (Maybe Text)+ectReplyToEmailAddress = lens _ectReplyToEmailAddress (\ s a -> s{_ectReplyToEmailAddress = a})++instance FromJSON EmailConfigurationType where+        parseJSON+          = withObject "EmailConfigurationType"+              (\ x ->+                 EmailConfigurationType' <$>+                   (x .:? "SourceArn") <*>+                     (x .:? "ReplyToEmailAddress"))++instance Hashable EmailConfigurationType where++instance NFData EmailConfigurationType where++instance ToJSON EmailConfigurationType where+        toJSON EmailConfigurationType'{..}+          = object+              (catMaybes+                 [("SourceArn" .=) <$> _ectSourceARN,+                  ("ReplyToEmailAddress" .=) <$>+                    _ectReplyToEmailAddress])++-- | Specifies the user context data captured at the time of an event request.+--+--+--+-- /See:/ 'eventContextDataType' smart constructor.+data EventContextDataType = EventContextDataType'+  { _ecdtIPAddress  :: !(Maybe Text)+  , _ecdtCountry    :: !(Maybe Text)+  , _ecdtCity       :: !(Maybe Text)+  , _ecdtDeviceName :: !(Maybe Text)+  , _ecdtTimezone   :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EventContextDataType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ecdtIPAddress' - The user's IP address.+--+-- * 'ecdtCountry' - The user's country.+--+-- * 'ecdtCity' - The user's city.+--+-- * 'ecdtDeviceName' - The user's device name.+--+-- * 'ecdtTimezone' - The user's time zone.+eventContextDataType+    :: EventContextDataType+eventContextDataType =+  EventContextDataType'+    { _ecdtIPAddress = Nothing+    , _ecdtCountry = Nothing+    , _ecdtCity = Nothing+    , _ecdtDeviceName = Nothing+    , _ecdtTimezone = Nothing+    }+++-- | The user's IP address.+ecdtIPAddress :: Lens' EventContextDataType (Maybe Text)+ecdtIPAddress = lens _ecdtIPAddress (\ s a -> s{_ecdtIPAddress = a})++-- | The user's country.+ecdtCountry :: Lens' EventContextDataType (Maybe Text)+ecdtCountry = lens _ecdtCountry (\ s a -> s{_ecdtCountry = a})++-- | The user's city.+ecdtCity :: Lens' EventContextDataType (Maybe Text)+ecdtCity = lens _ecdtCity (\ s a -> s{_ecdtCity = a})++-- | The user's device name.+ecdtDeviceName :: Lens' EventContextDataType (Maybe Text)+ecdtDeviceName = lens _ecdtDeviceName (\ s a -> s{_ecdtDeviceName = a})++-- | The user's time zone.+ecdtTimezone :: Lens' EventContextDataType (Maybe Text)+ecdtTimezone = lens _ecdtTimezone (\ s a -> s{_ecdtTimezone = a})++instance FromJSON EventContextDataType where+        parseJSON+          = withObject "EventContextDataType"+              (\ x ->+                 EventContextDataType' <$>+                   (x .:? "IpAddress") <*> (x .:? "Country") <*>+                     (x .:? "City")+                     <*> (x .:? "DeviceName")+                     <*> (x .:? "Timezone"))++instance Hashable EventContextDataType where++instance NFData EventContextDataType where++-- | Specifies the event feedback type.+--+--+--+-- /See:/ 'eventFeedbackType' smart constructor.+data EventFeedbackType = EventFeedbackType'+  { _eftFeedbackDate  :: !(Maybe POSIX)+  , _eftFeedbackValue :: !FeedbackValueType+  , _eftProvider      :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EventFeedbackType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'eftFeedbackDate' - The event feedback date.+--+-- * 'eftFeedbackValue' - The event feedback value.+--+-- * 'eftProvider' - The provider.+eventFeedbackType+    :: FeedbackValueType -- ^ 'eftFeedbackValue'+    -> Text -- ^ 'eftProvider'+    -> EventFeedbackType+eventFeedbackType pFeedbackValue_ pProvider_ =+  EventFeedbackType'+    { _eftFeedbackDate = Nothing+    , _eftFeedbackValue = pFeedbackValue_+    , _eftProvider = pProvider_+    }+++-- | The event feedback date.+eftFeedbackDate :: Lens' EventFeedbackType (Maybe UTCTime)+eftFeedbackDate = lens _eftFeedbackDate (\ s a -> s{_eftFeedbackDate = a}) . mapping _Time++-- | The event feedback value.+eftFeedbackValue :: Lens' EventFeedbackType FeedbackValueType+eftFeedbackValue = lens _eftFeedbackValue (\ s a -> s{_eftFeedbackValue = a})++-- | The provider.+eftProvider :: Lens' EventFeedbackType Text+eftProvider = lens _eftProvider (\ s a -> s{_eftProvider = a})++instance FromJSON EventFeedbackType where+        parseJSON+          = withObject "EventFeedbackType"+              (\ x ->+                 EventFeedbackType' <$>+                   (x .:? "FeedbackDate") <*> (x .: "FeedbackValue") <*>+                     (x .: "Provider"))++instance Hashable EventFeedbackType where++instance NFData EventFeedbackType where++-- | The event risk type.+--+--+--+-- /See:/ 'eventRiskType' smart constructor.+data EventRiskType = EventRiskType'+  { _ertRiskLevel    :: !(Maybe RiskLevelType)+  , _ertRiskDecision :: !(Maybe RiskDecisionType)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EventRiskType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ertRiskLevel' - The risk level.+--+-- * 'ertRiskDecision' - The risk decision.+eventRiskType+    :: EventRiskType+eventRiskType =+  EventRiskType' {_ertRiskLevel = Nothing, _ertRiskDecision = Nothing}+++-- | The risk level.+ertRiskLevel :: Lens' EventRiskType (Maybe RiskLevelType)+ertRiskLevel = lens _ertRiskLevel (\ s a -> s{_ertRiskLevel = a})++-- | The risk decision.+ertRiskDecision :: Lens' EventRiskType (Maybe RiskDecisionType)+ertRiskDecision = lens _ertRiskDecision (\ s a -> s{_ertRiskDecision = a})++instance FromJSON EventRiskType where+        parseJSON+          = withObject "EventRiskType"+              (\ x ->+                 EventRiskType' <$>+                   (x .:? "RiskLevel") <*> (x .:? "RiskDecision"))++instance Hashable EventRiskType where++instance NFData EventRiskType where++-- | The group type.+--+--+--+-- /See:/ 'groupType' smart constructor.+data GroupType = GroupType'+  { _gtLastModifiedDate :: !(Maybe POSIX)+  , _gtUserPoolId       :: !(Maybe Text)+  , _gtCreationDate     :: !(Maybe POSIX)+  , _gtPrecedence       :: !(Maybe Nat)+  , _gtGroupName        :: !(Maybe Text)+  , _gtDescription      :: !(Maybe Text)+  , _gtRoleARN          :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GroupType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gtLastModifiedDate' - The date the group was last modified.+--+-- * 'gtUserPoolId' - The user pool ID for the user pool.+--+-- * 'gtCreationDate' - The date the group was created.+--+-- * 'gtPrecedence' - 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.+--+-- * 'gtGroupName' - The name of the group.+--+-- * 'gtDescription' - A string containing the description of the group.+--+-- * 'gtRoleARN' - The role ARN for the group.+groupType+    :: GroupType+groupType =+  GroupType'+    { _gtLastModifiedDate = Nothing+    , _gtUserPoolId = Nothing+    , _gtCreationDate = Nothing+    , _gtPrecedence = Nothing+    , _gtGroupName = Nothing+    , _gtDescription = Nothing+    , _gtRoleARN = Nothing+    }+++-- | The date the group was last modified.+gtLastModifiedDate :: Lens' GroupType (Maybe UTCTime)+gtLastModifiedDate = lens _gtLastModifiedDate (\ s a -> s{_gtLastModifiedDate = a}) . mapping _Time++-- | The user pool ID for the user pool.+gtUserPoolId :: Lens' GroupType (Maybe Text)+gtUserPoolId = lens _gtUserPoolId (\ s a -> s{_gtUserPoolId = a})++-- | The date the group was created.+gtCreationDate :: Lens' GroupType (Maybe UTCTime)+gtCreationDate = lens _gtCreationDate (\ s a -> s{_gtCreationDate = a}) . mapping _Time++-- | 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.+gtPrecedence :: Lens' GroupType (Maybe Natural)+gtPrecedence = lens _gtPrecedence (\ s a -> s{_gtPrecedence = a}) . mapping _Nat++-- | The name of the group.+gtGroupName :: Lens' GroupType (Maybe Text)+gtGroupName = lens _gtGroupName (\ s a -> s{_gtGroupName = a})++-- | A string containing the description of the group.+gtDescription :: Lens' GroupType (Maybe Text)+gtDescription = lens _gtDescription (\ s a -> s{_gtDescription = a})++-- | The role ARN for the group.+gtRoleARN :: Lens' GroupType (Maybe Text)+gtRoleARN = lens _gtRoleARN (\ s a -> s{_gtRoleARN = a})++instance FromJSON GroupType where+        parseJSON+          = withObject "GroupType"+              (\ x ->+                 GroupType' <$>+                   (x .:? "LastModifiedDate") <*> (x .:? "UserPoolId")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "Precedence")+                     <*> (x .:? "GroupName")+                     <*> (x .:? "Description")+                     <*> (x .:? "RoleArn"))++instance Hashable GroupType where++instance NFData GroupType where++-- | The HTTP header.+--+--+--+-- /See:/ 'hTTPHeader' smart constructor.+data HTTPHeader = HTTPHeader'+  { _httphHeaderValue :: !(Maybe Text)+  , _httphHeaderName  :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'HTTPHeader' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'httphHeaderValue' - The header value.+--+-- * 'httphHeaderName' - The header name+hTTPHeader+    :: HTTPHeader+hTTPHeader =+  HTTPHeader' {_httphHeaderValue = Nothing, _httphHeaderName = Nothing}+++-- | The header value.+httphHeaderValue :: Lens' HTTPHeader (Maybe Text)+httphHeaderValue = lens _httphHeaderValue (\ s a -> s{_httphHeaderValue = a})++-- | The header name+httphHeaderName :: Lens' HTTPHeader (Maybe Text)+httphHeaderName = lens _httphHeaderName (\ s a -> s{_httphHeaderName = a})++instance Hashable HTTPHeader where++instance NFData HTTPHeader where++instance ToJSON HTTPHeader where+        toJSON HTTPHeader'{..}+          = object+              (catMaybes+                 [("headerValue" .=) <$> _httphHeaderValue,+                  ("headerName" .=) <$> _httphHeaderName])++-- | A container for information about an identity provider.+--+--+--+-- /See:/ 'identityProviderType' smart constructor.+data IdentityProviderType = IdentityProviderType'+  { _iptLastModifiedDate :: !(Maybe POSIX)+  , _iptUserPoolId       :: !(Maybe Text)+  , _iptProviderType     :: !(Maybe IdentityProviderTypeType)+  , _iptCreationDate     :: !(Maybe POSIX)+  , _iptIdpIdentifiers   :: !(Maybe [Text])+  , _iptAttributeMapping :: !(Maybe (Map Text Text))+  , _iptProviderDetails  :: !(Maybe (Map Text Text))+  , _iptProviderName     :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'IdentityProviderType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'iptLastModifiedDate' - The date the identity provider was last modified.+--+-- * 'iptUserPoolId' - The user pool ID.+--+-- * 'iptProviderType' - The identity provider type.+--+-- * 'iptCreationDate' - The date the identity provider was created.+--+-- * 'iptIdpIdentifiers' - A list of identity provider identifiers.+--+-- * 'iptAttributeMapping' - A mapping of identity provider attributes to standard and custom user pool attributes.+--+-- * 'iptProviderDetails' - The identity provider details, such as @MetadataURL@ and @MetadataFile@ .+--+-- * 'iptProviderName' - The identity provider name.+identityProviderType+    :: IdentityProviderType+identityProviderType =+  IdentityProviderType'+    { _iptLastModifiedDate = Nothing+    , _iptUserPoolId = Nothing+    , _iptProviderType = Nothing+    , _iptCreationDate = Nothing+    , _iptIdpIdentifiers = Nothing+    , _iptAttributeMapping = Nothing+    , _iptProviderDetails = Nothing+    , _iptProviderName = Nothing+    }+++-- | The date the identity provider was last modified.+iptLastModifiedDate :: Lens' IdentityProviderType (Maybe UTCTime)+iptLastModifiedDate = lens _iptLastModifiedDate (\ s a -> s{_iptLastModifiedDate = a}) . mapping _Time++-- | The user pool ID.+iptUserPoolId :: Lens' IdentityProviderType (Maybe Text)+iptUserPoolId = lens _iptUserPoolId (\ s a -> s{_iptUserPoolId = a})++-- | The identity provider type.+iptProviderType :: Lens' IdentityProviderType (Maybe IdentityProviderTypeType)+iptProviderType = lens _iptProviderType (\ s a -> s{_iptProviderType = a})++-- | The date the identity provider was created.+iptCreationDate :: Lens' IdentityProviderType (Maybe UTCTime)+iptCreationDate = lens _iptCreationDate (\ s a -> s{_iptCreationDate = a}) . mapping _Time++-- | A list of identity provider identifiers.+iptIdpIdentifiers :: Lens' IdentityProviderType [Text]+iptIdpIdentifiers = lens _iptIdpIdentifiers (\ s a -> s{_iptIdpIdentifiers = a}) . _Default . _Coerce++-- | A mapping of identity provider attributes to standard and custom user pool attributes.+iptAttributeMapping :: Lens' IdentityProviderType (HashMap Text Text)+iptAttributeMapping = lens _iptAttributeMapping (\ s a -> s{_iptAttributeMapping = a}) . _Default . _Map++-- | The identity provider details, such as @MetadataURL@ and @MetadataFile@ .+iptProviderDetails :: Lens' IdentityProviderType (HashMap Text Text)+iptProviderDetails = lens _iptProviderDetails (\ s a -> s{_iptProviderDetails = a}) . _Default . _Map++-- | The identity provider name.+iptProviderName :: Lens' IdentityProviderType (Maybe Text)+iptProviderName = lens _iptProviderName (\ s a -> s{_iptProviderName = a})++instance FromJSON IdentityProviderType where+        parseJSON+          = withObject "IdentityProviderType"+              (\ x ->+                 IdentityProviderType' <$>+                   (x .:? "LastModifiedDate") <*> (x .:? "UserPoolId")+                     <*> (x .:? "ProviderType")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "IdpIdentifiers" .!= mempty)+                     <*> (x .:? "AttributeMapping" .!= mempty)+                     <*> (x .:? "ProviderDetails" .!= mempty)+                     <*> (x .:? "ProviderName"))++instance Hashable IdentityProviderType where++instance NFData IdentityProviderType where++-- | Specifies the configuration for AWS Lambda triggers.+--+--+--+-- /See:/ 'lambdaConfigType' smart constructor.+data LambdaConfigType = LambdaConfigType'+  { _lctPreAuthentication           :: !(Maybe Text)+  , _lctCreateAuthChallenge         :: !(Maybe Text)+  , _lctVerifyAuthChallengeResponse :: !(Maybe Text)+  , _lctPostAuthentication          :: !(Maybe Text)+  , _lctCustomMessage               :: !(Maybe Text)+  , _lctDefineAuthChallenge         :: !(Maybe Text)+  , _lctPostConfirmation            :: !(Maybe Text)+  , _lctPreTokenGeneration          :: !(Maybe Text)+  , _lctUserMigration               :: !(Maybe Text)+  , _lctPreSignUp                   :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'LambdaConfigType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lctPreAuthentication' - A pre-authentication AWS Lambda trigger.+--+-- * 'lctCreateAuthChallenge' - Creates an authentication challenge.+--+-- * 'lctVerifyAuthChallengeResponse' - Verifies the authentication challenge response.+--+-- * 'lctPostAuthentication' - A post-authentication AWS Lambda trigger.+--+-- * 'lctCustomMessage' - A custom Message AWS Lambda trigger.+--+-- * 'lctDefineAuthChallenge' - Defines the authentication challenge.+--+-- * 'lctPostConfirmation' - A post-confirmation AWS Lambda trigger.+--+-- * 'lctPreTokenGeneration' - A Lambda trigger that is invoked before token generation.+--+-- * 'lctUserMigration' - The user migration Lambda config type.+--+-- * 'lctPreSignUp' - A pre-registration AWS Lambda trigger.+lambdaConfigType+    :: LambdaConfigType+lambdaConfigType =+  LambdaConfigType'+    { _lctPreAuthentication = Nothing+    , _lctCreateAuthChallenge = Nothing+    , _lctVerifyAuthChallengeResponse = Nothing+    , _lctPostAuthentication = Nothing+    , _lctCustomMessage = Nothing+    , _lctDefineAuthChallenge = Nothing+    , _lctPostConfirmation = Nothing+    , _lctPreTokenGeneration = Nothing+    , _lctUserMigration = Nothing+    , _lctPreSignUp = Nothing+    }+++-- | A pre-authentication AWS Lambda trigger.+lctPreAuthentication :: Lens' LambdaConfigType (Maybe Text)+lctPreAuthentication = lens _lctPreAuthentication (\ s a -> s{_lctPreAuthentication = a})++-- | Creates an authentication challenge.+lctCreateAuthChallenge :: Lens' LambdaConfigType (Maybe Text)+lctCreateAuthChallenge = lens _lctCreateAuthChallenge (\ s a -> s{_lctCreateAuthChallenge = a})++-- | Verifies the authentication challenge response.+lctVerifyAuthChallengeResponse :: Lens' LambdaConfigType (Maybe Text)+lctVerifyAuthChallengeResponse = lens _lctVerifyAuthChallengeResponse (\ s a -> s{_lctVerifyAuthChallengeResponse = a})++-- | A post-authentication AWS Lambda trigger.+lctPostAuthentication :: Lens' LambdaConfigType (Maybe Text)+lctPostAuthentication = lens _lctPostAuthentication (\ s a -> s{_lctPostAuthentication = a})++-- | A custom Message AWS Lambda trigger.+lctCustomMessage :: Lens' LambdaConfigType (Maybe Text)+lctCustomMessage = lens _lctCustomMessage (\ s a -> s{_lctCustomMessage = a})++-- | Defines the authentication challenge.+lctDefineAuthChallenge :: Lens' LambdaConfigType (Maybe Text)+lctDefineAuthChallenge = lens _lctDefineAuthChallenge (\ s a -> s{_lctDefineAuthChallenge = a})++-- | A post-confirmation AWS Lambda trigger.+lctPostConfirmation :: Lens' LambdaConfigType (Maybe Text)+lctPostConfirmation = lens _lctPostConfirmation (\ s a -> s{_lctPostConfirmation = a})++-- | A Lambda trigger that is invoked before token generation.+lctPreTokenGeneration :: Lens' LambdaConfigType (Maybe Text)+lctPreTokenGeneration = lens _lctPreTokenGeneration (\ s a -> s{_lctPreTokenGeneration = a})++-- | The user migration Lambda config type.+lctUserMigration :: Lens' LambdaConfigType (Maybe Text)+lctUserMigration = lens _lctUserMigration (\ s a -> s{_lctUserMigration = a})++-- | A pre-registration AWS Lambda trigger.+lctPreSignUp :: Lens' LambdaConfigType (Maybe Text)+lctPreSignUp = lens _lctPreSignUp (\ s a -> s{_lctPreSignUp = a})++instance FromJSON LambdaConfigType where+        parseJSON+          = withObject "LambdaConfigType"+              (\ x ->+                 LambdaConfigType' <$>+                   (x .:? "PreAuthentication") <*>+                     (x .:? "CreateAuthChallenge")+                     <*> (x .:? "VerifyAuthChallengeResponse")+                     <*> (x .:? "PostAuthentication")+                     <*> (x .:? "CustomMessage")+                     <*> (x .:? "DefineAuthChallenge")+                     <*> (x .:? "PostConfirmation")+                     <*> (x .:? "PreTokenGeneration")+                     <*> (x .:? "UserMigration")+                     <*> (x .:? "PreSignUp"))++instance Hashable LambdaConfigType where++instance NFData LambdaConfigType where++instance ToJSON LambdaConfigType where+        toJSON LambdaConfigType'{..}+          = object+              (catMaybes+                 [("PreAuthentication" .=) <$> _lctPreAuthentication,+                  ("CreateAuthChallenge" .=) <$>+                    _lctCreateAuthChallenge,+                  ("VerifyAuthChallengeResponse" .=) <$>+                    _lctVerifyAuthChallengeResponse,+                  ("PostAuthentication" .=) <$> _lctPostAuthentication,+                  ("CustomMessage" .=) <$> _lctCustomMessage,+                  ("DefineAuthChallenge" .=) <$>+                    _lctDefineAuthChallenge,+                  ("PostConfirmation" .=) <$> _lctPostConfirmation,+                  ("PreTokenGeneration" .=) <$> _lctPreTokenGeneration,+                  ("UserMigration" .=) <$> _lctUserMigration,+                  ("PreSignUp" .=) <$> _lctPreSignUp])++-- | Specifies the different settings for multi-factor authentication (MFA).+--+--+--+-- /See:/ 'mfaOptionType' smart constructor.+data MFAOptionType = MFAOptionType'+  { _motDeliveryMedium :: !(Maybe DeliveryMediumType)+  , _motAttributeName  :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MFAOptionType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'motDeliveryMedium' - The delivery medium (email message or SMS message) to send the MFA code.+--+-- * 'motAttributeName' - The attribute name of the MFA option type.+mfaOptionType+    :: MFAOptionType+mfaOptionType =+  MFAOptionType' {_motDeliveryMedium = Nothing, _motAttributeName = Nothing}+++-- | The delivery medium (email message or SMS message) to send the MFA code.+motDeliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType)+motDeliveryMedium = lens _motDeliveryMedium (\ s a -> s{_motDeliveryMedium = a})++-- | The attribute name of the MFA option type.+motAttributeName :: Lens' MFAOptionType (Maybe Text)+motAttributeName = lens _motAttributeName (\ s a -> s{_motAttributeName = a})++instance FromJSON MFAOptionType where+        parseJSON+          = withObject "MFAOptionType"+              (\ x ->+                 MFAOptionType' <$>+                   (x .:? "DeliveryMedium") <*> (x .:? "AttributeName"))++instance Hashable MFAOptionType where++instance NFData MFAOptionType where++instance ToJSON MFAOptionType where+        toJSON MFAOptionType'{..}+          = object+              (catMaybes+                 [("DeliveryMedium" .=) <$> _motDeliveryMedium,+                  ("AttributeName" .=) <$> _motAttributeName])++-- | The message template structure.+--+--+--+-- /See:/ 'messageTemplateType' smart constructor.+data MessageTemplateType = MessageTemplateType'+  { _mttEmailSubject :: !(Maybe Text)+  , _mttSMSMessage   :: !(Maybe Text)+  , _mttEmailMessage :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageTemplateType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mttEmailSubject' - The subject line for email messages.+--+-- * 'mttSMSMessage' - The message template for SMS messages.+--+-- * 'mttEmailMessage' - The message template for email messages.+messageTemplateType+    :: MessageTemplateType+messageTemplateType =+  MessageTemplateType'+    { _mttEmailSubject = Nothing+    , _mttSMSMessage = Nothing+    , _mttEmailMessage = Nothing+    }+++-- | The subject line for email messages.+mttEmailSubject :: Lens' MessageTemplateType (Maybe Text)+mttEmailSubject = lens _mttEmailSubject (\ s a -> s{_mttEmailSubject = a})++-- | The message template for SMS messages.+mttSMSMessage :: Lens' MessageTemplateType (Maybe Text)+mttSMSMessage = lens _mttSMSMessage (\ s a -> s{_mttSMSMessage = a})++-- | The message template for email messages.+mttEmailMessage :: Lens' MessageTemplateType (Maybe Text)+mttEmailMessage = lens _mttEmailMessage (\ s a -> s{_mttEmailMessage = a})++instance FromJSON MessageTemplateType where+        parseJSON+          = withObject "MessageTemplateType"+              (\ x ->+                 MessageTemplateType' <$>+                   (x .:? "EmailSubject") <*> (x .:? "SMSMessage") <*>+                     (x .:? "EmailMessage"))++instance Hashable MessageTemplateType where++instance NFData MessageTemplateType where++instance ToJSON MessageTemplateType where+        toJSON MessageTemplateType'{..}+          = object+              (catMaybes+                 [("EmailSubject" .=) <$> _mttEmailSubject,+                  ("SMSMessage" .=) <$> _mttSMSMessage,+                  ("EmailMessage" .=) <$> _mttEmailMessage])++-- | The new device metadata type.+--+--+--+-- /See:/ 'newDeviceMetadataType' smart constructor.+data NewDeviceMetadataType = NewDeviceMetadataType'+  { _ndmtDeviceGroupKey :: !(Maybe Text)+  , _ndmtDeviceKey      :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'NewDeviceMetadataType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ndmtDeviceGroupKey' - The device group key.+--+-- * 'ndmtDeviceKey' - The device key.+newDeviceMetadataType+    :: NewDeviceMetadataType+newDeviceMetadataType =+  NewDeviceMetadataType'+    {_ndmtDeviceGroupKey = Nothing, _ndmtDeviceKey = Nothing}+++-- | The device group key.+ndmtDeviceGroupKey :: Lens' NewDeviceMetadataType (Maybe Text)+ndmtDeviceGroupKey = lens _ndmtDeviceGroupKey (\ s a -> s{_ndmtDeviceGroupKey = a})++-- | The device key.+ndmtDeviceKey :: Lens' NewDeviceMetadataType (Maybe Text)+ndmtDeviceKey = lens _ndmtDeviceKey (\ s a -> s{_ndmtDeviceKey = a})++instance FromJSON NewDeviceMetadataType where+        parseJSON+          = withObject "NewDeviceMetadataType"+              (\ x ->+                 NewDeviceMetadataType' <$>+                   (x .:? "DeviceGroupKey") <*> (x .:? "DeviceKey"))++instance Hashable NewDeviceMetadataType where++instance NFData NewDeviceMetadataType where++-- | The notify configuration type.+--+--+--+-- /See:/ 'notifyConfigurationType' smart constructor.+data NotifyConfigurationType = NotifyConfigurationType'+  { _nctNoActionEmail :: !(Maybe NotifyEmailType)+  , _nctFrom          :: !(Maybe Text)+  , _nctReplyTo       :: !(Maybe Text)+  , _nctBlockEmail    :: !(Maybe NotifyEmailType)+  , _nctMFAEmail      :: !(Maybe NotifyEmailType)+  , _nctSourceARN     :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'NotifyConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'nctNoActionEmail' - The email template used when a detected risk event is allowed.+--+-- * 'nctFrom' - 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.+--+-- * 'nctReplyTo' - The destination to which the receiver of an email should reply to.+--+-- * 'nctBlockEmail' - Email template used when a detected risk event is blocked.+--+-- * 'nctMFAEmail' - The MFA email template used when MFA is challenged as part of a detected risk.+--+-- * 'nctSourceARN' - 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.+notifyConfigurationType+    :: Text -- ^ 'nctSourceARN'+    -> NotifyConfigurationType+notifyConfigurationType pSourceARN_ =+  NotifyConfigurationType'+    { _nctNoActionEmail = Nothing+    , _nctFrom = Nothing+    , _nctReplyTo = Nothing+    , _nctBlockEmail = Nothing+    , _nctMFAEmail = Nothing+    , _nctSourceARN = pSourceARN_+    }+++-- | The email template used when a detected risk event is allowed.+nctNoActionEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)+nctNoActionEmail = lens _nctNoActionEmail (\ s a -> s{_nctNoActionEmail = a})++-- | 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.+nctFrom :: Lens' NotifyConfigurationType (Maybe Text)+nctFrom = lens _nctFrom (\ s a -> s{_nctFrom = a})++-- | The destination to which the receiver of an email should reply to.+nctReplyTo :: Lens' NotifyConfigurationType (Maybe Text)+nctReplyTo = lens _nctReplyTo (\ s a -> s{_nctReplyTo = a})++-- | Email template used when a detected risk event is blocked.+nctBlockEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)+nctBlockEmail = lens _nctBlockEmail (\ s a -> s{_nctBlockEmail = a})++-- | The MFA email template used when MFA is challenged as part of a detected risk.+nctMFAEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType)+nctMFAEmail = lens _nctMFAEmail (\ s a -> s{_nctMFAEmail = a})++-- | 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.+nctSourceARN :: Lens' NotifyConfigurationType Text+nctSourceARN = lens _nctSourceARN (\ s a -> s{_nctSourceARN = a})++instance FromJSON NotifyConfigurationType where+        parseJSON+          = withObject "NotifyConfigurationType"+              (\ x ->+                 NotifyConfigurationType' <$>+                   (x .:? "NoActionEmail") <*> (x .:? "From") <*>+                     (x .:? "ReplyTo")+                     <*> (x .:? "BlockEmail")+                     <*> (x .:? "MfaEmail")+                     <*> (x .: "SourceArn"))++instance Hashable NotifyConfigurationType where++instance NFData NotifyConfigurationType where++instance ToJSON NotifyConfigurationType where+        toJSON NotifyConfigurationType'{..}+          = object+              (catMaybes+                 [("NoActionEmail" .=) <$> _nctNoActionEmail,+                  ("From" .=) <$> _nctFrom,+                  ("ReplyTo" .=) <$> _nctReplyTo,+                  ("BlockEmail" .=) <$> _nctBlockEmail,+                  ("MfaEmail" .=) <$> _nctMFAEmail,+                  Just ("SourceArn" .= _nctSourceARN)])++-- | The notify email type.+--+--+--+-- /See:/ 'notifyEmailType' smart constructor.+data NotifyEmailType = NotifyEmailType'+  { _netTextBody :: !(Maybe Text)+  , _netHTMLBody :: !(Maybe Text)+  , _netSubject  :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'NotifyEmailType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'netTextBody' - The text body.+--+-- * 'netHTMLBody' - The HTML body.+--+-- * 'netSubject' - The subject.+notifyEmailType+    :: Text -- ^ 'netSubject'+    -> NotifyEmailType+notifyEmailType pSubject_ =+  NotifyEmailType'+    {_netTextBody = Nothing, _netHTMLBody = Nothing, _netSubject = pSubject_}+++-- | The text body.+netTextBody :: Lens' NotifyEmailType (Maybe Text)+netTextBody = lens _netTextBody (\ s a -> s{_netTextBody = a})++-- | The HTML body.+netHTMLBody :: Lens' NotifyEmailType (Maybe Text)+netHTMLBody = lens _netHTMLBody (\ s a -> s{_netHTMLBody = a})++-- | The subject.+netSubject :: Lens' NotifyEmailType Text+netSubject = lens _netSubject (\ s a -> s{_netSubject = a})++instance FromJSON NotifyEmailType where+        parseJSON+          = withObject "NotifyEmailType"+              (\ x ->+                 NotifyEmailType' <$>+                   (x .:? "TextBody") <*> (x .:? "HtmlBody") <*>+                     (x .: "Subject"))++instance Hashable NotifyEmailType where++instance NFData NotifyEmailType where++instance ToJSON NotifyEmailType where+        toJSON NotifyEmailType'{..}+          = object+              (catMaybes+                 [("TextBody" .=) <$> _netTextBody,+                  ("HtmlBody" .=) <$> _netHTMLBody,+                  Just ("Subject" .= _netSubject)])++-- | The minimum and maximum value of an attribute that is of the number data type.+--+--+--+-- /See:/ 'numberAttributeConstraintsType' smart constructor.+data NumberAttributeConstraintsType = NumberAttributeConstraintsType'+  { _nactMaxValue :: !(Maybe Text)+  , _nactMinValue :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'NumberAttributeConstraintsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'nactMaxValue' - The maximum value of an attribute that is of the number data type.+--+-- * 'nactMinValue' - The minimum value of an attribute that is of the number data type.+numberAttributeConstraintsType+    :: NumberAttributeConstraintsType+numberAttributeConstraintsType =+  NumberAttributeConstraintsType'+    {_nactMaxValue = Nothing, _nactMinValue = Nothing}+++-- | The maximum value of an attribute that is of the number data type.+nactMaxValue :: Lens' NumberAttributeConstraintsType (Maybe Text)+nactMaxValue = lens _nactMaxValue (\ s a -> s{_nactMaxValue = a})++-- | The minimum value of an attribute that is of the number data type.+nactMinValue :: Lens' NumberAttributeConstraintsType (Maybe Text)+nactMinValue = lens _nactMinValue (\ s a -> s{_nactMinValue = a})++instance FromJSON NumberAttributeConstraintsType+         where+        parseJSON+          = withObject "NumberAttributeConstraintsType"+              (\ x ->+                 NumberAttributeConstraintsType' <$>+                   (x .:? "MaxValue") <*> (x .:? "MinValue"))++instance Hashable NumberAttributeConstraintsType+         where++instance NFData NumberAttributeConstraintsType where++instance ToJSON NumberAttributeConstraintsType where+        toJSON NumberAttributeConstraintsType'{..}+          = object+              (catMaybes+                 [("MaxValue" .=) <$> _nactMaxValue,+                  ("MinValue" .=) <$> _nactMinValue])++-- | The password policy type.+--+--+--+-- /See:/ 'passwordPolicyType' smart constructor.+data PasswordPolicyType = PasswordPolicyType'+  { _pptRequireNumbers   :: !(Maybe Bool)+  , _pptRequireUppercase :: !(Maybe Bool)+  , _pptRequireLowercase :: !(Maybe Bool)+  , _pptMinimumLength    :: !(Maybe Nat)+  , _pptRequireSymbols   :: !(Maybe Bool)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'PasswordPolicyType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pptRequireNumbers' - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.+--+-- * 'pptRequireUppercase' - 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.+--+-- * 'pptRequireLowercase' - 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.+--+-- * 'pptMinimumLength' - The minimum length of the password policy that you have set. Cannot be less than 6.+--+-- * 'pptRequireSymbols' - 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+    :: PasswordPolicyType+passwordPolicyType =+  PasswordPolicyType'+    { _pptRequireNumbers = Nothing+    , _pptRequireUppercase = Nothing+    , _pptRequireLowercase = Nothing+    , _pptMinimumLength = Nothing+    , _pptRequireSymbols = Nothing+    }+++-- | In the password policy that you have set, refers to whether you have required users to use at least one number in their password.+pptRequireNumbers :: Lens' PasswordPolicyType (Maybe Bool)+pptRequireNumbers = lens _pptRequireNumbers (\ s a -> s{_pptRequireNumbers = a})++-- | In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.+pptRequireUppercase :: Lens' PasswordPolicyType (Maybe Bool)+pptRequireUppercase = lens _pptRequireUppercase (\ s a -> s{_pptRequireUppercase = a})++-- | In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.+pptRequireLowercase :: Lens' PasswordPolicyType (Maybe Bool)+pptRequireLowercase = lens _pptRequireLowercase (\ s a -> s{_pptRequireLowercase = a})++-- | The minimum length of the password policy that you have set. Cannot be less than 6.+pptMinimumLength :: Lens' PasswordPolicyType (Maybe Natural)+pptMinimumLength = lens _pptMinimumLength (\ s a -> s{_pptMinimumLength = a}) . mapping _Nat++-- | In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.+pptRequireSymbols :: Lens' PasswordPolicyType (Maybe Bool)+pptRequireSymbols = lens _pptRequireSymbols (\ s a -> s{_pptRequireSymbols = a})++instance FromJSON PasswordPolicyType where+        parseJSON+          = withObject "PasswordPolicyType"+              (\ x ->+                 PasswordPolicyType' <$>+                   (x .:? "RequireNumbers") <*>+                     (x .:? "RequireUppercase")+                     <*> (x .:? "RequireLowercase")+                     <*> (x .:? "MinimumLength")+                     <*> (x .:? "RequireSymbols"))++instance Hashable PasswordPolicyType where++instance NFData PasswordPolicyType where++instance ToJSON PasswordPolicyType where+        toJSON PasswordPolicyType'{..}+          = object+              (catMaybes+                 [("RequireNumbers" .=) <$> _pptRequireNumbers,+                  ("RequireUppercase" .=) <$> _pptRequireUppercase,+                  ("RequireLowercase" .=) <$> _pptRequireLowercase,+                  ("MinimumLength" .=) <$> _pptMinimumLength,+                  ("RequireSymbols" .=) <$> _pptRequireSymbols])++-- | A container for identity provider details.+--+--+--+-- /See:/ 'providerDescription' smart constructor.+data ProviderDescription = ProviderDescription'+  { _pdLastModifiedDate :: !(Maybe POSIX)+  , _pdProviderType     :: !(Maybe IdentityProviderTypeType)+  , _pdCreationDate     :: !(Maybe POSIX)+  , _pdProviderName     :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProviderDescription' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pdLastModifiedDate' - The date the provider was last modified.+--+-- * 'pdProviderType' - The identity provider type.+--+-- * 'pdCreationDate' - The date the provider was added to the user pool.+--+-- * 'pdProviderName' - The identity provider name.+providerDescription+    :: ProviderDescription+providerDescription =+  ProviderDescription'+    { _pdLastModifiedDate = Nothing+    , _pdProviderType = Nothing+    , _pdCreationDate = Nothing+    , _pdProviderName = Nothing+    }+++-- | The date the provider was last modified.+pdLastModifiedDate :: Lens' ProviderDescription (Maybe UTCTime)+pdLastModifiedDate = lens _pdLastModifiedDate (\ s a -> s{_pdLastModifiedDate = a}) . mapping _Time++-- | The identity provider type.+pdProviderType :: Lens' ProviderDescription (Maybe IdentityProviderTypeType)+pdProviderType = lens _pdProviderType (\ s a -> s{_pdProviderType = a})++-- | The date the provider was added to the user pool.+pdCreationDate :: Lens' ProviderDescription (Maybe UTCTime)+pdCreationDate = lens _pdCreationDate (\ s a -> s{_pdCreationDate = a}) . mapping _Time++-- | The identity provider name.+pdProviderName :: Lens' ProviderDescription (Maybe Text)+pdProviderName = lens _pdProviderName (\ s a -> s{_pdProviderName = a})++instance FromJSON ProviderDescription where+        parseJSON+          = withObject "ProviderDescription"+              (\ x ->+                 ProviderDescription' <$>+                   (x .:? "LastModifiedDate") <*> (x .:? "ProviderType")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "ProviderName"))++instance Hashable ProviderDescription where++instance NFData ProviderDescription where++-- | A container for information about an identity provider for a user pool.+--+--+--+-- /See:/ 'providerUserIdentifierType' smart constructor.+data ProviderUserIdentifierType = ProviderUserIdentifierType'+  { _puitProviderAttributeValue :: !(Maybe Text)+  , _puitProviderAttributeName  :: !(Maybe Text)+  , _puitProviderName           :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProviderUserIdentifierType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'puitProviderAttributeValue' - The value of the provider attribute to link to, for example, @xxxxx_account@ .+--+-- * 'puitProviderAttributeName' - The name of the provider attribute to link to, for example, @NameID@ .+--+-- * 'puitProviderName' - The name of the provider, for example, Facebook, Google, or Login with Amazon.+providerUserIdentifierType+    :: ProviderUserIdentifierType+providerUserIdentifierType =+  ProviderUserIdentifierType'+    { _puitProviderAttributeValue = Nothing+    , _puitProviderAttributeName = Nothing+    , _puitProviderName = Nothing+    }+++-- | The value of the provider attribute to link to, for example, @xxxxx_account@ .+puitProviderAttributeValue :: Lens' ProviderUserIdentifierType (Maybe Text)+puitProviderAttributeValue = lens _puitProviderAttributeValue (\ s a -> s{_puitProviderAttributeValue = a})++-- | The name of the provider attribute to link to, for example, @NameID@ .+puitProviderAttributeName :: Lens' ProviderUserIdentifierType (Maybe Text)+puitProviderAttributeName = lens _puitProviderAttributeName (\ s a -> s{_puitProviderAttributeName = a})++-- | The name of the provider, for example, Facebook, Google, or Login with Amazon.+puitProviderName :: Lens' ProviderUserIdentifierType (Maybe Text)+puitProviderName = lens _puitProviderName (\ s a -> s{_puitProviderName = a})++instance Hashable ProviderUserIdentifierType where++instance NFData ProviderUserIdentifierType where++instance ToJSON ProviderUserIdentifierType where+        toJSON ProviderUserIdentifierType'{..}+          = object+              (catMaybes+                 [("ProviderAttributeValue" .=) <$>+                    _puitProviderAttributeValue,+                  ("ProviderAttributeName" .=) <$>+                    _puitProviderAttributeName,+                  ("ProviderName" .=) <$> _puitProviderName])++-- | A resource server scope.+--+--+--+-- /See:/ 'resourceServerScopeType' smart constructor.+data ResourceServerScopeType = ResourceServerScopeType'+  { _rsstScopeName        :: !Text+  , _rsstScopeDescription :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ResourceServerScopeType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rsstScopeName' - The name of the scope.+--+-- * 'rsstScopeDescription' - A description of the scope.+resourceServerScopeType+    :: Text -- ^ 'rsstScopeName'+    -> Text -- ^ 'rsstScopeDescription'+    -> ResourceServerScopeType+resourceServerScopeType pScopeName_ pScopeDescription_ =+  ResourceServerScopeType'+    {_rsstScopeName = pScopeName_, _rsstScopeDescription = pScopeDescription_}+++-- | The name of the scope.+rsstScopeName :: Lens' ResourceServerScopeType Text+rsstScopeName = lens _rsstScopeName (\ s a -> s{_rsstScopeName = a})++-- | A description of the scope.+rsstScopeDescription :: Lens' ResourceServerScopeType Text+rsstScopeDescription = lens _rsstScopeDescription (\ s a -> s{_rsstScopeDescription = a})++instance FromJSON ResourceServerScopeType where+        parseJSON+          = withObject "ResourceServerScopeType"+              (\ x ->+                 ResourceServerScopeType' <$>+                   (x .: "ScopeName") <*> (x .: "ScopeDescription"))++instance Hashable ResourceServerScopeType where++instance NFData ResourceServerScopeType where++instance ToJSON ResourceServerScopeType where+        toJSON ResourceServerScopeType'{..}+          = object+              (catMaybes+                 [Just ("ScopeName" .= _rsstScopeName),+                  Just ("ScopeDescription" .= _rsstScopeDescription)])++-- | A container for information about a resource server for a user pool.+--+--+--+-- /See:/ 'resourceServerType' smart constructor.+data ResourceServerType = ResourceServerType'+  { _rstUserPoolId :: !(Maybe Text)+  , _rstIdentifier :: !(Maybe Text)+  , _rstScopes     :: !(Maybe [ResourceServerScopeType])+  , _rstName       :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ResourceServerType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rstUserPoolId' - The user pool ID for the user pool that hosts the resource server.+--+-- * 'rstIdentifier' - The identifier for the resource server.+--+-- * 'rstScopes' - A list of scopes that are defined for the resource server.+--+-- * 'rstName' - The name of the resource server.+resourceServerType+    :: ResourceServerType+resourceServerType =+  ResourceServerType'+    { _rstUserPoolId = Nothing+    , _rstIdentifier = Nothing+    , _rstScopes = Nothing+    , _rstName = Nothing+    }+++-- | The user pool ID for the user pool that hosts the resource server.+rstUserPoolId :: Lens' ResourceServerType (Maybe Text)+rstUserPoolId = lens _rstUserPoolId (\ s a -> s{_rstUserPoolId = a})++-- | The identifier for the resource server.+rstIdentifier :: Lens' ResourceServerType (Maybe Text)+rstIdentifier = lens _rstIdentifier (\ s a -> s{_rstIdentifier = a})++-- | A list of scopes that are defined for the resource server.+rstScopes :: Lens' ResourceServerType [ResourceServerScopeType]+rstScopes = lens _rstScopes (\ s a -> s{_rstScopes = a}) . _Default . _Coerce++-- | The name of the resource server.+rstName :: Lens' ResourceServerType (Maybe Text)+rstName = lens _rstName (\ s a -> s{_rstName = a})++instance FromJSON ResourceServerType where+        parseJSON+          = withObject "ResourceServerType"+              (\ x ->+                 ResourceServerType' <$>+                   (x .:? "UserPoolId") <*> (x .:? "Identifier") <*>+                     (x .:? "Scopes" .!= mempty)+                     <*> (x .:? "Name"))++instance Hashable ResourceServerType where++instance NFData ResourceServerType where++-- | The risk configuration type.+--+--+--+-- /See:/ 'riskConfigurationType' smart constructor.+data RiskConfigurationType = RiskConfigurationType'+  { _rctRiskExceptionConfiguration :: !(Maybe RiskExceptionConfigurationType)+  , _rctClientId :: !(Maybe (Sensitive Text))+  , _rctAccountTakeoverRiskConfiguration :: !(Maybe AccountTakeoverRiskConfigurationType)+  , _rctLastModifiedDate :: !(Maybe POSIX)+  , _rctUserPoolId :: !(Maybe Text)+  , _rctCompromisedCredentialsRiskConfiguration :: !(Maybe CompromisedCredentialsRiskConfigurationType)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RiskConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rctRiskExceptionConfiguration' - The configuration to override the risk decision.+--+-- * 'rctClientId' - The app client ID.+--+-- * 'rctAccountTakeoverRiskConfiguration' - The account takeover risk configuration object including the @NotifyConfiguration@ object and @Actions@ to take in the case of an account takeover.+--+-- * 'rctLastModifiedDate' - The last modified date.+--+-- * 'rctUserPoolId' - The user pool ID.+--+-- * 'rctCompromisedCredentialsRiskConfiguration' - The compromised credentials risk configuration object including the @EventFilter@ and the @EventAction@+riskConfigurationType+    :: RiskConfigurationType+riskConfigurationType =+  RiskConfigurationType'+    { _rctRiskExceptionConfiguration = Nothing+    , _rctClientId = Nothing+    , _rctAccountTakeoverRiskConfiguration = Nothing+    , _rctLastModifiedDate = Nothing+    , _rctUserPoolId = Nothing+    , _rctCompromisedCredentialsRiskConfiguration = Nothing+    }+++-- | The configuration to override the risk decision.+rctRiskExceptionConfiguration :: Lens' RiskConfigurationType (Maybe RiskExceptionConfigurationType)+rctRiskExceptionConfiguration = lens _rctRiskExceptionConfiguration (\ s a -> s{_rctRiskExceptionConfiguration = a})++-- | The app client ID.+rctClientId :: Lens' RiskConfigurationType (Maybe Text)+rctClientId = lens _rctClientId (\ s a -> s{_rctClientId = a}) . mapping _Sensitive++-- | The account takeover risk configuration object including the @NotifyConfiguration@ object and @Actions@ to take in the case of an account takeover.+rctAccountTakeoverRiskConfiguration :: Lens' RiskConfigurationType (Maybe AccountTakeoverRiskConfigurationType)+rctAccountTakeoverRiskConfiguration = lens _rctAccountTakeoverRiskConfiguration (\ s a -> s{_rctAccountTakeoverRiskConfiguration = a})++-- | The last modified date.+rctLastModifiedDate :: Lens' RiskConfigurationType (Maybe UTCTime)+rctLastModifiedDate = lens _rctLastModifiedDate (\ s a -> s{_rctLastModifiedDate = a}) . mapping _Time++-- | The user pool ID.+rctUserPoolId :: Lens' RiskConfigurationType (Maybe Text)+rctUserPoolId = lens _rctUserPoolId (\ s a -> s{_rctUserPoolId = a})++-- | The compromised credentials risk configuration object including the @EventFilter@ and the @EventAction@+rctCompromisedCredentialsRiskConfiguration :: Lens' RiskConfigurationType (Maybe CompromisedCredentialsRiskConfigurationType)+rctCompromisedCredentialsRiskConfiguration = lens _rctCompromisedCredentialsRiskConfiguration (\ s a -> s{_rctCompromisedCredentialsRiskConfiguration = a})++instance FromJSON RiskConfigurationType where+        parseJSON+          = withObject "RiskConfigurationType"+              (\ x ->+                 RiskConfigurationType' <$>+                   (x .:? "RiskExceptionConfiguration") <*>+                     (x .:? "ClientId")+                     <*> (x .:? "AccountTakeoverRiskConfiguration")+                     <*> (x .:? "LastModifiedDate")+                     <*> (x .:? "UserPoolId")+                     <*>+                     (x .:? "CompromisedCredentialsRiskConfiguration"))++instance Hashable RiskConfigurationType where++instance NFData RiskConfigurationType where++-- | The type of the configuration to override the risk decision.+--+--+--+-- /See:/ 'riskExceptionConfigurationType' smart constructor.+data RiskExceptionConfigurationType = RiskExceptionConfigurationType'+  { _rectSkippedIPRangeList :: !(Maybe [Text])+  , _rectBlockedIPRangeList :: !(Maybe [Text])+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RiskExceptionConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rectSkippedIPRangeList' - Risk detection is not performed on the IP addresses in the range list. The IP range is in CIDR notation.+--+-- * 'rectBlockedIPRangeList' - 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.+riskExceptionConfigurationType+    :: RiskExceptionConfigurationType+riskExceptionConfigurationType =+  RiskExceptionConfigurationType'+    {_rectSkippedIPRangeList = Nothing, _rectBlockedIPRangeList = Nothing}+++-- | Risk detection is not performed on the IP addresses in the range list. The IP range is in CIDR notation.+rectSkippedIPRangeList :: Lens' RiskExceptionConfigurationType [Text]+rectSkippedIPRangeList = lens _rectSkippedIPRangeList (\ s a -> s{_rectSkippedIPRangeList = a}) . _Default . _Coerce++-- | 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.+rectBlockedIPRangeList :: Lens' RiskExceptionConfigurationType [Text]+rectBlockedIPRangeList = lens _rectBlockedIPRangeList (\ s a -> s{_rectBlockedIPRangeList = a}) . _Default . _Coerce++instance FromJSON RiskExceptionConfigurationType+         where+        parseJSON+          = withObject "RiskExceptionConfigurationType"+              (\ x ->+                 RiskExceptionConfigurationType' <$>+                   (x .:? "SkippedIPRangeList" .!= mempty) <*>+                     (x .:? "BlockedIPRangeList" .!= mempty))++instance Hashable RiskExceptionConfigurationType+         where++instance NFData RiskExceptionConfigurationType where++instance ToJSON RiskExceptionConfigurationType where+        toJSON RiskExceptionConfigurationType'{..}+          = object+              (catMaybes+                 [("SkippedIPRangeList" .=) <$>+                    _rectSkippedIPRangeList,+                  ("BlockedIPRangeList" .=) <$>+                    _rectBlockedIPRangeList])++-- | The SMS multi-factor authentication (MFA) settings type.+--+--+--+-- /See:/ 'sMSMFASettingsType' smart constructor.+data SMSMFASettingsType = SMSMFASettingsType'+  { _smsmstEnabled      :: !(Maybe Bool)+  , _smsmstPreferredMFA :: !(Maybe Bool)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SMSMFASettingsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smsmstEnabled' - Specifies whether SMS text message MFA is enabled.+--+-- * 'smsmstPreferredMFA' - The preferred MFA method.+sMSMFASettingsType+    :: SMSMFASettingsType+sMSMFASettingsType =+  SMSMFASettingsType' {_smsmstEnabled = Nothing, _smsmstPreferredMFA = Nothing}+++-- | Specifies whether SMS text message MFA is enabled.+smsmstEnabled :: Lens' SMSMFASettingsType (Maybe Bool)+smsmstEnabled = lens _smsmstEnabled (\ s a -> s{_smsmstEnabled = a})++-- | The preferred MFA method.+smsmstPreferredMFA :: Lens' SMSMFASettingsType (Maybe Bool)+smsmstPreferredMFA = lens _smsmstPreferredMFA (\ s a -> s{_smsmstPreferredMFA = a})++instance Hashable SMSMFASettingsType where++instance NFData SMSMFASettingsType where++instance ToJSON SMSMFASettingsType where+        toJSON SMSMFASettingsType'{..}+          = object+              (catMaybes+                 [("Enabled" .=) <$> _smsmstEnabled,+                  ("PreferredMfa" .=) <$> _smsmstPreferredMFA])++-- | Contains information about the schema attribute.+--+--+--+-- /See:/ 'schemaAttributeType' smart constructor.+data SchemaAttributeType = SchemaAttributeType'+  { _satNumberAttributeConstraints :: !(Maybe NumberAttributeConstraintsType)+  , _satRequired                   :: !(Maybe Bool)+  , _satAttributeDataType          :: !(Maybe AttributeDataType)+  , _satStringAttributeConstraints :: !(Maybe StringAttributeConstraintsType)+  , _satName                       :: !(Maybe Text)+  , _satDeveloperOnlyAttribute     :: !(Maybe Bool)+  , _satMutable                    :: !(Maybe Bool)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SchemaAttributeType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'satNumberAttributeConstraints' - Specifies the constraints for an attribute of the number type.+--+-- * 'satRequired' - 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.+--+-- * 'satAttributeDataType' - The attribute data type.+--+-- * 'satStringAttributeConstraints' - Specifies the constraints for an attribute of the string type.+--+-- * 'satName' - A schema attribute of the name type.+--+-- * 'satDeveloperOnlyAttribute' - Specifies whether the attribute type is developer only.+--+-- * 'satMutable' - Specifies whether the attribute can be changed once it has been created.+schemaAttributeType+    :: SchemaAttributeType+schemaAttributeType =+  SchemaAttributeType'+    { _satNumberAttributeConstraints = Nothing+    , _satRequired = Nothing+    , _satAttributeDataType = Nothing+    , _satStringAttributeConstraints = Nothing+    , _satName = Nothing+    , _satDeveloperOnlyAttribute = Nothing+    , _satMutable = Nothing+    }+++-- | Specifies the constraints for an attribute of the number type.+satNumberAttributeConstraints :: Lens' SchemaAttributeType (Maybe NumberAttributeConstraintsType)+satNumberAttributeConstraints = lens _satNumberAttributeConstraints (\ s a -> s{_satNumberAttributeConstraints = a})++-- | Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.+satRequired :: Lens' SchemaAttributeType (Maybe Bool)+satRequired = lens _satRequired (\ s a -> s{_satRequired = a})++-- | The attribute data type.+satAttributeDataType :: Lens' SchemaAttributeType (Maybe AttributeDataType)+satAttributeDataType = lens _satAttributeDataType (\ s a -> s{_satAttributeDataType = a})++-- | Specifies the constraints for an attribute of the string type.+satStringAttributeConstraints :: Lens' SchemaAttributeType (Maybe StringAttributeConstraintsType)+satStringAttributeConstraints = lens _satStringAttributeConstraints (\ s a -> s{_satStringAttributeConstraints = a})++-- | A schema attribute of the name type.+satName :: Lens' SchemaAttributeType (Maybe Text)+satName = lens _satName (\ s a -> s{_satName = a})++-- | Specifies whether the attribute type is developer only.+satDeveloperOnlyAttribute :: Lens' SchemaAttributeType (Maybe Bool)+satDeveloperOnlyAttribute = lens _satDeveloperOnlyAttribute (\ s a -> s{_satDeveloperOnlyAttribute = a})++-- | Specifies whether the attribute can be changed once it has been created.+satMutable :: Lens' SchemaAttributeType (Maybe Bool)+satMutable = lens _satMutable (\ s a -> s{_satMutable = a})++instance FromJSON SchemaAttributeType where+        parseJSON+          = withObject "SchemaAttributeType"+              (\ x ->+                 SchemaAttributeType' <$>+                   (x .:? "NumberAttributeConstraints") <*>+                     (x .:? "Required")+                     <*> (x .:? "AttributeDataType")+                     <*> (x .:? "StringAttributeConstraints")+                     <*> (x .:? "Name")+                     <*> (x .:? "DeveloperOnlyAttribute")+                     <*> (x .:? "Mutable"))++instance Hashable SchemaAttributeType where++instance NFData SchemaAttributeType where++instance ToJSON SchemaAttributeType where+        toJSON SchemaAttributeType'{..}+          = object+              (catMaybes+                 [("NumberAttributeConstraints" .=) <$>+                    _satNumberAttributeConstraints,+                  ("Required" .=) <$> _satRequired,+                  ("AttributeDataType" .=) <$> _satAttributeDataType,+                  ("StringAttributeConstraints" .=) <$>+                    _satStringAttributeConstraints,+                  ("Name" .=) <$> _satName,+                  ("DeveloperOnlyAttribute" .=) <$>+                    _satDeveloperOnlyAttribute,+                  ("Mutable" .=) <$> _satMutable])++-- | The SMS configuration type.+--+--+--+-- /See:/ 'smsConfigurationType' smart constructor.+data SmsConfigurationType = SmsConfigurationType'+  { _sctExternalId   :: !(Maybe Text)+  , _sctSNSCallerARN :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SmsConfigurationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sctExternalId' - The external ID.+--+-- * 'sctSNSCallerARN' - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.+smsConfigurationType+    :: Text -- ^ 'sctSNSCallerARN'+    -> SmsConfigurationType+smsConfigurationType pSNSCallerARN_ =+  SmsConfigurationType'+    {_sctExternalId = Nothing, _sctSNSCallerARN = pSNSCallerARN_}+++-- | The external ID.+sctExternalId :: Lens' SmsConfigurationType (Maybe Text)+sctExternalId = lens _sctExternalId (\ s a -> s{_sctExternalId = a})++-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.+sctSNSCallerARN :: Lens' SmsConfigurationType Text+sctSNSCallerARN = lens _sctSNSCallerARN (\ s a -> s{_sctSNSCallerARN = a})++instance FromJSON SmsConfigurationType where+        parseJSON+          = withObject "SmsConfigurationType"+              (\ x ->+                 SmsConfigurationType' <$>+                   (x .:? "ExternalId") <*> (x .: "SnsCallerArn"))++instance Hashable SmsConfigurationType where++instance NFData SmsConfigurationType where++instance ToJSON SmsConfigurationType where+        toJSON SmsConfigurationType'{..}+          = object+              (catMaybes+                 [("ExternalId" .=) <$> _sctExternalId,+                  Just ("SnsCallerArn" .= _sctSNSCallerARN)])++-- | The SMS text message multi-factor authentication (MFA) configuration type.+--+--+--+-- /See:/ 'smsMFAConfigType' smart constructor.+data SmsMFAConfigType = SmsMFAConfigType'+  { _smctSmsAuthenticationMessage :: !(Maybe Text)+  , _smctSmsConfiguration         :: !(Maybe SmsConfigurationType)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SmsMFAConfigType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'smctSmsAuthenticationMessage' - The SMS authentication message.+--+-- * 'smctSmsConfiguration' - The SMS configuration.+smsMFAConfigType+    :: SmsMFAConfigType+smsMFAConfigType =+  SmsMFAConfigType'+    {_smctSmsAuthenticationMessage = Nothing, _smctSmsConfiguration = Nothing}+++-- | The SMS authentication message.+smctSmsAuthenticationMessage :: Lens' SmsMFAConfigType (Maybe Text)+smctSmsAuthenticationMessage = lens _smctSmsAuthenticationMessage (\ s a -> s{_smctSmsAuthenticationMessage = a})++-- | The SMS configuration.+smctSmsConfiguration :: Lens' SmsMFAConfigType (Maybe SmsConfigurationType)+smctSmsConfiguration = lens _smctSmsConfiguration (\ s a -> s{_smctSmsConfiguration = a})++instance FromJSON SmsMFAConfigType where+        parseJSON+          = withObject "SmsMFAConfigType"+              (\ x ->+                 SmsMFAConfigType' <$>+                   (x .:? "SmsAuthenticationMessage") <*>+                     (x .:? "SmsConfiguration"))++instance Hashable SmsMFAConfigType where++instance NFData SmsMFAConfigType where++instance ToJSON SmsMFAConfigType where+        toJSON SmsMFAConfigType'{..}+          = object+              (catMaybes+                 [("SmsAuthenticationMessage" .=) <$>+                    _smctSmsAuthenticationMessage,+                  ("SmsConfiguration" .=) <$> _smctSmsConfiguration])++-- | The type used for enabling software token MFA at the user pool level.+--+--+--+-- /See:/ 'softwareTokenMFAConfigType' smart constructor.+newtype SoftwareTokenMFAConfigType = SoftwareTokenMFAConfigType'+  { _stmctEnabled :: Maybe Bool+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SoftwareTokenMFAConfigType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'stmctEnabled' - Specifies whether software token MFA is enabled.+softwareTokenMFAConfigType+    :: SoftwareTokenMFAConfigType+softwareTokenMFAConfigType =+  SoftwareTokenMFAConfigType' {_stmctEnabled = Nothing}+++-- | Specifies whether software token MFA is enabled.+stmctEnabled :: Lens' SoftwareTokenMFAConfigType (Maybe Bool)+stmctEnabled = lens _stmctEnabled (\ s a -> s{_stmctEnabled = a})++instance FromJSON SoftwareTokenMFAConfigType where+        parseJSON+          = withObject "SoftwareTokenMFAConfigType"+              (\ x ->+                 SoftwareTokenMFAConfigType' <$> (x .:? "Enabled"))++instance Hashable SoftwareTokenMFAConfigType where++instance NFData SoftwareTokenMFAConfigType where++instance ToJSON SoftwareTokenMFAConfigType where+        toJSON SoftwareTokenMFAConfigType'{..}+          = object+              (catMaybes [("Enabled" .=) <$> _stmctEnabled])++-- | The type used for enabling software token MFA at the user level.+--+--+--+-- /See:/ 'softwareTokenMFASettingsType' smart constructor.+data SoftwareTokenMFASettingsType = SoftwareTokenMFASettingsType'+  { _stmstEnabled      :: !(Maybe Bool)+  , _stmstPreferredMFA :: !(Maybe Bool)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SoftwareTokenMFASettingsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'stmstEnabled' - Specifies whether software token MFA is enabled.+--+-- * 'stmstPreferredMFA' - The preferred MFA method.+softwareTokenMFASettingsType+    :: SoftwareTokenMFASettingsType+softwareTokenMFASettingsType =+  SoftwareTokenMFASettingsType'+    {_stmstEnabled = Nothing, _stmstPreferredMFA = Nothing}+++-- | Specifies whether software token MFA is enabled.+stmstEnabled :: Lens' SoftwareTokenMFASettingsType (Maybe Bool)+stmstEnabled = lens _stmstEnabled (\ s a -> s{_stmstEnabled = a})++-- | The preferred MFA method.+stmstPreferredMFA :: Lens' SoftwareTokenMFASettingsType (Maybe Bool)+stmstPreferredMFA = lens _stmstPreferredMFA (\ s a -> s{_stmstPreferredMFA = a})++instance Hashable SoftwareTokenMFASettingsType where++instance NFData SoftwareTokenMFASettingsType where++instance ToJSON SoftwareTokenMFASettingsType where+        toJSON SoftwareTokenMFASettingsType'{..}+          = object+              (catMaybes+                 [("Enabled" .=) <$> _stmstEnabled,+                  ("PreferredMfa" .=) <$> _stmstPreferredMFA])++-- | The constraints associated with a string attribute.+--+--+--+-- /See:/ 'stringAttributeConstraintsType' smart constructor.+data StringAttributeConstraintsType = StringAttributeConstraintsType'+  { _sactMaxLength :: !(Maybe Text)+  , _sactMinLength :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'StringAttributeConstraintsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sactMaxLength' - The maximum length.+--+-- * 'sactMinLength' - The minimum length.+stringAttributeConstraintsType+    :: StringAttributeConstraintsType+stringAttributeConstraintsType =+  StringAttributeConstraintsType'+    {_sactMaxLength = Nothing, _sactMinLength = Nothing}+++-- | The maximum length.+sactMaxLength :: Lens' StringAttributeConstraintsType (Maybe Text)+sactMaxLength = lens _sactMaxLength (\ s a -> s{_sactMaxLength = a})++-- | The minimum length.+sactMinLength :: Lens' StringAttributeConstraintsType (Maybe Text)+sactMinLength = lens _sactMinLength (\ s a -> s{_sactMinLength = a})++instance FromJSON StringAttributeConstraintsType+         where+        parseJSON+          = withObject "StringAttributeConstraintsType"+              (\ x ->+                 StringAttributeConstraintsType' <$>+                   (x .:? "MaxLength") <*> (x .:? "MinLength"))++instance Hashable StringAttributeConstraintsType+         where++instance NFData StringAttributeConstraintsType where++instance ToJSON StringAttributeConstraintsType where+        toJSON StringAttributeConstraintsType'{..}+          = object+              (catMaybes+                 [("MaxLength" .=) <$> _sactMaxLength,+                  ("MinLength" .=) <$> _sactMinLength])++-- | A container for the UI customization information for a user pool's built-in app UI.+--+--+--+-- /See:/ 'uICustomizationType' smart constructor.+data UICustomizationType = UICustomizationType'+  { _uictClientId         :: !(Maybe (Sensitive Text))+  , _uictLastModifiedDate :: !(Maybe POSIX)+  , _uictUserPoolId       :: !(Maybe Text)+  , _uictCSS              :: !(Maybe Text)+  , _uictCSSVersion       :: !(Maybe Text)+  , _uictImageURL         :: !(Maybe Text)+  , _uictCreationDate     :: !(Maybe POSIX)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UICustomizationType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uictClientId' - The client ID for the client app.+--+-- * 'uictLastModifiedDate' - The last-modified date for the UI customization.+--+-- * 'uictUserPoolId' - The user pool ID for the user pool.+--+-- * 'uictCSS' - The CSS values in the UI customization.+--+-- * 'uictCSSVersion' - The CSS version number.+--+-- * 'uictImageURL' - The logo image for the UI customization.+--+-- * 'uictCreationDate' - The creation date for the UI customization.+uICustomizationType+    :: UICustomizationType+uICustomizationType =+  UICustomizationType'+    { _uictClientId = Nothing+    , _uictLastModifiedDate = Nothing+    , _uictUserPoolId = Nothing+    , _uictCSS = Nothing+    , _uictCSSVersion = Nothing+    , _uictImageURL = Nothing+    , _uictCreationDate = Nothing+    }+++-- | The client ID for the client app.+uictClientId :: Lens' UICustomizationType (Maybe Text)+uictClientId = lens _uictClientId (\ s a -> s{_uictClientId = a}) . mapping _Sensitive++-- | The last-modified date for the UI customization.+uictLastModifiedDate :: Lens' UICustomizationType (Maybe UTCTime)+uictLastModifiedDate = lens _uictLastModifiedDate (\ s a -> s{_uictLastModifiedDate = a}) . mapping _Time++-- | The user pool ID for the user pool.+uictUserPoolId :: Lens' UICustomizationType (Maybe Text)+uictUserPoolId = lens _uictUserPoolId (\ s a -> s{_uictUserPoolId = a})++-- | The CSS values in the UI customization.+uictCSS :: Lens' UICustomizationType (Maybe Text)+uictCSS = lens _uictCSS (\ s a -> s{_uictCSS = a})++-- | The CSS version number.+uictCSSVersion :: Lens' UICustomizationType (Maybe Text)+uictCSSVersion = lens _uictCSSVersion (\ s a -> s{_uictCSSVersion = a})++-- | The logo image for the UI customization.+uictImageURL :: Lens' UICustomizationType (Maybe Text)+uictImageURL = lens _uictImageURL (\ s a -> s{_uictImageURL = a})++-- | The creation date for the UI customization.+uictCreationDate :: Lens' UICustomizationType (Maybe UTCTime)+uictCreationDate = lens _uictCreationDate (\ s a -> s{_uictCreationDate = a}) . mapping _Time++instance FromJSON UICustomizationType where+        parseJSON+          = withObject "UICustomizationType"+              (\ x ->+                 UICustomizationType' <$>+                   (x .:? "ClientId") <*> (x .:? "LastModifiedDate") <*>+                     (x .:? "UserPoolId")+                     <*> (x .:? "CSS")+                     <*> (x .:? "CSSVersion")+                     <*> (x .:? "ImageUrl")+                     <*> (x .:? "CreationDate"))++instance Hashable UICustomizationType where++instance NFData UICustomizationType where++-- | 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.+--+--+--+-- /See:/ 'userContextDataType' smart constructor.+newtype UserContextDataType = UserContextDataType'+  { _ucdtEncodedData :: Maybe Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserContextDataType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ucdtEncodedData' - 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.+userContextDataType+    :: UserContextDataType+userContextDataType = UserContextDataType' {_ucdtEncodedData = Nothing}+++-- | 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.+ucdtEncodedData :: Lens' UserContextDataType (Maybe Text)+ucdtEncodedData = lens _ucdtEncodedData (\ s a -> s{_ucdtEncodedData = a})++instance Hashable UserContextDataType where++instance NFData UserContextDataType where++instance ToJSON UserContextDataType where+        toJSON UserContextDataType'{..}+          = object+              (catMaybes [("EncodedData" .=) <$> _ucdtEncodedData])++-- | The user import job type.+--+--+--+-- /See:/ 'userImportJobType' smart constructor.+data UserImportJobType = UserImportJobType'+  { _uijtStatus                :: !(Maybe UserImportJobStatusType)+  , _uijtSkippedUsers          :: !(Maybe Integer)+  , _uijtJobId                 :: !(Maybe Text)+  , _uijtUserPoolId            :: !(Maybe Text)+  , _uijtJobName               :: !(Maybe Text)+  , _uijtPreSignedURL          :: !(Maybe Text)+  , _uijtFailedUsers           :: !(Maybe Integer)+  , _uijtStartDate             :: !(Maybe POSIX)+  , _uijtCompletionMessage     :: !(Maybe Text)+  , _uijtCreationDate          :: !(Maybe POSIX)+  , _uijtCompletionDate        :: !(Maybe POSIX)+  , _uijtCloudWatchLogsRoleARN :: !(Maybe Text)+  , _uijtImportedUsers         :: !(Maybe Integer)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserImportJobType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uijtStatus' - 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.+--+-- * 'uijtSkippedUsers' - The number of users that were skipped.+--+-- * 'uijtJobId' - The job ID for the user import job.+--+-- * 'uijtUserPoolId' - The user pool ID for the user pool that the users are being imported into.+--+-- * 'uijtJobName' - The job name for the user import job.+--+-- * 'uijtPreSignedURL' - The pre-signed URL to be used to upload the @.csv@ file.+--+-- * 'uijtFailedUsers' - The number of users that could not be imported.+--+-- * 'uijtStartDate' - The date when the user import job was started.+--+-- * 'uijtCompletionMessage' - The message returned when the user import job is completed.+--+-- * 'uijtCreationDate' - The date the user import job was created.+--+-- * 'uijtCompletionDate' - The date when the user import job was completed.+--+-- * 'uijtCloudWatchLogsRoleARN' - 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.+--+-- * 'uijtImportedUsers' - The number of users that were successfully imported.+userImportJobType+    :: UserImportJobType+userImportJobType =+  UserImportJobType'+    { _uijtStatus = Nothing+    , _uijtSkippedUsers = Nothing+    , _uijtJobId = Nothing+    , _uijtUserPoolId = Nothing+    , _uijtJobName = Nothing+    , _uijtPreSignedURL = Nothing+    , _uijtFailedUsers = Nothing+    , _uijtStartDate = Nothing+    , _uijtCompletionMessage = Nothing+    , _uijtCreationDate = Nothing+    , _uijtCompletionDate = Nothing+    , _uijtCloudWatchLogsRoleARN = Nothing+    , _uijtImportedUsers = Nothing+    }+++-- | The status of the user import job. One of the following:     * @Created@ - The job was created but not started.     * @Pending@ - A transition state. You have started the job, but it has not begun importing users yet.     * @InProgress@ - The job has started, and users are being imported.     * @Stopping@ - You have stopped the job, but the job has not stopped importing users yet.     * @Stopped@ - You have stopped the job, and the job has stopped importing users.     * @Succeeded@ - The job has completed successfully.     * @Failed@ - The job has stopped due to an error.     * @Expired@ - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job cannot be started.+uijtStatus :: Lens' UserImportJobType (Maybe UserImportJobStatusType)+uijtStatus = lens _uijtStatus (\ s a -> s{_uijtStatus = a})++-- | The number of users that were skipped.+uijtSkippedUsers :: Lens' UserImportJobType (Maybe Integer)+uijtSkippedUsers = lens _uijtSkippedUsers (\ s a -> s{_uijtSkippedUsers = a})++-- | The job ID for the user import job.+uijtJobId :: Lens' UserImportJobType (Maybe Text)+uijtJobId = lens _uijtJobId (\ s a -> s{_uijtJobId = a})++-- | The user pool ID for the user pool that the users are being imported into.+uijtUserPoolId :: Lens' UserImportJobType (Maybe Text)+uijtUserPoolId = lens _uijtUserPoolId (\ s a -> s{_uijtUserPoolId = a})++-- | The job name for the user import job.+uijtJobName :: Lens' UserImportJobType (Maybe Text)+uijtJobName = lens _uijtJobName (\ s a -> s{_uijtJobName = a})++-- | The pre-signed URL to be used to upload the @.csv@ file.+uijtPreSignedURL :: Lens' UserImportJobType (Maybe Text)+uijtPreSignedURL = lens _uijtPreSignedURL (\ s a -> s{_uijtPreSignedURL = a})++-- | The number of users that could not be imported.+uijtFailedUsers :: Lens' UserImportJobType (Maybe Integer)+uijtFailedUsers = lens _uijtFailedUsers (\ s a -> s{_uijtFailedUsers = a})++-- | The date when the user import job was started.+uijtStartDate :: Lens' UserImportJobType (Maybe UTCTime)+uijtStartDate = lens _uijtStartDate (\ s a -> s{_uijtStartDate = a}) . mapping _Time++-- | The message returned when the user import job is completed.+uijtCompletionMessage :: Lens' UserImportJobType (Maybe Text)+uijtCompletionMessage = lens _uijtCompletionMessage (\ s a -> s{_uijtCompletionMessage = a})++-- | The date the user import job was created.+uijtCreationDate :: Lens' UserImportJobType (Maybe UTCTime)+uijtCreationDate = lens _uijtCreationDate (\ s a -> s{_uijtCreationDate = a}) . mapping _Time++-- | The date when the user import job was completed.+uijtCompletionDate :: Lens' UserImportJobType (Maybe UTCTime)+uijtCompletionDate = lens _uijtCompletionDate (\ s a -> s{_uijtCompletionDate = a}) . mapping _Time++-- | The role ARN for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.+uijtCloudWatchLogsRoleARN :: Lens' UserImportJobType (Maybe Text)+uijtCloudWatchLogsRoleARN = lens _uijtCloudWatchLogsRoleARN (\ s a -> s{_uijtCloudWatchLogsRoleARN = a})++-- | The number of users that were successfully imported.+uijtImportedUsers :: Lens' UserImportJobType (Maybe Integer)+uijtImportedUsers = lens _uijtImportedUsers (\ s a -> s{_uijtImportedUsers = a})++instance FromJSON UserImportJobType where+        parseJSON+          = withObject "UserImportJobType"+              (\ x ->+                 UserImportJobType' <$>+                   (x .:? "Status") <*> (x .:? "SkippedUsers") <*>+                     (x .:? "JobId")+                     <*> (x .:? "UserPoolId")+                     <*> (x .:? "JobName")+                     <*> (x .:? "PreSignedUrl")+                     <*> (x .:? "FailedUsers")+                     <*> (x .:? "StartDate")+                     <*> (x .:? "CompletionMessage")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "CompletionDate")+                     <*> (x .:? "CloudWatchLogsRoleArn")+                     <*> (x .:? "ImportedUsers"))++instance Hashable UserImportJobType where++instance NFData UserImportJobType where++-- | The user pool add-ons type.+--+--+--+-- /See:/ 'userPoolAddOnsType' smart constructor.+newtype UserPoolAddOnsType = UserPoolAddOnsType'+  { _upaotAdvancedSecurityMode :: AdvancedSecurityModeType+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserPoolAddOnsType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'upaotAdvancedSecurityMode' - The advanced security mode.+userPoolAddOnsType+    :: AdvancedSecurityModeType -- ^ 'upaotAdvancedSecurityMode'+    -> UserPoolAddOnsType+userPoolAddOnsType pAdvancedSecurityMode_ =+  UserPoolAddOnsType' {_upaotAdvancedSecurityMode = pAdvancedSecurityMode_}+++-- | The advanced security mode.+upaotAdvancedSecurityMode :: Lens' UserPoolAddOnsType AdvancedSecurityModeType+upaotAdvancedSecurityMode = lens _upaotAdvancedSecurityMode (\ s a -> s{_upaotAdvancedSecurityMode = a})++instance FromJSON UserPoolAddOnsType where+        parseJSON+          = withObject "UserPoolAddOnsType"+              (\ x ->+                 UserPoolAddOnsType' <$>+                   (x .: "AdvancedSecurityMode"))++instance Hashable UserPoolAddOnsType where++instance NFData UserPoolAddOnsType where++instance ToJSON UserPoolAddOnsType where+        toJSON UserPoolAddOnsType'{..}+          = object+              (catMaybes+                 [Just+                    ("AdvancedSecurityMode" .=+                       _upaotAdvancedSecurityMode)])++-- | The description of the user pool client.+--+--+--+-- /See:/ 'userPoolClientDescription' smart constructor.+data UserPoolClientDescription = UserPoolClientDescription'+  { _upcdClientId   :: !(Maybe (Sensitive Text))+  , _upcdUserPoolId :: !(Maybe Text)+  , _upcdClientName :: !(Maybe Text)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserPoolClientDescription' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'upcdClientId' - The ID of the client associated with the user pool.+--+-- * 'upcdUserPoolId' - The user pool ID for the user pool where you want to describe the user pool client.+--+-- * 'upcdClientName' - The client name from the user pool client description.+userPoolClientDescription+    :: UserPoolClientDescription+userPoolClientDescription =+  UserPoolClientDescription'+    { _upcdClientId = Nothing+    , _upcdUserPoolId = Nothing+    , _upcdClientName = Nothing+    }+++-- | The ID of the client associated with the user pool.+upcdClientId :: Lens' UserPoolClientDescription (Maybe Text)+upcdClientId = lens _upcdClientId (\ s a -> s{_upcdClientId = a}) . mapping _Sensitive++-- | The user pool ID for the user pool where you want to describe the user pool client.+upcdUserPoolId :: Lens' UserPoolClientDescription (Maybe Text)+upcdUserPoolId = lens _upcdUserPoolId (\ s a -> s{_upcdUserPoolId = a})++-- | The client name from the user pool client description.+upcdClientName :: Lens' UserPoolClientDescription (Maybe Text)+upcdClientName = lens _upcdClientName (\ s a -> s{_upcdClientName = a})++instance FromJSON UserPoolClientDescription where+        parseJSON+          = withObject "UserPoolClientDescription"+              (\ x ->+                 UserPoolClientDescription' <$>+                   (x .:? "ClientId") <*> (x .:? "UserPoolId") <*>+                     (x .:? "ClientName"))++instance Hashable UserPoolClientDescription where++instance NFData UserPoolClientDescription where++-- | Contains information about a user pool client.+--+--+--+-- /See:/ 'userPoolClientType' smart constructor.+data UserPoolClientType = UserPoolClientType'+  { _upctRefreshTokenValidity            :: !(Maybe Nat)+  , _upctClientId                        :: !(Maybe (Sensitive Text))+  , _upctExplicitAuthFlows               :: !(Maybe [ExplicitAuthFlowsType])+  , _upctClientSecret                    :: !(Maybe (Sensitive Text))+  , _upctLastModifiedDate                :: !(Maybe POSIX)+  , _upctSupportedIdentityProviders      :: !(Maybe [Text])+  , _upctLogoutURLs                      :: !(Maybe [Text])+  , _upctAllowedOAuthFlowsUserPoolClient :: !(Maybe Bool)+  , _upctUserPoolId                      :: !(Maybe Text)+  , _upctDefaultRedirectURI              :: !(Maybe Text)+  , _upctWriteAttributes                 :: !(Maybe [Text])+  , _upctCreationDate                    :: !(Maybe POSIX)+  , _upctReadAttributes                  :: !(Maybe [Text])+  , _upctAllowedOAuthScopes              :: !(Maybe [Text])+  , _upctAllowedOAuthFlows               :: !(Maybe [OAuthFlowType])+  , _upctAnalyticsConfiguration          :: !(Maybe AnalyticsConfigurationType)+  , _upctClientName                      :: !(Maybe Text)+  , _upctCallbackURLs                    :: !(Maybe [Text])+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserPoolClientType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'upctRefreshTokenValidity' - The time limit, in days, after which the refresh token is no longer valid and cannot be used.+--+-- * 'upctClientId' - The ID of the client associated with the user pool.+--+-- * 'upctExplicitAuthFlows' - The explicit authentication flows.+--+-- * 'upctClientSecret' - The client secret from the user pool request of the client type.+--+-- * 'upctLastModifiedDate' - The date the user pool client was last modified.+--+-- * 'upctSupportedIdentityProviders' - A list of provider names for the identity providers that are supported on this client.+--+-- * 'upctLogoutURLs' - A list of allowed logout URLs for the identity providers.+--+-- * 'upctAllowedOAuthFlowsUserPoolClient' - Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.+--+-- * 'upctUserPoolId' - The user pool ID for the user pool client.+--+-- * 'upctDefaultRedirectURI' - The default redirect URI. Must be in the @CallbackURLs@ list.+--+-- * 'upctWriteAttributes' - The writeable attributes.+--+-- * 'upctCreationDate' - The date the user pool client was created.+--+-- * 'upctReadAttributes' - The Read-only attributes.+--+-- * 'upctAllowedOAuthScopes' - A list of allowed @OAuth@ scopes. Currently supported values are @"phone"@ , @"email"@ , @"openid"@ , and @"Cognito"@ .+--+-- * 'upctAllowedOAuthFlows' - 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.+--+-- * 'upctAnalyticsConfiguration' - The Amazon Pinpoint analytics configuration for the user pool client.+--+-- * 'upctClientName' - The client name from the user pool request of the client type.+--+-- * 'upctCallbackURLs' - A list of allowed callback URLs for the identity providers.+userPoolClientType+    :: UserPoolClientType+userPoolClientType =+  UserPoolClientType'+    { _upctRefreshTokenValidity = Nothing+    , _upctClientId = Nothing+    , _upctExplicitAuthFlows = Nothing+    , _upctClientSecret = Nothing+    , _upctLastModifiedDate = Nothing+    , _upctSupportedIdentityProviders = Nothing+    , _upctLogoutURLs = Nothing+    , _upctAllowedOAuthFlowsUserPoolClient = Nothing+    , _upctUserPoolId = Nothing+    , _upctDefaultRedirectURI = Nothing+    , _upctWriteAttributes = Nothing+    , _upctCreationDate = Nothing+    , _upctReadAttributes = Nothing+    , _upctAllowedOAuthScopes = Nothing+    , _upctAllowedOAuthFlows = Nothing+    , _upctAnalyticsConfiguration = Nothing+    , _upctClientName = Nothing+    , _upctCallbackURLs = Nothing+    }+++-- | The time limit, in days, after which the refresh token is no longer valid and cannot be used.+upctRefreshTokenValidity :: Lens' UserPoolClientType (Maybe Natural)+upctRefreshTokenValidity = lens _upctRefreshTokenValidity (\ s a -> s{_upctRefreshTokenValidity = a}) . mapping _Nat++-- | The ID of the client associated with the user pool.+upctClientId :: Lens' UserPoolClientType (Maybe Text)+upctClientId = lens _upctClientId (\ s a -> s{_upctClientId = a}) . mapping _Sensitive++-- | The explicit authentication flows.+upctExplicitAuthFlows :: Lens' UserPoolClientType [ExplicitAuthFlowsType]+upctExplicitAuthFlows = lens _upctExplicitAuthFlows (\ s a -> s{_upctExplicitAuthFlows = a}) . _Default . _Coerce++-- | The client secret from the user pool request of the client type.+upctClientSecret :: Lens' UserPoolClientType (Maybe Text)+upctClientSecret = lens _upctClientSecret (\ s a -> s{_upctClientSecret = a}) . mapping _Sensitive++-- | The date the user pool client was last modified.+upctLastModifiedDate :: Lens' UserPoolClientType (Maybe UTCTime)+upctLastModifiedDate = lens _upctLastModifiedDate (\ s a -> s{_upctLastModifiedDate = a}) . mapping _Time++-- | A list of provider names for the identity providers that are supported on this client.+upctSupportedIdentityProviders :: Lens' UserPoolClientType [Text]+upctSupportedIdentityProviders = lens _upctSupportedIdentityProviders (\ s a -> s{_upctSupportedIdentityProviders = a}) . _Default . _Coerce++-- | A list of allowed logout URLs for the identity providers.+upctLogoutURLs :: Lens' UserPoolClientType [Text]+upctLogoutURLs = lens _upctLogoutURLs (\ s a -> s{_upctLogoutURLs = a}) . _Default . _Coerce++-- | Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.+upctAllowedOAuthFlowsUserPoolClient :: Lens' UserPoolClientType (Maybe Bool)+upctAllowedOAuthFlowsUserPoolClient = lens _upctAllowedOAuthFlowsUserPoolClient (\ s a -> s{_upctAllowedOAuthFlowsUserPoolClient = a})++-- | The user pool ID for the user pool client.+upctUserPoolId :: Lens' UserPoolClientType (Maybe Text)+upctUserPoolId = lens _upctUserPoolId (\ s a -> s{_upctUserPoolId = a})++-- | The default redirect URI. Must be in the @CallbackURLs@ list.+upctDefaultRedirectURI :: Lens' UserPoolClientType (Maybe Text)+upctDefaultRedirectURI = lens _upctDefaultRedirectURI (\ s a -> s{_upctDefaultRedirectURI = a})++-- | The writeable attributes.+upctWriteAttributes :: Lens' UserPoolClientType [Text]+upctWriteAttributes = lens _upctWriteAttributes (\ s a -> s{_upctWriteAttributes = a}) . _Default . _Coerce++-- | The date the user pool client was created.+upctCreationDate :: Lens' UserPoolClientType (Maybe UTCTime)+upctCreationDate = lens _upctCreationDate (\ s a -> s{_upctCreationDate = a}) . mapping _Time++-- | The Read-only attributes.+upctReadAttributes :: Lens' UserPoolClientType [Text]+upctReadAttributes = lens _upctReadAttributes (\ s a -> s{_upctReadAttributes = a}) . _Default . _Coerce++-- | A list of allowed @OAuth@ scopes. Currently supported values are @"phone"@ , @"email"@ , @"openid"@ , and @"Cognito"@ .+upctAllowedOAuthScopes :: Lens' UserPoolClientType [Text]+upctAllowedOAuthScopes = lens _upctAllowedOAuthScopes (\ s a -> s{_upctAllowedOAuthScopes = a}) . _Default . _Coerce++-- | 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.+upctAllowedOAuthFlows :: Lens' UserPoolClientType [OAuthFlowType]+upctAllowedOAuthFlows = lens _upctAllowedOAuthFlows (\ s a -> s{_upctAllowedOAuthFlows = a}) . _Default . _Coerce++-- | The Amazon Pinpoint analytics configuration for the user pool client.+upctAnalyticsConfiguration :: Lens' UserPoolClientType (Maybe AnalyticsConfigurationType)+upctAnalyticsConfiguration = lens _upctAnalyticsConfiguration (\ s a -> s{_upctAnalyticsConfiguration = a})++-- | The client name from the user pool request of the client type.+upctClientName :: Lens' UserPoolClientType (Maybe Text)+upctClientName = lens _upctClientName (\ s a -> s{_upctClientName = a})++-- | A list of allowed callback URLs for the identity providers.+upctCallbackURLs :: Lens' UserPoolClientType [Text]+upctCallbackURLs = lens _upctCallbackURLs (\ s a -> s{_upctCallbackURLs = a}) . _Default . _Coerce++instance FromJSON UserPoolClientType where+        parseJSON+          = withObject "UserPoolClientType"+              (\ x ->+                 UserPoolClientType' <$>+                   (x .:? "RefreshTokenValidity") <*> (x .:? "ClientId")+                     <*> (x .:? "ExplicitAuthFlows" .!= mempty)+                     <*> (x .:? "ClientSecret")+                     <*> (x .:? "LastModifiedDate")+                     <*> (x .:? "SupportedIdentityProviders" .!= mempty)+                     <*> (x .:? "LogoutURLs" .!= mempty)+                     <*> (x .:? "AllowedOAuthFlowsUserPoolClient")+                     <*> (x .:? "UserPoolId")+                     <*> (x .:? "DefaultRedirectURI")+                     <*> (x .:? "WriteAttributes" .!= mempty)+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "ReadAttributes" .!= mempty)+                     <*> (x .:? "AllowedOAuthScopes" .!= mempty)+                     <*> (x .:? "AllowedOAuthFlows" .!= mempty)+                     <*> (x .:? "AnalyticsConfiguration")+                     <*> (x .:? "ClientName")+                     <*> (x .:? "CallbackURLs" .!= mempty))++instance Hashable UserPoolClientType where++instance NFData UserPoolClientType where++-- | A user pool description.+--+--+--+-- /See:/ 'userPoolDescriptionType' smart constructor.+data UserPoolDescriptionType = UserPoolDescriptionType'+  { _updtStatus           :: !(Maybe StatusType)+  , _updtLastModifiedDate :: !(Maybe POSIX)+  , _updtName             :: !(Maybe Text)+  , _updtId               :: !(Maybe Text)+  , _updtCreationDate     :: !(Maybe POSIX)+  , _updtLambdaConfig     :: !(Maybe LambdaConfigType)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserPoolDescriptionType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'updtStatus' - The user pool status in a user pool description.+--+-- * 'updtLastModifiedDate' - The date the user pool description was last modified.+--+-- * 'updtName' - The name in a user pool description.+--+-- * 'updtId' - The ID in a user pool description.+--+-- * 'updtCreationDate' - The date the user pool description was created.+--+-- * 'updtLambdaConfig' - The AWS Lambda configuration information in a user pool description.+userPoolDescriptionType+    :: UserPoolDescriptionType+userPoolDescriptionType =+  UserPoolDescriptionType'+    { _updtStatus = Nothing+    , _updtLastModifiedDate = Nothing+    , _updtName = Nothing+    , _updtId = Nothing+    , _updtCreationDate = Nothing+    , _updtLambdaConfig = Nothing+    }+++-- | The user pool status in a user pool description.+updtStatus :: Lens' UserPoolDescriptionType (Maybe StatusType)+updtStatus = lens _updtStatus (\ s a -> s{_updtStatus = a})++-- | The date the user pool description was last modified.+updtLastModifiedDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)+updtLastModifiedDate = lens _updtLastModifiedDate (\ s a -> s{_updtLastModifiedDate = a}) . mapping _Time++-- | The name in a user pool description.+updtName :: Lens' UserPoolDescriptionType (Maybe Text)+updtName = lens _updtName (\ s a -> s{_updtName = a})++-- | The ID in a user pool description.+updtId :: Lens' UserPoolDescriptionType (Maybe Text)+updtId = lens _updtId (\ s a -> s{_updtId = a})++-- | The date the user pool description was created.+updtCreationDate :: Lens' UserPoolDescriptionType (Maybe UTCTime)+updtCreationDate = lens _updtCreationDate (\ s a -> s{_updtCreationDate = a}) . mapping _Time++-- | The AWS Lambda configuration information in a user pool description.+updtLambdaConfig :: Lens' UserPoolDescriptionType (Maybe LambdaConfigType)+updtLambdaConfig = lens _updtLambdaConfig (\ s a -> s{_updtLambdaConfig = a})++instance FromJSON UserPoolDescriptionType where+        parseJSON+          = withObject "UserPoolDescriptionType"+              (\ x ->+                 UserPoolDescriptionType' <$>+                   (x .:? "Status") <*> (x .:? "LastModifiedDate") <*>+                     (x .:? "Name")+                     <*> (x .:? "Id")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "LambdaConfig"))++instance Hashable UserPoolDescriptionType where++instance NFData UserPoolDescriptionType where++-- | The policy associated with a user pool.+--+--+--+-- /See:/ 'userPoolPolicyType' smart constructor.+newtype UserPoolPolicyType = UserPoolPolicyType'+  { _upptPasswordPolicy :: Maybe PasswordPolicyType+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserPoolPolicyType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'upptPasswordPolicy' - The password policy.+userPoolPolicyType+    :: UserPoolPolicyType+userPoolPolicyType = UserPoolPolicyType' {_upptPasswordPolicy = Nothing}+++-- | The password policy.+upptPasswordPolicy :: Lens' UserPoolPolicyType (Maybe PasswordPolicyType)+upptPasswordPolicy = lens _upptPasswordPolicy (\ s a -> s{_upptPasswordPolicy = a})++instance FromJSON UserPoolPolicyType where+        parseJSON+          = withObject "UserPoolPolicyType"+              (\ x ->+                 UserPoolPolicyType' <$> (x .:? "PasswordPolicy"))++instance Hashable UserPoolPolicyType where++instance NFData UserPoolPolicyType where++instance ToJSON UserPoolPolicyType where+        toJSON UserPoolPolicyType'{..}+          = object+              (catMaybes+                 [("PasswordPolicy" .=) <$> _upptPasswordPolicy])++-- | A container for information about the user pool.+--+--+--+-- /See:/ 'userPoolType' smart constructor.+data UserPoolType = UserPoolType'+  { _uptStatus                      :: !(Maybe StatusType)+  , _uptUserPoolTags                :: !(Maybe (Map Text Text))+  , _uptEmailConfigurationFailure   :: !(Maybe Text)+  , _uptLastModifiedDate            :: !(Maybe POSIX)+  , _uptVerificationMessageTemplate :: !(Maybe VerificationMessageTemplateType)+  , _uptEstimatedNumberOfUsers      :: !(Maybe Int)+  , _uptDomain                      :: !(Maybe Text)+  , _uptEmailVerificationMessage    :: !(Maybe Text)+  , _uptSmsAuthenticationMessage    :: !(Maybe Text)+  , _uptUserPoolAddOns              :: !(Maybe UserPoolAddOnsType)+  , _uptSchemaAttributes            :: !(Maybe (List1 SchemaAttributeType))+  , _uptEmailVerificationSubject    :: !(Maybe Text)+  , _uptUsernameAttributes          :: !(Maybe [UsernameAttributeType])+  , _uptAliasAttributes             :: !(Maybe [AliasAttributeType])+  , _uptEmailConfiguration          :: !(Maybe EmailConfigurationType)+  , _uptSmsVerificationMessage      :: !(Maybe Text)+  , _uptName                        :: !(Maybe Text)+  , _uptMFAConfiguration            :: !(Maybe UserPoolMFAType)+  , _uptId                          :: !(Maybe Text)+  , _uptSmsConfigurationFailure     :: !(Maybe Text)+  , _uptCreationDate                :: !(Maybe POSIX)+  , _uptLambdaConfig                :: !(Maybe LambdaConfigType)+  , _uptSmsConfiguration            :: !(Maybe SmsConfigurationType)+  , _uptAdminCreateUserConfig       :: !(Maybe AdminCreateUserConfigType)+  , _uptDeviceConfiguration         :: !(Maybe DeviceConfigurationType)+  , _uptAutoVerifiedAttributes      :: !(Maybe [VerifiedAttributeType])+  , _uptPolicies                    :: !(Maybe UserPoolPolicyType)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserPoolType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uptStatus' - The status of a user pool.+--+-- * 'uptUserPoolTags' - The cost allocation tags for the user pool. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html Adding Cost Allocation Tags to Your User Pool>+--+-- * 'uptEmailConfigurationFailure' - The reason why the email configuration cannot send the messages to your users.+--+-- * 'uptLastModifiedDate' - The date the user pool was last modified.+--+-- * 'uptVerificationMessageTemplate' - The template for verification messages.+--+-- * 'uptEstimatedNumberOfUsers' - A number estimating the size of the user pool.+--+-- * 'uptDomain' - Holds the domain prefix if the user pool has a domain associated with it.+--+-- * 'uptEmailVerificationMessage' - The contents of the email verification message.+--+-- * 'uptSmsAuthenticationMessage' - The contents of the SMS authentication message.+--+-- * 'uptUserPoolAddOns' - The user pool add-ons.+--+-- * 'uptSchemaAttributes' - A container with the schema attributes of a user pool.+--+-- * 'uptEmailVerificationSubject' - The subject of the email verification message.+--+-- * 'uptUsernameAttributes' - Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.+--+-- * 'uptAliasAttributes' - Specifies the attributes that are aliased in a user pool.+--+-- * 'uptEmailConfiguration' - The email configuration.+--+-- * 'uptSmsVerificationMessage' - The contents of the SMS verification message.+--+-- * 'uptName' - The name of the user pool.+--+-- * 'uptMFAConfiguration' - 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.+--+-- * 'uptId' - The ID of the user pool.+--+-- * 'uptSmsConfigurationFailure' - The reason why the SMS configuration cannot send the messages to your users.+--+-- * 'uptCreationDate' - The date the user pool was created.+--+-- * 'uptLambdaConfig' - The AWS Lambda triggers associated with tue user pool.+--+-- * 'uptSmsConfiguration' - The SMS configuration.+--+-- * 'uptAdminCreateUserConfig' - The configuration for @AdminCreateUser@ requests.+--+-- * 'uptDeviceConfiguration' - The device configuration.+--+-- * 'uptAutoVerifiedAttributes' - Specifies the attributes that are auto-verified in a user pool.+--+-- * 'uptPolicies' - The policies associated with the user pool.+userPoolType+    :: UserPoolType+userPoolType =+  UserPoolType'+    { _uptStatus = Nothing+    , _uptUserPoolTags = Nothing+    , _uptEmailConfigurationFailure = Nothing+    , _uptLastModifiedDate = Nothing+    , _uptVerificationMessageTemplate = Nothing+    , _uptEstimatedNumberOfUsers = Nothing+    , _uptDomain = Nothing+    , _uptEmailVerificationMessage = Nothing+    , _uptSmsAuthenticationMessage = Nothing+    , _uptUserPoolAddOns = Nothing+    , _uptSchemaAttributes = Nothing+    , _uptEmailVerificationSubject = Nothing+    , _uptUsernameAttributes = Nothing+    , _uptAliasAttributes = Nothing+    , _uptEmailConfiguration = Nothing+    , _uptSmsVerificationMessage = Nothing+    , _uptName = Nothing+    , _uptMFAConfiguration = Nothing+    , _uptId = Nothing+    , _uptSmsConfigurationFailure = Nothing+    , _uptCreationDate = Nothing+    , _uptLambdaConfig = Nothing+    , _uptSmsConfiguration = Nothing+    , _uptAdminCreateUserConfig = Nothing+    , _uptDeviceConfiguration = Nothing+    , _uptAutoVerifiedAttributes = Nothing+    , _uptPolicies = Nothing+    }+++-- | The status of a user pool.+uptStatus :: Lens' UserPoolType (Maybe StatusType)+uptStatus = lens _uptStatus (\ s a -> s{_uptStatus = a})++-- | The cost allocation tags for the user pool. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html Adding Cost Allocation Tags to Your User Pool>+uptUserPoolTags :: Lens' UserPoolType (HashMap Text Text)+uptUserPoolTags = lens _uptUserPoolTags (\ s a -> s{_uptUserPoolTags = a}) . _Default . _Map++-- | The reason why the email configuration cannot send the messages to your users.+uptEmailConfigurationFailure :: Lens' UserPoolType (Maybe Text)+uptEmailConfigurationFailure = lens _uptEmailConfigurationFailure (\ s a -> s{_uptEmailConfigurationFailure = a})++-- | The date the user pool was last modified.+uptLastModifiedDate :: Lens' UserPoolType (Maybe UTCTime)+uptLastModifiedDate = lens _uptLastModifiedDate (\ s a -> s{_uptLastModifiedDate = a}) . mapping _Time++-- | The template for verification messages.+uptVerificationMessageTemplate :: Lens' UserPoolType (Maybe VerificationMessageTemplateType)+uptVerificationMessageTemplate = lens _uptVerificationMessageTemplate (\ s a -> s{_uptVerificationMessageTemplate = a})++-- | A number estimating the size of the user pool.+uptEstimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int)+uptEstimatedNumberOfUsers = lens _uptEstimatedNumberOfUsers (\ s a -> s{_uptEstimatedNumberOfUsers = a})++-- | Holds the domain prefix if the user pool has a domain associated with it.+uptDomain :: Lens' UserPoolType (Maybe Text)+uptDomain = lens _uptDomain (\ s a -> s{_uptDomain = a})++-- | The contents of the email verification message.+uptEmailVerificationMessage :: Lens' UserPoolType (Maybe Text)+uptEmailVerificationMessage = lens _uptEmailVerificationMessage (\ s a -> s{_uptEmailVerificationMessage = a})++-- | The contents of the SMS authentication message.+uptSmsAuthenticationMessage :: Lens' UserPoolType (Maybe Text)+uptSmsAuthenticationMessage = lens _uptSmsAuthenticationMessage (\ s a -> s{_uptSmsAuthenticationMessage = a})++-- | The user pool add-ons.+uptUserPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType)+uptUserPoolAddOns = lens _uptUserPoolAddOns (\ s a -> s{_uptUserPoolAddOns = a})++-- | A container with the schema attributes of a user pool.+uptSchemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType))+uptSchemaAttributes = lens _uptSchemaAttributes (\ s a -> s{_uptSchemaAttributes = a}) . mapping _List1++-- | The subject of the email verification message.+uptEmailVerificationSubject :: Lens' UserPoolType (Maybe Text)+uptEmailVerificationSubject = lens _uptEmailVerificationSubject (\ s a -> s{_uptEmailVerificationSubject = a})++-- | Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.+uptUsernameAttributes :: Lens' UserPoolType [UsernameAttributeType]+uptUsernameAttributes = lens _uptUsernameAttributes (\ s a -> s{_uptUsernameAttributes = a}) . _Default . _Coerce++-- | Specifies the attributes that are aliased in a user pool.+uptAliasAttributes :: Lens' UserPoolType [AliasAttributeType]+uptAliasAttributes = lens _uptAliasAttributes (\ s a -> s{_uptAliasAttributes = a}) . _Default . _Coerce++-- | The email configuration.+uptEmailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType)+uptEmailConfiguration = lens _uptEmailConfiguration (\ s a -> s{_uptEmailConfiguration = a})++-- | The contents of the SMS verification message.+uptSmsVerificationMessage :: Lens' UserPoolType (Maybe Text)+uptSmsVerificationMessage = lens _uptSmsVerificationMessage (\ s a -> s{_uptSmsVerificationMessage = a})++-- | The name of the user pool.+uptName :: Lens' UserPoolType (Maybe Text)+uptName = lens _uptName (\ s a -> s{_uptName = a})++-- | 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.+uptMFAConfiguration :: Lens' UserPoolType (Maybe UserPoolMFAType)+uptMFAConfiguration = lens _uptMFAConfiguration (\ s a -> s{_uptMFAConfiguration = a})++-- | The ID of the user pool.+uptId :: Lens' UserPoolType (Maybe Text)+uptId = lens _uptId (\ s a -> s{_uptId = a})++-- | The reason why the SMS configuration cannot send the messages to your users.+uptSmsConfigurationFailure :: Lens' UserPoolType (Maybe Text)+uptSmsConfigurationFailure = lens _uptSmsConfigurationFailure (\ s a -> s{_uptSmsConfigurationFailure = a})++-- | The date the user pool was created.+uptCreationDate :: Lens' UserPoolType (Maybe UTCTime)+uptCreationDate = lens _uptCreationDate (\ s a -> s{_uptCreationDate = a}) . mapping _Time++-- | The AWS Lambda triggers associated with tue user pool.+uptLambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType)+uptLambdaConfig = lens _uptLambdaConfig (\ s a -> s{_uptLambdaConfig = a})++-- | The SMS configuration.+uptSmsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType)+uptSmsConfiguration = lens _uptSmsConfiguration (\ s a -> s{_uptSmsConfiguration = a})++-- | The configuration for @AdminCreateUser@ requests.+uptAdminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType)+uptAdminCreateUserConfig = lens _uptAdminCreateUserConfig (\ s a -> s{_uptAdminCreateUserConfig = a})++-- | The device configuration.+uptDeviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType)+uptDeviceConfiguration = lens _uptDeviceConfiguration (\ s a -> s{_uptDeviceConfiguration = a})++-- | Specifies the attributes that are auto-verified in a user pool.+uptAutoVerifiedAttributes :: Lens' UserPoolType [VerifiedAttributeType]+uptAutoVerifiedAttributes = lens _uptAutoVerifiedAttributes (\ s a -> s{_uptAutoVerifiedAttributes = a}) . _Default . _Coerce++-- | The policies associated with the user pool.+uptPolicies :: Lens' UserPoolType (Maybe UserPoolPolicyType)+uptPolicies = lens _uptPolicies (\ s a -> s{_uptPolicies = a})++instance FromJSON UserPoolType where+        parseJSON+          = withObject "UserPoolType"+              (\ x ->+                 UserPoolType' <$>+                   (x .:? "Status") <*>+                     (x .:? "UserPoolTags" .!= mempty)+                     <*> (x .:? "EmailConfigurationFailure")+                     <*> (x .:? "LastModifiedDate")+                     <*> (x .:? "VerificationMessageTemplate")+                     <*> (x .:? "EstimatedNumberOfUsers")+                     <*> (x .:? "Domain")+                     <*> (x .:? "EmailVerificationMessage")+                     <*> (x .:? "SmsAuthenticationMessage")+                     <*> (x .:? "UserPoolAddOns")+                     <*> (x .:? "SchemaAttributes")+                     <*> (x .:? "EmailVerificationSubject")+                     <*> (x .:? "UsernameAttributes" .!= mempty)+                     <*> (x .:? "AliasAttributes" .!= mempty)+                     <*> (x .:? "EmailConfiguration")+                     <*> (x .:? "SmsVerificationMessage")+                     <*> (x .:? "Name")+                     <*> (x .:? "MfaConfiguration")+                     <*> (x .:? "Id")+                     <*> (x .:? "SmsConfigurationFailure")+                     <*> (x .:? "CreationDate")+                     <*> (x .:? "LambdaConfig")+                     <*> (x .:? "SmsConfiguration")+                     <*> (x .:? "AdminCreateUserConfig")+                     <*> (x .:? "DeviceConfiguration")+                     <*> (x .:? "AutoVerifiedAttributes" .!= mempty)+                     <*> (x .:? "Policies"))++instance Hashable UserPoolType where++instance NFData UserPoolType where++-- | The user type.+--+--+--+-- /See:/ 'userType' smart constructor.+data UserType = UserType'+  { _utEnabled              :: !(Maybe Bool)+  , _utUserStatus           :: !(Maybe UserStatusType)+  , _utUsername             :: !(Maybe (Sensitive Text))+  , _utUserCreateDate       :: !(Maybe POSIX)+  , _utAttributes           :: !(Maybe [AttributeType])+  , _utMFAOptions           :: !(Maybe [MFAOptionType])+  , _utUserLastModifiedDate :: !(Maybe POSIX)+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UserType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'utEnabled' - Specifies whether the user is enabled.+--+-- * 'utUserStatus' - 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.+--+-- * 'utUsername' - The user name of the user you wish to describe.+--+-- * 'utUserCreateDate' - The creation date of the user.+--+-- * 'utAttributes' - A container with information about the user type attributes.+--+-- * 'utMFAOptions' - The MFA options for the user.+--+-- * 'utUserLastModifiedDate' - The last modified date of the user.+userType+    :: UserType+userType =+  UserType'+    { _utEnabled = Nothing+    , _utUserStatus = Nothing+    , _utUsername = Nothing+    , _utUserCreateDate = Nothing+    , _utAttributes = Nothing+    , _utMFAOptions = Nothing+    , _utUserLastModifiedDate = Nothing+    }+++-- | Specifies whether the user is enabled.+utEnabled :: Lens' UserType (Maybe Bool)+utEnabled = lens _utEnabled (\ s a -> s{_utEnabled = a})++-- | The user status. Can be one of the following:     * UNCONFIRMED - User has been created but not confirmed.     * CONFIRMED - User has been confirmed.     * ARCHIVED - User is no longer active.     * COMPROMISED - User is disabled due to a potential security threat.     * UNKNOWN - User status is not known.+utUserStatus :: Lens' UserType (Maybe UserStatusType)+utUserStatus = lens _utUserStatus (\ s a -> s{_utUserStatus = a})++-- | The user name of the user you wish to describe.+utUsername :: Lens' UserType (Maybe Text)+utUsername = lens _utUsername (\ s a -> s{_utUsername = a}) . mapping _Sensitive++-- | The creation date of the user.+utUserCreateDate :: Lens' UserType (Maybe UTCTime)+utUserCreateDate = lens _utUserCreateDate (\ s a -> s{_utUserCreateDate = a}) . mapping _Time++-- | A container with information about the user type attributes.+utAttributes :: Lens' UserType [AttributeType]+utAttributes = lens _utAttributes (\ s a -> s{_utAttributes = a}) . _Default . _Coerce++-- | The MFA options for the user.+utMFAOptions :: Lens' UserType [MFAOptionType]+utMFAOptions = lens _utMFAOptions (\ s a -> s{_utMFAOptions = a}) . _Default . _Coerce++-- | The last modified date of the user.+utUserLastModifiedDate :: Lens' UserType (Maybe UTCTime)+utUserLastModifiedDate = lens _utUserLastModifiedDate (\ s a -> s{_utUserLastModifiedDate = a}) . mapping _Time++instance FromJSON UserType where+        parseJSON+          = withObject "UserType"+              (\ x ->+                 UserType' <$>+                   (x .:? "Enabled") <*> (x .:? "UserStatus") <*>+                     (x .:? "Username")+                     <*> (x .:? "UserCreateDate")+                     <*> (x .:? "Attributes" .!= mempty)+                     <*> (x .:? "MFAOptions" .!= mempty)+                     <*> (x .:? "UserLastModifiedDate"))++instance Hashable UserType where++instance NFData UserType where++-- | The template for verification messages.+--+--+--+-- /See:/ 'verificationMessageTemplateType' smart constructor.+data VerificationMessageTemplateType = VerificationMessageTemplateType'+  { _vmttDefaultEmailOption :: !(Maybe DefaultEmailOptionType)+  , _vmttEmailSubject       :: !(Maybe Text)+  , _vmttEmailSubjectByLink :: !(Maybe Text)+  , _vmttSmsMessage         :: !(Maybe Text)+  , _vmttEmailMessageByLink :: !(Maybe Text)+  , _vmttEmailMessage       :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'VerificationMessageTemplateType' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'vmttDefaultEmailOption' - The default email option.+--+-- * 'vmttEmailSubject' - The subject line for the email message template.+--+-- * 'vmttEmailSubjectByLink' - The subject line for the email message template for sending a confirmation link to the user.+--+-- * 'vmttSmsMessage' - The SMS message template.+--+-- * 'vmttEmailMessageByLink' - The email message template for sending a confirmation link to the user.+--+-- * 'vmttEmailMessage' - The email message template.+verificationMessageTemplateType+    :: VerificationMessageTemplateType+verificationMessageTemplateType =+  VerificationMessageTemplateType'+    { _vmttDefaultEmailOption = Nothing+    , _vmttEmailSubject = Nothing+    , _vmttEmailSubjectByLink = Nothing+    , _vmttSmsMessage = Nothing+    , _vmttEmailMessageByLink = Nothing+    , _vmttEmailMessage = Nothing+    }+++-- | The default email option.+vmttDefaultEmailOption :: Lens' VerificationMessageTemplateType (Maybe DefaultEmailOptionType)+vmttDefaultEmailOption = lens _vmttDefaultEmailOption (\ s a -> s{_vmttDefaultEmailOption = a})++-- | The subject line for the email message template.+vmttEmailSubject :: Lens' VerificationMessageTemplateType (Maybe Text)+vmttEmailSubject = lens _vmttEmailSubject (\ s a -> s{_vmttEmailSubject = a})++-- | The subject line for the email message template for sending a confirmation link to the user.+vmttEmailSubjectByLink :: Lens' VerificationMessageTemplateType (Maybe Text)+vmttEmailSubjectByLink = lens _vmttEmailSubjectByLink (\ s a -> s{_vmttEmailSubjectByLink = a})++-- | The SMS message template.+vmttSmsMessage :: Lens' VerificationMessageTemplateType (Maybe Text)+vmttSmsMessage = lens _vmttSmsMessage (\ s a -> s{_vmttSmsMessage = a})++-- | The email message template for sending a confirmation link to the user.+vmttEmailMessageByLink :: Lens' VerificationMessageTemplateType (Maybe Text)+vmttEmailMessageByLink = lens _vmttEmailMessageByLink (\ s a -> s{_vmttEmailMessageByLink = a})++-- | The email message template.+vmttEmailMessage :: Lens' VerificationMessageTemplateType (Maybe Text)+vmttEmailMessage = lens _vmttEmailMessage (\ s a -> s{_vmttEmailMessage = a})  instance FromJSON VerificationMessageTemplateType          where
gen/Network/AWS/CognitoIdentityProvider/Types/Sum.hs view
@@ -9,7 +9,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.Types.Sum--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -19,6 +19,75 @@  import Network.AWS.Prelude +data AccountTakeoverEventActionType+  = ATEATBlock+  | ATEATMFAIfConfigured+  | ATEATMFARequired+  | ATEATNoAction+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText AccountTakeoverEventActionType where+    parser = takeLowerText >>= \case+        "block" -> pure ATEATBlock+        "mfa_if_configured" -> pure ATEATMFAIfConfigured+        "mfa_required" -> pure ATEATMFARequired+        "no_action" -> pure ATEATNoAction+        e -> fromTextError $ "Failure parsing AccountTakeoverEventActionType from value: '" <> e+           <> "'. Accepted values: block, mfa_if_configured, mfa_required, no_action"++instance ToText AccountTakeoverEventActionType where+    toText = \case+        ATEATBlock -> "BLOCK"+        ATEATMFAIfConfigured -> "MFA_IF_CONFIGURED"+        ATEATMFARequired -> "MFA_REQUIRED"+        ATEATNoAction -> "NO_ACTION"++instance Hashable     AccountTakeoverEventActionType+instance NFData       AccountTakeoverEventActionType+instance ToByteString AccountTakeoverEventActionType+instance ToQuery      AccountTakeoverEventActionType+instance ToHeader     AccountTakeoverEventActionType++instance ToJSON AccountTakeoverEventActionType where+    toJSON = toJSONText++instance FromJSON AccountTakeoverEventActionType where+    parseJSON = parseJSONText "AccountTakeoverEventActionType"++data AdvancedSecurityModeType+  = Audit+  | Enforced+  | Off+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText AdvancedSecurityModeType where+    parser = takeLowerText >>= \case+        "audit" -> pure Audit+        "enforced" -> pure Enforced+        "off" -> pure Off+        e -> fromTextError $ "Failure parsing AdvancedSecurityModeType from value: '" <> e+           <> "'. Accepted values: audit, enforced, off"++instance ToText AdvancedSecurityModeType where+    toText = \case+        Audit -> "AUDIT"+        Enforced -> "ENFORCED"+        Off -> "OFF"++instance Hashable     AdvancedSecurityModeType+instance NFData       AdvancedSecurityModeType+instance ToByteString AdvancedSecurityModeType+instance ToQuery      AdvancedSecurityModeType+instance ToHeader     AdvancedSecurityModeType++instance ToJSON AdvancedSecurityModeType where+    toJSON = toJSONText++instance FromJSON AdvancedSecurityModeType where+    parseJSON = parseJSONText "AdvancedSecurityModeType"+ data AliasAttributeType   = AATEmail   | AATPhoneNumber@@ -93,6 +162,7 @@   | CustomAuth   | RefreshToken   | RefreshTokenAuth+  | UserPasswordAuth   | UserSrpAuth   deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) @@ -103,9 +173,10 @@         "custom_auth" -> pure CustomAuth         "refresh_token" -> pure RefreshToken         "refresh_token_auth" -> pure RefreshTokenAuth+        "user_password_auth" -> pure UserPasswordAuth         "user_srp_auth" -> pure UserSrpAuth         e -> fromTextError $ "Failure parsing AuthFlowType from value: '" <> e-           <> "'. Accepted values: admin_no_srp_auth, custom_auth, refresh_token, refresh_token_auth, user_srp_auth"+           <> "'. Accepted values: admin_no_srp_auth, custom_auth, refresh_token, refresh_token_auth, user_password_auth, user_srp_auth"  instance ToText AuthFlowType where     toText = \case@@ -113,6 +184,7 @@         CustomAuth -> "CUSTOM_AUTH"         RefreshToken -> "REFRESH_TOKEN"         RefreshTokenAuth -> "REFRESH_TOKEN_AUTH"+        UserPasswordAuth -> "USER_PASSWORD_AUTH"         UserSrpAuth -> "USER_SRP_AUTH"  instance Hashable     AuthFlowType@@ -124,14 +196,44 @@ instance ToJSON AuthFlowType where     toJSON = toJSONText +data ChallengeName+  = MFA+  | Password+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText ChallengeName where+    parser = takeLowerText >>= \case+        "mfa" -> pure MFA+        "password" -> pure Password+        e -> fromTextError $ "Failure parsing ChallengeName from value: '" <> e+           <> "'. Accepted values: mfa, password"++instance ToText ChallengeName where+    toText = \case+        MFA -> "Mfa"+        Password -> "Password"++instance Hashable     ChallengeName+instance NFData       ChallengeName+instance ToByteString ChallengeName+instance ToQuery      ChallengeName+instance ToHeader     ChallengeName++instance FromJSON ChallengeName where+    parseJSON = parseJSONText "ChallengeName"+ data ChallengeNameType   = CNTAdminNoSrpAuth   | CNTCustomChallenge   | CNTDevicePasswordVerifier   | CNTDeviceSrpAuth+  | CNTMFASetup   | CNTNewPasswordRequired   | CNTPasswordVerifier+  | CNTSelectMFAType   | CNTSmsMFA+  | CNTSoftwareTokenMFA   deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)  @@ -141,11 +243,14 @@         "custom_challenge" -> pure CNTCustomChallenge         "device_password_verifier" -> pure CNTDevicePasswordVerifier         "device_srp_auth" -> pure CNTDeviceSrpAuth+        "mfa_setup" -> pure CNTMFASetup         "new_password_required" -> pure CNTNewPasswordRequired         "password_verifier" -> pure CNTPasswordVerifier+        "select_mfa_type" -> pure CNTSelectMFAType         "sms_mfa" -> pure CNTSmsMFA+        "software_token_mfa" -> pure CNTSoftwareTokenMFA         e -> fromTextError $ "Failure parsing ChallengeNameType from value: '" <> e-           <> "'. Accepted values: admin_no_srp_auth, custom_challenge, device_password_verifier, device_srp_auth, new_password_required, password_verifier, sms_mfa"+           <> "'. Accepted values: admin_no_srp_auth, custom_challenge, device_password_verifier, device_srp_auth, mfa_setup, new_password_required, password_verifier, select_mfa_type, sms_mfa, software_token_mfa"  instance ToText ChallengeNameType where     toText = \case@@ -153,9 +258,12 @@         CNTCustomChallenge -> "CUSTOM_CHALLENGE"         CNTDevicePasswordVerifier -> "DEVICE_PASSWORD_VERIFIER"         CNTDeviceSrpAuth -> "DEVICE_SRP_AUTH"+        CNTMFASetup -> "MFA_SETUP"         CNTNewPasswordRequired -> "NEW_PASSWORD_REQUIRED"         CNTPasswordVerifier -> "PASSWORD_VERIFIER"+        CNTSelectMFAType -> "SELECT_MFA_TYPE"         CNTSmsMFA -> "SMS_MFA"+        CNTSoftwareTokenMFA -> "SOFTWARE_TOKEN_MFA"  instance Hashable     ChallengeNameType instance NFData       ChallengeNameType@@ -169,6 +277,63 @@ instance FromJSON ChallengeNameType where     parseJSON = parseJSONText "ChallengeNameType" +data ChallengeResponse+  = CFailure+  | CSuccess+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText ChallengeResponse where+    parser = takeLowerText >>= \case+        "failure" -> pure CFailure+        "success" -> pure CSuccess+        e -> fromTextError $ "Failure parsing ChallengeResponse from value: '" <> e+           <> "'. Accepted values: failure, success"++instance ToText ChallengeResponse where+    toText = \case+        CFailure -> "Failure"+        CSuccess -> "Success"++instance Hashable     ChallengeResponse+instance NFData       ChallengeResponse+instance ToByteString ChallengeResponse+instance ToQuery      ChallengeResponse+instance ToHeader     ChallengeResponse++instance FromJSON ChallengeResponse where+    parseJSON = parseJSONText "ChallengeResponse"++data CompromisedCredentialsEventActionType+  = CCEATBlock+  | CCEATNoAction+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText CompromisedCredentialsEventActionType where+    parser = takeLowerText >>= \case+        "block" -> pure CCEATBlock+        "no_action" -> pure CCEATNoAction+        e -> fromTextError $ "Failure parsing CompromisedCredentialsEventActionType from value: '" <> e+           <> "'. Accepted values: block, no_action"++instance ToText CompromisedCredentialsEventActionType where+    toText = \case+        CCEATBlock -> "BLOCK"+        CCEATNoAction -> "NO_ACTION"++instance Hashable     CompromisedCredentialsEventActionType+instance NFData       CompromisedCredentialsEventActionType+instance ToByteString CompromisedCredentialsEventActionType+instance ToQuery      CompromisedCredentialsEventActionType+instance ToHeader     CompromisedCredentialsEventActionType++instance ToJSON CompromisedCredentialsEventActionType where+    toJSON = toJSONText++instance FromJSON CompromisedCredentialsEventActionType where+    parseJSON = parseJSONText "CompromisedCredentialsEventActionType"+ data DefaultEmailOptionType   = ConfirmWithCode   | ConfirmWithLink@@ -292,9 +457,100 @@ instance FromJSON DomainStatusType where     parseJSON = parseJSONText "DomainStatusType" +data EventFilterType+  = PasswordChange+  | SignIn+  | SignUp+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText EventFilterType where+    parser = takeLowerText >>= \case+        "password_change" -> pure PasswordChange+        "sign_in" -> pure SignIn+        "sign_up" -> pure SignUp+        e -> fromTextError $ "Failure parsing EventFilterType from value: '" <> e+           <> "'. Accepted values: password_change, sign_in, sign_up"++instance ToText EventFilterType where+    toText = \case+        PasswordChange -> "PASSWORD_CHANGE"+        SignIn -> "SIGN_IN"+        SignUp -> "SIGN_UP"++instance Hashable     EventFilterType+instance NFData       EventFilterType+instance ToByteString EventFilterType+instance ToQuery      EventFilterType+instance ToHeader     EventFilterType++instance ToJSON EventFilterType where+    toJSON = toJSONText++instance FromJSON EventFilterType where+    parseJSON = parseJSONText "EventFilterType"++data EventResponseType+  = Failure+  | Success+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText EventResponseType where+    parser = takeLowerText >>= \case+        "failure" -> pure Failure+        "success" -> pure Success+        e -> fromTextError $ "Failure parsing EventResponseType from value: '" <> e+           <> "'. Accepted values: failure, success"++instance ToText EventResponseType where+    toText = \case+        Failure -> "Failure"+        Success -> "Success"++instance Hashable     EventResponseType+instance NFData       EventResponseType+instance ToByteString EventResponseType+instance ToQuery      EventResponseType+instance ToHeader     EventResponseType++instance FromJSON EventResponseType where+    parseJSON = parseJSONText "EventResponseType"++data EventType+  = ETForgotPassword+  | ETSignIn+  | ETSignUp+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText EventType where+    parser = takeLowerText >>= \case+        "forgotpassword" -> pure ETForgotPassword+        "signin" -> pure ETSignIn+        "signup" -> pure ETSignUp+        e -> fromTextError $ "Failure parsing EventType from value: '" <> e+           <> "'. Accepted values: forgotpassword, signin, signup"++instance ToText EventType where+    toText = \case+        ETForgotPassword -> "ForgotPassword"+        ETSignIn -> "SignIn"+        ETSignUp -> "SignUp"++instance Hashable     EventType+instance NFData       EventType+instance ToByteString EventType+instance ToQuery      EventType+instance ToHeader     EventType++instance FromJSON EventType where+    parseJSON = parseJSONText "EventType"+ data ExplicitAuthFlowsType   = EAFTAdminNoSrpAuth   | EAFTCustomAuthFlowOnly+  | EAFTUserPasswordAuth   deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)  @@ -302,13 +558,15 @@     parser = takeLowerText >>= \case         "admin_no_srp_auth" -> pure EAFTAdminNoSrpAuth         "custom_auth_flow_only" -> pure EAFTCustomAuthFlowOnly+        "user_password_auth" -> pure EAFTUserPasswordAuth         e -> fromTextError $ "Failure parsing ExplicitAuthFlowsType from value: '" <> e-           <> "'. Accepted values: admin_no_srp_auth, custom_auth_flow_only"+           <> "'. Accepted values: admin_no_srp_auth, custom_auth_flow_only, user_password_auth"  instance ToText ExplicitAuthFlowsType where     toText = \case         EAFTAdminNoSrpAuth -> "ADMIN_NO_SRP_AUTH"         EAFTCustomAuthFlowOnly -> "CUSTOM_AUTH_FLOW_ONLY"+        EAFTUserPasswordAuth -> "USER_PASSWORD_AUTH"  instance Hashable     ExplicitAuthFlowsType instance NFData       ExplicitAuthFlowsType@@ -322,6 +580,36 @@ instance FromJSON ExplicitAuthFlowsType where     parseJSON = parseJSONText "ExplicitAuthFlowsType" +data FeedbackValueType+  = Invalid+  | Valid+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText FeedbackValueType where+    parser = takeLowerText >>= \case+        "invalid" -> pure Invalid+        "valid" -> pure Valid+        e -> fromTextError $ "Failure parsing FeedbackValueType from value: '" <> e+           <> "'. Accepted values: invalid, valid"++instance ToText FeedbackValueType where+    toText = \case+        Invalid -> "Invalid"+        Valid -> "Valid"++instance Hashable     FeedbackValueType+instance NFData       FeedbackValueType+instance ToByteString FeedbackValueType+instance ToQuery      FeedbackValueType+instance ToHeader     FeedbackValueType++instance ToJSON FeedbackValueType where+    toJSON = toJSONText++instance FromJSON FeedbackValueType where+    parseJSON = parseJSONText "FeedbackValueType"+ data IdentityProviderTypeType   = Facebook   | Google@@ -418,6 +706,66 @@ instance FromJSON OAuthFlowType where     parseJSON = parseJSONText "OAuthFlowType" +data RiskDecisionType+  = AccountTakeover+  | Block+  | NoRisk+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText RiskDecisionType where+    parser = takeLowerText >>= \case+        "accounttakeover" -> pure AccountTakeover+        "block" -> pure Block+        "norisk" -> pure NoRisk+        e -> fromTextError $ "Failure parsing RiskDecisionType from value: '" <> e+           <> "'. Accepted values: accounttakeover, block, norisk"++instance ToText RiskDecisionType where+    toText = \case+        AccountTakeover -> "AccountTakeover"+        Block -> "Block"+        NoRisk -> "NoRisk"++instance Hashable     RiskDecisionType+instance NFData       RiskDecisionType+instance ToByteString RiskDecisionType+instance ToQuery      RiskDecisionType+instance ToHeader     RiskDecisionType++instance FromJSON RiskDecisionType where+    parseJSON = parseJSONText "RiskDecisionType"++data RiskLevelType+  = High+  | Low+  | Medium+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText RiskLevelType where+    parser = takeLowerText >>= \case+        "high" -> pure High+        "low" -> pure Low+        "medium" -> pure Medium+        e -> fromTextError $ "Failure parsing RiskLevelType from value: '" <> e+           <> "'. Accepted values: high, low, medium"++instance ToText RiskLevelType where+    toText = \case+        High -> "High"+        Low -> "Low"+        Medium -> "Medium"++instance Hashable     RiskLevelType+instance NFData       RiskLevelType+instance ToByteString RiskLevelType+instance ToQuery      RiskLevelType+instance ToHeader     RiskLevelType++instance FromJSON RiskLevelType where+    parseJSON = parseJSONText "RiskLevelType"+ data StatusType   = Disabled   | Enabled@@ -491,25 +839,25 @@     parseJSON = parseJSONText "UserImportJobStatusType"  data UserPoolMFAType-  = ON-  | Off-  | Optional+  = UPMTON+  | UPMTOff+  | UPMTOptional   deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)   instance FromText UserPoolMFAType where     parser = takeLowerText >>= \case-        "on" -> pure ON-        "off" -> pure Off-        "optional" -> pure Optional+        "on" -> pure UPMTON+        "off" -> pure UPMTOff+        "optional" -> pure UPMTOptional         e -> fromTextError $ "Failure parsing UserPoolMFAType from value: '" <> e            <> "'. Accepted values: on, off, optional"  instance ToText UserPoolMFAType where     toText = \case-        ON -> "ON"-        Off -> "OFF"-        Optional -> "OPTIONAL"+        UPMTON -> "ON"+        UPMTOff -> "OFF"+        UPMTOptional -> "OPTIONAL"  instance Hashable     UserPoolMFAType instance NFData       UserPoolMFAType@@ -624,3 +972,30 @@  instance FromJSON VerifiedAttributeType where     parseJSON = parseJSONText "VerifiedAttributeType"++data VerifySoftwareTokenResponseType+  = VSTRTError'+  | VSTRTSuccess+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText VerifySoftwareTokenResponseType where+    parser = takeLowerText >>= \case+        "error" -> pure VSTRTError'+        "success" -> pure VSTRTSuccess+        e -> fromTextError $ "Failure parsing VerifySoftwareTokenResponseType from value: '" <> e+           <> "'. Accepted values: error, success"++instance ToText VerifySoftwareTokenResponseType where+    toText = \case+        VSTRTError' -> "ERROR"+        VSTRTSuccess -> "SUCCESS"++instance Hashable     VerifySoftwareTokenResponseType+instance NFData       VerifySoftwareTokenResponseType+instance ToByteString VerifySoftwareTokenResponseType+instance ToQuery      VerifySoftwareTokenResponseType+instance ToHeader     VerifySoftwareTokenResponseType++instance FromJSON VerifySoftwareTokenResponseType where+    parseJSON = parseJSONText "VerifySoftwareTokenResponseType"
+ gen/Network/AWS/CognitoIdentityProvider/UpdateAuthEventFeedback.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback+-- Copyright   : (c) 2013-2018 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)+--+-- Provides the feedback for an authentication event whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.+--+--+module Network.AWS.CognitoIdentityProvider.UpdateAuthEventFeedback+    (+    -- * Creating a Request+      updateAuthEventFeedback+    , UpdateAuthEventFeedback+    -- * Request Lenses+    , uaefUserPoolId+    , uaefUsername+    , uaefEventId+    , uaefFeedbackToken+    , uaefFeedbackValue++    -- * Destructuring the Response+    , updateAuthEventFeedbackResponse+    , UpdateAuthEventFeedbackResponse+    -- * Response Lenses+    , uaefrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateAuthEventFeedback' smart constructor.+data UpdateAuthEventFeedback = UpdateAuthEventFeedback'+  { _uaefUserPoolId    :: !Text+  , _uaefUsername      :: !(Sensitive Text)+  , _uaefEventId       :: !Text+  , _uaefFeedbackToken :: !(Sensitive Text)+  , _uaefFeedbackValue :: !FeedbackValueType+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAuthEventFeedback' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uaefUserPoolId' - The user pool ID.+--+-- * 'uaefUsername' - The user pool username.+--+-- * 'uaefEventId' - The event ID.+--+-- * 'uaefFeedbackToken' - The feedback token.+--+-- * 'uaefFeedbackValue' - The authentication event feedback value.+updateAuthEventFeedback+    :: Text -- ^ 'uaefUserPoolId'+    -> Text -- ^ 'uaefUsername'+    -> Text -- ^ 'uaefEventId'+    -> Text -- ^ 'uaefFeedbackToken'+    -> FeedbackValueType -- ^ 'uaefFeedbackValue'+    -> UpdateAuthEventFeedback+updateAuthEventFeedback pUserPoolId_ pUsername_ pEventId_ pFeedbackToken_ pFeedbackValue_ =+  UpdateAuthEventFeedback'+    { _uaefUserPoolId = pUserPoolId_+    , _uaefUsername = _Sensitive # pUsername_+    , _uaefEventId = pEventId_+    , _uaefFeedbackToken = _Sensitive # pFeedbackToken_+    , _uaefFeedbackValue = pFeedbackValue_+    }+++-- | The user pool ID.+uaefUserPoolId :: Lens' UpdateAuthEventFeedback Text+uaefUserPoolId = lens _uaefUserPoolId (\ s a -> s{_uaefUserPoolId = a})++-- | The user pool username.+uaefUsername :: Lens' UpdateAuthEventFeedback Text+uaefUsername = lens _uaefUsername (\ s a -> s{_uaefUsername = a}) . _Sensitive++-- | The event ID.+uaefEventId :: Lens' UpdateAuthEventFeedback Text+uaefEventId = lens _uaefEventId (\ s a -> s{_uaefEventId = a})++-- | The feedback token.+uaefFeedbackToken :: Lens' UpdateAuthEventFeedback Text+uaefFeedbackToken = lens _uaefFeedbackToken (\ s a -> s{_uaefFeedbackToken = a}) . _Sensitive++-- | The authentication event feedback value.+uaefFeedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType+uaefFeedbackValue = lens _uaefFeedbackValue (\ s a -> s{_uaefFeedbackValue = a})++instance AWSRequest UpdateAuthEventFeedback where+        type Rs UpdateAuthEventFeedback =+             UpdateAuthEventFeedbackResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveEmpty+              (\ s h x ->+                 UpdateAuthEventFeedbackResponse' <$>+                   (pure (fromEnum s)))++instance Hashable UpdateAuthEventFeedback where++instance NFData UpdateAuthEventFeedback where++instance ToHeaders UpdateAuthEventFeedback where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.UpdateAuthEventFeedback"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateAuthEventFeedback where+        toJSON UpdateAuthEventFeedback'{..}+          = object+              (catMaybes+                 [Just ("UserPoolId" .= _uaefUserPoolId),+                  Just ("Username" .= _uaefUsername),+                  Just ("EventId" .= _uaefEventId),+                  Just ("FeedbackToken" .= _uaefFeedbackToken),+                  Just ("FeedbackValue" .= _uaefFeedbackValue)])++instance ToPath UpdateAuthEventFeedback where+        toPath = const "/"++instance ToQuery UpdateAuthEventFeedback where+        toQuery = const mempty++-- | /See:/ 'updateAuthEventFeedbackResponse' smart constructor.+newtype UpdateAuthEventFeedbackResponse = UpdateAuthEventFeedbackResponse'+  { _uaefrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateAuthEventFeedbackResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uaefrsResponseStatus' - -- | The response status code.+updateAuthEventFeedbackResponse+    :: Int -- ^ 'uaefrsResponseStatus'+    -> UpdateAuthEventFeedbackResponse+updateAuthEventFeedbackResponse pResponseStatus_ =+  UpdateAuthEventFeedbackResponse' {_uaefrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+uaefrsResponseStatus :: Lens' UpdateAuthEventFeedbackResponse Int+uaefrsResponseStatus = lens _uaefrsResponseStatus (\ s a -> s{_uaefrsResponseStatus = a})++instance NFData UpdateAuthEventFeedbackResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateDeviceStatus.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateDeviceStatus--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -72,23 +72,23 @@     -> UpdateDeviceStatus updateDeviceStatus pAccessToken_ pDeviceKey_ =   UpdateDeviceStatus'-  { _udsDeviceRememberedStatus = Nothing-  , _udsAccessToken = _Sensitive # pAccessToken_-  , _udsDeviceKey = pDeviceKey_-  }+    { _udsDeviceRememberedStatus = Nothing+    , _udsAccessToken = _Sensitive # pAccessToken_+    , _udsDeviceKey = pDeviceKey_+    }   -- | The status of whether a device is remembered. udsDeviceRememberedStatus :: Lens' UpdateDeviceStatus (Maybe DeviceRememberedStatusType)-udsDeviceRememberedStatus = lens _udsDeviceRememberedStatus (\ s a -> s{_udsDeviceRememberedStatus = a});+udsDeviceRememberedStatus = lens _udsDeviceRememberedStatus (\ s a -> s{_udsDeviceRememberedStatus = a})  -- | The access token. udsAccessToken :: Lens' UpdateDeviceStatus Text-udsAccessToken = lens _udsAccessToken (\ s a -> s{_udsAccessToken = a}) . _Sensitive;+udsAccessToken = lens _udsAccessToken (\ s a -> s{_udsAccessToken = a}) . _Sensitive  -- | The device key. udsDeviceKey :: Lens' UpdateDeviceStatus Text-udsDeviceKey = lens _udsDeviceKey (\ s a -> s{_udsDeviceKey = a});+udsDeviceKey = lens _udsDeviceKey (\ s a -> s{_udsDeviceKey = a})  instance AWSRequest UpdateDeviceStatus where         type Rs UpdateDeviceStatus =@@ -152,6 +152,6 @@  -- | -- | The response status code. udsrsResponseStatus :: Lens' UpdateDeviceStatusResponse Int-udsrsResponseStatus = lens _udsrsResponseStatus (\ s a -> s{_udsrsResponseStatus = a});+udsrsResponseStatus = lens _udsrsResponseStatus (\ s a -> s{_udsrsResponseStatus = a})  instance NFData UpdateDeviceStatusResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateGroup.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateGroup--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -64,7 +64,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ugPrecedence' - The new precedence value for the group. For more information about this parameter, see <API_CreateGroup.html CreateGroup> .+-- * 'ugPrecedence' - The new precedence value for the group. For more information about this parameter, see . -- -- * 'ugDescription' - A string containing the new description of the group. --@@ -79,33 +79,33 @@     -> UpdateGroup updateGroup pGroupName_ pUserPoolId_ =   UpdateGroup'-  { _ugPrecedence = Nothing-  , _ugDescription = Nothing-  , _ugRoleARN = Nothing-  , _ugGroupName = pGroupName_-  , _ugUserPoolId = pUserPoolId_-  }+    { _ugPrecedence = Nothing+    , _ugDescription = Nothing+    , _ugRoleARN = Nothing+    , _ugGroupName = pGroupName_+    , _ugUserPoolId = pUserPoolId_+    }  --- | The new precedence value for the group. For more information about this parameter, see <API_CreateGroup.html CreateGroup> .+-- | The new precedence value for the group. For more information about this parameter, see . ugPrecedence :: Lens' UpdateGroup (Maybe Natural)-ugPrecedence = lens _ugPrecedence (\ s a -> s{_ugPrecedence = a}) . mapping _Nat;+ugPrecedence = lens _ugPrecedence (\ s a -> s{_ugPrecedence = a}) . mapping _Nat  -- | A string containing the new description of the group. ugDescription :: Lens' UpdateGroup (Maybe Text)-ugDescription = lens _ugDescription (\ s a -> s{_ugDescription = a});+ugDescription = lens _ugDescription (\ s a -> s{_ugDescription = a})  -- | The new role ARN for the group. This is used for setting the @cognito:roles@ and @cognito:preferred_role@ claims in the token. ugRoleARN :: Lens' UpdateGroup (Maybe Text)-ugRoleARN = lens _ugRoleARN (\ s a -> s{_ugRoleARN = a});+ugRoleARN = lens _ugRoleARN (\ s a -> s{_ugRoleARN = a})  -- | The name of the group. ugGroupName :: Lens' UpdateGroup Text-ugGroupName = lens _ugGroupName (\ s a -> s{_ugGroupName = a});+ugGroupName = lens _ugGroupName (\ s a -> s{_ugGroupName = a})  -- | The user pool ID for the user pool. ugUserPoolId :: Lens' UpdateGroup Text-ugUserPoolId = lens _ugUserPoolId (\ s a -> s{_ugUserPoolId = a});+ugUserPoolId = lens _ugUserPoolId (\ s a -> s{_ugUserPoolId = a})  instance AWSRequest UpdateGroup where         type Rs UpdateGroup = UpdateGroupResponse@@ -165,15 +165,15 @@     -> UpdateGroupResponse updateGroupResponse pResponseStatus_ =   UpdateGroupResponse'-  {_ugrsGroup = Nothing, _ugrsResponseStatus = pResponseStatus_}+    {_ugrsGroup = Nothing, _ugrsResponseStatus = pResponseStatus_}   -- | The group object for the group. ugrsGroup :: Lens' UpdateGroupResponse (Maybe GroupType)-ugrsGroup = lens _ugrsGroup (\ s a -> s{_ugrsGroup = a});+ugrsGroup = lens _ugrsGroup (\ s a -> s{_ugrsGroup = a})  -- | -- | The response status code. ugrsResponseStatus :: Lens' UpdateGroupResponse Int-ugrsResponseStatus = lens _ugrsResponseStatus (\ s a -> s{_ugrsResponseStatus = a});+ugrsResponseStatus = lens _ugrsResponseStatus (\ s a -> s{_ugrsResponseStatus = a})  instance NFData UpdateGroupResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateIdentityProvider.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateIdentityProvider--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -77,33 +77,33 @@     -> UpdateIdentityProvider updateIdentityProvider pUserPoolId_ pProviderName_ =   UpdateIdentityProvider'-  { _uipIdpIdentifiers = Nothing-  , _uipAttributeMapping = Nothing-  , _uipProviderDetails = Nothing-  , _uipUserPoolId = pUserPoolId_-  , _uipProviderName = pProviderName_-  }+    { _uipIdpIdentifiers = Nothing+    , _uipAttributeMapping = Nothing+    , _uipProviderDetails = Nothing+    , _uipUserPoolId = pUserPoolId_+    , _uipProviderName = pProviderName_+    }   -- | A list of identity provider identifiers. uipIdpIdentifiers :: Lens' UpdateIdentityProvider [Text]-uipIdpIdentifiers = lens _uipIdpIdentifiers (\ s a -> s{_uipIdpIdentifiers = a}) . _Default . _Coerce;+uipIdpIdentifiers = lens _uipIdpIdentifiers (\ s a -> s{_uipIdpIdentifiers = a}) . _Default . _Coerce  -- | The identity provider attribute mapping to be changed. uipAttributeMapping :: Lens' UpdateIdentityProvider (HashMap Text Text)-uipAttributeMapping = lens _uipAttributeMapping (\ s a -> s{_uipAttributeMapping = a}) . _Default . _Map;+uipAttributeMapping = lens _uipAttributeMapping (\ s a -> s{_uipAttributeMapping = a}) . _Default . _Map  -- | The identity provider details to be updated, such as @MetadataURL@ and @MetadataFile@ . uipProviderDetails :: Lens' UpdateIdentityProvider (HashMap Text Text)-uipProviderDetails = lens _uipProviderDetails (\ s a -> s{_uipProviderDetails = a}) . _Default . _Map;+uipProviderDetails = lens _uipProviderDetails (\ s a -> s{_uipProviderDetails = a}) . _Default . _Map  -- | The user pool ID. uipUserPoolId :: Lens' UpdateIdentityProvider Text-uipUserPoolId = lens _uipUserPoolId (\ s a -> s{_uipUserPoolId = a});+uipUserPoolId = lens _uipUserPoolId (\ s a -> s{_uipUserPoolId = a})  -- | The identity provider name. uipProviderName :: Lens' UpdateIdentityProvider Text-uipProviderName = lens _uipProviderName (\ s a -> s{_uipProviderName = a});+uipProviderName = lens _uipProviderName (\ s a -> s{_uipProviderName = a})  instance AWSRequest UpdateIdentityProvider where         type Rs UpdateIdentityProvider =@@ -165,17 +165,17 @@     -> UpdateIdentityProviderResponse updateIdentityProviderResponse pResponseStatus_ pIdentityProvider_ =   UpdateIdentityProviderResponse'-  { _uiprsResponseStatus = pResponseStatus_-  , _uiprsIdentityProvider = pIdentityProvider_-  }+    { _uiprsResponseStatus = pResponseStatus_+    , _uiprsIdentityProvider = pIdentityProvider_+    }   -- | -- | The response status code. uiprsResponseStatus :: Lens' UpdateIdentityProviderResponse Int-uiprsResponseStatus = lens _uiprsResponseStatus (\ s a -> s{_uiprsResponseStatus = a});+uiprsResponseStatus = lens _uiprsResponseStatus (\ s a -> s{_uiprsResponseStatus = a})  -- | The identity provider object. uiprsIdentityProvider :: Lens' UpdateIdentityProviderResponse IdentityProviderType-uiprsIdentityProvider = lens _uiprsIdentityProvider (\ s a -> s{_uiprsIdentityProvider = a});+uiprsIdentityProvider = lens _uiprsIdentityProvider (\ s a -> s{_uiprsIdentityProvider = a})  instance NFData UpdateIdentityProviderResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateResourceServer.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateResourceServer--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -74,28 +74,28 @@     -> UpdateResourceServer updateResourceServer pUserPoolId_ pIdentifier_ pName_ =   UpdateResourceServer'-  { _ursScopes = Nothing-  , _ursUserPoolId = pUserPoolId_-  , _ursIdentifier = pIdentifier_-  , _ursName = pName_-  }+    { _ursScopes = Nothing+    , _ursUserPoolId = pUserPoolId_+    , _ursIdentifier = pIdentifier_+    , _ursName = pName_+    }   -- | The scope values to be set for the resource server. ursScopes :: Lens' UpdateResourceServer [ResourceServerScopeType]-ursScopes = lens _ursScopes (\ s a -> s{_ursScopes = a}) . _Default . _Coerce;+ursScopes = lens _ursScopes (\ s a -> s{_ursScopes = a}) . _Default . _Coerce  -- | The user pool ID for the user pool. ursUserPoolId :: Lens' UpdateResourceServer Text-ursUserPoolId = lens _ursUserPoolId (\ s a -> s{_ursUserPoolId = a});+ursUserPoolId = lens _ursUserPoolId (\ s a -> s{_ursUserPoolId = a})  -- | The identifier for the resource server. ursIdentifier :: Lens' UpdateResourceServer Text-ursIdentifier = lens _ursIdentifier (\ s a -> s{_ursIdentifier = a});+ursIdentifier = lens _ursIdentifier (\ s a -> s{_ursIdentifier = a})  -- | The name of the resource server. ursName :: Lens' UpdateResourceServer Text-ursName = lens _ursName (\ s a -> s{_ursName = a});+ursName = lens _ursName (\ s a -> s{_ursName = a})  instance AWSRequest UpdateResourceServer where         type Rs UpdateResourceServer =@@ -156,17 +156,17 @@     -> UpdateResourceServerResponse updateResourceServerResponse pResponseStatus_ pResourceServer_ =   UpdateResourceServerResponse'-  { _ursrsResponseStatus = pResponseStatus_-  , _ursrsResourceServer = pResourceServer_-  }+    { _ursrsResponseStatus = pResponseStatus_+    , _ursrsResourceServer = pResourceServer_+    }   -- | -- | The response status code. ursrsResponseStatus :: Lens' UpdateResourceServerResponse Int-ursrsResponseStatus = lens _ursrsResponseStatus (\ s a -> s{_ursrsResponseStatus = a});+ursrsResponseStatus = lens _ursrsResponseStatus (\ s a -> s{_ursrsResponseStatus = a})  -- | The resource server. ursrsResourceServer :: Lens' UpdateResourceServerResponse ResourceServerType-ursrsResourceServer = lens _ursrsResourceServer (\ s a -> s{_ursrsResourceServer = a});+ursrsResourceServer = lens _ursrsResourceServer (\ s a -> s{_ursrsResourceServer = a})  instance NFData UpdateResourceServerResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateUserAttributes.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateUserAttributes--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -68,16 +68,16 @@     -> UpdateUserAttributes updateUserAttributes pAccessToken_ =   UpdateUserAttributes'-  {_uuaUserAttributes = mempty, _uuaAccessToken = _Sensitive # pAccessToken_}+    {_uuaUserAttributes = mempty, _uuaAccessToken = _Sensitive # pAccessToken_}   -- | An array of name-value pairs representing user attributes. For custom attributes, you must prepend the @custom:@ prefix to the attribute name. uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType]-uuaUserAttributes = lens _uuaUserAttributes (\ s a -> s{_uuaUserAttributes = a}) . _Coerce;+uuaUserAttributes = lens _uuaUserAttributes (\ s a -> s{_uuaUserAttributes = a}) . _Coerce  -- | The access token for the request to update user attributes. uuaAccessToken :: Lens' UpdateUserAttributes Text-uuaAccessToken = lens _uuaAccessToken (\ s a -> s{_uuaAccessToken = a}) . _Sensitive;+uuaAccessToken = lens _uuaAccessToken (\ s a -> s{_uuaAccessToken = a}) . _Sensitive  instance AWSRequest UpdateUserAttributes where         type Rs UpdateUserAttributes =@@ -140,17 +140,17 @@     -> UpdateUserAttributesResponse updateUserAttributesResponse pResponseStatus_ =   UpdateUserAttributesResponse'-  { _uuarsCodeDeliveryDetailsList = Nothing-  , _uuarsResponseStatus = pResponseStatus_-  }+    { _uuarsCodeDeliveryDetailsList = Nothing+    , _uuarsResponseStatus = pResponseStatus_+    }   -- | The code delivery details list from the server for the request to update user attributes. uuarsCodeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse [CodeDeliveryDetailsType]-uuarsCodeDeliveryDetailsList = lens _uuarsCodeDeliveryDetailsList (\ s a -> s{_uuarsCodeDeliveryDetailsList = a}) . _Default . _Coerce;+uuarsCodeDeliveryDetailsList = lens _uuarsCodeDeliveryDetailsList (\ s a -> s{_uuarsCodeDeliveryDetailsList = a}) . _Default . _Coerce  -- | -- | The response status code. uuarsResponseStatus :: Lens' UpdateUserAttributesResponse Int-uuarsResponseStatus = lens _uuarsResponseStatus (\ s a -> s{_uuarsResponseStatus = a});+uuarsResponseStatus = lens _uuarsResponseStatus (\ s a -> s{_uuarsResponseStatus = a})  instance NFData UpdateUserAttributesResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateUserPool.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateUserPool--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -31,6 +31,7 @@     , uupVerificationMessageTemplate     , uupEmailVerificationMessage     , uupSmsAuthenticationMessage+    , uupUserPoolAddOns     , uupEmailVerificationSubject     , uupEmailConfiguration     , uupSmsVerificationMessage@@ -67,6 +68,7 @@   , _uupVerificationMessageTemplate :: !(Maybe VerificationMessageTemplateType)   , _uupEmailVerificationMessage    :: !(Maybe Text)   , _uupSmsAuthenticationMessage    :: !(Maybe Text)+  , _uupUserPoolAddOns              :: !(Maybe UserPoolAddOnsType)   , _uupEmailVerificationSubject    :: !(Maybe Text)   , _uupEmailConfiguration          :: !(Maybe EmailConfigurationType)   , _uupSmsVerificationMessage      :: !(Maybe Text)@@ -93,6 +95,8 @@ -- -- * 'uupSmsAuthenticationMessage' - The contents of the SMS authentication message. --+-- * 'uupUserPoolAddOns' - Used to enable advanced security risk detection. Set the key @AdvancedSecurityMode@ to the value "AUDIT".+-- -- * 'uupEmailVerificationSubject' - The subject of the email verification message. -- -- * 'uupEmailConfiguration' - Email configuration.@@ -119,83 +123,88 @@     -> UpdateUserPool updateUserPool pUserPoolId_ =   UpdateUserPool'-  { _uupUserPoolTags = Nothing-  , _uupVerificationMessageTemplate = Nothing-  , _uupEmailVerificationMessage = Nothing-  , _uupSmsAuthenticationMessage = Nothing-  , _uupEmailVerificationSubject = Nothing-  , _uupEmailConfiguration = Nothing-  , _uupSmsVerificationMessage = Nothing-  , _uupMFAConfiguration = Nothing-  , _uupLambdaConfig = Nothing-  , _uupSmsConfiguration = Nothing-  , _uupAdminCreateUserConfig = Nothing-  , _uupDeviceConfiguration = Nothing-  , _uupAutoVerifiedAttributes = Nothing-  , _uupPolicies = Nothing-  , _uupUserPoolId = pUserPoolId_-  }+    { _uupUserPoolTags = Nothing+    , _uupVerificationMessageTemplate = Nothing+    , _uupEmailVerificationMessage = Nothing+    , _uupSmsAuthenticationMessage = Nothing+    , _uupUserPoolAddOns = Nothing+    , _uupEmailVerificationSubject = Nothing+    , _uupEmailConfiguration = Nothing+    , _uupSmsVerificationMessage = Nothing+    , _uupMFAConfiguration = Nothing+    , _uupLambdaConfig = Nothing+    , _uupSmsConfiguration = Nothing+    , _uupAdminCreateUserConfig = Nothing+    , _uupDeviceConfiguration = Nothing+    , _uupAutoVerifiedAttributes = Nothing+    , _uupPolicies = Nothing+    , _uupUserPoolId = pUserPoolId_+    }   -- | The cost allocation tags for the user pool. For more information, see <http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html Adding Cost Allocation Tags to Your User Pool> uupUserPoolTags :: Lens' UpdateUserPool (HashMap Text Text)-uupUserPoolTags = lens _uupUserPoolTags (\ s a -> s{_uupUserPoolTags = a}) . _Default . _Map;+uupUserPoolTags = lens _uupUserPoolTags (\ s a -> s{_uupUserPoolTags = a}) . _Default . _Map  -- | The template for verification messages. uupVerificationMessageTemplate :: Lens' UpdateUserPool (Maybe VerificationMessageTemplateType)-uupVerificationMessageTemplate = lens _uupVerificationMessageTemplate (\ s a -> s{_uupVerificationMessageTemplate = a});+uupVerificationMessageTemplate = lens _uupVerificationMessageTemplate (\ s a -> s{_uupVerificationMessageTemplate = a})  -- | The contents of the email verification message. uupEmailVerificationMessage :: Lens' UpdateUserPool (Maybe Text)-uupEmailVerificationMessage = lens _uupEmailVerificationMessage (\ s a -> s{_uupEmailVerificationMessage = a});+uupEmailVerificationMessage = lens _uupEmailVerificationMessage (\ s a -> s{_uupEmailVerificationMessage = a})  -- | The contents of the SMS authentication message. uupSmsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text)-uupSmsAuthenticationMessage = lens _uupSmsAuthenticationMessage (\ s a -> s{_uupSmsAuthenticationMessage = a});+uupSmsAuthenticationMessage = lens _uupSmsAuthenticationMessage (\ s a -> s{_uupSmsAuthenticationMessage = a}) +-- | Used to enable advanced security risk detection. Set the key @AdvancedSecurityMode@ to the value "AUDIT".+uupUserPoolAddOns :: Lens' UpdateUserPool (Maybe UserPoolAddOnsType)+uupUserPoolAddOns = lens _uupUserPoolAddOns (\ s a -> s{_uupUserPoolAddOns = a})+ -- | The subject of the email verification message. uupEmailVerificationSubject :: Lens' UpdateUserPool (Maybe Text)-uupEmailVerificationSubject = lens _uupEmailVerificationSubject (\ s a -> s{_uupEmailVerificationSubject = a});+uupEmailVerificationSubject = lens _uupEmailVerificationSubject (\ s a -> s{_uupEmailVerificationSubject = a})  -- | Email configuration. uupEmailConfiguration :: Lens' UpdateUserPool (Maybe EmailConfigurationType)-uupEmailConfiguration = lens _uupEmailConfiguration (\ s a -> s{_uupEmailConfiguration = a});+uupEmailConfiguration = lens _uupEmailConfiguration (\ s a -> s{_uupEmailConfiguration = a})  -- | A container with information about the SMS verification message. uupSmsVerificationMessage :: Lens' UpdateUserPool (Maybe Text)-uupSmsVerificationMessage = lens _uupSmsVerificationMessage (\ s a -> s{_uupSmsVerificationMessage = a});+uupSmsVerificationMessage = lens _uupSmsVerificationMessage (\ s a -> s{_uupSmsVerificationMessage = a})  -- | 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. uupMFAConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMFAType)-uupMFAConfiguration = lens _uupMFAConfiguration (\ s a -> s{_uupMFAConfiguration = a});+uupMFAConfiguration = lens _uupMFAConfiguration (\ s a -> s{_uupMFAConfiguration = a})  -- | The AWS Lambda configuration information from the request to update the user pool. uupLambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType)-uupLambdaConfig = lens _uupLambdaConfig (\ s a -> s{_uupLambdaConfig = a});+uupLambdaConfig = lens _uupLambdaConfig (\ s a -> s{_uupLambdaConfig = a})  -- | SMS configuration. uupSmsConfiguration :: Lens' UpdateUserPool (Maybe SmsConfigurationType)-uupSmsConfiguration = lens _uupSmsConfiguration (\ s a -> s{_uupSmsConfiguration = a});+uupSmsConfiguration = lens _uupSmsConfiguration (\ s a -> s{_uupSmsConfiguration = a})  -- | The configuration for @AdminCreateUser@ requests. uupAdminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType)-uupAdminCreateUserConfig = lens _uupAdminCreateUserConfig (\ s a -> s{_uupAdminCreateUserConfig = a});+uupAdminCreateUserConfig = lens _uupAdminCreateUserConfig (\ s a -> s{_uupAdminCreateUserConfig = a})  -- | Device configuration. uupDeviceConfiguration :: Lens' UpdateUserPool (Maybe DeviceConfigurationType)-uupDeviceConfiguration = lens _uupDeviceConfiguration (\ s a -> s{_uupDeviceConfiguration = a});+uupDeviceConfiguration = lens _uupDeviceConfiguration (\ s a -> s{_uupDeviceConfiguration = a})  -- | The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools. uupAutoVerifiedAttributes :: Lens' UpdateUserPool [VerifiedAttributeType]-uupAutoVerifiedAttributes = lens _uupAutoVerifiedAttributes (\ s a -> s{_uupAutoVerifiedAttributes = a}) . _Default . _Coerce;+uupAutoVerifiedAttributes = lens _uupAutoVerifiedAttributes (\ s a -> s{_uupAutoVerifiedAttributes = a}) . _Default . _Coerce  -- | A container with the policies you wish to update in a user pool. uupPolicies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType)-uupPolicies = lens _uupPolicies (\ s a -> s{_uupPolicies = a});+uupPolicies = lens _uupPolicies (\ s a -> s{_uupPolicies = a})  -- | The user pool ID for the user pool you want to update. uupUserPoolId :: Lens' UpdateUserPool Text-uupUserPoolId = lens _uupUserPoolId (\ s a -> s{_uupUserPoolId = a});+uupUserPoolId = lens _uupUserPoolId (\ s a -> s{_uupUserPoolId = a})  instance AWSRequest UpdateUserPool where         type Rs UpdateUserPool = UpdateUserPoolResponse@@ -230,6 +239,7 @@                     _uupEmailVerificationMessage,                   ("SmsAuthenticationMessage" .=) <$>                     _uupSmsAuthenticationMessage,+                  ("UserPoolAddOns" .=) <$> _uupUserPoolAddOns,                   ("EmailVerificationSubject" .=) <$>                     _uupEmailVerificationSubject,                   ("EmailConfiguration" .=) <$> _uupEmailConfiguration,@@ -277,6 +287,6 @@  -- | -- | The response status code. uuprsResponseStatus :: Lens' UpdateUserPoolResponse Int-uuprsResponseStatus = lens _uuprsResponseStatus (\ s a -> s{_uuprsResponseStatus = a});+uuprsResponseStatus = lens _uuprsResponseStatus (\ s a -> s{_uuprsResponseStatus = a})  instance NFData UpdateUserPoolResponse where
gen/Network/AWS/CognitoIdentityProvider/UpdateUserPoolClient.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -37,6 +37,7 @@     , uupcReadAttributes     , uupcAllowedOAuthScopes     , uupcAllowedOAuthFlows+    , uupcAnalyticsConfiguration     , uupcClientName     , uupcCallbackURLs     , uupcUserPoolId@@ -73,6 +74,7 @@   , _uupcReadAttributes                  :: !(Maybe [Text])   , _uupcAllowedOAuthScopes              :: !(Maybe [Text])   , _uupcAllowedOAuthFlows               :: !(Maybe [OAuthFlowType])+  , _uupcAnalyticsConfiguration          :: !(Maybe AnalyticsConfigurationType)   , _uupcClientName                      :: !(Maybe Text)   , _uupcCallbackURLs                    :: !(Maybe [Text])   , _uupcUserPoolId                      :: !Text@@ -104,6 +106,8 @@ -- -- * 'uupcAllowedOAuthFlows' - 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. --+-- * 'uupcAnalyticsConfiguration' - The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.+-- -- * 'uupcClientName' - The client name from the update user pool client request. -- -- * 'uupcCallbackURLs' - A list of allowed callback URLs for the identity providers.@@ -117,78 +121,83 @@     -> UpdateUserPoolClient updateUserPoolClient pUserPoolId_ pClientId_ =   UpdateUserPoolClient'-  { _uupcRefreshTokenValidity = Nothing-  , _uupcExplicitAuthFlows = Nothing-  , _uupcSupportedIdentityProviders = Nothing-  , _uupcLogoutURLs = Nothing-  , _uupcAllowedOAuthFlowsUserPoolClient = Nothing-  , _uupcDefaultRedirectURI = Nothing-  , _uupcWriteAttributes = Nothing-  , _uupcReadAttributes = Nothing-  , _uupcAllowedOAuthScopes = Nothing-  , _uupcAllowedOAuthFlows = Nothing-  , _uupcClientName = Nothing-  , _uupcCallbackURLs = Nothing-  , _uupcUserPoolId = pUserPoolId_-  , _uupcClientId = _Sensitive # pClientId_-  }+    { _uupcRefreshTokenValidity = Nothing+    , _uupcExplicitAuthFlows = Nothing+    , _uupcSupportedIdentityProviders = Nothing+    , _uupcLogoutURLs = Nothing+    , _uupcAllowedOAuthFlowsUserPoolClient = Nothing+    , _uupcDefaultRedirectURI = Nothing+    , _uupcWriteAttributes = Nothing+    , _uupcReadAttributes = Nothing+    , _uupcAllowedOAuthScopes = Nothing+    , _uupcAllowedOAuthFlows = Nothing+    , _uupcAnalyticsConfiguration = Nothing+    , _uupcClientName = Nothing+    , _uupcCallbackURLs = Nothing+    , _uupcUserPoolId = pUserPoolId_+    , _uupcClientId = _Sensitive # pClientId_+    }   -- | The time limit, in days, after which the refresh token is no longer valid and cannot be used. uupcRefreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural)-uupcRefreshTokenValidity = lens _uupcRefreshTokenValidity (\ s a -> s{_uupcRefreshTokenValidity = a}) . mapping _Nat;+uupcRefreshTokenValidity = lens _uupcRefreshTokenValidity (\ s a -> s{_uupcRefreshTokenValidity = a}) . mapping _Nat  -- | Explicit authentication flows. uupcExplicitAuthFlows :: Lens' UpdateUserPoolClient [ExplicitAuthFlowsType]-uupcExplicitAuthFlows = lens _uupcExplicitAuthFlows (\ s a -> s{_uupcExplicitAuthFlows = a}) . _Default . _Coerce;+uupcExplicitAuthFlows = lens _uupcExplicitAuthFlows (\ s a -> s{_uupcExplicitAuthFlows = a}) . _Default . _Coerce  -- | A list of provider names for the identity providers that are supported on this client. uupcSupportedIdentityProviders :: Lens' UpdateUserPoolClient [Text]-uupcSupportedIdentityProviders = lens _uupcSupportedIdentityProviders (\ s a -> s{_uupcSupportedIdentityProviders = a}) . _Default . _Coerce;+uupcSupportedIdentityProviders = lens _uupcSupportedIdentityProviders (\ s a -> s{_uupcSupportedIdentityProviders = a}) . _Default . _Coerce  -- | A list of allowed logout URLs for the identity providers. uupcLogoutURLs :: Lens' UpdateUserPoolClient [Text]-uupcLogoutURLs = lens _uupcLogoutURLs (\ s a -> s{_uupcLogoutURLs = a}) . _Default . _Coerce;+uupcLogoutURLs = lens _uupcLogoutURLs (\ s a -> s{_uupcLogoutURLs = a}) . _Default . _Coerce  -- | Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. uupcAllowedOAuthFlowsUserPoolClient :: Lens' UpdateUserPoolClient (Maybe Bool)-uupcAllowedOAuthFlowsUserPoolClient = lens _uupcAllowedOAuthFlowsUserPoolClient (\ s a -> s{_uupcAllowedOAuthFlowsUserPoolClient = a});+uupcAllowedOAuthFlowsUserPoolClient = lens _uupcAllowedOAuthFlowsUserPoolClient (\ s a -> s{_uupcAllowedOAuthFlowsUserPoolClient = a})  -- | The default redirect URI. Must be in the @CallbackURLs@ list. uupcDefaultRedirectURI :: Lens' UpdateUserPoolClient (Maybe Text)-uupcDefaultRedirectURI = lens _uupcDefaultRedirectURI (\ s a -> s{_uupcDefaultRedirectURI = a});+uupcDefaultRedirectURI = lens _uupcDefaultRedirectURI (\ s a -> s{_uupcDefaultRedirectURI = a})  -- | The writeable attributes of the user pool. uupcWriteAttributes :: Lens' UpdateUserPoolClient [Text]-uupcWriteAttributes = lens _uupcWriteAttributes (\ s a -> s{_uupcWriteAttributes = a}) . _Default . _Coerce;+uupcWriteAttributes = lens _uupcWriteAttributes (\ s a -> s{_uupcWriteAttributes = a}) . _Default . _Coerce  -- | The read-only attributes of the user pool. uupcReadAttributes :: Lens' UpdateUserPoolClient [Text]-uupcReadAttributes = lens _uupcReadAttributes (\ s a -> s{_uupcReadAttributes = a}) . _Default . _Coerce;+uupcReadAttributes = lens _uupcReadAttributes (\ s a -> s{_uupcReadAttributes = a}) . _Default . _Coerce  -- | A list of allowed @OAuth@ scopes. Currently supported values are @"phone"@ , @"email"@ , @"openid"@ , and @"Cognito"@ . uupcAllowedOAuthScopes :: Lens' UpdateUserPoolClient [Text]-uupcAllowedOAuthScopes = lens _uupcAllowedOAuthScopes (\ s a -> s{_uupcAllowedOAuthScopes = a}) . _Default . _Coerce;+uupcAllowedOAuthScopes = lens _uupcAllowedOAuthScopes (\ s a -> s{_uupcAllowedOAuthScopes = a}) . _Default . _Coerce  -- | 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 @token@ to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly. uupcAllowedOAuthFlows :: Lens' UpdateUserPoolClient [OAuthFlowType]-uupcAllowedOAuthFlows = lens _uupcAllowedOAuthFlows (\ s a -> s{_uupcAllowedOAuthFlows = a}) . _Default . _Coerce;+uupcAllowedOAuthFlows = lens _uupcAllowedOAuthFlows (\ s a -> s{_uupcAllowedOAuthFlows = a}) . _Default . _Coerce +-- | The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.+uupcAnalyticsConfiguration :: Lens' UpdateUserPoolClient (Maybe AnalyticsConfigurationType)+uupcAnalyticsConfiguration = lens _uupcAnalyticsConfiguration (\ s a -> s{_uupcAnalyticsConfiguration = a})+ -- | The client name from the update user pool client request. uupcClientName :: Lens' UpdateUserPoolClient (Maybe Text)-uupcClientName = lens _uupcClientName (\ s a -> s{_uupcClientName = a});+uupcClientName = lens _uupcClientName (\ s a -> s{_uupcClientName = a})  -- | A list of allowed callback URLs for the identity providers. uupcCallbackURLs :: Lens' UpdateUserPoolClient [Text]-uupcCallbackURLs = lens _uupcCallbackURLs (\ s a -> s{_uupcCallbackURLs = a}) . _Default . _Coerce;+uupcCallbackURLs = lens _uupcCallbackURLs (\ s a -> s{_uupcCallbackURLs = a}) . _Default . _Coerce  -- | The user pool ID for the user pool where you want to update the user pool client. uupcUserPoolId :: Lens' UpdateUserPoolClient Text-uupcUserPoolId = lens _uupcUserPoolId (\ s a -> s{_uupcUserPoolId = a});+uupcUserPoolId = lens _uupcUserPoolId (\ s a -> s{_uupcUserPoolId = a})  -- | The ID of the client associated with the user pool. uupcClientId :: Lens' UpdateUserPoolClient Text-uupcClientId = lens _uupcClientId (\ s a -> s{_uupcClientId = a}) . _Sensitive;+uupcClientId = lens _uupcClientId (\ s a -> s{_uupcClientId = a}) . _Sensitive  instance AWSRequest UpdateUserPoolClient where         type Rs UpdateUserPoolClient =@@ -233,6 +242,8 @@                   ("AllowedOAuthScopes" .=) <$>                     _uupcAllowedOAuthScopes,                   ("AllowedOAuthFlows" .=) <$> _uupcAllowedOAuthFlows,+                  ("AnalyticsConfiguration" .=) <$>+                    _uupcAnalyticsConfiguration,                   ("ClientName" .=) <$> _uupcClientName,                   ("CallbackURLs" .=) <$> _uupcCallbackURLs,                   Just ("UserPoolId" .= _uupcUserPoolId),@@ -267,15 +278,15 @@     -> UpdateUserPoolClientResponse updateUserPoolClientResponse pResponseStatus_ =   UpdateUserPoolClientResponse'-  {_uupcrsUserPoolClient = Nothing, _uupcrsResponseStatus = pResponseStatus_}+    {_uupcrsUserPoolClient = Nothing, _uupcrsResponseStatus = pResponseStatus_}   -- | The user pool client value from the response from the server when an update user pool client request is made. uupcrsUserPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType)-uupcrsUserPoolClient = lens _uupcrsUserPoolClient (\ s a -> s{_uupcrsUserPoolClient = a});+uupcrsUserPoolClient = lens _uupcrsUserPoolClient (\ s a -> s{_uupcrsUserPoolClient = a})  -- | -- | The response status code. uupcrsResponseStatus :: Lens' UpdateUserPoolClientResponse Int-uupcrsResponseStatus = lens _uupcrsResponseStatus (\ s a -> s{_uupcrsResponseStatus = a});+uupcrsResponseStatus = lens _uupcrsResponseStatus (\ s a -> s{_uupcrsResponseStatus = a})  instance NFData UpdateUserPoolClientResponse where
+ gen/Network/AWS/CognitoIdentityProvider/VerifySoftwareToken.hs view
@@ -0,0 +1,179 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.CognitoIdentityProvider.VerifySoftwareToken+-- Copyright   : (c) 2013-2018 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)+--+-- Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful,+--+--+module Network.AWS.CognitoIdentityProvider.VerifySoftwareToken+    (+    -- * Creating a Request+      verifySoftwareToken+    , VerifySoftwareToken+    -- * Request Lenses+    , vstAccessToken+    , vstFriendlyDeviceName+    , vstSession+    , vstUserCode++    -- * Destructuring the Response+    , verifySoftwareTokenResponse+    , VerifySoftwareTokenResponse+    -- * Response Lenses+    , vstrsStatus+    , vstrsSession+    , vstrsResponseStatus+    ) where++import Network.AWS.CognitoIdentityProvider.Types+import Network.AWS.CognitoIdentityProvider.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'verifySoftwareToken' smart constructor.+data VerifySoftwareToken = VerifySoftwareToken'+  { _vstAccessToken        :: !(Maybe (Sensitive Text))+  , _vstFriendlyDeviceName :: !(Maybe Text)+  , _vstSession            :: !(Maybe Text)+  , _vstUserCode           :: !Text+  } deriving (Eq, Show, Data, Typeable, Generic)+++-- | Creates a value of 'VerifySoftwareToken' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'vstAccessToken' - The access token.+--+-- * 'vstFriendlyDeviceName' - The friendly device name.+--+-- * 'vstSession' - The session which should be passed both ways in challenge-response calls to the service.+--+-- * 'vstUserCode' - The one time password computed using the secret code returned by+verifySoftwareToken+    :: Text -- ^ 'vstUserCode'+    -> VerifySoftwareToken+verifySoftwareToken pUserCode_ =+  VerifySoftwareToken'+    { _vstAccessToken = Nothing+    , _vstFriendlyDeviceName = Nothing+    , _vstSession = Nothing+    , _vstUserCode = pUserCode_+    }+++-- | The access token.+vstAccessToken :: Lens' VerifySoftwareToken (Maybe Text)+vstAccessToken = lens _vstAccessToken (\ s a -> s{_vstAccessToken = a}) . mapping _Sensitive++-- | The friendly device name.+vstFriendlyDeviceName :: Lens' VerifySoftwareToken (Maybe Text)+vstFriendlyDeviceName = lens _vstFriendlyDeviceName (\ s a -> s{_vstFriendlyDeviceName = a})++-- | The session which should be passed both ways in challenge-response calls to the service.+vstSession :: Lens' VerifySoftwareToken (Maybe Text)+vstSession = lens _vstSession (\ s a -> s{_vstSession = a})++-- | The one time password computed using the secret code returned by+vstUserCode :: Lens' VerifySoftwareToken Text+vstUserCode = lens _vstUserCode (\ s a -> s{_vstUserCode = a})++instance AWSRequest VerifySoftwareToken where+        type Rs VerifySoftwareToken =+             VerifySoftwareTokenResponse+        request = postJSON cognitoIdentityProvider+        response+          = receiveJSON+              (\ s h x ->+                 VerifySoftwareTokenResponse' <$>+                   (x .?> "Status") <*> (x .?> "Session") <*>+                     (pure (fromEnum s)))++instance Hashable VerifySoftwareToken where++instance NFData VerifySoftwareToken where++instance ToHeaders VerifySoftwareToken where+        toHeaders+          = const+              (mconcat+                 ["X-Amz-Target" =#+                    ("AWSCognitoIdentityProviderService.VerifySoftwareToken"+                       :: ByteString),+                  "Content-Type" =#+                    ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON VerifySoftwareToken where+        toJSON VerifySoftwareToken'{..}+          = object+              (catMaybes+                 [("AccessToken" .=) <$> _vstAccessToken,+                  ("FriendlyDeviceName" .=) <$> _vstFriendlyDeviceName,+                  ("Session" .=) <$> _vstSession,+                  Just ("UserCode" .= _vstUserCode)])++instance ToPath VerifySoftwareToken where+        toPath = const "/"++instance ToQuery VerifySoftwareToken where+        toQuery = const mempty++-- | /See:/ 'verifySoftwareTokenResponse' smart constructor.+data VerifySoftwareTokenResponse = VerifySoftwareTokenResponse'+  { _vstrsStatus         :: !(Maybe VerifySoftwareTokenResponseType)+  , _vstrsSession        :: !(Maybe Text)+  , _vstrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'VerifySoftwareTokenResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'vstrsStatus' - The status of the verify software token.+--+-- * 'vstrsSession' - The session which should be passed both ways in challenge-response calls to the service.+--+-- * 'vstrsResponseStatus' - -- | The response status code.+verifySoftwareTokenResponse+    :: Int -- ^ 'vstrsResponseStatus'+    -> VerifySoftwareTokenResponse+verifySoftwareTokenResponse pResponseStatus_ =+  VerifySoftwareTokenResponse'+    { _vstrsStatus = Nothing+    , _vstrsSession = Nothing+    , _vstrsResponseStatus = pResponseStatus_+    }+++-- | The status of the verify software token.+vstrsStatus :: Lens' VerifySoftwareTokenResponse (Maybe VerifySoftwareTokenResponseType)+vstrsStatus = lens _vstrsStatus (\ s a -> s{_vstrsStatus = a})++-- | The session which should be passed both ways in challenge-response calls to the service.+vstrsSession :: Lens' VerifySoftwareTokenResponse (Maybe Text)+vstrsSession = lens _vstrsSession (\ s a -> s{_vstrsSession = a})++-- | -- | The response status code.+vstrsResponseStatus :: Lens' VerifySoftwareTokenResponse Int+vstrsResponseStatus = lens _vstrsResponseStatus (\ s a -> s{_vstrsResponseStatus = a})++instance NFData VerifySoftwareTokenResponse where
gen/Network/AWS/CognitoIdentityProvider/VerifyUserAttribute.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.VerifyUserAttribute--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -73,23 +73,23 @@     -> VerifyUserAttribute verifyUserAttribute pAccessToken_ pAttributeName_ pCode_ =   VerifyUserAttribute'-  { _vuaAccessToken = _Sensitive # pAccessToken_-  , _vuaAttributeName = pAttributeName_-  , _vuaCode = pCode_-  }+    { _vuaAccessToken = _Sensitive # pAccessToken_+    , _vuaAttributeName = pAttributeName_+    , _vuaCode = pCode_+    }   -- | Represents the access token of the request to verify user attributes. vuaAccessToken :: Lens' VerifyUserAttribute Text-vuaAccessToken = lens _vuaAccessToken (\ s a -> s{_vuaAccessToken = a}) . _Sensitive;+vuaAccessToken = lens _vuaAccessToken (\ s a -> s{_vuaAccessToken = a}) . _Sensitive  -- | The attribute name in the request to verify user attributes. vuaAttributeName :: Lens' VerifyUserAttribute Text-vuaAttributeName = lens _vuaAttributeName (\ s a -> s{_vuaAttributeName = a});+vuaAttributeName = lens _vuaAttributeName (\ s a -> s{_vuaAttributeName = a})  -- | The verification code in the request to verify user attributes. vuaCode :: Lens' VerifyUserAttribute Text-vuaCode = lens _vuaCode (\ s a -> s{_vuaCode = a});+vuaCode = lens _vuaCode (\ s a -> s{_vuaCode = a})  instance AWSRequest VerifyUserAttribute where         type Rs VerifyUserAttribute =@@ -152,6 +152,6 @@  -- | -- | The response status code. vuarsResponseStatus :: Lens' VerifyUserAttributeResponse Int-vuarsResponseStatus = lens _vuarsResponseStatus (\ s a -> s{_vuarsResponseStatus = a});+vuarsResponseStatus = lens _vuarsResponseStatus (\ s a -> s{_vuarsResponseStatus = a})  instance NFData VerifyUserAttributeResponse where
gen/Network/AWS/CognitoIdentityProvider/Waiters.hs view
@@ -7,7 +7,7 @@  -- | -- Module      : Network.AWS.CognitoIdentityProvider.Waiters--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated
test/Test/AWS/CognitoIdentityProvider.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-}  -- Module      : Test.AWS.CognitoIdentityProvider--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/CognitoIdentityProvider/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-}  -- Module      : Test.AWS.CognitoIdentityProvider.Internal--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Gen/CognitoIdentityProvider.hs view
@@ -5,7 +5,7 @@  -- | -- Module      : Test.AWS.Gen.CognitoIdentityProvider--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -49,6 +49,9 @@ --         , requestGetUserAttributeVerificationCode $ --             getUserAttributeVerificationCode --+--         , requestSetUserPoolMFAConfig $+--             setUserPoolMFAConfig+-- --         , requestUpdateUserAttributes $ --             updateUserAttributes --@@ -94,6 +97,9 @@ --         , requestListUsersInGroup $ --             listUsersInGroup --+--         , requestAssociateSoftwareToken $+--             associateSoftwareToken+-- --         , requestAdminDisableProviderForUser $ --             adminDisableProviderForUser --@@ -112,6 +118,9 @@ --         , requestAdminConfirmSignUp $ --             adminConfirmSignUp --+--         , requestAdminUpdateAuthEventFeedback $+--             adminUpdateAuthEventFeedback+-- --         , requestStartUserImportJob $ --             startUserImportJob --@@ -157,6 +166,9 @@ --         , requestAdminRemoveUserFromGroup $ --             adminRemoveUserFromGroup --+--         , requestSetRiskConfiguration $+--             setRiskConfiguration+-- --         , requestConfirmSignUp $ --             confirmSignUp --@@ -166,6 +178,9 @@ --         , requestAdminResetUserPassword $ --             adminResetUserPassword --+--         , requestUpdateAuthEventFeedback $+--             updateAuthEventFeedback+-- --         , requestCreateUserImportJob $ --             createUserImportJob --@@ -187,6 +202,9 @@ --         , requestDescribeResourceServer $ --             describeResourceServer --+--         , requestSetUserMFAPreference $+--             setUserMFAPreference+-- --         , requestAdminUpdateDeviceStatus $ --             adminUpdateDeviceStatus --@@ -199,6 +217,9 @@ --         , requestListUserPoolClients $ --             listUserPoolClients --+--         , requestAdminSetUserMFAPreference $+--             adminSetUserMFAPreference+-- --         , requestUpdateUserPoolClient $ --             updateUserPoolClient --@@ -211,27 +232,42 @@ --         , requestForgetDevice $ --             forgetDevice --+--         , requestGetSigningCertificate $+--             getSigningCertificate+-- --         , requestDeleteUser $ --             deleteUser -- --         , requestCreateUserPoolClient $ --             createUserPoolClient --+--         , requestGetUserPoolMFAConfig $+--             getUserPoolMFAConfig+-- --         , requestCreateResourceServer $ --             createResourceServer --+--         , requestAdminListUserAuthEvents $+--             adminListUserAuthEvents+-- --         , requestCreateGroup $ --             createGroup -- --         , requestAdminAddUserToGroup $ --             adminAddUserToGroup --+--         , requestVerifySoftwareToken $+--             verifySoftwareToken+-- --         , requestStopUserImportJob $ --             stopUserImportJob -- --         , requestDescribeUserImportJob $ --             describeUserImportJob --+--         , requestDescribeRiskConfiguration $+--             describeRiskConfiguration+-- --         , requestDeleteGroup $ --             deleteGroup --@@ -301,6 +337,9 @@ --         , responseGetUserAttributeVerificationCode $ --             getUserAttributeVerificationCodeResponse --+--         , responseSetUserPoolMFAConfig $+--             setUserPoolMFAConfigResponse+-- --         , responseUpdateUserAttributes $ --             updateUserAttributesResponse --@@ -346,6 +385,9 @@ --         , responseListUsersInGroup $ --             listUsersInGroupResponse --+--         , responseAssociateSoftwareToken $+--             associateSoftwareTokenResponse+-- --         , responseAdminDisableProviderForUser $ --             adminDisableProviderForUserResponse --@@ -364,6 +406,9 @@ --         , responseAdminConfirmSignUp $ --             adminConfirmSignUpResponse --+--         , responseAdminUpdateAuthEventFeedback $+--             adminUpdateAuthEventFeedbackResponse+-- --         , responseStartUserImportJob $ --             startUserImportJobResponse --@@ -409,6 +454,9 @@ --         , responseAdminRemoveUserFromGroup $ --             adminRemoveUserFromGroupResponse --+--         , responseSetRiskConfiguration $+--             setRiskConfigurationResponse+-- --         , responseConfirmSignUp $ --             confirmSignUpResponse --@@ -418,6 +466,9 @@ --         , responseAdminResetUserPassword $ --             adminResetUserPasswordResponse --+--         , responseUpdateAuthEventFeedback $+--             updateAuthEventFeedbackResponse+-- --         , responseCreateUserImportJob $ --             createUserImportJobResponse --@@ -439,6 +490,9 @@ --         , responseDescribeResourceServer $ --             describeResourceServerResponse --+--         , responseSetUserMFAPreference $+--             setUserMFAPreferenceResponse+-- --         , responseAdminUpdateDeviceStatus $ --             adminUpdateDeviceStatusResponse --@@ -451,6 +505,9 @@ --         , responseListUserPoolClients $ --             listUserPoolClientsResponse --+--         , responseAdminSetUserMFAPreference $+--             adminSetUserMFAPreferenceResponse+-- --         , responseUpdateUserPoolClient $ --             updateUserPoolClientResponse --@@ -463,27 +520,42 @@ --         , responseForgetDevice $ --             forgetDeviceResponse --+--         , responseGetSigningCertificate $+--             getSigningCertificateResponse+-- --         , responseDeleteUser $ --             deleteUserResponse -- --         , responseCreateUserPoolClient $ --             createUserPoolClientResponse --+--         , responseGetUserPoolMFAConfig $+--             getUserPoolMFAConfigResponse+-- --         , responseCreateResourceServer $ --             createResourceServerResponse --+--         , responseAdminListUserAuthEvents $+--             adminListUserAuthEventsResponse+-- --         , responseCreateGroup $ --             createGroupResponse -- --         , responseAdminAddUserToGroup $ --             adminAddUserToGroupResponse --+--         , responseVerifySoftwareToken $+--             verifySoftwareTokenResponse+-- --         , responseStopUserImportJob $ --             stopUserImportJobResponse -- --         , responseDescribeUserImportJob $ --             describeUserImportJobResponse --+--         , responseDescribeRiskConfiguration $+--             describeRiskConfigurationResponse+-- --         , responseDeleteGroup $ --             deleteGroupResponse --@@ -569,6 +641,11 @@     "GetUserAttributeVerificationCode"     "fixture/GetUserAttributeVerificationCode.yaml" +requestSetUserPoolMFAConfig :: SetUserPoolMFAConfig -> TestTree+requestSetUserPoolMFAConfig = req+    "SetUserPoolMFAConfig"+    "fixture/SetUserPoolMFAConfig.yaml"+ requestUpdateUserAttributes :: UpdateUserAttributes -> TestTree requestUpdateUserAttributes = req     "UpdateUserAttributes"@@ -644,6 +721,11 @@     "ListUsersInGroup"     "fixture/ListUsersInGroup.yaml" +requestAssociateSoftwareToken :: AssociateSoftwareToken -> TestTree+requestAssociateSoftwareToken = req+    "AssociateSoftwareToken"+    "fixture/AssociateSoftwareToken.yaml"+ requestAdminDisableProviderForUser :: AdminDisableProviderForUser -> TestTree requestAdminDisableProviderForUser = req     "AdminDisableProviderForUser"@@ -674,6 +756,11 @@     "AdminConfirmSignUp"     "fixture/AdminConfirmSignUp.yaml" +requestAdminUpdateAuthEventFeedback :: AdminUpdateAuthEventFeedback -> TestTree+requestAdminUpdateAuthEventFeedback = req+    "AdminUpdateAuthEventFeedback"+    "fixture/AdminUpdateAuthEventFeedback.yaml"+ requestStartUserImportJob :: StartUserImportJob -> TestTree requestStartUserImportJob = req     "StartUserImportJob"@@ -749,6 +836,11 @@     "AdminRemoveUserFromGroup"     "fixture/AdminRemoveUserFromGroup.yaml" +requestSetRiskConfiguration :: SetRiskConfiguration -> TestTree+requestSetRiskConfiguration = req+    "SetRiskConfiguration"+    "fixture/SetRiskConfiguration.yaml"+ requestConfirmSignUp :: ConfirmSignUp -> TestTree requestConfirmSignUp = req     "ConfirmSignUp"@@ -764,6 +856,11 @@     "AdminResetUserPassword"     "fixture/AdminResetUserPassword.yaml" +requestUpdateAuthEventFeedback :: UpdateAuthEventFeedback -> TestTree+requestUpdateAuthEventFeedback = req+    "UpdateAuthEventFeedback"+    "fixture/UpdateAuthEventFeedback.yaml"+ requestCreateUserImportJob :: CreateUserImportJob -> TestTree requestCreateUserImportJob = req     "CreateUserImportJob"@@ -799,6 +896,11 @@     "DescribeResourceServer"     "fixture/DescribeResourceServer.yaml" +requestSetUserMFAPreference :: SetUserMFAPreference -> TestTree+requestSetUserMFAPreference = req+    "SetUserMFAPreference"+    "fixture/SetUserMFAPreference.yaml"+ requestAdminUpdateDeviceStatus :: AdminUpdateDeviceStatus -> TestTree requestAdminUpdateDeviceStatus = req     "AdminUpdateDeviceStatus"@@ -819,6 +921,11 @@     "ListUserPoolClients"     "fixture/ListUserPoolClients.yaml" +requestAdminSetUserMFAPreference :: AdminSetUserMFAPreference -> TestTree+requestAdminSetUserMFAPreference = req+    "AdminSetUserMFAPreference"+    "fixture/AdminSetUserMFAPreference.yaml"+ requestUpdateUserPoolClient :: UpdateUserPoolClient -> TestTree requestUpdateUserPoolClient = req     "UpdateUserPoolClient"@@ -839,6 +946,11 @@     "ForgetDevice"     "fixture/ForgetDevice.yaml" +requestGetSigningCertificate :: GetSigningCertificate -> TestTree+requestGetSigningCertificate = req+    "GetSigningCertificate"+    "fixture/GetSigningCertificate.yaml"+ requestDeleteUser :: DeleteUser -> TestTree requestDeleteUser = req     "DeleteUser"@@ -849,11 +961,21 @@     "CreateUserPoolClient"     "fixture/CreateUserPoolClient.yaml" +requestGetUserPoolMFAConfig :: GetUserPoolMFAConfig -> TestTree+requestGetUserPoolMFAConfig = req+    "GetUserPoolMFAConfig"+    "fixture/GetUserPoolMFAConfig.yaml"+ requestCreateResourceServer :: CreateResourceServer -> TestTree requestCreateResourceServer = req     "CreateResourceServer"     "fixture/CreateResourceServer.yaml" +requestAdminListUserAuthEvents :: AdminListUserAuthEvents -> TestTree+requestAdminListUserAuthEvents = req+    "AdminListUserAuthEvents"+    "fixture/AdminListUserAuthEvents.yaml"+ requestCreateGroup :: CreateGroup -> TestTree requestCreateGroup = req     "CreateGroup"@@ -864,6 +986,11 @@     "AdminAddUserToGroup"     "fixture/AdminAddUserToGroup.yaml" +requestVerifySoftwareToken :: VerifySoftwareToken -> TestTree+requestVerifySoftwareToken = req+    "VerifySoftwareToken"+    "fixture/VerifySoftwareToken.yaml"+ requestStopUserImportJob :: StopUserImportJob -> TestTree requestStopUserImportJob = req     "StopUserImportJob"@@ -874,6 +1001,11 @@     "DescribeUserImportJob"     "fixture/DescribeUserImportJob.yaml" +requestDescribeRiskConfiguration :: DescribeRiskConfiguration -> TestTree+requestDescribeRiskConfiguration = req+    "DescribeRiskConfiguration"+    "fixture/DescribeRiskConfiguration.yaml"+ requestDeleteGroup :: DeleteGroup -> TestTree requestDeleteGroup = req     "DeleteGroup"@@ -1000,6 +1132,13 @@     cognitoIdentityProvider     (Proxy :: Proxy GetUserAttributeVerificationCode) +responseSetUserPoolMFAConfig :: SetUserPoolMFAConfigResponse -> TestTree+responseSetUserPoolMFAConfig = res+    "SetUserPoolMFAConfigResponse"+    "fixture/SetUserPoolMFAConfigResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy SetUserPoolMFAConfig)+ responseUpdateUserAttributes :: UpdateUserAttributesResponse -> TestTree responseUpdateUserAttributes = res     "UpdateUserAttributesResponse"@@ -1105,6 +1244,13 @@     cognitoIdentityProvider     (Proxy :: Proxy ListUsersInGroup) +responseAssociateSoftwareToken :: AssociateSoftwareTokenResponse -> TestTree+responseAssociateSoftwareToken = res+    "AssociateSoftwareTokenResponse"+    "fixture/AssociateSoftwareTokenResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy AssociateSoftwareToken)+ responseAdminDisableProviderForUser :: AdminDisableProviderForUserResponse -> TestTree responseAdminDisableProviderForUser = res     "AdminDisableProviderForUserResponse"@@ -1147,6 +1293,13 @@     cognitoIdentityProvider     (Proxy :: Proxy AdminConfirmSignUp) +responseAdminUpdateAuthEventFeedback :: AdminUpdateAuthEventFeedbackResponse -> TestTree+responseAdminUpdateAuthEventFeedback = res+    "AdminUpdateAuthEventFeedbackResponse"+    "fixture/AdminUpdateAuthEventFeedbackResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy AdminUpdateAuthEventFeedback)+ responseStartUserImportJob :: StartUserImportJobResponse -> TestTree responseStartUserImportJob = res     "StartUserImportJobResponse"@@ -1252,6 +1405,13 @@     cognitoIdentityProvider     (Proxy :: Proxy AdminRemoveUserFromGroup) +responseSetRiskConfiguration :: SetRiskConfigurationResponse -> TestTree+responseSetRiskConfiguration = res+    "SetRiskConfigurationResponse"+    "fixture/SetRiskConfigurationResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy SetRiskConfiguration)+ responseConfirmSignUp :: ConfirmSignUpResponse -> TestTree responseConfirmSignUp = res     "ConfirmSignUpResponse"@@ -1273,6 +1433,13 @@     cognitoIdentityProvider     (Proxy :: Proxy AdminResetUserPassword) +responseUpdateAuthEventFeedback :: UpdateAuthEventFeedbackResponse -> TestTree+responseUpdateAuthEventFeedback = res+    "UpdateAuthEventFeedbackResponse"+    "fixture/UpdateAuthEventFeedbackResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy UpdateAuthEventFeedback)+ responseCreateUserImportJob :: CreateUserImportJobResponse -> TestTree responseCreateUserImportJob = res     "CreateUserImportJobResponse"@@ -1322,6 +1489,13 @@     cognitoIdentityProvider     (Proxy :: Proxy DescribeResourceServer) +responseSetUserMFAPreference :: SetUserMFAPreferenceResponse -> TestTree+responseSetUserMFAPreference = res+    "SetUserMFAPreferenceResponse"+    "fixture/SetUserMFAPreferenceResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy SetUserMFAPreference)+ responseAdminUpdateDeviceStatus :: AdminUpdateDeviceStatusResponse -> TestTree responseAdminUpdateDeviceStatus = res     "AdminUpdateDeviceStatusResponse"@@ -1350,6 +1524,13 @@     cognitoIdentityProvider     (Proxy :: Proxy ListUserPoolClients) +responseAdminSetUserMFAPreference :: AdminSetUserMFAPreferenceResponse -> TestTree+responseAdminSetUserMFAPreference = res+    "AdminSetUserMFAPreferenceResponse"+    "fixture/AdminSetUserMFAPreferenceResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy AdminSetUserMFAPreference)+ responseUpdateUserPoolClient :: UpdateUserPoolClientResponse -> TestTree responseUpdateUserPoolClient = res     "UpdateUserPoolClientResponse"@@ -1378,6 +1559,13 @@     cognitoIdentityProvider     (Proxy :: Proxy ForgetDevice) +responseGetSigningCertificate :: GetSigningCertificateResponse -> TestTree+responseGetSigningCertificate = res+    "GetSigningCertificateResponse"+    "fixture/GetSigningCertificateResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy GetSigningCertificate)+ responseDeleteUser :: DeleteUserResponse -> TestTree responseDeleteUser = res     "DeleteUserResponse"@@ -1392,6 +1580,13 @@     cognitoIdentityProvider     (Proxy :: Proxy CreateUserPoolClient) +responseGetUserPoolMFAConfig :: GetUserPoolMFAConfigResponse -> TestTree+responseGetUserPoolMFAConfig = res+    "GetUserPoolMFAConfigResponse"+    "fixture/GetUserPoolMFAConfigResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy GetUserPoolMFAConfig)+ responseCreateResourceServer :: CreateResourceServerResponse -> TestTree responseCreateResourceServer = res     "CreateResourceServerResponse"@@ -1399,6 +1594,13 @@     cognitoIdentityProvider     (Proxy :: Proxy CreateResourceServer) +responseAdminListUserAuthEvents :: AdminListUserAuthEventsResponse -> TestTree+responseAdminListUserAuthEvents = res+    "AdminListUserAuthEventsResponse"+    "fixture/AdminListUserAuthEventsResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy AdminListUserAuthEvents)+ responseCreateGroup :: CreateGroupResponse -> TestTree responseCreateGroup = res     "CreateGroupResponse"@@ -1413,6 +1615,13 @@     cognitoIdentityProvider     (Proxy :: Proxy AdminAddUserToGroup) +responseVerifySoftwareToken :: VerifySoftwareTokenResponse -> TestTree+responseVerifySoftwareToken = res+    "VerifySoftwareTokenResponse"+    "fixture/VerifySoftwareTokenResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy VerifySoftwareToken)+ responseStopUserImportJob :: StopUserImportJobResponse -> TestTree responseStopUserImportJob = res     "StopUserImportJobResponse"@@ -1426,6 +1635,13 @@     "fixture/DescribeUserImportJobResponse.proto"     cognitoIdentityProvider     (Proxy :: Proxy DescribeUserImportJob)++responseDescribeRiskConfiguration :: DescribeRiskConfigurationResponse -> TestTree+responseDescribeRiskConfiguration = res+    "DescribeRiskConfigurationResponse"+    "fixture/DescribeRiskConfigurationResponse.proto"+    cognitoIdentityProvider+    (Proxy :: Proxy DescribeRiskConfiguration)  responseDeleteGroup :: DeleteGroupResponse -> TestTree responseDeleteGroup = res