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 |
Delete a service.
Synopsis
- data DeleteService = DeleteService' {}
- newDeleteService :: Text -> DeleteService
- deleteService_name :: Lens' DeleteService Text
- data DeleteServiceResponse = DeleteServiceResponse' {
- service :: Maybe Service
- httpStatus :: Int
- newDeleteServiceResponse :: Int -> DeleteServiceResponse
- deleteServiceResponse_service :: Lens' DeleteServiceResponse (Maybe Service)
- deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int
Creating a Request
data DeleteService Source #
See: newDeleteService
smart constructor.
Instances
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:
$sel:name:DeleteService'
, deleteService_name
- The name of the service to delete.
Request Lenses
deleteService_name :: Lens' DeleteService Text Source #
The name of the service to delete.
Destructuring the Response
data DeleteServiceResponse Source #
See: newDeleteServiceResponse
smart constructor.
DeleteServiceResponse' | |
|
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:service:DeleteServiceResponse'
, deleteServiceResponse_service
- The service detail data that's returned by AWS Proton.
$sel:httpStatus:DeleteServiceResponse'
, deleteServiceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteServiceResponse_service :: Lens' DeleteServiceResponse (Maybe Service) Source #
The service detail data that's returned by AWS Proton.
deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int Source #
The response's http status code.