lib/aws-sdk-sns/subscription.rb in aws-sdk-sns-1.74.0 vs lib/aws-sdk-sns/subscription.rb in aws-sdk-sns-1.76.0

- old
+ new

@@ -117,11 +117,11 @@ # # subscription.reload.data # # @return [self] def load - resp = Aws::Plugins::UserAgent.feature('resource') do + resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.get_subscription_attributes(subscription_arn: @arn) end @data = resp.data self end @@ -149,11 +149,11 @@ # subscription.delete() # @param [Hash] options ({}) # @return [EmptyStructure] def delete(options = {}) options = options.merge(subscription_arn: @arn) - resp = Aws::Plugins::UserAgent.feature('resource') do + resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.unsubscribe(options) end resp.data end @@ -218,10 +218,10 @@ # @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) - resp = Aws::Plugins::UserAgent.feature('resource') do + resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.set_subscription_attributes(options) end resp.data end