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 Subscription Source #
Describes a subscription.
See: newSubscription
smart constructor.
Subscription' | |
|
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 protocol of the subscription.
$sel:endPoint:Subscription'
, subscription_endPoint
- The endpoint of the subscription.
$sel:subscriptionId:Subscription'
, subscription_subscriptionId
- The ID of the subscription.
subscription_protocol :: Lens' Subscription (Maybe SubscriptionProtocolType) Source #
The protocol of the subscription.
subscription_endPoint :: Lens' Subscription (Maybe Text) Source #
The endpoint of the subscription.
subscription_subscriptionId :: Lens' Subscription (Maybe Text) Source #
The ID of the subscription.