You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SNS::Subscription Instance Attribute Summary collapseA map of the subscription\'s attributes.
Allows a subscription owner to set an attribute of the subscription to a new value.
.
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details #initialize(arn, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object Instance Attribute Details #attributes ⇒ Hash<String,String>A map of the subscription\'s attributes. Attributes in this map include the following:
ConfirmationWasAuthenticated
â true
if the subscription confirmation request was authenticated.
DeliveryPolicy
â The JSON serialization of the subscription\'s delivery policy.
EffectiveDeliveryPolicy
â The JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults.
FilterPolicy
â The filter policy JSON that is assigned to the subscription. For more information, see Amazon SNS Message Filtering in the Amazon SNS Developer Guide.
Owner
â The AWS account ID of the subscription\'s owner.
PendingConfirmation
â true
if the subscription hasn\'t been confirmed. To confirm a pending subscription, call the ConfirmSubscription
action with a confirmation token.
RawMessageDelivery
â true
if raw message delivery is enabled for the subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints.
RedrivePolicy
â When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can\'t be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.
SubscriptionArn
â The subscription\'s ARN.
TopicArn
â The topic ARN that the subscription is associated with.
Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe
call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe
request was unintended.
This action is throttled at 100 transactions per second (TPS).
#set_attributes(options = {}) ⇒ StructAllows a subscription owner to set an attribute of the subscription to a new value.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4