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.AdminUpdateDeviceStatus

Description

Updates the device status as an administrator.

Calling this action requires developer credentials.

Synopsis

Creating a Request

data AdminUpdateDeviceStatus Source #

The request to update the device status, as an administrator.

See: newAdminUpdateDeviceStatus smart constructor.

Constructors

AdminUpdateDeviceStatus' 

Fields

Instances

Instances details
Eq AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Show AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Generic AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Associated Types

type Rep AdminUpdateDeviceStatus :: Type -> Type #

NFData AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Methods

rnf :: AdminUpdateDeviceStatus -> () #

Hashable AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

ToJSON AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

AWSRequest AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

ToHeaders AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

ToPath AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

ToQuery AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

type Rep AdminUpdateDeviceStatus Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

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

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

newAdminUpdateDeviceStatus Source #

Create a value of AdminUpdateDeviceStatus 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:deviceRememberedStatus:AdminUpdateDeviceStatus', adminUpdateDeviceStatus_deviceRememberedStatus - The status indicating whether a device has been remembered or not.

$sel:userPoolId:AdminUpdateDeviceStatus', adminUpdateDeviceStatus_userPoolId - The user pool ID.

$sel:username:AdminUpdateDeviceStatus', adminUpdateDeviceStatus_username - The user name.

$sel:deviceKey:AdminUpdateDeviceStatus', adminUpdateDeviceStatus_deviceKey - The device key.

Request Lenses

adminUpdateDeviceStatus_deviceRememberedStatus :: Lens' AdminUpdateDeviceStatus (Maybe DeviceRememberedStatusType) Source #

The status indicating whether a device has been remembered or not.

Destructuring the Response

data AdminUpdateDeviceStatusResponse Source #

The status response from the request to update the device, as an administrator.

See: newAdminUpdateDeviceStatusResponse smart constructor.

Constructors

AdminUpdateDeviceStatusResponse' 

Fields

Instances

Instances details
Eq AdminUpdateDeviceStatusResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Read AdminUpdateDeviceStatusResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Show AdminUpdateDeviceStatusResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Generic AdminUpdateDeviceStatusResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

Associated Types

type Rep AdminUpdateDeviceStatusResponse :: Type -> Type #

NFData AdminUpdateDeviceStatusResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

type Rep AdminUpdateDeviceStatusResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUpdateDeviceStatus

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

newAdminUpdateDeviceStatusResponse Source #

Create a value of AdminUpdateDeviceStatusResponse 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:AdminUpdateDeviceStatusResponse', adminUpdateDeviceStatusResponse_httpStatus - The response's http status code.

Response Lenses