@aws-sdk/client-license-manager 3.490.0 → 3.496.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 +4821 -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
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,4822 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LicenseManagerServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./LicenseManagerClient"), exports);
6
- tslib_1.__exportStar(require("./LicenseManager"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
- require("@aws-sdk/util-endpoints");
10
- var LicenseManagerServiceException_1 = require("./models/LicenseManagerServiceException");
11
- Object.defineProperty(exports, "LicenseManagerServiceException", { enumerable: true, get: function () { return LicenseManagerServiceException_1.LicenseManagerServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AcceptGrantCommand: () => AcceptGrantCommand,
25
+ AccessDeniedException: () => AccessDeniedException,
26
+ ActivationOverrideBehavior: () => ActivationOverrideBehavior,
27
+ AllowedOperation: () => AllowedOperation,
28
+ AuthorizationException: () => AuthorizationException,
29
+ CheckInLicenseCommand: () => CheckInLicenseCommand,
30
+ CheckoutBorrowLicenseCommand: () => CheckoutBorrowLicenseCommand,
31
+ CheckoutLicenseCommand: () => CheckoutLicenseCommand,
32
+ CheckoutType: () => CheckoutType,
33
+ ConflictException: () => ConflictException,
34
+ CreateGrantCommand: () => CreateGrantCommand,
35
+ CreateGrantVersionCommand: () => CreateGrantVersionCommand,
36
+ CreateLicenseCommand: () => CreateLicenseCommand,
37
+ CreateLicenseConfigurationCommand: () => CreateLicenseConfigurationCommand,
38
+ CreateLicenseConversionTaskForResourceCommand: () => CreateLicenseConversionTaskForResourceCommand,
39
+ CreateLicenseManagerReportGeneratorCommand: () => CreateLicenseManagerReportGeneratorCommand,
40
+ CreateLicenseVersionCommand: () => CreateLicenseVersionCommand,
41
+ CreateTokenCommand: () => CreateTokenCommand,
42
+ DeleteGrantCommand: () => DeleteGrantCommand,
43
+ DeleteLicenseCommand: () => DeleteLicenseCommand,
44
+ DeleteLicenseConfigurationCommand: () => DeleteLicenseConfigurationCommand,
45
+ DeleteLicenseManagerReportGeneratorCommand: () => DeleteLicenseManagerReportGeneratorCommand,
46
+ DeleteTokenCommand: () => DeleteTokenCommand,
47
+ DigitalSignatureMethod: () => DigitalSignatureMethod,
48
+ EntitlementDataUnit: () => EntitlementDataUnit,
49
+ EntitlementNotAllowedException: () => EntitlementNotAllowedException,
50
+ EntitlementUnit: () => EntitlementUnit,
51
+ ExtendLicenseConsumptionCommand: () => ExtendLicenseConsumptionCommand,
52
+ FailedDependencyException: () => FailedDependencyException,
53
+ FilterLimitExceededException: () => FilterLimitExceededException,
54
+ GetAccessTokenCommand: () => GetAccessTokenCommand,
55
+ GetGrantCommand: () => GetGrantCommand,
56
+ GetLicenseCommand: () => GetLicenseCommand,
57
+ GetLicenseConfigurationCommand: () => GetLicenseConfigurationCommand,
58
+ GetLicenseConversionTaskCommand: () => GetLicenseConversionTaskCommand,
59
+ GetLicenseManagerReportGeneratorCommand: () => GetLicenseManagerReportGeneratorCommand,
60
+ GetLicenseUsageCommand: () => GetLicenseUsageCommand,
61
+ GetServiceSettingsCommand: () => GetServiceSettingsCommand,
62
+ GrantStatus: () => GrantStatus,
63
+ InvalidParameterValueException: () => InvalidParameterValueException,
64
+ InvalidResourceStateException: () => InvalidResourceStateException,
65
+ InventoryFilterCondition: () => InventoryFilterCondition,
66
+ LicenseConfigurationStatus: () => LicenseConfigurationStatus,
67
+ LicenseConversionTaskStatus: () => LicenseConversionTaskStatus,
68
+ LicenseCountingType: () => LicenseCountingType,
69
+ LicenseDeletionStatus: () => LicenseDeletionStatus,
70
+ LicenseManager: () => LicenseManager,
71
+ LicenseManagerClient: () => LicenseManagerClient,
72
+ LicenseManagerServiceException: () => LicenseManagerServiceException,
73
+ LicenseStatus: () => LicenseStatus,
74
+ LicenseUsageException: () => LicenseUsageException,
75
+ ListAssociationsForLicenseConfigurationCommand: () => ListAssociationsForLicenseConfigurationCommand,
76
+ ListDistributedGrantsCommand: () => ListDistributedGrantsCommand,
77
+ ListFailuresForLicenseConfigurationOperationsCommand: () => ListFailuresForLicenseConfigurationOperationsCommand,
78
+ ListLicenseConfigurationsCommand: () => ListLicenseConfigurationsCommand,
79
+ ListLicenseConversionTasksCommand: () => ListLicenseConversionTasksCommand,
80
+ ListLicenseManagerReportGeneratorsCommand: () => ListLicenseManagerReportGeneratorsCommand,
81
+ ListLicenseSpecificationsForResourceCommand: () => ListLicenseSpecificationsForResourceCommand,
82
+ ListLicenseVersionsCommand: () => ListLicenseVersionsCommand,
83
+ ListLicensesCommand: () => ListLicensesCommand,
84
+ ListReceivedGrantsCommand: () => ListReceivedGrantsCommand,
85
+ ListReceivedGrantsForOrganizationCommand: () => ListReceivedGrantsForOrganizationCommand,
86
+ ListReceivedLicensesCommand: () => ListReceivedLicensesCommand,
87
+ ListReceivedLicensesForOrganizationCommand: () => ListReceivedLicensesForOrganizationCommand,
88
+ ListResourceInventoryCommand: () => ListResourceInventoryCommand,
89
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
90
+ ListTokensCommand: () => ListTokensCommand,
91
+ ListUsageForLicenseConfigurationCommand: () => ListUsageForLicenseConfigurationCommand,
92
+ NoEntitlementsAllowedException: () => NoEntitlementsAllowedException,
93
+ RateLimitExceededException: () => RateLimitExceededException,
94
+ ReceivedStatus: () => ReceivedStatus,
95
+ RedirectException: () => RedirectException,
96
+ RejectGrantCommand: () => RejectGrantCommand,
97
+ RenewType: () => RenewType,
98
+ ReportFrequencyType: () => ReportFrequencyType,
99
+ ReportType: () => ReportType,
100
+ ResourceLimitExceededException: () => ResourceLimitExceededException,
101
+ ResourceNotFoundException: () => ResourceNotFoundException,
102
+ ResourceType: () => ResourceType,
103
+ ServerInternalException: () => ServerInternalException,
104
+ TagResourceCommand: () => TagResourceCommand,
105
+ TokenType: () => TokenType,
106
+ UnsupportedDigitalSignatureMethodException: () => UnsupportedDigitalSignatureMethodException,
107
+ UntagResourceCommand: () => UntagResourceCommand,
108
+ UpdateLicenseConfigurationCommand: () => UpdateLicenseConfigurationCommand,
109
+ UpdateLicenseManagerReportGeneratorCommand: () => UpdateLicenseManagerReportGeneratorCommand,
110
+ UpdateLicenseSpecificationsForResourceCommand: () => UpdateLicenseSpecificationsForResourceCommand,
111
+ UpdateServiceSettingsCommand: () => UpdateServiceSettingsCommand,
112
+ ValidationException: () => ValidationException,
113
+ __Client: () => import_smithy_client.Client
114
+ });
115
+ module.exports = __toCommonJS(src_exports);
116
+
117
+ // src/LicenseManagerClient.ts
118
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
119
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
120
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
121
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
122
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
123
+ var import_config_resolver = require("@smithy/config-resolver");
124
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
125
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
126
+ var import_middleware_retry = require("@smithy/middleware-retry");
127
+
128
+
129
+ // src/endpoint/EndpointParameters.ts
130
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
131
+ return {
132
+ ...options,
133
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
134
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
135
+ defaultSigningName: "license-manager"
136
+ };
137
+ }, "resolveClientEndpointParameters");
138
+ var commonParams = {
139
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
140
+ Endpoint: { type: "builtInParams", name: "endpoint" },
141
+ Region: { type: "builtInParams", name: "region" },
142
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
143
+ };
144
+
145
+ // src/LicenseManagerClient.ts
146
+ var import_runtimeConfig = require("././runtimeConfig");
147
+
148
+ // src/runtimeExtensions.ts
149
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
150
+ var import_protocol_http = require("@smithy/protocol-http");
151
+ var import_smithy_client = require("@smithy/smithy-client");
152
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
153
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
154
+ const extensionConfiguration = {
155
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
156
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
157
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
158
+ };
159
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
160
+ return {
161
+ ...runtimeConfig,
162
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
163
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
164
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
165
+ };
166
+ }, "resolveRuntimeExtensions");
167
+
168
+ // src/LicenseManagerClient.ts
169
+ var _LicenseManagerClient = class _LicenseManagerClient extends import_smithy_client.Client {
170
+ constructor(...[configuration]) {
171
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
172
+ const _config_1 = resolveClientEndpointParameters(_config_0);
173
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
174
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
175
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
176
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
177
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
178
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
179
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
180
+ super(_config_8);
181
+ this.config = _config_8;
182
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
183
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
184
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
185
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
186
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
187
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
188
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
189
+ }
190
+ /**
191
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
192
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
193
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
194
+ */
195
+ destroy() {
196
+ super.destroy();
197
+ }
198
+ };
199
+ __name(_LicenseManagerClient, "LicenseManagerClient");
200
+ var LicenseManagerClient = _LicenseManagerClient;
201
+
202
+ // src/LicenseManager.ts
203
+
204
+
205
+ // src/commands/AcceptGrantCommand.ts
206
+
207
+ var import_middleware_serde = require("@smithy/middleware-serde");
208
+
209
+ var import_types = require("@smithy/types");
210
+
211
+ // src/protocols/Aws_json1_1.ts
212
+
213
+
214
+
215
+ // src/models/LicenseManagerServiceException.ts
216
+
217
+ var _LicenseManagerServiceException = class _LicenseManagerServiceException extends import_smithy_client.ServiceException {
218
+ /**
219
+ * @internal
220
+ */
221
+ constructor(options) {
222
+ super(options);
223
+ Object.setPrototypeOf(this, _LicenseManagerServiceException.prototype);
224
+ }
225
+ };
226
+ __name(_LicenseManagerServiceException, "LicenseManagerServiceException");
227
+ var LicenseManagerServiceException = _LicenseManagerServiceException;
228
+
229
+ // src/models/models_0.ts
230
+ var GrantStatus = {
231
+ ACTIVE: "ACTIVE",
232
+ DELETED: "DELETED",
233
+ DISABLED: "DISABLED",
234
+ FAILED_WORKFLOW: "FAILED_WORKFLOW",
235
+ PENDING_ACCEPT: "PENDING_ACCEPT",
236
+ PENDING_DELETE: "PENDING_DELETE",
237
+ PENDING_WORKFLOW: "PENDING_WORKFLOW",
238
+ REJECTED: "REJECTED",
239
+ WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED"
240
+ };
241
+ var _AccessDeniedException = class _AccessDeniedException extends LicenseManagerServiceException {
242
+ /**
243
+ * @internal
244
+ */
245
+ constructor(opts) {
246
+ super({
247
+ name: "AccessDeniedException",
248
+ $fault: "client",
249
+ ...opts
250
+ });
251
+ this.name = "AccessDeniedException";
252
+ this.$fault = "client";
253
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
254
+ this.Message = opts.Message;
255
+ }
256
+ };
257
+ __name(_AccessDeniedException, "AccessDeniedException");
258
+ var AccessDeniedException = _AccessDeniedException;
259
+ var _AuthorizationException = class _AuthorizationException extends LicenseManagerServiceException {
260
+ /**
261
+ * @internal
262
+ */
263
+ constructor(opts) {
264
+ super({
265
+ name: "AuthorizationException",
266
+ $fault: "client",
267
+ ...opts
268
+ });
269
+ this.name = "AuthorizationException";
270
+ this.$fault = "client";
271
+ Object.setPrototypeOf(this, _AuthorizationException.prototype);
272
+ this.Message = opts.Message;
273
+ }
274
+ };
275
+ __name(_AuthorizationException, "AuthorizationException");
276
+ var AuthorizationException = _AuthorizationException;
277
+ var _InvalidParameterValueException = class _InvalidParameterValueException extends LicenseManagerServiceException {
278
+ /**
279
+ * @internal
280
+ */
281
+ constructor(opts) {
282
+ super({
283
+ name: "InvalidParameterValueException",
284
+ $fault: "client",
285
+ ...opts
286
+ });
287
+ this.name = "InvalidParameterValueException";
288
+ this.$fault = "client";
289
+ Object.setPrototypeOf(this, _InvalidParameterValueException.prototype);
290
+ this.Message = opts.Message;
291
+ }
292
+ };
293
+ __name(_InvalidParameterValueException, "InvalidParameterValueException");
294
+ var InvalidParameterValueException = _InvalidParameterValueException;
295
+ var _RateLimitExceededException = class _RateLimitExceededException extends LicenseManagerServiceException {
296
+ /**
297
+ * @internal
298
+ */
299
+ constructor(opts) {
300
+ super({
301
+ name: "RateLimitExceededException",
302
+ $fault: "client",
303
+ ...opts
304
+ });
305
+ this.name = "RateLimitExceededException";
306
+ this.$fault = "client";
307
+ Object.setPrototypeOf(this, _RateLimitExceededException.prototype);
308
+ this.Message = opts.Message;
309
+ }
310
+ };
311
+ __name(_RateLimitExceededException, "RateLimitExceededException");
312
+ var RateLimitExceededException = _RateLimitExceededException;
313
+ var _ResourceLimitExceededException = class _ResourceLimitExceededException extends LicenseManagerServiceException {
314
+ /**
315
+ * @internal
316
+ */
317
+ constructor(opts) {
318
+ super({
319
+ name: "ResourceLimitExceededException",
320
+ $fault: "client",
321
+ ...opts
322
+ });
323
+ this.name = "ResourceLimitExceededException";
324
+ this.$fault = "client";
325
+ Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype);
326
+ this.Message = opts.Message;
327
+ }
328
+ };
329
+ __name(_ResourceLimitExceededException, "ResourceLimitExceededException");
330
+ var ResourceLimitExceededException = _ResourceLimitExceededException;
331
+ var _ServerInternalException = class _ServerInternalException extends LicenseManagerServiceException {
332
+ /**
333
+ * @internal
334
+ */
335
+ constructor(opts) {
336
+ super({
337
+ name: "ServerInternalException",
338
+ $fault: "server",
339
+ ...opts
340
+ });
341
+ this.name = "ServerInternalException";
342
+ this.$fault = "server";
343
+ Object.setPrototypeOf(this, _ServerInternalException.prototype);
344
+ this.Message = opts.Message;
345
+ }
346
+ };
347
+ __name(_ServerInternalException, "ServerInternalException");
348
+ var ServerInternalException = _ServerInternalException;
349
+ var _ValidationException = class _ValidationException extends LicenseManagerServiceException {
350
+ /**
351
+ * @internal
352
+ */
353
+ constructor(opts) {
354
+ super({
355
+ name: "ValidationException",
356
+ $fault: "client",
357
+ ...opts
358
+ });
359
+ this.name = "ValidationException";
360
+ this.$fault = "client";
361
+ Object.setPrototypeOf(this, _ValidationException.prototype);
362
+ this.Message = opts.Message;
363
+ }
364
+ };
365
+ __name(_ValidationException, "ValidationException");
366
+ var ValidationException = _ValidationException;
367
+ var ActivationOverrideBehavior = {
368
+ ALL_GRANTS_PERMITTED_BY_ISSUER: "ALL_GRANTS_PERMITTED_BY_ISSUER",
369
+ DISTRIBUTED_GRANTS_ONLY: "DISTRIBUTED_GRANTS_ONLY"
370
+ };
371
+ var AllowedOperation = {
372
+ CHECKOUT_BORROW_LICENSE: "CheckoutBorrowLicense",
373
+ CHECKOUT_LICENSE: "CheckoutLicense",
374
+ CHECK_IN_LICENSE: "CheckInLicense",
375
+ CREATE_GRANT: "CreateGrant",
376
+ CREATE_TOKEN: "CreateToken",
377
+ EXTEND_CONSUMPTION_LICENSE: "ExtendConsumptionLicense",
378
+ LIST_PURCHASED_LICENSES: "ListPurchasedLicenses"
379
+ };
380
+ var _ConflictException = class _ConflictException extends LicenseManagerServiceException {
381
+ /**
382
+ * @internal
383
+ */
384
+ constructor(opts) {
385
+ super({
386
+ name: "ConflictException",
387
+ $fault: "client",
388
+ ...opts
389
+ });
390
+ this.name = "ConflictException";
391
+ this.$fault = "client";
392
+ Object.setPrototypeOf(this, _ConflictException.prototype);
393
+ this.Message = opts.Message;
394
+ }
395
+ };
396
+ __name(_ConflictException, "ConflictException");
397
+ var ConflictException = _ConflictException;
398
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends LicenseManagerServiceException {
399
+ /**
400
+ * @internal
401
+ */
402
+ constructor(opts) {
403
+ super({
404
+ name: "ResourceNotFoundException",
405
+ $fault: "client",
406
+ ...opts
407
+ });
408
+ this.name = "ResourceNotFoundException";
409
+ this.$fault = "client";
410
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
411
+ this.Message = opts.Message;
412
+ }
413
+ };
414
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
415
+ var ResourceNotFoundException = _ResourceNotFoundException;
416
+ var DigitalSignatureMethod = {
417
+ JWT_PS384: "JWT_PS384"
418
+ };
419
+ var EntitlementDataUnit = {
420
+ BITS: "Bits",
421
+ BITS_PER_SECOND: "Bits/Second",
422
+ BYTES: "Bytes",
423
+ BYTES_PER_SECOND: "Bytes/Second",
424
+ COUNT: "Count",
425
+ COUNT_PER_SECOND: "Count/Second",
426
+ GIGABITS: "Gigabits",
427
+ GIGABITS_PER_SECOND: "Gigabits/Second",
428
+ GIGABYTES: "Gigabytes",
429
+ GIGABYTES_PER_SECOND: "Gigabytes/Second",
430
+ KILOBITS: "Kilobits",
431
+ KILOBITS_PER_SECOND: "Kilobits/Second",
432
+ KILOBYTES: "Kilobytes",
433
+ KILOBYTES_PER_SECOND: "Kilobytes/Second",
434
+ MEGABITS: "Megabits",
435
+ MEGABITS_PER_SECOND: "Megabits/Second",
436
+ MEGABYTES: "Megabytes",
437
+ MEGABYTES_PER_SECOND: "Megabytes/Second",
438
+ MICROSECONDS: "Microseconds",
439
+ MILLISECONDS: "Milliseconds",
440
+ NONE: "None",
441
+ PERCENT: "Percent",
442
+ SECONDS: "Seconds",
443
+ TERABITS: "Terabits",
444
+ TERABITS_PER_SECOND: "Terabits/Second",
445
+ TERABYTES: "Terabytes",
446
+ TERABYTES_PER_SECOND: "Terabytes/Second"
447
+ };
448
+ var _EntitlementNotAllowedException = class _EntitlementNotAllowedException extends LicenseManagerServiceException {
449
+ /**
450
+ * @internal
451
+ */
452
+ constructor(opts) {
453
+ super({
454
+ name: "EntitlementNotAllowedException",
455
+ $fault: "client",
456
+ ...opts
457
+ });
458
+ this.name = "EntitlementNotAllowedException";
459
+ this.$fault = "client";
460
+ Object.setPrototypeOf(this, _EntitlementNotAllowedException.prototype);
461
+ this.Message = opts.Message;
462
+ }
463
+ };
464
+ __name(_EntitlementNotAllowedException, "EntitlementNotAllowedException");
465
+ var EntitlementNotAllowedException = _EntitlementNotAllowedException;
466
+ var _NoEntitlementsAllowedException = class _NoEntitlementsAllowedException extends LicenseManagerServiceException {
467
+ /**
468
+ * @internal
469
+ */
470
+ constructor(opts) {
471
+ super({
472
+ name: "NoEntitlementsAllowedException",
473
+ $fault: "client",
474
+ ...opts
475
+ });
476
+ this.name = "NoEntitlementsAllowedException";
477
+ this.$fault = "client";
478
+ Object.setPrototypeOf(this, _NoEntitlementsAllowedException.prototype);
479
+ this.Message = opts.Message;
480
+ }
481
+ };
482
+ __name(_NoEntitlementsAllowedException, "NoEntitlementsAllowedException");
483
+ var NoEntitlementsAllowedException = _NoEntitlementsAllowedException;
484
+ var _RedirectException = class _RedirectException extends LicenseManagerServiceException {
485
+ /**
486
+ * @internal
487
+ */
488
+ constructor(opts) {
489
+ super({
490
+ name: "RedirectException",
491
+ $fault: "client",
492
+ ...opts
493
+ });
494
+ this.name = "RedirectException";
495
+ this.$fault = "client";
496
+ Object.setPrototypeOf(this, _RedirectException.prototype);
497
+ this.Location = opts.Location;
498
+ this.Message = opts.Message;
499
+ }
500
+ };
501
+ __name(_RedirectException, "RedirectException");
502
+ var RedirectException = _RedirectException;
503
+ var _UnsupportedDigitalSignatureMethodException = class _UnsupportedDigitalSignatureMethodException extends LicenseManagerServiceException {
504
+ /**
505
+ * @internal
506
+ */
507
+ constructor(opts) {
508
+ super({
509
+ name: "UnsupportedDigitalSignatureMethodException",
510
+ $fault: "client",
511
+ ...opts
512
+ });
513
+ this.name = "UnsupportedDigitalSignatureMethodException";
514
+ this.$fault = "client";
515
+ Object.setPrototypeOf(this, _UnsupportedDigitalSignatureMethodException.prototype);
516
+ this.Message = opts.Message;
517
+ }
518
+ };
519
+ __name(_UnsupportedDigitalSignatureMethodException, "UnsupportedDigitalSignatureMethodException");
520
+ var UnsupportedDigitalSignatureMethodException = _UnsupportedDigitalSignatureMethodException;
521
+ var CheckoutType = {
522
+ PERPETUAL: "PERPETUAL",
523
+ PROVISIONAL: "PROVISIONAL"
524
+ };
525
+ var RenewType = {
526
+ MONTHLY: "Monthly",
527
+ NONE: "None",
528
+ WEEKLY: "Weekly"
529
+ };
530
+ var EntitlementUnit = {
531
+ BITS: "Bits",
532
+ BITS_PER_SECOND: "Bits/Second",
533
+ BYTES: "Bytes",
534
+ BYTES_PER_SECOND: "Bytes/Second",
535
+ COUNT: "Count",
536
+ COUNT_PER_SECOND: "Count/Second",
537
+ GIGABITS: "Gigabits",
538
+ GIGABITS_PER_SECOND: "Gigabits/Second",
539
+ GIGABYTES: "Gigabytes",
540
+ GIGABYTES_PER_SECOND: "Gigabytes/Second",
541
+ KILOBITS: "Kilobits",
542
+ KILOBITS_PER_SECOND: "Kilobits/Second",
543
+ KILOBYTES: "Kilobytes",
544
+ KILOBYTES_PER_SECOND: "Kilobytes/Second",
545
+ MEGABITS: "Megabits",
546
+ MEGABITS_PER_SECOND: "Megabits/Second",
547
+ MEGABYTES: "Megabytes",
548
+ MEGABYTES_PER_SECOND: "Megabytes/Second",
549
+ MICROSECONDS: "Microseconds",
550
+ MILLISECONDS: "Milliseconds",
551
+ NONE: "None",
552
+ PERCENT: "Percent",
553
+ SECONDS: "Seconds",
554
+ TERABITS: "Terabits",
555
+ TERABITS_PER_SECOND: "Terabits/Second",
556
+ TERABYTES: "Terabytes",
557
+ TERABYTES_PER_SECOND: "Terabytes/Second"
558
+ };
559
+ var LicenseStatus = {
560
+ AVAILABLE: "AVAILABLE",
561
+ DEACTIVATED: "DEACTIVATED",
562
+ DELETED: "DELETED",
563
+ EXPIRED: "EXPIRED",
564
+ PENDING_AVAILABLE: "PENDING_AVAILABLE",
565
+ PENDING_DELETE: "PENDING_DELETE",
566
+ SUSPENDED: "SUSPENDED"
567
+ };
568
+ var LicenseCountingType = {
569
+ CORE: "Core",
570
+ INSTANCE: "Instance",
571
+ SOCKET: "Socket",
572
+ VCPU: "vCPU"
573
+ };
574
+ var ReportFrequencyType = {
575
+ DAY: "DAY",
576
+ MONTH: "MONTH",
577
+ WEEK: "WEEK"
578
+ };
579
+ var ReportType = {
580
+ LICENSE_CONFIGURATION_SUMMARY_REPORT: "LicenseConfigurationSummaryReport",
581
+ LICENSE_CONFIGURATION_USAGE_REPORT: "LicenseConfigurationUsageReport"
582
+ };
583
+ var TokenType = {
584
+ REFRESH_TOKEN: "REFRESH_TOKEN"
585
+ };
586
+ var LicenseDeletionStatus = {
587
+ DELETED: "DELETED",
588
+ PENDING_DELETE: "PENDING_DELETE"
589
+ };
590
+ var ResourceType = {
591
+ EC2_AMI: "EC2_AMI",
592
+ EC2_HOST: "EC2_HOST",
593
+ EC2_INSTANCE: "EC2_INSTANCE",
594
+ RDS: "RDS",
595
+ SYSTEMS_MANAGER_MANAGED_INSTANCE: "SYSTEMS_MANAGER_MANAGED_INSTANCE"
596
+ };
597
+ var LicenseConversionTaskStatus = {
598
+ FAILED: "FAILED",
599
+ IN_PROGRESS: "IN_PROGRESS",
600
+ SUCCEEDED: "SUCCEEDED"
601
+ };
602
+ var _FilterLimitExceededException = class _FilterLimitExceededException extends LicenseManagerServiceException {
603
+ /**
604
+ * @internal
605
+ */
606
+ constructor(opts) {
607
+ super({
608
+ name: "FilterLimitExceededException",
609
+ $fault: "client",
610
+ ...opts
611
+ });
612
+ this.name = "FilterLimitExceededException";
613
+ this.$fault = "client";
614
+ Object.setPrototypeOf(this, _FilterLimitExceededException.prototype);
615
+ this.Message = opts.Message;
616
+ }
617
+ };
618
+ __name(_FilterLimitExceededException, "FilterLimitExceededException");
619
+ var FilterLimitExceededException = _FilterLimitExceededException;
620
+ var ReceivedStatus = {
621
+ ACTIVE: "ACTIVE",
622
+ DELETED: "DELETED",
623
+ DISABLED: "DISABLED",
624
+ FAILED_WORKFLOW: "FAILED_WORKFLOW",
625
+ PENDING_ACCEPT: "PENDING_ACCEPT",
626
+ PENDING_WORKFLOW: "PENDING_WORKFLOW",
627
+ REJECTED: "REJECTED",
628
+ WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED"
629
+ };
630
+ var _FailedDependencyException = class _FailedDependencyException extends LicenseManagerServiceException {
631
+ /**
632
+ * @internal
633
+ */
634
+ constructor(opts) {
635
+ super({
636
+ name: "FailedDependencyException",
637
+ $fault: "client",
638
+ ...opts
639
+ });
640
+ this.name = "FailedDependencyException";
641
+ this.$fault = "client";
642
+ Object.setPrototypeOf(this, _FailedDependencyException.prototype);
643
+ this.Message = opts.Message;
644
+ this.ErrorCode = opts.ErrorCode;
645
+ }
646
+ };
647
+ __name(_FailedDependencyException, "FailedDependencyException");
648
+ var FailedDependencyException = _FailedDependencyException;
649
+ var InventoryFilterCondition = {
650
+ BEGINS_WITH: "BEGINS_WITH",
651
+ CONTAINS: "CONTAINS",
652
+ EQUALS: "EQUALS",
653
+ NOT_EQUALS: "NOT_EQUALS"
654
+ };
655
+ var LicenseConfigurationStatus = {
656
+ AVAILABLE: "AVAILABLE",
657
+ DISABLED: "DISABLED"
658
+ };
659
+ var _InvalidResourceStateException = class _InvalidResourceStateException extends LicenseManagerServiceException {
660
+ /**
661
+ * @internal
662
+ */
663
+ constructor(opts) {
664
+ super({
665
+ name: "InvalidResourceStateException",
666
+ $fault: "client",
667
+ ...opts
668
+ });
669
+ this.name = "InvalidResourceStateException";
670
+ this.$fault = "client";
671
+ Object.setPrototypeOf(this, _InvalidResourceStateException.prototype);
672
+ this.Message = opts.Message;
673
+ }
674
+ };
675
+ __name(_InvalidResourceStateException, "InvalidResourceStateException");
676
+ var InvalidResourceStateException = _InvalidResourceStateException;
677
+ var _LicenseUsageException = class _LicenseUsageException extends LicenseManagerServiceException {
678
+ /**
679
+ * @internal
680
+ */
681
+ constructor(opts) {
682
+ super({
683
+ name: "LicenseUsageException",
684
+ $fault: "client",
685
+ ...opts
686
+ });
687
+ this.name = "LicenseUsageException";
688
+ this.$fault = "client";
689
+ Object.setPrototypeOf(this, _LicenseUsageException.prototype);
690
+ this.Message = opts.Message;
691
+ }
692
+ };
693
+ __name(_LicenseUsageException, "LicenseUsageException");
694
+ var LicenseUsageException = _LicenseUsageException;
695
+
696
+ // src/protocols/Aws_json1_1.ts
697
+ var se_AcceptGrantCommand = /* @__PURE__ */ __name(async (input, context) => {
698
+ const headers = sharedHeaders("AcceptGrant");
699
+ let body;
700
+ body = JSON.stringify((0, import_smithy_client._json)(input));
701
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
702
+ }, "se_AcceptGrantCommand");
703
+ var se_CheckInLicenseCommand = /* @__PURE__ */ __name(async (input, context) => {
704
+ const headers = sharedHeaders("CheckInLicense");
705
+ let body;
706
+ body = JSON.stringify((0, import_smithy_client._json)(input));
707
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
708
+ }, "se_CheckInLicenseCommand");
709
+ var se_CheckoutBorrowLicenseCommand = /* @__PURE__ */ __name(async (input, context) => {
710
+ const headers = sharedHeaders("CheckoutBorrowLicense");
711
+ let body;
712
+ body = JSON.stringify((0, import_smithy_client._json)(input));
713
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
714
+ }, "se_CheckoutBorrowLicenseCommand");
715
+ var se_CheckoutLicenseCommand = /* @__PURE__ */ __name(async (input, context) => {
716
+ const headers = sharedHeaders("CheckoutLicense");
717
+ let body;
718
+ body = JSON.stringify((0, import_smithy_client._json)(input));
719
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
720
+ }, "se_CheckoutLicenseCommand");
721
+ var se_CreateGrantCommand = /* @__PURE__ */ __name(async (input, context) => {
722
+ const headers = sharedHeaders("CreateGrant");
723
+ let body;
724
+ body = JSON.stringify((0, import_smithy_client._json)(input));
725
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
726
+ }, "se_CreateGrantCommand");
727
+ var se_CreateGrantVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
728
+ const headers = sharedHeaders("CreateGrantVersion");
729
+ let body;
730
+ body = JSON.stringify((0, import_smithy_client._json)(input));
731
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
732
+ }, "se_CreateGrantVersionCommand");
733
+ var se_CreateLicenseCommand = /* @__PURE__ */ __name(async (input, context) => {
734
+ const headers = sharedHeaders("CreateLicense");
735
+ let body;
736
+ body = JSON.stringify((0, import_smithy_client._json)(input));
737
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
738
+ }, "se_CreateLicenseCommand");
739
+ var se_CreateLicenseConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
740
+ const headers = sharedHeaders("CreateLicenseConfiguration");
741
+ let body;
742
+ body = JSON.stringify((0, import_smithy_client._json)(input));
743
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
744
+ }, "se_CreateLicenseConfigurationCommand");
745
+ var se_CreateLicenseConversionTaskForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
746
+ const headers = sharedHeaders("CreateLicenseConversionTaskForResource");
747
+ let body;
748
+ body = JSON.stringify((0, import_smithy_client._json)(input));
749
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
750
+ }, "se_CreateLicenseConversionTaskForResourceCommand");
751
+ var se_CreateLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (input, context) => {
752
+ const headers = sharedHeaders("CreateLicenseManagerReportGenerator");
753
+ let body;
754
+ body = JSON.stringify((0, import_smithy_client._json)(input));
755
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
756
+ }, "se_CreateLicenseManagerReportGeneratorCommand");
757
+ var se_CreateLicenseVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
758
+ const headers = sharedHeaders("CreateLicenseVersion");
759
+ let body;
760
+ body = JSON.stringify((0, import_smithy_client._json)(input));
761
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
762
+ }, "se_CreateLicenseVersionCommand");
763
+ var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
764
+ const headers = sharedHeaders("CreateToken");
765
+ let body;
766
+ body = JSON.stringify((0, import_smithy_client._json)(input));
767
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
768
+ }, "se_CreateTokenCommand");
769
+ var se_DeleteGrantCommand = /* @__PURE__ */ __name(async (input, context) => {
770
+ const headers = sharedHeaders("DeleteGrant");
771
+ let body;
772
+ body = JSON.stringify((0, import_smithy_client._json)(input));
773
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
774
+ }, "se_DeleteGrantCommand");
775
+ var se_DeleteLicenseCommand = /* @__PURE__ */ __name(async (input, context) => {
776
+ const headers = sharedHeaders("DeleteLicense");
777
+ let body;
778
+ body = JSON.stringify((0, import_smithy_client._json)(input));
779
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
780
+ }, "se_DeleteLicenseCommand");
781
+ var se_DeleteLicenseConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
782
+ const headers = sharedHeaders("DeleteLicenseConfiguration");
783
+ let body;
784
+ body = JSON.stringify((0, import_smithy_client._json)(input));
785
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
786
+ }, "se_DeleteLicenseConfigurationCommand");
787
+ var se_DeleteLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (input, context) => {
788
+ const headers = sharedHeaders("DeleteLicenseManagerReportGenerator");
789
+ let body;
790
+ body = JSON.stringify((0, import_smithy_client._json)(input));
791
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
792
+ }, "se_DeleteLicenseManagerReportGeneratorCommand");
793
+ var se_DeleteTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
794
+ const headers = sharedHeaders("DeleteToken");
795
+ let body;
796
+ body = JSON.stringify((0, import_smithy_client._json)(input));
797
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
798
+ }, "se_DeleteTokenCommand");
799
+ var se_ExtendLicenseConsumptionCommand = /* @__PURE__ */ __name(async (input, context) => {
800
+ const headers = sharedHeaders("ExtendLicenseConsumption");
801
+ let body;
802
+ body = JSON.stringify((0, import_smithy_client._json)(input));
803
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
804
+ }, "se_ExtendLicenseConsumptionCommand");
805
+ var se_GetAccessTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
806
+ const headers = sharedHeaders("GetAccessToken");
807
+ let body;
808
+ body = JSON.stringify((0, import_smithy_client._json)(input));
809
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
810
+ }, "se_GetAccessTokenCommand");
811
+ var se_GetGrantCommand = /* @__PURE__ */ __name(async (input, context) => {
812
+ const headers = sharedHeaders("GetGrant");
813
+ let body;
814
+ body = JSON.stringify((0, import_smithy_client._json)(input));
815
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
816
+ }, "se_GetGrantCommand");
817
+ var se_GetLicenseCommand = /* @__PURE__ */ __name(async (input, context) => {
818
+ const headers = sharedHeaders("GetLicense");
819
+ let body;
820
+ body = JSON.stringify((0, import_smithy_client._json)(input));
821
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
822
+ }, "se_GetLicenseCommand");
823
+ var se_GetLicenseConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
824
+ const headers = sharedHeaders("GetLicenseConfiguration");
825
+ let body;
826
+ body = JSON.stringify((0, import_smithy_client._json)(input));
827
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
828
+ }, "se_GetLicenseConfigurationCommand");
829
+ var se_GetLicenseConversionTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
830
+ const headers = sharedHeaders("GetLicenseConversionTask");
831
+ let body;
832
+ body = JSON.stringify((0, import_smithy_client._json)(input));
833
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
834
+ }, "se_GetLicenseConversionTaskCommand");
835
+ var se_GetLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (input, context) => {
836
+ const headers = sharedHeaders("GetLicenseManagerReportGenerator");
837
+ let body;
838
+ body = JSON.stringify((0, import_smithy_client._json)(input));
839
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
840
+ }, "se_GetLicenseManagerReportGeneratorCommand");
841
+ var se_GetLicenseUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
842
+ const headers = sharedHeaders("GetLicenseUsage");
843
+ let body;
844
+ body = JSON.stringify((0, import_smithy_client._json)(input));
845
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
846
+ }, "se_GetLicenseUsageCommand");
847
+ var se_GetServiceSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
848
+ const headers = sharedHeaders("GetServiceSettings");
849
+ let body;
850
+ body = JSON.stringify((0, import_smithy_client._json)(input));
851
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
852
+ }, "se_GetServiceSettingsCommand");
853
+ var se_ListAssociationsForLicenseConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
854
+ const headers = sharedHeaders("ListAssociationsForLicenseConfiguration");
855
+ let body;
856
+ body = JSON.stringify((0, import_smithy_client._json)(input));
857
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
858
+ }, "se_ListAssociationsForLicenseConfigurationCommand");
859
+ var se_ListDistributedGrantsCommand = /* @__PURE__ */ __name(async (input, context) => {
860
+ const headers = sharedHeaders("ListDistributedGrants");
861
+ let body;
862
+ body = JSON.stringify((0, import_smithy_client._json)(input));
863
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
864
+ }, "se_ListDistributedGrantsCommand");
865
+ var se_ListFailuresForLicenseConfigurationOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
866
+ const headers = sharedHeaders("ListFailuresForLicenseConfigurationOperations");
867
+ let body;
868
+ body = JSON.stringify((0, import_smithy_client._json)(input));
869
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
870
+ }, "se_ListFailuresForLicenseConfigurationOperationsCommand");
871
+ var se_ListLicenseConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
872
+ const headers = sharedHeaders("ListLicenseConfigurations");
873
+ let body;
874
+ body = JSON.stringify((0, import_smithy_client._json)(input));
875
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
876
+ }, "se_ListLicenseConfigurationsCommand");
877
+ var se_ListLicenseConversionTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
878
+ const headers = sharedHeaders("ListLicenseConversionTasks");
879
+ let body;
880
+ body = JSON.stringify((0, import_smithy_client._json)(input));
881
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
882
+ }, "se_ListLicenseConversionTasksCommand");
883
+ var se_ListLicenseManagerReportGeneratorsCommand = /* @__PURE__ */ __name(async (input, context) => {
884
+ const headers = sharedHeaders("ListLicenseManagerReportGenerators");
885
+ let body;
886
+ body = JSON.stringify((0, import_smithy_client._json)(input));
887
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
888
+ }, "se_ListLicenseManagerReportGeneratorsCommand");
889
+ var se_ListLicensesCommand = /* @__PURE__ */ __name(async (input, context) => {
890
+ const headers = sharedHeaders("ListLicenses");
891
+ let body;
892
+ body = JSON.stringify((0, import_smithy_client._json)(input));
893
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
894
+ }, "se_ListLicensesCommand");
895
+ var se_ListLicenseSpecificationsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
896
+ const headers = sharedHeaders("ListLicenseSpecificationsForResource");
897
+ let body;
898
+ body = JSON.stringify((0, import_smithy_client._json)(input));
899
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
900
+ }, "se_ListLicenseSpecificationsForResourceCommand");
901
+ var se_ListLicenseVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
902
+ const headers = sharedHeaders("ListLicenseVersions");
903
+ let body;
904
+ body = JSON.stringify((0, import_smithy_client._json)(input));
905
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
906
+ }, "se_ListLicenseVersionsCommand");
907
+ var se_ListReceivedGrantsCommand = /* @__PURE__ */ __name(async (input, context) => {
908
+ const headers = sharedHeaders("ListReceivedGrants");
909
+ let body;
910
+ body = JSON.stringify((0, import_smithy_client._json)(input));
911
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
912
+ }, "se_ListReceivedGrantsCommand");
913
+ var se_ListReceivedGrantsForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
914
+ const headers = sharedHeaders("ListReceivedGrantsForOrganization");
915
+ let body;
916
+ body = JSON.stringify((0, import_smithy_client._json)(input));
917
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
918
+ }, "se_ListReceivedGrantsForOrganizationCommand");
919
+ var se_ListReceivedLicensesCommand = /* @__PURE__ */ __name(async (input, context) => {
920
+ const headers = sharedHeaders("ListReceivedLicenses");
921
+ let body;
922
+ body = JSON.stringify((0, import_smithy_client._json)(input));
923
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
924
+ }, "se_ListReceivedLicensesCommand");
925
+ var se_ListReceivedLicensesForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
926
+ const headers = sharedHeaders("ListReceivedLicensesForOrganization");
927
+ let body;
928
+ body = JSON.stringify((0, import_smithy_client._json)(input));
929
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
930
+ }, "se_ListReceivedLicensesForOrganizationCommand");
931
+ var se_ListResourceInventoryCommand = /* @__PURE__ */ __name(async (input, context) => {
932
+ const headers = sharedHeaders("ListResourceInventory");
933
+ let body;
934
+ body = JSON.stringify((0, import_smithy_client._json)(input));
935
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
936
+ }, "se_ListResourceInventoryCommand");
937
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
938
+ const headers = sharedHeaders("ListTagsForResource");
939
+ let body;
940
+ body = JSON.stringify((0, import_smithy_client._json)(input));
941
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
942
+ }, "se_ListTagsForResourceCommand");
943
+ var se_ListTokensCommand = /* @__PURE__ */ __name(async (input, context) => {
944
+ const headers = sharedHeaders("ListTokens");
945
+ let body;
946
+ body = JSON.stringify((0, import_smithy_client._json)(input));
947
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
948
+ }, "se_ListTokensCommand");
949
+ var se_ListUsageForLicenseConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
950
+ const headers = sharedHeaders("ListUsageForLicenseConfiguration");
951
+ let body;
952
+ body = JSON.stringify((0, import_smithy_client._json)(input));
953
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
954
+ }, "se_ListUsageForLicenseConfigurationCommand");
955
+ var se_RejectGrantCommand = /* @__PURE__ */ __name(async (input, context) => {
956
+ const headers = sharedHeaders("RejectGrant");
957
+ let body;
958
+ body = JSON.stringify((0, import_smithy_client._json)(input));
959
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
960
+ }, "se_RejectGrantCommand");
961
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
962
+ const headers = sharedHeaders("TagResource");
963
+ let body;
964
+ body = JSON.stringify((0, import_smithy_client._json)(input));
965
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
966
+ }, "se_TagResourceCommand");
967
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
968
+ const headers = sharedHeaders("UntagResource");
969
+ let body;
970
+ body = JSON.stringify((0, import_smithy_client._json)(input));
971
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
972
+ }, "se_UntagResourceCommand");
973
+ var se_UpdateLicenseConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
974
+ const headers = sharedHeaders("UpdateLicenseConfiguration");
975
+ let body;
976
+ body = JSON.stringify((0, import_smithy_client._json)(input));
977
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
978
+ }, "se_UpdateLicenseConfigurationCommand");
979
+ var se_UpdateLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (input, context) => {
980
+ const headers = sharedHeaders("UpdateLicenseManagerReportGenerator");
981
+ let body;
982
+ body = JSON.stringify((0, import_smithy_client._json)(input));
983
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
984
+ }, "se_UpdateLicenseManagerReportGeneratorCommand");
985
+ var se_UpdateLicenseSpecificationsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
986
+ const headers = sharedHeaders("UpdateLicenseSpecificationsForResource");
987
+ let body;
988
+ body = JSON.stringify((0, import_smithy_client._json)(input));
989
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
990
+ }, "se_UpdateLicenseSpecificationsForResourceCommand");
991
+ var se_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
992
+ const headers = sharedHeaders("UpdateServiceSettings");
993
+ let body;
994
+ body = JSON.stringify((0, import_smithy_client._json)(input));
995
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
996
+ }, "se_UpdateServiceSettingsCommand");
997
+ var de_AcceptGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
998
+ if (output.statusCode >= 300) {
999
+ return de_AcceptGrantCommandError(output, context);
1000
+ }
1001
+ const data = await parseBody(output.body, context);
1002
+ let contents = {};
1003
+ contents = (0, import_smithy_client._json)(data);
1004
+ const response = {
1005
+ $metadata: deserializeMetadata(output),
1006
+ ...contents
1007
+ };
1008
+ return response;
1009
+ }, "de_AcceptGrantCommand");
1010
+ var de_AcceptGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
1011
+ const parsedOutput = {
1012
+ ...output,
1013
+ body: await parseErrorBody(output.body, context)
1014
+ };
1015
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1016
+ switch (errorCode) {
1017
+ case "AccessDeniedException":
1018
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1019
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1020
+ case "AuthorizationException":
1021
+ case "com.amazonaws.licensemanager#AuthorizationException":
1022
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1023
+ case "InvalidParameterValueException":
1024
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1025
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1026
+ case "RateLimitExceededException":
1027
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1028
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1029
+ case "ResourceLimitExceededException":
1030
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1031
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1032
+ case "ServerInternalException":
1033
+ case "com.amazonaws.licensemanager#ServerInternalException":
1034
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1035
+ case "ValidationException":
1036
+ case "com.amazonaws.licensemanager#ValidationException":
1037
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1038
+ default:
1039
+ const parsedBody = parsedOutput.body;
1040
+ return throwDefaultError({
1041
+ output,
1042
+ parsedBody,
1043
+ errorCode
1044
+ });
1045
+ }
1046
+ }, "de_AcceptGrantCommandError");
1047
+ var de_CheckInLicenseCommand = /* @__PURE__ */ __name(async (output, context) => {
1048
+ if (output.statusCode >= 300) {
1049
+ return de_CheckInLicenseCommandError(output, context);
1050
+ }
1051
+ const data = await parseBody(output.body, context);
1052
+ let contents = {};
1053
+ contents = (0, import_smithy_client._json)(data);
1054
+ const response = {
1055
+ $metadata: deserializeMetadata(output),
1056
+ ...contents
1057
+ };
1058
+ return response;
1059
+ }, "de_CheckInLicenseCommand");
1060
+ var de_CheckInLicenseCommandError = /* @__PURE__ */ __name(async (output, context) => {
1061
+ const parsedOutput = {
1062
+ ...output,
1063
+ body: await parseErrorBody(output.body, context)
1064
+ };
1065
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1066
+ switch (errorCode) {
1067
+ case "AccessDeniedException":
1068
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1069
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1070
+ case "AuthorizationException":
1071
+ case "com.amazonaws.licensemanager#AuthorizationException":
1072
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1073
+ case "ConflictException":
1074
+ case "com.amazonaws.licensemanager#ConflictException":
1075
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1076
+ case "InvalidParameterValueException":
1077
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1078
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1079
+ case "RateLimitExceededException":
1080
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1081
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1082
+ case "ResourceNotFoundException":
1083
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1084
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1085
+ case "ServerInternalException":
1086
+ case "com.amazonaws.licensemanager#ServerInternalException":
1087
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1088
+ case "ValidationException":
1089
+ case "com.amazonaws.licensemanager#ValidationException":
1090
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1091
+ default:
1092
+ const parsedBody = parsedOutput.body;
1093
+ return throwDefaultError({
1094
+ output,
1095
+ parsedBody,
1096
+ errorCode
1097
+ });
1098
+ }
1099
+ }, "de_CheckInLicenseCommandError");
1100
+ var de_CheckoutBorrowLicenseCommand = /* @__PURE__ */ __name(async (output, context) => {
1101
+ if (output.statusCode >= 300) {
1102
+ return de_CheckoutBorrowLicenseCommandError(output, context);
1103
+ }
1104
+ const data = await parseBody(output.body, context);
1105
+ let contents = {};
1106
+ contents = (0, import_smithy_client._json)(data);
1107
+ const response = {
1108
+ $metadata: deserializeMetadata(output),
1109
+ ...contents
1110
+ };
1111
+ return response;
1112
+ }, "de_CheckoutBorrowLicenseCommand");
1113
+ var de_CheckoutBorrowLicenseCommandError = /* @__PURE__ */ __name(async (output, context) => {
1114
+ const parsedOutput = {
1115
+ ...output,
1116
+ body: await parseErrorBody(output.body, context)
1117
+ };
1118
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1119
+ switch (errorCode) {
1120
+ case "AccessDeniedException":
1121
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1122
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1123
+ case "AuthorizationException":
1124
+ case "com.amazonaws.licensemanager#AuthorizationException":
1125
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1126
+ case "EntitlementNotAllowedException":
1127
+ case "com.amazonaws.licensemanager#EntitlementNotAllowedException":
1128
+ throw await de_EntitlementNotAllowedExceptionRes(parsedOutput, context);
1129
+ case "InvalidParameterValueException":
1130
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1131
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1132
+ case "NoEntitlementsAllowedException":
1133
+ case "com.amazonaws.licensemanager#NoEntitlementsAllowedException":
1134
+ throw await de_NoEntitlementsAllowedExceptionRes(parsedOutput, context);
1135
+ case "RateLimitExceededException":
1136
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1137
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1138
+ case "RedirectException":
1139
+ case "com.amazonaws.licensemanager#RedirectException":
1140
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1141
+ case "ResourceNotFoundException":
1142
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1143
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1144
+ case "ServerInternalException":
1145
+ case "com.amazonaws.licensemanager#ServerInternalException":
1146
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1147
+ case "UnsupportedDigitalSignatureMethodException":
1148
+ case "com.amazonaws.licensemanager#UnsupportedDigitalSignatureMethodException":
1149
+ throw await de_UnsupportedDigitalSignatureMethodExceptionRes(parsedOutput, context);
1150
+ case "ValidationException":
1151
+ case "com.amazonaws.licensemanager#ValidationException":
1152
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1153
+ default:
1154
+ const parsedBody = parsedOutput.body;
1155
+ return throwDefaultError({
1156
+ output,
1157
+ parsedBody,
1158
+ errorCode
1159
+ });
1160
+ }
1161
+ }, "de_CheckoutBorrowLicenseCommandError");
1162
+ var de_CheckoutLicenseCommand = /* @__PURE__ */ __name(async (output, context) => {
1163
+ if (output.statusCode >= 300) {
1164
+ return de_CheckoutLicenseCommandError(output, context);
1165
+ }
1166
+ const data = await parseBody(output.body, context);
1167
+ let contents = {};
1168
+ contents = (0, import_smithy_client._json)(data);
1169
+ const response = {
1170
+ $metadata: deserializeMetadata(output),
1171
+ ...contents
1172
+ };
1173
+ return response;
1174
+ }, "de_CheckoutLicenseCommand");
1175
+ var de_CheckoutLicenseCommandError = /* @__PURE__ */ __name(async (output, context) => {
1176
+ const parsedOutput = {
1177
+ ...output,
1178
+ body: await parseErrorBody(output.body, context)
1179
+ };
1180
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1181
+ switch (errorCode) {
1182
+ case "AccessDeniedException":
1183
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1184
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1185
+ case "AuthorizationException":
1186
+ case "com.amazonaws.licensemanager#AuthorizationException":
1187
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1188
+ case "InvalidParameterValueException":
1189
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1190
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1191
+ case "NoEntitlementsAllowedException":
1192
+ case "com.amazonaws.licensemanager#NoEntitlementsAllowedException":
1193
+ throw await de_NoEntitlementsAllowedExceptionRes(parsedOutput, context);
1194
+ case "RateLimitExceededException":
1195
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1196
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1197
+ case "RedirectException":
1198
+ case "com.amazonaws.licensemanager#RedirectException":
1199
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1200
+ case "ResourceNotFoundException":
1201
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1202
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1203
+ case "ServerInternalException":
1204
+ case "com.amazonaws.licensemanager#ServerInternalException":
1205
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1206
+ case "UnsupportedDigitalSignatureMethodException":
1207
+ case "com.amazonaws.licensemanager#UnsupportedDigitalSignatureMethodException":
1208
+ throw await de_UnsupportedDigitalSignatureMethodExceptionRes(parsedOutput, context);
1209
+ case "ValidationException":
1210
+ case "com.amazonaws.licensemanager#ValidationException":
1211
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1212
+ default:
1213
+ const parsedBody = parsedOutput.body;
1214
+ return throwDefaultError({
1215
+ output,
1216
+ parsedBody,
1217
+ errorCode
1218
+ });
1219
+ }
1220
+ }, "de_CheckoutLicenseCommandError");
1221
+ var de_CreateGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
1222
+ if (output.statusCode >= 300) {
1223
+ return de_CreateGrantCommandError(output, context);
1224
+ }
1225
+ const data = await parseBody(output.body, context);
1226
+ let contents = {};
1227
+ contents = (0, import_smithy_client._json)(data);
1228
+ const response = {
1229
+ $metadata: deserializeMetadata(output),
1230
+ ...contents
1231
+ };
1232
+ return response;
1233
+ }, "de_CreateGrantCommand");
1234
+ var de_CreateGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
1235
+ const parsedOutput = {
1236
+ ...output,
1237
+ body: await parseErrorBody(output.body, context)
1238
+ };
1239
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1240
+ switch (errorCode) {
1241
+ case "AccessDeniedException":
1242
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1243
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1244
+ case "AuthorizationException":
1245
+ case "com.amazonaws.licensemanager#AuthorizationException":
1246
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1247
+ case "InvalidParameterValueException":
1248
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1249
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1250
+ case "RateLimitExceededException":
1251
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1252
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1253
+ case "ResourceLimitExceededException":
1254
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1255
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1256
+ case "ServerInternalException":
1257
+ case "com.amazonaws.licensemanager#ServerInternalException":
1258
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1259
+ case "ValidationException":
1260
+ case "com.amazonaws.licensemanager#ValidationException":
1261
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1262
+ default:
1263
+ const parsedBody = parsedOutput.body;
1264
+ return throwDefaultError({
1265
+ output,
1266
+ parsedBody,
1267
+ errorCode
1268
+ });
1269
+ }
1270
+ }, "de_CreateGrantCommandError");
1271
+ var de_CreateGrantVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
1272
+ if (output.statusCode >= 300) {
1273
+ return de_CreateGrantVersionCommandError(output, context);
1274
+ }
1275
+ const data = await parseBody(output.body, context);
1276
+ let contents = {};
1277
+ contents = (0, import_smithy_client._json)(data);
1278
+ const response = {
1279
+ $metadata: deserializeMetadata(output),
1280
+ ...contents
1281
+ };
1282
+ return response;
1283
+ }, "de_CreateGrantVersionCommand");
1284
+ var de_CreateGrantVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1285
+ const parsedOutput = {
1286
+ ...output,
1287
+ body: await parseErrorBody(output.body, context)
1288
+ };
1289
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1290
+ switch (errorCode) {
1291
+ case "AccessDeniedException":
1292
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1293
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1294
+ case "AuthorizationException":
1295
+ case "com.amazonaws.licensemanager#AuthorizationException":
1296
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1297
+ case "InvalidParameterValueException":
1298
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1299
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1300
+ case "RateLimitExceededException":
1301
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1302
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1303
+ case "ResourceLimitExceededException":
1304
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1305
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1306
+ case "ServerInternalException":
1307
+ case "com.amazonaws.licensemanager#ServerInternalException":
1308
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1309
+ case "ValidationException":
1310
+ case "com.amazonaws.licensemanager#ValidationException":
1311
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1312
+ default:
1313
+ const parsedBody = parsedOutput.body;
1314
+ return throwDefaultError({
1315
+ output,
1316
+ parsedBody,
1317
+ errorCode
1318
+ });
1319
+ }
1320
+ }, "de_CreateGrantVersionCommandError");
1321
+ var de_CreateLicenseCommand = /* @__PURE__ */ __name(async (output, context) => {
1322
+ if (output.statusCode >= 300) {
1323
+ return de_CreateLicenseCommandError(output, context);
1324
+ }
1325
+ const data = await parseBody(output.body, context);
1326
+ let contents = {};
1327
+ contents = (0, import_smithy_client._json)(data);
1328
+ const response = {
1329
+ $metadata: deserializeMetadata(output),
1330
+ ...contents
1331
+ };
1332
+ return response;
1333
+ }, "de_CreateLicenseCommand");
1334
+ var de_CreateLicenseCommandError = /* @__PURE__ */ __name(async (output, context) => {
1335
+ const parsedOutput = {
1336
+ ...output,
1337
+ body: await parseErrorBody(output.body, context)
1338
+ };
1339
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1340
+ switch (errorCode) {
1341
+ case "AccessDeniedException":
1342
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1343
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1344
+ case "AuthorizationException":
1345
+ case "com.amazonaws.licensemanager#AuthorizationException":
1346
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1347
+ case "InvalidParameterValueException":
1348
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1349
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1350
+ case "RateLimitExceededException":
1351
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1352
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1353
+ case "RedirectException":
1354
+ case "com.amazonaws.licensemanager#RedirectException":
1355
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1356
+ case "ServerInternalException":
1357
+ case "com.amazonaws.licensemanager#ServerInternalException":
1358
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1359
+ case "ValidationException":
1360
+ case "com.amazonaws.licensemanager#ValidationException":
1361
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1362
+ default:
1363
+ const parsedBody = parsedOutput.body;
1364
+ return throwDefaultError({
1365
+ output,
1366
+ parsedBody,
1367
+ errorCode
1368
+ });
1369
+ }
1370
+ }, "de_CreateLicenseCommandError");
1371
+ var de_CreateLicenseConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1372
+ if (output.statusCode >= 300) {
1373
+ return de_CreateLicenseConfigurationCommandError(output, context);
1374
+ }
1375
+ const data = await parseBody(output.body, context);
1376
+ let contents = {};
1377
+ contents = (0, import_smithy_client._json)(data);
1378
+ const response = {
1379
+ $metadata: deserializeMetadata(output),
1380
+ ...contents
1381
+ };
1382
+ return response;
1383
+ }, "de_CreateLicenseConfigurationCommand");
1384
+ var de_CreateLicenseConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1385
+ const parsedOutput = {
1386
+ ...output,
1387
+ body: await parseErrorBody(output.body, context)
1388
+ };
1389
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1390
+ switch (errorCode) {
1391
+ case "AccessDeniedException":
1392
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1393
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1394
+ case "AuthorizationException":
1395
+ case "com.amazonaws.licensemanager#AuthorizationException":
1396
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1397
+ case "InvalidParameterValueException":
1398
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1399
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1400
+ case "RateLimitExceededException":
1401
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1402
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1403
+ case "ResourceLimitExceededException":
1404
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1405
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1406
+ case "ServerInternalException":
1407
+ case "com.amazonaws.licensemanager#ServerInternalException":
1408
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1409
+ default:
1410
+ const parsedBody = parsedOutput.body;
1411
+ return throwDefaultError({
1412
+ output,
1413
+ parsedBody,
1414
+ errorCode
1415
+ });
1416
+ }
1417
+ }, "de_CreateLicenseConfigurationCommandError");
1418
+ var de_CreateLicenseConversionTaskForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1419
+ if (output.statusCode >= 300) {
1420
+ return de_CreateLicenseConversionTaskForResourceCommandError(output, context);
1421
+ }
1422
+ const data = await parseBody(output.body, context);
1423
+ let contents = {};
1424
+ contents = (0, import_smithy_client._json)(data);
1425
+ const response = {
1426
+ $metadata: deserializeMetadata(output),
1427
+ ...contents
1428
+ };
1429
+ return response;
1430
+ }, "de_CreateLicenseConversionTaskForResourceCommand");
1431
+ var de_CreateLicenseConversionTaskForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1432
+ const parsedOutput = {
1433
+ ...output,
1434
+ body: await parseErrorBody(output.body, context)
1435
+ };
1436
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1437
+ switch (errorCode) {
1438
+ case "AccessDeniedException":
1439
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1440
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1441
+ case "AuthorizationException":
1442
+ case "com.amazonaws.licensemanager#AuthorizationException":
1443
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1444
+ case "InvalidParameterValueException":
1445
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1446
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1447
+ case "RateLimitExceededException":
1448
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1449
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1450
+ case "ServerInternalException":
1451
+ case "com.amazonaws.licensemanager#ServerInternalException":
1452
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1453
+ case "ValidationException":
1454
+ case "com.amazonaws.licensemanager#ValidationException":
1455
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1456
+ default:
1457
+ const parsedBody = parsedOutput.body;
1458
+ return throwDefaultError({
1459
+ output,
1460
+ parsedBody,
1461
+ errorCode
1462
+ });
1463
+ }
1464
+ }, "de_CreateLicenseConversionTaskForResourceCommandError");
1465
+ var de_CreateLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (output, context) => {
1466
+ if (output.statusCode >= 300) {
1467
+ return de_CreateLicenseManagerReportGeneratorCommandError(output, context);
1468
+ }
1469
+ const data = await parseBody(output.body, context);
1470
+ let contents = {};
1471
+ contents = (0, import_smithy_client._json)(data);
1472
+ const response = {
1473
+ $metadata: deserializeMetadata(output),
1474
+ ...contents
1475
+ };
1476
+ return response;
1477
+ }, "de_CreateLicenseManagerReportGeneratorCommand");
1478
+ var de_CreateLicenseManagerReportGeneratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
1479
+ const parsedOutput = {
1480
+ ...output,
1481
+ body: await parseErrorBody(output.body, context)
1482
+ };
1483
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1484
+ switch (errorCode) {
1485
+ case "AccessDeniedException":
1486
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1487
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1488
+ case "AuthorizationException":
1489
+ case "com.amazonaws.licensemanager#AuthorizationException":
1490
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1491
+ case "InvalidParameterValueException":
1492
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1493
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1494
+ case "RateLimitExceededException":
1495
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1496
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1497
+ case "ResourceLimitExceededException":
1498
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1499
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1500
+ case "ResourceNotFoundException":
1501
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1502
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1503
+ case "ServerInternalException":
1504
+ case "com.amazonaws.licensemanager#ServerInternalException":
1505
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1506
+ case "ValidationException":
1507
+ case "com.amazonaws.licensemanager#ValidationException":
1508
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1509
+ default:
1510
+ const parsedBody = parsedOutput.body;
1511
+ return throwDefaultError({
1512
+ output,
1513
+ parsedBody,
1514
+ errorCode
1515
+ });
1516
+ }
1517
+ }, "de_CreateLicenseManagerReportGeneratorCommandError");
1518
+ var de_CreateLicenseVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
1519
+ if (output.statusCode >= 300) {
1520
+ return de_CreateLicenseVersionCommandError(output, context);
1521
+ }
1522
+ const data = await parseBody(output.body, context);
1523
+ let contents = {};
1524
+ contents = (0, import_smithy_client._json)(data);
1525
+ const response = {
1526
+ $metadata: deserializeMetadata(output),
1527
+ ...contents
1528
+ };
1529
+ return response;
1530
+ }, "de_CreateLicenseVersionCommand");
1531
+ var de_CreateLicenseVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1532
+ const parsedOutput = {
1533
+ ...output,
1534
+ body: await parseErrorBody(output.body, context)
1535
+ };
1536
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1537
+ switch (errorCode) {
1538
+ case "AccessDeniedException":
1539
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1540
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1541
+ case "AuthorizationException":
1542
+ case "com.amazonaws.licensemanager#AuthorizationException":
1543
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1544
+ case "ConflictException":
1545
+ case "com.amazonaws.licensemanager#ConflictException":
1546
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1547
+ case "RateLimitExceededException":
1548
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1549
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1550
+ case "RedirectException":
1551
+ case "com.amazonaws.licensemanager#RedirectException":
1552
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1553
+ case "ResourceNotFoundException":
1554
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1555
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1556
+ case "ServerInternalException":
1557
+ case "com.amazonaws.licensemanager#ServerInternalException":
1558
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1559
+ case "ValidationException":
1560
+ case "com.amazonaws.licensemanager#ValidationException":
1561
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1562
+ default:
1563
+ const parsedBody = parsedOutput.body;
1564
+ return throwDefaultError({
1565
+ output,
1566
+ parsedBody,
1567
+ errorCode
1568
+ });
1569
+ }
1570
+ }, "de_CreateLicenseVersionCommandError");
1571
+ var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
1572
+ if (output.statusCode >= 300) {
1573
+ return de_CreateTokenCommandError(output, context);
1574
+ }
1575
+ const data = await parseBody(output.body, context);
1576
+ let contents = {};
1577
+ contents = (0, import_smithy_client._json)(data);
1578
+ const response = {
1579
+ $metadata: deserializeMetadata(output),
1580
+ ...contents
1581
+ };
1582
+ return response;
1583
+ }, "de_CreateTokenCommand");
1584
+ var de_CreateTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
1585
+ const parsedOutput = {
1586
+ ...output,
1587
+ body: await parseErrorBody(output.body, context)
1588
+ };
1589
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1590
+ switch (errorCode) {
1591
+ case "AccessDeniedException":
1592
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1593
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1594
+ case "AuthorizationException":
1595
+ case "com.amazonaws.licensemanager#AuthorizationException":
1596
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1597
+ case "RateLimitExceededException":
1598
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1599
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1600
+ case "RedirectException":
1601
+ case "com.amazonaws.licensemanager#RedirectException":
1602
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1603
+ case "ResourceLimitExceededException":
1604
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1605
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1606
+ case "ResourceNotFoundException":
1607
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1608
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1609
+ case "ServerInternalException":
1610
+ case "com.amazonaws.licensemanager#ServerInternalException":
1611
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1612
+ case "ValidationException":
1613
+ case "com.amazonaws.licensemanager#ValidationException":
1614
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1615
+ default:
1616
+ const parsedBody = parsedOutput.body;
1617
+ return throwDefaultError({
1618
+ output,
1619
+ parsedBody,
1620
+ errorCode
1621
+ });
1622
+ }
1623
+ }, "de_CreateTokenCommandError");
1624
+ var de_DeleteGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
1625
+ if (output.statusCode >= 300) {
1626
+ return de_DeleteGrantCommandError(output, context);
1627
+ }
1628
+ const data = await parseBody(output.body, context);
1629
+ let contents = {};
1630
+ contents = (0, import_smithy_client._json)(data);
1631
+ const response = {
1632
+ $metadata: deserializeMetadata(output),
1633
+ ...contents
1634
+ };
1635
+ return response;
1636
+ }, "de_DeleteGrantCommand");
1637
+ var de_DeleteGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
1638
+ const parsedOutput = {
1639
+ ...output,
1640
+ body: await parseErrorBody(output.body, context)
1641
+ };
1642
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1643
+ switch (errorCode) {
1644
+ case "AccessDeniedException":
1645
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1646
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1647
+ case "AuthorizationException":
1648
+ case "com.amazonaws.licensemanager#AuthorizationException":
1649
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1650
+ case "InvalidParameterValueException":
1651
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1652
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1653
+ case "RateLimitExceededException":
1654
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1655
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1656
+ case "ResourceLimitExceededException":
1657
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1658
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1659
+ case "ServerInternalException":
1660
+ case "com.amazonaws.licensemanager#ServerInternalException":
1661
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1662
+ case "ValidationException":
1663
+ case "com.amazonaws.licensemanager#ValidationException":
1664
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1665
+ default:
1666
+ const parsedBody = parsedOutput.body;
1667
+ return throwDefaultError({
1668
+ output,
1669
+ parsedBody,
1670
+ errorCode
1671
+ });
1672
+ }
1673
+ }, "de_DeleteGrantCommandError");
1674
+ var de_DeleteLicenseCommand = /* @__PURE__ */ __name(async (output, context) => {
1675
+ if (output.statusCode >= 300) {
1676
+ return de_DeleteLicenseCommandError(output, context);
1677
+ }
1678
+ const data = await parseBody(output.body, context);
1679
+ let contents = {};
1680
+ contents = (0, import_smithy_client._json)(data);
1681
+ const response = {
1682
+ $metadata: deserializeMetadata(output),
1683
+ ...contents
1684
+ };
1685
+ return response;
1686
+ }, "de_DeleteLicenseCommand");
1687
+ var de_DeleteLicenseCommandError = /* @__PURE__ */ __name(async (output, context) => {
1688
+ const parsedOutput = {
1689
+ ...output,
1690
+ body: await parseErrorBody(output.body, context)
1691
+ };
1692
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1693
+ switch (errorCode) {
1694
+ case "AccessDeniedException":
1695
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1696
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1697
+ case "AuthorizationException":
1698
+ case "com.amazonaws.licensemanager#AuthorizationException":
1699
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1700
+ case "ConflictException":
1701
+ case "com.amazonaws.licensemanager#ConflictException":
1702
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1703
+ case "InvalidParameterValueException":
1704
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1705
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1706
+ case "RateLimitExceededException":
1707
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1708
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1709
+ case "RedirectException":
1710
+ case "com.amazonaws.licensemanager#RedirectException":
1711
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1712
+ case "ServerInternalException":
1713
+ case "com.amazonaws.licensemanager#ServerInternalException":
1714
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1715
+ case "ValidationException":
1716
+ case "com.amazonaws.licensemanager#ValidationException":
1717
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1718
+ default:
1719
+ const parsedBody = parsedOutput.body;
1720
+ return throwDefaultError({
1721
+ output,
1722
+ parsedBody,
1723
+ errorCode
1724
+ });
1725
+ }
1726
+ }, "de_DeleteLicenseCommandError");
1727
+ var de_DeleteLicenseConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1728
+ if (output.statusCode >= 300) {
1729
+ return de_DeleteLicenseConfigurationCommandError(output, context);
1730
+ }
1731
+ const data = await parseBody(output.body, context);
1732
+ let contents = {};
1733
+ contents = (0, import_smithy_client._json)(data);
1734
+ const response = {
1735
+ $metadata: deserializeMetadata(output),
1736
+ ...contents
1737
+ };
1738
+ return response;
1739
+ }, "de_DeleteLicenseConfigurationCommand");
1740
+ var de_DeleteLicenseConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1741
+ const parsedOutput = {
1742
+ ...output,
1743
+ body: await parseErrorBody(output.body, context)
1744
+ };
1745
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1746
+ switch (errorCode) {
1747
+ case "AccessDeniedException":
1748
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1749
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1750
+ case "AuthorizationException":
1751
+ case "com.amazonaws.licensemanager#AuthorizationException":
1752
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1753
+ case "InvalidParameterValueException":
1754
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1755
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1756
+ case "RateLimitExceededException":
1757
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1758
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1759
+ case "ServerInternalException":
1760
+ case "com.amazonaws.licensemanager#ServerInternalException":
1761
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1762
+ default:
1763
+ const parsedBody = parsedOutput.body;
1764
+ return throwDefaultError({
1765
+ output,
1766
+ parsedBody,
1767
+ errorCode
1768
+ });
1769
+ }
1770
+ }, "de_DeleteLicenseConfigurationCommandError");
1771
+ var de_DeleteLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (output, context) => {
1772
+ if (output.statusCode >= 300) {
1773
+ return de_DeleteLicenseManagerReportGeneratorCommandError(output, context);
1774
+ }
1775
+ const data = await parseBody(output.body, context);
1776
+ let contents = {};
1777
+ contents = (0, import_smithy_client._json)(data);
1778
+ const response = {
1779
+ $metadata: deserializeMetadata(output),
1780
+ ...contents
1781
+ };
1782
+ return response;
1783
+ }, "de_DeleteLicenseManagerReportGeneratorCommand");
1784
+ var de_DeleteLicenseManagerReportGeneratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
1785
+ const parsedOutput = {
1786
+ ...output,
1787
+ body: await parseErrorBody(output.body, context)
1788
+ };
1789
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1790
+ switch (errorCode) {
1791
+ case "AccessDeniedException":
1792
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1793
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1794
+ case "AuthorizationException":
1795
+ case "com.amazonaws.licensemanager#AuthorizationException":
1796
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1797
+ case "InvalidParameterValueException":
1798
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1799
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1800
+ case "RateLimitExceededException":
1801
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1802
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1803
+ case "ResourceLimitExceededException":
1804
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
1805
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1806
+ case "ResourceNotFoundException":
1807
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1808
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1809
+ case "ServerInternalException":
1810
+ case "com.amazonaws.licensemanager#ServerInternalException":
1811
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1812
+ case "ValidationException":
1813
+ case "com.amazonaws.licensemanager#ValidationException":
1814
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1815
+ default:
1816
+ const parsedBody = parsedOutput.body;
1817
+ return throwDefaultError({
1818
+ output,
1819
+ parsedBody,
1820
+ errorCode
1821
+ });
1822
+ }
1823
+ }, "de_DeleteLicenseManagerReportGeneratorCommandError");
1824
+ var de_DeleteTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
1825
+ if (output.statusCode >= 300) {
1826
+ return de_DeleteTokenCommandError(output, context);
1827
+ }
1828
+ const data = await parseBody(output.body, context);
1829
+ let contents = {};
1830
+ contents = (0, import_smithy_client._json)(data);
1831
+ const response = {
1832
+ $metadata: deserializeMetadata(output),
1833
+ ...contents
1834
+ };
1835
+ return response;
1836
+ }, "de_DeleteTokenCommand");
1837
+ var de_DeleteTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
1838
+ const parsedOutput = {
1839
+ ...output,
1840
+ body: await parseErrorBody(output.body, context)
1841
+ };
1842
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1843
+ switch (errorCode) {
1844
+ case "AccessDeniedException":
1845
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1846
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1847
+ case "AuthorizationException":
1848
+ case "com.amazonaws.licensemanager#AuthorizationException":
1849
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1850
+ case "RateLimitExceededException":
1851
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1852
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1853
+ case "RedirectException":
1854
+ case "com.amazonaws.licensemanager#RedirectException":
1855
+ throw await de_RedirectExceptionRes(parsedOutput, context);
1856
+ case "ResourceNotFoundException":
1857
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1858
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1859
+ case "ServerInternalException":
1860
+ case "com.amazonaws.licensemanager#ServerInternalException":
1861
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1862
+ case "ValidationException":
1863
+ case "com.amazonaws.licensemanager#ValidationException":
1864
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1865
+ default:
1866
+ const parsedBody = parsedOutput.body;
1867
+ return throwDefaultError({
1868
+ output,
1869
+ parsedBody,
1870
+ errorCode
1871
+ });
1872
+ }
1873
+ }, "de_DeleteTokenCommandError");
1874
+ var de_ExtendLicenseConsumptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1875
+ if (output.statusCode >= 300) {
1876
+ return de_ExtendLicenseConsumptionCommandError(output, context);
1877
+ }
1878
+ const data = await parseBody(output.body, context);
1879
+ let contents = {};
1880
+ contents = (0, import_smithy_client._json)(data);
1881
+ const response = {
1882
+ $metadata: deserializeMetadata(output),
1883
+ ...contents
1884
+ };
1885
+ return response;
1886
+ }, "de_ExtendLicenseConsumptionCommand");
1887
+ var de_ExtendLicenseConsumptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1888
+ const parsedOutput = {
1889
+ ...output,
1890
+ body: await parseErrorBody(output.body, context)
1891
+ };
1892
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1893
+ switch (errorCode) {
1894
+ case "AccessDeniedException":
1895
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1896
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1897
+ case "AuthorizationException":
1898
+ case "com.amazonaws.licensemanager#AuthorizationException":
1899
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1900
+ case "InvalidParameterValueException":
1901
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1902
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1903
+ case "RateLimitExceededException":
1904
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1905
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1906
+ case "ResourceNotFoundException":
1907
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
1908
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1909
+ case "ServerInternalException":
1910
+ case "com.amazonaws.licensemanager#ServerInternalException":
1911
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1912
+ case "ValidationException":
1913
+ case "com.amazonaws.licensemanager#ValidationException":
1914
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1915
+ default:
1916
+ const parsedBody = parsedOutput.body;
1917
+ return throwDefaultError({
1918
+ output,
1919
+ parsedBody,
1920
+ errorCode
1921
+ });
1922
+ }
1923
+ }, "de_ExtendLicenseConsumptionCommandError");
1924
+ var de_GetAccessTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
1925
+ if (output.statusCode >= 300) {
1926
+ return de_GetAccessTokenCommandError(output, context);
1927
+ }
1928
+ const data = await parseBody(output.body, context);
1929
+ let contents = {};
1930
+ contents = (0, import_smithy_client._json)(data);
1931
+ const response = {
1932
+ $metadata: deserializeMetadata(output),
1933
+ ...contents
1934
+ };
1935
+ return response;
1936
+ }, "de_GetAccessTokenCommand");
1937
+ var de_GetAccessTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
1938
+ const parsedOutput = {
1939
+ ...output,
1940
+ body: await parseErrorBody(output.body, context)
1941
+ };
1942
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1943
+ switch (errorCode) {
1944
+ case "AccessDeniedException":
1945
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1946
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1947
+ case "AuthorizationException":
1948
+ case "com.amazonaws.licensemanager#AuthorizationException":
1949
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1950
+ case "RateLimitExceededException":
1951
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1952
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
1953
+ case "ServerInternalException":
1954
+ case "com.amazonaws.licensemanager#ServerInternalException":
1955
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
1956
+ case "ValidationException":
1957
+ case "com.amazonaws.licensemanager#ValidationException":
1958
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1959
+ default:
1960
+ const parsedBody = parsedOutput.body;
1961
+ return throwDefaultError({
1962
+ output,
1963
+ parsedBody,
1964
+ errorCode
1965
+ });
1966
+ }
1967
+ }, "de_GetAccessTokenCommandError");
1968
+ var de_GetGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
1969
+ if (output.statusCode >= 300) {
1970
+ return de_GetGrantCommandError(output, context);
1971
+ }
1972
+ const data = await parseBody(output.body, context);
1973
+ let contents = {};
1974
+ contents = (0, import_smithy_client._json)(data);
1975
+ const response = {
1976
+ $metadata: deserializeMetadata(output),
1977
+ ...contents
1978
+ };
1979
+ return response;
1980
+ }, "de_GetGrantCommand");
1981
+ var de_GetGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
1982
+ const parsedOutput = {
1983
+ ...output,
1984
+ body: await parseErrorBody(output.body, context)
1985
+ };
1986
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1987
+ switch (errorCode) {
1988
+ case "AccessDeniedException":
1989
+ case "com.amazonaws.licensemanager#AccessDeniedException":
1990
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1991
+ case "AuthorizationException":
1992
+ case "com.amazonaws.licensemanager#AuthorizationException":
1993
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
1994
+ case "InvalidParameterValueException":
1995
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
1996
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1997
+ case "RateLimitExceededException":
1998
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
1999
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2000
+ case "ResourceLimitExceededException":
2001
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2002
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2003
+ case "ServerInternalException":
2004
+ case "com.amazonaws.licensemanager#ServerInternalException":
2005
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2006
+ case "ValidationException":
2007
+ case "com.amazonaws.licensemanager#ValidationException":
2008
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2009
+ default:
2010
+ const parsedBody = parsedOutput.body;
2011
+ return throwDefaultError({
2012
+ output,
2013
+ parsedBody,
2014
+ errorCode
2015
+ });
2016
+ }
2017
+ }, "de_GetGrantCommandError");
2018
+ var de_GetLicenseCommand = /* @__PURE__ */ __name(async (output, context) => {
2019
+ if (output.statusCode >= 300) {
2020
+ return de_GetLicenseCommandError(output, context);
2021
+ }
2022
+ const data = await parseBody(output.body, context);
2023
+ let contents = {};
2024
+ contents = (0, import_smithy_client._json)(data);
2025
+ const response = {
2026
+ $metadata: deserializeMetadata(output),
2027
+ ...contents
2028
+ };
2029
+ return response;
2030
+ }, "de_GetLicenseCommand");
2031
+ var de_GetLicenseCommandError = /* @__PURE__ */ __name(async (output, context) => {
2032
+ const parsedOutput = {
2033
+ ...output,
2034
+ body: await parseErrorBody(output.body, context)
2035
+ };
2036
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2037
+ switch (errorCode) {
2038
+ case "AccessDeniedException":
2039
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2040
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2041
+ case "AuthorizationException":
2042
+ case "com.amazonaws.licensemanager#AuthorizationException":
2043
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2044
+ case "InvalidParameterValueException":
2045
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2046
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2047
+ case "RateLimitExceededException":
2048
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2049
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2050
+ case "ServerInternalException":
2051
+ case "com.amazonaws.licensemanager#ServerInternalException":
2052
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2053
+ case "ValidationException":
2054
+ case "com.amazonaws.licensemanager#ValidationException":
2055
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2056
+ default:
2057
+ const parsedBody = parsedOutput.body;
2058
+ return throwDefaultError({
2059
+ output,
2060
+ parsedBody,
2061
+ errorCode
2062
+ });
2063
+ }
2064
+ }, "de_GetLicenseCommandError");
2065
+ var de_GetLicenseConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
2066
+ if (output.statusCode >= 300) {
2067
+ return de_GetLicenseConfigurationCommandError(output, context);
2068
+ }
2069
+ const data = await parseBody(output.body, context);
2070
+ let contents = {};
2071
+ contents = de_GetLicenseConfigurationResponse(data, context);
2072
+ const response = {
2073
+ $metadata: deserializeMetadata(output),
2074
+ ...contents
2075
+ };
2076
+ return response;
2077
+ }, "de_GetLicenseConfigurationCommand");
2078
+ var de_GetLicenseConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2079
+ const parsedOutput = {
2080
+ ...output,
2081
+ body: await parseErrorBody(output.body, context)
2082
+ };
2083
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2084
+ switch (errorCode) {
2085
+ case "AccessDeniedException":
2086
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2087
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2088
+ case "AuthorizationException":
2089
+ case "com.amazonaws.licensemanager#AuthorizationException":
2090
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2091
+ case "InvalidParameterValueException":
2092
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2093
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2094
+ case "RateLimitExceededException":
2095
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2096
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2097
+ case "ServerInternalException":
2098
+ case "com.amazonaws.licensemanager#ServerInternalException":
2099
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2100
+ default:
2101
+ const parsedBody = parsedOutput.body;
2102
+ return throwDefaultError({
2103
+ output,
2104
+ parsedBody,
2105
+ errorCode
2106
+ });
2107
+ }
2108
+ }, "de_GetLicenseConfigurationCommandError");
2109
+ var de_GetLicenseConversionTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
2110
+ if (output.statusCode >= 300) {
2111
+ return de_GetLicenseConversionTaskCommandError(output, context);
2112
+ }
2113
+ const data = await parseBody(output.body, context);
2114
+ let contents = {};
2115
+ contents = de_GetLicenseConversionTaskResponse(data, context);
2116
+ const response = {
2117
+ $metadata: deserializeMetadata(output),
2118
+ ...contents
2119
+ };
2120
+ return response;
2121
+ }, "de_GetLicenseConversionTaskCommand");
2122
+ var de_GetLicenseConversionTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
2123
+ const parsedOutput = {
2124
+ ...output,
2125
+ body: await parseErrorBody(output.body, context)
2126
+ };
2127
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2128
+ switch (errorCode) {
2129
+ case "AccessDeniedException":
2130
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2131
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2132
+ case "AuthorizationException":
2133
+ case "com.amazonaws.licensemanager#AuthorizationException":
2134
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2135
+ case "InvalidParameterValueException":
2136
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2137
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2138
+ case "RateLimitExceededException":
2139
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2140
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2141
+ case "ServerInternalException":
2142
+ case "com.amazonaws.licensemanager#ServerInternalException":
2143
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2144
+ default:
2145
+ const parsedBody = parsedOutput.body;
2146
+ return throwDefaultError({
2147
+ output,
2148
+ parsedBody,
2149
+ errorCode
2150
+ });
2151
+ }
2152
+ }, "de_GetLicenseConversionTaskCommandError");
2153
+ var de_GetLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (output, context) => {
2154
+ if (output.statusCode >= 300) {
2155
+ return de_GetLicenseManagerReportGeneratorCommandError(output, context);
2156
+ }
2157
+ const data = await parseBody(output.body, context);
2158
+ let contents = {};
2159
+ contents = (0, import_smithy_client._json)(data);
2160
+ const response = {
2161
+ $metadata: deserializeMetadata(output),
2162
+ ...contents
2163
+ };
2164
+ return response;
2165
+ }, "de_GetLicenseManagerReportGeneratorCommand");
2166
+ var de_GetLicenseManagerReportGeneratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
2167
+ const parsedOutput = {
2168
+ ...output,
2169
+ body: await parseErrorBody(output.body, context)
2170
+ };
2171
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2172
+ switch (errorCode) {
2173
+ case "AccessDeniedException":
2174
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2175
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2176
+ case "AuthorizationException":
2177
+ case "com.amazonaws.licensemanager#AuthorizationException":
2178
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2179
+ case "InvalidParameterValueException":
2180
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2181
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2182
+ case "RateLimitExceededException":
2183
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2184
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2185
+ case "ResourceLimitExceededException":
2186
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2187
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2188
+ case "ResourceNotFoundException":
2189
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
2190
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2191
+ case "ServerInternalException":
2192
+ case "com.amazonaws.licensemanager#ServerInternalException":
2193
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2194
+ case "ValidationException":
2195
+ case "com.amazonaws.licensemanager#ValidationException":
2196
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2197
+ default:
2198
+ const parsedBody = parsedOutput.body;
2199
+ return throwDefaultError({
2200
+ output,
2201
+ parsedBody,
2202
+ errorCode
2203
+ });
2204
+ }
2205
+ }, "de_GetLicenseManagerReportGeneratorCommandError");
2206
+ var de_GetLicenseUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
2207
+ if (output.statusCode >= 300) {
2208
+ return de_GetLicenseUsageCommandError(output, context);
2209
+ }
2210
+ const data = await parseBody(output.body, context);
2211
+ let contents = {};
2212
+ contents = (0, import_smithy_client._json)(data);
2213
+ const response = {
2214
+ $metadata: deserializeMetadata(output),
2215
+ ...contents
2216
+ };
2217
+ return response;
2218
+ }, "de_GetLicenseUsageCommand");
2219
+ var de_GetLicenseUsageCommandError = /* @__PURE__ */ __name(async (output, context) => {
2220
+ const parsedOutput = {
2221
+ ...output,
2222
+ body: await parseErrorBody(output.body, context)
2223
+ };
2224
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2225
+ switch (errorCode) {
2226
+ case "AccessDeniedException":
2227
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2228
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2229
+ case "AuthorizationException":
2230
+ case "com.amazonaws.licensemanager#AuthorizationException":
2231
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2232
+ case "InvalidParameterValueException":
2233
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2234
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2235
+ case "RateLimitExceededException":
2236
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2237
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2238
+ case "ServerInternalException":
2239
+ case "com.amazonaws.licensemanager#ServerInternalException":
2240
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2241
+ case "ValidationException":
2242
+ case "com.amazonaws.licensemanager#ValidationException":
2243
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2244
+ default:
2245
+ const parsedBody = parsedOutput.body;
2246
+ return throwDefaultError({
2247
+ output,
2248
+ parsedBody,
2249
+ errorCode
2250
+ });
2251
+ }
2252
+ }, "de_GetLicenseUsageCommandError");
2253
+ var de_GetServiceSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2254
+ if (output.statusCode >= 300) {
2255
+ return de_GetServiceSettingsCommandError(output, context);
2256
+ }
2257
+ const data = await parseBody(output.body, context);
2258
+ let contents = {};
2259
+ contents = (0, import_smithy_client._json)(data);
2260
+ const response = {
2261
+ $metadata: deserializeMetadata(output),
2262
+ ...contents
2263
+ };
2264
+ return response;
2265
+ }, "de_GetServiceSettingsCommand");
2266
+ var de_GetServiceSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2267
+ const parsedOutput = {
2268
+ ...output,
2269
+ body: await parseErrorBody(output.body, context)
2270
+ };
2271
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2272
+ switch (errorCode) {
2273
+ case "AccessDeniedException":
2274
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2275
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2276
+ case "AuthorizationException":
2277
+ case "com.amazonaws.licensemanager#AuthorizationException":
2278
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2279
+ case "RateLimitExceededException":
2280
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2281
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2282
+ case "ServerInternalException":
2283
+ case "com.amazonaws.licensemanager#ServerInternalException":
2284
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2285
+ default:
2286
+ const parsedBody = parsedOutput.body;
2287
+ return throwDefaultError({
2288
+ output,
2289
+ parsedBody,
2290
+ errorCode
2291
+ });
2292
+ }
2293
+ }, "de_GetServiceSettingsCommandError");
2294
+ var de_ListAssociationsForLicenseConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
2295
+ if (output.statusCode >= 300) {
2296
+ return de_ListAssociationsForLicenseConfigurationCommandError(output, context);
2297
+ }
2298
+ const data = await parseBody(output.body, context);
2299
+ let contents = {};
2300
+ contents = de_ListAssociationsForLicenseConfigurationResponse(data, context);
2301
+ const response = {
2302
+ $metadata: deserializeMetadata(output),
2303
+ ...contents
2304
+ };
2305
+ return response;
2306
+ }, "de_ListAssociationsForLicenseConfigurationCommand");
2307
+ var de_ListAssociationsForLicenseConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2308
+ const parsedOutput = {
2309
+ ...output,
2310
+ body: await parseErrorBody(output.body, context)
2311
+ };
2312
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2313
+ switch (errorCode) {
2314
+ case "AccessDeniedException":
2315
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2316
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2317
+ case "AuthorizationException":
2318
+ case "com.amazonaws.licensemanager#AuthorizationException":
2319
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2320
+ case "FilterLimitExceededException":
2321
+ case "com.amazonaws.licensemanager#FilterLimitExceededException":
2322
+ throw await de_FilterLimitExceededExceptionRes(parsedOutput, context);
2323
+ case "InvalidParameterValueException":
2324
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2325
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2326
+ case "RateLimitExceededException":
2327
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2328
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2329
+ case "ServerInternalException":
2330
+ case "com.amazonaws.licensemanager#ServerInternalException":
2331
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2332
+ default:
2333
+ const parsedBody = parsedOutput.body;
2334
+ return throwDefaultError({
2335
+ output,
2336
+ parsedBody,
2337
+ errorCode
2338
+ });
2339
+ }
2340
+ }, "de_ListAssociationsForLicenseConfigurationCommandError");
2341
+ var de_ListDistributedGrantsCommand = /* @__PURE__ */ __name(async (output, context) => {
2342
+ if (output.statusCode >= 300) {
2343
+ return de_ListDistributedGrantsCommandError(output, context);
2344
+ }
2345
+ const data = await parseBody(output.body, context);
2346
+ let contents = {};
2347
+ contents = (0, import_smithy_client._json)(data);
2348
+ const response = {
2349
+ $metadata: deserializeMetadata(output),
2350
+ ...contents
2351
+ };
2352
+ return response;
2353
+ }, "de_ListDistributedGrantsCommand");
2354
+ var de_ListDistributedGrantsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2355
+ const parsedOutput = {
2356
+ ...output,
2357
+ body: await parseErrorBody(output.body, context)
2358
+ };
2359
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2360
+ switch (errorCode) {
2361
+ case "AccessDeniedException":
2362
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2363
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2364
+ case "AuthorizationException":
2365
+ case "com.amazonaws.licensemanager#AuthorizationException":
2366
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2367
+ case "InvalidParameterValueException":
2368
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2369
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2370
+ case "RateLimitExceededException":
2371
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2372
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2373
+ case "ResourceLimitExceededException":
2374
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2375
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2376
+ case "ServerInternalException":
2377
+ case "com.amazonaws.licensemanager#ServerInternalException":
2378
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2379
+ case "ValidationException":
2380
+ case "com.amazonaws.licensemanager#ValidationException":
2381
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2382
+ default:
2383
+ const parsedBody = parsedOutput.body;
2384
+ return throwDefaultError({
2385
+ output,
2386
+ parsedBody,
2387
+ errorCode
2388
+ });
2389
+ }
2390
+ }, "de_ListDistributedGrantsCommandError");
2391
+ var de_ListFailuresForLicenseConfigurationOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
2392
+ if (output.statusCode >= 300) {
2393
+ return de_ListFailuresForLicenseConfigurationOperationsCommandError(output, context);
2394
+ }
2395
+ const data = await parseBody(output.body, context);
2396
+ let contents = {};
2397
+ contents = de_ListFailuresForLicenseConfigurationOperationsResponse(data, context);
2398
+ const response = {
2399
+ $metadata: deserializeMetadata(output),
2400
+ ...contents
2401
+ };
2402
+ return response;
2403
+ }, "de_ListFailuresForLicenseConfigurationOperationsCommand");
2404
+ var de_ListFailuresForLicenseConfigurationOperationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2405
+ const parsedOutput = {
2406
+ ...output,
2407
+ body: await parseErrorBody(output.body, context)
2408
+ };
2409
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2410
+ switch (errorCode) {
2411
+ case "AccessDeniedException":
2412
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2413
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2414
+ case "AuthorizationException":
2415
+ case "com.amazonaws.licensemanager#AuthorizationException":
2416
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2417
+ case "InvalidParameterValueException":
2418
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2419
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2420
+ case "RateLimitExceededException":
2421
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2422
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2423
+ case "ServerInternalException":
2424
+ case "com.amazonaws.licensemanager#ServerInternalException":
2425
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2426
+ default:
2427
+ const parsedBody = parsedOutput.body;
2428
+ return throwDefaultError({
2429
+ output,
2430
+ parsedBody,
2431
+ errorCode
2432
+ });
2433
+ }
2434
+ }, "de_ListFailuresForLicenseConfigurationOperationsCommandError");
2435
+ var de_ListLicenseConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
2436
+ if (output.statusCode >= 300) {
2437
+ return de_ListLicenseConfigurationsCommandError(output, context);
2438
+ }
2439
+ const data = await parseBody(output.body, context);
2440
+ let contents = {};
2441
+ contents = de_ListLicenseConfigurationsResponse(data, context);
2442
+ const response = {
2443
+ $metadata: deserializeMetadata(output),
2444
+ ...contents
2445
+ };
2446
+ return response;
2447
+ }, "de_ListLicenseConfigurationsCommand");
2448
+ var de_ListLicenseConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2449
+ const parsedOutput = {
2450
+ ...output,
2451
+ body: await parseErrorBody(output.body, context)
2452
+ };
2453
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2454
+ switch (errorCode) {
2455
+ case "AccessDeniedException":
2456
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2457
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2458
+ case "AuthorizationException":
2459
+ case "com.amazonaws.licensemanager#AuthorizationException":
2460
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2461
+ case "FilterLimitExceededException":
2462
+ case "com.amazonaws.licensemanager#FilterLimitExceededException":
2463
+ throw await de_FilterLimitExceededExceptionRes(parsedOutput, context);
2464
+ case "InvalidParameterValueException":
2465
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2466
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2467
+ case "RateLimitExceededException":
2468
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2469
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2470
+ case "ServerInternalException":
2471
+ case "com.amazonaws.licensemanager#ServerInternalException":
2472
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2473
+ default:
2474
+ const parsedBody = parsedOutput.body;
2475
+ return throwDefaultError({
2476
+ output,
2477
+ parsedBody,
2478
+ errorCode
2479
+ });
2480
+ }
2481
+ }, "de_ListLicenseConfigurationsCommandError");
2482
+ var de_ListLicenseConversionTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
2483
+ if (output.statusCode >= 300) {
2484
+ return de_ListLicenseConversionTasksCommandError(output, context);
2485
+ }
2486
+ const data = await parseBody(output.body, context);
2487
+ let contents = {};
2488
+ contents = de_ListLicenseConversionTasksResponse(data, context);
2489
+ const response = {
2490
+ $metadata: deserializeMetadata(output),
2491
+ ...contents
2492
+ };
2493
+ return response;
2494
+ }, "de_ListLicenseConversionTasksCommand");
2495
+ var de_ListLicenseConversionTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
2496
+ const parsedOutput = {
2497
+ ...output,
2498
+ body: await parseErrorBody(output.body, context)
2499
+ };
2500
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2501
+ switch (errorCode) {
2502
+ case "AccessDeniedException":
2503
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2504
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2505
+ case "AuthorizationException":
2506
+ case "com.amazonaws.licensemanager#AuthorizationException":
2507
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2508
+ case "InvalidParameterValueException":
2509
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2510
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2511
+ case "RateLimitExceededException":
2512
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2513
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2514
+ case "ServerInternalException":
2515
+ case "com.amazonaws.licensemanager#ServerInternalException":
2516
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2517
+ default:
2518
+ const parsedBody = parsedOutput.body;
2519
+ return throwDefaultError({
2520
+ output,
2521
+ parsedBody,
2522
+ errorCode
2523
+ });
2524
+ }
2525
+ }, "de_ListLicenseConversionTasksCommandError");
2526
+ var de_ListLicenseManagerReportGeneratorsCommand = /* @__PURE__ */ __name(async (output, context) => {
2527
+ if (output.statusCode >= 300) {
2528
+ return de_ListLicenseManagerReportGeneratorsCommandError(output, context);
2529
+ }
2530
+ const data = await parseBody(output.body, context);
2531
+ let contents = {};
2532
+ contents = (0, import_smithy_client._json)(data);
2533
+ const response = {
2534
+ $metadata: deserializeMetadata(output),
2535
+ ...contents
2536
+ };
2537
+ return response;
2538
+ }, "de_ListLicenseManagerReportGeneratorsCommand");
2539
+ var de_ListLicenseManagerReportGeneratorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2540
+ const parsedOutput = {
2541
+ ...output,
2542
+ body: await parseErrorBody(output.body, context)
2543
+ };
2544
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2545
+ switch (errorCode) {
2546
+ case "AccessDeniedException":
2547
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2548
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2549
+ case "AuthorizationException":
2550
+ case "com.amazonaws.licensemanager#AuthorizationException":
2551
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2552
+ case "InvalidParameterValueException":
2553
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2554
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2555
+ case "RateLimitExceededException":
2556
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2557
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2558
+ case "ResourceLimitExceededException":
2559
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2560
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2561
+ case "ResourceNotFoundException":
2562
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
2563
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2564
+ case "ServerInternalException":
2565
+ case "com.amazonaws.licensemanager#ServerInternalException":
2566
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2567
+ case "ValidationException":
2568
+ case "com.amazonaws.licensemanager#ValidationException":
2569
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2570
+ default:
2571
+ const parsedBody = parsedOutput.body;
2572
+ return throwDefaultError({
2573
+ output,
2574
+ parsedBody,
2575
+ errorCode
2576
+ });
2577
+ }
2578
+ }, "de_ListLicenseManagerReportGeneratorsCommandError");
2579
+ var de_ListLicensesCommand = /* @__PURE__ */ __name(async (output, context) => {
2580
+ if (output.statusCode >= 300) {
2581
+ return de_ListLicensesCommandError(output, context);
2582
+ }
2583
+ const data = await parseBody(output.body, context);
2584
+ let contents = {};
2585
+ contents = (0, import_smithy_client._json)(data);
2586
+ const response = {
2587
+ $metadata: deserializeMetadata(output),
2588
+ ...contents
2589
+ };
2590
+ return response;
2591
+ }, "de_ListLicensesCommand");
2592
+ var de_ListLicensesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2593
+ const parsedOutput = {
2594
+ ...output,
2595
+ body: await parseErrorBody(output.body, context)
2596
+ };
2597
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2598
+ switch (errorCode) {
2599
+ case "AccessDeniedException":
2600
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2601
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2602
+ case "AuthorizationException":
2603
+ case "com.amazonaws.licensemanager#AuthorizationException":
2604
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2605
+ case "InvalidParameterValueException":
2606
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2607
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2608
+ case "RateLimitExceededException":
2609
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2610
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2611
+ case "ServerInternalException":
2612
+ case "com.amazonaws.licensemanager#ServerInternalException":
2613
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2614
+ case "ValidationException":
2615
+ case "com.amazonaws.licensemanager#ValidationException":
2616
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2617
+ default:
2618
+ const parsedBody = parsedOutput.body;
2619
+ return throwDefaultError({
2620
+ output,
2621
+ parsedBody,
2622
+ errorCode
2623
+ });
2624
+ }
2625
+ }, "de_ListLicensesCommandError");
2626
+ var de_ListLicenseSpecificationsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2627
+ if (output.statusCode >= 300) {
2628
+ return de_ListLicenseSpecificationsForResourceCommandError(output, context);
2629
+ }
2630
+ const data = await parseBody(output.body, context);
2631
+ let contents = {};
2632
+ contents = (0, import_smithy_client._json)(data);
2633
+ const response = {
2634
+ $metadata: deserializeMetadata(output),
2635
+ ...contents
2636
+ };
2637
+ return response;
2638
+ }, "de_ListLicenseSpecificationsForResourceCommand");
2639
+ var de_ListLicenseSpecificationsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2640
+ const parsedOutput = {
2641
+ ...output,
2642
+ body: await parseErrorBody(output.body, context)
2643
+ };
2644
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2645
+ switch (errorCode) {
2646
+ case "AccessDeniedException":
2647
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2648
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2649
+ case "AuthorizationException":
2650
+ case "com.amazonaws.licensemanager#AuthorizationException":
2651
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2652
+ case "InvalidParameterValueException":
2653
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2654
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2655
+ case "RateLimitExceededException":
2656
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2657
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2658
+ case "ServerInternalException":
2659
+ case "com.amazonaws.licensemanager#ServerInternalException":
2660
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2661
+ default:
2662
+ const parsedBody = parsedOutput.body;
2663
+ return throwDefaultError({
2664
+ output,
2665
+ parsedBody,
2666
+ errorCode
2667
+ });
2668
+ }
2669
+ }, "de_ListLicenseSpecificationsForResourceCommandError");
2670
+ var de_ListLicenseVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
2671
+ if (output.statusCode >= 300) {
2672
+ return de_ListLicenseVersionsCommandError(output, context);
2673
+ }
2674
+ const data = await parseBody(output.body, context);
2675
+ let contents = {};
2676
+ contents = (0, import_smithy_client._json)(data);
2677
+ const response = {
2678
+ $metadata: deserializeMetadata(output),
2679
+ ...contents
2680
+ };
2681
+ return response;
2682
+ }, "de_ListLicenseVersionsCommand");
2683
+ var de_ListLicenseVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2684
+ const parsedOutput = {
2685
+ ...output,
2686
+ body: await parseErrorBody(output.body, context)
2687
+ };
2688
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2689
+ switch (errorCode) {
2690
+ case "AccessDeniedException":
2691
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2692
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2693
+ case "AuthorizationException":
2694
+ case "com.amazonaws.licensemanager#AuthorizationException":
2695
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2696
+ case "InvalidParameterValueException":
2697
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2698
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2699
+ case "RateLimitExceededException":
2700
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2701
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2702
+ case "ServerInternalException":
2703
+ case "com.amazonaws.licensemanager#ServerInternalException":
2704
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2705
+ default:
2706
+ const parsedBody = parsedOutput.body;
2707
+ return throwDefaultError({
2708
+ output,
2709
+ parsedBody,
2710
+ errorCode
2711
+ });
2712
+ }
2713
+ }, "de_ListLicenseVersionsCommandError");
2714
+ var de_ListReceivedGrantsCommand = /* @__PURE__ */ __name(async (output, context) => {
2715
+ if (output.statusCode >= 300) {
2716
+ return de_ListReceivedGrantsCommandError(output, context);
2717
+ }
2718
+ const data = await parseBody(output.body, context);
2719
+ let contents = {};
2720
+ contents = (0, import_smithy_client._json)(data);
2721
+ const response = {
2722
+ $metadata: deserializeMetadata(output),
2723
+ ...contents
2724
+ };
2725
+ return response;
2726
+ }, "de_ListReceivedGrantsCommand");
2727
+ var de_ListReceivedGrantsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2728
+ const parsedOutput = {
2729
+ ...output,
2730
+ body: await parseErrorBody(output.body, context)
2731
+ };
2732
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2733
+ switch (errorCode) {
2734
+ case "AccessDeniedException":
2735
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2736
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2737
+ case "AuthorizationException":
2738
+ case "com.amazonaws.licensemanager#AuthorizationException":
2739
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2740
+ case "InvalidParameterValueException":
2741
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2742
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2743
+ case "RateLimitExceededException":
2744
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2745
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2746
+ case "ResourceLimitExceededException":
2747
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2748
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2749
+ case "ServerInternalException":
2750
+ case "com.amazonaws.licensemanager#ServerInternalException":
2751
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2752
+ case "ValidationException":
2753
+ case "com.amazonaws.licensemanager#ValidationException":
2754
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2755
+ default:
2756
+ const parsedBody = parsedOutput.body;
2757
+ return throwDefaultError({
2758
+ output,
2759
+ parsedBody,
2760
+ errorCode
2761
+ });
2762
+ }
2763
+ }, "de_ListReceivedGrantsCommandError");
2764
+ var de_ListReceivedGrantsForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
2765
+ if (output.statusCode >= 300) {
2766
+ return de_ListReceivedGrantsForOrganizationCommandError(output, context);
2767
+ }
2768
+ const data = await parseBody(output.body, context);
2769
+ let contents = {};
2770
+ contents = (0, import_smithy_client._json)(data);
2771
+ const response = {
2772
+ $metadata: deserializeMetadata(output),
2773
+ ...contents
2774
+ };
2775
+ return response;
2776
+ }, "de_ListReceivedGrantsForOrganizationCommand");
2777
+ var de_ListReceivedGrantsForOrganizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2778
+ const parsedOutput = {
2779
+ ...output,
2780
+ body: await parseErrorBody(output.body, context)
2781
+ };
2782
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2783
+ switch (errorCode) {
2784
+ case "AccessDeniedException":
2785
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2786
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2787
+ case "AuthorizationException":
2788
+ case "com.amazonaws.licensemanager#AuthorizationException":
2789
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2790
+ case "InvalidParameterValueException":
2791
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2792
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2793
+ case "RateLimitExceededException":
2794
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2795
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2796
+ case "ResourceLimitExceededException":
2797
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2798
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2799
+ case "ServerInternalException":
2800
+ case "com.amazonaws.licensemanager#ServerInternalException":
2801
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2802
+ case "ValidationException":
2803
+ case "com.amazonaws.licensemanager#ValidationException":
2804
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2805
+ default:
2806
+ const parsedBody = parsedOutput.body;
2807
+ return throwDefaultError({
2808
+ output,
2809
+ parsedBody,
2810
+ errorCode
2811
+ });
2812
+ }
2813
+ }, "de_ListReceivedGrantsForOrganizationCommandError");
2814
+ var de_ListReceivedLicensesCommand = /* @__PURE__ */ __name(async (output, context) => {
2815
+ if (output.statusCode >= 300) {
2816
+ return de_ListReceivedLicensesCommandError(output, context);
2817
+ }
2818
+ const data = await parseBody(output.body, context);
2819
+ let contents = {};
2820
+ contents = (0, import_smithy_client._json)(data);
2821
+ const response = {
2822
+ $metadata: deserializeMetadata(output),
2823
+ ...contents
2824
+ };
2825
+ return response;
2826
+ }, "de_ListReceivedLicensesCommand");
2827
+ var de_ListReceivedLicensesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2828
+ const parsedOutput = {
2829
+ ...output,
2830
+ body: await parseErrorBody(output.body, context)
2831
+ };
2832
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2833
+ switch (errorCode) {
2834
+ case "AccessDeniedException":
2835
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2836
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2837
+ case "AuthorizationException":
2838
+ case "com.amazonaws.licensemanager#AuthorizationException":
2839
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2840
+ case "InvalidParameterValueException":
2841
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2842
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2843
+ case "RateLimitExceededException":
2844
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2845
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2846
+ case "ResourceLimitExceededException":
2847
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2848
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2849
+ case "ServerInternalException":
2850
+ case "com.amazonaws.licensemanager#ServerInternalException":
2851
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2852
+ case "ValidationException":
2853
+ case "com.amazonaws.licensemanager#ValidationException":
2854
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2855
+ default:
2856
+ const parsedBody = parsedOutput.body;
2857
+ return throwDefaultError({
2858
+ output,
2859
+ parsedBody,
2860
+ errorCode
2861
+ });
2862
+ }
2863
+ }, "de_ListReceivedLicensesCommandError");
2864
+ var de_ListReceivedLicensesForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
2865
+ if (output.statusCode >= 300) {
2866
+ return de_ListReceivedLicensesForOrganizationCommandError(output, context);
2867
+ }
2868
+ const data = await parseBody(output.body, context);
2869
+ let contents = {};
2870
+ contents = (0, import_smithy_client._json)(data);
2871
+ const response = {
2872
+ $metadata: deserializeMetadata(output),
2873
+ ...contents
2874
+ };
2875
+ return response;
2876
+ }, "de_ListReceivedLicensesForOrganizationCommand");
2877
+ var de_ListReceivedLicensesForOrganizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2878
+ const parsedOutput = {
2879
+ ...output,
2880
+ body: await parseErrorBody(output.body, context)
2881
+ };
2882
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2883
+ switch (errorCode) {
2884
+ case "AccessDeniedException":
2885
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2886
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2887
+ case "AuthorizationException":
2888
+ case "com.amazonaws.licensemanager#AuthorizationException":
2889
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2890
+ case "InvalidParameterValueException":
2891
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2892
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2893
+ case "RateLimitExceededException":
2894
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2895
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2896
+ case "ResourceLimitExceededException":
2897
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
2898
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
2899
+ case "ServerInternalException":
2900
+ case "com.amazonaws.licensemanager#ServerInternalException":
2901
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2902
+ case "ValidationException":
2903
+ case "com.amazonaws.licensemanager#ValidationException":
2904
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2905
+ default:
2906
+ const parsedBody = parsedOutput.body;
2907
+ return throwDefaultError({
2908
+ output,
2909
+ parsedBody,
2910
+ errorCode
2911
+ });
2912
+ }
2913
+ }, "de_ListReceivedLicensesForOrganizationCommandError");
2914
+ var de_ListResourceInventoryCommand = /* @__PURE__ */ __name(async (output, context) => {
2915
+ if (output.statusCode >= 300) {
2916
+ return de_ListResourceInventoryCommandError(output, context);
2917
+ }
2918
+ const data = await parseBody(output.body, context);
2919
+ let contents = {};
2920
+ contents = (0, import_smithy_client._json)(data);
2921
+ const response = {
2922
+ $metadata: deserializeMetadata(output),
2923
+ ...contents
2924
+ };
2925
+ return response;
2926
+ }, "de_ListResourceInventoryCommand");
2927
+ var de_ListResourceInventoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
2928
+ const parsedOutput = {
2929
+ ...output,
2930
+ body: await parseErrorBody(output.body, context)
2931
+ };
2932
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2933
+ switch (errorCode) {
2934
+ case "AccessDeniedException":
2935
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2936
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2937
+ case "AuthorizationException":
2938
+ case "com.amazonaws.licensemanager#AuthorizationException":
2939
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2940
+ case "FailedDependencyException":
2941
+ case "com.amazonaws.licensemanager#FailedDependencyException":
2942
+ throw await de_FailedDependencyExceptionRes(parsedOutput, context);
2943
+ case "FilterLimitExceededException":
2944
+ case "com.amazonaws.licensemanager#FilterLimitExceededException":
2945
+ throw await de_FilterLimitExceededExceptionRes(parsedOutput, context);
2946
+ case "InvalidParameterValueException":
2947
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2948
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2949
+ case "RateLimitExceededException":
2950
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2951
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2952
+ case "ServerInternalException":
2953
+ case "com.amazonaws.licensemanager#ServerInternalException":
2954
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2955
+ default:
2956
+ const parsedBody = parsedOutput.body;
2957
+ return throwDefaultError({
2958
+ output,
2959
+ parsedBody,
2960
+ errorCode
2961
+ });
2962
+ }
2963
+ }, "de_ListResourceInventoryCommandError");
2964
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2965
+ if (output.statusCode >= 300) {
2966
+ return de_ListTagsForResourceCommandError(output, context);
2967
+ }
2968
+ const data = await parseBody(output.body, context);
2969
+ let contents = {};
2970
+ contents = (0, import_smithy_client._json)(data);
2971
+ const response = {
2972
+ $metadata: deserializeMetadata(output),
2973
+ ...contents
2974
+ };
2975
+ return response;
2976
+ }, "de_ListTagsForResourceCommand");
2977
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2978
+ const parsedOutput = {
2979
+ ...output,
2980
+ body: await parseErrorBody(output.body, context)
2981
+ };
2982
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2983
+ switch (errorCode) {
2984
+ case "AccessDeniedException":
2985
+ case "com.amazonaws.licensemanager#AccessDeniedException":
2986
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2987
+ case "AuthorizationException":
2988
+ case "com.amazonaws.licensemanager#AuthorizationException":
2989
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
2990
+ case "InvalidParameterValueException":
2991
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
2992
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
2993
+ case "RateLimitExceededException":
2994
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
2995
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
2996
+ case "ServerInternalException":
2997
+ case "com.amazonaws.licensemanager#ServerInternalException":
2998
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
2999
+ default:
3000
+ const parsedBody = parsedOutput.body;
3001
+ return throwDefaultError({
3002
+ output,
3003
+ parsedBody,
3004
+ errorCode
3005
+ });
3006
+ }
3007
+ }, "de_ListTagsForResourceCommandError");
3008
+ var de_ListTokensCommand = /* @__PURE__ */ __name(async (output, context) => {
3009
+ if (output.statusCode >= 300) {
3010
+ return de_ListTokensCommandError(output, context);
3011
+ }
3012
+ const data = await parseBody(output.body, context);
3013
+ let contents = {};
3014
+ contents = (0, import_smithy_client._json)(data);
3015
+ const response = {
3016
+ $metadata: deserializeMetadata(output),
3017
+ ...contents
3018
+ };
3019
+ return response;
3020
+ }, "de_ListTokensCommand");
3021
+ var de_ListTokensCommandError = /* @__PURE__ */ __name(async (output, context) => {
3022
+ const parsedOutput = {
3023
+ ...output,
3024
+ body: await parseErrorBody(output.body, context)
3025
+ };
3026
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3027
+ switch (errorCode) {
3028
+ case "AccessDeniedException":
3029
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3030
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3031
+ case "AuthorizationException":
3032
+ case "com.amazonaws.licensemanager#AuthorizationException":
3033
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3034
+ case "RateLimitExceededException":
3035
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3036
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3037
+ case "ServerInternalException":
3038
+ case "com.amazonaws.licensemanager#ServerInternalException":
3039
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3040
+ case "ValidationException":
3041
+ case "com.amazonaws.licensemanager#ValidationException":
3042
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3043
+ default:
3044
+ const parsedBody = parsedOutput.body;
3045
+ return throwDefaultError({
3046
+ output,
3047
+ parsedBody,
3048
+ errorCode
3049
+ });
3050
+ }
3051
+ }, "de_ListTokensCommandError");
3052
+ var de_ListUsageForLicenseConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
3053
+ if (output.statusCode >= 300) {
3054
+ return de_ListUsageForLicenseConfigurationCommandError(output, context);
3055
+ }
3056
+ const data = await parseBody(output.body, context);
3057
+ let contents = {};
3058
+ contents = de_ListUsageForLicenseConfigurationResponse(data, context);
3059
+ const response = {
3060
+ $metadata: deserializeMetadata(output),
3061
+ ...contents
3062
+ };
3063
+ return response;
3064
+ }, "de_ListUsageForLicenseConfigurationCommand");
3065
+ var de_ListUsageForLicenseConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
3066
+ const parsedOutput = {
3067
+ ...output,
3068
+ body: await parseErrorBody(output.body, context)
3069
+ };
3070
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3071
+ switch (errorCode) {
3072
+ case "AccessDeniedException":
3073
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3074
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3075
+ case "AuthorizationException":
3076
+ case "com.amazonaws.licensemanager#AuthorizationException":
3077
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3078
+ case "FilterLimitExceededException":
3079
+ case "com.amazonaws.licensemanager#FilterLimitExceededException":
3080
+ throw await de_FilterLimitExceededExceptionRes(parsedOutput, context);
3081
+ case "InvalidParameterValueException":
3082
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3083
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3084
+ case "RateLimitExceededException":
3085
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3086
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3087
+ case "ServerInternalException":
3088
+ case "com.amazonaws.licensemanager#ServerInternalException":
3089
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3090
+ default:
3091
+ const parsedBody = parsedOutput.body;
3092
+ return throwDefaultError({
3093
+ output,
3094
+ parsedBody,
3095
+ errorCode
3096
+ });
3097
+ }
3098
+ }, "de_ListUsageForLicenseConfigurationCommandError");
3099
+ var de_RejectGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
3100
+ if (output.statusCode >= 300) {
3101
+ return de_RejectGrantCommandError(output, context);
3102
+ }
3103
+ const data = await parseBody(output.body, context);
3104
+ let contents = {};
3105
+ contents = (0, import_smithy_client._json)(data);
3106
+ const response = {
3107
+ $metadata: deserializeMetadata(output),
3108
+ ...contents
3109
+ };
3110
+ return response;
3111
+ }, "de_RejectGrantCommand");
3112
+ var de_RejectGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
3113
+ const parsedOutput = {
3114
+ ...output,
3115
+ body: await parseErrorBody(output.body, context)
3116
+ };
3117
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3118
+ switch (errorCode) {
3119
+ case "AccessDeniedException":
3120
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3121
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3122
+ case "AuthorizationException":
3123
+ case "com.amazonaws.licensemanager#AuthorizationException":
3124
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3125
+ case "InvalidParameterValueException":
3126
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3127
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3128
+ case "RateLimitExceededException":
3129
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3130
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3131
+ case "ResourceLimitExceededException":
3132
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
3133
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
3134
+ case "ServerInternalException":
3135
+ case "com.amazonaws.licensemanager#ServerInternalException":
3136
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3137
+ case "ValidationException":
3138
+ case "com.amazonaws.licensemanager#ValidationException":
3139
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3140
+ default:
3141
+ const parsedBody = parsedOutput.body;
3142
+ return throwDefaultError({
3143
+ output,
3144
+ parsedBody,
3145
+ errorCode
3146
+ });
3147
+ }
3148
+ }, "de_RejectGrantCommandError");
3149
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
3150
+ if (output.statusCode >= 300) {
3151
+ return de_TagResourceCommandError(output, context);
3152
+ }
3153
+ const data = await parseBody(output.body, context);
3154
+ let contents = {};
3155
+ contents = (0, import_smithy_client._json)(data);
3156
+ const response = {
3157
+ $metadata: deserializeMetadata(output),
3158
+ ...contents
3159
+ };
3160
+ return response;
3161
+ }, "de_TagResourceCommand");
3162
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
3163
+ const parsedOutput = {
3164
+ ...output,
3165
+ body: await parseErrorBody(output.body, context)
3166
+ };
3167
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3168
+ switch (errorCode) {
3169
+ case "AccessDeniedException":
3170
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3171
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3172
+ case "AuthorizationException":
3173
+ case "com.amazonaws.licensemanager#AuthorizationException":
3174
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3175
+ case "InvalidParameterValueException":
3176
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3177
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3178
+ case "RateLimitExceededException":
3179
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3180
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3181
+ case "ServerInternalException":
3182
+ case "com.amazonaws.licensemanager#ServerInternalException":
3183
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3184
+ default:
3185
+ const parsedBody = parsedOutput.body;
3186
+ return throwDefaultError({
3187
+ output,
3188
+ parsedBody,
3189
+ errorCode
3190
+ });
3191
+ }
3192
+ }, "de_TagResourceCommandError");
3193
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
3194
+ if (output.statusCode >= 300) {
3195
+ return de_UntagResourceCommandError(output, context);
3196
+ }
3197
+ const data = await parseBody(output.body, context);
3198
+ let contents = {};
3199
+ contents = (0, import_smithy_client._json)(data);
3200
+ const response = {
3201
+ $metadata: deserializeMetadata(output),
3202
+ ...contents
3203
+ };
3204
+ return response;
3205
+ }, "de_UntagResourceCommand");
3206
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
3207
+ const parsedOutput = {
3208
+ ...output,
3209
+ body: await parseErrorBody(output.body, context)
3210
+ };
3211
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3212
+ switch (errorCode) {
3213
+ case "AccessDeniedException":
3214
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3215
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3216
+ case "AuthorizationException":
3217
+ case "com.amazonaws.licensemanager#AuthorizationException":
3218
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3219
+ case "InvalidParameterValueException":
3220
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3221
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3222
+ case "RateLimitExceededException":
3223
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3224
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3225
+ case "ServerInternalException":
3226
+ case "com.amazonaws.licensemanager#ServerInternalException":
3227
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3228
+ default:
3229
+ const parsedBody = parsedOutput.body;
3230
+ return throwDefaultError({
3231
+ output,
3232
+ parsedBody,
3233
+ errorCode
3234
+ });
3235
+ }
3236
+ }, "de_UntagResourceCommandError");
3237
+ var de_UpdateLicenseConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
3238
+ if (output.statusCode >= 300) {
3239
+ return de_UpdateLicenseConfigurationCommandError(output, context);
3240
+ }
3241
+ const data = await parseBody(output.body, context);
3242
+ let contents = {};
3243
+ contents = (0, import_smithy_client._json)(data);
3244
+ const response = {
3245
+ $metadata: deserializeMetadata(output),
3246
+ ...contents
3247
+ };
3248
+ return response;
3249
+ }, "de_UpdateLicenseConfigurationCommand");
3250
+ var de_UpdateLicenseConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
3251
+ const parsedOutput = {
3252
+ ...output,
3253
+ body: await parseErrorBody(output.body, context)
3254
+ };
3255
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3256
+ switch (errorCode) {
3257
+ case "AccessDeniedException":
3258
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3259
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3260
+ case "AuthorizationException":
3261
+ case "com.amazonaws.licensemanager#AuthorizationException":
3262
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3263
+ case "InvalidParameterValueException":
3264
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3265
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3266
+ case "RateLimitExceededException":
3267
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3268
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3269
+ case "ResourceLimitExceededException":
3270
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
3271
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
3272
+ case "ServerInternalException":
3273
+ case "com.amazonaws.licensemanager#ServerInternalException":
3274
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3275
+ default:
3276
+ const parsedBody = parsedOutput.body;
3277
+ return throwDefaultError({
3278
+ output,
3279
+ parsedBody,
3280
+ errorCode
3281
+ });
3282
+ }
3283
+ }, "de_UpdateLicenseConfigurationCommandError");
3284
+ var de_UpdateLicenseManagerReportGeneratorCommand = /* @__PURE__ */ __name(async (output, context) => {
3285
+ if (output.statusCode >= 300) {
3286
+ return de_UpdateLicenseManagerReportGeneratorCommandError(output, context);
3287
+ }
3288
+ const data = await parseBody(output.body, context);
3289
+ let contents = {};
3290
+ contents = (0, import_smithy_client._json)(data);
3291
+ const response = {
3292
+ $metadata: deserializeMetadata(output),
3293
+ ...contents
3294
+ };
3295
+ return response;
3296
+ }, "de_UpdateLicenseManagerReportGeneratorCommand");
3297
+ var de_UpdateLicenseManagerReportGeneratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
3298
+ const parsedOutput = {
3299
+ ...output,
3300
+ body: await parseErrorBody(output.body, context)
3301
+ };
3302
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3303
+ switch (errorCode) {
3304
+ case "AccessDeniedException":
3305
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3306
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3307
+ case "AuthorizationException":
3308
+ case "com.amazonaws.licensemanager#AuthorizationException":
3309
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3310
+ case "InvalidParameterValueException":
3311
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3312
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3313
+ case "RateLimitExceededException":
3314
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3315
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3316
+ case "ResourceLimitExceededException":
3317
+ case "com.amazonaws.licensemanager#ResourceLimitExceededException":
3318
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
3319
+ case "ResourceNotFoundException":
3320
+ case "com.amazonaws.licensemanager#ResourceNotFoundException":
3321
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3322
+ case "ServerInternalException":
3323
+ case "com.amazonaws.licensemanager#ServerInternalException":
3324
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3325
+ case "ValidationException":
3326
+ case "com.amazonaws.licensemanager#ValidationException":
3327
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3328
+ default:
3329
+ const parsedBody = parsedOutput.body;
3330
+ return throwDefaultError({
3331
+ output,
3332
+ parsedBody,
3333
+ errorCode
3334
+ });
3335
+ }
3336
+ }, "de_UpdateLicenseManagerReportGeneratorCommandError");
3337
+ var de_UpdateLicenseSpecificationsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
3338
+ if (output.statusCode >= 300) {
3339
+ return de_UpdateLicenseSpecificationsForResourceCommandError(output, context);
3340
+ }
3341
+ const data = await parseBody(output.body, context);
3342
+ let contents = {};
3343
+ contents = (0, import_smithy_client._json)(data);
3344
+ const response = {
3345
+ $metadata: deserializeMetadata(output),
3346
+ ...contents
3347
+ };
3348
+ return response;
3349
+ }, "de_UpdateLicenseSpecificationsForResourceCommand");
3350
+ var de_UpdateLicenseSpecificationsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
3351
+ const parsedOutput = {
3352
+ ...output,
3353
+ body: await parseErrorBody(output.body, context)
3354
+ };
3355
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3356
+ switch (errorCode) {
3357
+ case "AccessDeniedException":
3358
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3359
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3360
+ case "AuthorizationException":
3361
+ case "com.amazonaws.licensemanager#AuthorizationException":
3362
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3363
+ case "InvalidParameterValueException":
3364
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3365
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3366
+ case "InvalidResourceStateException":
3367
+ case "com.amazonaws.licensemanager#InvalidResourceStateException":
3368
+ throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
3369
+ case "LicenseUsageException":
3370
+ case "com.amazonaws.licensemanager#LicenseUsageException":
3371
+ throw await de_LicenseUsageExceptionRes(parsedOutput, context);
3372
+ case "RateLimitExceededException":
3373
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3374
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3375
+ case "ServerInternalException":
3376
+ case "com.amazonaws.licensemanager#ServerInternalException":
3377
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3378
+ default:
3379
+ const parsedBody = parsedOutput.body;
3380
+ return throwDefaultError({
3381
+ output,
3382
+ parsedBody,
3383
+ errorCode
3384
+ });
3385
+ }
3386
+ }, "de_UpdateLicenseSpecificationsForResourceCommandError");
3387
+ var de_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
3388
+ if (output.statusCode >= 300) {
3389
+ return de_UpdateServiceSettingsCommandError(output, context);
3390
+ }
3391
+ const data = await parseBody(output.body, context);
3392
+ let contents = {};
3393
+ contents = (0, import_smithy_client._json)(data);
3394
+ const response = {
3395
+ $metadata: deserializeMetadata(output),
3396
+ ...contents
3397
+ };
3398
+ return response;
3399
+ }, "de_UpdateServiceSettingsCommand");
3400
+ var de_UpdateServiceSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3401
+ const parsedOutput = {
3402
+ ...output,
3403
+ body: await parseErrorBody(output.body, context)
3404
+ };
3405
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3406
+ switch (errorCode) {
3407
+ case "AccessDeniedException":
3408
+ case "com.amazonaws.licensemanager#AccessDeniedException":
3409
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3410
+ case "AuthorizationException":
3411
+ case "com.amazonaws.licensemanager#AuthorizationException":
3412
+ throw await de_AuthorizationExceptionRes(parsedOutput, context);
3413
+ case "InvalidParameterValueException":
3414
+ case "com.amazonaws.licensemanager#InvalidParameterValueException":
3415
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3416
+ case "RateLimitExceededException":
3417
+ case "com.amazonaws.licensemanager#RateLimitExceededException":
3418
+ throw await de_RateLimitExceededExceptionRes(parsedOutput, context);
3419
+ case "ServerInternalException":
3420
+ case "com.amazonaws.licensemanager#ServerInternalException":
3421
+ throw await de_ServerInternalExceptionRes(parsedOutput, context);
3422
+ default:
3423
+ const parsedBody = parsedOutput.body;
3424
+ return throwDefaultError({
3425
+ output,
3426
+ parsedBody,
3427
+ errorCode
3428
+ });
3429
+ }
3430
+ }, "de_UpdateServiceSettingsCommandError");
3431
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3432
+ const body = parsedOutput.body;
3433
+ const deserialized = (0, import_smithy_client._json)(body);
3434
+ const exception = new AccessDeniedException({
3435
+ $metadata: deserializeMetadata(parsedOutput),
3436
+ ...deserialized
3437
+ });
3438
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3439
+ }, "de_AccessDeniedExceptionRes");
3440
+ var de_AuthorizationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3441
+ const body = parsedOutput.body;
3442
+ const deserialized = (0, import_smithy_client._json)(body);
3443
+ const exception = new AuthorizationException({
3444
+ $metadata: deserializeMetadata(parsedOutput),
3445
+ ...deserialized
3446
+ });
3447
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3448
+ }, "de_AuthorizationExceptionRes");
3449
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3450
+ const body = parsedOutput.body;
3451
+ const deserialized = (0, import_smithy_client._json)(body);
3452
+ const exception = new ConflictException({
3453
+ $metadata: deserializeMetadata(parsedOutput),
3454
+ ...deserialized
3455
+ });
3456
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3457
+ }, "de_ConflictExceptionRes");
3458
+ var de_EntitlementNotAllowedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3459
+ const body = parsedOutput.body;
3460
+ const deserialized = (0, import_smithy_client._json)(body);
3461
+ const exception = new EntitlementNotAllowedException({
3462
+ $metadata: deserializeMetadata(parsedOutput),
3463
+ ...deserialized
3464
+ });
3465
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3466
+ }, "de_EntitlementNotAllowedExceptionRes");
3467
+ var de_FailedDependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3468
+ const body = parsedOutput.body;
3469
+ const deserialized = (0, import_smithy_client._json)(body);
3470
+ const exception = new FailedDependencyException({
3471
+ $metadata: deserializeMetadata(parsedOutput),
3472
+ ...deserialized
3473
+ });
3474
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3475
+ }, "de_FailedDependencyExceptionRes");
3476
+ var de_FilterLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3477
+ const body = parsedOutput.body;
3478
+ const deserialized = (0, import_smithy_client._json)(body);
3479
+ const exception = new FilterLimitExceededException({
3480
+ $metadata: deserializeMetadata(parsedOutput),
3481
+ ...deserialized
3482
+ });
3483
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3484
+ }, "de_FilterLimitExceededExceptionRes");
3485
+ var de_InvalidParameterValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3486
+ const body = parsedOutput.body;
3487
+ const deserialized = (0, import_smithy_client._json)(body);
3488
+ const exception = new InvalidParameterValueException({
3489
+ $metadata: deserializeMetadata(parsedOutput),
3490
+ ...deserialized
3491
+ });
3492
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3493
+ }, "de_InvalidParameterValueExceptionRes");
3494
+ var de_InvalidResourceStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3495
+ const body = parsedOutput.body;
3496
+ const deserialized = (0, import_smithy_client._json)(body);
3497
+ const exception = new InvalidResourceStateException({
3498
+ $metadata: deserializeMetadata(parsedOutput),
3499
+ ...deserialized
3500
+ });
3501
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3502
+ }, "de_InvalidResourceStateExceptionRes");
3503
+ var de_LicenseUsageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3504
+ const body = parsedOutput.body;
3505
+ const deserialized = (0, import_smithy_client._json)(body);
3506
+ const exception = new LicenseUsageException({
3507
+ $metadata: deserializeMetadata(parsedOutput),
3508
+ ...deserialized
3509
+ });
3510
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3511
+ }, "de_LicenseUsageExceptionRes");
3512
+ var de_NoEntitlementsAllowedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3513
+ const body = parsedOutput.body;
3514
+ const deserialized = (0, import_smithy_client._json)(body);
3515
+ const exception = new NoEntitlementsAllowedException({
3516
+ $metadata: deserializeMetadata(parsedOutput),
3517
+ ...deserialized
3518
+ });
3519
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3520
+ }, "de_NoEntitlementsAllowedExceptionRes");
3521
+ var de_RateLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3522
+ const body = parsedOutput.body;
3523
+ const deserialized = (0, import_smithy_client._json)(body);
3524
+ const exception = new RateLimitExceededException({
3525
+ $metadata: deserializeMetadata(parsedOutput),
3526
+ ...deserialized
3527
+ });
3528
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3529
+ }, "de_RateLimitExceededExceptionRes");
3530
+ var de_RedirectExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3531
+ const body = parsedOutput.body;
3532
+ const deserialized = (0, import_smithy_client._json)(body);
3533
+ const exception = new RedirectException({
3534
+ $metadata: deserializeMetadata(parsedOutput),
3535
+ ...deserialized
3536
+ });
3537
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3538
+ }, "de_RedirectExceptionRes");
3539
+ var de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3540
+ const body = parsedOutput.body;
3541
+ const deserialized = (0, import_smithy_client._json)(body);
3542
+ const exception = new ResourceLimitExceededException({
3543
+ $metadata: deserializeMetadata(parsedOutput),
3544
+ ...deserialized
3545
+ });
3546
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3547
+ }, "de_ResourceLimitExceededExceptionRes");
3548
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3549
+ const body = parsedOutput.body;
3550
+ const deserialized = (0, import_smithy_client._json)(body);
3551
+ const exception = new ResourceNotFoundException({
3552
+ $metadata: deserializeMetadata(parsedOutput),
3553
+ ...deserialized
3554
+ });
3555
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3556
+ }, "de_ResourceNotFoundExceptionRes");
3557
+ var de_ServerInternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3558
+ const body = parsedOutput.body;
3559
+ const deserialized = (0, import_smithy_client._json)(body);
3560
+ const exception = new ServerInternalException({
3561
+ $metadata: deserializeMetadata(parsedOutput),
3562
+ ...deserialized
3563
+ });
3564
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3565
+ }, "de_ServerInternalExceptionRes");
3566
+ var de_UnsupportedDigitalSignatureMethodExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3567
+ const body = parsedOutput.body;
3568
+ const deserialized = (0, import_smithy_client._json)(body);
3569
+ const exception = new UnsupportedDigitalSignatureMethodException({
3570
+ $metadata: deserializeMetadata(parsedOutput),
3571
+ ...deserialized
3572
+ });
3573
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3574
+ }, "de_UnsupportedDigitalSignatureMethodExceptionRes");
3575
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3576
+ const body = parsedOutput.body;
3577
+ const deserialized = (0, import_smithy_client._json)(body);
3578
+ const exception = new ValidationException({
3579
+ $metadata: deserializeMetadata(parsedOutput),
3580
+ ...deserialized
3581
+ });
3582
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3583
+ }, "de_ValidationExceptionRes");
3584
+ var de_AutomatedDiscoveryInformation = /* @__PURE__ */ __name((output, context) => {
3585
+ return (0, import_smithy_client.take)(output, {
3586
+ LastRunTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3587
+ });
3588
+ }, "de_AutomatedDiscoveryInformation");
3589
+ var de_GetLicenseConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
3590
+ return (0, import_smithy_client.take)(output, {
3591
+ AutomatedDiscoveryInformation: (_) => de_AutomatedDiscoveryInformation(_, context),
3592
+ ConsumedLicenseSummaryList: import_smithy_client._json,
3593
+ ConsumedLicenses: import_smithy_client.expectLong,
3594
+ Description: import_smithy_client.expectString,
3595
+ DisassociateWhenNotFound: import_smithy_client.expectBoolean,
3596
+ LicenseConfigurationArn: import_smithy_client.expectString,
3597
+ LicenseConfigurationId: import_smithy_client.expectString,
3598
+ LicenseCount: import_smithy_client.expectLong,
3599
+ LicenseCountHardLimit: import_smithy_client.expectBoolean,
3600
+ LicenseCountingType: import_smithy_client.expectString,
3601
+ LicenseRules: import_smithy_client._json,
3602
+ ManagedResourceSummaryList: import_smithy_client._json,
3603
+ Name: import_smithy_client.expectString,
3604
+ OwnerAccountId: import_smithy_client.expectString,
3605
+ ProductInformationList: import_smithy_client._json,
3606
+ Status: import_smithy_client.expectString,
3607
+ Tags: import_smithy_client._json
3608
+ });
3609
+ }, "de_GetLicenseConfigurationResponse");
3610
+ var de_GetLicenseConversionTaskResponse = /* @__PURE__ */ __name((output, context) => {
3611
+ return (0, import_smithy_client.take)(output, {
3612
+ DestinationLicenseContext: import_smithy_client._json,
3613
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3614
+ LicenseConversionTaskId: import_smithy_client.expectString,
3615
+ LicenseConversionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3616
+ ResourceArn: import_smithy_client.expectString,
3617
+ SourceLicenseContext: import_smithy_client._json,
3618
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3619
+ Status: import_smithy_client.expectString,
3620
+ StatusMessage: import_smithy_client.expectString
3621
+ });
3622
+ }, "de_GetLicenseConversionTaskResponse");
3623
+ var de_LicenseConfiguration = /* @__PURE__ */ __name((output, context) => {
3624
+ return (0, import_smithy_client.take)(output, {
3625
+ AutomatedDiscoveryInformation: (_) => de_AutomatedDiscoveryInformation(_, context),
3626
+ ConsumedLicenseSummaryList: import_smithy_client._json,
3627
+ ConsumedLicenses: import_smithy_client.expectLong,
3628
+ Description: import_smithy_client.expectString,
3629
+ DisassociateWhenNotFound: import_smithy_client.expectBoolean,
3630
+ LicenseConfigurationArn: import_smithy_client.expectString,
3631
+ LicenseConfigurationId: import_smithy_client.expectString,
3632
+ LicenseCount: import_smithy_client.expectLong,
3633
+ LicenseCountHardLimit: import_smithy_client.expectBoolean,
3634
+ LicenseCountingType: import_smithy_client.expectString,
3635
+ LicenseRules: import_smithy_client._json,
3636
+ ManagedResourceSummaryList: import_smithy_client._json,
3637
+ Name: import_smithy_client.expectString,
3638
+ OwnerAccountId: import_smithy_client.expectString,
3639
+ ProductInformationList: import_smithy_client._json,
3640
+ Status: import_smithy_client.expectString
3641
+ });
3642
+ }, "de_LicenseConfiguration");
3643
+ var de_LicenseConfigurationAssociation = /* @__PURE__ */ __name((output, context) => {
3644
+ return (0, import_smithy_client.take)(output, {
3645
+ AmiAssociationScope: import_smithy_client.expectString,
3646
+ AssociationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3647
+ ResourceArn: import_smithy_client.expectString,
3648
+ ResourceOwnerId: import_smithy_client.expectString,
3649
+ ResourceType: import_smithy_client.expectString
3650
+ });
3651
+ }, "de_LicenseConfigurationAssociation");
3652
+ var de_LicenseConfigurationAssociations = /* @__PURE__ */ __name((output, context) => {
3653
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3654
+ return de_LicenseConfigurationAssociation(entry, context);
3655
+ });
3656
+ return retVal;
3657
+ }, "de_LicenseConfigurationAssociations");
3658
+ var de_LicenseConfigurations = /* @__PURE__ */ __name((output, context) => {
3659
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3660
+ return de_LicenseConfiguration(entry, context);
3661
+ });
3662
+ return retVal;
3663
+ }, "de_LicenseConfigurations");
3664
+ var de_LicenseConfigurationUsage = /* @__PURE__ */ __name((output, context) => {
3665
+ return (0, import_smithy_client.take)(output, {
3666
+ AssociationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3667
+ ConsumedLicenses: import_smithy_client.expectLong,
3668
+ ResourceArn: import_smithy_client.expectString,
3669
+ ResourceOwnerId: import_smithy_client.expectString,
3670
+ ResourceStatus: import_smithy_client.expectString,
3671
+ ResourceType: import_smithy_client.expectString
3672
+ });
3673
+ }, "de_LicenseConfigurationUsage");
3674
+ var de_LicenseConfigurationUsageList = /* @__PURE__ */ __name((output, context) => {
3675
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3676
+ return de_LicenseConfigurationUsage(entry, context);
3677
+ });
3678
+ return retVal;
3679
+ }, "de_LicenseConfigurationUsageList");
3680
+ var de_LicenseConversionTask = /* @__PURE__ */ __name((output, context) => {
3681
+ return (0, import_smithy_client.take)(output, {
3682
+ DestinationLicenseContext: import_smithy_client._json,
3683
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3684
+ LicenseConversionTaskId: import_smithy_client.expectString,
3685
+ LicenseConversionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3686
+ ResourceArn: import_smithy_client.expectString,
3687
+ SourceLicenseContext: import_smithy_client._json,
3688
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3689
+ Status: import_smithy_client.expectString,
3690
+ StatusMessage: import_smithy_client.expectString
3691
+ });
3692
+ }, "de_LicenseConversionTask");
3693
+ var de_LicenseConversionTasks = /* @__PURE__ */ __name((output, context) => {
3694
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3695
+ return de_LicenseConversionTask(entry, context);
3696
+ });
3697
+ return retVal;
3698
+ }, "de_LicenseConversionTasks");
3699
+ var de_LicenseOperationFailure = /* @__PURE__ */ __name((output, context) => {
3700
+ return (0, import_smithy_client.take)(output, {
3701
+ ErrorMessage: import_smithy_client.expectString,
3702
+ FailureTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3703
+ MetadataList: import_smithy_client._json,
3704
+ OperationName: import_smithy_client.expectString,
3705
+ OperationRequestedBy: import_smithy_client.expectString,
3706
+ ResourceArn: import_smithy_client.expectString,
3707
+ ResourceOwnerId: import_smithy_client.expectString,
3708
+ ResourceType: import_smithy_client.expectString
3709
+ });
3710
+ }, "de_LicenseOperationFailure");
3711
+ var de_LicenseOperationFailureList = /* @__PURE__ */ __name((output, context) => {
3712
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3713
+ return de_LicenseOperationFailure(entry, context);
3714
+ });
3715
+ return retVal;
3716
+ }, "de_LicenseOperationFailureList");
3717
+ var de_ListAssociationsForLicenseConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
3718
+ return (0, import_smithy_client.take)(output, {
3719
+ LicenseConfigurationAssociations: (_) => de_LicenseConfigurationAssociations(_, context),
3720
+ NextToken: import_smithy_client.expectString
3721
+ });
3722
+ }, "de_ListAssociationsForLicenseConfigurationResponse");
3723
+ var de_ListFailuresForLicenseConfigurationOperationsResponse = /* @__PURE__ */ __name((output, context) => {
3724
+ return (0, import_smithy_client.take)(output, {
3725
+ LicenseOperationFailureList: (_) => de_LicenseOperationFailureList(_, context),
3726
+ NextToken: import_smithy_client.expectString
3727
+ });
3728
+ }, "de_ListFailuresForLicenseConfigurationOperationsResponse");
3729
+ var de_ListLicenseConfigurationsResponse = /* @__PURE__ */ __name((output, context) => {
3730
+ return (0, import_smithy_client.take)(output, {
3731
+ LicenseConfigurations: (_) => de_LicenseConfigurations(_, context),
3732
+ NextToken: import_smithy_client.expectString
3733
+ });
3734
+ }, "de_ListLicenseConfigurationsResponse");
3735
+ var de_ListLicenseConversionTasksResponse = /* @__PURE__ */ __name((output, context) => {
3736
+ return (0, import_smithy_client.take)(output, {
3737
+ LicenseConversionTasks: (_) => de_LicenseConversionTasks(_, context),
3738
+ NextToken: import_smithy_client.expectString
3739
+ });
3740
+ }, "de_ListLicenseConversionTasksResponse");
3741
+ var de_ListUsageForLicenseConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
3742
+ return (0, import_smithy_client.take)(output, {
3743
+ LicenseConfigurationUsageList: (_) => de_LicenseConfigurationUsageList(_, context),
3744
+ NextToken: import_smithy_client.expectString
3745
+ });
3746
+ }, "de_ListUsageForLicenseConfigurationResponse");
3747
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3748
+ httpStatusCode: output.statusCode,
3749
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3750
+ extendedRequestId: output.headers["x-amz-id-2"],
3751
+ cfId: output.headers["x-amz-cf-id"]
3752
+ }), "deserializeMetadata");
3753
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
3754
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(LicenseManagerServiceException);
3755
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
3756
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3757
+ const contents = {
3758
+ protocol,
3759
+ hostname,
3760
+ port,
3761
+ method: "POST",
3762
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
3763
+ headers
3764
+ };
3765
+ if (resolvedHostname !== void 0) {
3766
+ contents.hostname = resolvedHostname;
3767
+ }
3768
+ if (body !== void 0) {
3769
+ contents.body = body;
3770
+ }
3771
+ return new import_protocol_http.HttpRequest(contents);
3772
+ }, "buildHttpRpcRequest");
3773
+ function sharedHeaders(operation) {
3774
+ return {
3775
+ "content-type": "application/x-amz-json-1.1",
3776
+ "x-amz-target": `AWSLicenseManager.${operation}`
3777
+ };
3778
+ }
3779
+ __name(sharedHeaders, "sharedHeaders");
3780
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3781
+ if (encoded.length) {
3782
+ return JSON.parse(encoded);
3783
+ }
3784
+ return {};
3785
+ }), "parseBody");
3786
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
3787
+ const value = await parseBody(errorBody, context);
3788
+ value.message = value.message ?? value.Message;
3789
+ return value;
3790
+ }, "parseErrorBody");
3791
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
3792
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
3793
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
3794
+ let cleanValue = rawValue;
3795
+ if (typeof cleanValue === "number") {
3796
+ cleanValue = cleanValue.toString();
3797
+ }
3798
+ if (cleanValue.indexOf(",") >= 0) {
3799
+ cleanValue = cleanValue.split(",")[0];
3800
+ }
3801
+ if (cleanValue.indexOf(":") >= 0) {
3802
+ cleanValue = cleanValue.split(":")[0];
3803
+ }
3804
+ if (cleanValue.indexOf("#") >= 0) {
3805
+ cleanValue = cleanValue.split("#")[1];
3806
+ }
3807
+ return cleanValue;
3808
+ }, "sanitizeErrorCode");
3809
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
3810
+ if (headerKey !== void 0) {
3811
+ return sanitizeErrorCode(output.headers[headerKey]);
3812
+ }
3813
+ if (data.code !== void 0) {
3814
+ return sanitizeErrorCode(data.code);
3815
+ }
3816
+ if (data["__type"] !== void 0) {
3817
+ return sanitizeErrorCode(data["__type"]);
3818
+ }
3819
+ }, "loadRestJsonErrorCode");
3820
+
3821
+ // src/commands/AcceptGrantCommand.ts
3822
+ var _AcceptGrantCommand = class _AcceptGrantCommand extends import_smithy_client.Command.classBuilder().ep({
3823
+ ...commonParams
3824
+ }).m(function(Command, cs, config, o) {
3825
+ return [
3826
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3827
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3828
+ ];
3829
+ }).s("AWSLicenseManager", "AcceptGrant", {}).n("LicenseManagerClient", "AcceptGrantCommand").f(void 0, void 0).ser(se_AcceptGrantCommand).de(de_AcceptGrantCommand).build() {
3830
+ };
3831
+ __name(_AcceptGrantCommand, "AcceptGrantCommand");
3832
+ var AcceptGrantCommand = _AcceptGrantCommand;
3833
+
3834
+ // src/commands/CheckInLicenseCommand.ts
3835
+
3836
+
3837
+
3838
+
3839
+ var _CheckInLicenseCommand = class _CheckInLicenseCommand extends import_smithy_client.Command.classBuilder().ep({
3840
+ ...commonParams
3841
+ }).m(function(Command, cs, config, o) {
3842
+ return [
3843
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3844
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3845
+ ];
3846
+ }).s("AWSLicenseManager", "CheckInLicense", {}).n("LicenseManagerClient", "CheckInLicenseCommand").f(void 0, void 0).ser(se_CheckInLicenseCommand).de(de_CheckInLicenseCommand).build() {
3847
+ };
3848
+ __name(_CheckInLicenseCommand, "CheckInLicenseCommand");
3849
+ var CheckInLicenseCommand = _CheckInLicenseCommand;
3850
+
3851
+ // src/commands/CheckoutBorrowLicenseCommand.ts
3852
+
3853
+
3854
+
3855
+
3856
+ var _CheckoutBorrowLicenseCommand = class _CheckoutBorrowLicenseCommand extends import_smithy_client.Command.classBuilder().ep({
3857
+ ...commonParams
3858
+ }).m(function(Command, cs, config, o) {
3859
+ return [
3860
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3861
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3862
+ ];
3863
+ }).s("AWSLicenseManager", "CheckoutBorrowLicense", {}).n("LicenseManagerClient", "CheckoutBorrowLicenseCommand").f(void 0, void 0).ser(se_CheckoutBorrowLicenseCommand).de(de_CheckoutBorrowLicenseCommand).build() {
3864
+ };
3865
+ __name(_CheckoutBorrowLicenseCommand, "CheckoutBorrowLicenseCommand");
3866
+ var CheckoutBorrowLicenseCommand = _CheckoutBorrowLicenseCommand;
3867
+
3868
+ // src/commands/CheckoutLicenseCommand.ts
3869
+
3870
+
3871
+
3872
+
3873
+ var _CheckoutLicenseCommand = class _CheckoutLicenseCommand extends import_smithy_client.Command.classBuilder().ep({
3874
+ ...commonParams
3875
+ }).m(function(Command, cs, config, o) {
3876
+ return [
3877
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3878
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3879
+ ];
3880
+ }).s("AWSLicenseManager", "CheckoutLicense", {}).n("LicenseManagerClient", "CheckoutLicenseCommand").f(void 0, void 0).ser(se_CheckoutLicenseCommand).de(de_CheckoutLicenseCommand).build() {
3881
+ };
3882
+ __name(_CheckoutLicenseCommand, "CheckoutLicenseCommand");
3883
+ var CheckoutLicenseCommand = _CheckoutLicenseCommand;
3884
+
3885
+ // src/commands/CreateGrantCommand.ts
3886
+
3887
+
3888
+
3889
+
3890
+ var _CreateGrantCommand = class _CreateGrantCommand extends import_smithy_client.Command.classBuilder().ep({
3891
+ ...commonParams
3892
+ }).m(function(Command, cs, config, o) {
3893
+ return [
3894
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3895
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3896
+ ];
3897
+ }).s("AWSLicenseManager", "CreateGrant", {}).n("LicenseManagerClient", "CreateGrantCommand").f(void 0, void 0).ser(se_CreateGrantCommand).de(de_CreateGrantCommand).build() {
3898
+ };
3899
+ __name(_CreateGrantCommand, "CreateGrantCommand");
3900
+ var CreateGrantCommand = _CreateGrantCommand;
3901
+
3902
+ // src/commands/CreateGrantVersionCommand.ts
3903
+
3904
+
3905
+
3906
+
3907
+ var _CreateGrantVersionCommand = class _CreateGrantVersionCommand extends import_smithy_client.Command.classBuilder().ep({
3908
+ ...commonParams
3909
+ }).m(function(Command, cs, config, o) {
3910
+ return [
3911
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3912
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3913
+ ];
3914
+ }).s("AWSLicenseManager", "CreateGrantVersion", {}).n("LicenseManagerClient", "CreateGrantVersionCommand").f(void 0, void 0).ser(se_CreateGrantVersionCommand).de(de_CreateGrantVersionCommand).build() {
3915
+ };
3916
+ __name(_CreateGrantVersionCommand, "CreateGrantVersionCommand");
3917
+ var CreateGrantVersionCommand = _CreateGrantVersionCommand;
3918
+
3919
+ // src/commands/CreateLicenseCommand.ts
3920
+
3921
+
3922
+
3923
+
3924
+ var _CreateLicenseCommand = class _CreateLicenseCommand extends import_smithy_client.Command.classBuilder().ep({
3925
+ ...commonParams
3926
+ }).m(function(Command, cs, config, o) {
3927
+ return [
3928
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3929
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3930
+ ];
3931
+ }).s("AWSLicenseManager", "CreateLicense", {}).n("LicenseManagerClient", "CreateLicenseCommand").f(void 0, void 0).ser(se_CreateLicenseCommand).de(de_CreateLicenseCommand).build() {
3932
+ };
3933
+ __name(_CreateLicenseCommand, "CreateLicenseCommand");
3934
+ var CreateLicenseCommand = _CreateLicenseCommand;
3935
+
3936
+ // src/commands/CreateLicenseConfigurationCommand.ts
3937
+
3938
+
3939
+
3940
+
3941
+ var _CreateLicenseConfigurationCommand = class _CreateLicenseConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
3942
+ ...commonParams
3943
+ }).m(function(Command, cs, config, o) {
3944
+ return [
3945
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3946
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3947
+ ];
3948
+ }).s("AWSLicenseManager", "CreateLicenseConfiguration", {}).n("LicenseManagerClient", "CreateLicenseConfigurationCommand").f(void 0, void 0).ser(se_CreateLicenseConfigurationCommand).de(de_CreateLicenseConfigurationCommand).build() {
3949
+ };
3950
+ __name(_CreateLicenseConfigurationCommand, "CreateLicenseConfigurationCommand");
3951
+ var CreateLicenseConfigurationCommand = _CreateLicenseConfigurationCommand;
3952
+
3953
+ // src/commands/CreateLicenseConversionTaskForResourceCommand.ts
3954
+
3955
+
3956
+
3957
+
3958
+ var _CreateLicenseConversionTaskForResourceCommand = class _CreateLicenseConversionTaskForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3959
+ ...commonParams
3960
+ }).m(function(Command, cs, config, o) {
3961
+ return [
3962
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3963
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3964
+ ];
3965
+ }).s("AWSLicenseManager", "CreateLicenseConversionTaskForResource", {}).n("LicenseManagerClient", "CreateLicenseConversionTaskForResourceCommand").f(void 0, void 0).ser(se_CreateLicenseConversionTaskForResourceCommand).de(de_CreateLicenseConversionTaskForResourceCommand).build() {
3966
+ };
3967
+ __name(_CreateLicenseConversionTaskForResourceCommand, "CreateLicenseConversionTaskForResourceCommand");
3968
+ var CreateLicenseConversionTaskForResourceCommand = _CreateLicenseConversionTaskForResourceCommand;
3969
+
3970
+ // src/commands/CreateLicenseManagerReportGeneratorCommand.ts
3971
+
3972
+
3973
+
3974
+
3975
+ var _CreateLicenseManagerReportGeneratorCommand = class _CreateLicenseManagerReportGeneratorCommand extends import_smithy_client.Command.classBuilder().ep({
3976
+ ...commonParams
3977
+ }).m(function(Command, cs, config, o) {
3978
+ return [
3979
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3980
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3981
+ ];
3982
+ }).s("AWSLicenseManager", "CreateLicenseManagerReportGenerator", {}).n("LicenseManagerClient", "CreateLicenseManagerReportGeneratorCommand").f(void 0, void 0).ser(se_CreateLicenseManagerReportGeneratorCommand).de(de_CreateLicenseManagerReportGeneratorCommand).build() {
3983
+ };
3984
+ __name(_CreateLicenseManagerReportGeneratorCommand, "CreateLicenseManagerReportGeneratorCommand");
3985
+ var CreateLicenseManagerReportGeneratorCommand = _CreateLicenseManagerReportGeneratorCommand;
3986
+
3987
+ // src/commands/CreateLicenseVersionCommand.ts
3988
+
3989
+
3990
+
3991
+
3992
+ var _CreateLicenseVersionCommand = class _CreateLicenseVersionCommand extends import_smithy_client.Command.classBuilder().ep({
3993
+ ...commonParams
3994
+ }).m(function(Command, cs, config, o) {
3995
+ return [
3996
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3997
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3998
+ ];
3999
+ }).s("AWSLicenseManager", "CreateLicenseVersion", {}).n("LicenseManagerClient", "CreateLicenseVersionCommand").f(void 0, void 0).ser(se_CreateLicenseVersionCommand).de(de_CreateLicenseVersionCommand).build() {
4000
+ };
4001
+ __name(_CreateLicenseVersionCommand, "CreateLicenseVersionCommand");
4002
+ var CreateLicenseVersionCommand = _CreateLicenseVersionCommand;
4003
+
4004
+ // src/commands/CreateTokenCommand.ts
4005
+
4006
+
4007
+
4008
+
4009
+ var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep({
4010
+ ...commonParams
4011
+ }).m(function(Command, cs, config, o) {
4012
+ return [
4013
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4014
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4015
+ ];
4016
+ }).s("AWSLicenseManager", "CreateToken", {}).n("LicenseManagerClient", "CreateTokenCommand").f(void 0, void 0).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
4017
+ };
4018
+ __name(_CreateTokenCommand, "CreateTokenCommand");
4019
+ var CreateTokenCommand = _CreateTokenCommand;
4020
+
4021
+ // src/commands/DeleteGrantCommand.ts
4022
+
4023
+
4024
+
4025
+
4026
+ var _DeleteGrantCommand = class _DeleteGrantCommand extends import_smithy_client.Command.classBuilder().ep({
4027
+ ...commonParams
4028
+ }).m(function(Command, cs, config, o) {
4029
+ return [
4030
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4031
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4032
+ ];
4033
+ }).s("AWSLicenseManager", "DeleteGrant", {}).n("LicenseManagerClient", "DeleteGrantCommand").f(void 0, void 0).ser(se_DeleteGrantCommand).de(de_DeleteGrantCommand).build() {
4034
+ };
4035
+ __name(_DeleteGrantCommand, "DeleteGrantCommand");
4036
+ var DeleteGrantCommand = _DeleteGrantCommand;
4037
+
4038
+ // src/commands/DeleteLicenseCommand.ts
4039
+
4040
+
4041
+
4042
+
4043
+ var _DeleteLicenseCommand = class _DeleteLicenseCommand extends import_smithy_client.Command.classBuilder().ep({
4044
+ ...commonParams
4045
+ }).m(function(Command, cs, config, o) {
4046
+ return [
4047
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4048
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4049
+ ];
4050
+ }).s("AWSLicenseManager", "DeleteLicense", {}).n("LicenseManagerClient", "DeleteLicenseCommand").f(void 0, void 0).ser(se_DeleteLicenseCommand).de(de_DeleteLicenseCommand).build() {
4051
+ };
4052
+ __name(_DeleteLicenseCommand, "DeleteLicenseCommand");
4053
+ var DeleteLicenseCommand = _DeleteLicenseCommand;
4054
+
4055
+ // src/commands/DeleteLicenseConfigurationCommand.ts
4056
+
4057
+
4058
+
4059
+
4060
+ var _DeleteLicenseConfigurationCommand = class _DeleteLicenseConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
4061
+ ...commonParams
4062
+ }).m(function(Command, cs, config, o) {
4063
+ return [
4064
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4065
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4066
+ ];
4067
+ }).s("AWSLicenseManager", "DeleteLicenseConfiguration", {}).n("LicenseManagerClient", "DeleteLicenseConfigurationCommand").f(void 0, void 0).ser(se_DeleteLicenseConfigurationCommand).de(de_DeleteLicenseConfigurationCommand).build() {
4068
+ };
4069
+ __name(_DeleteLicenseConfigurationCommand, "DeleteLicenseConfigurationCommand");
4070
+ var DeleteLicenseConfigurationCommand = _DeleteLicenseConfigurationCommand;
4071
+
4072
+ // src/commands/DeleteLicenseManagerReportGeneratorCommand.ts
4073
+
4074
+
4075
+
4076
+
4077
+ var _DeleteLicenseManagerReportGeneratorCommand = class _DeleteLicenseManagerReportGeneratorCommand extends import_smithy_client.Command.classBuilder().ep({
4078
+ ...commonParams
4079
+ }).m(function(Command, cs, config, o) {
4080
+ return [
4081
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4082
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4083
+ ];
4084
+ }).s("AWSLicenseManager", "DeleteLicenseManagerReportGenerator", {}).n("LicenseManagerClient", "DeleteLicenseManagerReportGeneratorCommand").f(void 0, void 0).ser(se_DeleteLicenseManagerReportGeneratorCommand).de(de_DeleteLicenseManagerReportGeneratorCommand).build() {
4085
+ };
4086
+ __name(_DeleteLicenseManagerReportGeneratorCommand, "DeleteLicenseManagerReportGeneratorCommand");
4087
+ var DeleteLicenseManagerReportGeneratorCommand = _DeleteLicenseManagerReportGeneratorCommand;
4088
+
4089
+ // src/commands/DeleteTokenCommand.ts
4090
+
4091
+
4092
+
4093
+
4094
+ var _DeleteTokenCommand = class _DeleteTokenCommand extends import_smithy_client.Command.classBuilder().ep({
4095
+ ...commonParams
4096
+ }).m(function(Command, cs, config, o) {
4097
+ return [
4098
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4099
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4100
+ ];
4101
+ }).s("AWSLicenseManager", "DeleteToken", {}).n("LicenseManagerClient", "DeleteTokenCommand").f(void 0, void 0).ser(se_DeleteTokenCommand).de(de_DeleteTokenCommand).build() {
4102
+ };
4103
+ __name(_DeleteTokenCommand, "DeleteTokenCommand");
4104
+ var DeleteTokenCommand = _DeleteTokenCommand;
4105
+
4106
+ // src/commands/ExtendLicenseConsumptionCommand.ts
4107
+
4108
+
4109
+
4110
+
4111
+ var _ExtendLicenseConsumptionCommand = class _ExtendLicenseConsumptionCommand extends import_smithy_client.Command.classBuilder().ep({
4112
+ ...commonParams
4113
+ }).m(function(Command, cs, config, o) {
4114
+ return [
4115
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4116
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4117
+ ];
4118
+ }).s("AWSLicenseManager", "ExtendLicenseConsumption", {}).n("LicenseManagerClient", "ExtendLicenseConsumptionCommand").f(void 0, void 0).ser(se_ExtendLicenseConsumptionCommand).de(de_ExtendLicenseConsumptionCommand).build() {
4119
+ };
4120
+ __name(_ExtendLicenseConsumptionCommand, "ExtendLicenseConsumptionCommand");
4121
+ var ExtendLicenseConsumptionCommand = _ExtendLicenseConsumptionCommand;
4122
+
4123
+ // src/commands/GetAccessTokenCommand.ts
4124
+
4125
+
4126
+
4127
+
4128
+ var _GetAccessTokenCommand = class _GetAccessTokenCommand extends import_smithy_client.Command.classBuilder().ep({
4129
+ ...commonParams
4130
+ }).m(function(Command, cs, config, o) {
4131
+ return [
4132
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4133
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4134
+ ];
4135
+ }).s("AWSLicenseManager", "GetAccessToken", {}).n("LicenseManagerClient", "GetAccessTokenCommand").f(void 0, void 0).ser(se_GetAccessTokenCommand).de(de_GetAccessTokenCommand).build() {
4136
+ };
4137
+ __name(_GetAccessTokenCommand, "GetAccessTokenCommand");
4138
+ var GetAccessTokenCommand = _GetAccessTokenCommand;
4139
+
4140
+ // src/commands/GetGrantCommand.ts
4141
+
4142
+
4143
+
4144
+
4145
+ var _GetGrantCommand = class _GetGrantCommand extends import_smithy_client.Command.classBuilder().ep({
4146
+ ...commonParams
4147
+ }).m(function(Command, cs, config, o) {
4148
+ return [
4149
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4150
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4151
+ ];
4152
+ }).s("AWSLicenseManager", "GetGrant", {}).n("LicenseManagerClient", "GetGrantCommand").f(void 0, void 0).ser(se_GetGrantCommand).de(de_GetGrantCommand).build() {
4153
+ };
4154
+ __name(_GetGrantCommand, "GetGrantCommand");
4155
+ var GetGrantCommand = _GetGrantCommand;
4156
+
4157
+ // src/commands/GetLicenseCommand.ts
4158
+
4159
+
4160
+
4161
+
4162
+ var _GetLicenseCommand = class _GetLicenseCommand extends import_smithy_client.Command.classBuilder().ep({
4163
+ ...commonParams
4164
+ }).m(function(Command, cs, config, o) {
4165
+ return [
4166
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4167
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4168
+ ];
4169
+ }).s("AWSLicenseManager", "GetLicense", {}).n("LicenseManagerClient", "GetLicenseCommand").f(void 0, void 0).ser(se_GetLicenseCommand).de(de_GetLicenseCommand).build() {
4170
+ };
4171
+ __name(_GetLicenseCommand, "GetLicenseCommand");
4172
+ var GetLicenseCommand = _GetLicenseCommand;
4173
+
4174
+ // src/commands/GetLicenseConfigurationCommand.ts
4175
+
4176
+
4177
+
4178
+
4179
+ var _GetLicenseConfigurationCommand = class _GetLicenseConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
4180
+ ...commonParams
4181
+ }).m(function(Command, cs, config, o) {
4182
+ return [
4183
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4184
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4185
+ ];
4186
+ }).s("AWSLicenseManager", "GetLicenseConfiguration", {}).n("LicenseManagerClient", "GetLicenseConfigurationCommand").f(void 0, void 0).ser(se_GetLicenseConfigurationCommand).de(de_GetLicenseConfigurationCommand).build() {
4187
+ };
4188
+ __name(_GetLicenseConfigurationCommand, "GetLicenseConfigurationCommand");
4189
+ var GetLicenseConfigurationCommand = _GetLicenseConfigurationCommand;
4190
+
4191
+ // src/commands/GetLicenseConversionTaskCommand.ts
4192
+
4193
+
4194
+
4195
+
4196
+ var _GetLicenseConversionTaskCommand = class _GetLicenseConversionTaskCommand extends import_smithy_client.Command.classBuilder().ep({
4197
+ ...commonParams
4198
+ }).m(function(Command, cs, config, o) {
4199
+ return [
4200
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4201
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4202
+ ];
4203
+ }).s("AWSLicenseManager", "GetLicenseConversionTask", {}).n("LicenseManagerClient", "GetLicenseConversionTaskCommand").f(void 0, void 0).ser(se_GetLicenseConversionTaskCommand).de(de_GetLicenseConversionTaskCommand).build() {
4204
+ };
4205
+ __name(_GetLicenseConversionTaskCommand, "GetLicenseConversionTaskCommand");
4206
+ var GetLicenseConversionTaskCommand = _GetLicenseConversionTaskCommand;
4207
+
4208
+ // src/commands/GetLicenseManagerReportGeneratorCommand.ts
4209
+
4210
+
4211
+
4212
+
4213
+ var _GetLicenseManagerReportGeneratorCommand = class _GetLicenseManagerReportGeneratorCommand extends import_smithy_client.Command.classBuilder().ep({
4214
+ ...commonParams
4215
+ }).m(function(Command, cs, config, o) {
4216
+ return [
4217
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4218
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4219
+ ];
4220
+ }).s("AWSLicenseManager", "GetLicenseManagerReportGenerator", {}).n("LicenseManagerClient", "GetLicenseManagerReportGeneratorCommand").f(void 0, void 0).ser(se_GetLicenseManagerReportGeneratorCommand).de(de_GetLicenseManagerReportGeneratorCommand).build() {
4221
+ };
4222
+ __name(_GetLicenseManagerReportGeneratorCommand, "GetLicenseManagerReportGeneratorCommand");
4223
+ var GetLicenseManagerReportGeneratorCommand = _GetLicenseManagerReportGeneratorCommand;
4224
+
4225
+ // src/commands/GetLicenseUsageCommand.ts
4226
+
4227
+
4228
+
4229
+
4230
+ var _GetLicenseUsageCommand = class _GetLicenseUsageCommand extends import_smithy_client.Command.classBuilder().ep({
4231
+ ...commonParams
4232
+ }).m(function(Command, cs, config, o) {
4233
+ return [
4234
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4235
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4236
+ ];
4237
+ }).s("AWSLicenseManager", "GetLicenseUsage", {}).n("LicenseManagerClient", "GetLicenseUsageCommand").f(void 0, void 0).ser(se_GetLicenseUsageCommand).de(de_GetLicenseUsageCommand).build() {
4238
+ };
4239
+ __name(_GetLicenseUsageCommand, "GetLicenseUsageCommand");
4240
+ var GetLicenseUsageCommand = _GetLicenseUsageCommand;
4241
+
4242
+ // src/commands/GetServiceSettingsCommand.ts
4243
+
4244
+
4245
+
4246
+
4247
+ var _GetServiceSettingsCommand = class _GetServiceSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
4248
+ ...commonParams
4249
+ }).m(function(Command, cs, config, o) {
4250
+ return [
4251
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4252
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4253
+ ];
4254
+ }).s("AWSLicenseManager", "GetServiceSettings", {}).n("LicenseManagerClient", "GetServiceSettingsCommand").f(void 0, void 0).ser(se_GetServiceSettingsCommand).de(de_GetServiceSettingsCommand).build() {
4255
+ };
4256
+ __name(_GetServiceSettingsCommand, "GetServiceSettingsCommand");
4257
+ var GetServiceSettingsCommand = _GetServiceSettingsCommand;
4258
+
4259
+ // src/commands/ListAssociationsForLicenseConfigurationCommand.ts
4260
+
4261
+
4262
+
4263
+
4264
+ var _ListAssociationsForLicenseConfigurationCommand = class _ListAssociationsForLicenseConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
4265
+ ...commonParams
4266
+ }).m(function(Command, cs, config, o) {
4267
+ return [
4268
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4269
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4270
+ ];
4271
+ }).s("AWSLicenseManager", "ListAssociationsForLicenseConfiguration", {}).n("LicenseManagerClient", "ListAssociationsForLicenseConfigurationCommand").f(void 0, void 0).ser(se_ListAssociationsForLicenseConfigurationCommand).de(de_ListAssociationsForLicenseConfigurationCommand).build() {
4272
+ };
4273
+ __name(_ListAssociationsForLicenseConfigurationCommand, "ListAssociationsForLicenseConfigurationCommand");
4274
+ var ListAssociationsForLicenseConfigurationCommand = _ListAssociationsForLicenseConfigurationCommand;
4275
+
4276
+ // src/commands/ListDistributedGrantsCommand.ts
4277
+
4278
+
4279
+
4280
+
4281
+ var _ListDistributedGrantsCommand = class _ListDistributedGrantsCommand extends import_smithy_client.Command.classBuilder().ep({
4282
+ ...commonParams
4283
+ }).m(function(Command, cs, config, o) {
4284
+ return [
4285
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4286
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4287
+ ];
4288
+ }).s("AWSLicenseManager", "ListDistributedGrants", {}).n("LicenseManagerClient", "ListDistributedGrantsCommand").f(void 0, void 0).ser(se_ListDistributedGrantsCommand).de(de_ListDistributedGrantsCommand).build() {
4289
+ };
4290
+ __name(_ListDistributedGrantsCommand, "ListDistributedGrantsCommand");
4291
+ var ListDistributedGrantsCommand = _ListDistributedGrantsCommand;
4292
+
4293
+ // src/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts
4294
+
4295
+
4296
+
4297
+
4298
+ var _ListFailuresForLicenseConfigurationOperationsCommand = class _ListFailuresForLicenseConfigurationOperationsCommand extends import_smithy_client.Command.classBuilder().ep({
4299
+ ...commonParams
4300
+ }).m(function(Command, cs, config, o) {
4301
+ return [
4302
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4303
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4304
+ ];
4305
+ }).s("AWSLicenseManager", "ListFailuresForLicenseConfigurationOperations", {}).n("LicenseManagerClient", "ListFailuresForLicenseConfigurationOperationsCommand").f(void 0, void 0).ser(se_ListFailuresForLicenseConfigurationOperationsCommand).de(de_ListFailuresForLicenseConfigurationOperationsCommand).build() {
4306
+ };
4307
+ __name(_ListFailuresForLicenseConfigurationOperationsCommand, "ListFailuresForLicenseConfigurationOperationsCommand");
4308
+ var ListFailuresForLicenseConfigurationOperationsCommand = _ListFailuresForLicenseConfigurationOperationsCommand;
4309
+
4310
+ // src/commands/ListLicenseConfigurationsCommand.ts
4311
+
4312
+
4313
+
4314
+
4315
+ var _ListLicenseConfigurationsCommand = class _ListLicenseConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
4316
+ ...commonParams
4317
+ }).m(function(Command, cs, config, o) {
4318
+ return [
4319
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4320
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4321
+ ];
4322
+ }).s("AWSLicenseManager", "ListLicenseConfigurations", {}).n("LicenseManagerClient", "ListLicenseConfigurationsCommand").f(void 0, void 0).ser(se_ListLicenseConfigurationsCommand).de(de_ListLicenseConfigurationsCommand).build() {
4323
+ };
4324
+ __name(_ListLicenseConfigurationsCommand, "ListLicenseConfigurationsCommand");
4325
+ var ListLicenseConfigurationsCommand = _ListLicenseConfigurationsCommand;
4326
+
4327
+ // src/commands/ListLicenseConversionTasksCommand.ts
4328
+
4329
+
4330
+
4331
+
4332
+ var _ListLicenseConversionTasksCommand = class _ListLicenseConversionTasksCommand extends import_smithy_client.Command.classBuilder().ep({
4333
+ ...commonParams
4334
+ }).m(function(Command, cs, config, o) {
4335
+ return [
4336
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4337
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4338
+ ];
4339
+ }).s("AWSLicenseManager", "ListLicenseConversionTasks", {}).n("LicenseManagerClient", "ListLicenseConversionTasksCommand").f(void 0, void 0).ser(se_ListLicenseConversionTasksCommand).de(de_ListLicenseConversionTasksCommand).build() {
4340
+ };
4341
+ __name(_ListLicenseConversionTasksCommand, "ListLicenseConversionTasksCommand");
4342
+ var ListLicenseConversionTasksCommand = _ListLicenseConversionTasksCommand;
4343
+
4344
+ // src/commands/ListLicenseManagerReportGeneratorsCommand.ts
4345
+
4346
+
4347
+
4348
+
4349
+ var _ListLicenseManagerReportGeneratorsCommand = class _ListLicenseManagerReportGeneratorsCommand extends import_smithy_client.Command.classBuilder().ep({
4350
+ ...commonParams
4351
+ }).m(function(Command, cs, config, o) {
4352
+ return [
4353
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4354
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4355
+ ];
4356
+ }).s("AWSLicenseManager", "ListLicenseManagerReportGenerators", {}).n("LicenseManagerClient", "ListLicenseManagerReportGeneratorsCommand").f(void 0, void 0).ser(se_ListLicenseManagerReportGeneratorsCommand).de(de_ListLicenseManagerReportGeneratorsCommand).build() {
4357
+ };
4358
+ __name(_ListLicenseManagerReportGeneratorsCommand, "ListLicenseManagerReportGeneratorsCommand");
4359
+ var ListLicenseManagerReportGeneratorsCommand = _ListLicenseManagerReportGeneratorsCommand;
4360
+
4361
+ // src/commands/ListLicensesCommand.ts
4362
+
4363
+
4364
+
4365
+
4366
+ var _ListLicensesCommand = class _ListLicensesCommand extends import_smithy_client.Command.classBuilder().ep({
4367
+ ...commonParams
4368
+ }).m(function(Command, cs, config, o) {
4369
+ return [
4370
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4371
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4372
+ ];
4373
+ }).s("AWSLicenseManager", "ListLicenses", {}).n("LicenseManagerClient", "ListLicensesCommand").f(void 0, void 0).ser(se_ListLicensesCommand).de(de_ListLicensesCommand).build() {
4374
+ };
4375
+ __name(_ListLicensesCommand, "ListLicensesCommand");
4376
+ var ListLicensesCommand = _ListLicensesCommand;
4377
+
4378
+ // src/commands/ListLicenseSpecificationsForResourceCommand.ts
4379
+
4380
+
4381
+
4382
+
4383
+ var _ListLicenseSpecificationsForResourceCommand = class _ListLicenseSpecificationsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4384
+ ...commonParams
4385
+ }).m(function(Command, cs, config, o) {
4386
+ return [
4387
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4388
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4389
+ ];
4390
+ }).s("AWSLicenseManager", "ListLicenseSpecificationsForResource", {}).n("LicenseManagerClient", "ListLicenseSpecificationsForResourceCommand").f(void 0, void 0).ser(se_ListLicenseSpecificationsForResourceCommand).de(de_ListLicenseSpecificationsForResourceCommand).build() {
4391
+ };
4392
+ __name(_ListLicenseSpecificationsForResourceCommand, "ListLicenseSpecificationsForResourceCommand");
4393
+ var ListLicenseSpecificationsForResourceCommand = _ListLicenseSpecificationsForResourceCommand;
4394
+
4395
+ // src/commands/ListLicenseVersionsCommand.ts
4396
+
4397
+
4398
+
4399
+
4400
+ var _ListLicenseVersionsCommand = class _ListLicenseVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
4401
+ ...commonParams
4402
+ }).m(function(Command, cs, config, o) {
4403
+ return [
4404
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4405
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4406
+ ];
4407
+ }).s("AWSLicenseManager", "ListLicenseVersions", {}).n("LicenseManagerClient", "ListLicenseVersionsCommand").f(void 0, void 0).ser(se_ListLicenseVersionsCommand).de(de_ListLicenseVersionsCommand).build() {
4408
+ };
4409
+ __name(_ListLicenseVersionsCommand, "ListLicenseVersionsCommand");
4410
+ var ListLicenseVersionsCommand = _ListLicenseVersionsCommand;
4411
+
4412
+ // src/commands/ListReceivedGrantsCommand.ts
4413
+
4414
+
4415
+
4416
+
4417
+ var _ListReceivedGrantsCommand = class _ListReceivedGrantsCommand extends import_smithy_client.Command.classBuilder().ep({
4418
+ ...commonParams
4419
+ }).m(function(Command, cs, config, o) {
4420
+ return [
4421
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4422
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4423
+ ];
4424
+ }).s("AWSLicenseManager", "ListReceivedGrants", {}).n("LicenseManagerClient", "ListReceivedGrantsCommand").f(void 0, void 0).ser(se_ListReceivedGrantsCommand).de(de_ListReceivedGrantsCommand).build() {
4425
+ };
4426
+ __name(_ListReceivedGrantsCommand, "ListReceivedGrantsCommand");
4427
+ var ListReceivedGrantsCommand = _ListReceivedGrantsCommand;
4428
+
4429
+ // src/commands/ListReceivedGrantsForOrganizationCommand.ts
4430
+
4431
+
4432
+
4433
+
4434
+ var _ListReceivedGrantsForOrganizationCommand = class _ListReceivedGrantsForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
4435
+ ...commonParams
4436
+ }).m(function(Command, cs, config, o) {
4437
+ return [
4438
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4439
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4440
+ ];
4441
+ }).s("AWSLicenseManager", "ListReceivedGrantsForOrganization", {}).n("LicenseManagerClient", "ListReceivedGrantsForOrganizationCommand").f(void 0, void 0).ser(se_ListReceivedGrantsForOrganizationCommand).de(de_ListReceivedGrantsForOrganizationCommand).build() {
4442
+ };
4443
+ __name(_ListReceivedGrantsForOrganizationCommand, "ListReceivedGrantsForOrganizationCommand");
4444
+ var ListReceivedGrantsForOrganizationCommand = _ListReceivedGrantsForOrganizationCommand;
4445
+
4446
+ // src/commands/ListReceivedLicensesCommand.ts
4447
+
4448
+
4449
+
4450
+
4451
+ var _ListReceivedLicensesCommand = class _ListReceivedLicensesCommand extends import_smithy_client.Command.classBuilder().ep({
4452
+ ...commonParams
4453
+ }).m(function(Command, cs, config, o) {
4454
+ return [
4455
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4456
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4457
+ ];
4458
+ }).s("AWSLicenseManager", "ListReceivedLicenses", {}).n("LicenseManagerClient", "ListReceivedLicensesCommand").f(void 0, void 0).ser(se_ListReceivedLicensesCommand).de(de_ListReceivedLicensesCommand).build() {
4459
+ };
4460
+ __name(_ListReceivedLicensesCommand, "ListReceivedLicensesCommand");
4461
+ var ListReceivedLicensesCommand = _ListReceivedLicensesCommand;
4462
+
4463
+ // src/commands/ListReceivedLicensesForOrganizationCommand.ts
4464
+
4465
+
4466
+
4467
+
4468
+ var _ListReceivedLicensesForOrganizationCommand = class _ListReceivedLicensesForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
4469
+ ...commonParams
4470
+ }).m(function(Command, cs, config, o) {
4471
+ return [
4472
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4473
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4474
+ ];
4475
+ }).s("AWSLicenseManager", "ListReceivedLicensesForOrganization", {}).n("LicenseManagerClient", "ListReceivedLicensesForOrganizationCommand").f(void 0, void 0).ser(se_ListReceivedLicensesForOrganizationCommand).de(de_ListReceivedLicensesForOrganizationCommand).build() {
4476
+ };
4477
+ __name(_ListReceivedLicensesForOrganizationCommand, "ListReceivedLicensesForOrganizationCommand");
4478
+ var ListReceivedLicensesForOrganizationCommand = _ListReceivedLicensesForOrganizationCommand;
4479
+
4480
+ // src/commands/ListResourceInventoryCommand.ts
4481
+
4482
+
4483
+
4484
+
4485
+ var _ListResourceInventoryCommand = class _ListResourceInventoryCommand extends import_smithy_client.Command.classBuilder().ep({
4486
+ ...commonParams
4487
+ }).m(function(Command, cs, config, o) {
4488
+ return [
4489
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4490
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4491
+ ];
4492
+ }).s("AWSLicenseManager", "ListResourceInventory", {}).n("LicenseManagerClient", "ListResourceInventoryCommand").f(void 0, void 0).ser(se_ListResourceInventoryCommand).de(de_ListResourceInventoryCommand).build() {
4493
+ };
4494
+ __name(_ListResourceInventoryCommand, "ListResourceInventoryCommand");
4495
+ var ListResourceInventoryCommand = _ListResourceInventoryCommand;
4496
+
4497
+ // src/commands/ListTagsForResourceCommand.ts
4498
+
4499
+
4500
+
4501
+
4502
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4503
+ ...commonParams
4504
+ }).m(function(Command, cs, config, o) {
4505
+ return [
4506
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4507
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4508
+ ];
4509
+ }).s("AWSLicenseManager", "ListTagsForResource", {}).n("LicenseManagerClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
4510
+ };
4511
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
4512
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
4513
+
4514
+ // src/commands/ListTokensCommand.ts
4515
+
4516
+
4517
+
4518
+
4519
+ var _ListTokensCommand = class _ListTokensCommand extends import_smithy_client.Command.classBuilder().ep({
4520
+ ...commonParams
4521
+ }).m(function(Command, cs, config, o) {
4522
+ return [
4523
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4524
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4525
+ ];
4526
+ }).s("AWSLicenseManager", "ListTokens", {}).n("LicenseManagerClient", "ListTokensCommand").f(void 0, void 0).ser(se_ListTokensCommand).de(de_ListTokensCommand).build() {
4527
+ };
4528
+ __name(_ListTokensCommand, "ListTokensCommand");
4529
+ var ListTokensCommand = _ListTokensCommand;
4530
+
4531
+ // src/commands/ListUsageForLicenseConfigurationCommand.ts
4532
+
4533
+
4534
+
4535
+
4536
+ var _ListUsageForLicenseConfigurationCommand = class _ListUsageForLicenseConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
4537
+ ...commonParams
4538
+ }).m(function(Command, cs, config, o) {
4539
+ return [
4540
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4541
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4542
+ ];
4543
+ }).s("AWSLicenseManager", "ListUsageForLicenseConfiguration", {}).n("LicenseManagerClient", "ListUsageForLicenseConfigurationCommand").f(void 0, void 0).ser(se_ListUsageForLicenseConfigurationCommand).de(de_ListUsageForLicenseConfigurationCommand).build() {
4544
+ };
4545
+ __name(_ListUsageForLicenseConfigurationCommand, "ListUsageForLicenseConfigurationCommand");
4546
+ var ListUsageForLicenseConfigurationCommand = _ListUsageForLicenseConfigurationCommand;
4547
+
4548
+ // src/commands/RejectGrantCommand.ts
4549
+
4550
+
4551
+
4552
+
4553
+ var _RejectGrantCommand = class _RejectGrantCommand extends import_smithy_client.Command.classBuilder().ep({
4554
+ ...commonParams
4555
+ }).m(function(Command, cs, config, o) {
4556
+ return [
4557
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4558
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4559
+ ];
4560
+ }).s("AWSLicenseManager", "RejectGrant", {}).n("LicenseManagerClient", "RejectGrantCommand").f(void 0, void 0).ser(se_RejectGrantCommand).de(de_RejectGrantCommand).build() {
4561
+ };
4562
+ __name(_RejectGrantCommand, "RejectGrantCommand");
4563
+ var RejectGrantCommand = _RejectGrantCommand;
4564
+
4565
+ // src/commands/TagResourceCommand.ts
4566
+
4567
+
4568
+
4569
+
4570
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4571
+ ...commonParams
4572
+ }).m(function(Command, cs, config, o) {
4573
+ return [
4574
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4575
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4576
+ ];
4577
+ }).s("AWSLicenseManager", "TagResource", {}).n("LicenseManagerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
4578
+ };
4579
+ __name(_TagResourceCommand, "TagResourceCommand");
4580
+ var TagResourceCommand = _TagResourceCommand;
4581
+
4582
+ // src/commands/UntagResourceCommand.ts
4583
+
4584
+
4585
+
4586
+
4587
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4588
+ ...commonParams
4589
+ }).m(function(Command, cs, config, o) {
4590
+ return [
4591
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4592
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4593
+ ];
4594
+ }).s("AWSLicenseManager", "UntagResource", {}).n("LicenseManagerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
4595
+ };
4596
+ __name(_UntagResourceCommand, "UntagResourceCommand");
4597
+ var UntagResourceCommand = _UntagResourceCommand;
4598
+
4599
+ // src/commands/UpdateLicenseConfigurationCommand.ts
4600
+
4601
+
4602
+
4603
+
4604
+ var _UpdateLicenseConfigurationCommand = class _UpdateLicenseConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
4605
+ ...commonParams
4606
+ }).m(function(Command, cs, config, o) {
4607
+ return [
4608
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4609
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4610
+ ];
4611
+ }).s("AWSLicenseManager", "UpdateLicenseConfiguration", {}).n("LicenseManagerClient", "UpdateLicenseConfigurationCommand").f(void 0, void 0).ser(se_UpdateLicenseConfigurationCommand).de(de_UpdateLicenseConfigurationCommand).build() {
4612
+ };
4613
+ __name(_UpdateLicenseConfigurationCommand, "UpdateLicenseConfigurationCommand");
4614
+ var UpdateLicenseConfigurationCommand = _UpdateLicenseConfigurationCommand;
4615
+
4616
+ // src/commands/UpdateLicenseManagerReportGeneratorCommand.ts
4617
+
4618
+
4619
+
4620
+
4621
+ var _UpdateLicenseManagerReportGeneratorCommand = class _UpdateLicenseManagerReportGeneratorCommand extends import_smithy_client.Command.classBuilder().ep({
4622
+ ...commonParams
4623
+ }).m(function(Command, cs, config, o) {
4624
+ return [
4625
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4626
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4627
+ ];
4628
+ }).s("AWSLicenseManager", "UpdateLicenseManagerReportGenerator", {}).n("LicenseManagerClient", "UpdateLicenseManagerReportGeneratorCommand").f(void 0, void 0).ser(se_UpdateLicenseManagerReportGeneratorCommand).de(de_UpdateLicenseManagerReportGeneratorCommand).build() {
4629
+ };
4630
+ __name(_UpdateLicenseManagerReportGeneratorCommand, "UpdateLicenseManagerReportGeneratorCommand");
4631
+ var UpdateLicenseManagerReportGeneratorCommand = _UpdateLicenseManagerReportGeneratorCommand;
4632
+
4633
+ // src/commands/UpdateLicenseSpecificationsForResourceCommand.ts
4634
+
4635
+
4636
+
4637
+
4638
+ var _UpdateLicenseSpecificationsForResourceCommand = class _UpdateLicenseSpecificationsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4639
+ ...commonParams
4640
+ }).m(function(Command, cs, config, o) {
4641
+ return [
4642
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4643
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4644
+ ];
4645
+ }).s("AWSLicenseManager", "UpdateLicenseSpecificationsForResource", {}).n("LicenseManagerClient", "UpdateLicenseSpecificationsForResourceCommand").f(void 0, void 0).ser(se_UpdateLicenseSpecificationsForResourceCommand).de(de_UpdateLicenseSpecificationsForResourceCommand).build() {
4646
+ };
4647
+ __name(_UpdateLicenseSpecificationsForResourceCommand, "UpdateLicenseSpecificationsForResourceCommand");
4648
+ var UpdateLicenseSpecificationsForResourceCommand = _UpdateLicenseSpecificationsForResourceCommand;
4649
+
4650
+ // src/commands/UpdateServiceSettingsCommand.ts
4651
+
4652
+
4653
+
4654
+
4655
+ var _UpdateServiceSettingsCommand = class _UpdateServiceSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
4656
+ ...commonParams
4657
+ }).m(function(Command, cs, config, o) {
4658
+ return [
4659
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4660
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4661
+ ];
4662
+ }).s("AWSLicenseManager", "UpdateServiceSettings", {}).n("LicenseManagerClient", "UpdateServiceSettingsCommand").f(void 0, void 0).ser(se_UpdateServiceSettingsCommand).de(de_UpdateServiceSettingsCommand).build() {
4663
+ };
4664
+ __name(_UpdateServiceSettingsCommand, "UpdateServiceSettingsCommand");
4665
+ var UpdateServiceSettingsCommand = _UpdateServiceSettingsCommand;
4666
+
4667
+ // src/LicenseManager.ts
4668
+ var commands = {
4669
+ AcceptGrantCommand,
4670
+ CheckInLicenseCommand,
4671
+ CheckoutBorrowLicenseCommand,
4672
+ CheckoutLicenseCommand,
4673
+ CreateGrantCommand,
4674
+ CreateGrantVersionCommand,
4675
+ CreateLicenseCommand,
4676
+ CreateLicenseConfigurationCommand,
4677
+ CreateLicenseConversionTaskForResourceCommand,
4678
+ CreateLicenseManagerReportGeneratorCommand,
4679
+ CreateLicenseVersionCommand,
4680
+ CreateTokenCommand,
4681
+ DeleteGrantCommand,
4682
+ DeleteLicenseCommand,
4683
+ DeleteLicenseConfigurationCommand,
4684
+ DeleteLicenseManagerReportGeneratorCommand,
4685
+ DeleteTokenCommand,
4686
+ ExtendLicenseConsumptionCommand,
4687
+ GetAccessTokenCommand,
4688
+ GetGrantCommand,
4689
+ GetLicenseCommand,
4690
+ GetLicenseConfigurationCommand,
4691
+ GetLicenseConversionTaskCommand,
4692
+ GetLicenseManagerReportGeneratorCommand,
4693
+ GetLicenseUsageCommand,
4694
+ GetServiceSettingsCommand,
4695
+ ListAssociationsForLicenseConfigurationCommand,
4696
+ ListDistributedGrantsCommand,
4697
+ ListFailuresForLicenseConfigurationOperationsCommand,
4698
+ ListLicenseConfigurationsCommand,
4699
+ ListLicenseConversionTasksCommand,
4700
+ ListLicenseManagerReportGeneratorsCommand,
4701
+ ListLicensesCommand,
4702
+ ListLicenseSpecificationsForResourceCommand,
4703
+ ListLicenseVersionsCommand,
4704
+ ListReceivedGrantsCommand,
4705
+ ListReceivedGrantsForOrganizationCommand,
4706
+ ListReceivedLicensesCommand,
4707
+ ListReceivedLicensesForOrganizationCommand,
4708
+ ListResourceInventoryCommand,
4709
+ ListTagsForResourceCommand,
4710
+ ListTokensCommand,
4711
+ ListUsageForLicenseConfigurationCommand,
4712
+ RejectGrantCommand,
4713
+ TagResourceCommand,
4714
+ UntagResourceCommand,
4715
+ UpdateLicenseConfigurationCommand,
4716
+ UpdateLicenseManagerReportGeneratorCommand,
4717
+ UpdateLicenseSpecificationsForResourceCommand,
4718
+ UpdateServiceSettingsCommand
4719
+ };
4720
+ var _LicenseManager = class _LicenseManager extends LicenseManagerClient {
4721
+ };
4722
+ __name(_LicenseManager, "LicenseManager");
4723
+ var LicenseManager = _LicenseManager;
4724
+ (0, import_smithy_client.createAggregatedClient)(commands, LicenseManager);
4725
+
4726
+ // src/index.ts
4727
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4728
+ // Annotate the CommonJS export names for ESM import in node:
4729
+
4730
+ 0 && (module.exports = {
4731
+ AcceptGrantCommand,
4732
+ AccessDeniedException,
4733
+ ActivationOverrideBehavior,
4734
+ AllowedOperation,
4735
+ AuthorizationException,
4736
+ CheckInLicenseCommand,
4737
+ CheckoutBorrowLicenseCommand,
4738
+ CheckoutLicenseCommand,
4739
+ CheckoutType,
4740
+ ConflictException,
4741
+ CreateGrantCommand,
4742
+ CreateGrantVersionCommand,
4743
+ CreateLicenseCommand,
4744
+ CreateLicenseConfigurationCommand,
4745
+ CreateLicenseConversionTaskForResourceCommand,
4746
+ CreateLicenseManagerReportGeneratorCommand,
4747
+ CreateLicenseVersionCommand,
4748
+ CreateTokenCommand,
4749
+ DeleteGrantCommand,
4750
+ DeleteLicenseCommand,
4751
+ DeleteLicenseConfigurationCommand,
4752
+ DeleteLicenseManagerReportGeneratorCommand,
4753
+ DeleteTokenCommand,
4754
+ DigitalSignatureMethod,
4755
+ EntitlementDataUnit,
4756
+ EntitlementNotAllowedException,
4757
+ EntitlementUnit,
4758
+ ExtendLicenseConsumptionCommand,
4759
+ FailedDependencyException,
4760
+ FilterLimitExceededException,
4761
+ GetAccessTokenCommand,
4762
+ GetGrantCommand,
4763
+ GetLicenseCommand,
4764
+ GetLicenseConfigurationCommand,
4765
+ GetLicenseConversionTaskCommand,
4766
+ GetLicenseManagerReportGeneratorCommand,
4767
+ GetLicenseUsageCommand,
4768
+ GetServiceSettingsCommand,
4769
+ GrantStatus,
4770
+ InvalidParameterValueException,
4771
+ InvalidResourceStateException,
4772
+ InventoryFilterCondition,
4773
+ LicenseConfigurationStatus,
4774
+ LicenseConversionTaskStatus,
4775
+ LicenseCountingType,
4776
+ LicenseDeletionStatus,
4777
+ LicenseManager,
4778
+ LicenseManagerClient,
4779
+ LicenseManagerServiceException,
4780
+ LicenseStatus,
4781
+ LicenseUsageException,
4782
+ ListAssociationsForLicenseConfigurationCommand,
4783
+ ListDistributedGrantsCommand,
4784
+ ListFailuresForLicenseConfigurationOperationsCommand,
4785
+ ListLicenseConfigurationsCommand,
4786
+ ListLicenseConversionTasksCommand,
4787
+ ListLicenseManagerReportGeneratorsCommand,
4788
+ ListLicenseSpecificationsForResourceCommand,
4789
+ ListLicenseVersionsCommand,
4790
+ ListLicensesCommand,
4791
+ ListReceivedGrantsCommand,
4792
+ ListReceivedGrantsForOrganizationCommand,
4793
+ ListReceivedLicensesCommand,
4794
+ ListReceivedLicensesForOrganizationCommand,
4795
+ ListResourceInventoryCommand,
4796
+ ListTagsForResourceCommand,
4797
+ ListTokensCommand,
4798
+ ListUsageForLicenseConfigurationCommand,
4799
+ NoEntitlementsAllowedException,
4800
+ RateLimitExceededException,
4801
+ ReceivedStatus,
4802
+ RedirectException,
4803
+ RejectGrantCommand,
4804
+ RenewType,
4805
+ ReportFrequencyType,
4806
+ ReportType,
4807
+ ResourceLimitExceededException,
4808
+ ResourceNotFoundException,
4809
+ ResourceType,
4810
+ ServerInternalException,
4811
+ TagResourceCommand,
4812
+ TokenType,
4813
+ UnsupportedDigitalSignatureMethodException,
4814
+ UntagResourceCommand,
4815
+ UpdateLicenseConfigurationCommand,
4816
+ UpdateLicenseManagerReportGeneratorCommand,
4817
+ UpdateLicenseSpecificationsForResourceCommand,
4818
+ UpdateServiceSettingsCommand,
4819
+ ValidationException,
4820
+ __Client
4821
+ });
4822
+