/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-geospatial-2020-05-27.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.SageMakerGeospatial.Model;
using Amazon.SageMakerGeospatial.Model.Internal.MarshallTransformations;
using Amazon.SageMakerGeospatial.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.SageMakerGeospatial
{
///
/// Implementation for accessing SageMakerGeospatial
///
/// Provides APIs for creating and managing SageMaker geospatial resources.
///
public partial class AmazonSageMakerGeospatialClient : AmazonServiceClient, IAmazonSageMakerGeospatial
{
private static IServiceMetadata serviceMetadata = new AmazonSageMakerGeospatialMetadata();
#region Constructors
///
/// Constructs AmazonSageMakerGeospatialClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonSageMakerGeospatialClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSageMakerGeospatialConfig()) { }
///
/// Constructs AmazonSageMakerGeospatialClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonSageMakerGeospatialClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSageMakerGeospatialConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonSageMakerGeospatialClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonSageMakerGeospatialClient Configuration Object
public AmazonSageMakerGeospatialClient(AmazonSageMakerGeospatialConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Credentials
///
/// AWS Credentials
public AmazonSageMakerGeospatialClient(AWSCredentials credentials)
: this(credentials, new AmazonSageMakerGeospatialConfig())
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonSageMakerGeospatialClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonSageMakerGeospatialConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Credentials and an
/// AmazonSageMakerGeospatialClient Configuration object.
///
/// AWS Credentials
/// The AmazonSageMakerGeospatialClient Configuration Object
public AmazonSageMakerGeospatialClient(AWSCredentials credentials, AmazonSageMakerGeospatialConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonSageMakerGeospatialClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSageMakerGeospatialConfig())
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonSageMakerGeospatialClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSageMakerGeospatialConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSageMakerGeospatialClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonSageMakerGeospatialClient Configuration Object
public AmazonSageMakerGeospatialClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSageMakerGeospatialConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonSageMakerGeospatialClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSageMakerGeospatialConfig())
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonSageMakerGeospatialClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSageMakerGeospatialConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSageMakerGeospatialClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSageMakerGeospatialClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonSageMakerGeospatialClient Configuration Object
public AmazonSageMakerGeospatialClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSageMakerGeospatialConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private ISageMakerGeospatialPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ISageMakerGeospatialPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new SageMakerGeospatialPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonSageMakerGeospatialEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region DeleteEarthObservationJob
internal virtual DeleteEarthObservationJobResponse DeleteEarthObservationJob(DeleteEarthObservationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEarthObservationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to delete an Earth Observation job.
///
/// Container for the necessary parameters to execute the DeleteEarthObservationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEarthObservationJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteEarthObservationJob Operation
public virtual Task DeleteEarthObservationJobAsync(DeleteEarthObservationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEarthObservationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVectorEnrichmentJob
internal virtual DeleteVectorEnrichmentJobResponse DeleteVectorEnrichmentJob(DeleteVectorEnrichmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVectorEnrichmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to delete a Vector Enrichment job.
///
/// Container for the necessary parameters to execute the DeleteVectorEnrichmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVectorEnrichmentJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteVectorEnrichmentJob Operation
public virtual Task DeleteVectorEnrichmentJobAsync(DeleteVectorEnrichmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVectorEnrichmentJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ExportEarthObservationJob
internal virtual ExportEarthObservationJobResponse ExportEarthObservationJob(ExportEarthObservationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportEarthObservationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ExportEarthObservationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ExportEarthObservationJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// You have exceeded the service quota.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ExportEarthObservationJob Operation
public virtual Task ExportEarthObservationJobAsync(ExportEarthObservationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportEarthObservationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ExportVectorEnrichmentJob
internal virtual ExportVectorEnrichmentJobResponse ExportVectorEnrichmentJob(ExportVectorEnrichmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportVectorEnrichmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.
///
/// Container for the necessary parameters to execute the ExportVectorEnrichmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ExportVectorEnrichmentJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// You have exceeded the service quota.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ExportVectorEnrichmentJob Operation
public virtual Task ExportVectorEnrichmentJobAsync(ExportVectorEnrichmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportVectorEnrichmentJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetEarthObservationJob
internal virtual GetEarthObservationJobResponse GetEarthObservationJob(GetEarthObservationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEarthObservationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Get the details for a previously initiated Earth Observation job.
///
/// Container for the necessary parameters to execute the GetEarthObservationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetEarthObservationJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetEarthObservationJob Operation
public virtual Task GetEarthObservationJobAsync(GetEarthObservationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEarthObservationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetRasterDataCollection
internal virtual GetRasterDataCollectionResponse GetRasterDataCollection(GetRasterDataCollectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRasterDataCollectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRasterDataCollectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to get details of a specific raster data collection.
///
/// Container for the necessary parameters to execute the GetRasterDataCollection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRasterDataCollection service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetRasterDataCollection Operation
public virtual Task GetRasterDataCollectionAsync(GetRasterDataCollectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRasterDataCollectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRasterDataCollectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTile
internal virtual GetTileResponse GetTile(GetTileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a web mercator tile for the given Earth Observation job.
///
/// Container for the necessary parameters to execute the GetTile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTile service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetTile Operation
public virtual Task GetTileAsync(GetTileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetVectorEnrichmentJob
internal virtual GetVectorEnrichmentJobResponse GetVectorEnrichmentJob(GetVectorEnrichmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVectorEnrichmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name
/// (ARN).
///
/// Container for the necessary parameters to execute the GetVectorEnrichmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetVectorEnrichmentJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetVectorEnrichmentJob Operation
public virtual Task GetVectorEnrichmentJobAsync(GetVectorEnrichmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVectorEnrichmentJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListEarthObservationJobs
internal virtual ListEarthObservationJobsResponse ListEarthObservationJobs(ListEarthObservationJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEarthObservationJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEarthObservationJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to get a list of the Earth Observation jobs associated with the
/// calling Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListEarthObservationJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEarthObservationJobs service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListEarthObservationJobs Operation
public virtual Task ListEarthObservationJobsAsync(ListEarthObservationJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEarthObservationJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEarthObservationJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRasterDataCollections
internal virtual ListRasterDataCollectionsResponse ListRasterDataCollections(ListRasterDataCollectionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRasterDataCollectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRasterDataCollectionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to get raster data collections.
///
/// Container for the necessary parameters to execute the ListRasterDataCollections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRasterDataCollections service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListRasterDataCollections Operation
public virtual Task ListRasterDataCollectionsAsync(ListRasterDataCollectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRasterDataCollectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRasterDataCollectionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags attached to the resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVectorEnrichmentJobs
internal virtual ListVectorEnrichmentJobsResponse ListVectorEnrichmentJobs(ListVectorEnrichmentJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVectorEnrichmentJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVectorEnrichmentJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of vector enrichment jobs.
///
/// Container for the necessary parameters to execute the ListVectorEnrichmentJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVectorEnrichmentJobs service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListVectorEnrichmentJobs Operation
public virtual Task ListVectorEnrichmentJobsAsync(ListVectorEnrichmentJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVectorEnrichmentJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVectorEnrichmentJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SearchRasterDataCollection
internal virtual SearchRasterDataCollectionResponse SearchRasterDataCollection(SearchRasterDataCollectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchRasterDataCollectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchRasterDataCollectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows you run image query on a specific raster data collection to get a list of the
/// satellite imagery matching the selected filters.
///
/// Container for the necessary parameters to execute the SearchRasterDataCollection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SearchRasterDataCollection service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for SearchRasterDataCollection Operation
public virtual Task SearchRasterDataCollectionAsync(SearchRasterDataCollectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchRasterDataCollectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchRasterDataCollectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartEarthObservationJob
internal virtual StartEarthObservationJobResponse StartEarthObservationJob(StartEarthObservationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartEarthObservationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to create an Earth observation job.
///
/// Container for the necessary parameters to execute the StartEarthObservationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartEarthObservationJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// You have exceeded the service quota.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for StartEarthObservationJob Operation
public virtual Task StartEarthObservationJobAsync(StartEarthObservationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartEarthObservationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartVectorEnrichmentJob
internal virtual StartVectorEnrichmentJobResponse StartVectorEnrichmentJob(StartVectorEnrichmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartVectorEnrichmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Vector Enrichment job for the supplied job type. Currently, there are two
/// supported job types: reverse geocoding and map matching.
///
/// Container for the necessary parameters to execute the StartVectorEnrichmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartVectorEnrichmentJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// You have exceeded the service quota.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for StartVectorEnrichmentJob Operation
public virtual Task StartVectorEnrichmentJobAsync(StartVectorEnrichmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartVectorEnrichmentJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopEarthObservationJob
internal virtual StopEarthObservationJobResponse StopEarthObservationJob(StopEarthObservationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopEarthObservationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this operation to stop an existing earth observation job.
///
/// Container for the necessary parameters to execute the StopEarthObservationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopEarthObservationJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for StopEarthObservationJob Operation
public virtual Task StopEarthObservationJobAsync(StopEarthObservationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopEarthObservationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopEarthObservationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopVectorEnrichmentJob
internal virtual StopVectorEnrichmentJobResponse StopVectorEnrichmentJob(StopVectorEnrichmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopVectorEnrichmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops the Vector Enrichment job for a given job ARN.
///
/// Container for the necessary parameters to execute the StopVectorEnrichmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopVectorEnrichmentJob service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// Updating or deleting a resource can cause an inconsistent state.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for StopVectorEnrichmentJob Operation
public virtual Task StopVectorEnrichmentJobAsync(StopVectorEnrichmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopVectorEnrichmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopVectorEnrichmentJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The resource you want to tag.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The resource you want to untag.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by SageMakerGeospatial.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception, or failure.
///
///
/// The request references a resource which does not exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}