libZSservicesZSamazonka-codebuildZSamazonka-codebuild
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.CodeBuild.DescribeTestCases

Description

Returns a list of details about test cases for a report.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTestCases Source #

See: newDescribeTestCases smart constructor.

Constructors

DescribeTestCases' 

Fields

  • nextToken :: Maybe Text

    During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

  • filter' :: Maybe TestCaseFilter

    A TestCaseFilter object used to filter the returned reports.

  • maxResults :: Maybe Natural

    The maximum number of paginated test cases returned per response. Use nextToken to iterate pages in the list of returned TestCase objects. The default value is 100.

  • reportArn :: Text

    The ARN of the report for which test cases are returned.

Instances

Instances details
Eq DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Read DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Show DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Generic DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Associated Types

type Rep DescribeTestCases :: Type -> Type #

NFData DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Methods

rnf :: DescribeTestCases -> () #

Hashable DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

ToJSON DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

AWSPager DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

AWSRequest DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Associated Types

type AWSResponse DescribeTestCases #

ToHeaders DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

ToPath DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

ToQuery DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

type Rep DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

type Rep DescribeTestCases = D1 ('MetaData "DescribeTestCases" "Amazonka.CodeBuild.DescribeTestCases" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DescribeTestCases'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestCaseFilter))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "reportArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeTestCases Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

newDescribeTestCases Source #

Create a value of DescribeTestCases 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:DescribeTestCases', describeTestCases_nextToken - During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

$sel:filter':DescribeTestCases', describeTestCases_filter - A TestCaseFilter object used to filter the returned reports.

$sel:maxResults:DescribeTestCases', describeTestCases_maxResults - The maximum number of paginated test cases returned per response. Use nextToken to iterate pages in the list of returned TestCase objects. The default value is 100.

$sel:reportArn:DescribeTestCases', describeTestCases_reportArn - The ARN of the report for which test cases are returned.

Request Lenses

describeTestCases_nextToken :: Lens' DescribeTestCases (Maybe Text) Source #

During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

describeTestCases_filter :: Lens' DescribeTestCases (Maybe TestCaseFilter) Source #

A TestCaseFilter object used to filter the returned reports.

describeTestCases_maxResults :: Lens' DescribeTestCases (Maybe Natural) Source #

The maximum number of paginated test cases returned per response. Use nextToken to iterate pages in the list of returned TestCase objects. The default value is 100.

describeTestCases_reportArn :: Lens' DescribeTestCases Text Source #

The ARN of the report for which test cases are returned.

Destructuring the Response

data DescribeTestCasesResponse Source #

See: newDescribeTestCasesResponse smart constructor.

Constructors

DescribeTestCasesResponse' 

Fields

  • nextToken :: Maybe Text

    During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

  • testCases :: Maybe [TestCase]

    The returned list of test cases.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeTestCasesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Read DescribeTestCasesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Show DescribeTestCasesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Generic DescribeTestCasesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

Associated Types

type Rep DescribeTestCasesResponse :: Type -> Type #

NFData DescribeTestCasesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

type Rep DescribeTestCasesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeTestCases

type Rep DescribeTestCasesResponse = D1 ('MetaData "DescribeTestCasesResponse" "Amazonka.CodeBuild.DescribeTestCases" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DescribeTestCasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "testCases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TestCase])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTestCasesResponse Source #

Create a value of DescribeTestCasesResponse 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:DescribeTestCases', describeTestCasesResponse_nextToken - During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

$sel:testCases:DescribeTestCasesResponse', describeTestCasesResponse_testCases - The returned list of test cases.

$sel:httpStatus:DescribeTestCasesResponse', describeTestCasesResponse_httpStatus - The response's http status code.

Response Lenses

describeTestCasesResponse_nextToken :: Lens' DescribeTestCasesResponse (Maybe Text) Source #

During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.