| 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.DirectoryService.DeleteLogSubscription
Description
Deletes the specified log subscription.
Synopsis
- data DeleteLogSubscription = DeleteLogSubscription' {
- directoryId :: Text
- newDeleteLogSubscription :: Text -> DeleteLogSubscription
- deleteLogSubscription_directoryId :: Lens' DeleteLogSubscription Text
- data DeleteLogSubscriptionResponse = DeleteLogSubscriptionResponse' {
- httpStatus :: Int
- newDeleteLogSubscriptionResponse :: Int -> DeleteLogSubscriptionResponse
- deleteLogSubscriptionResponse_httpStatus :: Lens' DeleteLogSubscriptionResponse Int
Creating a Request
data DeleteLogSubscription Source #
See: newDeleteLogSubscription smart constructor.
Constructors
| DeleteLogSubscription' | |
Fields
| |
Instances
newDeleteLogSubscription Source #
Arguments
| :: Text | |
| -> DeleteLogSubscription |
Create a value of DeleteLogSubscription 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:
DeleteLogSubscription, deleteLogSubscription_directoryId - Identifier of the directory whose log subscription you want to delete.
Request Lenses
deleteLogSubscription_directoryId :: Lens' DeleteLogSubscription Text Source #
Identifier of the directory whose log subscription you want to delete.
Destructuring the Response
data DeleteLogSubscriptionResponse Source #
See: newDeleteLogSubscriptionResponse smart constructor.
Constructors
| DeleteLogSubscriptionResponse' | |
Fields
| |
Instances
newDeleteLogSubscriptionResponse Source #
Create a value of DeleteLogSubscriptionResponse 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:DeleteLogSubscriptionResponse', deleteLogSubscriptionResponse_httpStatus - The response's http status code.
Response Lenses
deleteLogSubscriptionResponse_httpStatus :: Lens' DeleteLogSubscriptionResponse Int Source #
The response's http status code.