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

Description

Update a major or minor version of a service template.

Synopsis

Creating a Request

data UpdateServiceTemplateVersion Source #

See: newUpdateServiceTemplateVersion smart constructor.

Constructors

UpdateServiceTemplateVersion' 

Fields

Instances

Instances details
Eq UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

Show UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

Generic UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

Associated Types

type Rep UpdateServiceTemplateVersion :: Type -> Type #

NFData UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

Hashable UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

ToJSON UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

AWSRequest UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

ToHeaders UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

ToPath UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

ToQuery UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

type Rep UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

type Rep UpdateServiceTemplateVersion = D1 ('MetaData "UpdateServiceTemplateVersion" "Amazonka.Proton.UpdateServiceTemplateVersion" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateServiceTemplateVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TemplateVersionStatus)) :*: (S1 ('MetaSel ('Just "compatibleEnvironmentTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty CompatibleEnvironmentTemplateInput))) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "majorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "minorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

newUpdateServiceTemplateVersion Source #

Create a value of UpdateServiceTemplateVersion 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:status:UpdateServiceTemplateVersion', updateServiceTemplateVersion_status - The status of the service template minor version to update.

$sel:compatibleEnvironmentTemplates:UpdateServiceTemplateVersion', updateServiceTemplateVersion_compatibleEnvironmentTemplates - An array of compatible environment names for a service template major or minor version to update.

$sel:description:UpdateServiceTemplateVersion', updateServiceTemplateVersion_description - A description of a service template version to update.

$sel:majorVersion:UpdateServiceTemplateVersion', updateServiceTemplateVersion_majorVersion - To update a major version of a service template, include majorVersion.

$sel:minorVersion:UpdateServiceTemplateVersion', updateServiceTemplateVersion_minorVersion - To update a minor version of a service template, include minorVersion.

$sel:templateName:UpdateServiceTemplateVersion', updateServiceTemplateVersion_templateName - The name of the service template.

Request Lenses

updateServiceTemplateVersion_status :: Lens' UpdateServiceTemplateVersion (Maybe TemplateVersionStatus) Source #

The status of the service template minor version to update.

updateServiceTemplateVersion_compatibleEnvironmentTemplates :: Lens' UpdateServiceTemplateVersion (Maybe (NonEmpty CompatibleEnvironmentTemplateInput)) Source #

An array of compatible environment names for a service template major or minor version to update.

updateServiceTemplateVersion_description :: Lens' UpdateServiceTemplateVersion (Maybe Text) Source #

A description of a service template version to update.

updateServiceTemplateVersion_majorVersion :: Lens' UpdateServiceTemplateVersion Text Source #

To update a major version of a service template, include majorVersion.

updateServiceTemplateVersion_minorVersion :: Lens' UpdateServiceTemplateVersion Text Source #

To update a minor version of a service template, include minorVersion.

Destructuring the Response

data UpdateServiceTemplateVersionResponse Source #

Constructors

UpdateServiceTemplateVersionResponse' 

Fields

Instances

Instances details
Eq UpdateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

Show UpdateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

Generic UpdateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

NFData UpdateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

type Rep UpdateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateServiceTemplateVersion

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

newUpdateServiceTemplateVersionResponse Source #

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

$sel:serviceTemplateVersion:UpdateServiceTemplateVersionResponse', updateServiceTemplateVersionResponse_serviceTemplateVersion - The service template version detail data that's returned by AWS Proton.

Response Lenses