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 |
Deletes the subscription permission for accounts that are already enabled in Amazon Security Lake. You can delete a subscriber and remove access to data in the current Amazon Web Services Region.
Synopsis
- data DeleteSubscriber = DeleteSubscriber' {}
- newDeleteSubscriber :: Text -> DeleteSubscriber
- deleteSubscriber_id :: Lens' DeleteSubscriber Text
- data DeleteSubscriberResponse = DeleteSubscriberResponse' {
- httpStatus :: Int
- newDeleteSubscriberResponse :: Int -> DeleteSubscriberResponse
- deleteSubscriberResponse_httpStatus :: Lens' DeleteSubscriberResponse Int
Creating a Request
data DeleteSubscriber Source #
See: newDeleteSubscriber
smart constructor.
Instances
Create a value of DeleteSubscriber
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:DeleteSubscriber'
, deleteSubscriber_id
- A value created by Security Lake that uniquely identifies your
DeleteSubscriber
API request.
Request Lenses
deleteSubscriber_id :: Lens' DeleteSubscriber Text Source #
A value created by Security Lake that uniquely identifies your
DeleteSubscriber
API request.
Destructuring the Response
data DeleteSubscriberResponse Source #
See: newDeleteSubscriberResponse
smart constructor.
DeleteSubscriberResponse' | |
|
Instances
newDeleteSubscriberResponse Source #
Create a value of DeleteSubscriberResponse
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:DeleteSubscriberResponse'
, deleteSubscriberResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSubscriberResponse_httpStatus :: Lens' DeleteSubscriberResponse Int Source #
The response's http status code.