lib/aws-sdk-locationservice/client.rb in aws-sdk-locationservice-1.24.0 vs lib/aws-sdk-locationservice/client.rb in aws-sdk-locationservice-1.25.0
- old
+ new
@@ -28,11 +28,11 @@
require 'aws-sdk-core/plugins/transfer_encoding.rb'
require 'aws-sdk-core/plugins/http_checksum.rb'
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
require 'aws-sdk-core/plugins/defaults_mode.rb'
require 'aws-sdk-core/plugins/recursion_detection.rb'
-require 'aws-sdk-core/plugins/signature_v4.rb'
+require 'aws-sdk-core/plugins/sign.rb'
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
Aws::Plugins::GlobalConfiguration.add_identifier(:locationservice)
module Aws::LocationService
@@ -77,12 +77,13 @@
add_plugin(Aws::Plugins::TransferEncoding)
add_plugin(Aws::Plugins::HttpChecksum)
add_plugin(Aws::Plugins::ChecksumAlgorithm)
add_plugin(Aws::Plugins::DefaultsMode)
add_plugin(Aws::Plugins::RecursionDetection)
- add_plugin(Aws::Plugins::SignatureV4)
+ add_plugin(Aws::Plugins::Sign)
add_plugin(Aws::Plugins::Protocols::RestJson)
+ add_plugin(Aws::LocationService::Plugins::Endpoints)
# @overload initialize(options)
# @param [Hash] options
# @option options [required, Aws::CredentialProvider] :credentials
# Your AWS credentials. This can be an instance of any one of the
@@ -285,10 +286,23 @@
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
#
# ** Please note ** When response stubbing is enabled, no HTTP
# requests are made, and retries are disabled.
#
+ # @option options [Aws::TokenProvider] :token_provider
+ # A Bearer Token Provider. This can be an instance of any one of the
+ # following classes:
+ #
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
+ # tokens.
+ #
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
+ # access token generated from `aws login`.
+ #
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
+ # will be used to search for tokens configured for your profile in shared configuration files.
+ #
# @option options [Boolean] :use_dualstack_endpoint
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
# will be used if available.
#
# @option options [Boolean] :use_fips_endpoint
@@ -298,10 +312,13 @@
#
# @option options [Boolean] :validate_params (true)
# When `true`, request parameters are validated before
# sending the request.
#
+ # @option options [Aws::LocationService::EndpointProvider] :endpoint_provider
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LocationService::EndpointParameters`
+ #
# @option options [URI::HTTP,String] :http_proxy A proxy to send
# requests through. Formatted like 'http://proxy.com:123'.
#
# @option options [Float] :http_open_timeout (15) The number of
# seconds to wait when opening a HTTP session before raising a
@@ -1320,11 +1337,13 @@
#
#
# [1]: http://aws.amazon.com/service-terms
#
# @option params [required, Types::MapConfiguration] :configuration
- # Specifies the map style selected from an available data provider.
+ # Specifies the `MapConfiguration`, including the map style, for the map
+ # resource that you create. The map style defines the look of maps and
+ # the data provider for your map resource.
#
# @option params [String] :description
# An optional description for the map resource.
#
# @option params [required, String] :map_name
@@ -2402,13 +2421,14 @@
#
# Valid font stacks for [HERE Technologies][2] styles:
#
# * VectorHereContrast – `Fira GO Regular` \| `Fira GO Bold`
#
- # * VectorHereExplore, VectorHereExploreTruck – `Firo GO Italic` \|
- # `Fira GO Map` \| `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \|
- # `Noto Sans CJK JP Light` \| `Noto Sans CJK JP Regular`
+ # * VectorHereExplore, VectorHereExploreTruck,
+ # HybridHereExploreSatellite – `Fira GO Italic` \| `Fira GO Map` \|
+ # `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \| `Noto Sans CJK JP
+ # Light` \| `Noto Sans CJK JP Regular`
#
#
#
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
@@ -3911,10 +3931,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-locationservice'
- context[:gem_version] = '1.24.0'
+ context[:gem_version] = '1.25.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated