Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
Synopsis
- getTopicAttributes :: Text -> GetTopicAttributes
- data GetTopicAttributes
- gtaTopicARN :: Lens' GetTopicAttributes Text
- getTopicAttributesResponse :: Int -> GetTopicAttributesResponse
- data GetTopicAttributesResponse
- gtarsAttributes :: Lens' GetTopicAttributesResponse (HashMap Text Text)
- gtarsResponseStatus :: 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:
gtaTopicARN
- The ARN of the topic whose properties you want to get.
data GetTopicAttributes Source #
Input for GetTopicAttributes action.
See: getTopicAttributes
smart constructor.
Instances
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:
gtarsAttributes
- 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 defaultsgtarsResponseStatus
- -- | The response status code.
data GetTopicAttributesResponse Source #
Response for GetTopicAttributes action.
See: getTopicAttributesResponse
smart constructor.
Instances
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
gtarsResponseStatus :: Lens' GetTopicAttributesResponse Int Source #
- - | The response status code.