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 an environment template exist, delete a
major version of the environment template if it's not the Recommended
version. Delete the Recommended
version of the environment template if
no other major versions or minor versions of the environment template
exist. A major version of an environment template is a version that's
not backwards compatible.
Delete a minor version of an environment template if it isn't the
Recommended
version. Delete a Recommended
minor version of the
environment template if no other minor versions of the environment
template exist. A minor version of an environment template is a version
that's backwards compatible.
Synopsis
- data DeleteEnvironmentTemplateVersion = DeleteEnvironmentTemplateVersion' {
- majorVersion :: Text
- minorVersion :: Text
- templateName :: Text
- newDeleteEnvironmentTemplateVersion :: Text -> Text -> Text -> DeleteEnvironmentTemplateVersion
- deleteEnvironmentTemplateVersion_majorVersion :: Lens' DeleteEnvironmentTemplateVersion Text
- deleteEnvironmentTemplateVersion_minorVersion :: Lens' DeleteEnvironmentTemplateVersion Text
- deleteEnvironmentTemplateVersion_templateName :: Lens' DeleteEnvironmentTemplateVersion Text
- data DeleteEnvironmentTemplateVersionResponse = DeleteEnvironmentTemplateVersionResponse' {}
- newDeleteEnvironmentTemplateVersionResponse :: Int -> DeleteEnvironmentTemplateVersionResponse
- deleteEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' DeleteEnvironmentTemplateVersionResponse (Maybe EnvironmentTemplateVersion)
- deleteEnvironmentTemplateVersionResponse_httpStatus :: Lens' DeleteEnvironmentTemplateVersionResponse Int
Creating a Request
data DeleteEnvironmentTemplateVersion Source #
See: newDeleteEnvironmentTemplateVersion
smart constructor.
DeleteEnvironmentTemplateVersion' | |
|
Instances
newDeleteEnvironmentTemplateVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteEnvironmentTemplateVersion |
Create a value of DeleteEnvironmentTemplateVersion
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:DeleteEnvironmentTemplateVersion'
, deleteEnvironmentTemplateVersion_majorVersion
- The environment template major version to delete.
$sel:minorVersion:DeleteEnvironmentTemplateVersion'
, deleteEnvironmentTemplateVersion_minorVersion
- The environment template minor version to delete.
$sel:templateName:DeleteEnvironmentTemplateVersion'
, deleteEnvironmentTemplateVersion_templateName
- The name of the environment template.
Request Lenses
deleteEnvironmentTemplateVersion_majorVersion :: Lens' DeleteEnvironmentTemplateVersion Text Source #
The environment template major version to delete.
deleteEnvironmentTemplateVersion_minorVersion :: Lens' DeleteEnvironmentTemplateVersion Text Source #
The environment template minor version to delete.
deleteEnvironmentTemplateVersion_templateName :: Lens' DeleteEnvironmentTemplateVersion Text Source #
The name of the environment template.
Destructuring the Response
data DeleteEnvironmentTemplateVersionResponse Source #
See: newDeleteEnvironmentTemplateVersionResponse
smart constructor.
DeleteEnvironmentTemplateVersionResponse' | |
|
Instances
newDeleteEnvironmentTemplateVersionResponse Source #
Create a value of DeleteEnvironmentTemplateVersionResponse
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:environmentTemplateVersion:DeleteEnvironmentTemplateVersionResponse'
, deleteEnvironmentTemplateVersionResponse_environmentTemplateVersion
- The environment template version detail data that's returned by AWS
Proton.
$sel:httpStatus:DeleteEnvironmentTemplateVersionResponse'
, deleteEnvironmentTemplateVersionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' DeleteEnvironmentTemplateVersionResponse (Maybe EnvironmentTemplateVersion) Source #
The environment template version detail data that's returned by AWS Proton.
deleteEnvironmentTemplateVersionResponse_httpStatus :: Lens' DeleteEnvironmentTemplateVersionResponse Int Source #
The response's http status code.