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

Description

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

Synopsis

Creating a Request

data CreateServiceTemplateVersion Source #

See: newCreateServiceTemplateVersion smart constructor.

Constructors

CreateServiceTemplateVersion' 

Fields

Instances

Instances details
Eq CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

Show CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

Generic CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

Associated Types

type Rep CreateServiceTemplateVersion :: Type -> Type #

NFData CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

Hashable CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

ToJSON CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

AWSRequest CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

ToHeaders CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

ToPath CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

ToQuery CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

type Rep CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

type Rep CreateServiceTemplateVersion = D1 ('MetaData "CreateServiceTemplateVersion" "Amazonka.Proton.CreateServiceTemplateVersion" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "CreateServiceTemplateVersion'" '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 "compatibleEnvironmentTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty CompatibleEnvironmentTemplateInput))) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TemplateVersionSourceInput) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateServiceTemplateVersion Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

newCreateServiceTemplateVersion Source #

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

$sel:majorVersion:CreateServiceTemplateVersion', createServiceTemplateVersion_majorVersion - To create a new minor version of the service template, include a majorVersion.

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

$sel:description:CreateServiceTemplateVersion', createServiceTemplateVersion_description - A description of the new version of a service template.

$sel:tags:CreateServiceTemplateVersion', createServiceTemplateVersion_tags - Create tags for a new version of a service template.

$sel:compatibleEnvironmentTemplates:CreateServiceTemplateVersion', createServiceTemplateVersion_compatibleEnvironmentTemplates - An array of compatible environment template objects for the new version of a service template.

$sel:source:CreateServiceTemplateVersion', createServiceTemplateVersion_source - An object that includes the template bundle S3 bucket path and name for the new version of a service template.

$sel:templateName:CreateServiceTemplateVersion', createServiceTemplateVersion_templateName - The name of the service template.

Request Lenses

createServiceTemplateVersion_clientToken :: Lens' CreateServiceTemplateVersion (Maybe Text) Source #

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

createServiceTemplateVersion_majorVersion :: Lens' CreateServiceTemplateVersion (Maybe Text) Source #

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

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

createServiceTemplateVersion_description :: Lens' CreateServiceTemplateVersion (Maybe Text) Source #

A description of the new version of a service template.

createServiceTemplateVersion_tags :: Lens' CreateServiceTemplateVersion (Maybe [Tag]) Source #

Create tags for a new version of a service template.

createServiceTemplateVersion_compatibleEnvironmentTemplates :: Lens' CreateServiceTemplateVersion (NonEmpty CompatibleEnvironmentTemplateInput) Source #

An array of compatible environment template objects for the new version of a service template.

createServiceTemplateVersion_source :: Lens' CreateServiceTemplateVersion TemplateVersionSourceInput Source #

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

Destructuring the Response

data CreateServiceTemplateVersionResponse Source #

Constructors

CreateServiceTemplateVersionResponse' 

Fields

Instances

Instances details
Eq CreateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

Show CreateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

Generic CreateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

NFData CreateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

type Rep CreateServiceTemplateVersionResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplateVersion

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

newCreateServiceTemplateVersionResponse Source #

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

$sel:serviceTemplateVersion:CreateServiceTemplateVersionResponse', createServiceTemplateVersionResponse_serviceTemplateVersion - The service template version summary of detail data that's returned by AWS Proton.

Response Lenses

createServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' CreateServiceTemplateVersionResponse ServiceTemplateVersion Source #

The service template version summary of detail data that's returned by AWS Proton.