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
- data Subscription = Subscription' {}
- newSubscription :: Subscription
- subscription_protocol :: Lens' Subscription (Maybe Text)
- subscription_owner :: Lens' Subscription (Maybe Text)
- subscription_topicArn :: Lens' Subscription (Maybe Text)
- subscription_endpoint :: Lens' Subscription (Maybe Text)
- subscription_subscriptionArn :: Lens' Subscription (Maybe Text)
Documentation
data Subscription Source #
A wrapper type for the attributes of an Amazon SNS subscription.
See: newSubscription
smart constructor.
Instances
newSubscription :: Subscription Source #
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:protocol:Subscription'
, subscription_protocol
- The subscription's protocol.
$sel:owner:Subscription'
, subscription_owner
- The subscription's owner.
$sel:topicArn:Subscription'
, subscription_topicArn
- The ARN of the subscription's topic.
$sel:endpoint:Subscription'
, subscription_endpoint
- The subscription's endpoint (format depends on the protocol).
$sel:subscriptionArn:Subscription'
, subscription_subscriptionArn
- The subscription's ARN.
subscription_protocol :: Lens' Subscription (Maybe Text) Source #
The subscription's protocol.
subscription_owner :: Lens' Subscription (Maybe Text) Source #
The subscription's owner.
subscription_topicArn :: Lens' Subscription (Maybe Text) Source #
The ARN of the subscription's topic.
subscription_endpoint :: Lens' Subscription (Maybe Text) Source #
The subscription's endpoint (format depends on the protocol).
subscription_subscriptionArn :: Lens' Subscription (Maybe Text) Source #
The subscription's ARN.