blib/lib/Paws/MarketplaceCommerceAnalytics.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 8 totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::MarketplaceCommerceAnalytics;
2 use Moose;
3 sub service { 'marketplacecommerceanalytics' }
4 sub signing_name { 'marketplacecommerceanalytics' }
5 sub version { '2015-07-01' }
6 sub target_prefix { 'MarketplaceCommerceAnalytics20150701' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub GenerateDataSet {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::MarketplaceCommerceAnalytics::GenerateDataSet', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub StartSupportDataExport {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::MarketplaceCommerceAnalytics::StartSupportDataExport', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28
29  
30  
31 sub operations { qw/GenerateDataSet StartSupportDataExport / }
32  
33 1;
34  
35 ### main pod documentation begin ###
36  
37 =head1 NAME
38  
39 Paws::MarketplaceCommerceAnalytics - Perl Interface to AWS AWS Marketplace Commerce Analytics
40  
41 =head1 SYNOPSIS
42  
43 use Paws;
44  
45 my $obj = Paws->service('MarketplaceCommerceAnalytics');
46 my $res = $obj->Method(
47 Arg1 => $val1,
48 Arg2 => [ 'V1', 'V2' ],
49 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
50 # of the arguments type
51 Arg3 => { Att1 => 'Val1' },
52 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
53 # the constructor of the arguments type
54 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
55 );
56  
57 =head1 DESCRIPTION
58  
59 Provides AWS Marketplace business intelligence data on-demand.
60  
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/marketplace/latest/userguide/commerce-analytics-service.html>
62  
63  
64 =head1 METHODS
65  
66 =head2 GenerateDataSet
67  
68 =over
69  
70 =item DataSetPublicationDate => Str
71  
72 =item DataSetType => Str
73  
74 =item DestinationS3BucketName => Str
75  
76 =item RoleNameArn => Str
77  
78 =item SnsTopicArn => Str
79  
80 =item [CustomerDefinedValues => L<Paws::MarketplaceCommerceAnalytics::CustomerDefinedValues>]
81  
82 =item [DestinationS3Prefix => Str]
83  
84  
85 =back
86  
87 Each argument is described in detail in: L<Paws::MarketplaceCommerceAnalytics::GenerateDataSet>
88  
89 Returns: a L<Paws::MarketplaceCommerceAnalytics::GenerateDataSetResult> instance
90  
91 Given a data set type and data set publication date, asynchronously
92 publishes the requested data set to the specified S3 bucket and
93 notifies the specified SNS topic once the data is available. Returns a
94 unique request identifier that can be used to correlate requests with
95 notifications from the SNS topic. Data sets will be published in
96 comma-separated values (CSV) format with the file name
97 {data_set_type}_YYYY-MM-DD.csv. If a file with the same name already
98 exists (e.g. if the same data set is requested twice), the original
99 file will be overwritten by the new file. Requires a Role with an
100 attached permissions policy providing Allow permissions for the
101 following actions: s3:PutObject, s3:GetBucketLocation,
102 sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy.
103  
104  
105 =head2 StartSupportDataExport
106  
107 =over
108  
109 =item DataSetType => Str
110  
111 =item DestinationS3BucketName => Str
112  
113 =item FromDate => Str
114  
115 =item RoleNameArn => Str
116  
117 =item SnsTopicArn => Str
118  
119 =item [CustomerDefinedValues => L<Paws::MarketplaceCommerceAnalytics::CustomerDefinedValues>]
120  
121 =item [DestinationS3Prefix => Str]
122  
123  
124 =back
125  
126 Each argument is described in detail in: L<Paws::MarketplaceCommerceAnalytics::StartSupportDataExport>
127  
128 Returns: a L<Paws::MarketplaceCommerceAnalytics::StartSupportDataExportResult> instance
129  
130 Given a data set type and a from date, asynchronously publishes the
131 requested customer support data to the specified S3 bucket and notifies
132 the specified SNS topic once the data is available. Returns a unique
133 request identifier that can be used to correlate requests with
134 notifications from the SNS topic. Data sets will be published in
135 comma-separated values (CSV) format with the file name
136 {data_set_type}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv. If a file with the same
137 name already exists (e.g. if the same data set is requested twice), the
138 original file will be overwritten by the new file. Requires a Role with
139 an attached permissions policy providing Allow permissions for the
140 following actions: s3:PutObject, s3:GetBucketLocation,
141 sns:GetTopicAttributes, sns:Publish, iam:GetRolePolicy.
142  
143  
144  
145  
146 =head1 PAGINATORS
147  
148 Paginator methods are helpers that repetively call methods that return partial results
149  
150  
151  
152  
153 =head1 SEE ALSO
154  
155 This service class forms part of L<Paws>
156  
157 =head1 BUGS and CONTRIBUTIONS
158  
159 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
160  
161 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
162  
163 =cut
164