libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.UpdateServicePipeline

Description

Update the service pipeline.

There are four modes for updating a service pipeline as described in the following. The deploymentType field defines the mode.

[] NONE

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

[] CURRENT_VERSION

In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type.

[] MINOR_VERSION

In this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.

[] MAJOR_VERSION

In this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).

Synopsis

Creating a Request

data UpdateServicePipeline Source #

See: newUpdateServicePipeline smart constructor.

Constructors

UpdateServicePipeline' 

Fields

  • templateMinorVersion :: Maybe Text

    The minor version of the service template that was used to create the service that the pipeline is associated with.

  • templateMajorVersion :: Maybe Text

    The major version of the service template that was used to create the service that the pipeline is associated with.

  • deploymentType :: DeploymentUpdateType

    The deployment type.

    There are four modes for updating a service pipeline as described in the following. The deploymentType field defines the mode.

    [] NONE

    In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

    [] CURRENT_VERSION

    In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type.

    [] MINOR_VERSION

    In this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.

    [] MAJOR_VERSION

    In this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).

  • serviceName :: Text

    The name of the service to that the pipeline is associated with.

  • spec :: Sensitive Text

    The spec for the service pipeline to update.

Instances

Instances details
Eq UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Show UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Generic UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Associated Types

type Rep UpdateServicePipeline :: Type -> Type #

NFData UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Methods

rnf :: UpdateServicePipeline -> () #

Hashable UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

ToJSON UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

AWSRequest UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Associated Types

type AWSResponse UpdateServicePipeline #

ToHeaders UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

ToPath UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

ToQuery UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

type Rep UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

type Rep UpdateServicePipeline = D1 ('MetaData "UpdateServicePipeline" "Amazonka.Proton.UpdateServicePipeline" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateServicePipeline'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "templateMinorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateMajorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deploymentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeploymentUpdateType) :*: (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "spec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))
type AWSResponse UpdateServicePipeline Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

newUpdateServicePipeline Source #

Create a value of UpdateServicePipeline 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:templateMinorVersion:UpdateServicePipeline', updateServicePipeline_templateMinorVersion - The minor version of the service template that was used to create the service that the pipeline is associated with.

$sel:templateMajorVersion:UpdateServicePipeline', updateServicePipeline_templateMajorVersion - The major version of the service template that was used to create the service that the pipeline is associated with.

$sel:deploymentType:UpdateServicePipeline', updateServicePipeline_deploymentType - The deployment type.

There are four modes for updating a service pipeline as described in the following. The deploymentType field defines the mode.

[] NONE

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

[] CURRENT_VERSION

In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type.

[] MINOR_VERSION

In this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.

[] MAJOR_VERSION

In this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).

$sel:serviceName:UpdateServicePipeline', updateServicePipeline_serviceName - The name of the service to that the pipeline is associated with.

$sel:spec:UpdateServicePipeline', updateServicePipeline_spec - The spec for the service pipeline to update.

Request Lenses

updateServicePipeline_templateMinorVersion :: Lens' UpdateServicePipeline (Maybe Text) Source #

The minor version of the service template that was used to create the service that the pipeline is associated with.

updateServicePipeline_templateMajorVersion :: Lens' UpdateServicePipeline (Maybe Text) Source #

The major version of the service template that was used to create the service that the pipeline is associated with.

updateServicePipeline_deploymentType :: Lens' UpdateServicePipeline DeploymentUpdateType Source #

The deployment type.

There are four modes for updating a service pipeline as described in the following. The deploymentType field defines the mode.

[] NONE

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

[] CURRENT_VERSION

In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type.

[] MINOR_VERSION

In this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.

[] MAJOR_VERSION

In this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).

updateServicePipeline_serviceName :: Lens' UpdateServicePipeline Text Source #

The name of the service to that the pipeline is associated with.

updateServicePipeline_spec :: Lens' UpdateServicePipeline Text Source #

The spec for the service pipeline to update.

Destructuring the Response

data UpdateServicePipelineResponse Source #

See: newUpdateServicePipelineResponse smart constructor.

Constructors

UpdateServicePipelineResponse' 

Fields

Instances

Instances details
Eq UpdateServicePipelineResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Show UpdateServicePipelineResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Generic UpdateServicePipelineResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

Associated Types

type Rep UpdateServicePipelineResponse :: Type -> Type #

NFData UpdateServicePipelineResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

type Rep UpdateServicePipelineResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServicePipeline

type Rep UpdateServicePipelineResponse = D1 ('MetaData "UpdateServicePipelineResponse" "Amazonka.Proton.UpdateServicePipeline" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateServicePipelineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "pipeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServicePipeline)))

newUpdateServicePipelineResponse Source #

Create a value of UpdateServicePipelineResponse 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:httpStatus:UpdateServicePipelineResponse', updateServicePipelineResponse_httpStatus - The response's http status code.

$sel:pipeline:UpdateServicePipelineResponse', updateServicePipelineResponse_pipeline - The pipeline details returned by AWS Proton.

Response Lenses