libZSservicesZSamazonka-worklinkZSamazonka-worklink
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.WorkLink.ListDevices

Description

Retrieves a list of devices registered with the specified fleet.

Synopsis

Creating a Request

data ListDevices Source #

See: newListDevices smart constructor.

Constructors

ListDevices' 

Fields

  • nextToken :: Maybe Text

    The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • maxResults :: Maybe Natural

    The maximum number of results to be included in the next page.

  • fleetArn :: Text

    The ARN of the fleet.

Instances

Instances details
Eq ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Read ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Show ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Generic ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Associated Types

type Rep ListDevices :: Type -> Type #

NFData ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Methods

rnf :: ListDevices -> () #

Hashable ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

ToJSON ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

AWSRequest ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Associated Types

type AWSResponse ListDevices #

ToHeaders ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

ToQuery ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

type Rep ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

type Rep ListDevices = D1 ('MetaData "ListDevices" "Amazonka.WorkLink.ListDevices" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "ListDevices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "fleetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDevices Source # 
Instance details

Defined in Amazonka.WorkLink.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:nextToken:ListDevices', listDevices_nextToken - The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:maxResults:ListDevices', listDevices_maxResults - The maximum number of results to be included in the next page.

$sel:fleetArn:ListDevices', listDevices_fleetArn - The ARN of the fleet.

Request Lenses

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

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

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

The maximum number of results to be included in the next page.

Destructuring the Response

data ListDevicesResponse Source #

See: newListDevicesResponse smart constructor.

Constructors

ListDevicesResponse' 

Fields

Instances

Instances details
Eq ListDevicesResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Read ListDevicesResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Show ListDevicesResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Generic ListDevicesResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

NFData ListDevicesResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListDevices

type Rep ListDevicesResponse = D1 ('MetaData "ListDevicesResponse" "Amazonka.WorkLink.ListDevices" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "ListDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceSummary])) :*: 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:nextToken:ListDevices', listDevicesResponse_nextToken - The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:devices:ListDevicesResponse', listDevicesResponse_devices - Information about the devices.

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

Response Lenses

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

The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.