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 |
Deletes a service profile.
Synopsis
- data DeleteServiceProfile = DeleteServiceProfile' {}
- newDeleteServiceProfile :: Text -> DeleteServiceProfile
- deleteServiceProfile_id :: Lens' DeleteServiceProfile Text
- data DeleteServiceProfileResponse = DeleteServiceProfileResponse' {
- httpStatus :: Int
- newDeleteServiceProfileResponse :: Int -> DeleteServiceProfileResponse
- deleteServiceProfileResponse_httpStatus :: Lens' DeleteServiceProfileResponse Int
Creating a Request
data DeleteServiceProfile Source #
See: newDeleteServiceProfile
smart constructor.
Instances
newDeleteServiceProfile Source #
Create a value of DeleteServiceProfile
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:id:DeleteServiceProfile'
, deleteServiceProfile_id
- The ID of the resource to delete.
Request Lenses
deleteServiceProfile_id :: Lens' DeleteServiceProfile Text Source #
The ID of the resource to delete.
Destructuring the Response
data DeleteServiceProfileResponse Source #
See: newDeleteServiceProfileResponse
smart constructor.
DeleteServiceProfileResponse' | |
|
Instances
newDeleteServiceProfileResponse Source #
Create a value of DeleteServiceProfileResponse
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:DeleteServiceProfileResponse'
, deleteServiceProfileResponse_httpStatus
- The response's http status code.
Response Lenses
deleteServiceProfileResponse_httpStatus :: Lens' DeleteServiceProfileResponse Int Source #
The response's http status code.