amazonka-sns-1.3.2: 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.GetTopicAttributes

Contents

Description

Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user.

See: AWS API Reference for GetTopicAttributes.

Synopsis

Creating a Request

getTopicAttributes Source

Creates a value of GetTopicAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gtaTopicARN :: Lens' GetTopicAttributes Text Source

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

Destructuring the Response

getTopicAttributesResponse Source

Creates a value of GetTopicAttributesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gtarsAttributes :: Lens' GetTopicAttributesResponse (HashMap Text Text) Source

A map of the topic's attributes. Attributes in this map include the following:

  • TopicArn -- the topic's ARN
  • Owner -- the AWS account ID of the topic's owner
  • Policy -- the JSON serialization of the topic's access control policy
  • DisplayName -- the human-readable name used in the "From" field for notifications to email and email-json endpoints
  • SubscriptionsPending -- the number of subscriptions pending confirmation on this topic
  • SubscriptionsConfirmed -- the number of confirmed subscriptions on this topic
  • SubscriptionsDeleted -- the number of deleted subscriptions on this topic
  • DeliveryPolicy -- the JSON serialization of the topic's delivery policy
  • EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery policy that takes into account system defaults