# 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::LocationService # @api private module Endpoints class AssociateTrackerConsumer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 BatchDeleteDevicePositionHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 BatchDeleteGeofence def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 BatchEvaluateGeofences def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 BatchGetDevicePosition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 BatchPutGeofence def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 BatchUpdateDevicePosition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CalculateRoute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CalculateRouteMatrix def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CreateGeofenceCollection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CreateKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CreateMap def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CreatePlaceIndex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CreateRouteCalculator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 CreateTracker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DeleteGeofenceCollection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DeleteKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DeleteMap def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DeletePlaceIndex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DeleteRouteCalculator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DeleteTracker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DescribeGeofenceCollection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DescribeKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DescribeMap def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DescribePlaceIndex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DescribeRouteCalculator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DescribeTracker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 DisassociateTrackerConsumer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ForecastGeofenceEvents def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetDevicePosition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetDevicePositionHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetGeofence def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetMapGlyphs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetMapSprites def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetMapStyleDescriptor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetMapTile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 GetPlace def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListDevicePositions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListGeofenceCollections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListGeofences def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListKeys def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListMaps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListPlaceIndexes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListRouteCalculators def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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::LocationService::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 ListTrackerConsumers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 ListTrackers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 PutGeofence def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 SearchPlaceIndexForPosition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 SearchPlaceIndexForSuggestions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 SearchPlaceIndexForText def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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::LocationService::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::LocationService::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 UpdateGeofenceCollection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 UpdateKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 UpdateMap def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 UpdatePlaceIndex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 UpdateRouteCalculator def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 UpdateTracker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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 VerifyDevicePosition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LocationService::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