amazonka-panorama-2.0: Amazon Panorama SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Panorama.ListDevices

Description

Returns a list of devices.

Synopsis

Creating a Request

data ListDevices Source #

See: newListDevices smart constructor.

Constructors

ListDevices' 

Fields

Instances

Instances details
ToHeaders ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

ToQuery ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

AWSRequest ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Associated Types

type AWSResponse ListDevices #

Generic ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Associated Types

type Rep ListDevices :: Type -> Type #

Read ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Show ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

NFData ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Methods

rnf :: ListDevices -> () #

Eq ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Hashable ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

type AWSResponse ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

type Rep ListDevices Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

newListDevices :: ListDevices 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:deviceAggregatedStatusFilter:ListDevices', listDevices_deviceAggregatedStatusFilter - Filter based on a device's status.

$sel:maxResults:ListDevices', listDevices_maxResults - The maximum number of devices to return in one page of results.

$sel:nameFilter:ListDevices', listDevices_nameFilter - Filter based on device's name. Prefixes supported.

ListDevices, listDevices_nextToken - Specify the pagination token from a previous request to retrieve the next page of results.

$sel:sortBy:ListDevices', listDevices_sortBy - The target column to be sorted on. Default column sort is CREATED_TIME.

$sel:sortOrder:ListDevices', listDevices_sortOrder - The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING.

Request Lenses

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

The maximum number of devices to return in one page of results.

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

Filter based on device's name. Prefixes supported.

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

Specify the pagination token from a previous request to retrieve the next page of results.

listDevices_sortBy :: Lens' ListDevices (Maybe ListDevicesSortBy) Source #

The target column to be sorted on. Default column sort is CREATED_TIME.

listDevices_sortOrder :: Lens' ListDevices (Maybe SortOrder) Source #

The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING.

Destructuring the Response

data ListDevicesResponse Source #

See: newListDevicesResponse smart constructor.

Constructors

ListDevicesResponse' 

Fields

Instances

Instances details
Generic ListDevicesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

Read ListDevicesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Show ListDevicesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

NFData ListDevicesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

Methods

rnf :: ListDevicesResponse -> () #

Eq ListDevicesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

type Rep ListDevicesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListDevices

type Rep ListDevicesResponse = D1 ('MetaData "ListDevicesResponse" "Amazonka.Panorama.ListDevices" "amazonka-panorama-2.0-9Y2Sxd8ToqsBjPczgPI6n1" 'False) (C1 ('MetaCons "ListDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Device]))))

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:

ListDevices, listDevicesResponse_nextToken - A pagination token that's included if more results are available.

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

$sel:devices:ListDevicesResponse', listDevicesResponse_devices - A list of devices.

Response Lenses

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

A pagination token that's included if more results are available.