@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMarketplaceCommerceAnalyticsAsyncClient extends AWSMarketplaceCommerceAnalyticsClient implements AWSMarketplaceCommerceAnalyticsAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Provides AWS Marketplace business intelligence data on-demand.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSMarketplaceCommerceAnalyticsAsyncClientBuilder |
asyncBuilder() |
Future<GenerateDataSetResult> |
generateDataSetAsync(GenerateDataSetRequest request)
Given a data set type and data set publication date, asynchronously publishes the requested data set to the
specified S3 bucket and notifies the specified SNS topic once the data is available.
|
Future<GenerateDataSetResult> |
generateDataSetAsync(GenerateDataSetRequest request,
AsyncHandler<GenerateDataSetRequest,GenerateDataSetResult> asyncHandler)
Given a data set type and data set publication date, asynchronously publishes the requested data set to the
specified S3 bucket and notifies the specified SNS topic once the data is available.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<StartSupportDataExportResult> |
startSupportDataExportAsync(StartSupportDataExportRequest request)
Deprecated.
|
Future<StartSupportDataExportResult> |
startSupportDataExportAsync(StartSupportDataExportRequest request,
AsyncHandler<StartSupportDataExportRequest,StartSupportDataExportResult> asyncHandler)
Deprecated.
|
builder, generateDataSet, getCachedResponseMetadata, startSupportDataExport
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateDataSet, getCachedResponseMetadata, setEndpoint, setRegion, startSupportDataExport
@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to AWS Marketplace Commerce
Analytics (ex: proxy settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSMarketplaceCommerceAnalyticsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AWSMarketplaceCommerceAnalyticsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GenerateDataSetResult> generateDataSetAsync(GenerateDataSetRequest request)
AWSMarketplaceCommerceAnalyticsAsync
generateDataSetAsync
in interface AWSMarketplaceCommerceAnalyticsAsync
request
- Container for the parameters to the GenerateDataSet operation.public Future<GenerateDataSetResult> generateDataSetAsync(GenerateDataSetRequest request, AsyncHandler<GenerateDataSetRequest,GenerateDataSetResult> asyncHandler)
AWSMarketplaceCommerceAnalyticsAsync
generateDataSetAsync
in interface AWSMarketplaceCommerceAnalyticsAsync
request
- Container for the parameters to the GenerateDataSet operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<StartSupportDataExportResult> startSupportDataExportAsync(StartSupportDataExportRequest request)
AWSMarketplaceCommerceAnalyticsAsync
startSupportDataExportAsync
in interface AWSMarketplaceCommerceAnalyticsAsync
request
- This target has been deprecated.@Deprecated public Future<StartSupportDataExportResult> startSupportDataExportAsync(StartSupportDataExportRequest request, AsyncHandler<StartSupportDataExportRequest,StartSupportDataExportResult> asyncHandler)
AWSMarketplaceCommerceAnalyticsAsync
startSupportDataExportAsync
in interface AWSMarketplaceCommerceAnalyticsAsync
request
- This target has been deprecated.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSMarketplaceCommerceAnalytics
shutdown
in class AWSMarketplaceCommerceAnalyticsClient