amazonka-devicefarm-2.0: Amazon Device Farm 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.DeviceFarm.ListDeviceInstances

Description

Returns information about the private device instances associated with one or more AWS accounts.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDeviceInstances Source #

See: newListDeviceInstances smart constructor.

Constructors

ListDeviceInstances' 

Fields

  • maxResults :: Maybe Int

    An integer that specifies the maximum number of items you want to return in the API response.

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Instances

Instances details
ToJSON ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

ToHeaders ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

ToPath ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

ToQuery ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

AWSPager ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

AWSRequest ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Associated Types

type AWSResponse ListDeviceInstances #

Generic ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Associated Types

type Rep ListDeviceInstances :: Type -> Type #

Read ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Show ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

NFData ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Methods

rnf :: ListDeviceInstances -> () #

Eq ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Hashable ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

type AWSResponse ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

type Rep ListDeviceInstances Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

type Rep ListDeviceInstances = D1 ('MetaData "ListDeviceInstances" "Amazonka.DeviceFarm.ListDeviceInstances" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "ListDeviceInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListDeviceInstances :: ListDeviceInstances Source #

Create a value of ListDeviceInstances 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:maxResults:ListDeviceInstances', listDeviceInstances_maxResults - An integer that specifies the maximum number of items you want to return in the API response.

ListDeviceInstances, listDeviceInstances_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Request Lenses

listDeviceInstances_maxResults :: Lens' ListDeviceInstances (Maybe Int) Source #

An integer that specifies the maximum number of items you want to return in the API response.

listDeviceInstances_nextToken :: Lens' ListDeviceInstances (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Destructuring the Response

data ListDeviceInstancesResponse Source #

See: newListDeviceInstancesResponse smart constructor.

Constructors

ListDeviceInstancesResponse' 

Fields

Instances

Instances details
Generic ListDeviceInstancesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Associated Types

type Rep ListDeviceInstancesResponse :: Type -> Type #

Read ListDeviceInstancesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Show ListDeviceInstancesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

NFData ListDeviceInstancesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

Eq ListDeviceInstancesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

type Rep ListDeviceInstancesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDeviceInstances

type Rep ListDeviceInstancesResponse = D1 ('MetaData "ListDeviceInstancesResponse" "Amazonka.DeviceFarm.ListDeviceInstances" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "ListDeviceInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceInstance])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDeviceInstancesResponse Source #

Create a value of ListDeviceInstancesResponse 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:deviceInstances:ListDeviceInstancesResponse', listDeviceInstancesResponse_deviceInstances - An object that contains information about your device instances.

ListDeviceInstances, listDeviceInstancesResponse_nextToken - An identifier that can be used in the next call to this operation to return the next set of items in the list.

$sel:httpStatus:ListDeviceInstancesResponse', listDeviceInstancesResponse_httpStatus - The response's http status code.

Response Lenses

listDeviceInstancesResponse_deviceInstances :: Lens' ListDeviceInstancesResponse (Maybe [DeviceInstance]) Source #

An object that contains information about your device instances.

listDeviceInstancesResponse_nextToken :: Lens' ListDeviceInstancesResponse (Maybe Text) Source #

An identifier that can be used in the next call to this operation to return the next set of items in the list.