Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes a launch template. Deleting a launch template deletes all of its versions.
Synopsis
- data DeleteLaunchTemplate = DeleteLaunchTemplate' {}
- newDeleteLaunchTemplate :: DeleteLaunchTemplate
- deleteLaunchTemplate_dryRun :: Lens' DeleteLaunchTemplate (Maybe Bool)
- deleteLaunchTemplate_launchTemplateId :: Lens' DeleteLaunchTemplate (Maybe Text)
- deleteLaunchTemplate_launchTemplateName :: Lens' DeleteLaunchTemplate (Maybe Text)
- data DeleteLaunchTemplateResponse = DeleteLaunchTemplateResponse' {}
- newDeleteLaunchTemplateResponse :: Int -> DeleteLaunchTemplateResponse
- deleteLaunchTemplateResponse_launchTemplate :: Lens' DeleteLaunchTemplateResponse (Maybe LaunchTemplate)
- deleteLaunchTemplateResponse_httpStatus :: Lens' DeleteLaunchTemplateResponse Int
Creating a Request
data DeleteLaunchTemplate Source #
See: newDeleteLaunchTemplate
smart constructor.
DeleteLaunchTemplate' | |
|
Instances
newDeleteLaunchTemplate :: DeleteLaunchTemplate Source #
Create a value of DeleteLaunchTemplate
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:dryRun:DeleteLaunchTemplate'
, deleteLaunchTemplate_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DeleteLaunchTemplate
, deleteLaunchTemplate_launchTemplateId
- The ID of the launch template.
You must specify either the LaunchTemplateId
or the
LaunchTemplateName
, but not both.
DeleteLaunchTemplate
, deleteLaunchTemplate_launchTemplateName
- The name of the launch template.
You must specify either the LaunchTemplateName
or the
LaunchTemplateId
, but not both.
Request Lenses
deleteLaunchTemplate_dryRun :: Lens' DeleteLaunchTemplate (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
deleteLaunchTemplate_launchTemplateId :: Lens' DeleteLaunchTemplate (Maybe Text) Source #
The ID of the launch template.
You must specify either the LaunchTemplateId
or the
LaunchTemplateName
, but not both.
deleteLaunchTemplate_launchTemplateName :: Lens' DeleteLaunchTemplate (Maybe Text) Source #
The name of the launch template.
You must specify either the LaunchTemplateName
or the
LaunchTemplateId
, but not both.
Destructuring the Response
data DeleteLaunchTemplateResponse Source #
See: newDeleteLaunchTemplateResponse
smart constructor.
DeleteLaunchTemplateResponse' | |
|
Instances
newDeleteLaunchTemplateResponse Source #
Create a value of DeleteLaunchTemplateResponse
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:
DeleteLaunchTemplateResponse
, deleteLaunchTemplateResponse_launchTemplate
- Information about the launch template.
$sel:httpStatus:DeleteLaunchTemplateResponse'
, deleteLaunchTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLaunchTemplateResponse_launchTemplate :: Lens' DeleteLaunchTemplateResponse (Maybe LaunchTemplate) Source #
Information about the launch template.
deleteLaunchTemplateResponse_httpStatus :: Lens' DeleteLaunchTemplateResponse Int Source #
The response's http status code.