# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::AutoScaling module Endpoints class AttachInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 AttachLoadBalancerTargetGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 AttachLoadBalancers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 AttachTrafficSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 BatchDeleteScheduledAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 BatchPutScheduledUpdateGroupAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 CancelInstanceRefresh def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 CompleteLifecycleAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 CreateAutoScalingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 CreateLaunchConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 CreateOrUpdateTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteAutoScalingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteLaunchConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteLifecycleHook def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteNotificationConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeletePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteScheduledAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DeleteWarmPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeAccountLimits def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeAdjustmentTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeAutoScalingGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeAutoScalingInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeAutoScalingNotificationTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeInstanceRefreshes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeLaunchConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeLifecycleHookTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeLifecycleHooks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeLoadBalancerTargetGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeLoadBalancers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeMetricCollectionTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeNotificationConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribePolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeScalingActivities def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeScalingProcessTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeScheduledActions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeTerminationPolicyTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeTrafficSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DescribeWarmPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DetachInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DetachLoadBalancerTargetGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DetachLoadBalancers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DetachTrafficSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 DisableMetricsCollection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 EnableMetricsCollection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 EnterStandby def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 ExecutePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 ExitStandby def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 GetPredictiveScalingForecast def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 PutLifecycleHook def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 PutNotificationConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 Aws::AutoScaling::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 PutScheduledUpdateGroupAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 PutWarmPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 RecordLifecycleActionHeartbeat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 ResumeProcesses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 SetDesiredCapacity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 SetInstanceHealth def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 SetInstanceProtection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 StartInstanceRefresh def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 SuspendProcesses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 TerminateInstanceInAutoScalingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 UpdateAutoScalingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AutoScaling::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 end end