# 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::Snowball # @api private module Endpoints class CancelCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 CancelJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 CreateAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 CreateCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 CreateJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 CreateLongTermPricing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 CreateReturnShippingLabel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 DescribeAddress def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 DescribeAddresses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 DescribeCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 DescribeJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 DescribeReturnShippingLabel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 GetJobManifest def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 GetJobUnlockCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 GetSnowballUsage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 GetSoftwareUpdates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListClusterJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListClusters def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListCompatibleImages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListLongTermPricing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListPickupLocations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 ListServiceVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 UpdateCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 UpdateJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 UpdateJobShipmentState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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 UpdateLongTermPricing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Snowball::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