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 |
Update a major or minor version of an environment template.
Synopsis
- data UpdateEnvironmentTemplateVersion = UpdateEnvironmentTemplateVersion' {}
- newUpdateEnvironmentTemplateVersion :: Text -> Text -> Text -> UpdateEnvironmentTemplateVersion
- updateEnvironmentTemplateVersion_status :: Lens' UpdateEnvironmentTemplateVersion (Maybe TemplateVersionStatus)
- updateEnvironmentTemplateVersion_description :: Lens' UpdateEnvironmentTemplateVersion (Maybe Text)
- updateEnvironmentTemplateVersion_majorVersion :: Lens' UpdateEnvironmentTemplateVersion Text
- updateEnvironmentTemplateVersion_minorVersion :: Lens' UpdateEnvironmentTemplateVersion Text
- updateEnvironmentTemplateVersion_templateName :: Lens' UpdateEnvironmentTemplateVersion Text
- data UpdateEnvironmentTemplateVersionResponse = UpdateEnvironmentTemplateVersionResponse' {}
- newUpdateEnvironmentTemplateVersionResponse :: Int -> EnvironmentTemplateVersion -> UpdateEnvironmentTemplateVersionResponse
- updateEnvironmentTemplateVersionResponse_httpStatus :: Lens' UpdateEnvironmentTemplateVersionResponse Int
- updateEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' UpdateEnvironmentTemplateVersionResponse EnvironmentTemplateVersion
Creating a Request
data UpdateEnvironmentTemplateVersion Source #
See: newUpdateEnvironmentTemplateVersion
smart constructor.
UpdateEnvironmentTemplateVersion' | |
|
Instances
newUpdateEnvironmentTemplateVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateEnvironmentTemplateVersion |
Create a value of UpdateEnvironmentTemplateVersion
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:status:UpdateEnvironmentTemplateVersion'
, updateEnvironmentTemplateVersion_status
- The status of the environment template minor version to update.
$sel:description:UpdateEnvironmentTemplateVersion'
, updateEnvironmentTemplateVersion_description
- A description of environment template version to update.
$sel:majorVersion:UpdateEnvironmentTemplateVersion'
, updateEnvironmentTemplateVersion_majorVersion
- To update a major version of an environment template, include
majorVersion
.
$sel:minorVersion:UpdateEnvironmentTemplateVersion'
, updateEnvironmentTemplateVersion_minorVersion
- To update a minor version of an environment template, include
minorVersion
.
$sel:templateName:UpdateEnvironmentTemplateVersion'
, updateEnvironmentTemplateVersion_templateName
- The name of the environment template.
Request Lenses
updateEnvironmentTemplateVersion_status :: Lens' UpdateEnvironmentTemplateVersion (Maybe TemplateVersionStatus) Source #
The status of the environment template minor version to update.
updateEnvironmentTemplateVersion_description :: Lens' UpdateEnvironmentTemplateVersion (Maybe Text) Source #
A description of environment template version to update.
updateEnvironmentTemplateVersion_majorVersion :: Lens' UpdateEnvironmentTemplateVersion Text Source #
To update a major version of an environment template, include
majorVersion
.
updateEnvironmentTemplateVersion_minorVersion :: Lens' UpdateEnvironmentTemplateVersion Text Source #
To update a minor version of an environment template, include
minorVersion
.
updateEnvironmentTemplateVersion_templateName :: Lens' UpdateEnvironmentTemplateVersion Text Source #
The name of the environment template.
Destructuring the Response
data UpdateEnvironmentTemplateVersionResponse Source #
See: newUpdateEnvironmentTemplateVersionResponse
smart constructor.
UpdateEnvironmentTemplateVersionResponse' | |
|
Instances
newUpdateEnvironmentTemplateVersionResponse Source #
:: Int | |
-> EnvironmentTemplateVersion |
|
-> UpdateEnvironmentTemplateVersionResponse |
Create a value of UpdateEnvironmentTemplateVersionResponse
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:UpdateEnvironmentTemplateVersionResponse'
, updateEnvironmentTemplateVersionResponse_httpStatus
- The response's http status code.
$sel:environmentTemplateVersion:UpdateEnvironmentTemplateVersionResponse'
, updateEnvironmentTemplateVersionResponse_environmentTemplateVersion
- The environment template version detail data that's returned by AWS
Proton.
Response Lenses
updateEnvironmentTemplateVersionResponse_httpStatus :: Lens' UpdateEnvironmentTemplateVersionResponse Int Source #
The response's http status code.
updateEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' UpdateEnvironmentTemplateVersionResponse EnvironmentTemplateVersion Source #
The environment template version detail data that's returned by AWS Proton.