| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@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:
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:
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 ARNTopicArn-- the topic ARN that the subscription is associated withOwner-- the AWS account ID of the subscription's ownerConfirmationWasAuthenticated-- true if the subscription confirmation request was authenticatedDeliveryPolicy-- the JSON serialization of the subscription's delivery policyEffectiveDeliveryPolicy-- 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.