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.CreateDatalakeExceptionsSubscription
Description
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.
Constructors
CreateDatalakeExceptionsSubscription' | |
Fields
|
Instances
newCreateDatalakeExceptionsSubscription Source #
Arguments
:: 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.
Constructors
CreateDatalakeExceptionsSubscriptionResponse' | |
Fields
|
Instances
newCreateDatalakeExceptionsSubscriptionResponse Source #
Arguments
:: 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.