lib/aws-sdk-autoscaling/activity.rb in aws-sdk-autoscaling-1.107.0 vs lib/aws-sdk-autoscaling/activity.rb in aws-sdk-autoscaling-1.109.0

- old
+ new

@@ -114,11 +114,11 @@ # # activity.reload.data # # @return [self] def load - resp = Aws::Plugins::UserAgent.feature('resource') do + resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.describe_scaling_activities(activity_ids: [@id]) end @data = resp.activities[0] self end @@ -231,10 +231,10 @@ else self_copy.reload unless attempts == options[:max_attempts] :retry end end - Aws::Plugins::UserAgent.feature('resource') do + Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do Aws::Waiters::Waiter.new(options).wait({}) end end # @!group Associations