Class: Aws::GeoMaps::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::GeoMaps::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-geomaps/client.rb
Overview
An API client for GeoMaps. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::GeoMaps::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#get_glyphs(params = {}) ⇒ Types::GetGlyphsResponse
Returns the map’s glyphs.
-
#get_sprites(params = {}) ⇒ Types::GetSpritesResponse
Returns the map’s sprites.
-
#get_static_map(params = {}) ⇒ Types::GetStaticMapResponse
Provides high-quality static map images with customizable options.
-
#get_style_descriptor(params = {}) ⇒ Types::GetStyleDescriptorResponse
Returns information about the style.
-
#get_tile(params = {}) ⇒ Types::GetTileResponse
Returns a tile.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-geomaps/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1061 1062 1063 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1061 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1064 1065 1066 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1064 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1034 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::GeoMaps') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-geomaps' context[:gem_version] = '1.1.0' Seahorse::Client::Request.new(handlers, context) end |
#get_glyphs(params = {}) ⇒ Types::GetGlyphsResponse
Returns the map’s glyphs.
651 652 653 654 |
# File 'lib/aws-sdk-geomaps/client.rb', line 651 def get_glyphs(params = {}, = {}, &block) req = build_request(:get_glyphs, params) req.send_request(, &block) end |
#get_sprites(params = {}) ⇒ Types::GetSpritesResponse
Returns the map’s sprites.
717 718 719 720 |
# File 'lib/aws-sdk-geomaps/client.rb', line 717 def get_sprites(params = {}, = {}, &block) req = build_request(:get_sprites, params) req.send_request(, &block) end |
#get_static_map(params = {}) ⇒ Types::GetStaticMapResponse
Provides high-quality static map images with customizable options. You can modify the map’s appearance and overlay additional information. It’s an ideal solution for applications requiring tailored static map snapshots.
875 876 877 878 |
# File 'lib/aws-sdk-geomaps/client.rb', line 875 def get_static_map(params = {}, = {}, &block) req = build_request(:get_static_map, params) req.send_request(, &block) end |
#get_style_descriptor(params = {}) ⇒ Types::GetStyleDescriptorResponse
Returns information about the style.
968 969 970 971 |
# File 'lib/aws-sdk-geomaps/client.rb', line 968 def get_style_descriptor(params = {}, = {}, &block) req = build_request(:get_style_descriptor, params) req.send_request(, &block) end |
#get_tile(params = {}) ⇒ Types::GetTileResponse
Returns a tile. Map tiles are used by clients to render a map. they’re addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
1025 1026 1027 1028 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1025 def get_tile(params = {}, = {}, &block) req = build_request(:get_tile, params) req.send_request(, &block) end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1054 1055 1056 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1054 def waiter_names [] end |