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 |
Documentation
data AwsSnsTopicSubscription Source #
A wrapper type for the attributes of an Amazon SNS subscription.
See: newAwsSnsTopicSubscription
smart constructor.
Instances
newAwsSnsTopicSubscription :: AwsSnsTopicSubscription Source #
Create a value of AwsSnsTopicSubscription
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:AwsSnsTopicSubscription'
, awsSnsTopicSubscription_protocol
- The subscription's protocol.
$sel:endpoint:AwsSnsTopicSubscription'
, awsSnsTopicSubscription_endpoint
- The subscription's endpoint (format depends on the protocol).
awsSnsTopicSubscription_protocol :: Lens' AwsSnsTopicSubscription (Maybe Text) Source #
The subscription's protocol.
awsSnsTopicSubscription_endpoint :: Lens' AwsSnsTopicSubscription (Maybe Text) Source #
The subscription's endpoint (format depends on the protocol).