lib/aws-sdk-sns/subscription.rb in aws-sdk-sns-1.1.0 vs lib/aws-sdk-sns/subscription.rb in aws-sdk-sns-1.2.0
- old
+ new
@@ -31,25 +31,37 @@
end
# A map of the subscription's attributes. Attributes in this map
# include the following:
#
- # * `SubscriptionArn` -- the subscription's ARN
+ # * `ConfirmationWasAuthenticated` -- `true` if the subscription
+ # confirmation request was authenticated.
#
- # * `TopicArn` -- the topic ARN that the subscription is associated with
+ # * `DeliveryPolicy` -- The JSON serialization of the subscription's
+ # delivery policy.
#
- # * `Owner` -- the AWS account ID of the subscription's owner
+ # * `EffectiveDeliveryPolicy` -- The JSON serialization of the effective
+ # delivery policy that takes into account the topic delivery policy
+ # and account system defaults.
#
- # * `ConfirmationWasAuthenticated` -- true if the subscription
- # confirmation request was authenticated
+ # * `FilterPolicy` -- The filter policy JSON that is assigned to the
+ # subscription.
#
- # * `DeliveryPolicy` -- the JSON serialization of the subscription's
- # delivery policy
+ # * `Owner` -- The AWS account ID of the subscription's owner.
#
- # * `EffectiveDeliveryPolicy` -- the JSON serialization of the effective
- # delivery policy that takes into account the topic delivery policy
- # and account system defaults
+ # * `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.
+ #
+ # * `SubscriptionArn` -- The subscription's ARN.
+ #
+ # * `TopicArn` -- The topic ARN that the subscription is associated
+ # with.
# @return [Hash<String,String>]
def attributes
data[:attributes]
end
@@ -110,10 +122,11 @@
# @param [Hash] options ({})
# @option options [required, String] :attribute_name
# The name of the attribute you want to set. Only a subset of the
# subscriptions attributes are mutable.
#
- # Valid values: `DeliveryPolicy` \| `RawMessageDelivery`
+ # Valid values: `DeliveryPolicy` \| `FilterPolicy` \|
+ # `RawMessageDelivery`
# @option options [String] :attribute_value
# The new value for the attribute in JSON format.
# @return [EmptyStructure]
def set_attributes(options = {})
options = options.merge(subscription_arn: @arn)