aws-sdk-licensemanager 1.18.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-licensemanager.rb +3 -2
- data/lib/aws-sdk-licensemanager/client.rb +1383 -17
- data/lib/aws-sdk-licensemanager/client_api.rb +870 -0
- data/lib/aws-sdk-licensemanager/errors.rb +122 -0
- data/lib/aws-sdk-licensemanager/types.rb +2301 -82
- metadata +4 -4
@@ -29,14 +29,21 @@ module Aws::LicenseManager
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {AuthorizationException}
|
32
|
+
# * {ConflictException}
|
33
|
+
# * {EntitlementNotAllowedException}
|
32
34
|
# * {FailedDependencyException}
|
33
35
|
# * {FilterLimitExceededException}
|
34
36
|
# * {InvalidParameterValueException}
|
35
37
|
# * {InvalidResourceStateException}
|
36
38
|
# * {LicenseUsageException}
|
39
|
+
# * {NoEntitlementsAllowedException}
|
37
40
|
# * {RateLimitExceededException}
|
41
|
+
# * {RedirectException}
|
38
42
|
# * {ResourceLimitExceededException}
|
43
|
+
# * {ResourceNotFoundException}
|
39
44
|
# * {ServerInternalException}
|
45
|
+
# * {UnsupportedDigitalSignatureMethodException}
|
46
|
+
# * {ValidationException}
|
40
47
|
#
|
41
48
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
42
49
|
# if they are not defined above.
|
@@ -74,6 +81,36 @@ module Aws::LicenseManager
|
|
74
81
|
end
|
75
82
|
end
|
76
83
|
|
84
|
+
class ConflictException < ServiceError
|
85
|
+
|
86
|
+
# @param [Seahorse::Client::RequestContext] context
|
87
|
+
# @param [String] message
|
88
|
+
# @param [Aws::LicenseManager::Types::ConflictException] data
|
89
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
90
|
+
super(context, message, data)
|
91
|
+
end
|
92
|
+
|
93
|
+
# @return [String]
|
94
|
+
def message
|
95
|
+
@message || @data[:message]
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
class EntitlementNotAllowedException < ServiceError
|
100
|
+
|
101
|
+
# @param [Seahorse::Client::RequestContext] context
|
102
|
+
# @param [String] message
|
103
|
+
# @param [Aws::LicenseManager::Types::EntitlementNotAllowedException] data
|
104
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
105
|
+
super(context, message, data)
|
106
|
+
end
|
107
|
+
|
108
|
+
# @return [String]
|
109
|
+
def message
|
110
|
+
@message || @data[:message]
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
77
114
|
class FailedDependencyException < ServiceError
|
78
115
|
|
79
116
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -87,6 +124,11 @@ module Aws::LicenseManager
|
|
87
124
|
def message
|
88
125
|
@message || @data[:message]
|
89
126
|
end
|
127
|
+
|
128
|
+
# @return [String]
|
129
|
+
def error_code
|
130
|
+
@data[:error_code]
|
131
|
+
end
|
90
132
|
end
|
91
133
|
|
92
134
|
class FilterLimitExceededException < ServiceError
|
@@ -149,6 +191,21 @@ module Aws::LicenseManager
|
|
149
191
|
end
|
150
192
|
end
|
151
193
|
|
194
|
+
class NoEntitlementsAllowedException < ServiceError
|
195
|
+
|
196
|
+
# @param [Seahorse::Client::RequestContext] context
|
197
|
+
# @param [String] message
|
198
|
+
# @param [Aws::LicenseManager::Types::NoEntitlementsAllowedException] data
|
199
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
200
|
+
super(context, message, data)
|
201
|
+
end
|
202
|
+
|
203
|
+
# @return [String]
|
204
|
+
def message
|
205
|
+
@message || @data[:message]
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
152
209
|
class RateLimitExceededException < ServiceError
|
153
210
|
|
154
211
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -164,6 +221,26 @@ module Aws::LicenseManager
|
|
164
221
|
end
|
165
222
|
end
|
166
223
|
|
224
|
+
class RedirectException < ServiceError
|
225
|
+
|
226
|
+
# @param [Seahorse::Client::RequestContext] context
|
227
|
+
# @param [String] message
|
228
|
+
# @param [Aws::LicenseManager::Types::RedirectException] data
|
229
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
230
|
+
super(context, message, data)
|
231
|
+
end
|
232
|
+
|
233
|
+
# @return [String]
|
234
|
+
def location
|
235
|
+
@data[:location]
|
236
|
+
end
|
237
|
+
|
238
|
+
# @return [String]
|
239
|
+
def message
|
240
|
+
@message || @data[:message]
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
167
244
|
class ResourceLimitExceededException < ServiceError
|
168
245
|
|
169
246
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -179,6 +256,21 @@ module Aws::LicenseManager
|
|
179
256
|
end
|
180
257
|
end
|
181
258
|
|
259
|
+
class ResourceNotFoundException < ServiceError
|
260
|
+
|
261
|
+
# @param [Seahorse::Client::RequestContext] context
|
262
|
+
# @param [String] message
|
263
|
+
# @param [Aws::LicenseManager::Types::ResourceNotFoundException] data
|
264
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
265
|
+
super(context, message, data)
|
266
|
+
end
|
267
|
+
|
268
|
+
# @return [String]
|
269
|
+
def message
|
270
|
+
@message || @data[:message]
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
182
274
|
class ServerInternalException < ServiceError
|
183
275
|
|
184
276
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -194,5 +286,35 @@ module Aws::LicenseManager
|
|
194
286
|
end
|
195
287
|
end
|
196
288
|
|
289
|
+
class UnsupportedDigitalSignatureMethodException < ServiceError
|
290
|
+
|
291
|
+
# @param [Seahorse::Client::RequestContext] context
|
292
|
+
# @param [String] message
|
293
|
+
# @param [Aws::LicenseManager::Types::UnsupportedDigitalSignatureMethodException] data
|
294
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
295
|
+
super(context, message, data)
|
296
|
+
end
|
297
|
+
|
298
|
+
# @return [String]
|
299
|
+
def message
|
300
|
+
@message || @data[:message]
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class ValidationException < ServiceError
|
305
|
+
|
306
|
+
# @param [Seahorse::Client::RequestContext] context
|
307
|
+
# @param [String] message
|
308
|
+
# @param [Aws::LicenseManager::Types::ValidationException] data
|
309
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
310
|
+
super(context, message, data)
|
311
|
+
end
|
312
|
+
|
313
|
+
# @return [String]
|
314
|
+
def message
|
315
|
+
@message || @data[:message]
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
197
319
|
end
|
198
320
|
end
|
@@ -10,6 +10,47 @@
|
|
10
10
|
module Aws::LicenseManager
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# @note When making an API call, you may pass AcceptGrantRequest
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# grant_arn: "Arn", # required
|
18
|
+
# }
|
19
|
+
#
|
20
|
+
# @!attribute [rw] grant_arn
|
21
|
+
# Amazon Resource Name (ARN) of the grant.
|
22
|
+
# @return [String]
|
23
|
+
#
|
24
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AcceptGrantRequest AWS API Documentation
|
25
|
+
#
|
26
|
+
class AcceptGrantRequest < Struct.new(
|
27
|
+
:grant_arn)
|
28
|
+
SENSITIVE = []
|
29
|
+
include Aws::Structure
|
30
|
+
end
|
31
|
+
|
32
|
+
# @!attribute [rw] grant_arn
|
33
|
+
# Grant ARN.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] status
|
37
|
+
# Grant status.
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] version
|
41
|
+
# Grant version.
|
42
|
+
# @return [String]
|
43
|
+
#
|
44
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AcceptGrantResponse AWS API Documentation
|
45
|
+
#
|
46
|
+
class AcceptGrantResponse < Struct.new(
|
47
|
+
:grant_arn,
|
48
|
+
:status,
|
49
|
+
:version)
|
50
|
+
SENSITIVE = []
|
51
|
+
include Aws::Structure
|
52
|
+
end
|
53
|
+
|
13
54
|
# Access to resource denied.
|
14
55
|
#
|
15
56
|
# @!attribute [rw] message
|
@@ -51,6 +92,294 @@ module Aws::LicenseManager
|
|
51
92
|
include Aws::Structure
|
52
93
|
end
|
53
94
|
|
95
|
+
# Details about a borrow configuration.
|
96
|
+
#
|
97
|
+
# @note When making an API call, you may pass BorrowConfiguration
|
98
|
+
# data as a hash:
|
99
|
+
#
|
100
|
+
# {
|
101
|
+
# allow_early_check_in: false, # required
|
102
|
+
# max_time_to_live_in_minutes: 1, # required
|
103
|
+
# }
|
104
|
+
#
|
105
|
+
# @!attribute [rw] allow_early_check_in
|
106
|
+
# Indicates whether early check-ins are allowed.
|
107
|
+
# @return [Boolean]
|
108
|
+
#
|
109
|
+
# @!attribute [rw] max_time_to_live_in_minutes
|
110
|
+
# Maximum time for the borrow configuration, in minutes.
|
111
|
+
# @return [Integer]
|
112
|
+
#
|
113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/BorrowConfiguration AWS API Documentation
|
114
|
+
#
|
115
|
+
class BorrowConfiguration < Struct.new(
|
116
|
+
:allow_early_check_in,
|
117
|
+
:max_time_to_live_in_minutes)
|
118
|
+
SENSITIVE = []
|
119
|
+
include Aws::Structure
|
120
|
+
end
|
121
|
+
|
122
|
+
# @note When making an API call, you may pass CheckInLicenseRequest
|
123
|
+
# data as a hash:
|
124
|
+
#
|
125
|
+
# {
|
126
|
+
# license_consumption_token: "String", # required
|
127
|
+
# beneficiary: "String",
|
128
|
+
# }
|
129
|
+
#
|
130
|
+
# @!attribute [rw] license_consumption_token
|
131
|
+
# License consumption token.
|
132
|
+
# @return [String]
|
133
|
+
#
|
134
|
+
# @!attribute [rw] beneficiary
|
135
|
+
# License beneficiary.
|
136
|
+
# @return [String]
|
137
|
+
#
|
138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckInLicenseRequest AWS API Documentation
|
139
|
+
#
|
140
|
+
class CheckInLicenseRequest < Struct.new(
|
141
|
+
:license_consumption_token,
|
142
|
+
:beneficiary)
|
143
|
+
SENSITIVE = []
|
144
|
+
include Aws::Structure
|
145
|
+
end
|
146
|
+
|
147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckInLicenseResponse AWS API Documentation
|
148
|
+
#
|
149
|
+
class CheckInLicenseResponse < Aws::EmptyStructure; end
|
150
|
+
|
151
|
+
# @note When making an API call, you may pass CheckoutBorrowLicenseRequest
|
152
|
+
# data as a hash:
|
153
|
+
#
|
154
|
+
# {
|
155
|
+
# license_arn: "Arn", # required
|
156
|
+
# entitlements: [ # required
|
157
|
+
# {
|
158
|
+
# name: "String", # required
|
159
|
+
# value: "String",
|
160
|
+
# unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
|
161
|
+
# },
|
162
|
+
# ],
|
163
|
+
# digital_signature_method: "JWT_PS384", # required, accepts JWT_PS384
|
164
|
+
# node_id: "String",
|
165
|
+
# checkout_metadata: [
|
166
|
+
# {
|
167
|
+
# name: "String",
|
168
|
+
# value: "String",
|
169
|
+
# },
|
170
|
+
# ],
|
171
|
+
# client_token: "ClientToken", # required
|
172
|
+
# }
|
173
|
+
#
|
174
|
+
# @!attribute [rw] license_arn
|
175
|
+
# Amazon Resource Name (ARN) of the license. The license must use the
|
176
|
+
# borrow consumption configuration.
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] entitlements
|
180
|
+
# License entitlements. Partial checkouts are not supported.
|
181
|
+
# @return [Array<Types::EntitlementData>]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] digital_signature_method
|
184
|
+
# Digital signature method. The possible value is JSON Web Signature
|
185
|
+
# (JWS) algorithm PS384. For more information, see [RFC 7518 Digital
|
186
|
+
# Signature with RSASSA-PSS][1].
|
187
|
+
#
|
188
|
+
#
|
189
|
+
#
|
190
|
+
# [1]: https://tools.ietf.org/html/rfc7518#section-3.5
|
191
|
+
# @return [String]
|
192
|
+
#
|
193
|
+
# @!attribute [rw] node_id
|
194
|
+
# Node ID.
|
195
|
+
# @return [String]
|
196
|
+
#
|
197
|
+
# @!attribute [rw] checkout_metadata
|
198
|
+
# Information about constraints.
|
199
|
+
# @return [Array<Types::Metadata>]
|
200
|
+
#
|
201
|
+
# @!attribute [rw] client_token
|
202
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
203
|
+
# idempotency of the request.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutBorrowLicenseRequest AWS API Documentation
|
207
|
+
#
|
208
|
+
class CheckoutBorrowLicenseRequest < Struct.new(
|
209
|
+
:license_arn,
|
210
|
+
:entitlements,
|
211
|
+
:digital_signature_method,
|
212
|
+
:node_id,
|
213
|
+
:checkout_metadata,
|
214
|
+
:client_token)
|
215
|
+
SENSITIVE = []
|
216
|
+
include Aws::Structure
|
217
|
+
end
|
218
|
+
|
219
|
+
# @!attribute [rw] license_arn
|
220
|
+
# Amazon Resource Name (ARN) of the license.
|
221
|
+
# @return [String]
|
222
|
+
#
|
223
|
+
# @!attribute [rw] license_consumption_token
|
224
|
+
# License consumption token.
|
225
|
+
# @return [String]
|
226
|
+
#
|
227
|
+
# @!attribute [rw] entitlements_allowed
|
228
|
+
# Allowed license entitlements.
|
229
|
+
# @return [Array<Types::EntitlementData>]
|
230
|
+
#
|
231
|
+
# @!attribute [rw] node_id
|
232
|
+
# Node ID.
|
233
|
+
# @return [String]
|
234
|
+
#
|
235
|
+
# @!attribute [rw] signed_token
|
236
|
+
# Signed token.
|
237
|
+
# @return [String]
|
238
|
+
#
|
239
|
+
# @!attribute [rw] issued_at
|
240
|
+
# Date and time at which the license checkout is issued.
|
241
|
+
# @return [String]
|
242
|
+
#
|
243
|
+
# @!attribute [rw] expiration
|
244
|
+
# Date and time at which the license checkout expires.
|
245
|
+
# @return [String]
|
246
|
+
#
|
247
|
+
# @!attribute [rw] checkout_metadata
|
248
|
+
# Information about constraints.
|
249
|
+
# @return [Array<Types::Metadata>]
|
250
|
+
#
|
251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutBorrowLicenseResponse AWS API Documentation
|
252
|
+
#
|
253
|
+
class CheckoutBorrowLicenseResponse < Struct.new(
|
254
|
+
:license_arn,
|
255
|
+
:license_consumption_token,
|
256
|
+
:entitlements_allowed,
|
257
|
+
:node_id,
|
258
|
+
:signed_token,
|
259
|
+
:issued_at,
|
260
|
+
:expiration,
|
261
|
+
:checkout_metadata)
|
262
|
+
SENSITIVE = []
|
263
|
+
include Aws::Structure
|
264
|
+
end
|
265
|
+
|
266
|
+
# @note When making an API call, you may pass CheckoutLicenseRequest
|
267
|
+
# data as a hash:
|
268
|
+
#
|
269
|
+
# {
|
270
|
+
# product_sku: "String", # required
|
271
|
+
# checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL
|
272
|
+
# key_fingerprint: "String", # required
|
273
|
+
# entitlements: [ # required
|
274
|
+
# {
|
275
|
+
# name: "String", # required
|
276
|
+
# value: "String",
|
277
|
+
# unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
|
278
|
+
# },
|
279
|
+
# ],
|
280
|
+
# client_token: "ClientToken", # required
|
281
|
+
# beneficiary: "String",
|
282
|
+
# node_id: "String",
|
283
|
+
# }
|
284
|
+
#
|
285
|
+
# @!attribute [rw] product_sku
|
286
|
+
# Product SKU.
|
287
|
+
# @return [String]
|
288
|
+
#
|
289
|
+
# @!attribute [rw] checkout_type
|
290
|
+
# Checkout type.
|
291
|
+
# @return [String]
|
292
|
+
#
|
293
|
+
# @!attribute [rw] key_fingerprint
|
294
|
+
# Key fingerprint identifying the license.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @!attribute [rw] entitlements
|
298
|
+
# License entitlements.
|
299
|
+
# @return [Array<Types::EntitlementData>]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] client_token
|
302
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
303
|
+
# idempotency of the request.
|
304
|
+
# @return [String]
|
305
|
+
#
|
306
|
+
# @!attribute [rw] beneficiary
|
307
|
+
# License beneficiary.
|
308
|
+
# @return [String]
|
309
|
+
#
|
310
|
+
# @!attribute [rw] node_id
|
311
|
+
# Node ID.
|
312
|
+
# @return [String]
|
313
|
+
#
|
314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutLicenseRequest AWS API Documentation
|
315
|
+
#
|
316
|
+
class CheckoutLicenseRequest < Struct.new(
|
317
|
+
:product_sku,
|
318
|
+
:checkout_type,
|
319
|
+
:key_fingerprint,
|
320
|
+
:entitlements,
|
321
|
+
:client_token,
|
322
|
+
:beneficiary,
|
323
|
+
:node_id)
|
324
|
+
SENSITIVE = []
|
325
|
+
include Aws::Structure
|
326
|
+
end
|
327
|
+
|
328
|
+
# @!attribute [rw] checkout_type
|
329
|
+
# Checkout type.
|
330
|
+
# @return [String]
|
331
|
+
#
|
332
|
+
# @!attribute [rw] license_consumption_token
|
333
|
+
# License consumption token.
|
334
|
+
# @return [String]
|
335
|
+
#
|
336
|
+
# @!attribute [rw] entitlements_allowed
|
337
|
+
# Allowed license entitlements.
|
338
|
+
# @return [Array<Types::EntitlementData>]
|
339
|
+
#
|
340
|
+
# @!attribute [rw] signed_token
|
341
|
+
# Signed token.
|
342
|
+
# @return [String]
|
343
|
+
#
|
344
|
+
# @!attribute [rw] node_id
|
345
|
+
# Node ID.
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @!attribute [rw] issued_at
|
349
|
+
# Date and time at which the license checkout is issued.
|
350
|
+
# @return [String]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] expiration
|
353
|
+
# Date and time at which the license checkout expires.
|
354
|
+
# @return [String]
|
355
|
+
#
|
356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutLicenseResponse AWS API Documentation
|
357
|
+
#
|
358
|
+
class CheckoutLicenseResponse < Struct.new(
|
359
|
+
:checkout_type,
|
360
|
+
:license_consumption_token,
|
361
|
+
:entitlements_allowed,
|
362
|
+
:signed_token,
|
363
|
+
:node_id,
|
364
|
+
:issued_at,
|
365
|
+
:expiration)
|
366
|
+
SENSITIVE = []
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
370
|
+
# There was a conflict processing the request. Try your request again.
|
371
|
+
#
|
372
|
+
# @!attribute [rw] message
|
373
|
+
# @return [String]
|
374
|
+
#
|
375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ConflictException AWS API Documentation
|
376
|
+
#
|
377
|
+
class ConflictException < Struct.new(
|
378
|
+
:message)
|
379
|
+
SENSITIVE = []
|
380
|
+
include Aws::Structure
|
381
|
+
end
|
382
|
+
|
54
383
|
# Details about license consumption.
|
55
384
|
#
|
56
385
|
# @!attribute [rw] resource_type
|
@@ -70,6 +399,188 @@ module Aws::LicenseManager
|
|
70
399
|
include Aws::Structure
|
71
400
|
end
|
72
401
|
|
402
|
+
# Details about a consumption configuration.
|
403
|
+
#
|
404
|
+
# @note When making an API call, you may pass ConsumptionConfiguration
|
405
|
+
# data as a hash:
|
406
|
+
#
|
407
|
+
# {
|
408
|
+
# renew_type: "None", # accepts None, Weekly, Monthly
|
409
|
+
# provisional_configuration: {
|
410
|
+
# max_time_to_live_in_minutes: 1, # required
|
411
|
+
# },
|
412
|
+
# borrow_configuration: {
|
413
|
+
# allow_early_check_in: false, # required
|
414
|
+
# max_time_to_live_in_minutes: 1, # required
|
415
|
+
# },
|
416
|
+
# }
|
417
|
+
#
|
418
|
+
# @!attribute [rw] renew_type
|
419
|
+
# Renewal frequency.
|
420
|
+
# @return [String]
|
421
|
+
#
|
422
|
+
# @!attribute [rw] provisional_configuration
|
423
|
+
# Details about a provisional configuration.
|
424
|
+
# @return [Types::ProvisionalConfiguration]
|
425
|
+
#
|
426
|
+
# @!attribute [rw] borrow_configuration
|
427
|
+
# Details about a borrow configuration.
|
428
|
+
# @return [Types::BorrowConfiguration]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ConsumptionConfiguration AWS API Documentation
|
431
|
+
#
|
432
|
+
class ConsumptionConfiguration < Struct.new(
|
433
|
+
:renew_type,
|
434
|
+
:provisional_configuration,
|
435
|
+
:borrow_configuration)
|
436
|
+
SENSITIVE = []
|
437
|
+
include Aws::Structure
|
438
|
+
end
|
439
|
+
|
440
|
+
# @note When making an API call, you may pass CreateGrantRequest
|
441
|
+
# data as a hash:
|
442
|
+
#
|
443
|
+
# {
|
444
|
+
# client_token: "String", # required
|
445
|
+
# grant_name: "String", # required
|
446
|
+
# license_arn: "Arn", # required
|
447
|
+
# principals: ["Arn"], # required
|
448
|
+
# home_region: "String", # required
|
449
|
+
# allowed_operations: ["CreateGrant"], # required, accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
|
450
|
+
# }
|
451
|
+
#
|
452
|
+
# @!attribute [rw] client_token
|
453
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
454
|
+
# idempotency of the request.
|
455
|
+
# @return [String]
|
456
|
+
#
|
457
|
+
# @!attribute [rw] grant_name
|
458
|
+
# Grant name.
|
459
|
+
# @return [String]
|
460
|
+
#
|
461
|
+
# @!attribute [rw] license_arn
|
462
|
+
# Amazon Resource Name (ARN) of the license.
|
463
|
+
# @return [String]
|
464
|
+
#
|
465
|
+
# @!attribute [rw] principals
|
466
|
+
# The grant principals.
|
467
|
+
# @return [Array<String>]
|
468
|
+
#
|
469
|
+
# @!attribute [rw] home_region
|
470
|
+
# Home Region of the grant.
|
471
|
+
# @return [String]
|
472
|
+
#
|
473
|
+
# @!attribute [rw] allowed_operations
|
474
|
+
# Allowed operations for the grant.
|
475
|
+
# @return [Array<String>]
|
476
|
+
#
|
477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantRequest AWS API Documentation
|
478
|
+
#
|
479
|
+
class CreateGrantRequest < Struct.new(
|
480
|
+
:client_token,
|
481
|
+
:grant_name,
|
482
|
+
:license_arn,
|
483
|
+
:principals,
|
484
|
+
:home_region,
|
485
|
+
:allowed_operations)
|
486
|
+
SENSITIVE = []
|
487
|
+
include Aws::Structure
|
488
|
+
end
|
489
|
+
|
490
|
+
# @!attribute [rw] grant_arn
|
491
|
+
# Grant ARN.
|
492
|
+
# @return [String]
|
493
|
+
#
|
494
|
+
# @!attribute [rw] status
|
495
|
+
# Grant status.
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @!attribute [rw] version
|
499
|
+
# Grant version.
|
500
|
+
# @return [String]
|
501
|
+
#
|
502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantResponse AWS API Documentation
|
503
|
+
#
|
504
|
+
class CreateGrantResponse < Struct.new(
|
505
|
+
:grant_arn,
|
506
|
+
:status,
|
507
|
+
:version)
|
508
|
+
SENSITIVE = []
|
509
|
+
include Aws::Structure
|
510
|
+
end
|
511
|
+
|
512
|
+
# @note When making an API call, you may pass CreateGrantVersionRequest
|
513
|
+
# data as a hash:
|
514
|
+
#
|
515
|
+
# {
|
516
|
+
# client_token: "String", # required
|
517
|
+
# grant_arn: "Arn", # required
|
518
|
+
# grant_name: "String",
|
519
|
+
# allowed_operations: ["CreateGrant"], # accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
|
520
|
+
# status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED
|
521
|
+
# source_version: "String",
|
522
|
+
# }
|
523
|
+
#
|
524
|
+
# @!attribute [rw] client_token
|
525
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
526
|
+
# idempotency of the request.
|
527
|
+
# @return [String]
|
528
|
+
#
|
529
|
+
# @!attribute [rw] grant_arn
|
530
|
+
# Amazon Resource Name (ARN) of the grant.
|
531
|
+
# @return [String]
|
532
|
+
#
|
533
|
+
# @!attribute [rw] grant_name
|
534
|
+
# Grant name.
|
535
|
+
# @return [String]
|
536
|
+
#
|
537
|
+
# @!attribute [rw] allowed_operations
|
538
|
+
# Allowed operations for the grant.
|
539
|
+
# @return [Array<String>]
|
540
|
+
#
|
541
|
+
# @!attribute [rw] status
|
542
|
+
# Grant status.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @!attribute [rw] source_version
|
546
|
+
# Current version of the grant.
|
547
|
+
# @return [String]
|
548
|
+
#
|
549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantVersionRequest AWS API Documentation
|
550
|
+
#
|
551
|
+
class CreateGrantVersionRequest < Struct.new(
|
552
|
+
:client_token,
|
553
|
+
:grant_arn,
|
554
|
+
:grant_name,
|
555
|
+
:allowed_operations,
|
556
|
+
:status,
|
557
|
+
:source_version)
|
558
|
+
SENSITIVE = []
|
559
|
+
include Aws::Structure
|
560
|
+
end
|
561
|
+
|
562
|
+
# @!attribute [rw] grant_arn
|
563
|
+
# Grant ARN.
|
564
|
+
# @return [String]
|
565
|
+
#
|
566
|
+
# @!attribute [rw] status
|
567
|
+
# Grant status.
|
568
|
+
# @return [String]
|
569
|
+
#
|
570
|
+
# @!attribute [rw] version
|
571
|
+
# New version of the grant.
|
572
|
+
# @return [String]
|
573
|
+
#
|
574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantVersionResponse AWS API Documentation
|
575
|
+
#
|
576
|
+
class CreateGrantVersionResponse < Struct.new(
|
577
|
+
:grant_arn,
|
578
|
+
:status,
|
579
|
+
:version)
|
580
|
+
SENSITIVE = []
|
581
|
+
include Aws::Structure
|
582
|
+
end
|
583
|
+
|
73
584
|
# @note When making an API call, you may pass CreateLicenseConfigurationRequest
|
74
585
|
# data as a hash:
|
75
586
|
#
|
@@ -86,6 +597,7 @@ module Aws::LicenseManager
|
|
86
597
|
# value: "String",
|
87
598
|
# },
|
88
599
|
# ],
|
600
|
+
# disassociate_when_not_found: false,
|
89
601
|
# product_information_list: [
|
90
602
|
# {
|
91
603
|
# resource_type: "String", # required
|
@@ -149,69 +661,730 @@ module Aws::LicenseManager
|
|
149
661
|
# Tags to add to the license configuration.
|
150
662
|
# @return [Array<Types::Tag>]
|
151
663
|
#
|
664
|
+
# @!attribute [rw] disassociate_when_not_found
|
665
|
+
# When true, disassociates a resource when software is uninstalled.
|
666
|
+
# @return [Boolean]
|
667
|
+
#
|
152
668
|
# @!attribute [rw] product_information_list
|
153
669
|
# Product information.
|
154
670
|
# @return [Array<Types::ProductInformation>]
|
155
671
|
#
|
156
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationRequest AWS API Documentation
|
672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationRequest AWS API Documentation
|
673
|
+
#
|
674
|
+
class CreateLicenseConfigurationRequest < Struct.new(
|
675
|
+
:name,
|
676
|
+
:description,
|
677
|
+
:license_counting_type,
|
678
|
+
:license_count,
|
679
|
+
:license_count_hard_limit,
|
680
|
+
:license_rules,
|
681
|
+
:tags,
|
682
|
+
:disassociate_when_not_found,
|
683
|
+
:product_information_list)
|
684
|
+
SENSITIVE = []
|
685
|
+
include Aws::Structure
|
686
|
+
end
|
687
|
+
|
688
|
+
# @!attribute [rw] license_configuration_arn
|
689
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
690
|
+
# @return [String]
|
691
|
+
#
|
692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationResponse AWS API Documentation
|
693
|
+
#
|
694
|
+
class CreateLicenseConfigurationResponse < Struct.new(
|
695
|
+
:license_configuration_arn)
|
696
|
+
SENSITIVE = []
|
697
|
+
include Aws::Structure
|
698
|
+
end
|
699
|
+
|
700
|
+
# @note When making an API call, you may pass CreateLicenseRequest
|
701
|
+
# data as a hash:
|
702
|
+
#
|
703
|
+
# {
|
704
|
+
# license_name: "String", # required
|
705
|
+
# product_name: "String", # required
|
706
|
+
# product_sku: "String", # required
|
707
|
+
# issuer: { # required
|
708
|
+
# name: "String", # required
|
709
|
+
# sign_key: "String",
|
710
|
+
# },
|
711
|
+
# home_region: "String", # required
|
712
|
+
# validity: { # required
|
713
|
+
# begin: "ISO8601DateTime", # required
|
714
|
+
# end: "ISO8601DateTime",
|
715
|
+
# },
|
716
|
+
# entitlements: [ # required
|
717
|
+
# {
|
718
|
+
# name: "String", # required
|
719
|
+
# value: "String",
|
720
|
+
# max_count: 1,
|
721
|
+
# overage: false,
|
722
|
+
# unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
|
723
|
+
# allow_check_in: false,
|
724
|
+
# },
|
725
|
+
# ],
|
726
|
+
# beneficiary: "String", # required
|
727
|
+
# consumption_configuration: { # required
|
728
|
+
# renew_type: "None", # accepts None, Weekly, Monthly
|
729
|
+
# provisional_configuration: {
|
730
|
+
# max_time_to_live_in_minutes: 1, # required
|
731
|
+
# },
|
732
|
+
# borrow_configuration: {
|
733
|
+
# allow_early_check_in: false, # required
|
734
|
+
# max_time_to_live_in_minutes: 1, # required
|
735
|
+
# },
|
736
|
+
# },
|
737
|
+
# license_metadata: [
|
738
|
+
# {
|
739
|
+
# name: "String",
|
740
|
+
# value: "String",
|
741
|
+
# },
|
742
|
+
# ],
|
743
|
+
# client_token: "String", # required
|
744
|
+
# }
|
745
|
+
#
|
746
|
+
# @!attribute [rw] license_name
|
747
|
+
# License name.
|
748
|
+
# @return [String]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] product_name
|
751
|
+
# Product name.
|
752
|
+
# @return [String]
|
753
|
+
#
|
754
|
+
# @!attribute [rw] product_sku
|
755
|
+
# Product SKU.
|
756
|
+
# @return [String]
|
757
|
+
#
|
758
|
+
# @!attribute [rw] issuer
|
759
|
+
# License issuer.
|
760
|
+
# @return [Types::Issuer]
|
761
|
+
#
|
762
|
+
# @!attribute [rw] home_region
|
763
|
+
# Home Region for the license.
|
764
|
+
# @return [String]
|
765
|
+
#
|
766
|
+
# @!attribute [rw] validity
|
767
|
+
# Date and time range during which the license is valid, in
|
768
|
+
# ISO8601-UTC format.
|
769
|
+
# @return [Types::DatetimeRange]
|
770
|
+
#
|
771
|
+
# @!attribute [rw] entitlements
|
772
|
+
# License entitlements.
|
773
|
+
# @return [Array<Types::Entitlement>]
|
774
|
+
#
|
775
|
+
# @!attribute [rw] beneficiary
|
776
|
+
# License beneficiary.
|
777
|
+
# @return [String]
|
778
|
+
#
|
779
|
+
# @!attribute [rw] consumption_configuration
|
780
|
+
# Configuration for consumption of the license. Choose a provisional
|
781
|
+
# configuration for workloads running with continuous connectivity.
|
782
|
+
# Choose a borrow configuration for workloads with offline usage.
|
783
|
+
# @return [Types::ConsumptionConfiguration]
|
784
|
+
#
|
785
|
+
# @!attribute [rw] license_metadata
|
786
|
+
# Information about the license.
|
787
|
+
# @return [Array<Types::Metadata>]
|
788
|
+
#
|
789
|
+
# @!attribute [rw] client_token
|
790
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
791
|
+
# idempotency of the request.
|
792
|
+
# @return [String]
|
793
|
+
#
|
794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseRequest AWS API Documentation
|
795
|
+
#
|
796
|
+
class CreateLicenseRequest < Struct.new(
|
797
|
+
:license_name,
|
798
|
+
:product_name,
|
799
|
+
:product_sku,
|
800
|
+
:issuer,
|
801
|
+
:home_region,
|
802
|
+
:validity,
|
803
|
+
:entitlements,
|
804
|
+
:beneficiary,
|
805
|
+
:consumption_configuration,
|
806
|
+
:license_metadata,
|
807
|
+
:client_token)
|
808
|
+
SENSITIVE = []
|
809
|
+
include Aws::Structure
|
810
|
+
end
|
811
|
+
|
812
|
+
# @!attribute [rw] license_arn
|
813
|
+
# Amazon Resource Name (ARN) of the license.
|
814
|
+
# @return [String]
|
815
|
+
#
|
816
|
+
# @!attribute [rw] status
|
817
|
+
# License status.
|
818
|
+
# @return [String]
|
819
|
+
#
|
820
|
+
# @!attribute [rw] version
|
821
|
+
# License version.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseResponse AWS API Documentation
|
825
|
+
#
|
826
|
+
class CreateLicenseResponse < Struct.new(
|
827
|
+
:license_arn,
|
828
|
+
:status,
|
829
|
+
:version)
|
830
|
+
SENSITIVE = []
|
831
|
+
include Aws::Structure
|
832
|
+
end
|
833
|
+
|
834
|
+
# @note When making an API call, you may pass CreateLicenseVersionRequest
|
835
|
+
# data as a hash:
|
836
|
+
#
|
837
|
+
# {
|
838
|
+
# license_arn: "Arn", # required
|
839
|
+
# license_name: "String", # required
|
840
|
+
# product_name: "String", # required
|
841
|
+
# issuer: { # required
|
842
|
+
# name: "String", # required
|
843
|
+
# sign_key: "String",
|
844
|
+
# },
|
845
|
+
# home_region: "String", # required
|
846
|
+
# validity: { # required
|
847
|
+
# begin: "ISO8601DateTime", # required
|
848
|
+
# end: "ISO8601DateTime",
|
849
|
+
# },
|
850
|
+
# license_metadata: [
|
851
|
+
# {
|
852
|
+
# name: "String",
|
853
|
+
# value: "String",
|
854
|
+
# },
|
855
|
+
# ],
|
856
|
+
# entitlements: [ # required
|
857
|
+
# {
|
858
|
+
# name: "String", # required
|
859
|
+
# value: "String",
|
860
|
+
# max_count: 1,
|
861
|
+
# overage: false,
|
862
|
+
# unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
|
863
|
+
# allow_check_in: false,
|
864
|
+
# },
|
865
|
+
# ],
|
866
|
+
# consumption_configuration: { # required
|
867
|
+
# renew_type: "None", # accepts None, Weekly, Monthly
|
868
|
+
# provisional_configuration: {
|
869
|
+
# max_time_to_live_in_minutes: 1, # required
|
870
|
+
# },
|
871
|
+
# borrow_configuration: {
|
872
|
+
# allow_early_check_in: false, # required
|
873
|
+
# max_time_to_live_in_minutes: 1, # required
|
874
|
+
# },
|
875
|
+
# },
|
876
|
+
# status: "AVAILABLE", # required, accepts AVAILABLE, PENDING_AVAILABLE, DEACTIVATED, SUSPENDED, EXPIRED, PENDING_DELETE, DELETED
|
877
|
+
# client_token: "String", # required
|
878
|
+
# source_version: "String",
|
879
|
+
# }
|
880
|
+
#
|
881
|
+
# @!attribute [rw] license_arn
|
882
|
+
# Amazon Resource Name (ARN) of the license.
|
883
|
+
# @return [String]
|
884
|
+
#
|
885
|
+
# @!attribute [rw] license_name
|
886
|
+
# License name.
|
887
|
+
# @return [String]
|
888
|
+
#
|
889
|
+
# @!attribute [rw] product_name
|
890
|
+
# Product name.
|
891
|
+
# @return [String]
|
892
|
+
#
|
893
|
+
# @!attribute [rw] issuer
|
894
|
+
# License issuer.
|
895
|
+
# @return [Types::Issuer]
|
896
|
+
#
|
897
|
+
# @!attribute [rw] home_region
|
898
|
+
# Home Region of the license.
|
899
|
+
# @return [String]
|
900
|
+
#
|
901
|
+
# @!attribute [rw] validity
|
902
|
+
# Date and time range during which the license is valid, in
|
903
|
+
# ISO8601-UTC format.
|
904
|
+
# @return [Types::DatetimeRange]
|
905
|
+
#
|
906
|
+
# @!attribute [rw] license_metadata
|
907
|
+
# Information about the license.
|
908
|
+
# @return [Array<Types::Metadata>]
|
909
|
+
#
|
910
|
+
# @!attribute [rw] entitlements
|
911
|
+
# License entitlements.
|
912
|
+
# @return [Array<Types::Entitlement>]
|
913
|
+
#
|
914
|
+
# @!attribute [rw] consumption_configuration
|
915
|
+
# Configuration for consumption of the license. Choose a provisional
|
916
|
+
# configuration for workloads running with continuous connectivity.
|
917
|
+
# Choose a borrow configuration for workloads with offline usage.
|
918
|
+
# @return [Types::ConsumptionConfiguration]
|
919
|
+
#
|
920
|
+
# @!attribute [rw] status
|
921
|
+
# License status.
|
922
|
+
# @return [String]
|
923
|
+
#
|
924
|
+
# @!attribute [rw] client_token
|
925
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
926
|
+
# idempotency of the request.
|
927
|
+
# @return [String]
|
928
|
+
#
|
929
|
+
# @!attribute [rw] source_version
|
930
|
+
# Current version of the license.
|
931
|
+
# @return [String]
|
932
|
+
#
|
933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseVersionRequest AWS API Documentation
|
934
|
+
#
|
935
|
+
class CreateLicenseVersionRequest < Struct.new(
|
936
|
+
:license_arn,
|
937
|
+
:license_name,
|
938
|
+
:product_name,
|
939
|
+
:issuer,
|
940
|
+
:home_region,
|
941
|
+
:validity,
|
942
|
+
:license_metadata,
|
943
|
+
:entitlements,
|
944
|
+
:consumption_configuration,
|
945
|
+
:status,
|
946
|
+
:client_token,
|
947
|
+
:source_version)
|
948
|
+
SENSITIVE = []
|
949
|
+
include Aws::Structure
|
950
|
+
end
|
951
|
+
|
952
|
+
# @!attribute [rw] license_arn
|
953
|
+
# License ARN.
|
954
|
+
# @return [String]
|
955
|
+
#
|
956
|
+
# @!attribute [rw] version
|
957
|
+
# New version of the license.
|
958
|
+
# @return [String]
|
959
|
+
#
|
960
|
+
# @!attribute [rw] status
|
961
|
+
# License status.
|
962
|
+
# @return [String]
|
963
|
+
#
|
964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseVersionResponse AWS API Documentation
|
965
|
+
#
|
966
|
+
class CreateLicenseVersionResponse < Struct.new(
|
967
|
+
:license_arn,
|
968
|
+
:version,
|
969
|
+
:status)
|
970
|
+
SENSITIVE = []
|
971
|
+
include Aws::Structure
|
972
|
+
end
|
973
|
+
|
974
|
+
# @note When making an API call, you may pass CreateTokenRequest
|
975
|
+
# data as a hash:
|
976
|
+
#
|
977
|
+
# {
|
978
|
+
# license_arn: "Arn", # required
|
979
|
+
# role_arns: ["Arn"],
|
980
|
+
# expiration_in_days: 1,
|
981
|
+
# token_properties: ["String"],
|
982
|
+
# client_token: "IdempotencyToken", # required
|
983
|
+
# }
|
984
|
+
#
|
985
|
+
# @!attribute [rw] license_arn
|
986
|
+
# Amazon Resource Name (ARN) of the license. The ARN is mapped to the
|
987
|
+
# aud claim of the JWT token.
|
988
|
+
# @return [String]
|
989
|
+
#
|
990
|
+
# @!attribute [rw] role_arns
|
991
|
+
# Amazon Resource Name (ARN) of the IAM roles to embed in the token.
|
992
|
+
# License Manager does not check whether the roles are in use.
|
993
|
+
# @return [Array<String>]
|
994
|
+
#
|
995
|
+
# @!attribute [rw] expiration_in_days
|
996
|
+
# Token expiration, in days, counted from token creation. The default
|
997
|
+
# is 365 days.
|
998
|
+
# @return [Integer]
|
999
|
+
#
|
1000
|
+
# @!attribute [rw] token_properties
|
1001
|
+
# Data specified by the caller to be included in the JWT token. The
|
1002
|
+
# data is mapped to the amr claim of the JWT token.
|
1003
|
+
# @return [Array<String>]
|
1004
|
+
#
|
1005
|
+
# @!attribute [rw] client_token
|
1006
|
+
# Idempotency token, valid for 10 minutes.
|
1007
|
+
# @return [String]
|
1008
|
+
#
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateTokenRequest AWS API Documentation
|
1010
|
+
#
|
1011
|
+
class CreateTokenRequest < Struct.new(
|
1012
|
+
:license_arn,
|
1013
|
+
:role_arns,
|
1014
|
+
:expiration_in_days,
|
1015
|
+
:token_properties,
|
1016
|
+
:client_token)
|
1017
|
+
SENSITIVE = []
|
1018
|
+
include Aws::Structure
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# @!attribute [rw] token_id
|
1022
|
+
# Token ID.
|
1023
|
+
# @return [String]
|
1024
|
+
#
|
1025
|
+
# @!attribute [rw] token_type
|
1026
|
+
# Token type.
|
1027
|
+
# @return [String]
|
1028
|
+
#
|
1029
|
+
# @!attribute [rw] token
|
1030
|
+
# Refresh token, encoded as a JWT token.
|
1031
|
+
# @return [String]
|
1032
|
+
#
|
1033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateTokenResponse AWS API Documentation
|
1034
|
+
#
|
1035
|
+
class CreateTokenResponse < Struct.new(
|
1036
|
+
:token_id,
|
1037
|
+
:token_type,
|
1038
|
+
:token)
|
1039
|
+
SENSITIVE = []
|
1040
|
+
include Aws::Structure
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
# Describes a time range, in ISO8601-UTC format.
|
1044
|
+
#
|
1045
|
+
# @note When making an API call, you may pass DatetimeRange
|
1046
|
+
# data as a hash:
|
1047
|
+
#
|
1048
|
+
# {
|
1049
|
+
# begin: "ISO8601DateTime", # required
|
1050
|
+
# end: "ISO8601DateTime",
|
1051
|
+
# }
|
1052
|
+
#
|
1053
|
+
# @!attribute [rw] begin
|
1054
|
+
# Start of the time range.
|
1055
|
+
# @return [String]
|
1056
|
+
#
|
1057
|
+
# @!attribute [rw] end
|
1058
|
+
# End of the time range.
|
1059
|
+
# @return [String]
|
1060
|
+
#
|
1061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DatetimeRange AWS API Documentation
|
1062
|
+
#
|
1063
|
+
class DatetimeRange < Struct.new(
|
1064
|
+
:begin,
|
1065
|
+
:end)
|
1066
|
+
SENSITIVE = []
|
1067
|
+
include Aws::Structure
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# @note When making an API call, you may pass DeleteGrantRequest
|
1071
|
+
# data as a hash:
|
1072
|
+
#
|
1073
|
+
# {
|
1074
|
+
# grant_arn: "Arn", # required
|
1075
|
+
# version: "String", # required
|
1076
|
+
# }
|
1077
|
+
#
|
1078
|
+
# @!attribute [rw] grant_arn
|
1079
|
+
# Amazon Resource Name (ARN) of the grant.
|
1080
|
+
# @return [String]
|
1081
|
+
#
|
1082
|
+
# @!attribute [rw] version
|
1083
|
+
# Current version of the grant.
|
1084
|
+
# @return [String]
|
1085
|
+
#
|
1086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrantRequest AWS API Documentation
|
1087
|
+
#
|
1088
|
+
class DeleteGrantRequest < Struct.new(
|
1089
|
+
:grant_arn,
|
1090
|
+
:version)
|
1091
|
+
SENSITIVE = []
|
1092
|
+
include Aws::Structure
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# @!attribute [rw] grant_arn
|
1096
|
+
# Grant ARN.
|
1097
|
+
# @return [String]
|
1098
|
+
#
|
1099
|
+
# @!attribute [rw] status
|
1100
|
+
# Grant status.
|
1101
|
+
# @return [String]
|
1102
|
+
#
|
1103
|
+
# @!attribute [rw] version
|
1104
|
+
# Grant version.
|
1105
|
+
# @return [String]
|
1106
|
+
#
|
1107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrantResponse AWS API Documentation
|
1108
|
+
#
|
1109
|
+
class DeleteGrantResponse < Struct.new(
|
1110
|
+
:grant_arn,
|
1111
|
+
:status,
|
1112
|
+
:version)
|
1113
|
+
SENSITIVE = []
|
1114
|
+
include Aws::Structure
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
# @note When making an API call, you may pass DeleteLicenseConfigurationRequest
|
1118
|
+
# data as a hash:
|
1119
|
+
#
|
1120
|
+
# {
|
1121
|
+
# license_configuration_arn: "String", # required
|
1122
|
+
# }
|
1123
|
+
#
|
1124
|
+
# @!attribute [rw] license_configuration_arn
|
1125
|
+
# ID of the license configuration.
|
1126
|
+
# @return [String]
|
1127
|
+
#
|
1128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationRequest AWS API Documentation
|
1129
|
+
#
|
1130
|
+
class DeleteLicenseConfigurationRequest < Struct.new(
|
1131
|
+
:license_configuration_arn)
|
1132
|
+
SENSITIVE = []
|
1133
|
+
include Aws::Structure
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationResponse AWS API Documentation
|
1137
|
+
#
|
1138
|
+
class DeleteLicenseConfigurationResponse < Aws::EmptyStructure; end
|
1139
|
+
|
1140
|
+
# @note When making an API call, you may pass DeleteLicenseRequest
|
1141
|
+
# data as a hash:
|
1142
|
+
#
|
1143
|
+
# {
|
1144
|
+
# license_arn: "Arn", # required
|
1145
|
+
# source_version: "String", # required
|
1146
|
+
# }
|
1147
|
+
#
|
1148
|
+
# @!attribute [rw] license_arn
|
1149
|
+
# Amazon Resource Name (ARN) of the license.
|
1150
|
+
# @return [String]
|
1151
|
+
#
|
1152
|
+
# @!attribute [rw] source_version
|
1153
|
+
# Current version of the license.
|
1154
|
+
# @return [String]
|
1155
|
+
#
|
1156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseRequest AWS API Documentation
|
1157
|
+
#
|
1158
|
+
class DeleteLicenseRequest < Struct.new(
|
1159
|
+
:license_arn,
|
1160
|
+
:source_version)
|
1161
|
+
SENSITIVE = []
|
1162
|
+
include Aws::Structure
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
# @!attribute [rw] status
|
1166
|
+
# License status.
|
1167
|
+
# @return [String]
|
1168
|
+
#
|
1169
|
+
# @!attribute [rw] deletion_date
|
1170
|
+
# Date on which the license is deleted.
|
1171
|
+
# @return [String]
|
1172
|
+
#
|
1173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseResponse AWS API Documentation
|
1174
|
+
#
|
1175
|
+
class DeleteLicenseResponse < Struct.new(
|
1176
|
+
:status,
|
1177
|
+
:deletion_date)
|
1178
|
+
SENSITIVE = []
|
1179
|
+
include Aws::Structure
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# @note When making an API call, you may pass DeleteTokenRequest
|
1183
|
+
# data as a hash:
|
1184
|
+
#
|
1185
|
+
# {
|
1186
|
+
# token_id: "String", # required
|
1187
|
+
# }
|
1188
|
+
#
|
1189
|
+
# @!attribute [rw] token_id
|
1190
|
+
# Token ID.
|
1191
|
+
# @return [String]
|
1192
|
+
#
|
1193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteTokenRequest AWS API Documentation
|
1194
|
+
#
|
1195
|
+
class DeleteTokenRequest < Struct.new(
|
1196
|
+
:token_id)
|
1197
|
+
SENSITIVE = []
|
1198
|
+
include Aws::Structure
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteTokenResponse AWS API Documentation
|
1202
|
+
#
|
1203
|
+
class DeleteTokenResponse < Aws::EmptyStructure; end
|
1204
|
+
|
1205
|
+
# Describes a resource entitled for use with a license.
|
1206
|
+
#
|
1207
|
+
# @note When making an API call, you may pass Entitlement
|
1208
|
+
# data as a hash:
|
1209
|
+
#
|
1210
|
+
# {
|
1211
|
+
# name: "String", # required
|
1212
|
+
# value: "String",
|
1213
|
+
# max_count: 1,
|
1214
|
+
# overage: false,
|
1215
|
+
# unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
|
1216
|
+
# allow_check_in: false,
|
1217
|
+
# }
|
1218
|
+
#
|
1219
|
+
# @!attribute [rw] name
|
1220
|
+
# Entitlement name.
|
1221
|
+
# @return [String]
|
1222
|
+
#
|
1223
|
+
# @!attribute [rw] value
|
1224
|
+
# Entitlement resource. Use only if the unit is None.
|
1225
|
+
# @return [String]
|
1226
|
+
#
|
1227
|
+
# @!attribute [rw] max_count
|
1228
|
+
# Maximum entitlement count. Use if the unit is not None.
|
1229
|
+
# @return [Integer]
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] overage
|
1232
|
+
# Indicates whether overages are allowed.
|
1233
|
+
# @return [Boolean]
|
1234
|
+
#
|
1235
|
+
# @!attribute [rw] unit
|
1236
|
+
# Entitlement unit.
|
1237
|
+
# @return [String]
|
1238
|
+
#
|
1239
|
+
# @!attribute [rw] allow_check_in
|
1240
|
+
# Indicates whether check-ins are allowed.
|
1241
|
+
# @return [Boolean]
|
1242
|
+
#
|
1243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Entitlement AWS API Documentation
|
1244
|
+
#
|
1245
|
+
class Entitlement < Struct.new(
|
1246
|
+
:name,
|
1247
|
+
:value,
|
1248
|
+
:max_count,
|
1249
|
+
:overage,
|
1250
|
+
:unit,
|
1251
|
+
:allow_check_in)
|
1252
|
+
SENSITIVE = []
|
1253
|
+
include Aws::Structure
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
# Data associated with an entitlement resource.
|
1257
|
+
#
|
1258
|
+
# @note When making an API call, you may pass EntitlementData
|
1259
|
+
# data as a hash:
|
1260
|
+
#
|
1261
|
+
# {
|
1262
|
+
# name: "String", # required
|
1263
|
+
# value: "String",
|
1264
|
+
# unit: "Count", # required, accepts Count, None, Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second
|
1265
|
+
# }
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] name
|
1268
|
+
# Entitlement data name.
|
1269
|
+
# @return [String]
|
1270
|
+
#
|
1271
|
+
# @!attribute [rw] value
|
1272
|
+
# Entitlement data value.
|
1273
|
+
# @return [String]
|
1274
|
+
#
|
1275
|
+
# @!attribute [rw] unit
|
1276
|
+
# Entitlement data unit.
|
1277
|
+
# @return [String]
|
1278
|
+
#
|
1279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/EntitlementData AWS API Documentation
|
157
1280
|
#
|
158
|
-
class
|
1281
|
+
class EntitlementData < Struct.new(
|
159
1282
|
:name,
|
160
|
-
:
|
161
|
-
:
|
162
|
-
:license_count,
|
163
|
-
:license_count_hard_limit,
|
164
|
-
:license_rules,
|
165
|
-
:tags,
|
166
|
-
:product_information_list)
|
1283
|
+
:value,
|
1284
|
+
:unit)
|
167
1285
|
SENSITIVE = []
|
168
1286
|
include Aws::Structure
|
169
1287
|
end
|
170
1288
|
|
171
|
-
#
|
172
|
-
#
|
1289
|
+
# The entitlement is not allowed.
|
1290
|
+
#
|
1291
|
+
# @!attribute [rw] message
|
173
1292
|
# @return [String]
|
174
1293
|
#
|
175
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
1294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/EntitlementNotAllowedException AWS API Documentation
|
176
1295
|
#
|
177
|
-
class
|
178
|
-
:
|
1296
|
+
class EntitlementNotAllowedException < Struct.new(
|
1297
|
+
:message)
|
179
1298
|
SENSITIVE = []
|
180
1299
|
include Aws::Structure
|
181
1300
|
end
|
182
1301
|
|
183
|
-
#
|
1302
|
+
# Usage associated with an entitlement resource.
|
1303
|
+
#
|
1304
|
+
# @!attribute [rw] name
|
1305
|
+
# Entitlement usage name.
|
1306
|
+
# @return [String]
|
1307
|
+
#
|
1308
|
+
# @!attribute [rw] consumed_value
|
1309
|
+
# Resource usage consumed.
|
1310
|
+
# @return [String]
|
1311
|
+
#
|
1312
|
+
# @!attribute [rw] max_count
|
1313
|
+
# Maximum entitlement usage count.
|
1314
|
+
# @return [String]
|
1315
|
+
#
|
1316
|
+
# @!attribute [rw] unit
|
1317
|
+
# Entitlement usage unit.
|
1318
|
+
# @return [String]
|
1319
|
+
#
|
1320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/EntitlementUsage AWS API Documentation
|
1321
|
+
#
|
1322
|
+
class EntitlementUsage < Struct.new(
|
1323
|
+
:name,
|
1324
|
+
:consumed_value,
|
1325
|
+
:max_count,
|
1326
|
+
:unit)
|
1327
|
+
SENSITIVE = []
|
1328
|
+
include Aws::Structure
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# @note When making an API call, you may pass ExtendLicenseConsumptionRequest
|
184
1332
|
# data as a hash:
|
185
1333
|
#
|
186
1334
|
# {
|
187
|
-
#
|
1335
|
+
# license_consumption_token: "String", # required
|
1336
|
+
# dry_run: false,
|
188
1337
|
# }
|
189
1338
|
#
|
190
|
-
# @!attribute [rw]
|
191
|
-
#
|
1339
|
+
# @!attribute [rw] license_consumption_token
|
1340
|
+
# License consumption token.
|
192
1341
|
# @return [String]
|
193
1342
|
#
|
194
|
-
#
|
1343
|
+
# @!attribute [rw] dry_run
|
1344
|
+
# Checks whether you have the required permissions for the action,
|
1345
|
+
# without actually making the request. Provides an error response if
|
1346
|
+
# you do not have the required permissions.
|
1347
|
+
# @return [Boolean]
|
195
1348
|
#
|
196
|
-
|
197
|
-
|
1349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumptionRequest AWS API Documentation
|
1350
|
+
#
|
1351
|
+
class ExtendLicenseConsumptionRequest < Struct.new(
|
1352
|
+
:license_consumption_token,
|
1353
|
+
:dry_run)
|
198
1354
|
SENSITIVE = []
|
199
1355
|
include Aws::Structure
|
200
1356
|
end
|
201
1357
|
|
202
|
-
#
|
1358
|
+
# @!attribute [rw] license_consumption_token
|
1359
|
+
# License consumption token.
|
1360
|
+
# @return [String]
|
203
1361
|
#
|
204
|
-
|
1362
|
+
# @!attribute [rw] expiration
|
1363
|
+
# Date and time at which the license consumption expires.
|
1364
|
+
# @return [String]
|
1365
|
+
#
|
1366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumptionResponse AWS API Documentation
|
1367
|
+
#
|
1368
|
+
class ExtendLicenseConsumptionResponse < Struct.new(
|
1369
|
+
:license_consumption_token,
|
1370
|
+
:expiration)
|
1371
|
+
SENSITIVE = []
|
1372
|
+
include Aws::Structure
|
1373
|
+
end
|
205
1374
|
|
206
1375
|
# A dependency required to run the API is missing.
|
207
1376
|
#
|
208
1377
|
# @!attribute [rw] message
|
209
1378
|
# @return [String]
|
210
1379
|
#
|
1380
|
+
# @!attribute [rw] error_code
|
1381
|
+
# @return [String]
|
1382
|
+
#
|
211
1383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/FailedDependencyException AWS API Documentation
|
212
1384
|
#
|
213
1385
|
class FailedDependencyException < Struct.new(
|
214
|
-
:message
|
1386
|
+
:message,
|
1387
|
+
:error_code)
|
215
1388
|
SENSITIVE = []
|
216
1389
|
include Aws::Structure
|
217
1390
|
end
|
@@ -258,6 +1431,80 @@ module Aws::LicenseManager
|
|
258
1431
|
include Aws::Structure
|
259
1432
|
end
|
260
1433
|
|
1434
|
+
# @note When making an API call, you may pass GetAccessTokenRequest
|
1435
|
+
# data as a hash:
|
1436
|
+
#
|
1437
|
+
# {
|
1438
|
+
# token: "TokenString", # required
|
1439
|
+
# token_properties: ["String"],
|
1440
|
+
# }
|
1441
|
+
#
|
1442
|
+
# @!attribute [rw] token
|
1443
|
+
# Refresh token, encoded as a JWT token.
|
1444
|
+
# @return [String]
|
1445
|
+
#
|
1446
|
+
# @!attribute [rw] token_properties
|
1447
|
+
# Token properties to validate against those present in the JWT token.
|
1448
|
+
# @return [Array<String>]
|
1449
|
+
#
|
1450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetAccessTokenRequest AWS API Documentation
|
1451
|
+
#
|
1452
|
+
class GetAccessTokenRequest < Struct.new(
|
1453
|
+
:token,
|
1454
|
+
:token_properties)
|
1455
|
+
SENSITIVE = []
|
1456
|
+
include Aws::Structure
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# @!attribute [rw] access_token
|
1460
|
+
# Temporary access token.
|
1461
|
+
# @return [String]
|
1462
|
+
#
|
1463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetAccessTokenResponse AWS API Documentation
|
1464
|
+
#
|
1465
|
+
class GetAccessTokenResponse < Struct.new(
|
1466
|
+
:access_token)
|
1467
|
+
SENSITIVE = []
|
1468
|
+
include Aws::Structure
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
# @note When making an API call, you may pass GetGrantRequest
|
1472
|
+
# data as a hash:
|
1473
|
+
#
|
1474
|
+
# {
|
1475
|
+
# grant_arn: "Arn", # required
|
1476
|
+
# version: "String",
|
1477
|
+
# }
|
1478
|
+
#
|
1479
|
+
# @!attribute [rw] grant_arn
|
1480
|
+
# Amazon Resource Name (ARN) of the grant.
|
1481
|
+
# @return [String]
|
1482
|
+
#
|
1483
|
+
# @!attribute [rw] version
|
1484
|
+
# Grant version.
|
1485
|
+
# @return [String]
|
1486
|
+
#
|
1487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrantRequest AWS API Documentation
|
1488
|
+
#
|
1489
|
+
class GetGrantRequest < Struct.new(
|
1490
|
+
:grant_arn,
|
1491
|
+
:version)
|
1492
|
+
SENSITIVE = []
|
1493
|
+
include Aws::Structure
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
# @!attribute [rw] grant
|
1497
|
+
# Grant details.
|
1498
|
+
# @return [Types::Grant]
|
1499
|
+
#
|
1500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrantResponse AWS API Documentation
|
1501
|
+
#
|
1502
|
+
class GetGrantResponse < Struct.new(
|
1503
|
+
:grant)
|
1504
|
+
SENSITIVE = []
|
1505
|
+
include Aws::Structure
|
1506
|
+
end
|
1507
|
+
|
261
1508
|
# @note When making an API call, you may pass GetLicenseConfigurationRequest
|
262
1509
|
# data as a hash:
|
263
1510
|
#
|
@@ -341,6 +1588,10 @@ module Aws::LicenseManager
|
|
341
1588
|
# Automated discovery information.
|
342
1589
|
# @return [Types::AutomatedDiscoveryInformation]
|
343
1590
|
#
|
1591
|
+
# @!attribute [rw] disassociate_when_not_found
|
1592
|
+
# When true, disassociates a resource when software is uninstalled.
|
1593
|
+
# @return [Boolean]
|
1594
|
+
#
|
344
1595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfigurationResponse AWS API Documentation
|
345
1596
|
#
|
346
1597
|
class GetLicenseConfigurationResponse < Struct.new(
|
@@ -359,7 +1610,76 @@ module Aws::LicenseManager
|
|
359
1610
|
:managed_resource_summary_list,
|
360
1611
|
:tags,
|
361
1612
|
:product_information_list,
|
362
|
-
:automated_discovery_information
|
1613
|
+
:automated_discovery_information,
|
1614
|
+
:disassociate_when_not_found)
|
1615
|
+
SENSITIVE = []
|
1616
|
+
include Aws::Structure
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
# @note When making an API call, you may pass GetLicenseRequest
|
1620
|
+
# data as a hash:
|
1621
|
+
#
|
1622
|
+
# {
|
1623
|
+
# license_arn: "Arn", # required
|
1624
|
+
# version: "String",
|
1625
|
+
# }
|
1626
|
+
#
|
1627
|
+
# @!attribute [rw] license_arn
|
1628
|
+
# Amazon Resource Name (ARN) of the license.
|
1629
|
+
# @return [String]
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] version
|
1632
|
+
# License version.
|
1633
|
+
# @return [String]
|
1634
|
+
#
|
1635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseRequest AWS API Documentation
|
1636
|
+
#
|
1637
|
+
class GetLicenseRequest < Struct.new(
|
1638
|
+
:license_arn,
|
1639
|
+
:version)
|
1640
|
+
SENSITIVE = []
|
1641
|
+
include Aws::Structure
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# @!attribute [rw] license
|
1645
|
+
# License details.
|
1646
|
+
# @return [Types::License]
|
1647
|
+
#
|
1648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseResponse AWS API Documentation
|
1649
|
+
#
|
1650
|
+
class GetLicenseResponse < Struct.new(
|
1651
|
+
:license)
|
1652
|
+
SENSITIVE = []
|
1653
|
+
include Aws::Structure
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
# @note When making an API call, you may pass GetLicenseUsageRequest
|
1657
|
+
# data as a hash:
|
1658
|
+
#
|
1659
|
+
# {
|
1660
|
+
# license_arn: "Arn", # required
|
1661
|
+
# }
|
1662
|
+
#
|
1663
|
+
# @!attribute [rw] license_arn
|
1664
|
+
# Amazon Resource Name (ARN) of the license.
|
1665
|
+
# @return [String]
|
1666
|
+
#
|
1667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsageRequest AWS API Documentation
|
1668
|
+
#
|
1669
|
+
class GetLicenseUsageRequest < Struct.new(
|
1670
|
+
:license_arn)
|
1671
|
+
SENSITIVE = []
|
1672
|
+
include Aws::Structure
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
# @!attribute [rw] license_usage
|
1676
|
+
# License usage details.
|
1677
|
+
# @return [Types::LicenseUsage]
|
1678
|
+
#
|
1679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsageResponse AWS API Documentation
|
1680
|
+
#
|
1681
|
+
class GetLicenseUsageResponse < Struct.new(
|
1682
|
+
:license_usage)
|
363
1683
|
SENSITIVE = []
|
364
1684
|
include Aws::Structure
|
365
1685
|
end
|
@@ -380,12 +1700,12 @@ module Aws::LicenseManager
|
|
380
1700
|
# @return [String]
|
381
1701
|
#
|
382
1702
|
# @!attribute [rw] organization_configuration
|
383
|
-
# Indicates whether AWS Organizations
|
1703
|
+
# Indicates whether AWS Organizations is integrated with License
|
384
1704
|
# Manager for cross-account discovery.
|
385
1705
|
# @return [Types::OrganizationConfiguration]
|
386
1706
|
#
|
387
1707
|
# @!attribute [rw] enable_cross_accounts_discovery
|
388
|
-
# Indicates whether cross-account discovery
|
1708
|
+
# Indicates whether cross-account discovery is enabled.
|
389
1709
|
# @return [Boolean]
|
390
1710
|
#
|
391
1711
|
# @!attribute [rw] license_manager_resource_share_arn
|
@@ -406,6 +1726,150 @@ module Aws::LicenseManager
|
|
406
1726
|
include Aws::Structure
|
407
1727
|
end
|
408
1728
|
|
1729
|
+
# Describes a grant.
|
1730
|
+
#
|
1731
|
+
# @!attribute [rw] grant_arn
|
1732
|
+
# Amazon Resource Name (ARN) of the grant.
|
1733
|
+
# @return [String]
|
1734
|
+
#
|
1735
|
+
# @!attribute [rw] grant_name
|
1736
|
+
# Grant name.
|
1737
|
+
# @return [String]
|
1738
|
+
#
|
1739
|
+
# @!attribute [rw] parent_arn
|
1740
|
+
# Parent ARN.
|
1741
|
+
# @return [String]
|
1742
|
+
#
|
1743
|
+
# @!attribute [rw] license_arn
|
1744
|
+
# License ARN.
|
1745
|
+
# @return [String]
|
1746
|
+
#
|
1747
|
+
# @!attribute [rw] grantee_principal_arn
|
1748
|
+
# The grantee principal ARN.
|
1749
|
+
# @return [String]
|
1750
|
+
#
|
1751
|
+
# @!attribute [rw] home_region
|
1752
|
+
# Home Region of the grant.
|
1753
|
+
# @return [String]
|
1754
|
+
#
|
1755
|
+
# @!attribute [rw] grant_status
|
1756
|
+
# Grant status.
|
1757
|
+
# @return [String]
|
1758
|
+
#
|
1759
|
+
# @!attribute [rw] status_reason
|
1760
|
+
# Grant status reason.
|
1761
|
+
# @return [String]
|
1762
|
+
#
|
1763
|
+
# @!attribute [rw] version
|
1764
|
+
# Grant version.
|
1765
|
+
# @return [String]
|
1766
|
+
#
|
1767
|
+
# @!attribute [rw] granted_operations
|
1768
|
+
# Granted operations.
|
1769
|
+
# @return [Array<String>]
|
1770
|
+
#
|
1771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Grant AWS API Documentation
|
1772
|
+
#
|
1773
|
+
class Grant < Struct.new(
|
1774
|
+
:grant_arn,
|
1775
|
+
:grant_name,
|
1776
|
+
:parent_arn,
|
1777
|
+
:license_arn,
|
1778
|
+
:grantee_principal_arn,
|
1779
|
+
:home_region,
|
1780
|
+
:grant_status,
|
1781
|
+
:status_reason,
|
1782
|
+
:version,
|
1783
|
+
:granted_operations)
|
1784
|
+
SENSITIVE = []
|
1785
|
+
include Aws::Structure
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
# Describes a license that is granted to a grantee.
|
1789
|
+
#
|
1790
|
+
# @!attribute [rw] license_arn
|
1791
|
+
# Amazon Resource Name (ARN) of the license.
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] license_name
|
1795
|
+
# License name.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @!attribute [rw] product_name
|
1799
|
+
# Product name.
|
1800
|
+
# @return [String]
|
1801
|
+
#
|
1802
|
+
# @!attribute [rw] product_sku
|
1803
|
+
# Product SKU.
|
1804
|
+
# @return [String]
|
1805
|
+
#
|
1806
|
+
# @!attribute [rw] issuer
|
1807
|
+
# Granted license issuer.
|
1808
|
+
# @return [Types::IssuerDetails]
|
1809
|
+
#
|
1810
|
+
# @!attribute [rw] home_region
|
1811
|
+
# Home Region of the granted license.
|
1812
|
+
# @return [String]
|
1813
|
+
#
|
1814
|
+
# @!attribute [rw] status
|
1815
|
+
# Granted license status.
|
1816
|
+
# @return [String]
|
1817
|
+
#
|
1818
|
+
# @!attribute [rw] validity
|
1819
|
+
# Date and time range during which the granted license is valid, in
|
1820
|
+
# ISO8601-UTC format.
|
1821
|
+
# @return [Types::DatetimeRange]
|
1822
|
+
#
|
1823
|
+
# @!attribute [rw] beneficiary
|
1824
|
+
# Granted license beneficiary.
|
1825
|
+
# @return [String]
|
1826
|
+
#
|
1827
|
+
# @!attribute [rw] entitlements
|
1828
|
+
# License entitlements.
|
1829
|
+
# @return [Array<Types::Entitlement>]
|
1830
|
+
#
|
1831
|
+
# @!attribute [rw] consumption_configuration
|
1832
|
+
# Configuration for consumption of the license.
|
1833
|
+
# @return [Types::ConsumptionConfiguration]
|
1834
|
+
#
|
1835
|
+
# @!attribute [rw] license_metadata
|
1836
|
+
# Granted license metadata.
|
1837
|
+
# @return [Array<Types::Metadata>]
|
1838
|
+
#
|
1839
|
+
# @!attribute [rw] create_time
|
1840
|
+
# Creation time of the granted license.
|
1841
|
+
# @return [String]
|
1842
|
+
#
|
1843
|
+
# @!attribute [rw] version
|
1844
|
+
# Version of the granted license.
|
1845
|
+
# @return [String]
|
1846
|
+
#
|
1847
|
+
# @!attribute [rw] received_metadata
|
1848
|
+
# Granted license received metadata.
|
1849
|
+
# @return [Types::ReceivedMetadata]
|
1850
|
+
#
|
1851
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GrantedLicense AWS API Documentation
|
1852
|
+
#
|
1853
|
+
class GrantedLicense < Struct.new(
|
1854
|
+
:license_arn,
|
1855
|
+
:license_name,
|
1856
|
+
:product_name,
|
1857
|
+
:product_sku,
|
1858
|
+
:issuer,
|
1859
|
+
:home_region,
|
1860
|
+
:status,
|
1861
|
+
:validity,
|
1862
|
+
:beneficiary,
|
1863
|
+
:entitlements,
|
1864
|
+
:consumption_configuration,
|
1865
|
+
:license_metadata,
|
1866
|
+
:create_time,
|
1867
|
+
:version,
|
1868
|
+
:received_metadata)
|
1869
|
+
SENSITIVE = []
|
1870
|
+
include Aws::Structure
|
1871
|
+
end
|
1872
|
+
|
409
1873
|
# One or more parameter values are not valid.
|
410
1874
|
#
|
411
1875
|
# @!attribute [rw] message
|
@@ -469,6 +1933,141 @@ module Aws::LicenseManager
|
|
469
1933
|
include Aws::Structure
|
470
1934
|
end
|
471
1935
|
|
1936
|
+
# Details about the issuer of a license.
|
1937
|
+
#
|
1938
|
+
# @note When making an API call, you may pass Issuer
|
1939
|
+
# data as a hash:
|
1940
|
+
#
|
1941
|
+
# {
|
1942
|
+
# name: "String", # required
|
1943
|
+
# sign_key: "String",
|
1944
|
+
# }
|
1945
|
+
#
|
1946
|
+
# @!attribute [rw] name
|
1947
|
+
# Issuer name.
|
1948
|
+
# @return [String]
|
1949
|
+
#
|
1950
|
+
# @!attribute [rw] sign_key
|
1951
|
+
# Asymmetric CMK from AWS Key Management Service. The CMK must have a
|
1952
|
+
# key usage of sign and verify, and support the RSASSA-PSS SHA-256
|
1953
|
+
# signing algorithm.
|
1954
|
+
# @return [String]
|
1955
|
+
#
|
1956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Issuer AWS API Documentation
|
1957
|
+
#
|
1958
|
+
class Issuer < Struct.new(
|
1959
|
+
:name,
|
1960
|
+
:sign_key)
|
1961
|
+
SENSITIVE = []
|
1962
|
+
include Aws::Structure
|
1963
|
+
end
|
1964
|
+
|
1965
|
+
# Details associated with the issuer of a license.
|
1966
|
+
#
|
1967
|
+
# @!attribute [rw] name
|
1968
|
+
# Issuer name.
|
1969
|
+
# @return [String]
|
1970
|
+
#
|
1971
|
+
# @!attribute [rw] sign_key
|
1972
|
+
# Asymmetric CMK from AWS Key Management Service. The CMK must have a
|
1973
|
+
# key usage of sign and verify, and support the RSASSA-PSS SHA-256
|
1974
|
+
# signing algorithm.
|
1975
|
+
# @return [String]
|
1976
|
+
#
|
1977
|
+
# @!attribute [rw] key_fingerprint
|
1978
|
+
# Issuer key fingerprint.
|
1979
|
+
# @return [String]
|
1980
|
+
#
|
1981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/IssuerDetails AWS API Documentation
|
1982
|
+
#
|
1983
|
+
class IssuerDetails < Struct.new(
|
1984
|
+
:name,
|
1985
|
+
:sign_key,
|
1986
|
+
:key_fingerprint)
|
1987
|
+
SENSITIVE = []
|
1988
|
+
include Aws::Structure
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
# Software license that is managed in AWS License Manager.
|
1992
|
+
#
|
1993
|
+
# @!attribute [rw] license_arn
|
1994
|
+
# Amazon Resource Name (ARN) of the license.
|
1995
|
+
# @return [String]
|
1996
|
+
#
|
1997
|
+
# @!attribute [rw] license_name
|
1998
|
+
# License name.
|
1999
|
+
# @return [String]
|
2000
|
+
#
|
2001
|
+
# @!attribute [rw] product_name
|
2002
|
+
# Product name.
|
2003
|
+
# @return [String]
|
2004
|
+
#
|
2005
|
+
# @!attribute [rw] product_sku
|
2006
|
+
# Product SKU.
|
2007
|
+
# @return [String]
|
2008
|
+
#
|
2009
|
+
# @!attribute [rw] issuer
|
2010
|
+
# License issuer.
|
2011
|
+
# @return [Types::IssuerDetails]
|
2012
|
+
#
|
2013
|
+
# @!attribute [rw] home_region
|
2014
|
+
# Home Region of the license.
|
2015
|
+
# @return [String]
|
2016
|
+
#
|
2017
|
+
# @!attribute [rw] status
|
2018
|
+
# License status.
|
2019
|
+
# @return [String]
|
2020
|
+
#
|
2021
|
+
# @!attribute [rw] validity
|
2022
|
+
# Date and time range during which the license is valid, in
|
2023
|
+
# ISO8601-UTC format.
|
2024
|
+
# @return [Types::DatetimeRange]
|
2025
|
+
#
|
2026
|
+
# @!attribute [rw] beneficiary
|
2027
|
+
# License beneficiary.
|
2028
|
+
# @return [String]
|
2029
|
+
#
|
2030
|
+
# @!attribute [rw] entitlements
|
2031
|
+
# License entitlements.
|
2032
|
+
# @return [Array<Types::Entitlement>]
|
2033
|
+
#
|
2034
|
+
# @!attribute [rw] consumption_configuration
|
2035
|
+
# Configuration for consumption of the license.
|
2036
|
+
# @return [Types::ConsumptionConfiguration]
|
2037
|
+
#
|
2038
|
+
# @!attribute [rw] license_metadata
|
2039
|
+
# License metadata.
|
2040
|
+
# @return [Array<Types::Metadata>]
|
2041
|
+
#
|
2042
|
+
# @!attribute [rw] create_time
|
2043
|
+
# License creation time.
|
2044
|
+
# @return [String]
|
2045
|
+
#
|
2046
|
+
# @!attribute [rw] version
|
2047
|
+
# License version.
|
2048
|
+
# @return [String]
|
2049
|
+
#
|
2050
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/License AWS API Documentation
|
2051
|
+
#
|
2052
|
+
class License < Struct.new(
|
2053
|
+
:license_arn,
|
2054
|
+
:license_name,
|
2055
|
+
:product_name,
|
2056
|
+
:product_sku,
|
2057
|
+
:issuer,
|
2058
|
+
:home_region,
|
2059
|
+
:status,
|
2060
|
+
:validity,
|
2061
|
+
:beneficiary,
|
2062
|
+
:entitlements,
|
2063
|
+
:consumption_configuration,
|
2064
|
+
:license_metadata,
|
2065
|
+
:create_time,
|
2066
|
+
:version)
|
2067
|
+
SENSITIVE = []
|
2068
|
+
include Aws::Structure
|
2069
|
+
end
|
2070
|
+
|
472
2071
|
# A license configuration is an abstraction of a customer license
|
473
2072
|
# agreement that can be consumed and enforced by License Manager.
|
474
2073
|
# Components include specifications for the license type (licensing by
|
@@ -509,6 +2108,10 @@ module Aws::LicenseManager
|
|
509
2108
|
# Number of available licenses as a hard limit.
|
510
2109
|
# @return [Boolean]
|
511
2110
|
#
|
2111
|
+
# @!attribute [rw] disassociate_when_not_found
|
2112
|
+
# When true, disassociates a resource when software is uninstalled.
|
2113
|
+
# @return [Boolean]
|
2114
|
+
#
|
512
2115
|
# @!attribute [rw] consumed_licenses
|
513
2116
|
# Number of licenses consumed.
|
514
2117
|
# @return [Integer]
|
@@ -548,6 +2151,7 @@ module Aws::LicenseManager
|
|
548
2151
|
:license_rules,
|
549
2152
|
:license_count,
|
550
2153
|
:license_count_hard_limit,
|
2154
|
+
:disassociate_when_not_found,
|
551
2155
|
:consumed_licenses,
|
552
2156
|
:status,
|
553
2157
|
:owner_account_id,
|
@@ -578,13 +2182,18 @@ module Aws::LicenseManager
|
|
578
2182
|
# resource.
|
579
2183
|
# @return [Time]
|
580
2184
|
#
|
2185
|
+
# @!attribute [rw] ami_association_scope
|
2186
|
+
# Scope of AMI associations. The possible value is `cross-account`.
|
2187
|
+
# @return [String]
|
2188
|
+
#
|
581
2189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfigurationAssociation AWS API Documentation
|
582
2190
|
#
|
583
2191
|
class LicenseConfigurationAssociation < Struct.new(
|
584
2192
|
:resource_arn,
|
585
2193
|
:resource_type,
|
586
2194
|
:resource_owner_id,
|
587
|
-
:association_time
|
2195
|
+
:association_time,
|
2196
|
+
:ami_association_scope)
|
588
2197
|
SENSITIVE = []
|
589
2198
|
include Aws::Structure
|
590
2199
|
end
|
@@ -686,16 +2295,36 @@ module Aws::LicenseManager
|
|
686
2295
|
#
|
687
2296
|
# {
|
688
2297
|
# license_configuration_arn: "String", # required
|
2298
|
+
# ami_association_scope: "String",
|
689
2299
|
# }
|
690
2300
|
#
|
691
2301
|
# @!attribute [rw] license_configuration_arn
|
692
2302
|
# Amazon Resource Name (ARN) of the license configuration.
|
693
2303
|
# @return [String]
|
694
2304
|
#
|
2305
|
+
# @!attribute [rw] ami_association_scope
|
2306
|
+
# Scope of AMI associations. The possible value is `cross-account`.
|
2307
|
+
# @return [String]
|
2308
|
+
#
|
695
2309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseSpecification AWS API Documentation
|
696
2310
|
#
|
697
2311
|
class LicenseSpecification < Struct.new(
|
698
|
-
:license_configuration_arn
|
2312
|
+
:license_configuration_arn,
|
2313
|
+
:ami_association_scope)
|
2314
|
+
SENSITIVE = []
|
2315
|
+
include Aws::Structure
|
2316
|
+
end
|
2317
|
+
|
2318
|
+
# Describes the entitlement usage associated with a license.
|
2319
|
+
#
|
2320
|
+
# @!attribute [rw] entitlement_usages
|
2321
|
+
# License entitlement usages.
|
2322
|
+
# @return [Array<Types::EntitlementUsage>]
|
2323
|
+
#
|
2324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseUsage AWS API Documentation
|
2325
|
+
#
|
2326
|
+
class LicenseUsage < Struct.new(
|
2327
|
+
:entitlement_usages)
|
699
2328
|
SENSITIVE = []
|
700
2329
|
include Aws::Structure
|
701
2330
|
end
|
@@ -762,6 +2391,73 @@ module Aws::LicenseManager
|
|
762
2391
|
include Aws::Structure
|
763
2392
|
end
|
764
2393
|
|
2394
|
+
# @note When making an API call, you may pass ListDistributedGrantsRequest
|
2395
|
+
# data as a hash:
|
2396
|
+
#
|
2397
|
+
# {
|
2398
|
+
# grant_arns: ["Arn"],
|
2399
|
+
# filters: [
|
2400
|
+
# {
|
2401
|
+
# name: "FilterName",
|
2402
|
+
# values: ["FilterValue"],
|
2403
|
+
# },
|
2404
|
+
# ],
|
2405
|
+
# next_token: "String",
|
2406
|
+
# max_results: 1,
|
2407
|
+
# }
|
2408
|
+
#
|
2409
|
+
# @!attribute [rw] grant_arns
|
2410
|
+
# Amazon Resource Names (ARNs) of the grants.
|
2411
|
+
# @return [Array<String>]
|
2412
|
+
#
|
2413
|
+
# @!attribute [rw] filters
|
2414
|
+
# Filters to scope the results. The following filters are supported:
|
2415
|
+
#
|
2416
|
+
# * `LicenseARN`
|
2417
|
+
#
|
2418
|
+
# * `Status`
|
2419
|
+
#
|
2420
|
+
# * `PrincipalARN`
|
2421
|
+
#
|
2422
|
+
# * `ParentARN`
|
2423
|
+
# @return [Array<Types::Filter>]
|
2424
|
+
#
|
2425
|
+
# @!attribute [rw] next_token
|
2426
|
+
# Token for the next set of results.
|
2427
|
+
# @return [String]
|
2428
|
+
#
|
2429
|
+
# @!attribute [rw] max_results
|
2430
|
+
# Maximum number of results to return in a single call.
|
2431
|
+
# @return [Integer]
|
2432
|
+
#
|
2433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrantsRequest AWS API Documentation
|
2434
|
+
#
|
2435
|
+
class ListDistributedGrantsRequest < Struct.new(
|
2436
|
+
:grant_arns,
|
2437
|
+
:filters,
|
2438
|
+
:next_token,
|
2439
|
+
:max_results)
|
2440
|
+
SENSITIVE = []
|
2441
|
+
include Aws::Structure
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
# @!attribute [rw] grants
|
2445
|
+
# Distributed grant details.
|
2446
|
+
# @return [Array<Types::Grant>]
|
2447
|
+
#
|
2448
|
+
# @!attribute [rw] next_token
|
2449
|
+
# Token for the next set of results.
|
2450
|
+
# @return [String]
|
2451
|
+
#
|
2452
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrantsResponse AWS API Documentation
|
2453
|
+
#
|
2454
|
+
class ListDistributedGrantsResponse < Struct.new(
|
2455
|
+
:grants,
|
2456
|
+
:next_token)
|
2457
|
+
SENSITIVE = []
|
2458
|
+
include Aws::Structure
|
2459
|
+
end
|
2460
|
+
|
765
2461
|
# @note When making an API call, you may pass ListFailuresForLicenseConfigurationOperationsRequest
|
766
2462
|
# data as a hash:
|
767
2463
|
#
|
@@ -833,99 +2529,344 @@ module Aws::LicenseManager
|
|
833
2529
|
# Maximum number of results to return in a single call.
|
834
2530
|
# @return [Integer]
|
835
2531
|
#
|
836
|
-
# @!attribute [rw] next_token
|
837
|
-
# Token for the next set of results.
|
838
|
-
# @return [String]
|
2532
|
+
# @!attribute [rw] next_token
|
2533
|
+
# Token for the next set of results.
|
2534
|
+
# @return [String]
|
2535
|
+
#
|
2536
|
+
# @!attribute [rw] filters
|
2537
|
+
# Filters to scope the results. The following filters and logical
|
2538
|
+
# operators are supported:
|
2539
|
+
#
|
2540
|
+
# * `licenseCountingType` - The dimension on which licenses are
|
2541
|
+
# counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
|
2542
|
+
# `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
2543
|
+
#
|
2544
|
+
# * `enforceLicenseCount` - A Boolean value that indicates whether
|
2545
|
+
# hard license enforcement is used. Logical operators are `EQUALS`
|
2546
|
+
# \| `NOT_EQUALS`.
|
2547
|
+
#
|
2548
|
+
# * `usagelimitExceeded` - A Boolean value that indicates whether the
|
2549
|
+
# available licenses have been exceeded. Logical operators are
|
2550
|
+
# `EQUALS` \| `NOT_EQUALS`.
|
2551
|
+
# @return [Array<Types::Filter>]
|
2552
|
+
#
|
2553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsRequest AWS API Documentation
|
2554
|
+
#
|
2555
|
+
class ListLicenseConfigurationsRequest < Struct.new(
|
2556
|
+
:license_configuration_arns,
|
2557
|
+
:max_results,
|
2558
|
+
:next_token,
|
2559
|
+
:filters)
|
2560
|
+
SENSITIVE = []
|
2561
|
+
include Aws::Structure
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
# @!attribute [rw] license_configurations
|
2565
|
+
# Information about the license configurations.
|
2566
|
+
# @return [Array<Types::LicenseConfiguration>]
|
2567
|
+
#
|
2568
|
+
# @!attribute [rw] next_token
|
2569
|
+
# Token for the next set of results.
|
2570
|
+
# @return [String]
|
2571
|
+
#
|
2572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsResponse AWS API Documentation
|
2573
|
+
#
|
2574
|
+
class ListLicenseConfigurationsResponse < Struct.new(
|
2575
|
+
:license_configurations,
|
2576
|
+
:next_token)
|
2577
|
+
SENSITIVE = []
|
2578
|
+
include Aws::Structure
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
# @note When making an API call, you may pass ListLicenseSpecificationsForResourceRequest
|
2582
|
+
# data as a hash:
|
2583
|
+
#
|
2584
|
+
# {
|
2585
|
+
# resource_arn: "String", # required
|
2586
|
+
# max_results: 1,
|
2587
|
+
# next_token: "String",
|
2588
|
+
# }
|
2589
|
+
#
|
2590
|
+
# @!attribute [rw] resource_arn
|
2591
|
+
# Amazon Resource Name (ARN) of a resource that has an associated
|
2592
|
+
# license configuration.
|
2593
|
+
# @return [String]
|
2594
|
+
#
|
2595
|
+
# @!attribute [rw] max_results
|
2596
|
+
# Maximum number of results to return in a single call.
|
2597
|
+
# @return [Integer]
|
2598
|
+
#
|
2599
|
+
# @!attribute [rw] next_token
|
2600
|
+
# Token for the next set of results.
|
2601
|
+
# @return [String]
|
2602
|
+
#
|
2603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResourceRequest AWS API Documentation
|
2604
|
+
#
|
2605
|
+
class ListLicenseSpecificationsForResourceRequest < Struct.new(
|
2606
|
+
:resource_arn,
|
2607
|
+
:max_results,
|
2608
|
+
:next_token)
|
2609
|
+
SENSITIVE = []
|
2610
|
+
include Aws::Structure
|
2611
|
+
end
|
2612
|
+
|
2613
|
+
# @!attribute [rw] license_specifications
|
2614
|
+
# License configurations associated with a resource.
|
2615
|
+
# @return [Array<Types::LicenseSpecification>]
|
2616
|
+
#
|
2617
|
+
# @!attribute [rw] next_token
|
2618
|
+
# Token for the next set of results.
|
2619
|
+
# @return [String]
|
2620
|
+
#
|
2621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResourceResponse AWS API Documentation
|
2622
|
+
#
|
2623
|
+
class ListLicenseSpecificationsForResourceResponse < Struct.new(
|
2624
|
+
:license_specifications,
|
2625
|
+
:next_token)
|
2626
|
+
SENSITIVE = []
|
2627
|
+
include Aws::Structure
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# @note When making an API call, you may pass ListLicenseVersionsRequest
|
2631
|
+
# data as a hash:
|
2632
|
+
#
|
2633
|
+
# {
|
2634
|
+
# license_arn: "Arn", # required
|
2635
|
+
# next_token: "String",
|
2636
|
+
# max_results: 1,
|
2637
|
+
# }
|
2638
|
+
#
|
2639
|
+
# @!attribute [rw] license_arn
|
2640
|
+
# Amazon Resource Name (ARN) of the license.
|
2641
|
+
# @return [String]
|
2642
|
+
#
|
2643
|
+
# @!attribute [rw] next_token
|
2644
|
+
# Token for the next set of results.
|
2645
|
+
# @return [String]
|
2646
|
+
#
|
2647
|
+
# @!attribute [rw] max_results
|
2648
|
+
# Maximum number of results to return in a single call.
|
2649
|
+
# @return [Integer]
|
2650
|
+
#
|
2651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseVersionsRequest AWS API Documentation
|
2652
|
+
#
|
2653
|
+
class ListLicenseVersionsRequest < Struct.new(
|
2654
|
+
:license_arn,
|
2655
|
+
:next_token,
|
2656
|
+
:max_results)
|
2657
|
+
SENSITIVE = []
|
2658
|
+
include Aws::Structure
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
# @!attribute [rw] licenses
|
2662
|
+
# License details.
|
2663
|
+
# @return [Array<Types::License>]
|
2664
|
+
#
|
2665
|
+
# @!attribute [rw] next_token
|
2666
|
+
# Token for the next set of results.
|
2667
|
+
# @return [String]
|
2668
|
+
#
|
2669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseVersionsResponse AWS API Documentation
|
2670
|
+
#
|
2671
|
+
class ListLicenseVersionsResponse < Struct.new(
|
2672
|
+
:licenses,
|
2673
|
+
:next_token)
|
2674
|
+
SENSITIVE = []
|
2675
|
+
include Aws::Structure
|
2676
|
+
end
|
2677
|
+
|
2678
|
+
# @note When making an API call, you may pass ListLicensesRequest
|
2679
|
+
# data as a hash:
|
2680
|
+
#
|
2681
|
+
# {
|
2682
|
+
# license_arns: ["Arn"],
|
2683
|
+
# filters: [
|
2684
|
+
# {
|
2685
|
+
# name: "FilterName",
|
2686
|
+
# values: ["FilterValue"],
|
2687
|
+
# },
|
2688
|
+
# ],
|
2689
|
+
# next_token: "String",
|
2690
|
+
# max_results: 1,
|
2691
|
+
# }
|
2692
|
+
#
|
2693
|
+
# @!attribute [rw] license_arns
|
2694
|
+
# Amazon Resource Names (ARNs) of the licenses.
|
2695
|
+
# @return [Array<String>]
|
2696
|
+
#
|
2697
|
+
# @!attribute [rw] filters
|
2698
|
+
# Filters to scope the results. The following filters are supported:
|
2699
|
+
#
|
2700
|
+
# * `Beneficiary`
|
2701
|
+
#
|
2702
|
+
# * `ProductSKU`
|
2703
|
+
#
|
2704
|
+
# * `KeyFingerprint`
|
2705
|
+
#
|
2706
|
+
# * `Status`
|
2707
|
+
# @return [Array<Types::Filter>]
|
2708
|
+
#
|
2709
|
+
# @!attribute [rw] next_token
|
2710
|
+
# Token for the next set of results.
|
2711
|
+
# @return [String]
|
2712
|
+
#
|
2713
|
+
# @!attribute [rw] max_results
|
2714
|
+
# Maximum number of results to return in a single call.
|
2715
|
+
# @return [Integer]
|
2716
|
+
#
|
2717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicensesRequest AWS API Documentation
|
2718
|
+
#
|
2719
|
+
class ListLicensesRequest < Struct.new(
|
2720
|
+
:license_arns,
|
2721
|
+
:filters,
|
2722
|
+
:next_token,
|
2723
|
+
:max_results)
|
2724
|
+
SENSITIVE = []
|
2725
|
+
include Aws::Structure
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
# @!attribute [rw] licenses
|
2729
|
+
# License details.
|
2730
|
+
# @return [Array<Types::License>]
|
2731
|
+
#
|
2732
|
+
# @!attribute [rw] next_token
|
2733
|
+
# Token for the next set of results.
|
2734
|
+
# @return [String]
|
2735
|
+
#
|
2736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicensesResponse AWS API Documentation
|
2737
|
+
#
|
2738
|
+
class ListLicensesResponse < Struct.new(
|
2739
|
+
:licenses,
|
2740
|
+
:next_token)
|
2741
|
+
SENSITIVE = []
|
2742
|
+
include Aws::Structure
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
# @note When making an API call, you may pass ListReceivedGrantsRequest
|
2746
|
+
# data as a hash:
|
2747
|
+
#
|
2748
|
+
# {
|
2749
|
+
# grant_arns: ["Arn"],
|
2750
|
+
# filters: [
|
2751
|
+
# {
|
2752
|
+
# name: "FilterName",
|
2753
|
+
# values: ["FilterValue"],
|
2754
|
+
# },
|
2755
|
+
# ],
|
2756
|
+
# next_token: "String",
|
2757
|
+
# max_results: 1,
|
2758
|
+
# }
|
2759
|
+
#
|
2760
|
+
# @!attribute [rw] grant_arns
|
2761
|
+
# Amazon Resource Names (ARNs) of the grants.
|
2762
|
+
# @return [Array<String>]
|
839
2763
|
#
|
840
2764
|
# @!attribute [rw] filters
|
841
|
-
# Filters to scope the results. The following filters
|
842
|
-
# operators are supported:
|
843
|
-
#
|
844
|
-
# * `licenseCountingType` - The dimension on which licenses are
|
845
|
-
# counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
|
846
|
-
# `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
2765
|
+
# Filters to scope the results. The following filters are supported:
|
847
2766
|
#
|
848
|
-
# * `
|
849
|
-
# hard license enforcement is used. Logical operators are `EQUALS`
|
850
|
-
# \| `NOT_EQUALS`.
|
2767
|
+
# * `LicenseARN`
|
851
2768
|
#
|
852
|
-
# * `
|
853
|
-
# available licenses have been exceeded. Logical operators are
|
854
|
-
# `EQUALS` \| `NOT_EQUALS`.
|
2769
|
+
# * `Status`
|
855
2770
|
# @return [Array<Types::Filter>]
|
856
2771
|
#
|
857
|
-
#
|
2772
|
+
# @!attribute [rw] next_token
|
2773
|
+
# Token for the next set of results.
|
2774
|
+
# @return [String]
|
858
2775
|
#
|
859
|
-
|
860
|
-
|
861
|
-
|
2776
|
+
# @!attribute [rw] max_results
|
2777
|
+
# Maximum number of results to return in a single call.
|
2778
|
+
# @return [Integer]
|
2779
|
+
#
|
2780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsRequest AWS API Documentation
|
2781
|
+
#
|
2782
|
+
class ListReceivedGrantsRequest < Struct.new(
|
2783
|
+
:grant_arns,
|
2784
|
+
:filters,
|
862
2785
|
:next_token,
|
863
|
-
:
|
2786
|
+
:max_results)
|
864
2787
|
SENSITIVE = []
|
865
2788
|
include Aws::Structure
|
866
2789
|
end
|
867
2790
|
|
868
|
-
# @!attribute [rw]
|
869
|
-
#
|
870
|
-
# @return [Array<Types::
|
2791
|
+
# @!attribute [rw] grants
|
2792
|
+
# Received grant details.
|
2793
|
+
# @return [Array<Types::Grant>]
|
871
2794
|
#
|
872
2795
|
# @!attribute [rw] next_token
|
873
2796
|
# Token for the next set of results.
|
874
2797
|
# @return [String]
|
875
2798
|
#
|
876
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
2799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsResponse AWS API Documentation
|
877
2800
|
#
|
878
|
-
class
|
879
|
-
:
|
2801
|
+
class ListReceivedGrantsResponse < Struct.new(
|
2802
|
+
:grants,
|
880
2803
|
:next_token)
|
881
2804
|
SENSITIVE = []
|
882
2805
|
include Aws::Structure
|
883
2806
|
end
|
884
2807
|
|
885
|
-
# @note When making an API call, you may pass
|
2808
|
+
# @note When making an API call, you may pass ListReceivedLicensesRequest
|
886
2809
|
# data as a hash:
|
887
2810
|
#
|
888
2811
|
# {
|
889
|
-
#
|
890
|
-
#
|
2812
|
+
# license_arns: ["Arn"],
|
2813
|
+
# filters: [
|
2814
|
+
# {
|
2815
|
+
# name: "FilterName",
|
2816
|
+
# values: ["FilterValue"],
|
2817
|
+
# },
|
2818
|
+
# ],
|
891
2819
|
# next_token: "String",
|
2820
|
+
# max_results: 1,
|
892
2821
|
# }
|
893
2822
|
#
|
894
|
-
# @!attribute [rw]
|
895
|
-
# Amazon Resource
|
896
|
-
#
|
897
|
-
# @return [String]
|
2823
|
+
# @!attribute [rw] license_arns
|
2824
|
+
# Amazon Resource Names (ARNs) of the licenses.
|
2825
|
+
# @return [Array<String>]
|
898
2826
|
#
|
899
|
-
# @!attribute [rw]
|
900
|
-
#
|
901
|
-
#
|
2827
|
+
# @!attribute [rw] filters
|
2828
|
+
# Filters to scope the results. The following filters are supported:
|
2829
|
+
#
|
2830
|
+
# * `ProductSKU`
|
2831
|
+
#
|
2832
|
+
# * `Status`
|
2833
|
+
#
|
2834
|
+
# * `KeyFingerprint`
|
2835
|
+
#
|
2836
|
+
# * `Issuer`
|
2837
|
+
# @return [Array<Types::Filter>]
|
902
2838
|
#
|
903
2839
|
# @!attribute [rw] next_token
|
904
2840
|
# Token for the next set of results.
|
905
2841
|
# @return [String]
|
906
2842
|
#
|
907
|
-
#
|
2843
|
+
# @!attribute [rw] max_results
|
2844
|
+
# Maximum number of results to return in a single call.
|
2845
|
+
# @return [Integer]
|
908
2846
|
#
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
:
|
2847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesRequest AWS API Documentation
|
2848
|
+
#
|
2849
|
+
class ListReceivedLicensesRequest < Struct.new(
|
2850
|
+
:license_arns,
|
2851
|
+
:filters,
|
2852
|
+
:next_token,
|
2853
|
+
:max_results)
|
913
2854
|
SENSITIVE = []
|
914
2855
|
include Aws::Structure
|
915
2856
|
end
|
916
2857
|
|
917
|
-
# @!attribute [rw]
|
918
|
-
#
|
919
|
-
# @return [Array<Types::
|
2858
|
+
# @!attribute [rw] licenses
|
2859
|
+
# Received license details.
|
2860
|
+
# @return [Array<Types::GrantedLicense>]
|
920
2861
|
#
|
921
2862
|
# @!attribute [rw] next_token
|
922
2863
|
# Token for the next set of results.
|
923
2864
|
# @return [String]
|
924
2865
|
#
|
925
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
2866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesResponse AWS API Documentation
|
926
2867
|
#
|
927
|
-
class
|
928
|
-
:
|
2868
|
+
class ListReceivedLicensesResponse < Struct.new(
|
2869
|
+
:licenses,
|
929
2870
|
:next_token)
|
930
2871
|
SENSITIVE = []
|
931
2872
|
include Aws::Structure
|
@@ -974,6 +2915,10 @@ module Aws::LicenseManager
|
|
974
2915
|
#
|
975
2916
|
# * `resource_id` - The ID of the resource. Logical operators are
|
976
2917
|
# `EQUALS` \| `NOT_EQUALS`.
|
2918
|
+
#
|
2919
|
+
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
2920
|
+
# resource. Logical operators are `EQUALS` (single account) or
|
2921
|
+
# `EQUALS` \| `NOT_EQUALS` (cross account).
|
977
2922
|
# @return [Array<Types::InventoryFilter>]
|
978
2923
|
#
|
979
2924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventoryRequest AWS API Documentation
|
@@ -1034,6 +2979,69 @@ module Aws::LicenseManager
|
|
1034
2979
|
include Aws::Structure
|
1035
2980
|
end
|
1036
2981
|
|
2982
|
+
# @note When making an API call, you may pass ListTokensRequest
|
2983
|
+
# data as a hash:
|
2984
|
+
#
|
2985
|
+
# {
|
2986
|
+
# token_ids: ["String"],
|
2987
|
+
# filters: [
|
2988
|
+
# {
|
2989
|
+
# name: "FilterName",
|
2990
|
+
# values: ["FilterValue"],
|
2991
|
+
# },
|
2992
|
+
# ],
|
2993
|
+
# next_token: "String",
|
2994
|
+
# max_results: 1,
|
2995
|
+
# }
|
2996
|
+
#
|
2997
|
+
# @!attribute [rw] token_ids
|
2998
|
+
# Token IDs.
|
2999
|
+
# @return [Array<String>]
|
3000
|
+
#
|
3001
|
+
# @!attribute [rw] filters
|
3002
|
+
# Filters to scope the results. The following filter is supported:
|
3003
|
+
#
|
3004
|
+
# * `licenseArns`
|
3005
|
+
#
|
3006
|
+
# ^
|
3007
|
+
# @return [Array<Types::Filter>]
|
3008
|
+
#
|
3009
|
+
# @!attribute [rw] next_token
|
3010
|
+
# Token for the next set of results.
|
3011
|
+
# @return [String]
|
3012
|
+
#
|
3013
|
+
# @!attribute [rw] max_results
|
3014
|
+
# Maximum number of results to return in a single call.
|
3015
|
+
# @return [Integer]
|
3016
|
+
#
|
3017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTokensRequest AWS API Documentation
|
3018
|
+
#
|
3019
|
+
class ListTokensRequest < Struct.new(
|
3020
|
+
:token_ids,
|
3021
|
+
:filters,
|
3022
|
+
:next_token,
|
3023
|
+
:max_results)
|
3024
|
+
SENSITIVE = []
|
3025
|
+
include Aws::Structure
|
3026
|
+
end
|
3027
|
+
|
3028
|
+
# @!attribute [rw] tokens
|
3029
|
+
# Received token details.
|
3030
|
+
# @return [Array<Types::TokenData>]
|
3031
|
+
#
|
3032
|
+
# @!attribute [rw] next_token
|
3033
|
+
# Token for the next set of results.
|
3034
|
+
# @return [String]
|
3035
|
+
#
|
3036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTokensResponse AWS API Documentation
|
3037
|
+
#
|
3038
|
+
class ListTokensResponse < Struct.new(
|
3039
|
+
:tokens,
|
3040
|
+
:next_token)
|
3041
|
+
SENSITIVE = []
|
3042
|
+
include Aws::Structure
|
3043
|
+
end
|
3044
|
+
|
1037
3045
|
# @note When making an API call, you may pass ListUsageForLicenseConfigurationRequest
|
1038
3046
|
# data as a hash:
|
1039
3047
|
#
|
@@ -1068,8 +3076,8 @@ module Aws::LicenseManager
|
|
1068
3076
|
# * `resourceArn` - The ARN of the license configuration resource.
|
1069
3077
|
# Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
1070
3078
|
#
|
1071
|
-
# * `resourceType` - The resource type (
|
1072
|
-
#
|
3079
|
+
# * `resourceType` - The resource type (`EC2_INSTANCE` \| `EC2_HOST`
|
3080
|
+
# \| `EC2_AMI` \| `SYSTEMS_MANAGER_MANAGED_INSTANCE`). Logical
|
1073
3081
|
# operators are `EQUALS` \| `NOT_EQUALS`.
|
1074
3082
|
#
|
1075
3083
|
# * `resourceAccount` - The ID of the account that owns the resource.
|
@@ -1123,14 +3131,22 @@ module Aws::LicenseManager
|
|
1123
3131
|
include Aws::Structure
|
1124
3132
|
end
|
1125
3133
|
|
1126
|
-
#
|
3134
|
+
# Describes key/value pairs.
|
3135
|
+
#
|
3136
|
+
# @note When making an API call, you may pass Metadata
|
3137
|
+
# data as a hash:
|
3138
|
+
#
|
3139
|
+
# {
|
3140
|
+
# name: "String",
|
3141
|
+
# value: "String",
|
3142
|
+
# }
|
1127
3143
|
#
|
1128
3144
|
# @!attribute [rw] name
|
1129
|
-
#
|
3145
|
+
# The key name.
|
1130
3146
|
# @return [String]
|
1131
3147
|
#
|
1132
3148
|
# @!attribute [rw] value
|
1133
|
-
#
|
3149
|
+
# The value.
|
1134
3150
|
# @return [String]
|
1135
3151
|
#
|
1136
3152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Metadata AWS API Documentation
|
@@ -1142,6 +3158,20 @@ module Aws::LicenseManager
|
|
1142
3158
|
include Aws::Structure
|
1143
3159
|
end
|
1144
3160
|
|
3161
|
+
# There are no entitlements found for this license, or the entitlement
|
3162
|
+
# maximum count is reached.
|
3163
|
+
#
|
3164
|
+
# @!attribute [rw] message
|
3165
|
+
# @return [String]
|
3166
|
+
#
|
3167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/NoEntitlementsAllowedException AWS API Documentation
|
3168
|
+
#
|
3169
|
+
class NoEntitlementsAllowedException < Struct.new(
|
3170
|
+
:message)
|
3171
|
+
SENSITIVE = []
|
3172
|
+
include Aws::Structure
|
3173
|
+
end
|
3174
|
+
|
1145
3175
|
# Configuration information for AWS Organizations.
|
1146
3176
|
#
|
1147
3177
|
# @note When making an API call, you may pass OrganizationConfiguration
|
@@ -1262,6 +3292,27 @@ module Aws::LicenseManager
|
|
1262
3292
|
include Aws::Structure
|
1263
3293
|
end
|
1264
3294
|
|
3295
|
+
# Details about a provisional configuration.
|
3296
|
+
#
|
3297
|
+
# @note When making an API call, you may pass ProvisionalConfiguration
|
3298
|
+
# data as a hash:
|
3299
|
+
#
|
3300
|
+
# {
|
3301
|
+
# max_time_to_live_in_minutes: 1, # required
|
3302
|
+
# }
|
3303
|
+
#
|
3304
|
+
# @!attribute [rw] max_time_to_live_in_minutes
|
3305
|
+
# Maximum time for the provisional configuration, in minutes.
|
3306
|
+
# @return [Integer]
|
3307
|
+
#
|
3308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ProvisionalConfiguration AWS API Documentation
|
3309
|
+
#
|
3310
|
+
class ProvisionalConfiguration < Struct.new(
|
3311
|
+
:max_time_to_live_in_minutes)
|
3312
|
+
SENSITIVE = []
|
3313
|
+
include Aws::Structure
|
3314
|
+
end
|
3315
|
+
|
1265
3316
|
# Too many requests have been submitted. Try again after a brief wait.
|
1266
3317
|
#
|
1267
3318
|
# @!attribute [rw] message
|
@@ -1275,6 +3326,83 @@ module Aws::LicenseManager
|
|
1275
3326
|
include Aws::Structure
|
1276
3327
|
end
|
1277
3328
|
|
3329
|
+
# Metadata associated with received licenses and grants.
|
3330
|
+
#
|
3331
|
+
# @!attribute [rw] received_status
|
3332
|
+
# Received status.
|
3333
|
+
# @return [String]
|
3334
|
+
#
|
3335
|
+
# @!attribute [rw] allowed_operations
|
3336
|
+
# Allowed operations.
|
3337
|
+
# @return [Array<String>]
|
3338
|
+
#
|
3339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ReceivedMetadata AWS API Documentation
|
3340
|
+
#
|
3341
|
+
class ReceivedMetadata < Struct.new(
|
3342
|
+
:received_status,
|
3343
|
+
:allowed_operations)
|
3344
|
+
SENSITIVE = []
|
3345
|
+
include Aws::Structure
|
3346
|
+
end
|
3347
|
+
|
3348
|
+
# This is not the correct Region for the resource. Try again.
|
3349
|
+
#
|
3350
|
+
# @!attribute [rw] location
|
3351
|
+
# @return [String]
|
3352
|
+
#
|
3353
|
+
# @!attribute [rw] message
|
3354
|
+
# @return [String]
|
3355
|
+
#
|
3356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RedirectException AWS API Documentation
|
3357
|
+
#
|
3358
|
+
class RedirectException < Struct.new(
|
3359
|
+
:location,
|
3360
|
+
:message)
|
3361
|
+
SENSITIVE = []
|
3362
|
+
include Aws::Structure
|
3363
|
+
end
|
3364
|
+
|
3365
|
+
# @note When making an API call, you may pass RejectGrantRequest
|
3366
|
+
# data as a hash:
|
3367
|
+
#
|
3368
|
+
# {
|
3369
|
+
# grant_arn: "Arn", # required
|
3370
|
+
# }
|
3371
|
+
#
|
3372
|
+
# @!attribute [rw] grant_arn
|
3373
|
+
# Amazon Resource Name (ARN) of the grant.
|
3374
|
+
# @return [String]
|
3375
|
+
#
|
3376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrantRequest AWS API Documentation
|
3377
|
+
#
|
3378
|
+
class RejectGrantRequest < Struct.new(
|
3379
|
+
:grant_arn)
|
3380
|
+
SENSITIVE = []
|
3381
|
+
include Aws::Structure
|
3382
|
+
end
|
3383
|
+
|
3384
|
+
# @!attribute [rw] grant_arn
|
3385
|
+
# Grant ARN.
|
3386
|
+
# @return [String]
|
3387
|
+
#
|
3388
|
+
# @!attribute [rw] status
|
3389
|
+
# Grant status.
|
3390
|
+
# @return [String]
|
3391
|
+
#
|
3392
|
+
# @!attribute [rw] version
|
3393
|
+
# Grant version.
|
3394
|
+
# @return [String]
|
3395
|
+
#
|
3396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrantResponse AWS API Documentation
|
3397
|
+
#
|
3398
|
+
class RejectGrantResponse < Struct.new(
|
3399
|
+
:grant_arn,
|
3400
|
+
:status,
|
3401
|
+
:version)
|
3402
|
+
SENSITIVE = []
|
3403
|
+
include Aws::Structure
|
3404
|
+
end
|
3405
|
+
|
1278
3406
|
# Details about a resource.
|
1279
3407
|
#
|
1280
3408
|
# @!attribute [rw] resource_id
|
@@ -1327,6 +3455,19 @@ module Aws::LicenseManager
|
|
1327
3455
|
include Aws::Structure
|
1328
3456
|
end
|
1329
3457
|
|
3458
|
+
# The resource cannot be found.
|
3459
|
+
#
|
3460
|
+
# @!attribute [rw] message
|
3461
|
+
# @return [String]
|
3462
|
+
#
|
3463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ResourceNotFoundException AWS API Documentation
|
3464
|
+
#
|
3465
|
+
class ResourceNotFoundException < Struct.new(
|
3466
|
+
:message)
|
3467
|
+
SENSITIVE = []
|
3468
|
+
include Aws::Structure
|
3469
|
+
end
|
3470
|
+
|
1330
3471
|
# The server experienced an internal error. Try again.
|
1331
3472
|
#
|
1332
3473
|
# @!attribute [rw] message
|
@@ -1401,6 +3542,63 @@ module Aws::LicenseManager
|
|
1401
3542
|
#
|
1402
3543
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1403
3544
|
|
3545
|
+
# Describes a token.
|
3546
|
+
#
|
3547
|
+
# @!attribute [rw] token_id
|
3548
|
+
# Token ID.
|
3549
|
+
# @return [String]
|
3550
|
+
#
|
3551
|
+
# @!attribute [rw] token_type
|
3552
|
+
# Type of token generated. The supported value is `REFRESH_TOKEN`.
|
3553
|
+
# @return [String]
|
3554
|
+
#
|
3555
|
+
# @!attribute [rw] license_arn
|
3556
|
+
# Amazon Resource Name (ARN) of the license.
|
3557
|
+
# @return [String]
|
3558
|
+
#
|
3559
|
+
# @!attribute [rw] expiration_time
|
3560
|
+
# Token expiration time, in ISO8601-UTC format.
|
3561
|
+
# @return [String]
|
3562
|
+
#
|
3563
|
+
# @!attribute [rw] token_properties
|
3564
|
+
# Data specified by the caller.
|
3565
|
+
# @return [Array<String>]
|
3566
|
+
#
|
3567
|
+
# @!attribute [rw] role_arns
|
3568
|
+
# Amazon Resource Names (ARN) of the roles included in the token.
|
3569
|
+
# @return [Array<String>]
|
3570
|
+
#
|
3571
|
+
# @!attribute [rw] status
|
3572
|
+
# Token status. The possible values are `AVAILABLE` and `DELETED`.
|
3573
|
+
# @return [String]
|
3574
|
+
#
|
3575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TokenData AWS API Documentation
|
3576
|
+
#
|
3577
|
+
class TokenData < Struct.new(
|
3578
|
+
:token_id,
|
3579
|
+
:token_type,
|
3580
|
+
:license_arn,
|
3581
|
+
:expiration_time,
|
3582
|
+
:token_properties,
|
3583
|
+
:role_arns,
|
3584
|
+
:status)
|
3585
|
+
SENSITIVE = []
|
3586
|
+
include Aws::Structure
|
3587
|
+
end
|
3588
|
+
|
3589
|
+
# The digital signature method is unsupported. Try your request again.
|
3590
|
+
#
|
3591
|
+
# @!attribute [rw] message
|
3592
|
+
# @return [String]
|
3593
|
+
#
|
3594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UnsupportedDigitalSignatureMethodException AWS API Documentation
|
3595
|
+
#
|
3596
|
+
class UnsupportedDigitalSignatureMethodException < Struct.new(
|
3597
|
+
:message)
|
3598
|
+
SENSITIVE = []
|
3599
|
+
include Aws::Structure
|
3600
|
+
end
|
3601
|
+
|
1404
3602
|
# @note When making an API call, you may pass UntagResourceRequest
|
1405
3603
|
# data as a hash:
|
1406
3604
|
#
|
@@ -1453,6 +3651,7 @@ module Aws::LicenseManager
|
|
1453
3651
|
# ],
|
1454
3652
|
# },
|
1455
3653
|
# ],
|
3654
|
+
# disassociate_when_not_found: false,
|
1456
3655
|
# }
|
1457
3656
|
#
|
1458
3657
|
# @!attribute [rw] license_configuration_arn
|
@@ -1488,6 +3687,10 @@ module Aws::LicenseManager
|
|
1488
3687
|
# New product information.
|
1489
3688
|
# @return [Array<Types::ProductInformation>]
|
1490
3689
|
#
|
3690
|
+
# @!attribute [rw] disassociate_when_not_found
|
3691
|
+
# When true, disassociates a resource when software is uninstalled.
|
3692
|
+
# @return [Boolean]
|
3693
|
+
#
|
1491
3694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfigurationRequest AWS API Documentation
|
1492
3695
|
#
|
1493
3696
|
class UpdateLicenseConfigurationRequest < Struct.new(
|
@@ -1498,7 +3701,8 @@ module Aws::LicenseManager
|
|
1498
3701
|
:license_count_hard_limit,
|
1499
3702
|
:name,
|
1500
3703
|
:description,
|
1501
|
-
:product_information_list
|
3704
|
+
:product_information_list,
|
3705
|
+
:disassociate_when_not_found)
|
1502
3706
|
SENSITIVE = []
|
1503
3707
|
include Aws::Structure
|
1504
3708
|
end
|
@@ -1515,11 +3719,13 @@ module Aws::LicenseManager
|
|
1515
3719
|
# add_license_specifications: [
|
1516
3720
|
# {
|
1517
3721
|
# license_configuration_arn: "String", # required
|
3722
|
+
# ami_association_scope: "String",
|
1518
3723
|
# },
|
1519
3724
|
# ],
|
1520
3725
|
# remove_license_specifications: [
|
1521
3726
|
# {
|
1522
3727
|
# license_configuration_arn: "String", # required
|
3728
|
+
# ami_association_scope: "String",
|
1523
3729
|
# },
|
1524
3730
|
# ],
|
1525
3731
|
# }
|
@@ -1596,5 +3802,18 @@ module Aws::LicenseManager
|
|
1596
3802
|
#
|
1597
3803
|
class UpdateServiceSettingsResponse < Aws::EmptyStructure; end
|
1598
3804
|
|
3805
|
+
# The provided input is not valid. Try your request again.
|
3806
|
+
#
|
3807
|
+
# @!attribute [rw] message
|
3808
|
+
# @return [String]
|
3809
|
+
#
|
3810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ValidationException AWS API Documentation
|
3811
|
+
#
|
3812
|
+
class ValidationException < Struct.new(
|
3813
|
+
:message)
|
3814
|
+
SENSITIVE = []
|
3815
|
+
include Aws::Structure
|
3816
|
+
end
|
3817
|
+
|
1599
3818
|
end
|
1600
3819
|
end
|