SNSTopic Type
This provides details about the topic.
Remarks
The fields below provide details about the topic.
Fields
| |
AccessPolicy String |
This field holds the JSON serialized access control policy for the topic.
Note: This field is only applicable after calling GetTopicAttributes.
|
DeliveryPolicy String |
The JSON serialized policy for the topic.
Note: This field is only applicable after calling GetTopicAttributes.
|
DisplayName String |
This field holds the name used in the 'From' field for email based endpoints.
Note: This field is only applicable after calling GetTopicAttributes.
|
EffectiveDeliveryPolicy String |
This field holds the JSON serialization of the topic's effective delivery policy. This policy takes into account the topic and account defaults.
Note: This field is only applicable after calling GetTopicAttributes.
|
HasAttributes Boolean |
This field returns true if the topic attributes are available.
A topic's attributes are only returned and parsed after calling GetTopicAttributes.
This field serves as an easy way to determine if the topic's attributes are available.
The following fields are applicable after calling GetTopicAttributes:
- DeliveryPolicy
- DisplayName
- EffectiveDeliveryPolicy
- Owner
- AccessPolicy
- SubscriptionsConfirmed
- SubscriptionsDeleted
- SubscriptionsPending
- TopicArn
The following fields are applicable after calling ListTopics:
|
Owner String |
The AWS account ID of the topic's owner.
Note: This field is only applicable after calling GetTopicAttributes.
|
SubscriptionsConfirmed Integer |
The number of confirmed subscriptions to this topic.
Note: This field is only applicable after calling GetTopicAttributes.
|
SubscriptionsDeleted Integer |
The number of deleted subscriptions on this topic.
Note: This field is only applicable after calling GetTopicAttributes.
|
SubscriptionsPending Integer |
The number of pending subscriptions on this topic.
Note: This field is only applicable after calling GetTopicAttributes.
|
TopicArn String |
The Amazon Resource Name (ARN) of the topic.
|
Constructors
[VB.NET]
Public SNSTopic()
[C#]
public SNSTopic();
[VB.NET]
Public SNSTopic(ByVal TopicArn As String, ByVal Owner As String, ByVal DisplayName As String, ByVal AccessPolicy As String, ByVal DeliveryPolicy As String, ByVal EffectiveDeliveryPolicy As String, ByVal SubscriptionsPending As Integer, ByVal SubscriptionsConfirmed As Integer, ByVal SubscriptionsDeleted As Integer, ByVal HasAttributes As Boolean)
[C#]
public SNSTopic(string topicArn, string owner, string displayName, string accessPolicy, string deliveryPolicy, string effectiveDeliveryPolicy, int subscriptionsPending, int subscriptionsConfirmed, int subscriptionsDeleted, bool hasAttributes);