blib/lib/Paws/LicenseManager/UpdateLicenseManagerReportGenerator.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LicenseManager::UpdateLicenseManagerReportGenerator;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str', required => 1);
5 has Description => (is => 'ro', isa => 'Str');
6 has LicenseManagerReportGeneratorArn => (is => 'ro', isa => 'Str', required => 1);
7 has ReportContext => (is => 'ro', isa => 'Paws::LicenseManager::ReportContext', required => 1);
8 has ReportFrequency => (is => 'ro', isa => 'Paws::LicenseManager::ReportFrequency', required => 1);
9 has ReportGeneratorName => (is => 'ro', isa => 'Str', required => 1);
10 has Type => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLicenseManagerReportGenerator');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LicenseManager::UpdateLicenseManagerReportGeneratorResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::LicenseManager::UpdateLicenseManagerReportGenerator - Arguments for method UpdateLicenseManagerReportGenerator on L<Paws::LicenseManager>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateLicenseManagerReportGenerator on the
28 L<AWS License Manager|Paws::LicenseManager> service. Use the attributes of this class
29 as arguments to method UpdateLicenseManagerReportGenerator.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLicenseManagerReportGenerator.
32  
33 =head1 SYNOPSIS
34  
35 my $license-manager = Paws->service('LicenseManager');
36 my $UpdateLicenseManagerReportGeneratorResponse =
37 $license -manager->UpdateLicenseManagerReportGenerator(
38 ClientToken => 'MyClientRequestToken',
39 LicenseManagerReportGeneratorArn => 'MyString',
40 ReportContext => {
41 LicenseConfigurationArns => [
42 'MyArn', ... # max: 2048
43 ],
44  
45 },
46 ReportFrequency => {
47 Period => 'DAY', # values: DAY, WEEK, MONTH; OPTIONAL
48 Value => 1, # OPTIONAL
49 },
50 ReportGeneratorName => 'MyReportGeneratorName',
51 Type => [
52 'LicenseConfigurationSummaryReport',
53 ... # values: LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
54 ],
55 Description => 'MyString', # OPTIONAL
56 );
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/license-manager/UpdateLicenseManagerReportGenerator>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 B<REQUIRED> ClientToken => Str
65  
66 Unique, case-sensitive identifier that you provide to ensure the
67 idempotency of the request.
68  
69  
70  
71 =head2 Description => Str
72  
73 Description of the report generator.
74  
75  
76  
77 =head2 B<REQUIRED> LicenseManagerReportGeneratorArn => Str
78  
79 Amazon Resource Number (ARN) of the report generator to update.
80  
81  
82  
83 =head2 B<REQUIRED> ReportContext => L<Paws::LicenseManager::ReportContext>
84  
85 ?
86  
87  
88  
89 =head2 B<REQUIRED> ReportFrequency => L<Paws::LicenseManager::ReportFrequency>
90  
91 Frequency by which reports are generated. The following options are
92 avaiable:
93  
94 ??? What are the APi value options?
95  
96  
97  
98 =head2 B<REQUIRED> ReportGeneratorName => Str
99  
100 Name of the report generator.
101  
102  
103  
104 =head2 B<REQUIRED> Type => ArrayRef[Str|Undef]
105  
106 Type of reports to generate. The following report types an be
107 generated:
108  
109 =over
110  
111 =item *
112  
113 License configuration report - Reports on the number and details of
114 consumed licenses for a license configuration.
115  
116 =item *
117  
118 Resource report - Reports on the tracked licenses and resource
119 consumption for a license configuration.
120  
121 =back
122  
123  
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, documenting arguments for method UpdateLicenseManagerReportGenerator in L<Paws::LicenseManager>
130  
131 =head1 BUGS and CONTRIBUTIONS
132  
133 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
134  
135 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
136  
137 =cut
138