Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateEnvironmentTemplateVersion = CreateEnvironmentTemplateVersion' {
- clientToken :: Maybe Text
- majorVersion :: Maybe Text
- description :: Maybe (Sensitive Text)
- tags :: Maybe [Tag]
- source :: TemplateVersionSourceInput
- templateName :: Text
- newCreateEnvironmentTemplateVersion :: TemplateVersionSourceInput -> Text -> CreateEnvironmentTemplateVersion
- createEnvironmentTemplateVersion_clientToken :: Lens' CreateEnvironmentTemplateVersion (Maybe Text)
- createEnvironmentTemplateVersion_majorVersion :: Lens' CreateEnvironmentTemplateVersion (Maybe Text)
- createEnvironmentTemplateVersion_description :: Lens' CreateEnvironmentTemplateVersion (Maybe Text)
- createEnvironmentTemplateVersion_tags :: Lens' CreateEnvironmentTemplateVersion (Maybe [Tag])
- createEnvironmentTemplateVersion_source :: Lens' CreateEnvironmentTemplateVersion TemplateVersionSourceInput
- createEnvironmentTemplateVersion_templateName :: Lens' CreateEnvironmentTemplateVersion Text
- data CreateEnvironmentTemplateVersionResponse = CreateEnvironmentTemplateVersionResponse' {}
- newCreateEnvironmentTemplateVersionResponse :: Int -> EnvironmentTemplateVersion -> CreateEnvironmentTemplateVersionResponse
- createEnvironmentTemplateVersionResponse_httpStatus :: Lens' CreateEnvironmentTemplateVersionResponse Int
- createEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' CreateEnvironmentTemplateVersionResponse EnvironmentTemplateVersion
Creating a Request
data CreateEnvironmentTemplateVersion Source #
See: newCreateEnvironmentTemplateVersion
smart constructor.
CreateEnvironmentTemplateVersion' | |
|
Instances
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.
createEnvironmentTemplateVersion_templateName :: Lens' CreateEnvironmentTemplateVersion Text Source #
The name of the environment template.
Destructuring the Response
data CreateEnvironmentTemplateVersionResponse Source #
See: newCreateEnvironmentTemplateVersionResponse
smart constructor.
CreateEnvironmentTemplateVersionResponse' | |
|
Instances
newCreateEnvironmentTemplateVersionResponse Source #
:: Int | |
-> EnvironmentTemplateVersion |
|
-> CreateEnvironmentTemplateVersionResponse |
Create a value of CreateEnvironmentTemplateVersionResponse
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:CreateEnvironmentTemplateVersionResponse'
, createEnvironmentTemplateVersionResponse_httpStatus
- The response's http status code.
$sel:environmentTemplateVersion:CreateEnvironmentTemplateVersionResponse'
, createEnvironmentTemplateVersionResponse_environmentTemplateVersion
- The environment template detail data that's returned by AWS Proton.
Response Lenses
createEnvironmentTemplateVersionResponse_httpStatus :: Lens' CreateEnvironmentTemplateVersionResponse Int Source #
The response's http status code.
createEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' CreateEnvironmentTemplateVersionResponse EnvironmentTemplateVersion Source #
The environment template detail data that's returned by AWS Proton.