blib/lib/Paws/LicenseManager/CreateLicenseManagerReportGenerator.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::CreateLicenseManagerReportGenerator;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str', required => 1);
5 has Description => (is => 'ro', isa => 'Str');
6 has ReportContext => (is => 'ro', isa => 'Paws::LicenseManager::ReportContext', required => 1);
7 has ReportFrequency => (is => 'ro', isa => 'Paws::LicenseManager::ReportFrequency', required => 1);
8 has ReportGeneratorName => (is => 'ro', isa => 'Str', required => 1);
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::Tag]');
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 => 'CreateLicenseManagerReportGenerator');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LicenseManager::CreateLicenseManagerReportGeneratorResponse');
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::CreateLicenseManagerReportGenerator - Arguments for method CreateLicenseManagerReportGenerator on L<Paws::LicenseManager>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreateLicenseManagerReportGenerator on the
28 L<AWS License Manager|Paws::LicenseManager> service. Use the attributes of this class
29 as arguments to method CreateLicenseManagerReportGenerator.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLicenseManagerReportGenerator.
32  
33 =head1 SYNOPSIS
34  
35 my $license-manager = Paws->service('LicenseManager');
36 my $CreateLicenseManagerReportGeneratorResponse =
37 $license -manager->CreateLicenseManagerReportGenerator(
38 ClientToken => 'MyClientRequestToken',
39 ReportContext => {
40 LicenseConfigurationArns => [
41 'MyArn', ... # max: 2048
42 ],
43  
44 },
45 ReportFrequency => {
46 Period => 'DAY', # values: DAY, WEEK, MONTH; OPTIONAL
47 Value => 1, # OPTIONAL
48 },
49 ReportGeneratorName => 'MyReportGeneratorName',
50 Type => [
51 'LicenseConfigurationSummaryReport',
52 ... # values: LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
53 ],
54 Description => 'MyString', # OPTIONAL
55 Tags => [
56 {
57 Key => 'MyString',
58 Value => 'MyString',
59 },
60 ...
61 ], # OPTIONAL
62 );
63  
64 # Results:
65 my $LicenseManagerReportGeneratorArn =
66 $CreateLicenseManagerReportGeneratorResponse
67 ->LicenseManagerReportGeneratorArn;
68  
69 # Returns a L<Paws::LicenseManager::CreateLicenseManagerReportGeneratorResponse> object.
70  
71 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.
72 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/license-manager/CreateLicenseManagerReportGenerator>
73  
74 =head1 ATTRIBUTES
75  
76  
77 =head2 B<REQUIRED> ClientToken => Str
78  
79 Unique, case-sensitive identifier that you provide to ensure the
80 idempotency of the request.
81  
82  
83  
84 =head2 Description => Str
85  
86 Description of the report generator.
87  
88  
89  
90 =head2 B<REQUIRED> ReportContext => L<Paws::LicenseManager::ReportContext>
91  
92 Defines the type of license configuration the report generator tracks.
93  
94  
95  
96 =head2 B<REQUIRED> ReportFrequency => L<Paws::LicenseManager::ReportFrequency>
97  
98 Frequency by which reports are generated. Reports can be generated
99 daily, monthly, or weekly.
100  
101  
102  
103 =head2 B<REQUIRED> ReportGeneratorName => Str
104  
105 Name of the report generator.
106  
107  
108  
109 =head2 Tags => ArrayRef[L<Paws::LicenseManager::Tag>]
110  
111 Tags to add to the report generator.
112  
113  
114  
115 =head2 B<REQUIRED> Type => ArrayRef[Str|Undef]
116  
117 Type of reports to generate. The following report types an be
118 generated:
119  
120 =over
121  
122 =item *
123  
124 License configuration report - Reports on the number and details of
125 consumed licenses for a license configuration.
126  
127 =item *
128  
129 Resource report - Reports on the tracked licenses and resource
130 consumption for a license configuration.
131  
132 =back
133  
134  
135  
136  
137  
138 =head1 SEE ALSO
139  
140 This class forms part of L<Paws>, documenting arguments for method CreateLicenseManagerReportGenerator in L<Paws::LicenseManager>
141  
142 =head1 BUGS and CONTRIBUTIONS
143  
144 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
145  
146 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
147  
148 =cut
149