File Coverage

blib/lib/Paws/MarketplaceCommerceAnalytics/GenerateDataSet.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::MarketplaceCommerceAnalytics::GenerateDataSet;
3 1     1   506 use Moose;
  1         3  
  1         8  
4             has CustomerDefinedValues => (is => 'ro', isa => 'Paws::MarketplaceCommerceAnalytics::CustomerDefinedValues', traits => ['NameInRequest'], request_name => 'customerDefinedValues' );
5             has DataSetPublicationDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dataSetPublicationDate' , required => 1);
6             has DataSetType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dataSetType' , required => 1);
7             has DestinationS3BucketName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationS3BucketName' , required => 1);
8             has DestinationS3Prefix => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationS3Prefix' );
9             has RoleNameArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleNameArn' , required => 1);
10             has SnsTopicArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'snsTopicArn' , required => 1);
11              
12 1     1   6339 use MooseX::ClassAttribute;
  1         3  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GenerateDataSet');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MarketplaceCommerceAnalytics::GenerateDataSetResult');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::MarketplaceCommerceAnalytics::GenerateDataSet - Arguments for method GenerateDataSet on Paws::MarketplaceCommerceAnalytics
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method GenerateDataSet on the
28             AWS Marketplace Commerce Analytics service. Use the attributes of this class
29             as arguments to method GenerateDataSet.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GenerateDataSet.
32              
33             As an example:
34              
35             $service_obj->GenerateDataSet(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 CustomerDefinedValues => L<Paws::MarketplaceCommerceAnalytics::CustomerDefinedValues>
43              
44             (Optional) Key-value pairs which will be returned, unmodified, in the
45             Amazon SNS notification message and the data set metadata file. These
46             key-value pairs can be used to correlated responses with tracking
47             information from other systems.
48              
49              
50              
51             =head2 B<REQUIRED> DataSetPublicationDate => Str
52              
53             The date a data set was published. For daily data sets, provide a date
54             with day-level granularity for the desired day. For weekly data sets,
55             provide a date with day-level granularity within the desired week (the
56             day value will be ignored). For monthly data sets, provide a date with
57             month-level granularity for the desired month (the day value will be
58             ignored).
59              
60              
61              
62             =head2 B<REQUIRED> DataSetType => Str
63              
64             The desired data set type.
65              
66             =over
67              
68             =item * I<customer_subscriber_hourly_monthly_subscriptions> - Available
69             daily by 5:00 PM Pacific Time since 2014-07-21.
70              
71             =item * I<customer_subscriber_annual_subscriptions> - Available daily
72             by 5:00 PM Pacific Time since 2014-07-21.
73              
74             =item * I<daily_business_usage_by_instance_type> - Available daily by
75             5:00 PM Pacific Time since 2015-01-26.
76              
77             =item * I<daily_business_fees> - Available daily by 5:00 PM Pacific
78             Time since 2015-01-26.
79              
80             =item * I<daily_business_free_trial_conversions> - Available daily by
81             5:00 PM Pacific Time since 2015-01-26.
82              
83             =item * I<daily_business_new_instances> - Available daily by 5:00 PM
84             Pacific Time since 2015-01-26.
85              
86             =item * I<daily_business_new_product_subscribers> - Available daily by
87             5:00 PM Pacific Time since 2015-01-26.
88              
89             =item * I<daily_business_canceled_product_subscribers> - Available
90             daily by 5:00 PM Pacific Time since 2015-01-26.
91              
92             =item * I<monthly_revenue_billing_and_revenue_data> - Available monthly
93             on the 4th day of the month by 5:00 PM Pacific Time since 2015-02.
94              
95             =item * I<monthly_revenue_annual_subscriptions> - Available monthly on
96             the 4th day of the month by 5:00 PM Pacific Time since 2015-02.
97              
98             =item * I<disbursed_amount_by_product> - Available every 30 days by
99             5:00 PM Pacific Time since 2015-01-26.
100              
101             =item * I<disbursed_amount_by_product_with_uncollected_funds> -This
102             data set is only available from 2012-04-19 until 2015-01-25. After
103             2015-01-25, this data set was split into three data sets:
104             disbursed_amount_by_product,
105             disbursed_amount_by_age_of_uncollected_funds, and
106             disbursed_amount_by_age_of_disbursed_funds.
107              
108             =item * I<disbursed_amount_by_instance_hours> - Available every 30 days
109             by 5:00 PM Pacific Time since 2012-09-04.
110              
111             =item * I<disbursed_amount_by_customer_geo> - Available every 30 days
112             by 5:00 PM Pacific Time since 2012-04-19.
113              
114             =item * I<disbursed_amount_by_age_of_uncollected_funds> - Available
115             every 30 days by 5:00 PM Pacific Time since 2015-01-26.
116              
117             =item * I<disbursed_amount_by_age_of_disbursed_funds> - Available every
118             30 days by 5:00 PM Pacific Time since 2015-01-26.
119              
120             =item * I<customer_profile_by_industry> - Available daily by 5:00 PM
121             Pacific Time from 2015-10-01 to 2017-06-29. After 2017-06-29 this data
122             set will no longer be published.
123              
124             =item * I<customer_profile_by_revenue> - Available daily by 5:00 PM
125             Pacific Time from 2015-10-01 to 2017-06-29. After 2017-06-29 this data
126             set will no longer be published.
127              
128             =item * I<customer_profile_by_geography> - Available daily by 5:00 PM
129             Pacific Time from 2015-10-01 to 2017-06-29. After 2017-06-29 this data
130             set will no longer be published.
131              
132             =item * I<sales_compensation_billed_revenue> - Available monthly on the
133             4th day of the month by 5:00 PM Pacific Time since 2016-12.
134              
135             =item * I<us_sales_and_use_tax_records> - Available monthly on the 15th
136             day of the month by 5:00 PM Pacific Time since 2017-02-15.
137              
138             =back
139              
140              
141             Valid values are: C<"customer_subscriber_hourly_monthly_subscriptions">, C<"customer_subscriber_annual_subscriptions">, C<"daily_business_usage_by_instance_type">, C<"daily_business_fees">, C<"daily_business_free_trial_conversions">, C<"daily_business_new_instances">, C<"daily_business_new_product_subscribers">, C<"daily_business_canceled_product_subscribers">, C<"monthly_revenue_billing_and_revenue_data">, C<"monthly_revenue_annual_subscriptions">, C<"disbursed_amount_by_product">, C<"disbursed_amount_by_product_with_uncollected_funds">, C<"disbursed_amount_by_instance_hours">, C<"disbursed_amount_by_customer_geo">, C<"disbursed_amount_by_age_of_uncollected_funds">, C<"disbursed_amount_by_age_of_disbursed_funds">, C<"customer_profile_by_industry">, C<"customer_profile_by_revenue">, C<"customer_profile_by_geography">, C<"sales_compensation_billed_revenue">, C<"us_sales_and_use_tax_records">
142              
143             =head2 B<REQUIRED> DestinationS3BucketName => Str
144              
145             The name (friendly name, not ARN) of the destination S3 bucket.
146              
147              
148              
149             =head2 DestinationS3Prefix => Str
150              
151             (Optional) The desired S3 prefix for the published data set, similar to
152             a directory path in standard file systems. For example, if given the
153             bucket name "mybucket" and the prefix "myprefix/mydatasets", the output
154             file "outputfile" would be published to
155             "s3://mybucket/myprefix/mydatasets/outputfile". If the prefix directory
156             structure does not exist, it will be created. If no prefix is provided,
157             the data set will be published to the S3 bucket root.
158              
159              
160              
161             =head2 B<REQUIRED> RoleNameArn => Str
162              
163             The Amazon Resource Name (ARN) of the Role with an attached permissions
164             policy to interact with the provided AWS services.
165              
166              
167              
168             =head2 B<REQUIRED> SnsTopicArn => Str
169              
170             Amazon Resource Name (ARN) for the SNS Topic that will be notified when
171             the data set has been published or if an error has occurred.
172              
173              
174              
175              
176             =head1 SEE ALSO
177              
178             This class forms part of L<Paws>, documenting arguments for method GenerateDataSet in L<Paws::MarketplaceCommerceAnalytics>
179              
180             =head1 BUGS and CONTRIBUTIONS
181              
182             The source code is located here: https://github.com/pplu/aws-sdk-perl
183              
184             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
185              
186             =cut
187