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 |
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:
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 detailed data of the service template being deleted.
$sel:httpStatus:DeleteServiceTemplateResponse'
, deleteServiceTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteServiceTemplateResponse_serviceTemplate :: Lens' DeleteServiceTemplateResponse (Maybe ServiceTemplate) Source #
The detailed data of the service template being deleted.
deleteServiceTemplateResponse_httpStatus :: Lens' DeleteServiceTemplateResponse Int Source #
The response's http status code.