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

Description

If no other minor versions of a service template exist, delete a major version of the service template if it's not the Recommended version. Delete the Recommended version of the service template if no other major versions or minor versions of the service template exist. A major version of a service template is a version that isn't backwards compatible.

Delete a minor version of a service template if it's not the Recommended version. Delete a Recommended minor version of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's backwards compatible.

Synopsis

Creating a Request

data DeleteServiceTemplateVersion Source #

See: newDeleteServiceTemplateVersion smart constructor.

Constructors

DeleteServiceTemplateVersion' 

Fields

Instances

Instances details
Eq DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Read DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Show DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Generic DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Associated Types

type Rep DeleteServiceTemplateVersion :: Type -> Type #

NFData DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Hashable DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

ToJSON DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

AWSRequest DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

ToHeaders DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

ToPath DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

ToQuery DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

type Rep DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

type Rep DeleteServiceTemplateVersion = D1 ('MetaData "DeleteServiceTemplateVersion" "Amazonka.Proton.DeleteServiceTemplateVersion" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "DeleteServiceTemplateVersion'" 'PrefixI 'True) (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 DeleteServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

newDeleteServiceTemplateVersion Source #

Create a value of DeleteServiceTemplateVersion 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:majorVersion:DeleteServiceTemplateVersion', deleteServiceTemplateVersion_majorVersion - The service template major version to delete.

$sel:minorVersion:DeleteServiceTemplateVersion', deleteServiceTemplateVersion_minorVersion - The service template minor version to delete.

$sel:templateName:DeleteServiceTemplateVersion', deleteServiceTemplateVersion_templateName - The name of the service template.

Request Lenses

Destructuring the Response

data DeleteServiceTemplateVersionResponse Source #

Constructors

DeleteServiceTemplateVersionResponse' 

Fields

Instances

Instances details
Eq DeleteServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Show DeleteServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

Generic DeleteServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

NFData DeleteServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

type Rep DeleteServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplateVersion

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

newDeleteServiceTemplateVersionResponse Source #

Create a value of DeleteServiceTemplateVersionResponse 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:serviceTemplateVersion:DeleteServiceTemplateVersionResponse', deleteServiceTemplateVersionResponse_serviceTemplateVersion - The service template version detail data that's returned by AWS Proton.

$sel:httpStatus:DeleteServiceTemplateVersionResponse', deleteServiceTemplateVersionResponse_httpStatus - The response's http status code.

Response Lenses