libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Description

This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead.

Synopsis

Creating a Request

data AdminSetUserSettings Source #

You can use this parameter to set an MFA configuration that uses the SMS delivery medium.

See: newAdminSetUserSettings smart constructor.

Constructors

AdminSetUserSettings' 

Fields

  • userPoolId :: Text

    The ID of the user pool that contains the user that you are setting options for.

  • username :: Sensitive Text

    The user name of the user that you are setting options for.

  • mfaOptions :: [MFAOptionType]

    You can use this parameter only to set an SMS configuration that uses SMS for delivery.

Instances

Instances details
Eq AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Show AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Generic AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Associated Types

type Rep AdminSetUserSettings :: Type -> Type #

NFData AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Methods

rnf :: AdminSetUserSettings -> () #

Hashable AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

ToJSON AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

AWSRequest AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Associated Types

type AWSResponse AdminSetUserSettings #

ToHeaders AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

ToPath AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

ToQuery AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

type Rep AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

type Rep AdminSetUserSettings = D1 ('MetaData "AdminSetUserSettings" "Amazonka.CognitoIdentityProvider.AdminSetUserSettings" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminSetUserSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "mfaOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MFAOptionType]))))
type AWSResponse AdminSetUserSettings Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

newAdminSetUserSettings Source #

Create a value of AdminSetUserSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userPoolId:AdminSetUserSettings', adminSetUserSettings_userPoolId - The ID of the user pool that contains the user that you are setting options for.

$sel:username:AdminSetUserSettings', adminSetUserSettings_username - The user name of the user that you are setting options for.

$sel:mfaOptions:AdminSetUserSettings', adminSetUserSettings_mfaOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.

Request Lenses

adminSetUserSettings_userPoolId :: Lens' AdminSetUserSettings Text Source #

The ID of the user pool that contains the user that you are setting options for.

adminSetUserSettings_username :: Lens' AdminSetUserSettings Text Source #

The user name of the user that you are setting options for.

adminSetUserSettings_mfaOptions :: Lens' AdminSetUserSettings [MFAOptionType] Source #

You can use this parameter only to set an SMS configuration that uses SMS for delivery.

Destructuring the Response

data AdminSetUserSettingsResponse Source #

Represents the response from the server to set user settings as an administrator.

See: newAdminSetUserSettingsResponse smart constructor.

Constructors

AdminSetUserSettingsResponse' 

Fields

Instances

Instances details
Eq AdminSetUserSettingsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Read AdminSetUserSettingsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Show AdminSetUserSettingsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Generic AdminSetUserSettingsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

Associated Types

type Rep AdminSetUserSettingsResponse :: Type -> Type #

NFData AdminSetUserSettingsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

type Rep AdminSetUserSettingsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminSetUserSettings

type Rep AdminSetUserSettingsResponse = D1 ('MetaData "AdminSetUserSettingsResponse" "Amazonka.CognitoIdentityProvider.AdminSetUserSettings" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminSetUserSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAdminSetUserSettingsResponse Source #

Create a value of AdminSetUserSettingsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:AdminSetUserSettingsResponse', adminSetUserSettingsResponse_httpStatus - The response's http status code.

Response Lenses