Copyright | (c) 2013-2015 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 |
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.
- getTopicAttributes :: Text -> GetTopicAttributes
- data GetTopicAttributes
- gtaTopicARN :: Lens' GetTopicAttributes Text
- getTopicAttributesResponse :: Int -> GetTopicAttributesResponse
- data GetTopicAttributesResponse
- gtarsAttributes :: Lens' GetTopicAttributesResponse (HashMap Text Text)
- gtarsStatus :: Lens' GetTopicAttributesResponse Int
Creating a Request
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:
data GetTopicAttributes Source
Input for GetTopicAttributes action.
See: getTopicAttributes
smart constructor.
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:
data GetTopicAttributesResponse Source
Response for GetTopicAttributes action.
See: getTopicAttributesResponse
smart constructor.
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 ARNOwner
-- the AWS account ID of the topic's ownerPolicy
-- the JSON serialization of the topic's access control policyDisplayName
-- the human-readable name used in the "From" field for notifications to email and email-json endpointsSubscriptionsPending
-- the number of subscriptions pending confirmation on this topicSubscriptionsConfirmed
-- the number of confirmed subscriptions on this topicSubscriptionsDeleted
-- the number of deleted subscriptions on this topicDeliveryPolicy
-- the JSON serialization of the topic's delivery policyEffectiveDeliveryPolicy
-- the JSON serialization of the effective delivery policy that takes into account system defaults
gtarsStatus :: Lens' GetTopicAttributesResponse Int Source
The response status code.