Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user.
http://docs.aws.amazon.com/sns/latest/api/API_GetTopicAttributes.html
- data GetTopicAttributes
- getTopicAttributes :: Text -> GetTopicAttributes
- gtaTopicArn :: Lens' GetTopicAttributes Text
- data GetTopicAttributesResponse
- getTopicAttributesResponse :: GetTopicAttributesResponse
- gtarAttributes :: Lens' GetTopicAttributesResponse (HashMap Text Text)
Request
data GetTopicAttributes Source
Eq GetTopicAttributes | |
Ord GetTopicAttributes | |
Read GetTopicAttributes | |
Show GetTopicAttributes | |
IsString GetTopicAttributes | |
Monoid GetTopicAttributes | |
AWSRequest GetTopicAttributes | |
ToQuery GetTopicAttributes | |
ToPath GetTopicAttributes | |
ToHeaders GetTopicAttributes | |
type Sv GetTopicAttributes = SNS | |
type Rs GetTopicAttributes = GetTopicAttributesResponse |
Request constructor
:: Text | |
-> GetTopicAttributes |
GetTopicAttributes
constructor.
The fields accessible through corresponding lenses are:
gtaTopicArn
::
Text
Request lenses
gtaTopicArn :: Lens' GetTopicAttributes Text Source
The ARN of the topic whose properties you want to get.
Response
Response constructor
getTopicAttributesResponse :: GetTopicAttributesResponse Source
GetTopicAttributesResponse
constructor.
The fields accessible through corresponding lenses are:
gtarAttributes
::
HashMap
Text
Text
Response lenses
gtarAttributes :: 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