[][src]Trait rusoto_marketplacecommerceanalytics::MarketplaceCommerceAnalytics

pub trait MarketplaceCommerceAnalytics {
#[must_use]    pub fn generate_data_set<'life0, 'async_trait>(
        &'life0 self,
        input: GenerateDataSetRequest
    ) -> Pin<Box<dyn Future<Output = Result<GenerateDataSetResult, RusotoError<GenerateDataSetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn start_support_data_export<'life0, 'async_trait>(
        &'life0 self,
        input: StartSupportDataExportRequest
    ) -> Pin<Box<dyn Future<Output = Result<StartSupportDataExportResult, RusotoError<StartSupportDataExportError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the AWS Marketplace Commerce Analytics API. AWS Marketplace Commerce Analytics clients implement this trait.

Required methods

#[must_use]pub fn generate_data_set<'life0, 'async_trait>(
    &'life0 self,
    input: GenerateDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<GenerateDataSetResult, RusotoError<GenerateDataSetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 {datasettype}_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.

#[must_use]pub fn start_support_data_export<'life0, 'async_trait>(
    &'life0 self,
    input: StartSupportDataExportRequest
) -> Pin<Box<dyn Future<Output = Result<StartSupportDataExportResult, RusotoError<StartSupportDataExportError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 {datasettype}_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.

Loading content...

Implementors

impl MarketplaceCommerceAnalytics for MarketplaceCommerceAnalyticsClient[src]

pub fn generate_data_set<'life0, 'async_trait>(
    &'life0 self,
    input: GenerateDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<GenerateDataSetResult, RusotoError<GenerateDataSetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 {datasettype}_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.

pub fn start_support_data_export<'life0, 'async_trait>(
    &'life0 self,
    input: StartSupportDataExportRequest
) -> Pin<Box<dyn Future<Output = Result<StartSupportDataExportResult, RusotoError<StartSupportDataExportError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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 {datasettype}_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.

Loading content...