amazonka-sns-1.3.0: Amazon Simple Notification Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.GetSubscriptionAttributes

Contents

Description

Returns all of the properties of a subscription.

See: AWS API Reference for GetSubscriptionAttributes.

Synopsis

Creating a Request

getSubscriptionAttributes Source

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:

Request Lenses

gsaSubscriptionARN :: Lens' GetSubscriptionAttributes Text Source

The ARN of the subscription whose properties you want to get.

Destructuring the Response

getSubscriptionAttributesResponse Source

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:

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