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 |
If no other minor versions of a service template exist, delete a major
version of the service template if it's not the Recommended
version.
Delete the Recommended
version of the service template if no other
major versions or minor versions of the service template exist. A major
version of a service template is a version that isn't backwards
compatible.
Delete a minor version of a service template if it's not the
Recommended
version. Delete a Recommended
minor version of the
service template if no other minor versions of the service template
exist. A minor version of a service template is a version that's
backwards compatible.
Synopsis
- data DeleteServiceTemplateVersion = DeleteServiceTemplateVersion' {
- majorVersion :: Text
- minorVersion :: Text
- templateName :: Text
- newDeleteServiceTemplateVersion :: Text -> Text -> Text -> DeleteServiceTemplateVersion
- deleteServiceTemplateVersion_majorVersion :: Lens' DeleteServiceTemplateVersion Text
- deleteServiceTemplateVersion_minorVersion :: Lens' DeleteServiceTemplateVersion Text
- deleteServiceTemplateVersion_templateName :: Lens' DeleteServiceTemplateVersion Text
- data DeleteServiceTemplateVersionResponse = DeleteServiceTemplateVersionResponse' {}
- newDeleteServiceTemplateVersionResponse :: Int -> DeleteServiceTemplateVersionResponse
- deleteServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' DeleteServiceTemplateVersionResponse (Maybe ServiceTemplateVersion)
- deleteServiceTemplateVersionResponse_httpStatus :: Lens' DeleteServiceTemplateVersionResponse Int
Creating a Request
data DeleteServiceTemplateVersion Source #
See: newDeleteServiceTemplateVersion
smart constructor.
DeleteServiceTemplateVersion' | |
|
Instances
newDeleteServiceTemplateVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteServiceTemplateVersion |
Create a value of DeleteServiceTemplateVersion
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:majorVersion:DeleteServiceTemplateVersion'
, deleteServiceTemplateVersion_majorVersion
- The service template major version to delete.
$sel:minorVersion:DeleteServiceTemplateVersion'
, deleteServiceTemplateVersion_minorVersion
- The service template minor version to delete.
$sel:templateName:DeleteServiceTemplateVersion'
, deleteServiceTemplateVersion_templateName
- The name of the service template.
Request Lenses
deleteServiceTemplateVersion_majorVersion :: Lens' DeleteServiceTemplateVersion Text Source #
The service template major version to delete.
deleteServiceTemplateVersion_minorVersion :: Lens' DeleteServiceTemplateVersion Text Source #
The service template minor version to delete.
deleteServiceTemplateVersion_templateName :: Lens' DeleteServiceTemplateVersion Text Source #
The name of the service template.
Destructuring the Response
data DeleteServiceTemplateVersionResponse Source #
See: newDeleteServiceTemplateVersionResponse
smart constructor.
DeleteServiceTemplateVersionResponse' | |
|
Instances
newDeleteServiceTemplateVersionResponse Source #
Create a value of DeleteServiceTemplateVersionResponse
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:serviceTemplateVersion:DeleteServiceTemplateVersionResponse'
, deleteServiceTemplateVersionResponse_serviceTemplateVersion
- The service template version detail data that's returned by AWS Proton.
$sel:httpStatus:DeleteServiceTemplateVersionResponse'
, deleteServiceTemplateVersionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' DeleteServiceTemplateVersionResponse (Maybe ServiceTemplateVersion) Source #
The service template version detail data that's returned by AWS Proton.
deleteServiceTemplateVersionResponse_httpStatus :: Lens' DeleteServiceTemplateVersionResponse Int Source #
The response's http status code.