blib/lib/Paws/ApplicationCostProfiler/UpdateReportDefinition.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApplicationCostProfiler::UpdateReportDefinition;
3 use Moose;
4 has DestinationS3Location => (is => 'ro', isa => 'Paws::ApplicationCostProfiler::S3Location', traits => ['NameInRequest'], request_name => 'destinationS3Location', required => 1);
5 has Format => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'format', required => 1);
6 has ReportDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reportDescription', required => 1);
7 has ReportFrequency => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reportFrequency', required => 1);
8 has ReportId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'reportId', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateReportDefinition');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/reportDefinition/{reportId}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationCostProfiler::UpdateReportDefinitionResult');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::ApplicationCostProfiler::UpdateReportDefinition - Arguments for method UpdateReportDefinition on L<Paws::ApplicationCostProfiler>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateReportDefinition on the
27 L<AWS Application Cost Profiler|Paws::ApplicationCostProfiler> service. Use the attributes of this class
28 as arguments to method UpdateReportDefinition.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateReportDefinition.
31  
32 =head1 SYNOPSIS
33  
34 my $application-cost-profiler = Paws->service('ApplicationCostProfiler');
35 my $UpdateReportDefinitionResult =
36 $application -cost-profiler->UpdateReportDefinition(
37 DestinationS3Location => {
38 Bucket => 'MyS3Bucket', # min: 3, max: 63
39 Prefix => 'MyS3Prefix', # min: 1, max: 512
40  
41 },
42 Format => 'CSV',
43 ReportDescription => 'MyReportDescription',
44 ReportFrequency => 'MONTHLY',
45 ReportId => 'MyReportId',
46  
47 );
48  
49 # Results:
50 my $ReportId = $UpdateReportDefinitionResult->ReportId;
51  
52 # Returns a L<Paws::ApplicationCostProfiler::UpdateReportDefinitionResult> object.
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/application-cost-profiler/UpdateReportDefinition>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 B<REQUIRED> DestinationS3Location => L<Paws::ApplicationCostProfiler::S3Location>
61  
62 Required. Amazon Simple Storage Service (Amazon S3) location where
63 Application Cost Profiler uploads the report.
64  
65  
66  
67 =head2 B<REQUIRED> Format => Str
68  
69 Required. The format to use for the generated report.
70  
71 Valid values are: C<"CSV">, C<"PARQUET">
72  
73 =head2 B<REQUIRED> ReportDescription => Str
74  
75 Required. Description of the report.
76  
77  
78  
79 =head2 B<REQUIRED> ReportFrequency => Str
80  
81 Required. The cadence to generate the report.
82  
83 Valid values are: C<"MONTHLY">, C<"DAILY">, C<"ALL">
84  
85 =head2 B<REQUIRED> ReportId => Str
86  
87 Required. ID of the report to update.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method UpdateReportDefinition in L<Paws::ApplicationCostProfiler>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103