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

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LicenseManager::UpdateLicenseConfiguration;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str');
5 has DisassociateWhenNotFound => (is => 'ro', isa => 'Bool');
6 has LicenseConfigurationArn => (is => 'ro', isa => 'Str', required => 1);
7 has LicenseConfigurationStatus => (is => 'ro', isa => 'Str');
8 has LicenseCount => (is => 'ro', isa => 'Int');
9 has LicenseCountHardLimit => (is => 'ro', isa => 'Bool');
10 has LicenseRules => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
11 has Name => (is => 'ro', isa => 'Str');
12 has ProductInformationList => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::ProductInformation]');
13  
14 use MooseX::ClassAttribute;
15  
16 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLicenseConfiguration');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LicenseManager::UpdateLicenseConfigurationResponse');
18 class_has _result_key => (isa => 'Str', is => 'ro');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::LicenseManager::UpdateLicenseConfiguration - Arguments for method UpdateLicenseConfiguration on L<Paws::LicenseManager>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method UpdateLicenseConfiguration on the
30 L<AWS License Manager|Paws::LicenseManager> service. Use the attributes of this class
31 as arguments to method UpdateLicenseConfiguration.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLicenseConfiguration.
34  
35 =head1 SYNOPSIS
36  
37 my $license-manager = Paws->service('LicenseManager');
38 my $UpdateLicenseConfigurationResponse =
39 $license -manager->UpdateLicenseConfiguration(
40 LicenseConfigurationArn => 'MyString',
41 Description => 'MyString', # OPTIONAL
42 DisassociateWhenNotFound => 1, # OPTIONAL
43 LicenseConfigurationStatus => 'AVAILABLE', # OPTIONAL
44 LicenseCount => 1, # OPTIONAL
45 LicenseCountHardLimit => 1, # OPTIONAL
46 LicenseRules => [ 'MyString', ... ], # OPTIONAL
47 Name => 'MyString', # OPTIONAL
48 ProductInformationList => [
49 {
50 ProductInformationFilterList => [
51 {
52 ProductInformationFilterComparator => 'MyString',
53 ProductInformationFilterName => 'MyString',
54 ProductInformationFilterValue => [ 'MyString', ... ],
55 },
56 ...
57 ],
58 ResourceType => 'MyString',
59  
60 },
61 ...
62 ], # OPTIONAL
63 );
64  
65 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.
66 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/license-manager/UpdateLicenseConfiguration>
67  
68 =head1 ATTRIBUTES
69  
70  
71 =head2 Description => Str
72  
73 New description of the license configuration.
74  
75  
76  
77 =head2 DisassociateWhenNotFound => Bool
78  
79 When true, disassociates a resource when software is uninstalled.
80  
81  
82  
83 =head2 B<REQUIRED> LicenseConfigurationArn => Str
84  
85 Amazon Resource Name (ARN) of the license configuration.
86  
87  
88  
89 =head2 LicenseConfigurationStatus => Str
90  
91 New status of the license configuration.
92  
93 Valid values are: C<"AVAILABLE">, C<"DISABLED">
94  
95 =head2 LicenseCount => Int
96  
97 New number of licenses managed by the license configuration.
98  
99  
100  
101 =head2 LicenseCountHardLimit => Bool
102  
103 New hard limit of the number of available licenses.
104  
105  
106  
107 =head2 LicenseRules => ArrayRef[Str|Undef]
108  
109 New license rule. The only rule that you can add after you create a
110 license configuration is licenseAffinityToHost.
111  
112  
113  
114 =head2 Name => Str
115  
116 New name of the license configuration.
117  
118  
119  
120 =head2 ProductInformationList => ArrayRef[L<Paws::LicenseManager::ProductInformation>]
121  
122 New product information.
123  
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, documenting arguments for method UpdateLicenseConfiguration 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