libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.DeviceFarm.ListDevicePools

Description

Gets information about device pools.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDevicePools Source #

Represents the result of a list device pools request.

See: newListDevicePools smart constructor.

Constructors

ListDevicePools' 

Fields

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

  • type' :: Maybe DevicePoolType

    The device pools' type.

    Allowed values include:

    • CURATED: A device pool that is created and managed by AWS Device Farm.
    • PRIVATE: A device pool that is created and managed by the device pool developer.
  • arn :: Text

    The project ARN.

Instances

Instances details
Eq ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Read ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Show ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Generic ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Associated Types

type Rep ListDevicePools :: Type -> Type #

NFData ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Methods

rnf :: ListDevicePools -> () #

Hashable ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

ToJSON ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

AWSPager ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

AWSRequest ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Associated Types

type AWSResponse ListDevicePools #

ToHeaders ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

ToPath ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

ToQuery ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

type Rep ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

type Rep ListDevicePools = D1 ('MetaData "ListDevicePools" "Amazonka.DeviceFarm.ListDevicePools" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListDevicePools'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DevicePoolType)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDevicePools Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

newListDevicePools Source #

Create a value of ListDevicePools 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:ListDevicePools', listDevicePools_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.

$sel:type':ListDevicePools', listDevicePools_type - The device pools' type.

Allowed values include:

  • CURATED: A device pool that is created and managed by AWS Device Farm.
  • PRIVATE: A device pool that is created and managed by the device pool developer.

$sel:arn:ListDevicePools', listDevicePools_arn - The project ARN.

Request Lenses

listDevicePools_nextToken :: Lens' ListDevicePools (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.

listDevicePools_type :: Lens' ListDevicePools (Maybe DevicePoolType) Source #

The device pools' type.

Allowed values include:

  • CURATED: A device pool that is created and managed by AWS Device Farm.
  • PRIVATE: A device pool that is created and managed by the device pool developer.

Destructuring the Response

data ListDevicePoolsResponse Source #

Represents the result of a list device pools request.

See: newListDevicePoolsResponse smart constructor.

Constructors

ListDevicePoolsResponse' 

Fields

  • devicePools :: Maybe [DevicePool]

    Information about the device pools.

  • nextToken :: Maybe Text

    If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListDevicePoolsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Read ListDevicePoolsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Show ListDevicePoolsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Generic ListDevicePoolsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Associated Types

type Rep ListDevicePoolsResponse :: Type -> Type #

NFData ListDevicePoolsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

Methods

rnf :: ListDevicePoolsResponse -> () #

type Rep ListDevicePoolsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListDevicePools

type Rep ListDevicePoolsResponse = D1 ('MetaData "ListDevicePoolsResponse" "Amazonka.DeviceFarm.ListDevicePools" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListDevicePoolsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "devicePools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DevicePool])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDevicePoolsResponse Source #

Create a value of ListDevicePoolsResponse 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:devicePools:ListDevicePoolsResponse', listDevicePoolsResponse_devicePools - Information about the device pools.

$sel:nextToken:ListDevicePools', listDevicePoolsResponse_nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

$sel:httpStatus:ListDevicePoolsResponse', listDevicePoolsResponse_httpStatus - The response's http status code.

Response Lenses

listDevicePoolsResponse_nextToken :: Lens' ListDevicePoolsResponse (Maybe Text) Source #

If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.