# 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 # @api private module Endpoints class AttachInstances def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class AttachLoadBalancerTargetGroups def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class AttachLoadBalancers def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class AttachTrafficSources def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class BatchDeleteScheduledAction def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class BatchPutScheduledUpdateGroupAction def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CancelInstanceRefresh def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CompleteLifecycleAction def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateAutoScalingGroup def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateLaunchConfiguration def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateOrUpdateTags def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteAutoScalingGroup def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteLaunchConfiguration def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteLifecycleHook def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteNotificationConfiguration def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeletePolicy def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteScheduledAction def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteTags def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteWarmPool def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeAccountLimits def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeAdjustmentTypes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeAutoScalingGroups def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeAutoScalingInstances def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeAutoScalingNotificationTypes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeInstanceRefreshes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeLaunchConfigurations def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeLifecycleHookTypes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeLifecycleHooks def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeLoadBalancerTargetGroups def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeLoadBalancers def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeMetricCollectionTypes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeNotificationConfigurations def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribePolicies def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeScalingActivities def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeScalingProcessTypes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeScheduledActions def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeTags def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeTerminationPolicyTypes def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeTrafficSources def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DescribeWarmPool def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DetachInstances def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DetachLoadBalancerTargetGroups def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DetachLoadBalancers def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DetachTrafficSources def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DisableMetricsCollection def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class EnableMetricsCollection def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class EnterStandby def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ExecutePolicy def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ExitStandby def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetPredictiveScalingForecast def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutLifecycleHook def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutNotificationConfiguration def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutScalingPolicy def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutScheduledUpdateGroupAction def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutWarmPool def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class RecordLifecycleActionHeartbeat def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ResumeProcesses def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class RollbackInstanceRefresh def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class SetDesiredCapacity def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class SetInstanceHealth def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class SetInstanceProtection def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class StartInstanceRefresh def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class SuspendProcesses def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class TerminateInstanceInAutoScalingGroup def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UpdateAutoScalingGroup def self.build(context) Aws::AutoScaling::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end end end