Class AWSMarketplaceCommerceAnalyticsClient
- All Implemented Interfaces:
AWSMarketplaceCommerceAnalytics
- Direct Known Subclasses:
AWSMarketplaceCommerceAnalyticsAsyncClient
Provides AWS Marketplace business intelligence data on-demand.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ClientConfigurationFactory
Client configuration factory providing ClientConfigurations tailored to this clientFields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new client to invoke service methods on AWS Marketplace Commerce Analytics.AWSMarketplaceCommerceAnalyticsClient
(AWSCredentials awsCredentials) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials.AWSMarketplaceCommerceAnalyticsClient
(AWSCredentialsProvider awsCredentialsProvider) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials provider.AWSMarketplaceCommerceAnalyticsClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials provider and client configuration options.AWSMarketplaceCommerceAnalyticsClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials provider, client configuration options, and request metric collector.AWSMarketplaceCommerceAnalyticsClient
(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials and client configuration options.AWSMarketplaceCommerceAnalyticsClient
(ClientConfiguration clientConfiguration) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics. -
Method Summary
Modifier and TypeMethodDescriptiongenerateDataSet
(GenerateDataSetRequest generateDataSetRequest) 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.Returns additional metadata for a previously executed successful, request, typically used for debugging issues where a service isn't acting as expected.Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.marketplacecommerceanalytics.AWSMarketplaceCommerceAnalytics
setEndpoint, setRegion, shutdown
-
Field Details
-
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
-
-
Constructor Details
-
AWSMarketplaceCommerceAnalyticsClient
public AWSMarketplaceCommerceAnalyticsClient()Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Instance profile credentials delivered through the Amazon EC2 metadata service
All service calls made using this new client object are blocking, and will not return until the service call completes.
- See Also:
-
AWSMarketplaceCommerceAnalyticsClient
Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Instance profile credentials delivered through the Amazon EC2 metadata service
All service calls made using this new client object are blocking, and will not return until the service call completes.
- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to AWS Marketplace Commerce Analytics (ex: proxy settings, retry counts, etc.).- See Also:
-
AWSMarketplaceCommerceAnalyticsClient
Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials.All service calls made using this new client object are blocking, and will not return until the service call completes.
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
-
AWSMarketplaceCommerceAnalyticsClient
public AWSMarketplaceCommerceAnalyticsClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials and client configuration options.All service calls made using this new client object are blocking, and will not return until the service call completes.
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Marketplace Commerce Analytics (ex: proxy settings, retry counts, etc.).
-
AWSMarketplaceCommerceAnalyticsClient
Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials provider.All service calls made using this new client object are blocking, and will not return until the service call completes.
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
-
AWSMarketplaceCommerceAnalyticsClient
public AWSMarketplaceCommerceAnalyticsClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials provider and client configuration options.All service calls made using this new client object are blocking, and will not return until the service call completes.
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Marketplace Commerce Analytics (ex: proxy settings, retry counts, etc.).
-
AWSMarketplaceCommerceAnalyticsClient
public AWSMarketplaceCommerceAnalyticsClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector) Constructs a new client to invoke service methods on AWS Marketplace Commerce Analytics using the specified AWS account credentials provider, client configuration options, and request metric collector.All service calls made using this new client object are blocking, and will not return until the service call completes.
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Marketplace Commerce Analytics (ex: proxy settings, retry counts, etc.).requestMetricCollector
- optional request metric collector
-
-
Method Details
-
generateDataSet
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. Returns a unique request identifier that can be used to correlate requests with notifications from the SNS topic. Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD.csv. If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will be overwritten by the new file. Requires a Role with an attached permissions policy providing Allow permissions for the following actions: s3:PutObject, s3:GetBucketLocation, sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy.- Specified by:
generateDataSet
in interfaceAWSMarketplaceCommerceAnalytics
- Parameters:
generateDataSetRequest
- Container for the parameters to the GenerateDataSet operation.- Returns:
- Result of the GenerateDataSet operation returned by the service.
- Throws:
MarketplaceCommerceAnalyticsException
- This exception is thrown when an internal service error occurs.
-
getCachedResponseMetadata
Returns additional metadata for a previously executed successful, request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
- Specified by:
getCachedResponseMetadata
in interfaceAWSMarketplaceCommerceAnalytics
- Parameters:
request
- The originally executed request- Returns:
- The response metadata for the specified request, or null if none is available.
-