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

Description

Lists devices, as an administrator.

Calling this action requires developer credentials.

Synopsis

Creating a Request

data AdminListDevices Source #

Represents the request to list devices, as an administrator.

See: newAdminListDevices smart constructor.

Constructors

AdminListDevices' 

Fields

Instances

Instances details
Eq AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Show AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Generic AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Associated Types

type Rep AdminListDevices :: Type -> Type #

NFData AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Methods

rnf :: AdminListDevices -> () #

Hashable AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

ToJSON AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

AWSRequest AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Associated Types

type AWSResponse AdminListDevices #

ToHeaders AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

ToPath AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

ToQuery AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

type Rep AdminListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

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

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

newAdminListDevices Source #

Create a value of AdminListDevices 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:paginationToken:AdminListDevices', adminListDevices_paginationToken - The pagination token.

$sel:limit:AdminListDevices', adminListDevices_limit - The limit of the devices request.

$sel:userPoolId:AdminListDevices', adminListDevices_userPoolId - The user pool ID.

$sel:username:AdminListDevices', adminListDevices_username - The user name.

Request Lenses

adminListDevices_limit :: Lens' AdminListDevices (Maybe Natural) Source #

The limit of the devices request.

Destructuring the Response

data AdminListDevicesResponse Source #

Lists the device's response, as an administrator.

See: newAdminListDevicesResponse smart constructor.

Constructors

AdminListDevicesResponse' 

Fields

Instances

Instances details
Eq AdminListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Show AdminListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Generic AdminListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

Associated Types

type Rep AdminListDevicesResponse :: Type -> Type #

NFData AdminListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

type Rep AdminListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListDevices

type Rep AdminListDevicesResponse = D1 ('MetaData "AdminListDevicesResponse" "Amazonka.CognitoIdentityProvider.AdminListDevices" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminListDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAdminListDevicesResponse Source #

Create a value of AdminListDevicesResponse 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:paginationToken:AdminListDevices', adminListDevicesResponse_paginationToken - The pagination token.

$sel:devices:AdminListDevicesResponse', adminListDevicesResponse_devices - The devices in the list of devices response.

$sel:httpStatus:AdminListDevicesResponse', adminListDevicesResponse_httpStatus - The response's http status code.

Response Lenses

adminListDevicesResponse_devices :: Lens' AdminListDevicesResponse (Maybe [DeviceType]) Source #

The devices in the list of devices response.