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 a service template.
Synopsis
- data UpdateServiceTemplateVersion = UpdateServiceTemplateVersion' {}
- newUpdateServiceTemplateVersion :: Text -> Text -> Text -> UpdateServiceTemplateVersion
- updateServiceTemplateVersion_status :: Lens' UpdateServiceTemplateVersion (Maybe TemplateVersionStatus)
- updateServiceTemplateVersion_compatibleEnvironmentTemplates :: Lens' UpdateServiceTemplateVersion (Maybe (NonEmpty CompatibleEnvironmentTemplateInput))
- updateServiceTemplateVersion_description :: Lens' UpdateServiceTemplateVersion (Maybe Text)
- updateServiceTemplateVersion_majorVersion :: Lens' UpdateServiceTemplateVersion Text
- updateServiceTemplateVersion_minorVersion :: Lens' UpdateServiceTemplateVersion Text
- updateServiceTemplateVersion_templateName :: Lens' UpdateServiceTemplateVersion Text
- data UpdateServiceTemplateVersionResponse = UpdateServiceTemplateVersionResponse' {}
- newUpdateServiceTemplateVersionResponse :: Int -> ServiceTemplateVersion -> UpdateServiceTemplateVersionResponse
- updateServiceTemplateVersionResponse_httpStatus :: Lens' UpdateServiceTemplateVersionResponse Int
- updateServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' UpdateServiceTemplateVersionResponse ServiceTemplateVersion
Creating a Request
data UpdateServiceTemplateVersion Source #
See: newUpdateServiceTemplateVersion
smart constructor.
UpdateServiceTemplateVersion' | |
|
Instances
newUpdateServiceTemplateVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateServiceTemplateVersion |
Create a value of UpdateServiceTemplateVersion
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:UpdateServiceTemplateVersion'
, updateServiceTemplateVersion_status
- The status of the service template minor version to update.
$sel:compatibleEnvironmentTemplates:UpdateServiceTemplateVersion'
, updateServiceTemplateVersion_compatibleEnvironmentTemplates
- An array of compatible environment names for a service template major or
minor version to update.
$sel:description:UpdateServiceTemplateVersion'
, updateServiceTemplateVersion_description
- A description of a service template version to update.
$sel:majorVersion:UpdateServiceTemplateVersion'
, updateServiceTemplateVersion_majorVersion
- To update a major version of a service template, include majorVersion
.
$sel:minorVersion:UpdateServiceTemplateVersion'
, updateServiceTemplateVersion_minorVersion
- To update a minor version of a service template, include minorVersion
.
$sel:templateName:UpdateServiceTemplateVersion'
, updateServiceTemplateVersion_templateName
- The name of the service template.
Request Lenses
updateServiceTemplateVersion_status :: Lens' UpdateServiceTemplateVersion (Maybe TemplateVersionStatus) Source #
The status of the service template minor version to update.
updateServiceTemplateVersion_compatibleEnvironmentTemplates :: Lens' UpdateServiceTemplateVersion (Maybe (NonEmpty CompatibleEnvironmentTemplateInput)) Source #
An array of compatible environment names for a service template major or minor version to update.
updateServiceTemplateVersion_description :: Lens' UpdateServiceTemplateVersion (Maybe Text) Source #
A description of a service template version to update.
updateServiceTemplateVersion_majorVersion :: Lens' UpdateServiceTemplateVersion Text Source #
To update a major version of a service template, include majorVersion
.
updateServiceTemplateVersion_minorVersion :: Lens' UpdateServiceTemplateVersion Text Source #
To update a minor version of a service template, include minorVersion
.
updateServiceTemplateVersion_templateName :: Lens' UpdateServiceTemplateVersion Text Source #
The name of the service template.
Destructuring the Response
data UpdateServiceTemplateVersionResponse Source #
See: newUpdateServiceTemplateVersionResponse
smart constructor.
UpdateServiceTemplateVersionResponse' | |
|
Instances
newUpdateServiceTemplateVersionResponse Source #
:: Int | |
-> ServiceTemplateVersion |
|
-> UpdateServiceTemplateVersionResponse |
Create a value of UpdateServiceTemplateVersionResponse
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:UpdateServiceTemplateVersionResponse'
, updateServiceTemplateVersionResponse_httpStatus
- The response's http status code.
$sel:serviceTemplateVersion:UpdateServiceTemplateVersionResponse'
, updateServiceTemplateVersionResponse_serviceTemplateVersion
- The service template version detail data that's returned by AWS Proton.
Response Lenses
updateServiceTemplateVersionResponse_httpStatus :: Lens' UpdateServiceTemplateVersionResponse Int Source #
The response's http status code.
updateServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' UpdateServiceTemplateVersionResponse ServiceTemplateVersion Source #
The service template version detail data that's returned by AWS Proton.