Module Smaws_Client_MarketplaceCommerceAnalytics

Marketplace Commerce Analytics client library built on EIO.

Types

module Types : sig ... end

Builders

val make_start_support_data_export_request : ?customer_defined_values:Types.customer_defined_values -> ?destination_s3_prefix:Types.destination_s3_prefix -> sns_topic_arn:Types.sns_topic_arn -> destination_s3_bucket_name:Types.destination_s3_bucket_name -> role_name_arn:Types.role_name_arn -> from_date:Types.from_date -> data_set_type:Types.support_data_set_type -> unit -> Types.start_support_data_export_request
val make_generate_data_set_request : ?customer_defined_values:Types.customer_defined_values -> ?destination_s3_prefix:Types.destination_s3_prefix -> sns_topic_arn:Types.sns_topic_arn -> destination_s3_bucket_name:Types.destination_s3_bucket_name -> role_name_arn:Types.role_name_arn -> data_set_publication_date:Types.data_set_publication_date -> data_set_type:Types.data_set_type -> unit -> Types.generate_data_set_request

Operations

module GenerateDataSet : sig ... end

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.

module StartSupportDataExport : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end