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.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
ToJSON ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.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

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 #

Generic ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Associated Types

type Rep ListTests :: Type -> Type #

Read ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Show ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

NFData ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Methods

rnf :: ListTests -> () #

Eq ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Hashable ListTests Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

type AWSResponse 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" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" '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)))

newListTests Source #

Arguments

:: Text

ListTests

-> ListTests 

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:

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.

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

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

  • tests :: Maybe [Test]

    Information about the tests.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Associated Types

type Rep ListTestsResponse :: Type -> Type #

Read ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Show ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

NFData ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

Methods

rnf :: ListTestsResponse -> () #

Eq ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

type Rep ListTestsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTests

type Rep ListTestsResponse = D1 ('MetaData "ListTestsResponse" "Amazonka.DeviceFarm.ListTests" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "ListTestsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Test])) :*: 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:

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

$sel:httpStatus:ListTestsResponse', listTestsResponse_httpStatus - The response's http status code.

Response Lenses

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_tests :: Lens' ListTestsResponse (Maybe [Test]) Source #

Information about the tests.

listTestsResponse_httpStatus :: Lens' ListTestsResponse Int Source #

The response's http status code.