amazonka-codebuild-2.0: Amazon CodeBuild 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.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

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

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

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

Instances

Instances details
ToJSON ListReports Source # 
Instance details

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

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 #

Generic ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Associated Types

type Rep ListReports :: Type -> Type #

Read ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Show ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

NFData ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Methods

rnf :: ListReports -> () #

Eq ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Hashable ListReports Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

type AWSResponse 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" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "ListReports'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportFilter)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrderType)))))

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

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

Request Lenses

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.

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

Destructuring the Response

data ListReportsResponse Source #

See: newListReportsResponse smart constructor.

Constructors

ListReportsResponse' 

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.

  • reports :: Maybe (NonEmpty Text)

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Associated Types

type Rep ListReportsResponse :: Type -> Type #

Read ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Show ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

NFData ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

Methods

rnf :: ListReportsResponse -> () #

Eq ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

type Rep ListReportsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListReports

type Rep ListReportsResponse = D1 ('MetaData "ListReportsResponse" "Amazonka.CodeBuild.ListReports" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "ListReportsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty 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:

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

$sel:httpStatus:ListReportsResponse', listReportsResponse_httpStatus - The response's http status code.

Response Lenses

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.

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

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