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

Description

Create a new major or minor version of an environment template. A major version of an environment template is a version that isn't backwards compatible. A minor version of an environment template is a version that's backwards compatible within its major version.

Synopsis

Creating a Request

data CreateEnvironmentTemplateVersion Source #

See: newCreateEnvironmentTemplateVersion smart constructor.

Constructors

CreateEnvironmentTemplateVersion' 

Fields

  • clientToken :: Maybe Text

    When included, if two identicial requests are made with the same client token, AWS Proton returns the environment template version that the first request created.

  • majorVersion :: Maybe Text

    To create a new minor version of the environment template, include a majorVersion.

    To create a new major and minor version of the environment template, exclude majorVersion.

  • description :: Maybe (Sensitive Text)

    A description of the new version of an environment template.

  • tags :: Maybe [Tag]

    Create tags for a new version of an environment template.

  • source :: TemplateVersionSourceInput

    An object that includes the template bundle S3 bucket path and name for the new version of an template.

  • templateName :: Text

    The name of the environment template.

Instances

Instances details
Eq CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

Show CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

Generic CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

Associated Types

type Rep CreateEnvironmentTemplateVersion :: Type -> Type #

NFData CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

Hashable CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

ToJSON CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

AWSRequest CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

ToHeaders CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

ToPath CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

ToQuery CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

type Rep CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

type Rep CreateEnvironmentTemplateVersion = D1 ('MetaData "CreateEnvironmentTemplateVersion" "Amazonka.Proton.CreateEnvironmentTemplateVersion" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "CreateEnvironmentTemplateVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "majorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TemplateVersionSourceInput) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateEnvironmentTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

newCreateEnvironmentTemplateVersion Source #

Create a value of CreateEnvironmentTemplateVersion 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:clientToken:CreateEnvironmentTemplateVersion', createEnvironmentTemplateVersion_clientToken - When included, if two identicial requests are made with the same client token, AWS Proton returns the environment template version that the first request created.

$sel:majorVersion:CreateEnvironmentTemplateVersion', createEnvironmentTemplateVersion_majorVersion - To create a new minor version of the environment template, include a majorVersion.

To create a new major and minor version of the environment template, exclude majorVersion.

$sel:description:CreateEnvironmentTemplateVersion', createEnvironmentTemplateVersion_description - A description of the new version of an environment template.

$sel:tags:CreateEnvironmentTemplateVersion', createEnvironmentTemplateVersion_tags - Create tags for a new version of an environment template.

$sel:source:CreateEnvironmentTemplateVersion', createEnvironmentTemplateVersion_source - An object that includes the template bundle S3 bucket path and name for the new version of an template.

$sel:templateName:CreateEnvironmentTemplateVersion', createEnvironmentTemplateVersion_templateName - The name of the environment template.

Request Lenses

createEnvironmentTemplateVersion_clientToken :: Lens' CreateEnvironmentTemplateVersion (Maybe Text) Source #

When included, if two identicial requests are made with the same client token, AWS Proton returns the environment template version that the first request created.

createEnvironmentTemplateVersion_majorVersion :: Lens' CreateEnvironmentTemplateVersion (Maybe Text) Source #

To create a new minor version of the environment template, include a majorVersion.

To create a new major and minor version of the environment template, exclude majorVersion.

createEnvironmentTemplateVersion_description :: Lens' CreateEnvironmentTemplateVersion (Maybe Text) Source #

A description of the new version of an environment template.

createEnvironmentTemplateVersion_tags :: Lens' CreateEnvironmentTemplateVersion (Maybe [Tag]) Source #

Create tags for a new version of an environment template.

createEnvironmentTemplateVersion_source :: Lens' CreateEnvironmentTemplateVersion TemplateVersionSourceInput Source #

An object that includes the template bundle S3 bucket path and name for the new version of an template.

Destructuring the Response

data CreateEnvironmentTemplateVersionResponse Source #

Constructors

CreateEnvironmentTemplateVersionResponse' 

Fields

Instances

Instances details
Eq CreateEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

Show CreateEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

Generic CreateEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

NFData CreateEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

type Rep CreateEnvironmentTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplateVersion

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

Response Lenses