# 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::States # @api private module Endpoints class CreateActivity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 CreateStateMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 CreateStateMachineAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DeleteActivity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DeleteStateMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DeleteStateMachineAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DeleteStateMachineVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DescribeActivity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DescribeExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DescribeMapRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DescribeStateMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DescribeStateMachineAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 DescribeStateMachineForExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 GetActivityTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 GetExecutionHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListActivities def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListMapRuns def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListStateMachineAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListStateMachineVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListStateMachines def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 ListTagsForResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 PublishStateMachineVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 RedriveExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 SendTaskFailure def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 SendTaskHeartbeat def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 SendTaskSuccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 StartExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 StartSyncExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 StopExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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::States::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::States::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 UpdateMapRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 UpdateStateMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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 UpdateStateMachineAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::States::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