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

Description

Gets information about tests in a given test suite.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTests Source #

Represents a request to the list tests operation.

See: newListTests smart constructor.

Constructors

ListTests' 

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 test suite's Amazon Resource Name (ARN).

Instances

Instances details
Eq ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Read ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Show ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Generic ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Associated Types

type Rep ListTests :: Type -> Type #

NFData ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Methods

rnf :: ListTests -> () #

Hashable ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

ToJSON ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

AWSPager ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

AWSRequest ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Associated Types

type AWSResponse ListTests #

ToHeaders ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Methods

toHeaders :: ListTests -> [Header] #

ToPath ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

ToQuery ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

type Rep ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

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

Defined in Amazonka.DeviceFarm.ListTests

newListTests Source #

Create a value of ListTests 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:ListTests', listTests_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:ListTests', listTests_arn - The test suite's Amazon Resource Name (ARN).

Request Lenses

listTests_nextToken :: Lens' ListTests (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.

listTests_arn :: Lens' ListTests Text Source #

The test suite's Amazon Resource Name (ARN).

Destructuring the Response

data ListTestsResponse Source #

Represents the result of a list tests request.

See: newListTestsResponse smart constructor.

Constructors

ListTestsResponse' 

Fields

  • tests :: Maybe [Test]

    Information about the tests.

  • 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 ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Read ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Show ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Generic ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Associated Types

type Rep ListTestsResponse :: Type -> Type #

NFData ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Methods

rnf :: ListTestsResponse -> () #

type Rep ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

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

newListTestsResponse Source #

Create a value of ListTestsResponse 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:tests:ListTestsResponse', listTestsResponse_tests - Information about the tests.

$sel:nextToken:ListTests', listTestsResponse_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:ListTestsResponse', listTestsResponse_httpStatus - The response's http status code.

Response Lenses

listTestsResponse_tests :: Lens' ListTestsResponse (Maybe [Test]) Source #

Information about the tests.

listTestsResponse_nextToken :: Lens' ListTestsResponse (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.

listTestsResponse_httpStatus :: Lens' ListTestsResponse Int Source #

The response's http status code.