aws-sdk-licensemanager 1.21.0 → 1.22.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 +2 -2
- data/lib/aws-sdk-licensemanager/client.rb +1365 -18
- data/lib/aws-sdk-licensemanager/client_api.rb +864 -0
- data/lib/aws-sdk-licensemanager/errors.rb +122 -0
- data/lib/aws-sdk-licensemanager/types.rb +2269 -89
- metadata +2 -2
@@ -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
|
#
|
@@ -149,69 +660,725 @@ module Aws::LicenseManager
|
|
149
660
|
# Tags to add to the license configuration.
|
150
661
|
# @return [Array<Types::Tag>]
|
151
662
|
#
|
152
|
-
# @!attribute [rw] product_information_list
|
153
|
-
# Product information.
|
154
|
-
# @return [Array<Types::ProductInformation>]
|
663
|
+
# @!attribute [rw] product_information_list
|
664
|
+
# Product information.
|
665
|
+
# @return [Array<Types::ProductInformation>]
|
666
|
+
#
|
667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationRequest AWS API Documentation
|
668
|
+
#
|
669
|
+
class CreateLicenseConfigurationRequest < Struct.new(
|
670
|
+
:name,
|
671
|
+
:description,
|
672
|
+
:license_counting_type,
|
673
|
+
:license_count,
|
674
|
+
:license_count_hard_limit,
|
675
|
+
:license_rules,
|
676
|
+
:tags,
|
677
|
+
:product_information_list)
|
678
|
+
SENSITIVE = []
|
679
|
+
include Aws::Structure
|
680
|
+
end
|
681
|
+
|
682
|
+
# @!attribute [rw] license_configuration_arn
|
683
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
684
|
+
# @return [String]
|
685
|
+
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationResponse AWS API Documentation
|
687
|
+
#
|
688
|
+
class CreateLicenseConfigurationResponse < Struct.new(
|
689
|
+
:license_configuration_arn)
|
690
|
+
SENSITIVE = []
|
691
|
+
include Aws::Structure
|
692
|
+
end
|
693
|
+
|
694
|
+
# @note When making an API call, you may pass CreateLicenseRequest
|
695
|
+
# data as a hash:
|
696
|
+
#
|
697
|
+
# {
|
698
|
+
# license_name: "String", # required
|
699
|
+
# product_name: "String", # required
|
700
|
+
# product_sku: "String", # required
|
701
|
+
# issuer: { # required
|
702
|
+
# name: "String", # required
|
703
|
+
# sign_key: "String",
|
704
|
+
# },
|
705
|
+
# home_region: "String", # required
|
706
|
+
# validity: { # required
|
707
|
+
# begin: "ISO8601DateTime", # required
|
708
|
+
# end: "ISO8601DateTime",
|
709
|
+
# },
|
710
|
+
# entitlements: [ # required
|
711
|
+
# {
|
712
|
+
# name: "String", # required
|
713
|
+
# value: "String",
|
714
|
+
# max_count: 1,
|
715
|
+
# overage: false,
|
716
|
+
# 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
|
717
|
+
# allow_check_in: false,
|
718
|
+
# },
|
719
|
+
# ],
|
720
|
+
# beneficiary: "String", # required
|
721
|
+
# consumption_configuration: { # required
|
722
|
+
# renew_type: "None", # accepts None, Weekly, Monthly
|
723
|
+
# provisional_configuration: {
|
724
|
+
# max_time_to_live_in_minutes: 1, # required
|
725
|
+
# },
|
726
|
+
# borrow_configuration: {
|
727
|
+
# allow_early_check_in: false, # required
|
728
|
+
# max_time_to_live_in_minutes: 1, # required
|
729
|
+
# },
|
730
|
+
# },
|
731
|
+
# license_metadata: [
|
732
|
+
# {
|
733
|
+
# name: "String",
|
734
|
+
# value: "String",
|
735
|
+
# },
|
736
|
+
# ],
|
737
|
+
# client_token: "String", # required
|
738
|
+
# }
|
739
|
+
#
|
740
|
+
# @!attribute [rw] license_name
|
741
|
+
# License name.
|
742
|
+
# @return [String]
|
743
|
+
#
|
744
|
+
# @!attribute [rw] product_name
|
745
|
+
# Product name.
|
746
|
+
# @return [String]
|
747
|
+
#
|
748
|
+
# @!attribute [rw] product_sku
|
749
|
+
# Product SKU.
|
750
|
+
# @return [String]
|
751
|
+
#
|
752
|
+
# @!attribute [rw] issuer
|
753
|
+
# License issuer.
|
754
|
+
# @return [Types::Issuer]
|
755
|
+
#
|
756
|
+
# @!attribute [rw] home_region
|
757
|
+
# Home Region for the license.
|
758
|
+
# @return [String]
|
759
|
+
#
|
760
|
+
# @!attribute [rw] validity
|
761
|
+
# Date and time range during which the license is valid, in
|
762
|
+
# ISO8601-UTC format.
|
763
|
+
# @return [Types::DatetimeRange]
|
764
|
+
#
|
765
|
+
# @!attribute [rw] entitlements
|
766
|
+
# License entitlements.
|
767
|
+
# @return [Array<Types::Entitlement>]
|
768
|
+
#
|
769
|
+
# @!attribute [rw] beneficiary
|
770
|
+
# License beneficiary.
|
771
|
+
# @return [String]
|
772
|
+
#
|
773
|
+
# @!attribute [rw] consumption_configuration
|
774
|
+
# Configuration for consumption of the license. Choose a provisional
|
775
|
+
# configuration for workloads running with continuous connectivity.
|
776
|
+
# Choose a borrow configuration for workloads with offline usage.
|
777
|
+
# @return [Types::ConsumptionConfiguration]
|
778
|
+
#
|
779
|
+
# @!attribute [rw] license_metadata
|
780
|
+
# Information about the license.
|
781
|
+
# @return [Array<Types::Metadata>]
|
782
|
+
#
|
783
|
+
# @!attribute [rw] client_token
|
784
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
785
|
+
# idempotency of the request.
|
786
|
+
# @return [String]
|
787
|
+
#
|
788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseRequest AWS API Documentation
|
789
|
+
#
|
790
|
+
class CreateLicenseRequest < Struct.new(
|
791
|
+
:license_name,
|
792
|
+
:product_name,
|
793
|
+
:product_sku,
|
794
|
+
:issuer,
|
795
|
+
:home_region,
|
796
|
+
:validity,
|
797
|
+
:entitlements,
|
798
|
+
:beneficiary,
|
799
|
+
:consumption_configuration,
|
800
|
+
:license_metadata,
|
801
|
+
:client_token)
|
802
|
+
SENSITIVE = []
|
803
|
+
include Aws::Structure
|
804
|
+
end
|
805
|
+
|
806
|
+
# @!attribute [rw] license_arn
|
807
|
+
# Amazon Resource Name (ARN) of the license.
|
808
|
+
# @return [String]
|
809
|
+
#
|
810
|
+
# @!attribute [rw] status
|
811
|
+
# License status.
|
812
|
+
# @return [String]
|
813
|
+
#
|
814
|
+
# @!attribute [rw] version
|
815
|
+
# License version.
|
816
|
+
# @return [String]
|
817
|
+
#
|
818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseResponse AWS API Documentation
|
819
|
+
#
|
820
|
+
class CreateLicenseResponse < Struct.new(
|
821
|
+
:license_arn,
|
822
|
+
:status,
|
823
|
+
:version)
|
824
|
+
SENSITIVE = []
|
825
|
+
include Aws::Structure
|
826
|
+
end
|
827
|
+
|
828
|
+
# @note When making an API call, you may pass CreateLicenseVersionRequest
|
829
|
+
# data as a hash:
|
830
|
+
#
|
831
|
+
# {
|
832
|
+
# license_arn: "Arn", # required
|
833
|
+
# license_name: "String", # required
|
834
|
+
# product_name: "String", # required
|
835
|
+
# issuer: { # required
|
836
|
+
# name: "String", # required
|
837
|
+
# sign_key: "String",
|
838
|
+
# },
|
839
|
+
# home_region: "String", # required
|
840
|
+
# validity: { # required
|
841
|
+
# begin: "ISO8601DateTime", # required
|
842
|
+
# end: "ISO8601DateTime",
|
843
|
+
# },
|
844
|
+
# license_metadata: [
|
845
|
+
# {
|
846
|
+
# name: "String",
|
847
|
+
# value: "String",
|
848
|
+
# },
|
849
|
+
# ],
|
850
|
+
# entitlements: [ # required
|
851
|
+
# {
|
852
|
+
# name: "String", # required
|
853
|
+
# value: "String",
|
854
|
+
# max_count: 1,
|
855
|
+
# overage: false,
|
856
|
+
# 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
|
857
|
+
# allow_check_in: false,
|
858
|
+
# },
|
859
|
+
# ],
|
860
|
+
# consumption_configuration: { # required
|
861
|
+
# renew_type: "None", # accepts None, Weekly, Monthly
|
862
|
+
# provisional_configuration: {
|
863
|
+
# max_time_to_live_in_minutes: 1, # required
|
864
|
+
# },
|
865
|
+
# borrow_configuration: {
|
866
|
+
# allow_early_check_in: false, # required
|
867
|
+
# max_time_to_live_in_minutes: 1, # required
|
868
|
+
# },
|
869
|
+
# },
|
870
|
+
# status: "AVAILABLE", # required, accepts AVAILABLE, PENDING_AVAILABLE, DEACTIVATED, SUSPENDED, EXPIRED, PENDING_DELETE, DELETED
|
871
|
+
# client_token: "String", # required
|
872
|
+
# source_version: "String",
|
873
|
+
# }
|
874
|
+
#
|
875
|
+
# @!attribute [rw] license_arn
|
876
|
+
# Amazon Resource Name (ARN) of the license.
|
877
|
+
# @return [String]
|
878
|
+
#
|
879
|
+
# @!attribute [rw] license_name
|
880
|
+
# License name.
|
881
|
+
# @return [String]
|
882
|
+
#
|
883
|
+
# @!attribute [rw] product_name
|
884
|
+
# Product name.
|
885
|
+
# @return [String]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] issuer
|
888
|
+
# License issuer.
|
889
|
+
# @return [Types::Issuer]
|
890
|
+
#
|
891
|
+
# @!attribute [rw] home_region
|
892
|
+
# Home Region of the license.
|
893
|
+
# @return [String]
|
894
|
+
#
|
895
|
+
# @!attribute [rw] validity
|
896
|
+
# Date and time range during which the license is valid, in
|
897
|
+
# ISO8601-UTC format.
|
898
|
+
# @return [Types::DatetimeRange]
|
899
|
+
#
|
900
|
+
# @!attribute [rw] license_metadata
|
901
|
+
# Information about the license.
|
902
|
+
# @return [Array<Types::Metadata>]
|
903
|
+
#
|
904
|
+
# @!attribute [rw] entitlements
|
905
|
+
# License entitlements.
|
906
|
+
# @return [Array<Types::Entitlement>]
|
907
|
+
#
|
908
|
+
# @!attribute [rw] consumption_configuration
|
909
|
+
# Configuration for consumption of the license. Choose a provisional
|
910
|
+
# configuration for workloads running with continuous connectivity.
|
911
|
+
# Choose a borrow configuration for workloads with offline usage.
|
912
|
+
# @return [Types::ConsumptionConfiguration]
|
913
|
+
#
|
914
|
+
# @!attribute [rw] status
|
915
|
+
# License status.
|
916
|
+
# @return [String]
|
917
|
+
#
|
918
|
+
# @!attribute [rw] client_token
|
919
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
920
|
+
# idempotency of the request.
|
921
|
+
# @return [String]
|
922
|
+
#
|
923
|
+
# @!attribute [rw] source_version
|
924
|
+
# Current version of the license.
|
925
|
+
# @return [String]
|
926
|
+
#
|
927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseVersionRequest AWS API Documentation
|
928
|
+
#
|
929
|
+
class CreateLicenseVersionRequest < Struct.new(
|
930
|
+
:license_arn,
|
931
|
+
:license_name,
|
932
|
+
:product_name,
|
933
|
+
:issuer,
|
934
|
+
:home_region,
|
935
|
+
:validity,
|
936
|
+
:license_metadata,
|
937
|
+
:entitlements,
|
938
|
+
:consumption_configuration,
|
939
|
+
:status,
|
940
|
+
:client_token,
|
941
|
+
:source_version)
|
942
|
+
SENSITIVE = []
|
943
|
+
include Aws::Structure
|
944
|
+
end
|
945
|
+
|
946
|
+
# @!attribute [rw] license_arn
|
947
|
+
# License ARN.
|
948
|
+
# @return [String]
|
949
|
+
#
|
950
|
+
# @!attribute [rw] version
|
951
|
+
# New version of the license.
|
952
|
+
# @return [String]
|
953
|
+
#
|
954
|
+
# @!attribute [rw] status
|
955
|
+
# License status.
|
956
|
+
# @return [String]
|
957
|
+
#
|
958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseVersionResponse AWS API Documentation
|
959
|
+
#
|
960
|
+
class CreateLicenseVersionResponse < Struct.new(
|
961
|
+
:license_arn,
|
962
|
+
:version,
|
963
|
+
:status)
|
964
|
+
SENSITIVE = []
|
965
|
+
include Aws::Structure
|
966
|
+
end
|
967
|
+
|
968
|
+
# @note When making an API call, you may pass CreateTokenRequest
|
969
|
+
# data as a hash:
|
970
|
+
#
|
971
|
+
# {
|
972
|
+
# license_arn: "Arn", # required
|
973
|
+
# role_arns: ["Arn"],
|
974
|
+
# expiration_in_days: 1,
|
975
|
+
# token_properties: ["String"],
|
976
|
+
# client_token: "IdempotencyToken", # required
|
977
|
+
# }
|
978
|
+
#
|
979
|
+
# @!attribute [rw] license_arn
|
980
|
+
# Amazon Resource Name (ARN) of the license. The ARN is mapped to the
|
981
|
+
# aud claim of the JWT token.
|
982
|
+
# @return [String]
|
983
|
+
#
|
984
|
+
# @!attribute [rw] role_arns
|
985
|
+
# Amazon Resource Name (ARN) of the IAM roles to embed in the token.
|
986
|
+
# License Manager does not check whether the roles are in use.
|
987
|
+
# @return [Array<String>]
|
988
|
+
#
|
989
|
+
# @!attribute [rw] expiration_in_days
|
990
|
+
# Token expiration, in days, counted from token creation. The default
|
991
|
+
# is 365 days.
|
992
|
+
# @return [Integer]
|
993
|
+
#
|
994
|
+
# @!attribute [rw] token_properties
|
995
|
+
# Data specified by the caller to be included in the JWT token. The
|
996
|
+
# data is mapped to the amr claim of the JWT token.
|
997
|
+
# @return [Array<String>]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] client_token
|
1000
|
+
# Idempotency token, valid for 10 minutes.
|
1001
|
+
# @return [String]
|
1002
|
+
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateTokenRequest AWS API Documentation
|
1004
|
+
#
|
1005
|
+
class CreateTokenRequest < Struct.new(
|
1006
|
+
:license_arn,
|
1007
|
+
:role_arns,
|
1008
|
+
:expiration_in_days,
|
1009
|
+
:token_properties,
|
1010
|
+
:client_token)
|
1011
|
+
SENSITIVE = []
|
1012
|
+
include Aws::Structure
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# @!attribute [rw] token_id
|
1016
|
+
# Token ID.
|
1017
|
+
# @return [String]
|
1018
|
+
#
|
1019
|
+
# @!attribute [rw] token_type
|
1020
|
+
# Token type.
|
1021
|
+
# @return [String]
|
1022
|
+
#
|
1023
|
+
# @!attribute [rw] token
|
1024
|
+
# Refresh token, encoded as a JWT token.
|
1025
|
+
# @return [String]
|
1026
|
+
#
|
1027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateTokenResponse AWS API Documentation
|
1028
|
+
#
|
1029
|
+
class CreateTokenResponse < Struct.new(
|
1030
|
+
:token_id,
|
1031
|
+
:token_type,
|
1032
|
+
:token)
|
1033
|
+
SENSITIVE = []
|
1034
|
+
include Aws::Structure
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Describes a time range, in ISO8601-UTC format.
|
1038
|
+
#
|
1039
|
+
# @note When making an API call, you may pass DatetimeRange
|
1040
|
+
# data as a hash:
|
1041
|
+
#
|
1042
|
+
# {
|
1043
|
+
# begin: "ISO8601DateTime", # required
|
1044
|
+
# end: "ISO8601DateTime",
|
1045
|
+
# }
|
1046
|
+
#
|
1047
|
+
# @!attribute [rw] begin
|
1048
|
+
# Start of the time range.
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] end
|
1052
|
+
# End of the time range.
|
1053
|
+
# @return [String]
|
1054
|
+
#
|
1055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DatetimeRange AWS API Documentation
|
1056
|
+
#
|
1057
|
+
class DatetimeRange < Struct.new(
|
1058
|
+
:begin,
|
1059
|
+
:end)
|
1060
|
+
SENSITIVE = []
|
1061
|
+
include Aws::Structure
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# @note When making an API call, you may pass DeleteGrantRequest
|
1065
|
+
# data as a hash:
|
1066
|
+
#
|
1067
|
+
# {
|
1068
|
+
# grant_arn: "Arn", # required
|
1069
|
+
# version: "String", # required
|
1070
|
+
# }
|
1071
|
+
#
|
1072
|
+
# @!attribute [rw] grant_arn
|
1073
|
+
# Amazon Resource Name (ARN) of the grant.
|
1074
|
+
# @return [String]
|
1075
|
+
#
|
1076
|
+
# @!attribute [rw] version
|
1077
|
+
# Current version of the grant.
|
1078
|
+
# @return [String]
|
1079
|
+
#
|
1080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrantRequest AWS API Documentation
|
1081
|
+
#
|
1082
|
+
class DeleteGrantRequest < Struct.new(
|
1083
|
+
:grant_arn,
|
1084
|
+
:version)
|
1085
|
+
SENSITIVE = []
|
1086
|
+
include Aws::Structure
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# @!attribute [rw] grant_arn
|
1090
|
+
# Grant ARN.
|
1091
|
+
# @return [String]
|
1092
|
+
#
|
1093
|
+
# @!attribute [rw] status
|
1094
|
+
# Grant status.
|
1095
|
+
# @return [String]
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] version
|
1098
|
+
# Grant version.
|
1099
|
+
# @return [String]
|
1100
|
+
#
|
1101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrantResponse AWS API Documentation
|
1102
|
+
#
|
1103
|
+
class DeleteGrantResponse < Struct.new(
|
1104
|
+
:grant_arn,
|
1105
|
+
:status,
|
1106
|
+
:version)
|
1107
|
+
SENSITIVE = []
|
1108
|
+
include Aws::Structure
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
# @note When making an API call, you may pass DeleteLicenseConfigurationRequest
|
1112
|
+
# data as a hash:
|
1113
|
+
#
|
1114
|
+
# {
|
1115
|
+
# license_configuration_arn: "String", # required
|
1116
|
+
# }
|
1117
|
+
#
|
1118
|
+
# @!attribute [rw] license_configuration_arn
|
1119
|
+
# ID of the license configuration.
|
1120
|
+
# @return [String]
|
1121
|
+
#
|
1122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationRequest AWS API Documentation
|
1123
|
+
#
|
1124
|
+
class DeleteLicenseConfigurationRequest < Struct.new(
|
1125
|
+
:license_configuration_arn)
|
1126
|
+
SENSITIVE = []
|
1127
|
+
include Aws::Structure
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationResponse AWS API Documentation
|
1131
|
+
#
|
1132
|
+
class DeleteLicenseConfigurationResponse < Aws::EmptyStructure; end
|
1133
|
+
|
1134
|
+
# @note When making an API call, you may pass DeleteLicenseRequest
|
1135
|
+
# data as a hash:
|
1136
|
+
#
|
1137
|
+
# {
|
1138
|
+
# license_arn: "Arn", # required
|
1139
|
+
# source_version: "String", # required
|
1140
|
+
# }
|
1141
|
+
#
|
1142
|
+
# @!attribute [rw] license_arn
|
1143
|
+
# Amazon Resource Name (ARN) of the license.
|
1144
|
+
# @return [String]
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] source_version
|
1147
|
+
# Current version of the license.
|
1148
|
+
# @return [String]
|
1149
|
+
#
|
1150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseRequest AWS API Documentation
|
1151
|
+
#
|
1152
|
+
class DeleteLicenseRequest < Struct.new(
|
1153
|
+
:license_arn,
|
1154
|
+
:source_version)
|
1155
|
+
SENSITIVE = []
|
1156
|
+
include Aws::Structure
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# @!attribute [rw] status
|
1160
|
+
# License status.
|
1161
|
+
# @return [String]
|
1162
|
+
#
|
1163
|
+
# @!attribute [rw] deletion_date
|
1164
|
+
# Date on which the license is deleted.
|
1165
|
+
# @return [String]
|
1166
|
+
#
|
1167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseResponse AWS API Documentation
|
1168
|
+
#
|
1169
|
+
class DeleteLicenseResponse < Struct.new(
|
1170
|
+
:status,
|
1171
|
+
:deletion_date)
|
1172
|
+
SENSITIVE = []
|
1173
|
+
include Aws::Structure
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# @note When making an API call, you may pass DeleteTokenRequest
|
1177
|
+
# data as a hash:
|
1178
|
+
#
|
1179
|
+
# {
|
1180
|
+
# token_id: "String", # required
|
1181
|
+
# }
|
1182
|
+
#
|
1183
|
+
# @!attribute [rw] token_id
|
1184
|
+
# Token ID.
|
1185
|
+
# @return [String]
|
1186
|
+
#
|
1187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteTokenRequest AWS API Documentation
|
1188
|
+
#
|
1189
|
+
class DeleteTokenRequest < Struct.new(
|
1190
|
+
:token_id)
|
1191
|
+
SENSITIVE = []
|
1192
|
+
include Aws::Structure
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteTokenResponse AWS API Documentation
|
1196
|
+
#
|
1197
|
+
class DeleteTokenResponse < Aws::EmptyStructure; end
|
1198
|
+
|
1199
|
+
# Describes a resource entitled for use with a license.
|
1200
|
+
#
|
1201
|
+
# @note When making an API call, you may pass Entitlement
|
1202
|
+
# data as a hash:
|
1203
|
+
#
|
1204
|
+
# {
|
1205
|
+
# name: "String", # required
|
1206
|
+
# value: "String",
|
1207
|
+
# max_count: 1,
|
1208
|
+
# overage: false,
|
1209
|
+
# 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
|
1210
|
+
# allow_check_in: false,
|
1211
|
+
# }
|
1212
|
+
#
|
1213
|
+
# @!attribute [rw] name
|
1214
|
+
# Entitlement name.
|
1215
|
+
# @return [String]
|
1216
|
+
#
|
1217
|
+
# @!attribute [rw] value
|
1218
|
+
# Entitlement resource. Use only if the unit is None.
|
1219
|
+
# @return [String]
|
1220
|
+
#
|
1221
|
+
# @!attribute [rw] max_count
|
1222
|
+
# Maximum entitlement count. Use if the unit is not None.
|
1223
|
+
# @return [Integer]
|
1224
|
+
#
|
1225
|
+
# @!attribute [rw] overage
|
1226
|
+
# Indicates whether overages are allowed.
|
1227
|
+
# @return [Boolean]
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] unit
|
1230
|
+
# Entitlement unit.
|
1231
|
+
# @return [String]
|
1232
|
+
#
|
1233
|
+
# @!attribute [rw] allow_check_in
|
1234
|
+
# Indicates whether check-ins are allowed.
|
1235
|
+
# @return [Boolean]
|
1236
|
+
#
|
1237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Entitlement AWS API Documentation
|
1238
|
+
#
|
1239
|
+
class Entitlement < Struct.new(
|
1240
|
+
:name,
|
1241
|
+
:value,
|
1242
|
+
:max_count,
|
1243
|
+
:overage,
|
1244
|
+
:unit,
|
1245
|
+
:allow_check_in)
|
1246
|
+
SENSITIVE = []
|
1247
|
+
include Aws::Structure
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
# Data associated with an entitlement resource.
|
1251
|
+
#
|
1252
|
+
# @note When making an API call, you may pass EntitlementData
|
1253
|
+
# data as a hash:
|
1254
|
+
#
|
1255
|
+
# {
|
1256
|
+
# name: "String", # required
|
1257
|
+
# value: "String",
|
1258
|
+
# 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
|
1259
|
+
# }
|
1260
|
+
#
|
1261
|
+
# @!attribute [rw] name
|
1262
|
+
# Entitlement data name.
|
1263
|
+
# @return [String]
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] value
|
1266
|
+
# Entitlement data value.
|
1267
|
+
# @return [String]
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] unit
|
1270
|
+
# Entitlement data unit.
|
1271
|
+
# @return [String]
|
155
1272
|
#
|
156
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
1273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/EntitlementData AWS API Documentation
|
157
1274
|
#
|
158
|
-
class
|
1275
|
+
class EntitlementData < Struct.new(
|
159
1276
|
:name,
|
160
|
-
:
|
161
|
-
:
|
162
|
-
:license_count,
|
163
|
-
:license_count_hard_limit,
|
164
|
-
:license_rules,
|
165
|
-
:tags,
|
166
|
-
:product_information_list)
|
1277
|
+
:value,
|
1278
|
+
:unit)
|
167
1279
|
SENSITIVE = []
|
168
1280
|
include Aws::Structure
|
169
1281
|
end
|
170
1282
|
|
171
|
-
#
|
172
|
-
#
|
1283
|
+
# The entitlement is not allowed.
|
1284
|
+
#
|
1285
|
+
# @!attribute [rw] message
|
173
1286
|
# @return [String]
|
174
1287
|
#
|
175
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
1288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/EntitlementNotAllowedException AWS API Documentation
|
176
1289
|
#
|
177
|
-
class
|
178
|
-
:
|
1290
|
+
class EntitlementNotAllowedException < Struct.new(
|
1291
|
+
:message)
|
179
1292
|
SENSITIVE = []
|
180
1293
|
include Aws::Structure
|
181
1294
|
end
|
182
1295
|
|
183
|
-
#
|
1296
|
+
# Usage associated with an entitlement resource.
|
1297
|
+
#
|
1298
|
+
# @!attribute [rw] name
|
1299
|
+
# Entitlement usage name.
|
1300
|
+
# @return [String]
|
1301
|
+
#
|
1302
|
+
# @!attribute [rw] consumed_value
|
1303
|
+
# Resource usage consumed.
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1306
|
+
# @!attribute [rw] max_count
|
1307
|
+
# Maximum entitlement usage count.
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
# @!attribute [rw] unit
|
1311
|
+
# Entitlement usage unit.
|
1312
|
+
# @return [String]
|
1313
|
+
#
|
1314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/EntitlementUsage AWS API Documentation
|
1315
|
+
#
|
1316
|
+
class EntitlementUsage < Struct.new(
|
1317
|
+
:name,
|
1318
|
+
:consumed_value,
|
1319
|
+
:max_count,
|
1320
|
+
:unit)
|
1321
|
+
SENSITIVE = []
|
1322
|
+
include Aws::Structure
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# @note When making an API call, you may pass ExtendLicenseConsumptionRequest
|
184
1326
|
# data as a hash:
|
185
1327
|
#
|
186
1328
|
# {
|
187
|
-
#
|
1329
|
+
# license_consumption_token: "String", # required
|
1330
|
+
# dry_run: false,
|
188
1331
|
# }
|
189
1332
|
#
|
190
|
-
# @!attribute [rw]
|
191
|
-
#
|
1333
|
+
# @!attribute [rw] license_consumption_token
|
1334
|
+
# License consumption token.
|
192
1335
|
# @return [String]
|
193
1336
|
#
|
194
|
-
#
|
1337
|
+
# @!attribute [rw] dry_run
|
1338
|
+
# Checks whether you have the required permissions for the action,
|
1339
|
+
# without actually making the request. Provides an error response if
|
1340
|
+
# you do not have the required permissions.
|
1341
|
+
# @return [Boolean]
|
195
1342
|
#
|
196
|
-
|
197
|
-
|
1343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumptionRequest AWS API Documentation
|
1344
|
+
#
|
1345
|
+
class ExtendLicenseConsumptionRequest < Struct.new(
|
1346
|
+
:license_consumption_token,
|
1347
|
+
:dry_run)
|
198
1348
|
SENSITIVE = []
|
199
1349
|
include Aws::Structure
|
200
1350
|
end
|
201
1351
|
|
202
|
-
#
|
1352
|
+
# @!attribute [rw] license_consumption_token
|
1353
|
+
# License consumption token.
|
1354
|
+
# @return [String]
|
203
1355
|
#
|
204
|
-
|
1356
|
+
# @!attribute [rw] expiration
|
1357
|
+
# Date and time at which the license consumption expires.
|
1358
|
+
# @return [String]
|
1359
|
+
#
|
1360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumptionResponse AWS API Documentation
|
1361
|
+
#
|
1362
|
+
class ExtendLicenseConsumptionResponse < Struct.new(
|
1363
|
+
:license_consumption_token,
|
1364
|
+
:expiration)
|
1365
|
+
SENSITIVE = []
|
1366
|
+
include Aws::Structure
|
1367
|
+
end
|
205
1368
|
|
206
1369
|
# A dependency required to run the API is missing.
|
207
1370
|
#
|
208
1371
|
# @!attribute [rw] message
|
209
1372
|
# @return [String]
|
210
1373
|
#
|
1374
|
+
# @!attribute [rw] error_code
|
1375
|
+
# @return [String]
|
1376
|
+
#
|
211
1377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/FailedDependencyException AWS API Documentation
|
212
1378
|
#
|
213
1379
|
class FailedDependencyException < Struct.new(
|
214
|
-
:message
|
1380
|
+
:message,
|
1381
|
+
:error_code)
|
215
1382
|
SENSITIVE = []
|
216
1383
|
include Aws::Structure
|
217
1384
|
end
|
@@ -258,6 +1425,80 @@ module Aws::LicenseManager
|
|
258
1425
|
include Aws::Structure
|
259
1426
|
end
|
260
1427
|
|
1428
|
+
# @note When making an API call, you may pass GetAccessTokenRequest
|
1429
|
+
# data as a hash:
|
1430
|
+
#
|
1431
|
+
# {
|
1432
|
+
# token: "TokenString", # required
|
1433
|
+
# token_properties: ["String"],
|
1434
|
+
# }
|
1435
|
+
#
|
1436
|
+
# @!attribute [rw] token
|
1437
|
+
# Refresh token, encoded as a JWT token.
|
1438
|
+
# @return [String]
|
1439
|
+
#
|
1440
|
+
# @!attribute [rw] token_properties
|
1441
|
+
# Token properties to validate against those present in the JWT token.
|
1442
|
+
# @return [Array<String>]
|
1443
|
+
#
|
1444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetAccessTokenRequest AWS API Documentation
|
1445
|
+
#
|
1446
|
+
class GetAccessTokenRequest < Struct.new(
|
1447
|
+
:token,
|
1448
|
+
:token_properties)
|
1449
|
+
SENSITIVE = []
|
1450
|
+
include Aws::Structure
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
# @!attribute [rw] access_token
|
1454
|
+
# Temporary access token.
|
1455
|
+
# @return [String]
|
1456
|
+
#
|
1457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetAccessTokenResponse AWS API Documentation
|
1458
|
+
#
|
1459
|
+
class GetAccessTokenResponse < Struct.new(
|
1460
|
+
:access_token)
|
1461
|
+
SENSITIVE = []
|
1462
|
+
include Aws::Structure
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# @note When making an API call, you may pass GetGrantRequest
|
1466
|
+
# data as a hash:
|
1467
|
+
#
|
1468
|
+
# {
|
1469
|
+
# grant_arn: "Arn", # required
|
1470
|
+
# version: "String",
|
1471
|
+
# }
|
1472
|
+
#
|
1473
|
+
# @!attribute [rw] grant_arn
|
1474
|
+
# Amazon Resource Name (ARN) of the grant.
|
1475
|
+
# @return [String]
|
1476
|
+
#
|
1477
|
+
# @!attribute [rw] version
|
1478
|
+
# Grant version.
|
1479
|
+
# @return [String]
|
1480
|
+
#
|
1481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrantRequest AWS API Documentation
|
1482
|
+
#
|
1483
|
+
class GetGrantRequest < Struct.new(
|
1484
|
+
:grant_arn,
|
1485
|
+
:version)
|
1486
|
+
SENSITIVE = []
|
1487
|
+
include Aws::Structure
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# @!attribute [rw] grant
|
1491
|
+
# Grant details.
|
1492
|
+
# @return [Types::Grant]
|
1493
|
+
#
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrantResponse AWS API Documentation
|
1495
|
+
#
|
1496
|
+
class GetGrantResponse < Struct.new(
|
1497
|
+
:grant)
|
1498
|
+
SENSITIVE = []
|
1499
|
+
include Aws::Structure
|
1500
|
+
end
|
1501
|
+
|
261
1502
|
# @note When making an API call, you may pass GetLicenseConfigurationRequest
|
262
1503
|
# data as a hash:
|
263
1504
|
#
|
@@ -364,6 +1605,74 @@ module Aws::LicenseManager
|
|
364
1605
|
include Aws::Structure
|
365
1606
|
end
|
366
1607
|
|
1608
|
+
# @note When making an API call, you may pass GetLicenseRequest
|
1609
|
+
# data as a hash:
|
1610
|
+
#
|
1611
|
+
# {
|
1612
|
+
# license_arn: "Arn", # required
|
1613
|
+
# version: "String",
|
1614
|
+
# }
|
1615
|
+
#
|
1616
|
+
# @!attribute [rw] license_arn
|
1617
|
+
# Amazon Resource Name (ARN) of the license.
|
1618
|
+
# @return [String]
|
1619
|
+
#
|
1620
|
+
# @!attribute [rw] version
|
1621
|
+
# License version.
|
1622
|
+
# @return [String]
|
1623
|
+
#
|
1624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseRequest AWS API Documentation
|
1625
|
+
#
|
1626
|
+
class GetLicenseRequest < Struct.new(
|
1627
|
+
:license_arn,
|
1628
|
+
:version)
|
1629
|
+
SENSITIVE = []
|
1630
|
+
include Aws::Structure
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# @!attribute [rw] license
|
1634
|
+
# License details.
|
1635
|
+
# @return [Types::License]
|
1636
|
+
#
|
1637
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseResponse AWS API Documentation
|
1638
|
+
#
|
1639
|
+
class GetLicenseResponse < Struct.new(
|
1640
|
+
:license)
|
1641
|
+
SENSITIVE = []
|
1642
|
+
include Aws::Structure
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
# @note When making an API call, you may pass GetLicenseUsageRequest
|
1646
|
+
# data as a hash:
|
1647
|
+
#
|
1648
|
+
# {
|
1649
|
+
# license_arn: "Arn", # required
|
1650
|
+
# }
|
1651
|
+
#
|
1652
|
+
# @!attribute [rw] license_arn
|
1653
|
+
# Amazon Resource Name (ARN) of the license.
|
1654
|
+
# @return [String]
|
1655
|
+
#
|
1656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsageRequest AWS API Documentation
|
1657
|
+
#
|
1658
|
+
class GetLicenseUsageRequest < Struct.new(
|
1659
|
+
:license_arn)
|
1660
|
+
SENSITIVE = []
|
1661
|
+
include Aws::Structure
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# @!attribute [rw] license_usage
|
1665
|
+
# License usage details.
|
1666
|
+
# @return [Types::LicenseUsage]
|
1667
|
+
#
|
1668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsageResponse AWS API Documentation
|
1669
|
+
#
|
1670
|
+
class GetLicenseUsageResponse < Struct.new(
|
1671
|
+
:license_usage)
|
1672
|
+
SENSITIVE = []
|
1673
|
+
include Aws::Structure
|
1674
|
+
end
|
1675
|
+
|
367
1676
|
# @api private
|
368
1677
|
#
|
369
1678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettingsRequest AWS API Documentation
|
@@ -380,12 +1689,12 @@ module Aws::LicenseManager
|
|
380
1689
|
# @return [String]
|
381
1690
|
#
|
382
1691
|
# @!attribute [rw] organization_configuration
|
383
|
-
# Indicates whether AWS Organizations
|
1692
|
+
# Indicates whether AWS Organizations is integrated with License
|
384
1693
|
# Manager for cross-account discovery.
|
385
1694
|
# @return [Types::OrganizationConfiguration]
|
386
1695
|
#
|
387
1696
|
# @!attribute [rw] enable_cross_accounts_discovery
|
388
|
-
# Indicates whether cross-account discovery
|
1697
|
+
# Indicates whether cross-account discovery is enabled.
|
389
1698
|
# @return [Boolean]
|
390
1699
|
#
|
391
1700
|
# @!attribute [rw] license_manager_resource_share_arn
|
@@ -406,6 +1715,150 @@ module Aws::LicenseManager
|
|
406
1715
|
include Aws::Structure
|
407
1716
|
end
|
408
1717
|
|
1718
|
+
# Describes a grant.
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] grant_arn
|
1721
|
+
# Amazon Resource Name (ARN) of the grant.
|
1722
|
+
# @return [String]
|
1723
|
+
#
|
1724
|
+
# @!attribute [rw] grant_name
|
1725
|
+
# Grant name.
|
1726
|
+
# @return [String]
|
1727
|
+
#
|
1728
|
+
# @!attribute [rw] parent_arn
|
1729
|
+
# Parent ARN.
|
1730
|
+
# @return [String]
|
1731
|
+
#
|
1732
|
+
# @!attribute [rw] license_arn
|
1733
|
+
# License ARN.
|
1734
|
+
# @return [String]
|
1735
|
+
#
|
1736
|
+
# @!attribute [rw] grantee_principal_arn
|
1737
|
+
# The grantee principal ARN.
|
1738
|
+
# @return [String]
|
1739
|
+
#
|
1740
|
+
# @!attribute [rw] home_region
|
1741
|
+
# Home Region of the grant.
|
1742
|
+
# @return [String]
|
1743
|
+
#
|
1744
|
+
# @!attribute [rw] grant_status
|
1745
|
+
# Grant status.
|
1746
|
+
# @return [String]
|
1747
|
+
#
|
1748
|
+
# @!attribute [rw] status_reason
|
1749
|
+
# Grant status reason.
|
1750
|
+
# @return [String]
|
1751
|
+
#
|
1752
|
+
# @!attribute [rw] version
|
1753
|
+
# Grant version.
|
1754
|
+
# @return [String]
|
1755
|
+
#
|
1756
|
+
# @!attribute [rw] granted_operations
|
1757
|
+
# Granted operations.
|
1758
|
+
# @return [Array<String>]
|
1759
|
+
#
|
1760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Grant AWS API Documentation
|
1761
|
+
#
|
1762
|
+
class Grant < Struct.new(
|
1763
|
+
:grant_arn,
|
1764
|
+
:grant_name,
|
1765
|
+
:parent_arn,
|
1766
|
+
:license_arn,
|
1767
|
+
:grantee_principal_arn,
|
1768
|
+
:home_region,
|
1769
|
+
:grant_status,
|
1770
|
+
:status_reason,
|
1771
|
+
:version,
|
1772
|
+
:granted_operations)
|
1773
|
+
SENSITIVE = []
|
1774
|
+
include Aws::Structure
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Describes a license that is granted to a grantee.
|
1778
|
+
#
|
1779
|
+
# @!attribute [rw] license_arn
|
1780
|
+
# Amazon Resource Name (ARN) of the license.
|
1781
|
+
# @return [String]
|
1782
|
+
#
|
1783
|
+
# @!attribute [rw] license_name
|
1784
|
+
# License name.
|
1785
|
+
# @return [String]
|
1786
|
+
#
|
1787
|
+
# @!attribute [rw] product_name
|
1788
|
+
# Product name.
|
1789
|
+
# @return [String]
|
1790
|
+
#
|
1791
|
+
# @!attribute [rw] product_sku
|
1792
|
+
# Product SKU.
|
1793
|
+
# @return [String]
|
1794
|
+
#
|
1795
|
+
# @!attribute [rw] issuer
|
1796
|
+
# Granted license issuer.
|
1797
|
+
# @return [Types::IssuerDetails]
|
1798
|
+
#
|
1799
|
+
# @!attribute [rw] home_region
|
1800
|
+
# Home Region of the granted license.
|
1801
|
+
# @return [String]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] status
|
1804
|
+
# Granted license status.
|
1805
|
+
# @return [String]
|
1806
|
+
#
|
1807
|
+
# @!attribute [rw] validity
|
1808
|
+
# Date and time range during which the granted license is valid, in
|
1809
|
+
# ISO8601-UTC format.
|
1810
|
+
# @return [Types::DatetimeRange]
|
1811
|
+
#
|
1812
|
+
# @!attribute [rw] beneficiary
|
1813
|
+
# Granted license beneficiary.
|
1814
|
+
# @return [String]
|
1815
|
+
#
|
1816
|
+
# @!attribute [rw] entitlements
|
1817
|
+
# License entitlements.
|
1818
|
+
# @return [Array<Types::Entitlement>]
|
1819
|
+
#
|
1820
|
+
# @!attribute [rw] consumption_configuration
|
1821
|
+
# Configuration for consumption of the license.
|
1822
|
+
# @return [Types::ConsumptionConfiguration]
|
1823
|
+
#
|
1824
|
+
# @!attribute [rw] license_metadata
|
1825
|
+
# Granted license metadata.
|
1826
|
+
# @return [Array<Types::Metadata>]
|
1827
|
+
#
|
1828
|
+
# @!attribute [rw] create_time
|
1829
|
+
# Creation time of the granted license.
|
1830
|
+
# @return [String]
|
1831
|
+
#
|
1832
|
+
# @!attribute [rw] version
|
1833
|
+
# Version of the granted license.
|
1834
|
+
# @return [String]
|
1835
|
+
#
|
1836
|
+
# @!attribute [rw] received_metadata
|
1837
|
+
# Granted license received metadata.
|
1838
|
+
# @return [Types::ReceivedMetadata]
|
1839
|
+
#
|
1840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GrantedLicense AWS API Documentation
|
1841
|
+
#
|
1842
|
+
class GrantedLicense < Struct.new(
|
1843
|
+
:license_arn,
|
1844
|
+
:license_name,
|
1845
|
+
:product_name,
|
1846
|
+
:product_sku,
|
1847
|
+
:issuer,
|
1848
|
+
:home_region,
|
1849
|
+
:status,
|
1850
|
+
:validity,
|
1851
|
+
:beneficiary,
|
1852
|
+
:entitlements,
|
1853
|
+
:consumption_configuration,
|
1854
|
+
:license_metadata,
|
1855
|
+
:create_time,
|
1856
|
+
:version,
|
1857
|
+
:received_metadata)
|
1858
|
+
SENSITIVE = []
|
1859
|
+
include Aws::Structure
|
1860
|
+
end
|
1861
|
+
|
409
1862
|
# One or more parameter values are not valid.
|
410
1863
|
#
|
411
1864
|
# @!attribute [rw] message
|
@@ -469,6 +1922,141 @@ module Aws::LicenseManager
|
|
469
1922
|
include Aws::Structure
|
470
1923
|
end
|
471
1924
|
|
1925
|
+
# Details about the issuer of a license.
|
1926
|
+
#
|
1927
|
+
# @note When making an API call, you may pass Issuer
|
1928
|
+
# data as a hash:
|
1929
|
+
#
|
1930
|
+
# {
|
1931
|
+
# name: "String", # required
|
1932
|
+
# sign_key: "String",
|
1933
|
+
# }
|
1934
|
+
#
|
1935
|
+
# @!attribute [rw] name
|
1936
|
+
# Issuer name.
|
1937
|
+
# @return [String]
|
1938
|
+
#
|
1939
|
+
# @!attribute [rw] sign_key
|
1940
|
+
# Asymmetric CMK from AWS Key Management Service. The CMK must have a
|
1941
|
+
# key usage of sign and verify, and support the RSASSA-PSS SHA-256
|
1942
|
+
# signing algorithm.
|
1943
|
+
# @return [String]
|
1944
|
+
#
|
1945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Issuer AWS API Documentation
|
1946
|
+
#
|
1947
|
+
class Issuer < Struct.new(
|
1948
|
+
:name,
|
1949
|
+
:sign_key)
|
1950
|
+
SENSITIVE = []
|
1951
|
+
include Aws::Structure
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
# Details associated with the issuer of a license.
|
1955
|
+
#
|
1956
|
+
# @!attribute [rw] name
|
1957
|
+
# Issuer name.
|
1958
|
+
# @return [String]
|
1959
|
+
#
|
1960
|
+
# @!attribute [rw] sign_key
|
1961
|
+
# Asymmetric CMK from AWS Key Management Service. The CMK must have a
|
1962
|
+
# key usage of sign and verify, and support the RSASSA-PSS SHA-256
|
1963
|
+
# signing algorithm.
|
1964
|
+
# @return [String]
|
1965
|
+
#
|
1966
|
+
# @!attribute [rw] key_fingerprint
|
1967
|
+
# Issuer key fingerprint.
|
1968
|
+
# @return [String]
|
1969
|
+
#
|
1970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/IssuerDetails AWS API Documentation
|
1971
|
+
#
|
1972
|
+
class IssuerDetails < Struct.new(
|
1973
|
+
:name,
|
1974
|
+
:sign_key,
|
1975
|
+
:key_fingerprint)
|
1976
|
+
SENSITIVE = []
|
1977
|
+
include Aws::Structure
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
# Software license that is managed in AWS License Manager.
|
1981
|
+
#
|
1982
|
+
# @!attribute [rw] license_arn
|
1983
|
+
# Amazon Resource Name (ARN) of the license.
|
1984
|
+
# @return [String]
|
1985
|
+
#
|
1986
|
+
# @!attribute [rw] license_name
|
1987
|
+
# License name.
|
1988
|
+
# @return [String]
|
1989
|
+
#
|
1990
|
+
# @!attribute [rw] product_name
|
1991
|
+
# Product name.
|
1992
|
+
# @return [String]
|
1993
|
+
#
|
1994
|
+
# @!attribute [rw] product_sku
|
1995
|
+
# Product SKU.
|
1996
|
+
# @return [String]
|
1997
|
+
#
|
1998
|
+
# @!attribute [rw] issuer
|
1999
|
+
# License issuer.
|
2000
|
+
# @return [Types::IssuerDetails]
|
2001
|
+
#
|
2002
|
+
# @!attribute [rw] home_region
|
2003
|
+
# Home Region of the license.
|
2004
|
+
# @return [String]
|
2005
|
+
#
|
2006
|
+
# @!attribute [rw] status
|
2007
|
+
# License status.
|
2008
|
+
# @return [String]
|
2009
|
+
#
|
2010
|
+
# @!attribute [rw] validity
|
2011
|
+
# Date and time range during which the license is valid, in
|
2012
|
+
# ISO8601-UTC format.
|
2013
|
+
# @return [Types::DatetimeRange]
|
2014
|
+
#
|
2015
|
+
# @!attribute [rw] beneficiary
|
2016
|
+
# License beneficiary.
|
2017
|
+
# @return [String]
|
2018
|
+
#
|
2019
|
+
# @!attribute [rw] entitlements
|
2020
|
+
# License entitlements.
|
2021
|
+
# @return [Array<Types::Entitlement>]
|
2022
|
+
#
|
2023
|
+
# @!attribute [rw] consumption_configuration
|
2024
|
+
# Configuration for consumption of the license.
|
2025
|
+
# @return [Types::ConsumptionConfiguration]
|
2026
|
+
#
|
2027
|
+
# @!attribute [rw] license_metadata
|
2028
|
+
# License metadata.
|
2029
|
+
# @return [Array<Types::Metadata>]
|
2030
|
+
#
|
2031
|
+
# @!attribute [rw] create_time
|
2032
|
+
# License creation time.
|
2033
|
+
# @return [String]
|
2034
|
+
#
|
2035
|
+
# @!attribute [rw] version
|
2036
|
+
# License version.
|
2037
|
+
# @return [String]
|
2038
|
+
#
|
2039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/License AWS API Documentation
|
2040
|
+
#
|
2041
|
+
class License < Struct.new(
|
2042
|
+
:license_arn,
|
2043
|
+
:license_name,
|
2044
|
+
:product_name,
|
2045
|
+
:product_sku,
|
2046
|
+
:issuer,
|
2047
|
+
:home_region,
|
2048
|
+
:status,
|
2049
|
+
:validity,
|
2050
|
+
:beneficiary,
|
2051
|
+
:entitlements,
|
2052
|
+
:consumption_configuration,
|
2053
|
+
:license_metadata,
|
2054
|
+
:create_time,
|
2055
|
+
:version)
|
2056
|
+
SENSITIVE = []
|
2057
|
+
include Aws::Structure
|
2058
|
+
end
|
2059
|
+
|
472
2060
|
# A license configuration is an abstraction of a customer license
|
473
2061
|
# agreement that can be consumed and enforced by License Manager.
|
474
2062
|
# Components include specifications for the license type (licensing by
|
@@ -579,7 +2167,7 @@ module Aws::LicenseManager
|
|
579
2167
|
# @return [Time]
|
580
2168
|
#
|
581
2169
|
# @!attribute [rw] ami_association_scope
|
582
|
-
# Scope of AMI associations.
|
2170
|
+
# Scope of AMI associations. The possible value is `cross-account`.
|
583
2171
|
# @return [String]
|
584
2172
|
#
|
585
2173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfigurationAssociation AWS API Documentation
|
@@ -699,7 +2287,7 @@ module Aws::LicenseManager
|
|
699
2287
|
# @return [String]
|
700
2288
|
#
|
701
2289
|
# @!attribute [rw] ami_association_scope
|
702
|
-
# Scope of AMI associations.
|
2290
|
+
# Scope of AMI associations. The possible value is `cross-account`.
|
703
2291
|
# @return [String]
|
704
2292
|
#
|
705
2293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseSpecification AWS API Documentation
|
@@ -711,6 +2299,20 @@ module Aws::LicenseManager
|
|
711
2299
|
include Aws::Structure
|
712
2300
|
end
|
713
2301
|
|
2302
|
+
# Describes the entitlement usage associated with a license.
|
2303
|
+
#
|
2304
|
+
# @!attribute [rw] entitlement_usages
|
2305
|
+
# License entitlement usages.
|
2306
|
+
# @return [Array<Types::EntitlementUsage>]
|
2307
|
+
#
|
2308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseUsage AWS API Documentation
|
2309
|
+
#
|
2310
|
+
class LicenseUsage < Struct.new(
|
2311
|
+
:entitlement_usages)
|
2312
|
+
SENSITIVE = []
|
2313
|
+
include Aws::Structure
|
2314
|
+
end
|
2315
|
+
|
714
2316
|
# You do not have enough licenses available to support a new resource
|
715
2317
|
# launch.
|
716
2318
|
#
|
@@ -773,6 +2375,73 @@ module Aws::LicenseManager
|
|
773
2375
|
include Aws::Structure
|
774
2376
|
end
|
775
2377
|
|
2378
|
+
# @note When making an API call, you may pass ListDistributedGrantsRequest
|
2379
|
+
# data as a hash:
|
2380
|
+
#
|
2381
|
+
# {
|
2382
|
+
# grant_arns: ["Arn"],
|
2383
|
+
# filters: [
|
2384
|
+
# {
|
2385
|
+
# name: "FilterName",
|
2386
|
+
# values: ["FilterValue"],
|
2387
|
+
# },
|
2388
|
+
# ],
|
2389
|
+
# next_token: "String",
|
2390
|
+
# max_results: 1,
|
2391
|
+
# }
|
2392
|
+
#
|
2393
|
+
# @!attribute [rw] grant_arns
|
2394
|
+
# Amazon Resource Names (ARNs) of the grants.
|
2395
|
+
# @return [Array<String>]
|
2396
|
+
#
|
2397
|
+
# @!attribute [rw] filters
|
2398
|
+
# Filters to scope the results. The following filters are supported:
|
2399
|
+
#
|
2400
|
+
# * `LicenseARN`
|
2401
|
+
#
|
2402
|
+
# * `Status`
|
2403
|
+
#
|
2404
|
+
# * `PrincipalARN`
|
2405
|
+
#
|
2406
|
+
# * `ParentARN`
|
2407
|
+
# @return [Array<Types::Filter>]
|
2408
|
+
#
|
2409
|
+
# @!attribute [rw] next_token
|
2410
|
+
# Token for the next set of results.
|
2411
|
+
# @return [String]
|
2412
|
+
#
|
2413
|
+
# @!attribute [rw] max_results
|
2414
|
+
# Maximum number of results to return in a single call.
|
2415
|
+
# @return [Integer]
|
2416
|
+
#
|
2417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrantsRequest AWS API Documentation
|
2418
|
+
#
|
2419
|
+
class ListDistributedGrantsRequest < Struct.new(
|
2420
|
+
:grant_arns,
|
2421
|
+
:filters,
|
2422
|
+
:next_token,
|
2423
|
+
:max_results)
|
2424
|
+
SENSITIVE = []
|
2425
|
+
include Aws::Structure
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
# @!attribute [rw] grants
|
2429
|
+
# Distributed grant details.
|
2430
|
+
# @return [Array<Types::Grant>]
|
2431
|
+
#
|
2432
|
+
# @!attribute [rw] next_token
|
2433
|
+
# Token for the next set of results.
|
2434
|
+
# @return [String]
|
2435
|
+
#
|
2436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrantsResponse AWS API Documentation
|
2437
|
+
#
|
2438
|
+
class ListDistributedGrantsResponse < Struct.new(
|
2439
|
+
:grants,
|
2440
|
+
:next_token)
|
2441
|
+
SENSITIVE = []
|
2442
|
+
include Aws::Structure
|
2443
|
+
end
|
2444
|
+
|
776
2445
|
# @note When making an API call, you may pass ListFailuresForLicenseConfigurationOperationsRequest
|
777
2446
|
# data as a hash:
|
778
2447
|
#
|
@@ -836,107 +2505,352 @@ module Aws::LicenseManager
|
|
836
2505
|
# ],
|
837
2506
|
# }
|
838
2507
|
#
|
839
|
-
# @!attribute [rw] license_configuration_arns
|
840
|
-
# Amazon Resource Names (ARN) of the license configurations.
|
2508
|
+
# @!attribute [rw] license_configuration_arns
|
2509
|
+
# Amazon Resource Names (ARN) of the license configurations.
|
2510
|
+
# @return [Array<String>]
|
2511
|
+
#
|
2512
|
+
# @!attribute [rw] max_results
|
2513
|
+
# Maximum number of results to return in a single call.
|
2514
|
+
# @return [Integer]
|
2515
|
+
#
|
2516
|
+
# @!attribute [rw] next_token
|
2517
|
+
# Token for the next set of results.
|
2518
|
+
# @return [String]
|
2519
|
+
#
|
2520
|
+
# @!attribute [rw] filters
|
2521
|
+
# Filters to scope the results. The following filters and logical
|
2522
|
+
# operators are supported:
|
2523
|
+
#
|
2524
|
+
# * `licenseCountingType` - The dimension on which licenses are
|
2525
|
+
# counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
|
2526
|
+
# `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
2527
|
+
#
|
2528
|
+
# * `enforceLicenseCount` - A Boolean value that indicates whether
|
2529
|
+
# hard license enforcement is used. Logical operators are `EQUALS`
|
2530
|
+
# \| `NOT_EQUALS`.
|
2531
|
+
#
|
2532
|
+
# * `usagelimitExceeded` - A Boolean value that indicates whether the
|
2533
|
+
# available licenses have been exceeded. Logical operators are
|
2534
|
+
# `EQUALS` \| `NOT_EQUALS`.
|
2535
|
+
# @return [Array<Types::Filter>]
|
2536
|
+
#
|
2537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsRequest AWS API Documentation
|
2538
|
+
#
|
2539
|
+
class ListLicenseConfigurationsRequest < Struct.new(
|
2540
|
+
:license_configuration_arns,
|
2541
|
+
:max_results,
|
2542
|
+
:next_token,
|
2543
|
+
:filters)
|
2544
|
+
SENSITIVE = []
|
2545
|
+
include Aws::Structure
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
# @!attribute [rw] license_configurations
|
2549
|
+
# Information about the license configurations.
|
2550
|
+
# @return [Array<Types::LicenseConfiguration>]
|
2551
|
+
#
|
2552
|
+
# @!attribute [rw] next_token
|
2553
|
+
# Token for the next set of results.
|
2554
|
+
# @return [String]
|
2555
|
+
#
|
2556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsResponse AWS API Documentation
|
2557
|
+
#
|
2558
|
+
class ListLicenseConfigurationsResponse < Struct.new(
|
2559
|
+
:license_configurations,
|
2560
|
+
:next_token)
|
2561
|
+
SENSITIVE = []
|
2562
|
+
include Aws::Structure
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
# @note When making an API call, you may pass ListLicenseSpecificationsForResourceRequest
|
2566
|
+
# data as a hash:
|
2567
|
+
#
|
2568
|
+
# {
|
2569
|
+
# resource_arn: "String", # required
|
2570
|
+
# max_results: 1,
|
2571
|
+
# next_token: "String",
|
2572
|
+
# }
|
2573
|
+
#
|
2574
|
+
# @!attribute [rw] resource_arn
|
2575
|
+
# Amazon Resource Name (ARN) of a resource that has an associated
|
2576
|
+
# license configuration.
|
2577
|
+
# @return [String]
|
2578
|
+
#
|
2579
|
+
# @!attribute [rw] max_results
|
2580
|
+
# Maximum number of results to return in a single call.
|
2581
|
+
# @return [Integer]
|
2582
|
+
#
|
2583
|
+
# @!attribute [rw] next_token
|
2584
|
+
# Token for the next set of results.
|
2585
|
+
# @return [String]
|
2586
|
+
#
|
2587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResourceRequest AWS API Documentation
|
2588
|
+
#
|
2589
|
+
class ListLicenseSpecificationsForResourceRequest < Struct.new(
|
2590
|
+
:resource_arn,
|
2591
|
+
:max_results,
|
2592
|
+
:next_token)
|
2593
|
+
SENSITIVE = []
|
2594
|
+
include Aws::Structure
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
# @!attribute [rw] license_specifications
|
2598
|
+
# License configurations associated with a resource.
|
2599
|
+
# @return [Array<Types::LicenseSpecification>]
|
2600
|
+
#
|
2601
|
+
# @!attribute [rw] next_token
|
2602
|
+
# Token for the next set of results.
|
2603
|
+
# @return [String]
|
2604
|
+
#
|
2605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResourceResponse AWS API Documentation
|
2606
|
+
#
|
2607
|
+
class ListLicenseSpecificationsForResourceResponse < Struct.new(
|
2608
|
+
:license_specifications,
|
2609
|
+
:next_token)
|
2610
|
+
SENSITIVE = []
|
2611
|
+
include Aws::Structure
|
2612
|
+
end
|
2613
|
+
|
2614
|
+
# @note When making an API call, you may pass ListLicenseVersionsRequest
|
2615
|
+
# data as a hash:
|
2616
|
+
#
|
2617
|
+
# {
|
2618
|
+
# license_arn: "Arn", # required
|
2619
|
+
# next_token: "String",
|
2620
|
+
# max_results: 1,
|
2621
|
+
# }
|
2622
|
+
#
|
2623
|
+
# @!attribute [rw] license_arn
|
2624
|
+
# Amazon Resource Name (ARN) of the license.
|
2625
|
+
# @return [String]
|
2626
|
+
#
|
2627
|
+
# @!attribute [rw] next_token
|
2628
|
+
# Token for the next set of results.
|
2629
|
+
# @return [String]
|
2630
|
+
#
|
2631
|
+
# @!attribute [rw] max_results
|
2632
|
+
# Maximum number of results to return in a single call.
|
2633
|
+
# @return [Integer]
|
2634
|
+
#
|
2635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseVersionsRequest AWS API Documentation
|
2636
|
+
#
|
2637
|
+
class ListLicenseVersionsRequest < Struct.new(
|
2638
|
+
:license_arn,
|
2639
|
+
:next_token,
|
2640
|
+
:max_results)
|
2641
|
+
SENSITIVE = []
|
2642
|
+
include Aws::Structure
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
# @!attribute [rw] licenses
|
2646
|
+
# License details.
|
2647
|
+
# @return [Array<Types::License>]
|
2648
|
+
#
|
2649
|
+
# @!attribute [rw] next_token
|
2650
|
+
# Token for the next set of results.
|
2651
|
+
# @return [String]
|
2652
|
+
#
|
2653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseVersionsResponse AWS API Documentation
|
2654
|
+
#
|
2655
|
+
class ListLicenseVersionsResponse < Struct.new(
|
2656
|
+
:licenses,
|
2657
|
+
:next_token)
|
2658
|
+
SENSITIVE = []
|
2659
|
+
include Aws::Structure
|
2660
|
+
end
|
2661
|
+
|
2662
|
+
# @note When making an API call, you may pass ListLicensesRequest
|
2663
|
+
# data as a hash:
|
2664
|
+
#
|
2665
|
+
# {
|
2666
|
+
# license_arns: ["Arn"],
|
2667
|
+
# filters: [
|
2668
|
+
# {
|
2669
|
+
# name: "FilterName",
|
2670
|
+
# values: ["FilterValue"],
|
2671
|
+
# },
|
2672
|
+
# ],
|
2673
|
+
# next_token: "String",
|
2674
|
+
# max_results: 1,
|
2675
|
+
# }
|
2676
|
+
#
|
2677
|
+
# @!attribute [rw] license_arns
|
2678
|
+
# Amazon Resource Names (ARNs) of the licenses.
|
2679
|
+
# @return [Array<String>]
|
2680
|
+
#
|
2681
|
+
# @!attribute [rw] filters
|
2682
|
+
# Filters to scope the results. The following filters are supported:
|
2683
|
+
#
|
2684
|
+
# * `Beneficiary`
|
2685
|
+
#
|
2686
|
+
# * `ProductSKU`
|
2687
|
+
#
|
2688
|
+
# * `KeyFingerprint`
|
2689
|
+
#
|
2690
|
+
# * `Status`
|
2691
|
+
# @return [Array<Types::Filter>]
|
2692
|
+
#
|
2693
|
+
# @!attribute [rw] next_token
|
2694
|
+
# Token for the next set of results.
|
2695
|
+
# @return [String]
|
2696
|
+
#
|
2697
|
+
# @!attribute [rw] max_results
|
2698
|
+
# Maximum number of results to return in a single call.
|
2699
|
+
# @return [Integer]
|
2700
|
+
#
|
2701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicensesRequest AWS API Documentation
|
2702
|
+
#
|
2703
|
+
class ListLicensesRequest < Struct.new(
|
2704
|
+
:license_arns,
|
2705
|
+
:filters,
|
2706
|
+
:next_token,
|
2707
|
+
:max_results)
|
2708
|
+
SENSITIVE = []
|
2709
|
+
include Aws::Structure
|
2710
|
+
end
|
2711
|
+
|
2712
|
+
# @!attribute [rw] licenses
|
2713
|
+
# License details.
|
2714
|
+
# @return [Array<Types::License>]
|
2715
|
+
#
|
2716
|
+
# @!attribute [rw] next_token
|
2717
|
+
# Token for the next set of results.
|
2718
|
+
# @return [String]
|
2719
|
+
#
|
2720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicensesResponse AWS API Documentation
|
2721
|
+
#
|
2722
|
+
class ListLicensesResponse < Struct.new(
|
2723
|
+
:licenses,
|
2724
|
+
:next_token)
|
2725
|
+
SENSITIVE = []
|
2726
|
+
include Aws::Structure
|
2727
|
+
end
|
2728
|
+
|
2729
|
+
# @note When making an API call, you may pass ListReceivedGrantsRequest
|
2730
|
+
# data as a hash:
|
2731
|
+
#
|
2732
|
+
# {
|
2733
|
+
# grant_arns: ["Arn"],
|
2734
|
+
# filters: [
|
2735
|
+
# {
|
2736
|
+
# name: "FilterName",
|
2737
|
+
# values: ["FilterValue"],
|
2738
|
+
# },
|
2739
|
+
# ],
|
2740
|
+
# next_token: "String",
|
2741
|
+
# max_results: 1,
|
2742
|
+
# }
|
2743
|
+
#
|
2744
|
+
# @!attribute [rw] grant_arns
|
2745
|
+
# Amazon Resource Names (ARNs) of the grants.
|
841
2746
|
# @return [Array<String>]
|
842
2747
|
#
|
843
|
-
# @!attribute [rw]
|
844
|
-
#
|
845
|
-
#
|
2748
|
+
# @!attribute [rw] filters
|
2749
|
+
# Filters to scope the results. The following filters are supported:
|
2750
|
+
#
|
2751
|
+
# * `LicenseARN`
|
2752
|
+
#
|
2753
|
+
# * `Status`
|
2754
|
+
# @return [Array<Types::Filter>]
|
846
2755
|
#
|
847
2756
|
# @!attribute [rw] next_token
|
848
2757
|
# Token for the next set of results.
|
849
2758
|
# @return [String]
|
850
2759
|
#
|
851
|
-
# @!attribute [rw]
|
852
|
-
#
|
853
|
-
#
|
854
|
-
#
|
855
|
-
# * `licenseCountingType` - The dimension on which licenses are
|
856
|
-
# counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
|
857
|
-
# `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
858
|
-
#
|
859
|
-
# * `enforceLicenseCount` - A Boolean value that indicates whether
|
860
|
-
# hard license enforcement is used. Logical operators are `EQUALS`
|
861
|
-
# \| `NOT_EQUALS`.
|
862
|
-
#
|
863
|
-
# * `usagelimitExceeded` - A Boolean value that indicates whether the
|
864
|
-
# available licenses have been exceeded. Logical operators are
|
865
|
-
# `EQUALS` \| `NOT_EQUALS`.
|
866
|
-
# @return [Array<Types::Filter>]
|
2760
|
+
# @!attribute [rw] max_results
|
2761
|
+
# Maximum number of results to return in a single call.
|
2762
|
+
# @return [Integer]
|
867
2763
|
#
|
868
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsRequest AWS API Documentation
|
869
2765
|
#
|
870
|
-
class
|
871
|
-
:
|
872
|
-
:
|
2766
|
+
class ListReceivedGrantsRequest < Struct.new(
|
2767
|
+
:grant_arns,
|
2768
|
+
:filters,
|
873
2769
|
:next_token,
|
874
|
-
:
|
2770
|
+
:max_results)
|
875
2771
|
SENSITIVE = []
|
876
2772
|
include Aws::Structure
|
877
2773
|
end
|
878
2774
|
|
879
|
-
# @!attribute [rw]
|
880
|
-
#
|
881
|
-
# @return [Array<Types::
|
2775
|
+
# @!attribute [rw] grants
|
2776
|
+
# Received grant details.
|
2777
|
+
# @return [Array<Types::Grant>]
|
882
2778
|
#
|
883
2779
|
# @!attribute [rw] next_token
|
884
2780
|
# Token for the next set of results.
|
885
2781
|
# @return [String]
|
886
2782
|
#
|
887
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
2783
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsResponse AWS API Documentation
|
888
2784
|
#
|
889
|
-
class
|
890
|
-
:
|
2785
|
+
class ListReceivedGrantsResponse < Struct.new(
|
2786
|
+
:grants,
|
891
2787
|
:next_token)
|
892
2788
|
SENSITIVE = []
|
893
2789
|
include Aws::Structure
|
894
2790
|
end
|
895
2791
|
|
896
|
-
# @note When making an API call, you may pass
|
2792
|
+
# @note When making an API call, you may pass ListReceivedLicensesRequest
|
897
2793
|
# data as a hash:
|
898
2794
|
#
|
899
2795
|
# {
|
900
|
-
#
|
901
|
-
#
|
2796
|
+
# license_arns: ["Arn"],
|
2797
|
+
# filters: [
|
2798
|
+
# {
|
2799
|
+
# name: "FilterName",
|
2800
|
+
# values: ["FilterValue"],
|
2801
|
+
# },
|
2802
|
+
# ],
|
902
2803
|
# next_token: "String",
|
2804
|
+
# max_results: 1,
|
903
2805
|
# }
|
904
2806
|
#
|
905
|
-
# @!attribute [rw]
|
906
|
-
# Amazon Resource
|
907
|
-
#
|
908
|
-
# @return [String]
|
2807
|
+
# @!attribute [rw] license_arns
|
2808
|
+
# Amazon Resource Names (ARNs) of the licenses.
|
2809
|
+
# @return [Array<String>]
|
909
2810
|
#
|
910
|
-
# @!attribute [rw]
|
911
|
-
#
|
912
|
-
#
|
2811
|
+
# @!attribute [rw] filters
|
2812
|
+
# Filters to scope the results. The following filters are supported:
|
2813
|
+
#
|
2814
|
+
# * `ProductSKU`
|
2815
|
+
#
|
2816
|
+
# * `Status`
|
2817
|
+
#
|
2818
|
+
# * `KeyFingerprint`
|
2819
|
+
#
|
2820
|
+
# * `Issuer`
|
2821
|
+
# @return [Array<Types::Filter>]
|
913
2822
|
#
|
914
2823
|
# @!attribute [rw] next_token
|
915
2824
|
# Token for the next set of results.
|
916
2825
|
# @return [String]
|
917
2826
|
#
|
918
|
-
#
|
2827
|
+
# @!attribute [rw] max_results
|
2828
|
+
# Maximum number of results to return in a single call.
|
2829
|
+
# @return [Integer]
|
919
2830
|
#
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
:
|
2831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesRequest AWS API Documentation
|
2832
|
+
#
|
2833
|
+
class ListReceivedLicensesRequest < Struct.new(
|
2834
|
+
:license_arns,
|
2835
|
+
:filters,
|
2836
|
+
:next_token,
|
2837
|
+
:max_results)
|
924
2838
|
SENSITIVE = []
|
925
2839
|
include Aws::Structure
|
926
2840
|
end
|
927
2841
|
|
928
|
-
# @!attribute [rw]
|
929
|
-
#
|
930
|
-
# @return [Array<Types::
|
2842
|
+
# @!attribute [rw] licenses
|
2843
|
+
# Received license details.
|
2844
|
+
# @return [Array<Types::GrantedLicense>]
|
931
2845
|
#
|
932
2846
|
# @!attribute [rw] next_token
|
933
2847
|
# Token for the next set of results.
|
934
2848
|
# @return [String]
|
935
2849
|
#
|
936
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/
|
2850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesResponse AWS API Documentation
|
937
2851
|
#
|
938
|
-
class
|
939
|
-
:
|
2852
|
+
class ListReceivedLicensesResponse < Struct.new(
|
2853
|
+
:licenses,
|
940
2854
|
:next_token)
|
941
2855
|
SENSITIVE = []
|
942
2856
|
include Aws::Structure
|
@@ -1045,6 +2959,69 @@ module Aws::LicenseManager
|
|
1045
2959
|
include Aws::Structure
|
1046
2960
|
end
|
1047
2961
|
|
2962
|
+
# @note When making an API call, you may pass ListTokensRequest
|
2963
|
+
# data as a hash:
|
2964
|
+
#
|
2965
|
+
# {
|
2966
|
+
# token_ids: ["String"],
|
2967
|
+
# filters: [
|
2968
|
+
# {
|
2969
|
+
# name: "FilterName",
|
2970
|
+
# values: ["FilterValue"],
|
2971
|
+
# },
|
2972
|
+
# ],
|
2973
|
+
# next_token: "String",
|
2974
|
+
# max_results: 1,
|
2975
|
+
# }
|
2976
|
+
#
|
2977
|
+
# @!attribute [rw] token_ids
|
2978
|
+
# Token IDs.
|
2979
|
+
# @return [Array<String>]
|
2980
|
+
#
|
2981
|
+
# @!attribute [rw] filters
|
2982
|
+
# Filters to scope the results. The following filter is supported:
|
2983
|
+
#
|
2984
|
+
# * `licenseArns`
|
2985
|
+
#
|
2986
|
+
# ^
|
2987
|
+
# @return [Array<Types::Filter>]
|
2988
|
+
#
|
2989
|
+
# @!attribute [rw] next_token
|
2990
|
+
# Token for the next set of results.
|
2991
|
+
# @return [String]
|
2992
|
+
#
|
2993
|
+
# @!attribute [rw] max_results
|
2994
|
+
# Maximum number of results to return in a single call.
|
2995
|
+
# @return [Integer]
|
2996
|
+
#
|
2997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTokensRequest AWS API Documentation
|
2998
|
+
#
|
2999
|
+
class ListTokensRequest < Struct.new(
|
3000
|
+
:token_ids,
|
3001
|
+
:filters,
|
3002
|
+
:next_token,
|
3003
|
+
:max_results)
|
3004
|
+
SENSITIVE = []
|
3005
|
+
include Aws::Structure
|
3006
|
+
end
|
3007
|
+
|
3008
|
+
# @!attribute [rw] tokens
|
3009
|
+
# Received token details.
|
3010
|
+
# @return [Array<Types::TokenData>]
|
3011
|
+
#
|
3012
|
+
# @!attribute [rw] next_token
|
3013
|
+
# Token for the next set of results.
|
3014
|
+
# @return [String]
|
3015
|
+
#
|
3016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTokensResponse AWS API Documentation
|
3017
|
+
#
|
3018
|
+
class ListTokensResponse < Struct.new(
|
3019
|
+
:tokens,
|
3020
|
+
:next_token)
|
3021
|
+
SENSITIVE = []
|
3022
|
+
include Aws::Structure
|
3023
|
+
end
|
3024
|
+
|
1048
3025
|
# @note When making an API call, you may pass ListUsageForLicenseConfigurationRequest
|
1049
3026
|
# data as a hash:
|
1050
3027
|
#
|
@@ -1079,8 +3056,8 @@ module Aws::LicenseManager
|
|
1079
3056
|
# * `resourceArn` - The ARN of the license configuration resource.
|
1080
3057
|
# Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
1081
3058
|
#
|
1082
|
-
# * `resourceType` - The resource type (
|
1083
|
-
#
|
3059
|
+
# * `resourceType` - The resource type (`EC2_INSTANCE` \| `EC2_HOST`
|
3060
|
+
# \| `EC2_AMI` \| `SYSTEMS_MANAGER_MANAGED_INSTANCE`). Logical
|
1084
3061
|
# operators are `EQUALS` \| `NOT_EQUALS`.
|
1085
3062
|
#
|
1086
3063
|
# * `resourceAccount` - The ID of the account that owns the resource.
|
@@ -1134,14 +3111,22 @@ module Aws::LicenseManager
|
|
1134
3111
|
include Aws::Structure
|
1135
3112
|
end
|
1136
3113
|
|
1137
|
-
#
|
3114
|
+
# Describes key/value pairs.
|
3115
|
+
#
|
3116
|
+
# @note When making an API call, you may pass Metadata
|
3117
|
+
# data as a hash:
|
3118
|
+
#
|
3119
|
+
# {
|
3120
|
+
# name: "String",
|
3121
|
+
# value: "String",
|
3122
|
+
# }
|
1138
3123
|
#
|
1139
3124
|
# @!attribute [rw] name
|
1140
|
-
#
|
3125
|
+
# The key name.
|
1141
3126
|
# @return [String]
|
1142
3127
|
#
|
1143
3128
|
# @!attribute [rw] value
|
1144
|
-
#
|
3129
|
+
# The value.
|
1145
3130
|
# @return [String]
|
1146
3131
|
#
|
1147
3132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Metadata AWS API Documentation
|
@@ -1153,6 +3138,20 @@ module Aws::LicenseManager
|
|
1153
3138
|
include Aws::Structure
|
1154
3139
|
end
|
1155
3140
|
|
3141
|
+
# There are no entitlements found for this license, or the entitlement
|
3142
|
+
# maximum count is reached.
|
3143
|
+
#
|
3144
|
+
# @!attribute [rw] message
|
3145
|
+
# @return [String]
|
3146
|
+
#
|
3147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/NoEntitlementsAllowedException AWS API Documentation
|
3148
|
+
#
|
3149
|
+
class NoEntitlementsAllowedException < Struct.new(
|
3150
|
+
:message)
|
3151
|
+
SENSITIVE = []
|
3152
|
+
include Aws::Structure
|
3153
|
+
end
|
3154
|
+
|
1156
3155
|
# Configuration information for AWS Organizations.
|
1157
3156
|
#
|
1158
3157
|
# @note When making an API call, you may pass OrganizationConfiguration
|
@@ -1273,6 +3272,27 @@ module Aws::LicenseManager
|
|
1273
3272
|
include Aws::Structure
|
1274
3273
|
end
|
1275
3274
|
|
3275
|
+
# Details about a provisional configuration.
|
3276
|
+
#
|
3277
|
+
# @note When making an API call, you may pass ProvisionalConfiguration
|
3278
|
+
# data as a hash:
|
3279
|
+
#
|
3280
|
+
# {
|
3281
|
+
# max_time_to_live_in_minutes: 1, # required
|
3282
|
+
# }
|
3283
|
+
#
|
3284
|
+
# @!attribute [rw] max_time_to_live_in_minutes
|
3285
|
+
# Maximum time for the provisional configuration, in minutes.
|
3286
|
+
# @return [Integer]
|
3287
|
+
#
|
3288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ProvisionalConfiguration AWS API Documentation
|
3289
|
+
#
|
3290
|
+
class ProvisionalConfiguration < Struct.new(
|
3291
|
+
:max_time_to_live_in_minutes)
|
3292
|
+
SENSITIVE = []
|
3293
|
+
include Aws::Structure
|
3294
|
+
end
|
3295
|
+
|
1276
3296
|
# Too many requests have been submitted. Try again after a brief wait.
|
1277
3297
|
#
|
1278
3298
|
# @!attribute [rw] message
|
@@ -1286,6 +3306,83 @@ module Aws::LicenseManager
|
|
1286
3306
|
include Aws::Structure
|
1287
3307
|
end
|
1288
3308
|
|
3309
|
+
# Metadata associated with received licenses and grants.
|
3310
|
+
#
|
3311
|
+
# @!attribute [rw] received_status
|
3312
|
+
# Received status.
|
3313
|
+
# @return [String]
|
3314
|
+
#
|
3315
|
+
# @!attribute [rw] allowed_operations
|
3316
|
+
# Allowed operations.
|
3317
|
+
# @return [Array<String>]
|
3318
|
+
#
|
3319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ReceivedMetadata AWS API Documentation
|
3320
|
+
#
|
3321
|
+
class ReceivedMetadata < Struct.new(
|
3322
|
+
:received_status,
|
3323
|
+
:allowed_operations)
|
3324
|
+
SENSITIVE = []
|
3325
|
+
include Aws::Structure
|
3326
|
+
end
|
3327
|
+
|
3328
|
+
# This is not the correct Region for the resource. Try again.
|
3329
|
+
#
|
3330
|
+
# @!attribute [rw] location
|
3331
|
+
# @return [String]
|
3332
|
+
#
|
3333
|
+
# @!attribute [rw] message
|
3334
|
+
# @return [String]
|
3335
|
+
#
|
3336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RedirectException AWS API Documentation
|
3337
|
+
#
|
3338
|
+
class RedirectException < Struct.new(
|
3339
|
+
:location,
|
3340
|
+
:message)
|
3341
|
+
SENSITIVE = []
|
3342
|
+
include Aws::Structure
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
# @note When making an API call, you may pass RejectGrantRequest
|
3346
|
+
# data as a hash:
|
3347
|
+
#
|
3348
|
+
# {
|
3349
|
+
# grant_arn: "Arn", # required
|
3350
|
+
# }
|
3351
|
+
#
|
3352
|
+
# @!attribute [rw] grant_arn
|
3353
|
+
# Amazon Resource Name (ARN) of the grant.
|
3354
|
+
# @return [String]
|
3355
|
+
#
|
3356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrantRequest AWS API Documentation
|
3357
|
+
#
|
3358
|
+
class RejectGrantRequest < Struct.new(
|
3359
|
+
:grant_arn)
|
3360
|
+
SENSITIVE = []
|
3361
|
+
include Aws::Structure
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# @!attribute [rw] grant_arn
|
3365
|
+
# Grant ARN.
|
3366
|
+
# @return [String]
|
3367
|
+
#
|
3368
|
+
# @!attribute [rw] status
|
3369
|
+
# Grant status.
|
3370
|
+
# @return [String]
|
3371
|
+
#
|
3372
|
+
# @!attribute [rw] version
|
3373
|
+
# Grant version.
|
3374
|
+
# @return [String]
|
3375
|
+
#
|
3376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrantResponse AWS API Documentation
|
3377
|
+
#
|
3378
|
+
class RejectGrantResponse < Struct.new(
|
3379
|
+
:grant_arn,
|
3380
|
+
:status,
|
3381
|
+
:version)
|
3382
|
+
SENSITIVE = []
|
3383
|
+
include Aws::Structure
|
3384
|
+
end
|
3385
|
+
|
1289
3386
|
# Details about a resource.
|
1290
3387
|
#
|
1291
3388
|
# @!attribute [rw] resource_id
|
@@ -1338,6 +3435,19 @@ module Aws::LicenseManager
|
|
1338
3435
|
include Aws::Structure
|
1339
3436
|
end
|
1340
3437
|
|
3438
|
+
# The resource cannot be found.
|
3439
|
+
#
|
3440
|
+
# @!attribute [rw] message
|
3441
|
+
# @return [String]
|
3442
|
+
#
|
3443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ResourceNotFoundException AWS API Documentation
|
3444
|
+
#
|
3445
|
+
class ResourceNotFoundException < Struct.new(
|
3446
|
+
:message)
|
3447
|
+
SENSITIVE = []
|
3448
|
+
include Aws::Structure
|
3449
|
+
end
|
3450
|
+
|
1341
3451
|
# The server experienced an internal error. Try again.
|
1342
3452
|
#
|
1343
3453
|
# @!attribute [rw] message
|
@@ -1412,6 +3522,63 @@ module Aws::LicenseManager
|
|
1412
3522
|
#
|
1413
3523
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1414
3524
|
|
3525
|
+
# Describes a token.
|
3526
|
+
#
|
3527
|
+
# @!attribute [rw] token_id
|
3528
|
+
# Token ID.
|
3529
|
+
# @return [String]
|
3530
|
+
#
|
3531
|
+
# @!attribute [rw] token_type
|
3532
|
+
# Type of token generated. The supported value is `REFRESH_TOKEN`.
|
3533
|
+
# @return [String]
|
3534
|
+
#
|
3535
|
+
# @!attribute [rw] license_arn
|
3536
|
+
# Amazon Resource Name (ARN) of the license.
|
3537
|
+
# @return [String]
|
3538
|
+
#
|
3539
|
+
# @!attribute [rw] expiration_time
|
3540
|
+
# Token expiration time, in ISO8601-UTC format.
|
3541
|
+
# @return [String]
|
3542
|
+
#
|
3543
|
+
# @!attribute [rw] token_properties
|
3544
|
+
# Data specified by the caller.
|
3545
|
+
# @return [Array<String>]
|
3546
|
+
#
|
3547
|
+
# @!attribute [rw] role_arns
|
3548
|
+
# Amazon Resource Names (ARN) of the roles included in the token.
|
3549
|
+
# @return [Array<String>]
|
3550
|
+
#
|
3551
|
+
# @!attribute [rw] status
|
3552
|
+
# Token status. The possible values are `AVAILABLE` and `DELETED`.
|
3553
|
+
# @return [String]
|
3554
|
+
#
|
3555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TokenData AWS API Documentation
|
3556
|
+
#
|
3557
|
+
class TokenData < Struct.new(
|
3558
|
+
:token_id,
|
3559
|
+
:token_type,
|
3560
|
+
:license_arn,
|
3561
|
+
:expiration_time,
|
3562
|
+
:token_properties,
|
3563
|
+
:role_arns,
|
3564
|
+
:status)
|
3565
|
+
SENSITIVE = []
|
3566
|
+
include Aws::Structure
|
3567
|
+
end
|
3568
|
+
|
3569
|
+
# The digital signature method is unsupported. Try your request again.
|
3570
|
+
#
|
3571
|
+
# @!attribute [rw] message
|
3572
|
+
# @return [String]
|
3573
|
+
#
|
3574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UnsupportedDigitalSignatureMethodException AWS API Documentation
|
3575
|
+
#
|
3576
|
+
class UnsupportedDigitalSignatureMethodException < Struct.new(
|
3577
|
+
:message)
|
3578
|
+
SENSITIVE = []
|
3579
|
+
include Aws::Structure
|
3580
|
+
end
|
3581
|
+
|
1415
3582
|
# @note When making an API call, you may pass UntagResourceRequest
|
1416
3583
|
# data as a hash:
|
1417
3584
|
#
|
@@ -1609,5 +3776,18 @@ module Aws::LicenseManager
|
|
1609
3776
|
#
|
1610
3777
|
class UpdateServiceSettingsResponse < Aws::EmptyStructure; end
|
1611
3778
|
|
3779
|
+
# The provided input is not valid. Try your request again.
|
3780
|
+
#
|
3781
|
+
# @!attribute [rw] message
|
3782
|
+
# @return [String]
|
3783
|
+
#
|
3784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ValidationException AWS API Documentation
|
3785
|
+
#
|
3786
|
+
class ValidationException < Struct.new(
|
3787
|
+
:message)
|
3788
|
+
SENSITIVE = []
|
3789
|
+
include Aws::Structure
|
3790
|
+
end
|
3791
|
+
|
1612
3792
|
end
|
1613
3793
|
end
|