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 major or minor versions of the service template exist, delete the service template.
Synopsis
- data DeleteServiceTemplate = DeleteServiceTemplate' {}
- newDeleteServiceTemplate :: Text -> DeleteServiceTemplate
- deleteServiceTemplate_name :: Lens' DeleteServiceTemplate Text
- data DeleteServiceTemplateResponse = DeleteServiceTemplateResponse' {}
- newDeleteServiceTemplateResponse :: Int -> DeleteServiceTemplateResponse
- deleteServiceTemplateResponse_serviceTemplate :: Lens' DeleteServiceTemplateResponse (Maybe ServiceTemplate)
- deleteServiceTemplateResponse_httpStatus :: Lens' DeleteServiceTemplateResponse Int
Creating a Request
data DeleteServiceTemplate Source #
See: newDeleteServiceTemplate
smart constructor.
Instances
newDeleteServiceTemplate Source #
Create a value of DeleteServiceTemplate
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:name:DeleteServiceTemplate'
, deleteServiceTemplate_name
- The name of the service template to delete.
Request Lenses
deleteServiceTemplate_name :: Lens' DeleteServiceTemplate Text Source #
The name of the service template to delete.
Destructuring the Response
data DeleteServiceTemplateResponse Source #
See: newDeleteServiceTemplateResponse
smart constructor.
DeleteServiceTemplateResponse' | |
|
Instances
newDeleteServiceTemplateResponse Source #
Create a value of DeleteServiceTemplateResponse
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:serviceTemplate:DeleteServiceTemplateResponse'
, deleteServiceTemplateResponse_serviceTemplate
- The service template detail data that's returned by AWS Proton.
$sel:httpStatus:DeleteServiceTemplateResponse'
, deleteServiceTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteServiceTemplateResponse_serviceTemplate :: Lens' DeleteServiceTemplateResponse (Maybe ServiceTemplate) Source #
The service template detail data that's returned by AWS Proton.
deleteServiceTemplateResponse_httpStatus :: Lens' DeleteServiceTemplateResponse Int Source #
The response's http status code.