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

Description

Retrieves the identifiers of the build batches for a specific project.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBuildBatchesForProject Source #

See: newListBuildBatchesForProject smart constructor.

Constructors

ListBuildBatchesForProject' 

Fields

  • sortOrder :: Maybe SortOrderType

    Specifies the sort order of the returned items. Valid values include:

    • ASCENDING: List the batch build identifiers in ascending order by identifier.
    • DESCENDING: List the batch build identifiers in descending order by identifier.
  • nextToken :: Maybe Text

    The nextToken value returned from a previous call to ListBuildBatchesForProject. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

  • projectName :: Maybe Text

    The name of the project.

  • filter' :: Maybe BuildBatchFilter

    A BuildBatchFilter object that specifies the filters for the search.

  • maxResults :: Maybe Natural

    The maximum number of results to return.

Instances

Instances details
Eq ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Read ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Show ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Generic ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Associated Types

type Rep ListBuildBatchesForProject :: Type -> Type #

NFData ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Hashable ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

ToJSON ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

AWSPager ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

AWSRequest ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

ToHeaders ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

ToPath ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

ToQuery ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

type Rep ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

type Rep ListBuildBatchesForProject = D1 ('MetaData "ListBuildBatchesForProject" "Amazonka.CodeBuild.ListBuildBatchesForProject" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "ListBuildBatchesForProject'" '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 "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BuildBatchFilter)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse ListBuildBatchesForProject Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

newListBuildBatchesForProject :: ListBuildBatchesForProject Source #

Create a value of ListBuildBatchesForProject 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:ListBuildBatchesForProject', listBuildBatchesForProject_sortOrder - Specifies the sort order of the returned items. Valid values include:

  • ASCENDING: List the batch build identifiers in ascending order by identifier.
  • DESCENDING: List the batch build identifiers in descending order by identifier.

$sel:nextToken:ListBuildBatchesForProject', listBuildBatchesForProject_nextToken - The nextToken value returned from a previous call to ListBuildBatchesForProject. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

$sel:projectName:ListBuildBatchesForProject', listBuildBatchesForProject_projectName - The name of the project.

$sel:filter':ListBuildBatchesForProject', listBuildBatchesForProject_filter - A BuildBatchFilter object that specifies the filters for the search.

$sel:maxResults:ListBuildBatchesForProject', listBuildBatchesForProject_maxResults - The maximum number of results to return.

Request Lenses

listBuildBatchesForProject_sortOrder :: Lens' ListBuildBatchesForProject (Maybe SortOrderType) Source #

Specifies the sort order of the returned items. Valid values include:

  • ASCENDING: List the batch build identifiers in ascending order by identifier.
  • DESCENDING: List the batch build identifiers in descending order by identifier.

listBuildBatchesForProject_nextToken :: Lens' ListBuildBatchesForProject (Maybe Text) Source #

The nextToken value returned from a previous call to ListBuildBatchesForProject. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

listBuildBatchesForProject_filter :: Lens' ListBuildBatchesForProject (Maybe BuildBatchFilter) Source #

A BuildBatchFilter object that specifies the filters for the search.

Destructuring the Response

data ListBuildBatchesForProjectResponse Source #

Constructors

ListBuildBatchesForProjectResponse' 

Fields

  • ids :: Maybe [Text]

    An array of strings that contains the batch build identifiers.

  • nextToken :: Maybe Text

    If there are more items to return, this contains a token that is passed to a subsequent call to ListBuildBatchesForProject to retrieve the next set of items.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListBuildBatchesForProjectResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Read ListBuildBatchesForProjectResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Show ListBuildBatchesForProjectResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Generic ListBuildBatchesForProjectResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

Associated Types

type Rep ListBuildBatchesForProjectResponse :: Type -> Type #

NFData ListBuildBatchesForProjectResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

type Rep ListBuildBatchesForProjectResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListBuildBatchesForProject

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

newListBuildBatchesForProjectResponse Source #

Create a value of ListBuildBatchesForProjectResponse 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:ids:ListBuildBatchesForProjectResponse', listBuildBatchesForProjectResponse_ids - An array of strings that contains the batch build identifiers.

$sel:nextToken:ListBuildBatchesForProject', listBuildBatchesForProjectResponse_nextToken - If there are more items to return, this contains a token that is passed to a subsequent call to ListBuildBatchesForProject to retrieve the next set of items.

$sel:httpStatus:ListBuildBatchesForProjectResponse', listBuildBatchesForProjectResponse_httpStatus - The response's http status code.

Response Lenses

listBuildBatchesForProjectResponse_ids :: Lens' ListBuildBatchesForProjectResponse (Maybe [Text]) Source #

An array of strings that contains the batch build identifiers.

listBuildBatchesForProjectResponse_nextToken :: Lens' ListBuildBatchesForProjectResponse (Maybe Text) Source #

If there are more items to return, this contains a token that is passed to a subsequent call to ListBuildBatchesForProject to retrieve the next set of items.