Class: Aws::SageMakerGeospatial::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SageMakerGeospatial::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-sagemakergeospatial/client.rb
Overview
An API client for SageMakerGeospatial. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::SageMakerGeospatial::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
-
#delete_earth_observation_job(params = {}) ⇒ Struct
Use this operation to delete an Earth Observation job.
-
#delete_vector_enrichment_job(params = {}) ⇒ Struct
Use this operation to delete a Vector Enrichment job.
-
#export_earth_observation_job(params = {}) ⇒ Types::ExportEarthObservationJobOutput
Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.
-
#export_vector_enrichment_job(params = {}) ⇒ Types::ExportVectorEnrichmentJobOutput
Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.
-
#get_earth_observation_job(params = {}) ⇒ Types::GetEarthObservationJobOutput
Get the details for a previously initiated Earth Observation job.
-
#get_raster_data_collection(params = {}) ⇒ Types::GetRasterDataCollectionOutput
Use this operation to get details of a specific raster data collection.
-
#get_tile(params = {}) ⇒ Types::GetTileOutput
Gets a web mercator tile for the given Earth Observation job.
-
#get_vector_enrichment_job(params = {}) ⇒ Types::GetVectorEnrichmentJobOutput
Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN).
-
#list_earth_observation_jobs(params = {}) ⇒ Types::ListEarthObservationJobOutput
Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account.
-
#list_raster_data_collections(params = {}) ⇒ Types::ListRasterDataCollectionsOutput
Use this operation to get raster data collections.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags attached to the resource.
-
#list_vector_enrichment_jobs(params = {}) ⇒ Types::ListVectorEnrichmentJobOutput
Retrieves a list of vector enrichment jobs.
-
#search_raster_data_collection(params = {}) ⇒ Types::SearchRasterDataCollectionOutput
Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters.
-
#start_earth_observation_job(params = {}) ⇒ Types::StartEarthObservationJobOutput
Use this operation to create an Earth observation job.
-
#start_vector_enrichment_job(params = {}) ⇒ Types::StartVectorEnrichmentJobOutput
Creates a Vector Enrichment job for the supplied job type.
-
#stop_earth_observation_job(params = {}) ⇒ Struct
Use this operation to stop an existing earth observation job.
-
#stop_vector_enrichment_job(params = {}) ⇒ Struct
Stops the Vector Enrichment job for a given job ARN.
-
#tag_resource(params = {}) ⇒ Struct
The resource you want to tag.
-
#untag_resource(params = {}) ⇒ Struct
The resource you want to untag.
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-sagemakergeospatial/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.
1751 1752 1753 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1751 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.
1754 1755 1756 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1754 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.
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1724 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::SageMakerGeospatial') ) 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-sagemakergeospatial' context[:gem_version] = '1.26.0' Seahorse::Client::Request.new(handlers, context) end |
#delete_earth_observation_job(params = {}) ⇒ Struct
Use this operation to delete an Earth Observation job.
468 469 470 471 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 468 def delete_earth_observation_job(params = {}, = {}) req = build_request(:delete_earth_observation_job, params) req.send_request() end |
#delete_vector_enrichment_job(params = {}) ⇒ Struct
Use this operation to delete a Vector Enrichment job.
491 492 493 494 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 491 def delete_vector_enrichment_job(params = {}, = {}) req = build_request(:delete_vector_enrichment_job, params) req.send_request() end |
#export_earth_observation_job(params = {}) ⇒ Types::ExportEarthObservationJobOutput
Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.
560 561 562 563 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 560 def export_earth_observation_job(params = {}, = {}) req = build_request(:export_earth_observation_job, params) req.send_request() end |
#export_vector_enrichment_job(params = {}) ⇒ Types::ExportVectorEnrichmentJobOutput
Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.
621 622 623 624 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 621 def export_vector_enrichment_job(params = {}, = {}) req = build_request(:export_vector_enrichment_job, params) req.send_request() end |
#get_earth_observation_job(params = {}) ⇒ Types::GetEarthObservationJobOutput
Get the details for a previously initiated Earth Observation job.
742 743 744 745 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 742 def get_earth_observation_job(params = {}, = {}) req = build_request(:get_earth_observation_job, params) req.send_request() end |
#get_raster_data_collection(params = {}) ⇒ Types::GetRasterDataCollectionOutput
Use this operation to get details of a specific raster data collection.
791 792 793 794 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 791 def get_raster_data_collection(params = {}, = {}) req = build_request(:get_raster_data_collection, params) req.send_request() end |
#get_tile(params = {}) ⇒ Types::GetTileOutput
Gets a web mercator tile for the given Earth Observation job.
865 866 867 868 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 865 def get_tile(params = {}, = {}, &block) req = build_request(:get_tile, params) req.send_request(, &block) end |
#get_vector_enrichment_job(params = {}) ⇒ Types::GetVectorEnrichmentJobOutput
Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN).
930 931 932 933 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 930 def get_vector_enrichment_job(params = {}, = {}) req = build_request(:get_vector_enrichment_job, params) req.send_request() end |
#list_earth_observation_jobs(params = {}) ⇒ Types::ListEarthObservationJobOutput
Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
989 990 991 992 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 989 def list_earth_observation_jobs(params = {}, = {}) req = build_request(:list_earth_observation_jobs, params) req.send_request() end |
#list_raster_data_collections(params = {}) ⇒ Types::ListRasterDataCollectionsOutput
Use this operation to get raster data collections.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1038 1039 1040 1041 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1038 def list_raster_data_collections(params = {}, = {}) req = build_request(:list_raster_data_collections, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags attached to the resource.
1067 1068 1069 1070 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1067 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_vector_enrichment_jobs(params = {}) ⇒ Types::ListVectorEnrichmentJobOutput
Retrieves a list of vector enrichment jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1125 1126 1127 1128 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1125 def list_vector_enrichment_jobs(params = {}, = {}) req = build_request(:list_vector_enrichment_jobs, params) req.send_request() end |
#search_raster_data_collection(params = {}) ⇒ Types::SearchRasterDataCollectionOutput
Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1252 1253 1254 1255 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1252 def search_raster_data_collection(params = {}, = {}) req = build_request(:search_raster_data_collection, params) req.send_request() end |
#start_earth_observation_job(params = {}) ⇒ Types::StartEarthObservationJobOutput
Use this operation to create an Earth observation job.
1509 1510 1511 1512 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1509 def start_earth_observation_job(params = {}, = {}) req = build_request(:start_earth_observation_job, params) req.send_request() end |
#start_vector_enrichment_job(params = {}) ⇒ Types::StartVectorEnrichmentJobOutput
Creates a Vector Enrichment job for the supplied job type. Currently, there are two supported job types: reverse geocoding and map matching.
1616 1617 1618 1619 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1616 def start_vector_enrichment_job(params = {}, = {}) req = build_request(:start_vector_enrichment_job, params) req.send_request() end |
#stop_earth_observation_job(params = {}) ⇒ Struct
Use this operation to stop an existing earth observation job.
1639 1640 1641 1642 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1639 def stop_earth_observation_job(params = {}, = {}) req = build_request(:stop_earth_observation_job, params) req.send_request() end |
#stop_vector_enrichment_job(params = {}) ⇒ Struct
Stops the Vector Enrichment job for a given job ARN.
1661 1662 1663 1664 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1661 def stop_vector_enrichment_job(params = {}, = {}) req = build_request(:stop_vector_enrichment_job, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
The resource you want to tag.
1689 1690 1691 1692 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1689 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
The resource you want to untag.
1715 1716 1717 1718 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1715 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() 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.
1744 1745 1746 |
# File 'lib/aws-sdk-sagemakergeospatial/client.rb', line 1744 def waiter_names [] end |