Interface MarketplaceCommerceAnalyticsClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MarketplaceCommerceAnalyticsClient extends AwsClient
Service client for accessing AWS Marketplace Commerce Analytics. This can be created using the staticbuilder()method. Provides AWS Marketplace business intelligence data on-demand.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static MarketplaceCommerceAnalyticsClientBuilderbuilder()Create a builder that can be used to configure and create aMarketplaceCommerceAnalyticsClient.static MarketplaceCommerceAnalyticsClientcreate()Create aMarketplaceCommerceAnalyticsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default GenerateDataSetResponsegenerateDataSet(Consumer<GenerateDataSetRequest.Builder> 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.default GenerateDataSetResponsegenerateDataSet(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.default MarketplaceCommerceAnalyticsServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartSupportDataExportResponsestartSupportDataExport(Consumer<StartSupportDataExportRequest.Builder> startSupportDataExportRequest)Deprecated.This target has been deprecated.default StartSupportDataExportResponsestartSupportDataExport(StartSupportDataExportRequest startSupportDataExportRequest)Deprecated.This target has been deprecated.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
generateDataSet
default GenerateDataSetResponse generateDataSet(GenerateDataSetRequest generateDataSetRequest) throws MarketplaceCommerceAnalyticsServiceException, AwsServiceException, SdkClientException, MarketplaceCommerceAnalyticsException
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.- Parameters:
generateDataSetRequest- Container for the parameters to the GenerateDataSet operation.- Returns:
- Result of the GenerateDataSet operation returned by the service.
- Throws:
MarketplaceCommerceAnalyticsServiceException- This exception is thrown when an internal service error occurs.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MarketplaceCommerceAnalyticsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
generateDataSet
default GenerateDataSetResponse generateDataSet(Consumer<GenerateDataSetRequest.Builder> generateDataSetRequest) throws MarketplaceCommerceAnalyticsServiceException, AwsServiceException, SdkClientException, MarketplaceCommerceAnalyticsException
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.
This is a convenience which creates an instance of the
GenerateDataSetRequest.Builderavoiding the need to create one manually viaGenerateDataSetRequest.builder()- Parameters:
generateDataSetRequest- AConsumerthat will call methods onGenerateDataSetRequest.Builderto create a request. Container for the parameters to the GenerateDataSet operation.- Returns:
- Result of the GenerateDataSet operation returned by the service.
- Throws:
MarketplaceCommerceAnalyticsServiceException- This exception is thrown when an internal service error occurs.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MarketplaceCommerceAnalyticsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startSupportDataExport
@Deprecated default StartSupportDataExportResponse startSupportDataExport(StartSupportDataExportRequest startSupportDataExportRequest) throws MarketplaceCommerceAnalyticsServiceException, AwsServiceException, SdkClientException, MarketplaceCommerceAnalyticsException
Deprecated.This target has been deprecated. As of December 2022 Product Support Connection is no longer supported.This target has been deprecated. Given a data set type and a from date, asynchronously publishes the requested customer support data 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'T'HH-mm-ss'Z'.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.- Parameters:
startSupportDataExportRequest- This target has been deprecated.- Returns:
- Result of the StartSupportDataExport operation returned by the service.
- Throws:
MarketplaceCommerceAnalyticsServiceException- This exception is thrown when an internal service error occurs.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MarketplaceCommerceAnalyticsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startSupportDataExport
@Deprecated default StartSupportDataExportResponse startSupportDataExport(Consumer<StartSupportDataExportRequest.Builder> startSupportDataExportRequest) throws MarketplaceCommerceAnalyticsServiceException, AwsServiceException, SdkClientException, MarketplaceCommerceAnalyticsException
Deprecated.This target has been deprecated. As of December 2022 Product Support Connection is no longer supported.This target has been deprecated. Given a data set type and a from date, asynchronously publishes the requested customer support data 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'T'HH-mm-ss'Z'.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.
This is a convenience which creates an instance of the
StartSupportDataExportRequest.Builderavoiding the need to create one manually viaStartSupportDataExportRequest.builder()- Parameters:
startSupportDataExportRequest- AConsumerthat will call methods onStartSupportDataExportRequest.Builderto create a request. This target has been deprecated.- Returns:
- Result of the StartSupportDataExport operation returned by the service.
- Throws:
MarketplaceCommerceAnalyticsServiceException- This exception is thrown when an internal service error occurs.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MarketplaceCommerceAnalyticsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static MarketplaceCommerceAnalyticsClient create()
Create aMarketplaceCommerceAnalyticsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static MarketplaceCommerceAnalyticsClientBuilder builder()
Create a builder that can be used to configure and create aMarketplaceCommerceAnalyticsClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default MarketplaceCommerceAnalyticsServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-