libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
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.CodePipeline.GetPipeline

Description

Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline.

Synopsis

Creating a Request

data GetPipeline Source #

Represents the input of a GetPipeline action.

See: newGetPipeline smart constructor.

Constructors

GetPipeline' 

Fields

  • version :: Maybe Natural

    The version number of the pipeline. If you do not specify a version, defaults to the current version.

  • name :: Text

    The name of the pipeline for which you want to get information. Pipeline names must be unique under an AWS user account.

Instances

Instances details
Eq GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Read GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Show GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Generic GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Associated Types

type Rep GetPipeline :: Type -> Type #

NFData GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Methods

rnf :: GetPipeline -> () #

Hashable GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

ToJSON GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

AWSRequest GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Associated Types

type AWSResponse GetPipeline #

ToHeaders GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Methods

toHeaders :: GetPipeline -> [Header] #

ToPath GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

ToQuery GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

type Rep GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

type Rep GetPipeline = D1 ('MetaData "GetPipeline" "Amazonka.CodePipeline.GetPipeline" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "GetPipeline'" 'PrefixI 'True) (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetPipeline Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

newGetPipeline Source #

Create a value of GetPipeline 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:version:GetPipeline', getPipeline_version - The version number of the pipeline. If you do not specify a version, defaults to the current version.

$sel:name:GetPipeline', getPipeline_name - The name of the pipeline for which you want to get information. Pipeline names must be unique under an AWS user account.

Request Lenses

getPipeline_version :: Lens' GetPipeline (Maybe Natural) Source #

The version number of the pipeline. If you do not specify a version, defaults to the current version.

getPipeline_name :: Lens' GetPipeline Text Source #

The name of the pipeline for which you want to get information. Pipeline names must be unique under an AWS user account.

Destructuring the Response

data GetPipelineResponse Source #

Represents the output of a GetPipeline action.

See: newGetPipelineResponse smart constructor.

Constructors

GetPipelineResponse' 

Fields

Instances

Instances details
Eq GetPipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Read GetPipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Show GetPipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Generic GetPipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Associated Types

type Rep GetPipelineResponse :: Type -> Type #

NFData GetPipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

Methods

rnf :: GetPipelineResponse -> () #

type Rep GetPipelineResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.GetPipeline

type Rep GetPipelineResponse = D1 ('MetaData "GetPipelineResponse" "Amazonka.CodePipeline.GetPipeline" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "GetPipelineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipelineDeclaration)) :*: (S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipelineMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetPipelineResponse Source #

Create a value of GetPipelineResponse 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:pipeline:GetPipelineResponse', getPipelineResponse_pipeline - Represents the structure of actions and stages to be performed in the pipeline.

$sel:metadata:GetPipelineResponse', getPipelineResponse_metadata - Represents the pipeline metadata information returned as part of the output of a GetPipeline action.

$sel:httpStatus:GetPipelineResponse', getPipelineResponse_httpStatus - The response's http status code.

Response Lenses

getPipelineResponse_pipeline :: Lens' GetPipelineResponse (Maybe PipelineDeclaration) Source #

Represents the structure of actions and stages to be performed in the pipeline.

getPipelineResponse_metadata :: Lens' GetPipelineResponse (Maybe PipelineMetadata) Source #

Represents the pipeline metadata information returned as part of the output of a GetPipeline action.