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

Description

Gets information about samples, given an AWS Device Farm job ARN.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSamples Source #

Represents a request to the list samples operation.

See: newListSamples smart constructor.

Constructors

ListSamples' 

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.

  • arn :: Text

    The Amazon Resource Name (ARN) of the job used to list samples.

Instances

Instances details
Eq ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Read ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Show ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Generic ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Associated Types

type Rep ListSamples :: Type -> Type #

NFData ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Methods

rnf :: ListSamples -> () #

Hashable ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

ToJSON ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

AWSPager ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

AWSRequest ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Associated Types

type AWSResponse ListSamples #

ToHeaders ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Methods

toHeaders :: ListSamples -> [Header] #

ToPath ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

ToQuery ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

type Rep ListSamples Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

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

Defined in Amazonka.DeviceFarm.ListSamples

newListSamples Source #

Create a value of ListSamples 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:ListSamples', listSamples_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:arn:ListSamples', listSamples_arn - The Amazon Resource Name (ARN) of the job used to list samples.

Request Lenses

listSamples_nextToken :: Lens' ListSamples (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.

listSamples_arn :: Lens' ListSamples Text Source #

The Amazon Resource Name (ARN) of the job used to list samples.

Destructuring the Response

data ListSamplesResponse Source #

Represents the result of a list samples request.

See: newListSamplesResponse smart constructor.

Constructors

ListSamplesResponse' 

Fields

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

  • samples :: Maybe [Sample]

    Information about the samples.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListSamplesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Read ListSamplesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Show ListSamplesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Generic ListSamplesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Associated Types

type Rep ListSamplesResponse :: Type -> Type #

NFData ListSamplesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

Methods

rnf :: ListSamplesResponse -> () #

type Rep ListSamplesResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListSamples

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

newListSamplesResponse Source #

Create a value of ListSamplesResponse 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:ListSamples', listSamplesResponse_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:samples:ListSamplesResponse', listSamplesResponse_samples - Information about the samples.

$sel:httpStatus:ListSamplesResponse', listSamplesResponse_httpStatus - The response's http status code.

Response Lenses

listSamplesResponse_nextToken :: Lens' ListSamplesResponse (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.