lib/aws-sdk-applicationautoscaling/endpoints.rb in aws-sdk-applicationautoscaling-1.67.0 vs lib/aws-sdk-applicationautoscaling/endpoints.rb in aws-sdk-applicationautoscaling-1.68.0
- old
+ new
@@ -107,10 +107,24 @@
endpoint: endpoint,
)
end
end
+ class ListTagsForResource
+ def self.build(context)
+ unless context.config.regional_endpoint
+ endpoint = context.config.endpoint.to_s
+ end
+ Aws::ApplicationAutoScaling::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: endpoint,
+ )
+ end
+ end
+
class PutScalingPolicy
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
@@ -136,9 +150,37 @@
)
end
end
class RegisterScalableTarget
+ def self.build(context)
+ unless context.config.regional_endpoint
+ endpoint = context.config.endpoint.to_s
+ end
+ Aws::ApplicationAutoScaling::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: endpoint,
+ )
+ end
+ end
+
+ class TagResource
+ def self.build(context)
+ unless context.config.regional_endpoint
+ endpoint = context.config.endpoint.to_s
+ end
+ Aws::ApplicationAutoScaling::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: endpoint,
+ )
+ end
+ end
+
+ class UntagResource
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end
Aws::ApplicationAutoScaling::EndpointParameters.new(