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

Description

Lists the devices.

Synopsis

Creating a Request

data ListDevices Source #

Represents the request to list the devices.

See: newListDevices smart constructor.

Constructors

ListDevices' 

Fields

Instances

Instances details
Eq ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Show ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Generic ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Associated Types

type Rep ListDevices :: Type -> Type #

NFData ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Methods

rnf :: ListDevices -> () #

Hashable ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

ToJSON ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

AWSRequest ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Associated Types

type AWSResponse ListDevices #

ToHeaders ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

ToQuery ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

type Rep ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

type Rep ListDevices = D1 ('MetaData "ListDevices" "Amazonka.CognitoIdentityProvider.ListDevices" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ListDevices'" '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 "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))
type AWSResponse ListDevices Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

newListDevices Source #

Create a value of ListDevices 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:ListDevices', listDevices_paginationToken - The pagination token for the list request.

$sel:limit:ListDevices', listDevices_limit - The limit of the device request.

$sel:accessToken:ListDevices', listDevices_accessToken - The access tokens for the request to list devices.

Request Lenses

listDevices_paginationToken :: Lens' ListDevices (Maybe Text) Source #

The pagination token for the list request.

listDevices_limit :: Lens' ListDevices (Maybe Natural) Source #

The limit of the device request.

listDevices_accessToken :: Lens' ListDevices Text Source #

The access tokens for the request to list devices.

Destructuring the Response

data ListDevicesResponse Source #

Represents the response to list devices.

See: newListDevicesResponse smart constructor.

Constructors

ListDevicesResponse' 

Fields

Instances

Instances details
Eq ListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Show ListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Generic ListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

NFData ListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListDevices

type Rep ListDevicesResponse = D1 ('MetaData "ListDevicesResponse" "Amazonka.CognitoIdentityProvider.ListDevices" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ListDevicesResponse'" '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))))

newListDevicesResponse Source #

Create a value of ListDevicesResponse 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:ListDevices', listDevicesResponse_paginationToken - The pagination token for the list device response.

$sel:devices:ListDevicesResponse', listDevicesResponse_devices - The devices returned in the list devices response.

$sel:httpStatus:ListDevicesResponse', listDevicesResponse_httpStatus - The response's http status code.

Response Lenses

listDevicesResponse_paginationToken :: Lens' ListDevicesResponse (Maybe Text) Source #

The pagination token for the list device response.

listDevicesResponse_devices :: Lens' ListDevicesResponse (Maybe [DeviceType]) Source #

The devices returned in the list devices response.