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

Description

Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure and UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.

Synopsis

Creating a Request

data UpdatePipeline Source #

Represents the input of an UpdatePipeline action.

See: newUpdatePipeline smart constructor.

Constructors

UpdatePipeline' 

Fields

Instances

Instances details
ToJSON UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

ToHeaders UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

ToPath UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

ToQuery UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

AWSRequest UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Associated Types

type AWSResponse UpdatePipeline #

Generic UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Associated Types

type Rep UpdatePipeline :: Type -> Type #

Read UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Show UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

NFData UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Methods

rnf :: UpdatePipeline -> () #

Eq UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Hashable UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

type AWSResponse UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

type Rep UpdatePipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

type Rep UpdatePipeline = D1 ('MetaData "UpdatePipeline" "Amazonka.CodePipeline.UpdatePipeline" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "UpdatePipeline'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PipelineDeclaration)))

newUpdatePipeline Source #

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

UpdatePipeline, updatePipeline_pipeline - The name of the pipeline to be updated.

Request Lenses

updatePipeline_pipeline :: Lens' UpdatePipeline PipelineDeclaration Source #

The name of the pipeline to be updated.

Destructuring the Response

data UpdatePipelineResponse Source #

Represents the output of an UpdatePipeline action.

See: newUpdatePipelineResponse smart constructor.

Constructors

UpdatePipelineResponse' 

Fields

Instances

Instances details
Generic UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Associated Types

type Rep UpdatePipelineResponse :: Type -> Type #

Read UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Show UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

NFData UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

Methods

rnf :: UpdatePipelineResponse -> () #

Eq UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

type Rep UpdatePipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.UpdatePipeline

type Rep UpdatePipelineResponse = D1 ('MetaData "UpdatePipelineResponse" "Amazonka.CodePipeline.UpdatePipeline" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "UpdatePipelineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipelineDeclaration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdatePipelineResponse Source #

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

UpdatePipeline, updatePipelineResponse_pipeline - The structure of the updated pipeline.

$sel:httpStatus:UpdatePipelineResponse', updatePipelineResponse_httpStatus - The response's http status code.

Response Lenses