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 |
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.
UpdateDatalakeExceptionsSubscription' | |
|
Instances
newUpdateDatalakeExceptionsSubscription Source #
:: 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.
UpdateDatalakeExceptionsSubscriptionResponse' | |
|
Instances
Generic UpdateDatalakeExceptionsSubscriptionResponse Source # | |
Read UpdateDatalakeExceptionsSubscriptionResponse Source # | |
Show UpdateDatalakeExceptionsSubscriptionResponse Source # | |
NFData UpdateDatalakeExceptionsSubscriptionResponse Source # | |
Eq UpdateDatalakeExceptionsSubscriptionResponse Source # | |
type Rep UpdateDatalakeExceptionsSubscriptionResponse Source # | |
Defined in Amazonka.SecurityLake.UpdateDatalakeExceptionsSubscription type Rep UpdateDatalakeExceptionsSubscriptionResponse = D1 ('MetaData "UpdateDatalakeExceptionsSubscriptionResponse" "Amazonka.SecurityLake.UpdateDatalakeExceptionsSubscription" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "UpdateDatalakeExceptionsSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateDatalakeExceptionsSubscriptionResponse Source #
:: 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.