blib/lib/Paws/CUR/PutReportDefinition.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CUR::PutReportDefinition;
3 use Moose;
4 has ReportDefinition => (is => 'ro', isa => 'Paws::CUR::ReportDefinition', required => 1);
5  
6 use MooseX::ClassAttribute;
7  
8 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutReportDefinition');
9 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CUR::PutReportDefinitionResponse');
10 class_has _result_key => (isa => 'Str', is => 'ro');
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::CUR::PutReportDefinition - Arguments for method PutReportDefinition on L<Paws::CUR>
18  
19 =head1 DESCRIPTION
20  
21 This class represents the parameters used for calling the method PutReportDefinition on the
22 L<AWS Cost and Usage Report Service|Paws::CUR> service. Use the attributes of this class
23 as arguments to method PutReportDefinition.
24  
25 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutReportDefinition.
26  
27 =head1 SYNOPSIS
28  
29 my $cur = Paws->service('CUR');
30 my $PutReportDefinitionResponse = $cur->PutReportDefinition(
31 ReportDefinition => {
32 AdditionalSchemaElements => [
33 'RESOURCES', ... # values: RESOURCES
34 ],
35 Compression => 'ZIP', # values: ZIP, GZIP, Parquet
36 Format => 'textORcsv', # values: textORcsv, Parquet
37 ReportName => 'MyReportName', # max: 256
38 S3Bucket => 'MyS3Bucket', # max: 256
39 S3Prefix => 'MyS3Prefix', # max: 256
40 S3Region => 'af-south-1'
41 , # values: af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, cn-north-1, cn-northwest-1
42 TimeUnit => 'HOURLY', # values: HOURLY, DAILY, MONTHLY
43 AdditionalArtifacts => [
44 'REDSHIFT', ... # values: REDSHIFT, QUICKSIGHT, ATHENA
45 ], # OPTIONAL
46 BillingViewArn => 'MyBillingViewArn', # max: 128; OPTIONAL
47 RefreshClosedReports => 1, # OPTIONAL
48 ReportVersioning => 'CREATE_NEW_REPORT'
49 , # values: CREATE_NEW_REPORT, OVERWRITE_REPORT; OPTIONAL
50 },
51  
52 );
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cur/PutReportDefinition>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 B<REQUIRED> ReportDefinition => L<Paws::CUR::ReportDefinition>
61  
62 Represents the output of the PutReportDefinition operation. The content
63 consists of the detailed metadata and data file information.
64  
65  
66  
67  
68 =head1 SEE ALSO
69  
70 This class forms part of L<Paws>, documenting arguments for method PutReportDefinition in L<Paws::CUR>
71  
72 =head1 BUGS and CONTRIBUTIONS
73  
74 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
75  
76 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
77  
78 =cut
79