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
‘GetGlyphs` returns the map’s glyphs.
-
#get_sprites(params = {}) ⇒ Types::GetSpritesResponse
‘GetSprites` returns the map’s sprites.
-
#get_static_map(params = {}) ⇒ Types::GetStaticMapResponse
‘GetStaticMap` provides high-quality static map images with customizable options.
-
#get_style_descriptor(params = {}) ⇒ Types::GetStyleDescriptorResponse
‘GetStyleDescriptor` returns information about the style.
-
#get_tile(params = {}) ⇒ Types::GetTileResponse
‘GetTile` 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.
473 474 475 |
# File 'lib/aws-sdk-geomaps/client.rb', line 473 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.
1386 1387 1388 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1386 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.
1389 1390 1391 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1389 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.
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1359 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.17.0' Seahorse::Client::Request.new(handlers, context) end |
#get_glyphs(params = {}) ⇒ Types::GetGlyphsResponse
‘GetGlyphs` returns the map’s glyphs.
For more information, see [Style labels with glyphs] in the *Amazon Location Service Developer Guide*.
[1]: docs.aws.amazon.com/location/latest/developerguide/styling-labels-with-glyphs.html
687 688 689 690 |
# File 'lib/aws-sdk-geomaps/client.rb', line 687 def get_glyphs(params = {}, = {}, &block) req = build_request(:get_glyphs, params) req.send_request(, &block) end |
#get_sprites(params = {}) ⇒ Types::GetSpritesResponse
‘GetSprites` returns the map’s sprites.
For more information, see [Style iconography with sprites] in the *Amazon Location Service Developer Guide*.
[1]: docs.aws.amazon.com/location/latest/developerguide/styling-iconography-with-sprites.html
760 761 762 763 |
# File 'lib/aws-sdk-geomaps/client.rb', line 760 def get_sprites(params = {}, = {}, &block) req = build_request(:get_sprites, params) req.send_request(, &block) end |
#get_static_map(params = {}) ⇒ Types::GetStaticMapResponse
‘GetStaticMap` 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.
For more information, see the following topics in the *Amazon Location Service Developer Guide*:
- Static maps][1
- Customize static maps][2
- Overlay on the static map][3
[1]: docs.aws.amazon.com/location/latest/developerguide/static-maps.html [2]: docs.aws.amazon.com/location/latest/developerguide/customizing-static-maps.html [3]: docs.aws.amazon.com/location/latest/developerguide/overlaying-static-map.html
1146 1147 1148 1149 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1146 def get_static_map(params = {}, = {}, &block) req = build_request(:get_static_map, params) req.send_request(, &block) end |
#get_style_descriptor(params = {}) ⇒ Types::GetStyleDescriptorResponse
‘GetStyleDescriptor` returns information about the style.
For more information, see [Style dynamic maps] in the *Amazon Location Service Developer Guide*.
[1]: docs.aws.amazon.com/location/latest/developerguide/styling-dynamic-maps.html
1281 1282 1283 1284 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1281 def get_style_descriptor(params = {}, = {}, &block) req = build_request(:get_style_descriptor, params) req.send_request(, &block) end |
#get_tile(params = {}) ⇒ Types::GetTileResponse
‘GetTile` 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.
For more information, see [Tiles] in the *Amazon Location Service Developer Guide*.
[1]: docs.aws.amazon.com/location/latest/developerguide/tiles.html
1350 1351 1352 1353 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1350 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.
1379 1380 1381 |
# File 'lib/aws-sdk-geomaps/client.rb', line 1379 def waiter_names [] end |