@aws-sdk/client-license-manager 3.301.0 → 3.303.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.
- package/dist-cjs/models/models_0.js +153 -171
- package/dist-es/models/models_0.js +153 -171
- package/dist-types/models/models_0.d.ts +244 -154
- package/dist-types/ts3.4/models/models_0.d.ts +182 -153
- package/package.json +34 -34
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LicenseUsageException = exports.InvalidResourceStateException = exports.LicenseConfigurationStatus = exports.InventoryFilterCondition = exports.FailedDependencyException = exports.ReceivedStatus = exports.FilterLimitExceededException = exports.LicenseConversionTaskStatus = exports.ResourceType = exports.LicenseDeletionStatus = exports.TokenType = exports.ReportType = exports.ReportFrequencyType = exports.LicenseCountingType = exports.LicenseStatus = exports.EntitlementUnit = exports.RenewType = exports.CheckoutType = exports.UnsupportedDigitalSignatureMethodException = exports.RedirectException = exports.NoEntitlementsAllowedException = exports.EntitlementNotAllowedException = exports.EntitlementDataUnit = exports.DigitalSignatureMethod = exports.ResourceNotFoundException = exports.ConflictException = exports.AllowedOperation = exports.ValidationException = exports.ServerInternalException = exports.ResourceLimitExceededException = exports.RateLimitExceededException = exports.InvalidParameterValueException = exports.AuthorizationException = exports.AccessDeniedException = exports.GrantStatus = void 0;
|
|
4
4
|
const LicenseManagerServiceException_1 = require("./LicenseManagerServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(GrantStatus = exports.GrantStatus || (exports.GrantStatus = {}));
|
|
5
|
+
exports.GrantStatus = {
|
|
6
|
+
ACTIVE: "ACTIVE",
|
|
7
|
+
DELETED: "DELETED",
|
|
8
|
+
DISABLED: "DISABLED",
|
|
9
|
+
FAILED_WORKFLOW: "FAILED_WORKFLOW",
|
|
10
|
+
PENDING_ACCEPT: "PENDING_ACCEPT",
|
|
11
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
12
|
+
PENDING_WORKFLOW: "PENDING_WORKFLOW",
|
|
13
|
+
REJECTED: "REJECTED",
|
|
14
|
+
WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED",
|
|
15
|
+
};
|
|
17
16
|
class AccessDeniedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
18
17
|
constructor(opts) {
|
|
19
18
|
super({
|
|
@@ -112,16 +111,15 @@ class ValidationException extends LicenseManagerServiceException_1.LicenseManage
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
exports.ValidationException = ValidationException;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
})(AllowedOperation = exports.AllowedOperation || (exports.AllowedOperation = {}));
|
|
114
|
+
exports.AllowedOperation = {
|
|
115
|
+
CHECKOUT_BORROW_LICENSE: "CheckoutBorrowLicense",
|
|
116
|
+
CHECKOUT_LICENSE: "CheckoutLicense",
|
|
117
|
+
CHECK_IN_LICENSE: "CheckInLicense",
|
|
118
|
+
CREATE_GRANT: "CreateGrant",
|
|
119
|
+
CREATE_TOKEN: "CreateToken",
|
|
120
|
+
EXTEND_CONSUMPTION_LICENSE: "ExtendConsumptionLicense",
|
|
121
|
+
LIST_PURCHASED_LICENSES: "ListPurchasedLicenses",
|
|
122
|
+
};
|
|
125
123
|
class ConflictException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
126
124
|
constructor(opts) {
|
|
127
125
|
super({
|
|
@@ -150,40 +148,38 @@ class ResourceNotFoundException extends LicenseManagerServiceException_1.License
|
|
|
150
148
|
}
|
|
151
149
|
}
|
|
152
150
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
EntitlementDataUnit["TERABYTES_PER_SECOND"] = "Terabytes/Second";
|
|
186
|
-
})(EntitlementDataUnit = exports.EntitlementDataUnit || (exports.EntitlementDataUnit = {}));
|
|
151
|
+
exports.DigitalSignatureMethod = {
|
|
152
|
+
JWT_PS384: "JWT_PS384",
|
|
153
|
+
};
|
|
154
|
+
exports.EntitlementDataUnit = {
|
|
155
|
+
BITS: "Bits",
|
|
156
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
157
|
+
BYTES: "Bytes",
|
|
158
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
159
|
+
COUNT: "Count",
|
|
160
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
161
|
+
GIGABITS: "Gigabits",
|
|
162
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
163
|
+
GIGABYTES: "Gigabytes",
|
|
164
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
165
|
+
KILOBITS: "Kilobits",
|
|
166
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
167
|
+
KILOBYTES: "Kilobytes",
|
|
168
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
169
|
+
MEGABITS: "Megabits",
|
|
170
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
171
|
+
MEGABYTES: "Megabytes",
|
|
172
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
173
|
+
MICROSECONDS: "Microseconds",
|
|
174
|
+
MILLISECONDS: "Milliseconds",
|
|
175
|
+
NONE: "None",
|
|
176
|
+
PERCENT: "Percent",
|
|
177
|
+
SECONDS: "Seconds",
|
|
178
|
+
TERABITS: "Terabits",
|
|
179
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
180
|
+
TERABYTES: "Terabytes",
|
|
181
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
182
|
+
};
|
|
187
183
|
class EntitlementNotAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
188
184
|
constructor(opts) {
|
|
189
185
|
super({
|
|
@@ -241,98 +237,87 @@ class UnsupportedDigitalSignatureMethodException extends LicenseManagerServiceEx
|
|
|
241
237
|
}
|
|
242
238
|
}
|
|
243
239
|
exports.UnsupportedDigitalSignatureMethodException = UnsupportedDigitalSignatureMethodException;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
ResourceType["EC2_HOST"] = "EC2_HOST";
|
|
326
|
-
ResourceType["EC2_INSTANCE"] = "EC2_INSTANCE";
|
|
327
|
-
ResourceType["RDS"] = "RDS";
|
|
328
|
-
ResourceType["SYSTEMS_MANAGER_MANAGED_INSTANCE"] = "SYSTEMS_MANAGER_MANAGED_INSTANCE";
|
|
329
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
330
|
-
var LicenseConversionTaskStatus;
|
|
331
|
-
(function (LicenseConversionTaskStatus) {
|
|
332
|
-
LicenseConversionTaskStatus["FAILED"] = "FAILED";
|
|
333
|
-
LicenseConversionTaskStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
334
|
-
LicenseConversionTaskStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
335
|
-
})(LicenseConversionTaskStatus = exports.LicenseConversionTaskStatus || (exports.LicenseConversionTaskStatus = {}));
|
|
240
|
+
exports.CheckoutType = {
|
|
241
|
+
PERPETUAL: "PERPETUAL",
|
|
242
|
+
PROVISIONAL: "PROVISIONAL",
|
|
243
|
+
};
|
|
244
|
+
exports.RenewType = {
|
|
245
|
+
MONTHLY: "Monthly",
|
|
246
|
+
NONE: "None",
|
|
247
|
+
WEEKLY: "Weekly",
|
|
248
|
+
};
|
|
249
|
+
exports.EntitlementUnit = {
|
|
250
|
+
BITS: "Bits",
|
|
251
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
252
|
+
BYTES: "Bytes",
|
|
253
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
254
|
+
COUNT: "Count",
|
|
255
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
256
|
+
GIGABITS: "Gigabits",
|
|
257
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
258
|
+
GIGABYTES: "Gigabytes",
|
|
259
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
260
|
+
KILOBITS: "Kilobits",
|
|
261
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
262
|
+
KILOBYTES: "Kilobytes",
|
|
263
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
264
|
+
MEGABITS: "Megabits",
|
|
265
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
266
|
+
MEGABYTES: "Megabytes",
|
|
267
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
268
|
+
MICROSECONDS: "Microseconds",
|
|
269
|
+
MILLISECONDS: "Milliseconds",
|
|
270
|
+
NONE: "None",
|
|
271
|
+
PERCENT: "Percent",
|
|
272
|
+
SECONDS: "Seconds",
|
|
273
|
+
TERABITS: "Terabits",
|
|
274
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
275
|
+
TERABYTES: "Terabytes",
|
|
276
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
277
|
+
};
|
|
278
|
+
exports.LicenseStatus = {
|
|
279
|
+
AVAILABLE: "AVAILABLE",
|
|
280
|
+
DEACTIVATED: "DEACTIVATED",
|
|
281
|
+
DELETED: "DELETED",
|
|
282
|
+
EXPIRED: "EXPIRED",
|
|
283
|
+
PENDING_AVAILABLE: "PENDING_AVAILABLE",
|
|
284
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
285
|
+
SUSPENDED: "SUSPENDED",
|
|
286
|
+
};
|
|
287
|
+
exports.LicenseCountingType = {
|
|
288
|
+
CORE: "Core",
|
|
289
|
+
INSTANCE: "Instance",
|
|
290
|
+
SOCKET: "Socket",
|
|
291
|
+
VCPU: "vCPU",
|
|
292
|
+
};
|
|
293
|
+
exports.ReportFrequencyType = {
|
|
294
|
+
DAY: "DAY",
|
|
295
|
+
MONTH: "MONTH",
|
|
296
|
+
WEEK: "WEEK",
|
|
297
|
+
};
|
|
298
|
+
exports.ReportType = {
|
|
299
|
+
LICENSE_CONFIGURATION_SUMMARY_REPORT: "LicenseConfigurationSummaryReport",
|
|
300
|
+
LICENSE_CONFIGURATION_USAGE_REPORT: "LicenseConfigurationUsageReport",
|
|
301
|
+
};
|
|
302
|
+
exports.TokenType = {
|
|
303
|
+
REFRESH_TOKEN: "REFRESH_TOKEN",
|
|
304
|
+
};
|
|
305
|
+
exports.LicenseDeletionStatus = {
|
|
306
|
+
DELETED: "DELETED",
|
|
307
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
308
|
+
};
|
|
309
|
+
exports.ResourceType = {
|
|
310
|
+
EC2_AMI: "EC2_AMI",
|
|
311
|
+
EC2_HOST: "EC2_HOST",
|
|
312
|
+
EC2_INSTANCE: "EC2_INSTANCE",
|
|
313
|
+
RDS: "RDS",
|
|
314
|
+
SYSTEMS_MANAGER_MANAGED_INSTANCE: "SYSTEMS_MANAGER_MANAGED_INSTANCE",
|
|
315
|
+
};
|
|
316
|
+
exports.LicenseConversionTaskStatus = {
|
|
317
|
+
FAILED: "FAILED",
|
|
318
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
319
|
+
SUCCEEDED: "SUCCEEDED",
|
|
320
|
+
};
|
|
336
321
|
class FilterLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
337
322
|
constructor(opts) {
|
|
338
323
|
super({
|
|
@@ -347,17 +332,16 @@ class FilterLimitExceededException extends LicenseManagerServiceException_1.Lice
|
|
|
347
332
|
}
|
|
348
333
|
}
|
|
349
334
|
exports.FilterLimitExceededException = FilterLimitExceededException;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
})(ReceivedStatus = exports.ReceivedStatus || (exports.ReceivedStatus = {}));
|
|
335
|
+
exports.ReceivedStatus = {
|
|
336
|
+
ACTIVE: "ACTIVE",
|
|
337
|
+
DELETED: "DELETED",
|
|
338
|
+
DISABLED: "DISABLED",
|
|
339
|
+
FAILED_WORKFLOW: "FAILED_WORKFLOW",
|
|
340
|
+
PENDING_ACCEPT: "PENDING_ACCEPT",
|
|
341
|
+
PENDING_WORKFLOW: "PENDING_WORKFLOW",
|
|
342
|
+
REJECTED: "REJECTED",
|
|
343
|
+
WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED",
|
|
344
|
+
};
|
|
361
345
|
class FailedDependencyException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
362
346
|
constructor(opts) {
|
|
363
347
|
super({
|
|
@@ -373,18 +357,16 @@ class FailedDependencyException extends LicenseManagerServiceException_1.License
|
|
|
373
357
|
}
|
|
374
358
|
}
|
|
375
359
|
exports.FailedDependencyException = FailedDependencyException;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
LicenseConfigurationStatus["DISABLED"] = "DISABLED";
|
|
387
|
-
})(LicenseConfigurationStatus = exports.LicenseConfigurationStatus || (exports.LicenseConfigurationStatus = {}));
|
|
360
|
+
exports.InventoryFilterCondition = {
|
|
361
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
362
|
+
CONTAINS: "CONTAINS",
|
|
363
|
+
EQUALS: "EQUALS",
|
|
364
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
365
|
+
};
|
|
366
|
+
exports.LicenseConfigurationStatus = {
|
|
367
|
+
AVAILABLE: "AVAILABLE",
|
|
368
|
+
DISABLED: "DISABLED",
|
|
369
|
+
};
|
|
388
370
|
class InvalidResourceStateException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
|
|
389
371
|
constructor(opts) {
|
|
390
372
|
super({
|