Packages
aws
0.13.0
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.0
0.10.1
0.10.0
0.9.2
0.9.1
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
AWS clients for Elixir
Current section
Files
Jump to
Current section
Files
lib/aws/generated/marketplace_commerce_analytics.ex
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.
defmodule AWS.MarketplaceCommerceAnalytics do
@moduledoc """
Provides AWS Marketplace business intelligence data on-demand.
"""
alias AWS.Client
alias AWS.Request
def metadata do
%{
abbreviation: nil,
api_version: "2015-07-01",
content_type: "application/x-amz-json-1.1",
credential_scope: nil,
endpoint_prefix: "marketplacecommerceanalytics",
global?: false,
protocol: "json",
service_id: "Marketplace Commerce Analytics",
signature_version: "v4",
signing_name: "marketplacecommerceanalytics",
target_prefix: "MarketplaceCommerceAnalytics20150701"
}
end
@doc """
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.
"""
def generate_data_set(%Client{} = client, input, options \\ []) do
meta = metadata()
Request.request_post(client, meta, "GenerateDataSet", input, options)
end
@doc """
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.
"""
def start_support_data_export(%Client{} = client, input, options \\ []) do
meta = metadata()
Request.request_post(client, meta, "StartSupportDataExport", input, options)
end
end