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 |
Creates the specified notification subscription in Amazon Security Lake for the organization you specify.
Synopsis
- data CreateDatalakeExceptionsSubscription = CreateDatalakeExceptionsSubscription' {}
- newCreateDatalakeExceptionsSubscription :: Text -> SubscriptionProtocolType -> CreateDatalakeExceptionsSubscription
- createDatalakeExceptionsSubscription_notificationEndpoint :: Lens' CreateDatalakeExceptionsSubscription Text
- createDatalakeExceptionsSubscription_subscriptionProtocol :: Lens' CreateDatalakeExceptionsSubscription SubscriptionProtocolType
- data CreateDatalakeExceptionsSubscriptionResponse = CreateDatalakeExceptionsSubscriptionResponse' {
- httpStatus :: Int
- newCreateDatalakeExceptionsSubscriptionResponse :: Int -> CreateDatalakeExceptionsSubscriptionResponse
- createDatalakeExceptionsSubscriptionResponse_httpStatus :: Lens' CreateDatalakeExceptionsSubscriptionResponse Int
Creating a Request
data CreateDatalakeExceptionsSubscription Source #
See: newCreateDatalakeExceptionsSubscription
smart constructor.
CreateDatalakeExceptionsSubscription' | |
|
Instances
newCreateDatalakeExceptionsSubscription Source #
:: Text |
|
-> SubscriptionProtocolType | |
-> CreateDatalakeExceptionsSubscription |
Create a value of CreateDatalakeExceptionsSubscription
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:CreateDatalakeExceptionsSubscription'
, createDatalakeExceptionsSubscription_notificationEndpoint
- The Amazon Web Services account where you want to receive exception
notifications.
CreateDatalakeExceptionsSubscription
, createDatalakeExceptionsSubscription_subscriptionProtocol
- The subscription protocol to which exception notifications are posted.
Request Lenses
createDatalakeExceptionsSubscription_notificationEndpoint :: Lens' CreateDatalakeExceptionsSubscription Text Source #
The Amazon Web Services account where you want to receive exception notifications.
createDatalakeExceptionsSubscription_subscriptionProtocol :: Lens' CreateDatalakeExceptionsSubscription SubscriptionProtocolType Source #
The subscription protocol to which exception notifications are posted.
Destructuring the Response
data CreateDatalakeExceptionsSubscriptionResponse Source #
See: newCreateDatalakeExceptionsSubscriptionResponse
smart constructor.
CreateDatalakeExceptionsSubscriptionResponse' | |
|
Instances
Generic CreateDatalakeExceptionsSubscriptionResponse Source # | |
Read CreateDatalakeExceptionsSubscriptionResponse Source # | |
Show CreateDatalakeExceptionsSubscriptionResponse Source # | |
NFData CreateDatalakeExceptionsSubscriptionResponse Source # | |
Eq CreateDatalakeExceptionsSubscriptionResponse Source # | |
type Rep CreateDatalakeExceptionsSubscriptionResponse Source # | |
Defined in Amazonka.SecurityLake.CreateDatalakeExceptionsSubscription type Rep CreateDatalakeExceptionsSubscriptionResponse = D1 ('MetaData "CreateDatalakeExceptionsSubscriptionResponse" "Amazonka.SecurityLake.CreateDatalakeExceptionsSubscription" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "CreateDatalakeExceptionsSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateDatalakeExceptionsSubscriptionResponse Source #
:: Int |
|
-> CreateDatalakeExceptionsSubscriptionResponse |
Create a value of CreateDatalakeExceptionsSubscriptionResponse
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:CreateDatalakeExceptionsSubscriptionResponse'
, createDatalakeExceptionsSubscriptionResponse_httpStatus
- The response's http status code.
Response Lenses
createDatalakeExceptionsSubscriptionResponse_httpStatus :: Lens' CreateDatalakeExceptionsSubscriptionResponse Int Source #
The response's http status code.