amazonka-codepipeline-2.0: Amazon CodePipeline 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.CodePipeline.ListPipelineExecutions

Description

Gets a summary of the most recent executions for a pipeline.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPipelineExecutions Source #

Represents the input of a ListPipelineExecutions action.

See: newListPipelineExecutions smart constructor.

Constructors

ListPipelineExecutions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

  • nextToken :: Maybe Text

    The token that was returned from the previous ListPipelineExecutions call, which can be used to return the next set of pipeline executions in the list.

  • pipelineName :: Text

    The name of the pipeline for which you want to get execution summary information.

Instances

Instances details
ToJSON ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

ToHeaders ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

ToPath ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

ToQuery ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

AWSPager ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

AWSRequest ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Associated Types

type AWSResponse ListPipelineExecutions #

Generic ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Associated Types

type Rep ListPipelineExecutions :: Type -> Type #

Read ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Show ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

NFData ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Methods

rnf :: ListPipelineExecutions -> () #

Eq ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Hashable ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

type AWSResponse ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

type Rep ListPipelineExecutions Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

type Rep ListPipelineExecutions = D1 ('MetaData "ListPipelineExecutions" "Amazonka.CodePipeline.ListPipelineExecutions" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "ListPipelineExecutions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pipelineName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListPipelineExecutions Source #

Create a value of ListPipelineExecutions 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:maxResults:ListPipelineExecutions', listPipelineExecutions_maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

ListPipelineExecutions, listPipelineExecutions_nextToken - The token that was returned from the previous ListPipelineExecutions call, which can be used to return the next set of pipeline executions in the list.

ListPipelineExecutions, listPipelineExecutions_pipelineName - The name of the pipeline for which you want to get execution summary information.

Request Lenses

listPipelineExecutions_maxResults :: Lens' ListPipelineExecutions (Maybe Natural) Source #

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

listPipelineExecutions_nextToken :: Lens' ListPipelineExecutions (Maybe Text) Source #

The token that was returned from the previous ListPipelineExecutions call, which can be used to return the next set of pipeline executions in the list.

listPipelineExecutions_pipelineName :: Lens' ListPipelineExecutions Text Source #

The name of the pipeline for which you want to get execution summary information.

Destructuring the Response

data ListPipelineExecutionsResponse Source #

Represents the output of a ListPipelineExecutions action.

See: newListPipelineExecutionsResponse smart constructor.

Constructors

ListPipelineExecutionsResponse' 

Fields

Instances

Instances details
Generic ListPipelineExecutionsResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Associated Types

type Rep ListPipelineExecutionsResponse :: Type -> Type #

Read ListPipelineExecutionsResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Show ListPipelineExecutionsResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

NFData ListPipelineExecutionsResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

Eq ListPipelineExecutionsResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

type Rep ListPipelineExecutionsResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListPipelineExecutions

type Rep ListPipelineExecutionsResponse = D1 ('MetaData "ListPipelineExecutionsResponse" "Amazonka.CodePipeline.ListPipelineExecutions" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "ListPipelineExecutionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pipelineExecutionSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PipelineExecutionSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPipelineExecutionsResponse Source #

Create a value of ListPipelineExecutionsResponse 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:

ListPipelineExecutions, listPipelineExecutionsResponse_nextToken - A token that can be used in the next ListPipelineExecutions call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

$sel:pipelineExecutionSummaries:ListPipelineExecutionsResponse', listPipelineExecutionsResponse_pipelineExecutionSummaries - A list of executions in the history of a pipeline.

$sel:httpStatus:ListPipelineExecutionsResponse', listPipelineExecutionsResponse_httpStatus - The response's http status code.

Response Lenses

listPipelineExecutionsResponse_nextToken :: Lens' ListPipelineExecutionsResponse (Maybe Text) Source #

A token that can be used in the next ListPipelineExecutions call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.