@aws-sdk/client-license-manager 3.490.0 → 3.495.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.
Files changed (62) hide show
  1. package/dist-cjs/LicenseManager.js +1 -111
  2. package/dist-cjs/LicenseManagerClient.js +1 -43
  3. package/dist-cjs/commands/AcceptGrantCommand.js +1 -28
  4. package/dist-cjs/commands/CheckInLicenseCommand.js +1 -28
  5. package/dist-cjs/commands/CheckoutBorrowLicenseCommand.js +1 -28
  6. package/dist-cjs/commands/CheckoutLicenseCommand.js +1 -28
  7. package/dist-cjs/commands/CreateGrantCommand.js +1 -28
  8. package/dist-cjs/commands/CreateGrantVersionCommand.js +1 -28
  9. package/dist-cjs/commands/CreateLicenseCommand.js +1 -28
  10. package/dist-cjs/commands/CreateLicenseConfigurationCommand.js +1 -28
  11. package/dist-cjs/commands/CreateLicenseConversionTaskForResourceCommand.js +1 -28
  12. package/dist-cjs/commands/CreateLicenseManagerReportGeneratorCommand.js +1 -28
  13. package/dist-cjs/commands/CreateLicenseVersionCommand.js +1 -28
  14. package/dist-cjs/commands/CreateTokenCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteGrantCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteLicenseCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteLicenseConfigurationCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteLicenseManagerReportGeneratorCommand.js +1 -28
  19. package/dist-cjs/commands/DeleteTokenCommand.js +1 -28
  20. package/dist-cjs/commands/ExtendLicenseConsumptionCommand.js +1 -28
  21. package/dist-cjs/commands/GetAccessTokenCommand.js +1 -28
  22. package/dist-cjs/commands/GetGrantCommand.js +1 -28
  23. package/dist-cjs/commands/GetLicenseCommand.js +1 -28
  24. package/dist-cjs/commands/GetLicenseConfigurationCommand.js +1 -28
  25. package/dist-cjs/commands/GetLicenseConversionTaskCommand.js +1 -28
  26. package/dist-cjs/commands/GetLicenseManagerReportGeneratorCommand.js +1 -28
  27. package/dist-cjs/commands/GetLicenseUsageCommand.js +1 -28
  28. package/dist-cjs/commands/GetServiceSettingsCommand.js +1 -28
  29. package/dist-cjs/commands/ListAssociationsForLicenseConfigurationCommand.js +1 -28
  30. package/dist-cjs/commands/ListDistributedGrantsCommand.js +1 -28
  31. package/dist-cjs/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +1 -28
  32. package/dist-cjs/commands/ListLicenseConfigurationsCommand.js +1 -28
  33. package/dist-cjs/commands/ListLicenseConversionTasksCommand.js +1 -28
  34. package/dist-cjs/commands/ListLicenseManagerReportGeneratorsCommand.js +1 -28
  35. package/dist-cjs/commands/ListLicenseSpecificationsForResourceCommand.js +1 -28
  36. package/dist-cjs/commands/ListLicenseVersionsCommand.js +1 -28
  37. package/dist-cjs/commands/ListLicensesCommand.js +1 -28
  38. package/dist-cjs/commands/ListReceivedGrantsCommand.js +1 -28
  39. package/dist-cjs/commands/ListReceivedGrantsForOrganizationCommand.js +1 -28
  40. package/dist-cjs/commands/ListReceivedLicensesCommand.js +1 -28
  41. package/dist-cjs/commands/ListReceivedLicensesForOrganizationCommand.js +1 -28
  42. package/dist-cjs/commands/ListResourceInventoryCommand.js +1 -28
  43. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  44. package/dist-cjs/commands/ListTokensCommand.js +1 -28
  45. package/dist-cjs/commands/ListUsageForLicenseConfigurationCommand.js +1 -28
  46. package/dist-cjs/commands/RejectGrantCommand.js +1 -28
  47. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  48. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  49. package/dist-cjs/commands/UpdateLicenseConfigurationCommand.js +1 -28
  50. package/dist-cjs/commands/UpdateLicenseManagerReportGeneratorCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateLicenseSpecificationsForResourceCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateServiceSettingsCommand.js +1 -28
  53. package/dist-cjs/commands/index.js +1 -53
  54. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  55. package/dist-cjs/extensionConfiguration.js +1 -2
  56. package/dist-cjs/index.js +4819 -10
  57. package/dist-cjs/models/LicenseManagerServiceException.js +1 -12
  58. package/dist-cjs/models/index.js +1 -4
  59. package/dist-cjs/models/models_0.js +1 -401
  60. package/dist-cjs/protocols/Aws_json1_1.js +1 -3240
  61. package/dist-cjs/runtimeExtensions.js +1 -22
  62. package/package.json +39 -39
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LicenseManagerServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class LicenseManagerServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, LicenseManagerServiceException.prototype);
10
- }
11
- }
12
- exports.LicenseManagerServiceException = LicenseManagerServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,401 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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.ActivationOverrideBehavior = exports.ValidationException = exports.ServerInternalException = exports.ResourceLimitExceededException = exports.RateLimitExceededException = exports.InvalidParameterValueException = exports.AuthorizationException = exports.AccessDeniedException = exports.GrantStatus = void 0;
4
- const LicenseManagerServiceException_1 = require("./LicenseManagerServiceException");
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
- };
16
- class AccessDeniedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
17
- constructor(opts) {
18
- super({
19
- name: "AccessDeniedException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- this.name = "AccessDeniedException";
24
- this.$fault = "client";
25
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
26
- this.Message = opts.Message;
27
- }
28
- }
29
- exports.AccessDeniedException = AccessDeniedException;
30
- class AuthorizationException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
31
- constructor(opts) {
32
- super({
33
- name: "AuthorizationException",
34
- $fault: "client",
35
- ...opts,
36
- });
37
- this.name = "AuthorizationException";
38
- this.$fault = "client";
39
- Object.setPrototypeOf(this, AuthorizationException.prototype);
40
- this.Message = opts.Message;
41
- }
42
- }
43
- exports.AuthorizationException = AuthorizationException;
44
- class InvalidParameterValueException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
45
- constructor(opts) {
46
- super({
47
- name: "InvalidParameterValueException",
48
- $fault: "client",
49
- ...opts,
50
- });
51
- this.name = "InvalidParameterValueException";
52
- this.$fault = "client";
53
- Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
54
- this.Message = opts.Message;
55
- }
56
- }
57
- exports.InvalidParameterValueException = InvalidParameterValueException;
58
- class RateLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
59
- constructor(opts) {
60
- super({
61
- name: "RateLimitExceededException",
62
- $fault: "client",
63
- ...opts,
64
- });
65
- this.name = "RateLimitExceededException";
66
- this.$fault = "client";
67
- Object.setPrototypeOf(this, RateLimitExceededException.prototype);
68
- this.Message = opts.Message;
69
- }
70
- }
71
- exports.RateLimitExceededException = RateLimitExceededException;
72
- class ResourceLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
73
- constructor(opts) {
74
- super({
75
- name: "ResourceLimitExceededException",
76
- $fault: "client",
77
- ...opts,
78
- });
79
- this.name = "ResourceLimitExceededException";
80
- this.$fault = "client";
81
- Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
82
- this.Message = opts.Message;
83
- }
84
- }
85
- exports.ResourceLimitExceededException = ResourceLimitExceededException;
86
- class ServerInternalException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
87
- constructor(opts) {
88
- super({
89
- name: "ServerInternalException",
90
- $fault: "server",
91
- ...opts,
92
- });
93
- this.name = "ServerInternalException";
94
- this.$fault = "server";
95
- Object.setPrototypeOf(this, ServerInternalException.prototype);
96
- this.Message = opts.Message;
97
- }
98
- }
99
- exports.ServerInternalException = ServerInternalException;
100
- class ValidationException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
101
- constructor(opts) {
102
- super({
103
- name: "ValidationException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- this.name = "ValidationException";
108
- this.$fault = "client";
109
- Object.setPrototypeOf(this, ValidationException.prototype);
110
- this.Message = opts.Message;
111
- }
112
- }
113
- exports.ValidationException = ValidationException;
114
- exports.ActivationOverrideBehavior = {
115
- ALL_GRANTS_PERMITTED_BY_ISSUER: "ALL_GRANTS_PERMITTED_BY_ISSUER",
116
- DISTRIBUTED_GRANTS_ONLY: "DISTRIBUTED_GRANTS_ONLY",
117
- };
118
- exports.AllowedOperation = {
119
- CHECKOUT_BORROW_LICENSE: "CheckoutBorrowLicense",
120
- CHECKOUT_LICENSE: "CheckoutLicense",
121
- CHECK_IN_LICENSE: "CheckInLicense",
122
- CREATE_GRANT: "CreateGrant",
123
- CREATE_TOKEN: "CreateToken",
124
- EXTEND_CONSUMPTION_LICENSE: "ExtendConsumptionLicense",
125
- LIST_PURCHASED_LICENSES: "ListPurchasedLicenses",
126
- };
127
- class ConflictException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
128
- constructor(opts) {
129
- super({
130
- name: "ConflictException",
131
- $fault: "client",
132
- ...opts,
133
- });
134
- this.name = "ConflictException";
135
- this.$fault = "client";
136
- Object.setPrototypeOf(this, ConflictException.prototype);
137
- this.Message = opts.Message;
138
- }
139
- }
140
- exports.ConflictException = ConflictException;
141
- class ResourceNotFoundException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
142
- constructor(opts) {
143
- super({
144
- name: "ResourceNotFoundException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- this.name = "ResourceNotFoundException";
149
- this.$fault = "client";
150
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
151
- this.Message = opts.Message;
152
- }
153
- }
154
- exports.ResourceNotFoundException = ResourceNotFoundException;
155
- exports.DigitalSignatureMethod = {
156
- JWT_PS384: "JWT_PS384",
157
- };
158
- exports.EntitlementDataUnit = {
159
- BITS: "Bits",
160
- BITS_PER_SECOND: "Bits/Second",
161
- BYTES: "Bytes",
162
- BYTES_PER_SECOND: "Bytes/Second",
163
- COUNT: "Count",
164
- COUNT_PER_SECOND: "Count/Second",
165
- GIGABITS: "Gigabits",
166
- GIGABITS_PER_SECOND: "Gigabits/Second",
167
- GIGABYTES: "Gigabytes",
168
- GIGABYTES_PER_SECOND: "Gigabytes/Second",
169
- KILOBITS: "Kilobits",
170
- KILOBITS_PER_SECOND: "Kilobits/Second",
171
- KILOBYTES: "Kilobytes",
172
- KILOBYTES_PER_SECOND: "Kilobytes/Second",
173
- MEGABITS: "Megabits",
174
- MEGABITS_PER_SECOND: "Megabits/Second",
175
- MEGABYTES: "Megabytes",
176
- MEGABYTES_PER_SECOND: "Megabytes/Second",
177
- MICROSECONDS: "Microseconds",
178
- MILLISECONDS: "Milliseconds",
179
- NONE: "None",
180
- PERCENT: "Percent",
181
- SECONDS: "Seconds",
182
- TERABITS: "Terabits",
183
- TERABITS_PER_SECOND: "Terabits/Second",
184
- TERABYTES: "Terabytes",
185
- TERABYTES_PER_SECOND: "Terabytes/Second",
186
- };
187
- class EntitlementNotAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
188
- constructor(opts) {
189
- super({
190
- name: "EntitlementNotAllowedException",
191
- $fault: "client",
192
- ...opts,
193
- });
194
- this.name = "EntitlementNotAllowedException";
195
- this.$fault = "client";
196
- Object.setPrototypeOf(this, EntitlementNotAllowedException.prototype);
197
- this.Message = opts.Message;
198
- }
199
- }
200
- exports.EntitlementNotAllowedException = EntitlementNotAllowedException;
201
- class NoEntitlementsAllowedException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
202
- constructor(opts) {
203
- super({
204
- name: "NoEntitlementsAllowedException",
205
- $fault: "client",
206
- ...opts,
207
- });
208
- this.name = "NoEntitlementsAllowedException";
209
- this.$fault = "client";
210
- Object.setPrototypeOf(this, NoEntitlementsAllowedException.prototype);
211
- this.Message = opts.Message;
212
- }
213
- }
214
- exports.NoEntitlementsAllowedException = NoEntitlementsAllowedException;
215
- class RedirectException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
216
- constructor(opts) {
217
- super({
218
- name: "RedirectException",
219
- $fault: "client",
220
- ...opts,
221
- });
222
- this.name = "RedirectException";
223
- this.$fault = "client";
224
- Object.setPrototypeOf(this, RedirectException.prototype);
225
- this.Location = opts.Location;
226
- this.Message = opts.Message;
227
- }
228
- }
229
- exports.RedirectException = RedirectException;
230
- class UnsupportedDigitalSignatureMethodException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
231
- constructor(opts) {
232
- super({
233
- name: "UnsupportedDigitalSignatureMethodException",
234
- $fault: "client",
235
- ...opts,
236
- });
237
- this.name = "UnsupportedDigitalSignatureMethodException";
238
- this.$fault = "client";
239
- Object.setPrototypeOf(this, UnsupportedDigitalSignatureMethodException.prototype);
240
- this.Message = opts.Message;
241
- }
242
- }
243
- exports.UnsupportedDigitalSignatureMethodException = UnsupportedDigitalSignatureMethodException;
244
- exports.CheckoutType = {
245
- PERPETUAL: "PERPETUAL",
246
- PROVISIONAL: "PROVISIONAL",
247
- };
248
- exports.RenewType = {
249
- MONTHLY: "Monthly",
250
- NONE: "None",
251
- WEEKLY: "Weekly",
252
- };
253
- exports.EntitlementUnit = {
254
- BITS: "Bits",
255
- BITS_PER_SECOND: "Bits/Second",
256
- BYTES: "Bytes",
257
- BYTES_PER_SECOND: "Bytes/Second",
258
- COUNT: "Count",
259
- COUNT_PER_SECOND: "Count/Second",
260
- GIGABITS: "Gigabits",
261
- GIGABITS_PER_SECOND: "Gigabits/Second",
262
- GIGABYTES: "Gigabytes",
263
- GIGABYTES_PER_SECOND: "Gigabytes/Second",
264
- KILOBITS: "Kilobits",
265
- KILOBITS_PER_SECOND: "Kilobits/Second",
266
- KILOBYTES: "Kilobytes",
267
- KILOBYTES_PER_SECOND: "Kilobytes/Second",
268
- MEGABITS: "Megabits",
269
- MEGABITS_PER_SECOND: "Megabits/Second",
270
- MEGABYTES: "Megabytes",
271
- MEGABYTES_PER_SECOND: "Megabytes/Second",
272
- MICROSECONDS: "Microseconds",
273
- MILLISECONDS: "Milliseconds",
274
- NONE: "None",
275
- PERCENT: "Percent",
276
- SECONDS: "Seconds",
277
- TERABITS: "Terabits",
278
- TERABITS_PER_SECOND: "Terabits/Second",
279
- TERABYTES: "Terabytes",
280
- TERABYTES_PER_SECOND: "Terabytes/Second",
281
- };
282
- exports.LicenseStatus = {
283
- AVAILABLE: "AVAILABLE",
284
- DEACTIVATED: "DEACTIVATED",
285
- DELETED: "DELETED",
286
- EXPIRED: "EXPIRED",
287
- PENDING_AVAILABLE: "PENDING_AVAILABLE",
288
- PENDING_DELETE: "PENDING_DELETE",
289
- SUSPENDED: "SUSPENDED",
290
- };
291
- exports.LicenseCountingType = {
292
- CORE: "Core",
293
- INSTANCE: "Instance",
294
- SOCKET: "Socket",
295
- VCPU: "vCPU",
296
- };
297
- exports.ReportFrequencyType = {
298
- DAY: "DAY",
299
- MONTH: "MONTH",
300
- WEEK: "WEEK",
301
- };
302
- exports.ReportType = {
303
- LICENSE_CONFIGURATION_SUMMARY_REPORT: "LicenseConfigurationSummaryReport",
304
- LICENSE_CONFIGURATION_USAGE_REPORT: "LicenseConfigurationUsageReport",
305
- };
306
- exports.TokenType = {
307
- REFRESH_TOKEN: "REFRESH_TOKEN",
308
- };
309
- exports.LicenseDeletionStatus = {
310
- DELETED: "DELETED",
311
- PENDING_DELETE: "PENDING_DELETE",
312
- };
313
- exports.ResourceType = {
314
- EC2_AMI: "EC2_AMI",
315
- EC2_HOST: "EC2_HOST",
316
- EC2_INSTANCE: "EC2_INSTANCE",
317
- RDS: "RDS",
318
- SYSTEMS_MANAGER_MANAGED_INSTANCE: "SYSTEMS_MANAGER_MANAGED_INSTANCE",
319
- };
320
- exports.LicenseConversionTaskStatus = {
321
- FAILED: "FAILED",
322
- IN_PROGRESS: "IN_PROGRESS",
323
- SUCCEEDED: "SUCCEEDED",
324
- };
325
- class FilterLimitExceededException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
326
- constructor(opts) {
327
- super({
328
- name: "FilterLimitExceededException",
329
- $fault: "client",
330
- ...opts,
331
- });
332
- this.name = "FilterLimitExceededException";
333
- this.$fault = "client";
334
- Object.setPrototypeOf(this, FilterLimitExceededException.prototype);
335
- this.Message = opts.Message;
336
- }
337
- }
338
- exports.FilterLimitExceededException = FilterLimitExceededException;
339
- exports.ReceivedStatus = {
340
- ACTIVE: "ACTIVE",
341
- DELETED: "DELETED",
342
- DISABLED: "DISABLED",
343
- FAILED_WORKFLOW: "FAILED_WORKFLOW",
344
- PENDING_ACCEPT: "PENDING_ACCEPT",
345
- PENDING_WORKFLOW: "PENDING_WORKFLOW",
346
- REJECTED: "REJECTED",
347
- WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED",
348
- };
349
- class FailedDependencyException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
350
- constructor(opts) {
351
- super({
352
- name: "FailedDependencyException",
353
- $fault: "client",
354
- ...opts,
355
- });
356
- this.name = "FailedDependencyException";
357
- this.$fault = "client";
358
- Object.setPrototypeOf(this, FailedDependencyException.prototype);
359
- this.Message = opts.Message;
360
- this.ErrorCode = opts.ErrorCode;
361
- }
362
- }
363
- exports.FailedDependencyException = FailedDependencyException;
364
- exports.InventoryFilterCondition = {
365
- BEGINS_WITH: "BEGINS_WITH",
366
- CONTAINS: "CONTAINS",
367
- EQUALS: "EQUALS",
368
- NOT_EQUALS: "NOT_EQUALS",
369
- };
370
- exports.LicenseConfigurationStatus = {
371
- AVAILABLE: "AVAILABLE",
372
- DISABLED: "DISABLED",
373
- };
374
- class InvalidResourceStateException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
375
- constructor(opts) {
376
- super({
377
- name: "InvalidResourceStateException",
378
- $fault: "client",
379
- ...opts,
380
- });
381
- this.name = "InvalidResourceStateException";
382
- this.$fault = "client";
383
- Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
384
- this.Message = opts.Message;
385
- }
386
- }
387
- exports.InvalidResourceStateException = InvalidResourceStateException;
388
- class LicenseUsageException extends LicenseManagerServiceException_1.LicenseManagerServiceException {
389
- constructor(opts) {
390
- super({
391
- name: "LicenseUsageException",
392
- $fault: "client",
393
- ...opts,
394
- });
395
- this.name = "LicenseUsageException";
396
- this.$fault = "client";
397
- Object.setPrototypeOf(this, LicenseUsageException.prototype);
398
- this.Message = opts.Message;
399
- }
400
- }
401
- exports.LicenseUsageException = LicenseUsageException;
1
+ module.exports = require("../index.js");