# 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::IoTRoboRunner module Endpoints class CreateDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 CreateSite def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 CreateWorker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 CreateWorkerFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 DeleteDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 DeleteSite def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 DeleteWorker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 DeleteWorkerFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 GetDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 GetSite def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 GetWorker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 GetWorkerFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 ListDestinations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 ListSites def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 ListWorkerFleets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 ListWorkers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 UpdateDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 UpdateSite def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 UpdateWorker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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 UpdateWorkerFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoTRoboRunner::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