support_data_exports
Creates, updates, deletes, gets or lists a support_data_exports resource.
Overview​
| Name | support_data_exports |
| Type | Resource |
| Id | aws.marketplacecommerceanalytics.support_data_exports |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
start_support_data_export | exec | region, dataSetType, fromDate, roleNameArn, destinationS3BucketName, snsTopicArn | 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​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
Lifecycle Methods​
- 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. 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.
EXEC aws.marketplacecommerceanalytics.support_data_exports.start_support_data_export
@region='{{ region }}' --required
@@json=
'{
"dataSetType": "{{ dataSetType }}",
"fromDate": "{{ fromDate }}",
"roleNameArn": "{{ roleNameArn }}",
"destinationS3BucketName": "{{ destinationS3BucketName }}",
"destinationS3Prefix": "{{ destinationS3Prefix }}",
"snsTopicArn": "{{ snsTopicArn }}",
"customerDefinedValues": "{{ customerDefinedValues }}"
}'
;