amazonka-proton-2.0: Amazon Proton 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.Proton.DeleteEnvironmentTemplateVersion

Description

If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the Recommended version. Delete the Recommended version of the environment template if no other major versions or minor versions of the environment template exist. A major version of an environment template is a version that's not backward compatible.

Delete a minor version of an environment template if it isn't the Recommended version. Delete a Recommended minor version of the environment template if no other minor versions of the environment template exist. A minor version of an environment template is a version that's backward compatible.

Synopsis

Creating a Request

data DeleteEnvironmentTemplateVersion Source #

See: newDeleteEnvironmentTemplateVersion smart constructor.

Constructors

DeleteEnvironmentTemplateVersion' 

Fields

Instances

Instances details
ToJSON DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

ToHeaders DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

ToPath DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

ToQuery DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

AWSRequest DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Generic DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Associated Types

type Rep DeleteEnvironmentTemplateVersion :: Type -> Type #

Read DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Show DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

NFData DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Eq DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Hashable DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

type AWSResponse DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

type Rep DeleteEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

type Rep DeleteEnvironmentTemplateVersion = D1 ('MetaData "DeleteEnvironmentTemplateVersion" "Amazonka.Proton.DeleteEnvironmentTemplateVersion" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "DeleteEnvironmentTemplateVersion'" '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))))

newDeleteEnvironmentTemplateVersion Source #

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

DeleteEnvironmentTemplateVersion, deleteEnvironmentTemplateVersion_majorVersion - The environment template major version to delete.

DeleteEnvironmentTemplateVersion, deleteEnvironmentTemplateVersion_minorVersion - The environment template minor version to delete.

DeleteEnvironmentTemplateVersion, deleteEnvironmentTemplateVersion_templateName - The name of the environment template.

Request Lenses

Destructuring the Response

data DeleteEnvironmentTemplateVersionResponse Source #

Constructors

DeleteEnvironmentTemplateVersionResponse' 

Fields

Instances

Instances details
Generic DeleteEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Show DeleteEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

NFData DeleteEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

Eq DeleteEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

type Rep DeleteEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteEnvironmentTemplateVersion

type Rep DeleteEnvironmentTemplateVersionResponse = D1 ('MetaData "DeleteEnvironmentTemplateVersionResponse" "Amazonka.Proton.DeleteEnvironmentTemplateVersion" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "DeleteEnvironmentTemplateVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentTemplateVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentTemplateVersion)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteEnvironmentTemplateVersionResponse Source #

Create a value of DeleteEnvironmentTemplateVersionResponse 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:environmentTemplateVersion:DeleteEnvironmentTemplateVersionResponse', deleteEnvironmentTemplateVersionResponse_environmentTemplateVersion - The detailed data of the environment template version being deleted.

$sel:httpStatus:DeleteEnvironmentTemplateVersionResponse', deleteEnvironmentTemplateVersionResponse_httpStatus - The response's http status code.

Response Lenses