SNSSubscription Type
This provides details about the subscription.
Remarks
The fields below provide details about the subscription.
Fields
ConfirmationWasAuthenticated boolean |
This field reports whether or not the subscription was confirmed. Note: This field is only applicable after calling GetSubscriptionAttributes. | ||||||||||||
DeliveryPolicy String |
This field holds the JSON serialization of the subscription's delivery policy. Note: This field is only applicable after calling GetSubscriptionAttributes. | ||||||||||||
EffectiveDeliveryPolicy String |
This field holds the JSON serialization of the subscription's effective delivery policy. This policy takes into account the topic and account defaults. Note: This field is only applicable after calling GetSubscriptionAttributes. | ||||||||||||
Endpoint String |
This field contains the subscription's endpoint. The format of the endpoint depends on the protocol used for the subscription. Possible formats are:
Note: This field is only applicable after calling ListSubscriptions or ListTopicSubscriptions. | ||||||||||||
HasAttributes boolean |
This field returns true if the subscription attributes are available. A subscription's attributes are only returned and parsed after calling GetSubscriptionAttributes. This field serves as an easy way to determine if the subscription's attributes are available. The following fields are applicable after calling GetSubscriptionAttributes:
The following fields are applicable after calling ListSubscriptions or ListTopicSubscriptions:
| ||||||||||||
Owner String |
The AWS account ID of the subscription's owner. | ||||||||||||
Protocol int |
This field specifies the protocol used by the subscription. Possible values are:
Note: This field is only applicable after calling ListSubscriptions or ListTopicSubscriptions. | ||||||||||||
SubscriptionArn String |
The subscription's Amazon Resource Name (ARN) used to identify the subscription. | ||||||||||||
TopicArn String |
The Amazon Resource Name (ARN) of the topic this subscription is associated with. |
Constructors
public SNSSubscription();
public SNSSubscription(String subscriptionArn, String topicArn, String owner, String endpoint, int protocol, boolean confirmationWasAuthenticated, String deliveryPolicy, String effectiveDeliveryPolicy, boolean hasAttributes);