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

Description

Returns a list of ARNs for the reports in the current Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListReports Source #

See: newListReports smart constructor.

Constructors

ListReports' 

Fields

  • sortOrder :: Maybe SortOrderType

    Specifies the sort order for the list of returned reports. Valid values are:

    • ASCENDING: return reports in chronological order based on their creation date.
    • DESCENDING: return reports in the reverse chronological order based on their creation date.
  • 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 ReportFilter

    A ReportFilter object used to filter the returned reports.

  • maxResults :: Maybe Natural

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

Instances

Instances details
Eq ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Read ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Show ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Generic ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Associated Types

type Rep ListReports :: Type -> Type #

NFData ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Methods

rnf :: ListReports -> () #

Hashable ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

ToJSON ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

AWSPager ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

AWSRequest ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Associated Types

type AWSResponse ListReports #

ToHeaders ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Methods

toHeaders :: ListReports -> [Header] #

ToPath ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

ToQuery ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

type Rep ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

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

Defined in Amazonka.CodeBuild.ListReports

newListReports :: ListReports Source #

Create a value of ListReports 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:sortOrder:ListReports', listReports_sortOrder - Specifies the sort order for the list of returned reports. Valid values are:

  • ASCENDING: return reports in chronological order based on their creation date.
  • DESCENDING: return reports in the reverse chronological order based on their creation date.

$sel:nextToken:ListReports', listReports_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':ListReports', listReports_filter - A ReportFilter object used to filter the returned reports.

$sel:maxResults:ListReports', listReports_maxResults - The maximum number of paginated reports returned per response. Use nextToken to iterate pages in the list of returned Report objects. The default value is 100.

Request Lenses

listReports_sortOrder :: Lens' ListReports (Maybe SortOrderType) Source #

Specifies the sort order for the list of returned reports. Valid values are:

  • ASCENDING: return reports in chronological order based on their creation date.
  • DESCENDING: return reports in the reverse chronological order based on their creation date.

listReports_nextToken :: Lens' ListReports (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.

listReports_filter :: Lens' ListReports (Maybe ReportFilter) Source #

A ReportFilter object used to filter the returned reports.

listReports_maxResults :: Lens' ListReports (Maybe Natural) Source #

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

Destructuring the Response

data ListReportsResponse Source #

See: newListReportsResponse smart constructor.

Constructors

ListReportsResponse' 

Fields

  • reports :: Maybe (NonEmpty Text)

    The list of returned ARNs for the reports in the current Amazon Web Services account.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Read ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Show ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Generic ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Associated Types

type Rep ListReportsResponse :: Type -> Type #

NFData ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Methods

rnf :: ListReportsResponse -> () #

type Rep ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

type Rep ListReportsResponse = D1 ('MetaData "ListReportsResponse" "Amazonka.CodeBuild.ListReports" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "ListReportsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListReportsResponse Source #

Create a value of ListReportsResponse 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:reports:ListReportsResponse', listReportsResponse_reports - The list of returned ARNs for the reports in the current Amazon Web Services account.

$sel:nextToken:ListReports', listReportsResponse_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:httpStatus:ListReportsResponse', listReportsResponse_httpStatus - The response's http status code.

Response Lenses

listReportsResponse_reports :: Lens' ListReportsResponse (Maybe (NonEmpty Text)) Source #

The list of returned ARNs for the reports in the current Amazon Web Services account.

listReportsResponse_nextToken :: Lens' ListReportsResponse (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.