| 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.SecurityLake.UpdateDatalakeExceptionsSubscription
Description
Updates the specified notification subscription in Amazon Security Lake for the organization you specify.
Synopsis
- data UpdateDatalakeExceptionsSubscription = UpdateDatalakeExceptionsSubscription' {}
- newUpdateDatalakeExceptionsSubscription :: Text -> SubscriptionProtocolType -> UpdateDatalakeExceptionsSubscription
- updateDatalakeExceptionsSubscription_notificationEndpoint :: Lens' UpdateDatalakeExceptionsSubscription Text
- updateDatalakeExceptionsSubscription_subscriptionProtocol :: Lens' UpdateDatalakeExceptionsSubscription SubscriptionProtocolType
- data UpdateDatalakeExceptionsSubscriptionResponse = UpdateDatalakeExceptionsSubscriptionResponse' {
- httpStatus :: Int
- newUpdateDatalakeExceptionsSubscriptionResponse :: Int -> UpdateDatalakeExceptionsSubscriptionResponse
- updateDatalakeExceptionsSubscriptionResponse_httpStatus :: Lens' UpdateDatalakeExceptionsSubscriptionResponse Int
Creating a Request
data UpdateDatalakeExceptionsSubscription Source #
See: newUpdateDatalakeExceptionsSubscription smart constructor.
Constructors
| UpdateDatalakeExceptionsSubscription' | |
Fields
| |
Instances
newUpdateDatalakeExceptionsSubscription Source #
Arguments
| :: Text |
|
| -> SubscriptionProtocolType | |
| -> UpdateDatalakeExceptionsSubscription |
Create a value of UpdateDatalakeExceptionsSubscription 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:notificationEndpoint:UpdateDatalakeExceptionsSubscription', updateDatalakeExceptionsSubscription_notificationEndpoint - The account that is subscribed to receive exception notifications.
UpdateDatalakeExceptionsSubscription, updateDatalakeExceptionsSubscription_subscriptionProtocol - The subscription protocol to which exception messages are posted.
Request Lenses
updateDatalakeExceptionsSubscription_notificationEndpoint :: Lens' UpdateDatalakeExceptionsSubscription Text Source #
The account that is subscribed to receive exception notifications.
updateDatalakeExceptionsSubscription_subscriptionProtocol :: Lens' UpdateDatalakeExceptionsSubscription SubscriptionProtocolType Source #
The subscription protocol to which exception messages are posted.
Destructuring the Response
data UpdateDatalakeExceptionsSubscriptionResponse Source #
See: newUpdateDatalakeExceptionsSubscriptionResponse smart constructor.
Constructors
| UpdateDatalakeExceptionsSubscriptionResponse' | |
Fields
| |
Instances
newUpdateDatalakeExceptionsSubscriptionResponse Source #
Arguments
| :: Int |
|
| -> UpdateDatalakeExceptionsSubscriptionResponse |
Create a value of UpdateDatalakeExceptionsSubscriptionResponse 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:UpdateDatalakeExceptionsSubscriptionResponse', updateDatalakeExceptionsSubscriptionResponse_httpStatus - The response's http status code.
Response Lenses
updateDatalakeExceptionsSubscriptionResponse_httpStatus :: Lens' UpdateDatalakeExceptionsSubscriptionResponse Int Source #
The response's http status code.