Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data Subscription Source #
This data type is used as a response element in the ListEventSubscriptions action.
See: newSubscription
smart constructor.
Subscription' | |
|
Instances
:: Text | |
-> Text | |
-> NonEmpty EventSubscription | |
-> Subscription |
Create a value of Subscription
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:resourceArn:Subscription'
, subscription_resourceArn
- The ARN of the assessment template that is used during the event for
which the SNS notification is sent.
$sel:topicArn:Subscription'
, subscription_topicArn
- The ARN of the Amazon Simple Notification Service (SNS) topic to which
the SNS notifications are sent.
$sel:eventSubscriptions:Subscription'
, subscription_eventSubscriptions
- The list of existing event subscriptions.
subscription_resourceArn :: Lens' Subscription Text Source #
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
subscription_topicArn :: Lens' Subscription Text Source #
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
subscription_eventSubscriptions :: Lens' Subscription (NonEmpty EventSubscription) Source #
The list of existing event subscriptions.