aws-sdk-licensemanager 1.22.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +148 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-licensemanager.rb +2 -2
- data/lib/aws-sdk-licensemanager/client.rb +315 -14
- data/lib/aws-sdk-licensemanager/client_api.rb +179 -2
- data/lib/aws-sdk-licensemanager/errors.rb +1 -1
- data/lib/aws-sdk-licensemanager/resource.rb +1 -1
- data/lib/aws-sdk-licensemanager/types.rb +499 -21
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff0f0e545b9aca1f1f42c6c4520846fdaed8f8f43c35b0c84ed4ed80a60b154b
|
4
|
+
data.tar.gz: d366f85ecef898bfd0fdffa7937d2af09d6f85fa6199a6e0b406340a3efd3458
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1736e60e768f9b933d1075277703b018453b4be0d1719aef95c6757ac76b490f8e0955f51e79187c3db465d0d0f41a6c99c350e6ad12b00235cb858f3809adeb
|
7
|
+
data.tar.gz: 50e3f4d2b91ec620235dc8c04074e137cef8e32e4931454739f494f3d1a0e19600a522235efa49f3fbd1a78eb54b65672a4e59d6e0ccfc10c28ef475869fb5e3
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.27.0 (2021-05-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS License Manager now supports periodic report generation.
|
8
|
+
|
9
|
+
1.26.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.25.0 (2021-03-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - License Manager Automated Discovery now supports Exclusion Filters.
|
18
|
+
|
19
|
+
1.24.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.23.0 (2020-12-04)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Automated Discovery now has support for custom tags, and detects software uninstalls.
|
28
|
+
|
29
|
+
1.22.0 (2020-12-03)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - AWS License Manager enables managed entitlements for AWS customers and Software Vendors (ISV). You can track and distribute license entitlements from AWS Marketplace and supported ISVs.
|
33
|
+
|
34
|
+
1.21.0 (2020-11-23)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - AWS License Manager now provides the ability for license administrators to be able to associate license configurations to AMIs shared with their AWS account
|
38
|
+
|
39
|
+
1.20.0 (2020-09-30)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.19.0 (2020-09-15)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.18.0 (2020-08-25)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.17.0 (2020-08-14)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - This release includes ability to enforce license assignment rules with EC2 Dedicated Hosts.
|
58
|
+
|
59
|
+
1.16.0 (2020-06-23)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.15.1 (2020-06-11)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
68
|
+
|
69
|
+
1.15.0 (2020-06-10)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Issue - This version has been yanked. (#2327).
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.14.0 (2020-05-28)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.13.0 (2020-05-07)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.12.0 (2020-03-09)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.11.0 (2019-12-02)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - AWS License Manager now automates discovery of bring-your-own-license usage across the customers organization. With few simple settings, customers can add bring your own license product information along with licensing rules, which would enable License Manager to automatically track the instances that have the specified products installed. If License Manager detects any violation of licensing rules, it would notify the customers designated license administrator to take corrective action.
|
94
|
+
|
95
|
+
1.10.0 (2019-10-23)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.9.0 (2019-07-25)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.8.0 (2019-07-01)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.7.0 (2019-06-17)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.6.0 (2019-05-21)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.5.0 (2019-05-15)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.4.0 (2019-05-14)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.3.0 (2019-03-21)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.2.0 (2019-03-18)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.1.0 (2019-03-14)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.0.0 (2018-11-29)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - Initial release of `aws-sdk-licensemanager`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.27.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-licensemanager/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::LicenseManager
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.27.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -820,6 +820,9 @@ module Aws::LicenseManager
|
|
820
820
|
# @option params [Array<Types::Tag>] :tags
|
821
821
|
# Tags to add to the license configuration.
|
822
822
|
#
|
823
|
+
# @option params [Boolean] :disassociate_when_not_found
|
824
|
+
# When true, disassociates a resource when software is uninstalled.
|
825
|
+
#
|
823
826
|
# @option params [Array<Types::ProductInformation>] :product_information_list
|
824
827
|
# Product information.
|
825
828
|
#
|
@@ -842,13 +845,14 @@ module Aws::LicenseManager
|
|
842
845
|
# value: "String",
|
843
846
|
# },
|
844
847
|
# ],
|
848
|
+
# disassociate_when_not_found: false,
|
845
849
|
# product_information_list: [
|
846
850
|
# {
|
847
851
|
# resource_type: "String", # required
|
848
852
|
# product_information_filter_list: [ # required
|
849
853
|
# {
|
850
854
|
# product_information_filter_name: "String", # required
|
851
|
-
# product_information_filter_value: ["String"],
|
855
|
+
# product_information_filter_value: ["String"],
|
852
856
|
# product_information_filter_comparator: "String", # required
|
853
857
|
# },
|
854
858
|
# ],
|
@@ -869,6 +873,77 @@ module Aws::LicenseManager
|
|
869
873
|
req.send_request(options)
|
870
874
|
end
|
871
875
|
|
876
|
+
# Creates a new report generator.
|
877
|
+
#
|
878
|
+
# @option params [required, String] :report_generator_name
|
879
|
+
# Name of the report generator.
|
880
|
+
#
|
881
|
+
# @option params [required, Array<String>] :type
|
882
|
+
# Type of reports to generate. The following report types an be
|
883
|
+
# generated:
|
884
|
+
#
|
885
|
+
# * License configuration report - Reports on the number and details of
|
886
|
+
# consumed licenses for a license configuration.
|
887
|
+
#
|
888
|
+
# * Resource report - Reports on the tracked licenses and resource
|
889
|
+
# consumption for a license configuration.
|
890
|
+
#
|
891
|
+
# @option params [required, Types::ReportContext] :report_context
|
892
|
+
# Defines the type of license configuration the report generator tracks.
|
893
|
+
#
|
894
|
+
# @option params [required, Types::ReportFrequency] :report_frequency
|
895
|
+
# Frequency by which reports are generated. Reports can be generated
|
896
|
+
# daily, monthly, or weekly.
|
897
|
+
#
|
898
|
+
# @option params [required, String] :client_token
|
899
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
900
|
+
# idempotency of the request.
|
901
|
+
#
|
902
|
+
# @option params [String] :description
|
903
|
+
# Description of the report generator.
|
904
|
+
#
|
905
|
+
# @option params [Array<Types::Tag>] :tags
|
906
|
+
# Tags to add to the report generator.
|
907
|
+
#
|
908
|
+
# @return [Types::CreateLicenseManagerReportGeneratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
909
|
+
#
|
910
|
+
# * {Types::CreateLicenseManagerReportGeneratorResponse#license_manager_report_generator_arn #license_manager_report_generator_arn} => String
|
911
|
+
#
|
912
|
+
# @example Request syntax with placeholder values
|
913
|
+
#
|
914
|
+
# resp = client.create_license_manager_report_generator({
|
915
|
+
# report_generator_name: "ReportGeneratorName", # required
|
916
|
+
# type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
|
917
|
+
# report_context: { # required
|
918
|
+
# license_configuration_arns: ["Arn"], # required
|
919
|
+
# },
|
920
|
+
# report_frequency: { # required
|
921
|
+
# value: 1,
|
922
|
+
# period: "DAY", # accepts DAY, WEEK, MONTH
|
923
|
+
# },
|
924
|
+
# client_token: "ClientRequestToken", # required
|
925
|
+
# description: "String",
|
926
|
+
# tags: [
|
927
|
+
# {
|
928
|
+
# key: "String",
|
929
|
+
# value: "String",
|
930
|
+
# },
|
931
|
+
# ],
|
932
|
+
# })
|
933
|
+
#
|
934
|
+
# @example Response structure
|
935
|
+
#
|
936
|
+
# resp.license_manager_report_generator_arn #=> String
|
937
|
+
#
|
938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseManagerReportGenerator AWS API Documentation
|
939
|
+
#
|
940
|
+
# @overload create_license_manager_report_generator(params = {})
|
941
|
+
# @param [Hash] params ({})
|
942
|
+
def create_license_manager_report_generator(params = {}, options = {})
|
943
|
+
req = build_request(:create_license_manager_report_generator, params)
|
944
|
+
req.send_request(options)
|
945
|
+
end
|
946
|
+
|
872
947
|
# Creates a new version of the specified license.
|
873
948
|
#
|
874
949
|
# @option params [required, String] :license_arn
|
@@ -1129,6 +1204,33 @@ module Aws::LicenseManager
|
|
1129
1204
|
req.send_request(options)
|
1130
1205
|
end
|
1131
1206
|
|
1207
|
+
# Delete an existing report generator.
|
1208
|
+
#
|
1209
|
+
# This action deletes the report generator, which stops it from
|
1210
|
+
# generating future reports and cannot be reversed. However, the
|
1211
|
+
# previous reports from this generator will remain in your S3 bucket.
|
1212
|
+
#
|
1213
|
+
# @option params [required, String] :license_manager_report_generator_arn
|
1214
|
+
# Amazon Resource Number (ARN) of the report generator that will be
|
1215
|
+
# deleted.
|
1216
|
+
#
|
1217
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1218
|
+
#
|
1219
|
+
# @example Request syntax with placeholder values
|
1220
|
+
#
|
1221
|
+
# resp = client.delete_license_manager_report_generator({
|
1222
|
+
# license_manager_report_generator_arn: "String", # required
|
1223
|
+
# })
|
1224
|
+
#
|
1225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseManagerReportGenerator AWS API Documentation
|
1226
|
+
#
|
1227
|
+
# @overload delete_license_manager_report_generator(params = {})
|
1228
|
+
# @param [Hash] params ({})
|
1229
|
+
def delete_license_manager_report_generator(params = {}, options = {})
|
1230
|
+
req = build_request(:delete_license_manager_report_generator, params)
|
1231
|
+
req.send_request(options)
|
1232
|
+
end
|
1233
|
+
|
1132
1234
|
# Deletes the specified token. Must be called in the license home
|
1133
1235
|
# Region.
|
1134
1236
|
#
|
@@ -1345,6 +1447,7 @@ module Aws::LicenseManager
|
|
1345
1447
|
# * {Types::GetLicenseConfigurationResponse#tags #tags} => Array<Types::Tag>
|
1346
1448
|
# * {Types::GetLicenseConfigurationResponse#product_information_list #product_information_list} => Array<Types::ProductInformation>
|
1347
1449
|
# * {Types::GetLicenseConfigurationResponse#automated_discovery_information #automated_discovery_information} => Types::AutomatedDiscoveryInformation
|
1450
|
+
# * {Types::GetLicenseConfigurationResponse#disassociate_when_not_found #disassociate_when_not_found} => Boolean
|
1348
1451
|
#
|
1349
1452
|
# @example Request syntax with placeholder values
|
1350
1453
|
#
|
@@ -1383,6 +1486,7 @@ module Aws::LicenseManager
|
|
1383
1486
|
# resp.product_information_list[0].product_information_filter_list[0].product_information_filter_value[0] #=> String
|
1384
1487
|
# resp.product_information_list[0].product_information_filter_list[0].product_information_filter_comparator #=> String
|
1385
1488
|
# resp.automated_discovery_information.last_run_time #=> Time
|
1489
|
+
# resp.disassociate_when_not_found #=> Boolean
|
1386
1490
|
#
|
1387
1491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfiguration AWS API Documentation
|
1388
1492
|
#
|
@@ -1393,6 +1497,53 @@ module Aws::LicenseManager
|
|
1393
1497
|
req.send_request(options)
|
1394
1498
|
end
|
1395
1499
|
|
1500
|
+
# Gets information on the specified report generator.
|
1501
|
+
#
|
1502
|
+
# @option params [required, String] :license_manager_report_generator_arn
|
1503
|
+
# mazon Resource Number (ARN) of the report generator to retrieve
|
1504
|
+
# information on.
|
1505
|
+
#
|
1506
|
+
# @return [Types::GetLicenseManagerReportGeneratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1507
|
+
#
|
1508
|
+
# * {Types::GetLicenseManagerReportGeneratorResponse#report_generator #report_generator} => Types::ReportGenerator
|
1509
|
+
#
|
1510
|
+
# @example Request syntax with placeholder values
|
1511
|
+
#
|
1512
|
+
# resp = client.get_license_manager_report_generator({
|
1513
|
+
# license_manager_report_generator_arn: "String", # required
|
1514
|
+
# })
|
1515
|
+
#
|
1516
|
+
# @example Response structure
|
1517
|
+
#
|
1518
|
+
# resp.report_generator.report_generator_name #=> String
|
1519
|
+
# resp.report_generator.report_type #=> Array
|
1520
|
+
# resp.report_generator.report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport"
|
1521
|
+
# resp.report_generator.report_context.license_configuration_arns #=> Array
|
1522
|
+
# resp.report_generator.report_context.license_configuration_arns[0] #=> String
|
1523
|
+
# resp.report_generator.report_frequency.value #=> Integer
|
1524
|
+
# resp.report_generator.report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH"
|
1525
|
+
# resp.report_generator.license_manager_report_generator_arn #=> String
|
1526
|
+
# resp.report_generator.last_run_status #=> String
|
1527
|
+
# resp.report_generator.last_run_failure_reason #=> String
|
1528
|
+
# resp.report_generator.last_report_generation_time #=> String
|
1529
|
+
# resp.report_generator.report_creator_account #=> String
|
1530
|
+
# resp.report_generator.description #=> String
|
1531
|
+
# resp.report_generator.s3_location.bucket #=> String
|
1532
|
+
# resp.report_generator.s3_location.key_prefix #=> String
|
1533
|
+
# resp.report_generator.create_time #=> String
|
1534
|
+
# resp.report_generator.tags #=> Array
|
1535
|
+
# resp.report_generator.tags[0].key #=> String
|
1536
|
+
# resp.report_generator.tags[0].value #=> String
|
1537
|
+
#
|
1538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseManagerReportGenerator AWS API Documentation
|
1539
|
+
#
|
1540
|
+
# @overload get_license_manager_report_generator(params = {})
|
1541
|
+
# @param [Hash] params ({})
|
1542
|
+
def get_license_manager_report_generator(params = {}, options = {})
|
1543
|
+
req = build_request(:get_license_manager_report_generator, params)
|
1544
|
+
req.send_request(options)
|
1545
|
+
end
|
1546
|
+
|
1396
1547
|
# Gets detailed information about the usage of the specified license.
|
1397
1548
|
#
|
1398
1549
|
# @option params [required, String] :license_arn
|
@@ -1508,13 +1659,15 @@ module Aws::LicenseManager
|
|
1508
1659
|
# @option params [Array<Types::Filter>] :filters
|
1509
1660
|
# Filters to scope the results. The following filters are supported:
|
1510
1661
|
#
|
1511
|
-
# * `
|
1662
|
+
# * `LicenseArn`
|
1512
1663
|
#
|
1513
|
-
# * `
|
1664
|
+
# * `GrantStatus`
|
1514
1665
|
#
|
1515
|
-
# * `
|
1666
|
+
# * `GranteePrincipalARN`
|
1516
1667
|
#
|
1517
|
-
# * `
|
1668
|
+
# * `ProductSKU`
|
1669
|
+
#
|
1670
|
+
# * `LicenseIssuerName`
|
1518
1671
|
#
|
1519
1672
|
# @option params [String] :next_token
|
1520
1673
|
# Token for the next set of results.
|
@@ -1672,6 +1825,7 @@ module Aws::LicenseManager
|
|
1672
1825
|
# resp.license_configurations[0].license_rules[0] #=> String
|
1673
1826
|
# resp.license_configurations[0].license_count #=> Integer
|
1674
1827
|
# resp.license_configurations[0].license_count_hard_limit #=> Boolean
|
1828
|
+
# resp.license_configurations[0].disassociate_when_not_found #=> Boolean
|
1675
1829
|
# resp.license_configurations[0].consumed_licenses #=> Integer
|
1676
1830
|
# resp.license_configurations[0].status #=> String
|
1677
1831
|
# resp.license_configurations[0].owner_account_id #=> String
|
@@ -1700,6 +1854,72 @@ module Aws::LicenseManager
|
|
1700
1854
|
req.send_request(options)
|
1701
1855
|
end
|
1702
1856
|
|
1857
|
+
# Lists the report generators for your account.
|
1858
|
+
#
|
1859
|
+
# @option params [Array<Types::Filter>] :filters
|
1860
|
+
# Filters to scope the results. The following filters are supported:
|
1861
|
+
#
|
1862
|
+
# * `LicenseConfigurationArn`
|
1863
|
+
#
|
1864
|
+
# ^
|
1865
|
+
#
|
1866
|
+
# @option params [String] :next_token
|
1867
|
+
# Token for the next set of results.
|
1868
|
+
#
|
1869
|
+
# @option params [Integer] :max_results
|
1870
|
+
# Maximum number of results to return in a single call.
|
1871
|
+
#
|
1872
|
+
# @return [Types::ListLicenseManagerReportGeneratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1873
|
+
#
|
1874
|
+
# * {Types::ListLicenseManagerReportGeneratorsResponse#report_generators #report_generators} => Array<Types::ReportGenerator>
|
1875
|
+
# * {Types::ListLicenseManagerReportGeneratorsResponse#next_token #next_token} => String
|
1876
|
+
#
|
1877
|
+
# @example Request syntax with placeholder values
|
1878
|
+
#
|
1879
|
+
# resp = client.list_license_manager_report_generators({
|
1880
|
+
# filters: [
|
1881
|
+
# {
|
1882
|
+
# name: "FilterName",
|
1883
|
+
# values: ["FilterValue"],
|
1884
|
+
# },
|
1885
|
+
# ],
|
1886
|
+
# next_token: "String",
|
1887
|
+
# max_results: 1,
|
1888
|
+
# })
|
1889
|
+
#
|
1890
|
+
# @example Response structure
|
1891
|
+
#
|
1892
|
+
# resp.report_generators #=> Array
|
1893
|
+
# resp.report_generators[0].report_generator_name #=> String
|
1894
|
+
# resp.report_generators[0].report_type #=> Array
|
1895
|
+
# resp.report_generators[0].report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport"
|
1896
|
+
# resp.report_generators[0].report_context.license_configuration_arns #=> Array
|
1897
|
+
# resp.report_generators[0].report_context.license_configuration_arns[0] #=> String
|
1898
|
+
# resp.report_generators[0].report_frequency.value #=> Integer
|
1899
|
+
# resp.report_generators[0].report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH"
|
1900
|
+
# resp.report_generators[0].license_manager_report_generator_arn #=> String
|
1901
|
+
# resp.report_generators[0].last_run_status #=> String
|
1902
|
+
# resp.report_generators[0].last_run_failure_reason #=> String
|
1903
|
+
# resp.report_generators[0].last_report_generation_time #=> String
|
1904
|
+
# resp.report_generators[0].report_creator_account #=> String
|
1905
|
+
# resp.report_generators[0].description #=> String
|
1906
|
+
# resp.report_generators[0].s3_location.bucket #=> String
|
1907
|
+
# resp.report_generators[0].s3_location.key_prefix #=> String
|
1908
|
+
# resp.report_generators[0].create_time #=> String
|
1909
|
+
# resp.report_generators[0].tags #=> Array
|
1910
|
+
# resp.report_generators[0].tags[0].key #=> String
|
1911
|
+
# resp.report_generators[0].tags[0].value #=> String
|
1912
|
+
# resp.next_token #=> String
|
1913
|
+
#
|
1914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseManagerReportGenerators AWS API Documentation
|
1915
|
+
#
|
1916
|
+
# @overload list_license_manager_report_generators(params = {})
|
1917
|
+
# @param [Hash] params ({})
|
1918
|
+
def list_license_manager_report_generators(params = {}, options = {})
|
1919
|
+
req = build_request(:list_license_manager_report_generators, params)
|
1920
|
+
req.send_request(options)
|
1921
|
+
end
|
1922
|
+
|
1703
1923
|
# Describes the license configurations for the specified resource.
|
1704
1924
|
#
|
1705
1925
|
# @option params [required, String] :resource_arn
|
@@ -1819,7 +2039,7 @@ module Aws::LicenseManager
|
|
1819
2039
|
#
|
1820
2040
|
# * `ProductSKU`
|
1821
2041
|
#
|
1822
|
-
# * `
|
2042
|
+
# * `Fingerprint`
|
1823
2043
|
#
|
1824
2044
|
# * `Status`
|
1825
2045
|
#
|
@@ -1898,9 +2118,15 @@ module Aws::LicenseManager
|
|
1898
2118
|
# @option params [Array<Types::Filter>] :filters
|
1899
2119
|
# Filters to scope the results. The following filters are supported:
|
1900
2120
|
#
|
1901
|
-
# * `
|
2121
|
+
# * `ProductSKU`
|
2122
|
+
#
|
2123
|
+
# * `LicenseIssuerName`
|
1902
2124
|
#
|
1903
|
-
# * `
|
2125
|
+
# * `LicenseArn`
|
2126
|
+
#
|
2127
|
+
# * `GrantStatus`
|
2128
|
+
#
|
2129
|
+
# * `GranterAccountId`
|
1904
2130
|
#
|
1905
2131
|
# @option params [String] :next_token
|
1906
2132
|
# Token for the next set of results.
|
@@ -1964,9 +2190,11 @@ module Aws::LicenseManager
|
|
1964
2190
|
#
|
1965
2191
|
# * `Status`
|
1966
2192
|
#
|
1967
|
-
# * `
|
2193
|
+
# * `Fingerprint`
|
1968
2194
|
#
|
1969
|
-
# * `
|
2195
|
+
# * `IssuerName`
|
2196
|
+
#
|
2197
|
+
# * `Beneficiary`
|
1970
2198
|
#
|
1971
2199
|
# @option params [String] :next_token
|
1972
2200
|
# Token for the next set of results.
|
@@ -2067,6 +2295,10 @@ module Aws::LicenseManager
|
|
2067
2295
|
# * `resource_id` - The ID of the resource. Logical operators are
|
2068
2296
|
# `EQUALS` \| `NOT_EQUALS`.
|
2069
2297
|
#
|
2298
|
+
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
2299
|
+
# resource. Logical operators are `EQUALS` (single account) or
|
2300
|
+
# `EQUALS` \| `NOT_EQUALS` (cross account).
|
2301
|
+
#
|
2070
2302
|
# @return [Types::ListResourceInventoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2071
2303
|
#
|
2072
2304
|
# * {Types::ListResourceInventoryResponse#resource_inventory_list #resource_inventory_list} => Array<Types::ResourceInventory>
|
@@ -2144,7 +2376,7 @@ module Aws::LicenseManager
|
|
2144
2376
|
# @option params [Array<Types::Filter>] :filters
|
2145
2377
|
# Filters to scope the results. The following filter is supported:
|
2146
2378
|
#
|
2147
|
-
# * `
|
2379
|
+
# * `LicenseArns`
|
2148
2380
|
#
|
2149
2381
|
# ^
|
2150
2382
|
#
|
@@ -2379,6 +2611,9 @@ module Aws::LicenseManager
|
|
2379
2611
|
# @option params [Array<Types::ProductInformation>] :product_information_list
|
2380
2612
|
# New product information.
|
2381
2613
|
#
|
2614
|
+
# @option params [Boolean] :disassociate_when_not_found
|
2615
|
+
# When true, disassociates a resource when software is uninstalled.
|
2616
|
+
#
|
2382
2617
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2383
2618
|
#
|
2384
2619
|
# @example Request syntax with placeholder values
|
@@ -2397,12 +2632,13 @@ module Aws::LicenseManager
|
|
2397
2632
|
# product_information_filter_list: [ # required
|
2398
2633
|
# {
|
2399
2634
|
# product_information_filter_name: "String", # required
|
2400
|
-
# product_information_filter_value: ["String"],
|
2635
|
+
# product_information_filter_value: ["String"],
|
2401
2636
|
# product_information_filter_comparator: "String", # required
|
2402
2637
|
# },
|
2403
2638
|
# ],
|
2404
2639
|
# },
|
2405
2640
|
# ],
|
2641
|
+
# disassociate_when_not_found: false,
|
2406
2642
|
# })
|
2407
2643
|
#
|
2408
2644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfiguration AWS API Documentation
|
@@ -2414,6 +2650,71 @@ module Aws::LicenseManager
|
|
2414
2650
|
req.send_request(options)
|
2415
2651
|
end
|
2416
2652
|
|
2653
|
+
# Updates a report generator.
|
2654
|
+
#
|
2655
|
+
# After you make changes to a report generator, it will start generating
|
2656
|
+
# new reports within 60 minutes of being updated.
|
2657
|
+
#
|
2658
|
+
# @option params [required, String] :license_manager_report_generator_arn
|
2659
|
+
# Amazon Resource Number (ARN) of the report generator to update.
|
2660
|
+
#
|
2661
|
+
# @option params [required, String] :report_generator_name
|
2662
|
+
# Name of the report generator.
|
2663
|
+
#
|
2664
|
+
# @option params [required, Array<String>] :type
|
2665
|
+
# Type of reports to generate. The following report types an be
|
2666
|
+
# generated:
|
2667
|
+
#
|
2668
|
+
# * License configuration report - Reports on the number and details of
|
2669
|
+
# consumed licenses for a license configuration.
|
2670
|
+
#
|
2671
|
+
# * Resource report - Reports on the tracked licenses and resource
|
2672
|
+
# consumption for a license configuration.
|
2673
|
+
#
|
2674
|
+
# @option params [required, Types::ReportContext] :report_context
|
2675
|
+
# ?
|
2676
|
+
#
|
2677
|
+
# @option params [required, Types::ReportFrequency] :report_frequency
|
2678
|
+
# Frequency by which reports are generated. The following options are
|
2679
|
+
# avaiable:
|
2680
|
+
#
|
2681
|
+
# ??? What are the APi value options?
|
2682
|
+
#
|
2683
|
+
# @option params [required, String] :client_token
|
2684
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
2685
|
+
# idempotency of the request.
|
2686
|
+
#
|
2687
|
+
# @option params [String] :description
|
2688
|
+
# Description of the report generator.
|
2689
|
+
#
|
2690
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2691
|
+
#
|
2692
|
+
# @example Request syntax with placeholder values
|
2693
|
+
#
|
2694
|
+
# resp = client.update_license_manager_report_generator({
|
2695
|
+
# license_manager_report_generator_arn: "String", # required
|
2696
|
+
# report_generator_name: "ReportGeneratorName", # required
|
2697
|
+
# type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
|
2698
|
+
# report_context: { # required
|
2699
|
+
# license_configuration_arns: ["Arn"], # required
|
2700
|
+
# },
|
2701
|
+
# report_frequency: { # required
|
2702
|
+
# value: 1,
|
2703
|
+
# period: "DAY", # accepts DAY, WEEK, MONTH
|
2704
|
+
# },
|
2705
|
+
# client_token: "ClientRequestToken", # required
|
2706
|
+
# description: "String",
|
2707
|
+
# })
|
2708
|
+
#
|
2709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseManagerReportGenerator AWS API Documentation
|
2710
|
+
#
|
2711
|
+
# @overload update_license_manager_report_generator(params = {})
|
2712
|
+
# @param [Hash] params ({})
|
2713
|
+
def update_license_manager_report_generator(params = {}, options = {})
|
2714
|
+
req = build_request(:update_license_manager_report_generator, params)
|
2715
|
+
req.send_request(options)
|
2716
|
+
end
|
2717
|
+
|
2417
2718
|
# Adds or removes the specified license configurations for the specified
|
2418
2719
|
# AWS resource.
|
2419
2720
|
#
|
@@ -2512,7 +2813,7 @@ module Aws::LicenseManager
|
|
2512
2813
|
params: params,
|
2513
2814
|
config: config)
|
2514
2815
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
2515
|
-
context[:gem_version] = '1.
|
2816
|
+
context[:gem_version] = '1.27.0'
|
2516
2817
|
Seahorse::Client::Request.new(handlers, context)
|
2517
2818
|
end
|
2518
2819
|
|