| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.SNS.GetSubscriptionAttributes
Description
Returns all of the properties of a subscription.
- getSubscriptionAttributes :: Text -> GetSubscriptionAttributes
- data GetSubscriptionAttributes
- gsaSubscriptionARN :: Lens' GetSubscriptionAttributes Text
- getSubscriptionAttributesResponse :: Int -> GetSubscriptionAttributesResponse
- data GetSubscriptionAttributesResponse
- gsarsAttributes :: Lens' GetSubscriptionAttributesResponse (HashMap Text Text)
- gsarsResponseStatus :: Lens' GetSubscriptionAttributesResponse Int
Creating a Request
getSubscriptionAttributes Source #
Arguments
| :: Text | |
| -> GetSubscriptionAttributes |
Creates a value of GetSubscriptionAttributes with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsaSubscriptionARN- The ARN of the subscription whose properties you want to get.
data GetSubscriptionAttributes Source #
Input for GetSubscriptionAttributes.
See: getSubscriptionAttributes smart constructor.
Instances
Request Lenses
gsaSubscriptionARN :: Lens' GetSubscriptionAttributes Text Source #
The ARN of the subscription whose properties you want to get.
Destructuring the Response
getSubscriptionAttributesResponse Source #
Arguments
| :: Int | |
| -> GetSubscriptionAttributesResponse |
Creates a value of GetSubscriptionAttributesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsarsAttributes- A map of the subscription's attributes. Attributes in this map include the following: *SubscriptionArn-- the subscription's ARN *TopicArn-- the topic ARN that the subscription is associated with *Owner-- the AWS account ID of the subscription's owner *ConfirmationWasAuthenticated-- true if the subscription confirmation request was authenticated *DeliveryPolicy-- the JSON serialization of the subscription's delivery policy *EffectiveDeliveryPolicy-- the JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaultsgsarsResponseStatus- -- | The response status code.
data GetSubscriptionAttributesResponse Source #
Response for GetSubscriptionAttributes action.
See: getSubscriptionAttributesResponse smart constructor.
Instances
Response Lenses
gsarsAttributes :: Lens' GetSubscriptionAttributesResponse (HashMap Text Text) Source #
A map of the subscription's attributes. Attributes in this map include the following: * SubscriptionArn -- the subscription's ARN * TopicArn -- the topic ARN that the subscription is associated with * Owner -- the AWS account ID of the subscription's owner * ConfirmationWasAuthenticated -- true if the subscription confirmation request was authenticated * DeliveryPolicy -- the JSON serialization of the subscription's delivery policy * EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults
gsarsResponseStatus :: Lens' GetSubscriptionAttributesResponse Int Source #
- - | The response status code.