MarketplaceCommerceAnalyticsClient#
Index > MarketplaceCommerceAnalytics > MarketplaceCommerceAnalyticsClient
Auto-generated documentation for MarketplaceCommerceAnalytics type annotations stubs module mypy-boto3-marketplacecommerceanalytics.
MarketplaceCommerceAnalyticsClient#
Type annotations and code completion for boto3.client("marketplacecommerceanalytics")
.
boto3 documentation
# MarketplaceCommerceAnalyticsClient usage example
from boto3.session import Session
from mypy_boto3_marketplacecommerceanalytics.client import MarketplaceCommerceAnalyticsClient
def get_marketplacecommerceanalytics_client() -> MarketplaceCommerceAnalyticsClient:
return Session().client("marketplacecommerceanalytics")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("marketplacecommerceanalytics").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("marketplacecommerceanalytics")
try:
do_something(client)
except (
client.exceptions.ClientError,
client.exceptions.MarketplaceCommerceAnalyticsException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_marketplacecommerceanalytics.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("marketplacecommerceanalytics").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("marketplacecommerceanalytics").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
generate_data_set#
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.
Type annotations and code completion for boto3.client("marketplacecommerceanalytics").generate_data_set
method.
boto3 documentation
# generate_data_set method definition
def generate_data_set(
self,
*,
dataSetType: DataSetTypeType, # (1)
dataSetPublicationDate: TimestampTypeDef,
roleNameArn: str,
destinationS3BucketName: str,
snsTopicArn: str,
destinationS3Prefix: str = ...,
customerDefinedValues: Mapping[str, str] = ...,
) -> GenerateDataSetResultTypeDef: # (2)
...
# generate_data_set method usage example with argument unpacking
kwargs: GenerateDataSetRequestRequestTypeDef = { # (1)
"dataSetType": ...,
"dataSetPublicationDate": ...,
"roleNameArn": ...,
"destinationS3BucketName": ...,
"snsTopicArn": ...,
}
parent.generate_data_set(**kwargs)
start_support_data_export#
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.
Type annotations and code completion for boto3.client("marketplacecommerceanalytics").start_support_data_export
method.
boto3 documentation
# start_support_data_export method definition
def start_support_data_export(
self,
*,
dataSetType: SupportDataSetTypeType, # (1)
fromDate: TimestampTypeDef,
roleNameArn: str,
destinationS3BucketName: str,
snsTopicArn: str,
destinationS3Prefix: str = ...,
customerDefinedValues: Mapping[str, str] = ...,
) -> StartSupportDataExportResultTypeDef: # (2)
...
# start_support_data_export method usage example with argument unpacking
kwargs: StartSupportDataExportRequestRequestTypeDef = { # (1)
"dataSetType": ...,
"fromDate": ...,
"roleNameArn": ...,
"destinationS3BucketName": ...,
"snsTopicArn": ...,
}
parent.start_support_data_export(**kwargs)