| 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 |
Amazonka.Route53AutoNaming.DeleteService
Description
Deletes a specified service. If the service still contains one or more registered instances, the request fails.
Synopsis
- data DeleteService = DeleteService' {}
- newDeleteService :: Text -> DeleteService
- deleteService_id :: Lens' DeleteService Text
- data DeleteServiceResponse = DeleteServiceResponse' {
- httpStatus :: Int
- newDeleteServiceResponse :: Int -> DeleteServiceResponse
- deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int
Creating a Request
data DeleteService Source #
See: newDeleteService smart constructor.
Constructors
| DeleteService' | |
Instances
Arguments
| :: Text | |
| -> DeleteService |
Create a value of DeleteService 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:
DeleteService, deleteService_id - The ID of the service that you want to delete.
Request Lenses
deleteService_id :: Lens' DeleteService Text Source #
The ID of the service that you want to delete.
Destructuring the Response
data DeleteServiceResponse Source #
See: newDeleteServiceResponse smart constructor.
Constructors
| DeleteServiceResponse' | |
Fields
| |
Instances
newDeleteServiceResponse Source #
Create a value of DeleteServiceResponse 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:httpStatus:DeleteServiceResponse', deleteServiceResponse_httpStatus - The response's http status code.
Response Lenses
deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int Source #
The response's http status code.