@aws-sdk/client-license-manager-linux-subscriptions 3.928.0 → 3.930.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 (35) hide show
  1. package/dist-cjs/index.js +461 -505
  2. package/dist-cjs/runtimeConfig.shared.js +3 -0
  3. package/dist-es/LicenseManagerLinuxSubscriptionsClient.js +2 -0
  4. package/dist-es/commands/DeregisterSubscriptionProviderCommand.js +3 -9
  5. package/dist-es/commands/GetRegisteredSubscriptionProviderCommand.js +3 -9
  6. package/dist-es/commands/GetServiceSettingsCommand.js +3 -9
  7. package/dist-es/commands/ListLinuxSubscriptionInstancesCommand.js +3 -9
  8. package/dist-es/commands/ListLinuxSubscriptionsCommand.js +3 -9
  9. package/dist-es/commands/ListRegisteredSubscriptionProvidersCommand.js +3 -9
  10. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  11. package/dist-es/commands/RegisterSubscriptionProviderCommand.js +3 -10
  12. package/dist-es/commands/TagResourceCommand.js +3 -10
  13. package/dist-es/commands/UntagResourceCommand.js +3 -10
  14. package/dist-es/commands/UpdateServiceSettingsCommand.js +3 -9
  15. package/dist-es/models/models_0.js +0 -17
  16. package/dist-es/runtimeConfig.shared.js +3 -0
  17. package/dist-es/schemas/schemas_0.js +430 -0
  18. package/dist-types/LicenseManagerLinuxSubscriptionsClient.d.ts +10 -1
  19. package/dist-types/models/models_0.d.ts +0 -16
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  21. package/dist-types/runtimeConfig.d.ts +1 -0
  22. package/dist-types/runtimeConfig.native.d.ts +1 -0
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +54 -0
  25. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptionsClient.d.ts +4 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +0 -12
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +60 -0
  32. package/package.json +33 -33
  33. package/dist-es/protocols/Aws_restJson1.js +0 -398
  34. package/dist-types/protocols/Aws_restJson1.d.ts +0 -101
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -137
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class LicenseManagerLinuxSubscriptionsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class LicenseManagerLinuxSubscriptionsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class LicenseManagerLinuxSubscriptionsServiceException extends smithyClient.ServiceException {
113
+ let LicenseManagerLinuxSubscriptionsServiceException$1 = class LicenseManagerLinuxSubscriptionsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, LicenseManagerLinuxSubscriptionsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException {
120
+ let InternalServerException$1 = class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException$1 {
121
121
  name = "InternalServerException";
122
122
  $fault = "server";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceExc
128
128
  });
129
129
  Object.setPrototypeOf(this, InternalServerException.prototype);
130
130
  }
131
- }
132
- class ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceException {
131
+ };
132
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceException$1 {
133
133
  name = "ResourceNotFoundException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceE
140
140
  });
141
141
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
142
  }
143
- }
144
- class ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException {
143
+ };
144
+ let ThrottlingException$1 = class ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException$1 {
145
145
  name = "ThrottlingException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceExcepti
152
152
  });
153
153
  Object.setPrototypeOf(this, ThrottlingException.prototype);
154
154
  }
155
- }
156
- class ValidationException extends LicenseManagerLinuxSubscriptionsServiceException {
155
+ };
156
+ let ValidationException$1 = class ValidationException extends LicenseManagerLinuxSubscriptionsServiceException$1 {
157
157
  name = "ValidationException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,7 +164,7 @@ class ValidationException extends LicenseManagerLinuxSubscriptionsServiceExcepti
164
164
  });
165
165
  Object.setPrototypeOf(this, ValidationException.prototype);
166
166
  }
167
- }
167
+ };
168
168
  const Operator = {
169
169
  CONTAINS: "Contains",
170
170
  EQUAL: "Equal",
@@ -192,430 +192,440 @@ const Status = {
192
192
  InProgress: "InProgress",
193
193
  Successful: "Successful",
194
194
  };
195
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
198
- });
199
- const RegisterSubscriptionProviderRequestFilterSensitiveLog = (obj) => ({
200
- ...obj,
201
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
202
- });
203
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
206
- });
207
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
208
- ...obj,
209
- ...(obj.tagKeys && { tagKeys: smithyClient.SENSITIVE_STRING }),
210
- });
211
195
 
212
- const se_DeregisterSubscriptionProviderCommand = async (input, context) => {
213
- const b = core.requestBuilder(input, context);
214
- const headers = {
215
- "content-type": "application/json",
216
- };
217
- b.bp("/subscription/DeregisterSubscriptionProvider");
218
- let body;
219
- body = JSON.stringify(smithyClient.take(input, {
220
- SubscriptionProviderArn: [],
221
- }));
222
- b.m("POST").h(headers).b(body);
223
- return b.build();
224
- };
225
- const se_GetRegisteredSubscriptionProviderCommand = async (input, context) => {
226
- const b = core.requestBuilder(input, context);
227
- const headers = {
228
- "content-type": "application/json",
229
- };
230
- b.bp("/subscription/GetRegisteredSubscriptionProvider");
231
- let body;
232
- body = JSON.stringify(smithyClient.take(input, {
233
- SubscriptionProviderArn: [],
234
- }));
235
- b.m("POST").h(headers).b(body);
236
- return b.build();
237
- };
238
- const se_GetServiceSettingsCommand = async (input, context) => {
239
- const b = core.requestBuilder(input, context);
240
- const headers = {};
241
- b.bp("/subscription/GetServiceSettings");
242
- let body;
243
- b.m("POST").h(headers).b(body);
244
- return b.build();
245
- };
246
- const se_ListLinuxSubscriptionInstancesCommand = async (input, context) => {
247
- const b = core.requestBuilder(input, context);
248
- const headers = {
249
- "content-type": "application/json",
250
- };
251
- b.bp("/subscription/ListLinuxSubscriptionInstances");
252
- let body;
253
- body = JSON.stringify(smithyClient.take(input, {
254
- Filters: (_) => smithyClient._json(_),
255
- MaxResults: [],
256
- NextToken: [],
257
- }));
258
- b.m("POST").h(headers).b(body);
259
- return b.build();
260
- };
261
- const se_ListLinuxSubscriptionsCommand = async (input, context) => {
262
- const b = core.requestBuilder(input, context);
263
- const headers = {
264
- "content-type": "application/json",
265
- };
266
- b.bp("/subscription/ListLinuxSubscriptions");
267
- let body;
268
- body = JSON.stringify(smithyClient.take(input, {
269
- Filters: (_) => smithyClient._json(_),
270
- MaxResults: [],
271
- NextToken: [],
272
- }));
273
- b.m("POST").h(headers).b(body);
274
- return b.build();
275
- };
276
- const se_ListRegisteredSubscriptionProvidersCommand = async (input, context) => {
277
- const b = core.requestBuilder(input, context);
278
- const headers = {
279
- "content-type": "application/json",
280
- };
281
- b.bp("/subscription/ListRegisteredSubscriptionProviders");
282
- let body;
283
- body = JSON.stringify(smithyClient.take(input, {
284
- MaxResults: [],
285
- NextToken: [],
286
- SubscriptionProviderSources: (_) => smithyClient._json(_),
287
- }));
288
- b.m("POST").h(headers).b(body);
289
- return b.build();
290
- };
291
- const se_ListTagsForResourceCommand = async (input, context) => {
292
- const b = core.requestBuilder(input, context);
293
- const headers = {};
294
- b.bp("/tags/{resourceArn}");
295
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
296
- let body;
297
- b.m("GET").h(headers).b(body);
298
- return b.build();
299
- };
300
- const se_RegisterSubscriptionProviderCommand = async (input, context) => {
301
- const b = core.requestBuilder(input, context);
302
- const headers = {
303
- "content-type": "application/json",
304
- };
305
- b.bp("/subscription/RegisterSubscriptionProvider");
306
- let body;
307
- body = JSON.stringify(smithyClient.take(input, {
308
- SecretArn: [],
309
- SubscriptionProviderSource: [],
310
- Tags: (_) => smithyClient._json(_),
311
- }));
312
- b.m("POST").h(headers).b(body);
313
- return b.build();
314
- };
315
- const se_TagResourceCommand = async (input, context) => {
316
- const b = core.requestBuilder(input, context);
317
- const headers = {
318
- "content-type": "application/json",
319
- };
320
- b.bp("/tags/{resourceArn}");
321
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
322
- let body;
323
- body = JSON.stringify(smithyClient.take(input, {
324
- tags: (_) => smithyClient._json(_),
325
- }));
326
- b.m("PUT").h(headers).b(body);
327
- return b.build();
328
- };
329
- const se_UntagResourceCommand = async (input, context) => {
330
- const b = core.requestBuilder(input, context);
331
- const headers = {};
332
- b.bp("/tags/{resourceArn}");
333
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
334
- const query = smithyClient.map({
335
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
336
- });
337
- let body;
338
- b.m("DELETE").h(headers).q(query).b(body);
339
- return b.build();
340
- };
341
- const se_UpdateServiceSettingsCommand = async (input, context) => {
342
- const b = core.requestBuilder(input, context);
343
- const headers = {
344
- "content-type": "application/json",
345
- };
346
- b.bp("/subscription/UpdateServiceSettings");
347
- let body;
348
- body = JSON.stringify(smithyClient.take(input, {
349
- AllowUpdate: [],
350
- LinuxSubscriptionsDiscovery: [],
351
- LinuxSubscriptionsDiscoverySettings: (_) => smithyClient._json(_),
352
- }));
353
- b.m("POST").h(headers).b(body);
354
- return b.build();
355
- };
356
- const de_DeregisterSubscriptionProviderCommand = async (output, context) => {
357
- if (output.statusCode !== 200 && output.statusCode >= 300) {
358
- return de_CommandError(output, context);
359
- }
360
- const contents = smithyClient.map({
361
- $metadata: deserializeMetadata(output),
362
- });
363
- await smithyClient.collectBody(output.body, context);
364
- return contents;
365
- };
366
- const de_GetRegisteredSubscriptionProviderCommand = async (output, context) => {
367
- if (output.statusCode !== 200 && output.statusCode >= 300) {
368
- return de_CommandError(output, context);
369
- }
370
- const contents = smithyClient.map({
371
- $metadata: deserializeMetadata(output),
372
- });
373
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
374
- const doc = smithyClient.take(data, {
375
- LastSuccessfulDataRetrievalTime: smithyClient.expectString,
376
- SecretArn: smithyClient.expectString,
377
- SubscriptionProviderArn: smithyClient.expectString,
378
- SubscriptionProviderSource: smithyClient.expectString,
379
- SubscriptionProviderStatus: smithyClient.expectString,
380
- SubscriptionProviderStatusMessage: smithyClient.expectString,
381
- });
382
- Object.assign(contents, doc);
383
- return contents;
384
- };
385
- const de_GetServiceSettingsCommand = async (output, context) => {
386
- if (output.statusCode !== 200 && output.statusCode >= 300) {
387
- return de_CommandError(output, context);
388
- }
389
- const contents = smithyClient.map({
390
- $metadata: deserializeMetadata(output),
391
- });
392
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
393
- const doc = smithyClient.take(data, {
394
- HomeRegions: smithyClient._json,
395
- LinuxSubscriptionsDiscovery: smithyClient.expectString,
396
- LinuxSubscriptionsDiscoverySettings: smithyClient._json,
397
- Status: smithyClient.expectString,
398
- StatusMessage: smithyClient._json,
399
- });
400
- Object.assign(contents, doc);
401
- return contents;
402
- };
403
- const de_ListLinuxSubscriptionInstancesCommand = async (output, context) => {
404
- if (output.statusCode !== 200 && output.statusCode >= 300) {
405
- return de_CommandError(output, context);
406
- }
407
- const contents = smithyClient.map({
408
- $metadata: deserializeMetadata(output),
409
- });
410
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
411
- const doc = smithyClient.take(data, {
412
- Instances: smithyClient._json,
413
- NextToken: smithyClient.expectString,
414
- });
415
- Object.assign(contents, doc);
416
- return contents;
417
- };
418
- const de_ListLinuxSubscriptionsCommand = async (output, context) => {
419
- if (output.statusCode !== 200 && output.statusCode >= 300) {
420
- return de_CommandError(output, context);
421
- }
422
- const contents = smithyClient.map({
423
- $metadata: deserializeMetadata(output),
424
- });
425
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
426
- const doc = smithyClient.take(data, {
427
- NextToken: smithyClient.expectString,
428
- Subscriptions: smithyClient._json,
429
- });
430
- Object.assign(contents, doc);
431
- return contents;
432
- };
433
- const de_ListRegisteredSubscriptionProvidersCommand = async (output, context) => {
434
- if (output.statusCode !== 200 && output.statusCode >= 300) {
435
- return de_CommandError(output, context);
436
- }
437
- const contents = smithyClient.map({
438
- $metadata: deserializeMetadata(output),
439
- });
440
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
441
- const doc = smithyClient.take(data, {
442
- NextToken: smithyClient.expectString,
443
- RegisteredSubscriptionProviders: smithyClient._json,
444
- });
445
- Object.assign(contents, doc);
446
- return contents;
447
- };
448
- const de_ListTagsForResourceCommand = async (output, context) => {
449
- if (output.statusCode !== 200 && output.statusCode >= 300) {
450
- return de_CommandError(output, context);
451
- }
452
- const contents = smithyClient.map({
453
- $metadata: deserializeMetadata(output),
454
- });
455
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
456
- const doc = smithyClient.take(data, {
457
- tags: smithyClient._json,
458
- });
459
- Object.assign(contents, doc);
460
- return contents;
461
- };
462
- const de_RegisterSubscriptionProviderCommand = async (output, context) => {
463
- if (output.statusCode !== 200 && output.statusCode >= 300) {
464
- return de_CommandError(output, context);
465
- }
466
- const contents = smithyClient.map({
467
- $metadata: deserializeMetadata(output),
468
- });
469
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
470
- const doc = smithyClient.take(data, {
471
- SubscriptionProviderArn: smithyClient.expectString,
472
- SubscriptionProviderSource: smithyClient.expectString,
473
- SubscriptionProviderStatus: smithyClient.expectString,
474
- });
475
- Object.assign(contents, doc);
476
- return contents;
477
- };
478
- const de_TagResourceCommand = async (output, context) => {
479
- if (output.statusCode !== 200 && output.statusCode >= 300) {
480
- return de_CommandError(output, context);
481
- }
482
- const contents = smithyClient.map({
483
- $metadata: deserializeMetadata(output),
484
- });
485
- await smithyClient.collectBody(output.body, context);
486
- return contents;
487
- };
488
- const de_UntagResourceCommand = async (output, context) => {
489
- if (output.statusCode !== 200 && output.statusCode >= 300) {
490
- return de_CommandError(output, context);
491
- }
492
- const contents = smithyClient.map({
493
- $metadata: deserializeMetadata(output),
494
- });
495
- await smithyClient.collectBody(output.body, context);
496
- return contents;
497
- };
498
- const de_UpdateServiceSettingsCommand = async (output, context) => {
499
- if (output.statusCode !== 200 && output.statusCode >= 300) {
500
- return de_CommandError(output, context);
501
- }
502
- const contents = smithyClient.map({
503
- $metadata: deserializeMetadata(output),
504
- });
505
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
506
- const doc = smithyClient.take(data, {
507
- HomeRegions: smithyClient._json,
508
- LinuxSubscriptionsDiscovery: smithyClient.expectString,
509
- LinuxSubscriptionsDiscoverySettings: smithyClient._json,
510
- Status: smithyClient.expectString,
511
- StatusMessage: smithyClient._json,
512
- });
513
- Object.assign(contents, doc);
514
- return contents;
515
- };
516
- const de_CommandError = async (output, context) => {
517
- const parsedOutput = {
518
- ...output,
519
- body: await core$1.parseJsonErrorBody(output.body, context),
520
- };
521
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
522
- switch (errorCode) {
523
- case "InternalServerException":
524
- case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
525
- throw await de_InternalServerExceptionRes(parsedOutput);
526
- case "ResourceNotFoundException":
527
- case "com.amazonaws.licensemanagerlinuxsubscriptions#ResourceNotFoundException":
528
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
529
- case "ThrottlingException":
530
- case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
531
- throw await de_ThrottlingExceptionRes(parsedOutput);
532
- case "ValidationException":
533
- case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
534
- throw await de_ValidationExceptionRes(parsedOutput);
535
- default:
536
- const parsedBody = parsedOutput.body;
537
- return throwDefaultError({
538
- output,
539
- parsedBody,
540
- errorCode,
541
- });
542
- }
543
- };
544
- const throwDefaultError = smithyClient.withBaseException(LicenseManagerLinuxSubscriptionsServiceException);
545
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
546
- const contents = smithyClient.map({});
547
- const data = parsedOutput.body;
548
- const doc = smithyClient.take(data, {
549
- message: smithyClient.expectString,
550
- });
551
- Object.assign(contents, doc);
552
- const exception = new InternalServerException({
553
- $metadata: deserializeMetadata(parsedOutput),
554
- ...contents,
555
- });
556
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
557
- };
558
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
559
- const contents = smithyClient.map({});
560
- const data = parsedOutput.body;
561
- const doc = smithyClient.take(data, {
562
- message: smithyClient.expectString,
563
- });
564
- Object.assign(contents, doc);
565
- const exception = new ResourceNotFoundException({
566
- $metadata: deserializeMetadata(parsedOutput),
567
- ...contents,
568
- });
569
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
570
- };
571
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
572
- const contents = smithyClient.map({});
573
- const data = parsedOutput.body;
574
- const doc = smithyClient.take(data, {
575
- message: smithyClient.expectString,
576
- });
577
- Object.assign(contents, doc);
578
- const exception = new ThrottlingException({
579
- $metadata: deserializeMetadata(parsedOutput),
580
- ...contents,
581
- });
582
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
583
- };
584
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
585
- const contents = smithyClient.map({});
586
- const data = parsedOutput.body;
587
- const doc = smithyClient.take(data, {
588
- message: smithyClient.expectString,
589
- });
590
- Object.assign(contents, doc);
591
- const exception = new ValidationException({
592
- $metadata: deserializeMetadata(parsedOutput),
593
- ...contents,
594
- });
595
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
596
- };
597
- const deserializeMetadata = (output) => ({
598
- httpStatusCode: output.statusCode,
599
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
600
- extendedRequestId: output.headers["x-amz-id-2"],
601
- cfId: output.headers["x-amz-cf-id"],
602
- });
196
+ const _AI = "AmiId";
197
+ const _AID = "AccountID";
198
+ const _AU = "AllowUpdate";
199
+ const _DS = "DualSubscription";
200
+ const _DSP = "DeregisterSubscriptionProvider";
201
+ const _DSPR = "DeregisterSubscriptionProviderRequest";
202
+ const _DSPRe = "DeregisterSubscriptionProviderResponse";
203
+ const _F = "Filter";
204
+ const _FL = "FilterList";
205
+ const _Fi = "Filters";
206
+ const _GRSP = "GetRegisteredSubscriptionProvider";
207
+ const _GRSPR = "GetRegisteredSubscriptionProviderRequest";
208
+ const _GRSPRe = "GetRegisteredSubscriptionProviderResponse";
209
+ const _GSS = "GetServiceSettings";
210
+ const _GSSR = "GetServiceSettingsRequest";
211
+ const _GSSRe = "GetServiceSettingsResponse";
212
+ const _HR = "HomeRegions";
213
+ const _I = "Instance";
214
+ const _IC = "InstanceCount";
215
+ const _IID = "InstanceID";
216
+ const _IL = "InstanceList";
217
+ const _ISE = "InternalServerException";
218
+ const _IT = "InstanceType";
219
+ const _In = "Instances";
220
+ const _LLS = "ListLinuxSubscriptions";
221
+ const _LLSI = "ListLinuxSubscriptionInstances";
222
+ const _LLSIR = "ListLinuxSubscriptionInstancesRequest";
223
+ const _LLSIRi = "ListLinuxSubscriptionInstancesResponse";
224
+ const _LLSR = "ListLinuxSubscriptionsRequest";
225
+ const _LLSRi = "ListLinuxSubscriptionsResponse";
226
+ const _LRSP = "ListRegisteredSubscriptionProviders";
227
+ const _LRSPR = "ListRegisteredSubscriptionProvidersRequest";
228
+ const _LRSPRi = "ListRegisteredSubscriptionProvidersResponse";
229
+ const _LSD = "LinuxSubscriptionsDiscovery";
230
+ const _LSDRT = "LastSuccessfulDataRetrievalTime";
231
+ const _LSDS = "LinuxSubscriptionsDiscoverySettings";
232
+ const _LTFR = "ListTagsForResource";
233
+ const _LTFRR = "ListTagsForResourceRequest";
234
+ const _LTFRRi = "ListTagsForResourceResponse";
235
+ const _LUT = "LastUpdatedTime";
236
+ const _MR = "MaxResults";
237
+ const _N = "Name";
238
+ const _NT = "NextToken";
239
+ const _O = "Operator";
240
+ const _OI = "OrganizationIntegration";
241
+ const _OV = "OsVersion";
242
+ const _PC = "ProductCode";
243
+ const _R = "Region";
244
+ const _RNFE = "ResourceNotFoundException";
245
+ const _RSP = "RegisteredSubscriptionProviders";
246
+ const _RSPL = "RegisteredSubscriptionProviderList";
247
+ const _RSPR = "RegisterSubscriptionProviderRequest";
248
+ const _RSPRe = "RegisterSubscriptionProviderResponse";
249
+ const _RSPe = "RegisteredSubscriptionProvider";
250
+ const _RSPeg = "RegisterSubscriptionProvider";
251
+ const _RWSP = "RegisteredWithSubscriptionProvider";
252
+ const _S = "Status";
253
+ const _SA = "SecretArn";
254
+ const _SL = "SubscriptionList";
255
+ const _SM = "StatusMessage";
256
+ const _SN = "SubscriptionName";
257
+ const _SPA = "SubscriptionProviderArn";
258
+ const _SPCT = "SubscriptionProviderCreateTime";
259
+ const _SPS = "SubscriptionProviderSource";
260
+ const _SPSM = "SubscriptionProviderStatusMessage";
261
+ const _SPSu = "SubscriptionProviderStatus";
262
+ const _SPSub = "SubscriptionProviderSources";
263
+ const _SPUT = "SubscriptionProviderUpdateTime";
264
+ const _SR = "SourceRegions";
265
+ const _Su = "Subscriptions";
266
+ const _Sub = "Subscription";
267
+ const _T = "Tags";
268
+ const _TE = "ThrottlingException";
269
+ const _TKL = "TagKeyList";
270
+ const _TR = "TagResource";
271
+ const _TRR = "TagResourceRequest";
272
+ const _TRRa = "TagResourceResponse";
273
+ const _Ty = "Type";
274
+ const _UO = "UsageOperation";
275
+ const _UR = "UntagResource";
276
+ const _URR = "UntagResourceRequest";
277
+ const _URRn = "UntagResourceResponse";
278
+ const _USS = "UpdateServiceSettings";
279
+ const _USSR = "UpdateServiceSettingsRequest";
280
+ const _USSRp = "UpdateServiceSettingsResponse";
281
+ const _V = "Values";
282
+ const _VE = "ValidationException";
283
+ const _c = "client";
284
+ const _e = "error";
285
+ const _h = "http";
286
+ const _hQ = "httpQuery";
287
+ const _m = "message";
288
+ const _rA = "resourceArn";
289
+ const _s = "server";
290
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.licensemanagerlinuxsubscriptions";
291
+ const _t = "tags";
603
292
  const _tK = "tagKeys";
293
+ const n0 = "com.amazonaws.licensemanagerlinuxsubscriptions";
294
+ var DeregisterSubscriptionProviderRequest = [3, n0, _DSPR, 0, [_SPA], [0]];
295
+ var DeregisterSubscriptionProviderResponse = [3, n0, _DSPRe, 0, [], []];
296
+ var Filter = [3, n0, _F, 0, [_N, _V, _O], [0, 64 | 0, 0]];
297
+ var GetRegisteredSubscriptionProviderRequest = [3, n0, _GRSPR, 0, [_SPA], [0]];
298
+ var GetRegisteredSubscriptionProviderResponse = [
299
+ 3,
300
+ n0,
301
+ _GRSPRe,
302
+ 0,
303
+ [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
304
+ [0, 0, 0, 0, 0, 0],
305
+ ];
306
+ var GetServiceSettingsRequest = [3, n0, _GSSR, 0, [], []];
307
+ var GetServiceSettingsResponse = [
308
+ 3,
309
+ n0,
310
+ _GSSRe,
311
+ 0,
312
+ [_LSD, _LSDS, _S, _SM, _HR],
313
+ [0, () => LinuxSubscriptionsDiscoverySettings, 0, 128 | 0, 64 | 0],
314
+ ];
315
+ var Instance = [
316
+ 3,
317
+ n0,
318
+ _I,
319
+ 0,
320
+ [_AI, _IID, _IT, _AID, _S, _R, _UO, _PC, _LUT, _SN, _OV, _SPCT, _SPUT, _DS, _RWSP],
321
+ [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 0],
322
+ ];
323
+ var InternalServerException = [
324
+ -3,
325
+ n0,
326
+ _ISE,
327
+ {
328
+ [_e]: _s,
329
+ },
330
+ [_m],
331
+ [0],
332
+ ];
333
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
334
+ var LinuxSubscriptionsDiscoverySettings = [3, n0, _LSDS, 0, [_SR, _OI], [64 | 0, 0]];
335
+ var ListLinuxSubscriptionInstancesRequest = [
336
+ 3,
337
+ n0,
338
+ _LLSIR,
339
+ 0,
340
+ [_Fi, _MR, _NT],
341
+ [() => FilterList, 1, 0],
342
+ ];
343
+ var ListLinuxSubscriptionInstancesResponse = [
344
+ 3,
345
+ n0,
346
+ _LLSIRi,
347
+ 0,
348
+ [_In, _NT],
349
+ [() => InstanceList, 0],
350
+ ];
351
+ var ListLinuxSubscriptionsRequest = [
352
+ 3,
353
+ n0,
354
+ _LLSR,
355
+ 0,
356
+ [_Fi, _MR, _NT],
357
+ [() => FilterList, 1, 0],
358
+ ];
359
+ var ListLinuxSubscriptionsResponse = [
360
+ 3,
361
+ n0,
362
+ _LLSRi,
363
+ 0,
364
+ [_Su, _NT],
365
+ [() => SubscriptionList, 0],
366
+ ];
367
+ var ListRegisteredSubscriptionProvidersRequest = [
368
+ 3,
369
+ n0,
370
+ _LRSPR,
371
+ 0,
372
+ [_SPSub, _MR, _NT],
373
+ [64 | 0, 1, 0],
374
+ ];
375
+ var ListRegisteredSubscriptionProvidersResponse = [
376
+ 3,
377
+ n0,
378
+ _LRSPRi,
379
+ 0,
380
+ [_RSP, _NT],
381
+ [() => RegisteredSubscriptionProviderList, 0],
382
+ ];
383
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
384
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [[() => Tags, 0]]];
385
+ var RegisteredSubscriptionProvider = [
386
+ 3,
387
+ n0,
388
+ _RSPe,
389
+ 0,
390
+ [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
391
+ [0, 0, 0, 0, 0, 0],
392
+ ];
393
+ var RegisterSubscriptionProviderRequest = [
394
+ 3,
395
+ n0,
396
+ _RSPR,
397
+ 0,
398
+ [_SPS, _SA, _T],
399
+ [0, 0, [() => Tags, 0]],
400
+ ];
401
+ var RegisterSubscriptionProviderResponse = [
402
+ 3,
403
+ n0,
404
+ _RSPRe,
405
+ 0,
406
+ [_SPS, _SPA, _SPSu],
407
+ [0, 0, 0],
408
+ ];
409
+ var ResourceNotFoundException = [
410
+ -3,
411
+ n0,
412
+ _RNFE,
413
+ {
414
+ [_e]: _c,
415
+ },
416
+ [_m],
417
+ [0],
418
+ ];
419
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
420
+ var Subscription = [3, n0, _Sub, 0, [_N, _Ty, _IC], [0, 0, 1]];
421
+ var TagResourceRequest = [
422
+ 3,
423
+ n0,
424
+ _TRR,
425
+ 0,
426
+ [_rA, _t],
427
+ [
428
+ [0, 1],
429
+ [() => Tags, 0],
430
+ ],
431
+ ];
432
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
433
+ var ThrottlingException = [
434
+ -3,
435
+ n0,
436
+ _TE,
437
+ {
438
+ [_e]: _c,
439
+ },
440
+ [_m],
441
+ [0],
442
+ ];
443
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
444
+ var UntagResourceRequest = [
445
+ 3,
446
+ n0,
447
+ _URR,
448
+ 0,
449
+ [_rA, _tK],
450
+ [
451
+ [0, 1],
452
+ [
453
+ () => TagKeyList,
454
+ {
455
+ [_hQ]: _tK,
456
+ },
457
+ ],
458
+ ],
459
+ ];
460
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
461
+ var UpdateServiceSettingsRequest = [
462
+ 3,
463
+ n0,
464
+ _USSR,
465
+ 0,
466
+ [_LSD, _LSDS, _AU],
467
+ [0, () => LinuxSubscriptionsDiscoverySettings, 2],
468
+ ];
469
+ var UpdateServiceSettingsResponse = [
470
+ 3,
471
+ n0,
472
+ _USSRp,
473
+ 0,
474
+ [_LSD, _LSDS, _S, _SM, _HR],
475
+ [0, () => LinuxSubscriptionsDiscoverySettings, 0, 128 | 0, 64 | 0],
476
+ ];
477
+ var ValidationException = [
478
+ -3,
479
+ n0,
480
+ _VE,
481
+ {
482
+ [_e]: _c,
483
+ },
484
+ [_m],
485
+ [0],
486
+ ];
487
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
488
+ var LicenseManagerLinuxSubscriptionsServiceException = [
489
+ -3,
490
+ _sm,
491
+ "LicenseManagerLinuxSubscriptionsServiceException",
492
+ 0,
493
+ [],
494
+ [],
495
+ ];
496
+ schema.TypeRegistry.for(_sm).registerError(LicenseManagerLinuxSubscriptionsServiceException, LicenseManagerLinuxSubscriptionsServiceException$1);
497
+ var FilterList = [1, n0, _FL, 0, () => Filter];
498
+ var InstanceList = [1, n0, _IL, 0, () => Instance];
499
+ var RegisteredSubscriptionProviderList = [
500
+ 1,
501
+ n0,
502
+ _RSPL,
503
+ 0,
504
+ () => RegisteredSubscriptionProvider,
505
+ ];
506
+ var SubscriptionList = [1, n0, _SL, 0, () => Subscription];
507
+ var TagKeyList = [1, n0, _TKL, 8, 0];
508
+ var Tags = [2, n0, _T, 8, 0, 0];
509
+ var DeregisterSubscriptionProvider = [
510
+ 9,
511
+ n0,
512
+ _DSP,
513
+ {
514
+ [_h]: ["POST", "/subscription/DeregisterSubscriptionProvider", 200],
515
+ },
516
+ () => DeregisterSubscriptionProviderRequest,
517
+ () => DeregisterSubscriptionProviderResponse,
518
+ ];
519
+ var GetRegisteredSubscriptionProvider = [
520
+ 9,
521
+ n0,
522
+ _GRSP,
523
+ {
524
+ [_h]: ["POST", "/subscription/GetRegisteredSubscriptionProvider", 200],
525
+ },
526
+ () => GetRegisteredSubscriptionProviderRequest,
527
+ () => GetRegisteredSubscriptionProviderResponse,
528
+ ];
529
+ var GetServiceSettings = [
530
+ 9,
531
+ n0,
532
+ _GSS,
533
+ {
534
+ [_h]: ["POST", "/subscription/GetServiceSettings", 200],
535
+ },
536
+ () => GetServiceSettingsRequest,
537
+ () => GetServiceSettingsResponse,
538
+ ];
539
+ var ListLinuxSubscriptionInstances = [
540
+ 9,
541
+ n0,
542
+ _LLSI,
543
+ {
544
+ [_h]: ["POST", "/subscription/ListLinuxSubscriptionInstances", 200],
545
+ },
546
+ () => ListLinuxSubscriptionInstancesRequest,
547
+ () => ListLinuxSubscriptionInstancesResponse,
548
+ ];
549
+ var ListLinuxSubscriptions = [
550
+ 9,
551
+ n0,
552
+ _LLS,
553
+ {
554
+ [_h]: ["POST", "/subscription/ListLinuxSubscriptions", 200],
555
+ },
556
+ () => ListLinuxSubscriptionsRequest,
557
+ () => ListLinuxSubscriptionsResponse,
558
+ ];
559
+ var ListRegisteredSubscriptionProviders = [
560
+ 9,
561
+ n0,
562
+ _LRSP,
563
+ {
564
+ [_h]: ["POST", "/subscription/ListRegisteredSubscriptionProviders", 200],
565
+ },
566
+ () => ListRegisteredSubscriptionProvidersRequest,
567
+ () => ListRegisteredSubscriptionProvidersResponse,
568
+ ];
569
+ var ListTagsForResource = [
570
+ 9,
571
+ n0,
572
+ _LTFR,
573
+ {
574
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
575
+ },
576
+ () => ListTagsForResourceRequest,
577
+ () => ListTagsForResourceResponse,
578
+ ];
579
+ var RegisterSubscriptionProvider = [
580
+ 9,
581
+ n0,
582
+ _RSPeg,
583
+ {
584
+ [_h]: ["POST", "/subscription/RegisterSubscriptionProvider", 200],
585
+ },
586
+ () => RegisterSubscriptionProviderRequest,
587
+ () => RegisterSubscriptionProviderResponse,
588
+ ];
589
+ var TagResource = [
590
+ 9,
591
+ n0,
592
+ _TR,
593
+ {
594
+ [_h]: ["PUT", "/tags/{resourceArn}", 200],
595
+ },
596
+ () => TagResourceRequest,
597
+ () => TagResourceResponse,
598
+ ];
599
+ var UntagResource = [
600
+ 9,
601
+ n0,
602
+ _UR,
603
+ {
604
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
605
+ },
606
+ () => UntagResourceRequest,
607
+ () => UntagResourceResponse,
608
+ ];
609
+ var UpdateServiceSettings = [
610
+ 9,
611
+ n0,
612
+ _USS,
613
+ {
614
+ [_h]: ["POST", "/subscription/UpdateServiceSettings", 200],
615
+ },
616
+ () => UpdateServiceSettingsRequest,
617
+ () => UpdateServiceSettingsResponse,
618
+ ];
604
619
 
605
620
  class DeregisterSubscriptionProviderCommand extends smithyClient.Command
606
621
  .classBuilder()
607
622
  .ep(commonParams)
608
623
  .m(function (Command, cs, config, o) {
609
- return [
610
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
611
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
612
- ];
624
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
613
625
  })
614
626
  .s("LicenseManagerLinuxSubscriptions", "DeregisterSubscriptionProvider", {})
615
627
  .n("LicenseManagerLinuxSubscriptionsClient", "DeregisterSubscriptionProviderCommand")
616
- .f(void 0, void 0)
617
- .ser(se_DeregisterSubscriptionProviderCommand)
618
- .de(de_DeregisterSubscriptionProviderCommand)
628
+ .sc(DeregisterSubscriptionProvider)
619
629
  .build() {
620
630
  }
621
631
 
@@ -623,16 +633,11 @@ class GetRegisteredSubscriptionProviderCommand extends smithyClient.Command
623
633
  .classBuilder()
624
634
  .ep(commonParams)
625
635
  .m(function (Command, cs, config, o) {
626
- return [
627
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
628
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
629
- ];
636
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
630
637
  })
631
638
  .s("LicenseManagerLinuxSubscriptions", "GetRegisteredSubscriptionProvider", {})
632
639
  .n("LicenseManagerLinuxSubscriptionsClient", "GetRegisteredSubscriptionProviderCommand")
633
- .f(void 0, void 0)
634
- .ser(se_GetRegisteredSubscriptionProviderCommand)
635
- .de(de_GetRegisteredSubscriptionProviderCommand)
640
+ .sc(GetRegisteredSubscriptionProvider)
636
641
  .build() {
637
642
  }
638
643
 
@@ -640,16 +645,11 @@ class GetServiceSettingsCommand extends smithyClient.Command
640
645
  .classBuilder()
641
646
  .ep(commonParams)
642
647
  .m(function (Command, cs, config, o) {
643
- return [
644
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
645
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
646
- ];
648
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
647
649
  })
648
650
  .s("LicenseManagerLinuxSubscriptions", "GetServiceSettings", {})
649
651
  .n("LicenseManagerLinuxSubscriptionsClient", "GetServiceSettingsCommand")
650
- .f(void 0, void 0)
651
- .ser(se_GetServiceSettingsCommand)
652
- .de(de_GetServiceSettingsCommand)
652
+ .sc(GetServiceSettings)
653
653
  .build() {
654
654
  }
655
655
 
@@ -657,16 +657,11 @@ class ListLinuxSubscriptionInstancesCommand extends smithyClient.Command
657
657
  .classBuilder()
658
658
  .ep(commonParams)
659
659
  .m(function (Command, cs, config, o) {
660
- return [
661
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
662
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
663
- ];
660
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
664
661
  })
665
662
  .s("LicenseManagerLinuxSubscriptions", "ListLinuxSubscriptionInstances", {})
666
663
  .n("LicenseManagerLinuxSubscriptionsClient", "ListLinuxSubscriptionInstancesCommand")
667
- .f(void 0, void 0)
668
- .ser(se_ListLinuxSubscriptionInstancesCommand)
669
- .de(de_ListLinuxSubscriptionInstancesCommand)
664
+ .sc(ListLinuxSubscriptionInstances)
670
665
  .build() {
671
666
  }
672
667
 
@@ -674,16 +669,11 @@ class ListLinuxSubscriptionsCommand extends smithyClient.Command
674
669
  .classBuilder()
675
670
  .ep(commonParams)
676
671
  .m(function (Command, cs, config, o) {
677
- return [
678
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
679
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
680
- ];
672
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
681
673
  })
682
674
  .s("LicenseManagerLinuxSubscriptions", "ListLinuxSubscriptions", {})
683
675
  .n("LicenseManagerLinuxSubscriptionsClient", "ListLinuxSubscriptionsCommand")
684
- .f(void 0, void 0)
685
- .ser(se_ListLinuxSubscriptionsCommand)
686
- .de(de_ListLinuxSubscriptionsCommand)
676
+ .sc(ListLinuxSubscriptions)
687
677
  .build() {
688
678
  }
689
679
 
@@ -691,16 +681,11 @@ class ListRegisteredSubscriptionProvidersCommand extends smithyClient.Command
691
681
  .classBuilder()
692
682
  .ep(commonParams)
693
683
  .m(function (Command, cs, config, o) {
694
- return [
695
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
696
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
697
- ];
684
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
698
685
  })
699
686
  .s("LicenseManagerLinuxSubscriptions", "ListRegisteredSubscriptionProviders", {})
700
687
  .n("LicenseManagerLinuxSubscriptionsClient", "ListRegisteredSubscriptionProvidersCommand")
701
- .f(void 0, void 0)
702
- .ser(se_ListRegisteredSubscriptionProvidersCommand)
703
- .de(de_ListRegisteredSubscriptionProvidersCommand)
688
+ .sc(ListRegisteredSubscriptionProviders)
704
689
  .build() {
705
690
  }
706
691
 
@@ -708,16 +693,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
708
693
  .classBuilder()
709
694
  .ep(commonParams)
710
695
  .m(function (Command, cs, config, o) {
711
- return [
712
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
713
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
714
- ];
696
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
715
697
  })
716
698
  .s("LicenseManagerLinuxSubscriptions", "ListTagsForResource", {})
717
699
  .n("LicenseManagerLinuxSubscriptionsClient", "ListTagsForResourceCommand")
718
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
719
- .ser(se_ListTagsForResourceCommand)
720
- .de(de_ListTagsForResourceCommand)
700
+ .sc(ListTagsForResource)
721
701
  .build() {
722
702
  }
723
703
 
@@ -725,16 +705,11 @@ class RegisterSubscriptionProviderCommand extends smithyClient.Command
725
705
  .classBuilder()
726
706
  .ep(commonParams)
727
707
  .m(function (Command, cs, config, o) {
728
- return [
729
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
730
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
731
- ];
708
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
732
709
  })
733
710
  .s("LicenseManagerLinuxSubscriptions", "RegisterSubscriptionProvider", {})
734
711
  .n("LicenseManagerLinuxSubscriptionsClient", "RegisterSubscriptionProviderCommand")
735
- .f(RegisterSubscriptionProviderRequestFilterSensitiveLog, void 0)
736
- .ser(se_RegisterSubscriptionProviderCommand)
737
- .de(de_RegisterSubscriptionProviderCommand)
712
+ .sc(RegisterSubscriptionProvider)
738
713
  .build() {
739
714
  }
740
715
 
@@ -742,16 +717,11 @@ class TagResourceCommand extends smithyClient.Command
742
717
  .classBuilder()
743
718
  .ep(commonParams)
744
719
  .m(function (Command, cs, config, o) {
745
- return [
746
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
747
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
748
- ];
720
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
749
721
  })
750
722
  .s("LicenseManagerLinuxSubscriptions", "TagResource", {})
751
723
  .n("LicenseManagerLinuxSubscriptionsClient", "TagResourceCommand")
752
- .f(TagResourceRequestFilterSensitiveLog, void 0)
753
- .ser(se_TagResourceCommand)
754
- .de(de_TagResourceCommand)
724
+ .sc(TagResource)
755
725
  .build() {
756
726
  }
757
727
 
@@ -759,16 +729,11 @@ class UntagResourceCommand extends smithyClient.Command
759
729
  .classBuilder()
760
730
  .ep(commonParams)
761
731
  .m(function (Command, cs, config, o) {
762
- return [
763
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
764
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
765
- ];
732
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
766
733
  })
767
734
  .s("LicenseManagerLinuxSubscriptions", "UntagResource", {})
768
735
  .n("LicenseManagerLinuxSubscriptionsClient", "UntagResourceCommand")
769
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
770
- .ser(se_UntagResourceCommand)
771
- .de(de_UntagResourceCommand)
736
+ .sc(UntagResource)
772
737
  .build() {
773
738
  }
774
739
 
@@ -776,16 +741,11 @@ class UpdateServiceSettingsCommand extends smithyClient.Command
776
741
  .classBuilder()
777
742
  .ep(commonParams)
778
743
  .m(function (Command, cs, config, o) {
779
- return [
780
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
781
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
782
- ];
744
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
783
745
  })
784
746
  .s("LicenseManagerLinuxSubscriptions", "UpdateServiceSettings", {})
785
747
  .n("LicenseManagerLinuxSubscriptionsClient", "UpdateServiceSettingsCommand")
786
- .f(void 0, void 0)
787
- .ser(se_UpdateServiceSettingsCommand)
788
- .de(de_UpdateServiceSettingsCommand)
748
+ .sc(UpdateServiceSettings)
789
749
  .build() {
790
750
  }
791
751
 
@@ -823,31 +783,27 @@ Object.defineProperty(exports, "__Client", {
823
783
  exports.DeregisterSubscriptionProviderCommand = DeregisterSubscriptionProviderCommand;
824
784
  exports.GetRegisteredSubscriptionProviderCommand = GetRegisteredSubscriptionProviderCommand;
825
785
  exports.GetServiceSettingsCommand = GetServiceSettingsCommand;
826
- exports.InternalServerException = InternalServerException;
786
+ exports.InternalServerException = InternalServerException$1;
827
787
  exports.LicenseManagerLinuxSubscriptions = LicenseManagerLinuxSubscriptions;
828
788
  exports.LicenseManagerLinuxSubscriptionsClient = LicenseManagerLinuxSubscriptionsClient;
829
- exports.LicenseManagerLinuxSubscriptionsServiceException = LicenseManagerLinuxSubscriptionsServiceException;
789
+ exports.LicenseManagerLinuxSubscriptionsServiceException = LicenseManagerLinuxSubscriptionsServiceException$1;
830
790
  exports.LinuxSubscriptionsDiscovery = LinuxSubscriptionsDiscovery;
831
791
  exports.ListLinuxSubscriptionInstancesCommand = ListLinuxSubscriptionInstancesCommand;
832
792
  exports.ListLinuxSubscriptionsCommand = ListLinuxSubscriptionsCommand;
833
793
  exports.ListRegisteredSubscriptionProvidersCommand = ListRegisteredSubscriptionProvidersCommand;
834
794
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
835
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
836
795
  exports.Operator = Operator;
837
796
  exports.OrganizationIntegration = OrganizationIntegration;
838
797
  exports.RegisterSubscriptionProviderCommand = RegisterSubscriptionProviderCommand;
839
- exports.RegisterSubscriptionProviderRequestFilterSensitiveLog = RegisterSubscriptionProviderRequestFilterSensitiveLog;
840
- exports.ResourceNotFoundException = ResourceNotFoundException;
798
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
841
799
  exports.Status = Status;
842
800
  exports.SubscriptionProviderSource = SubscriptionProviderSource;
843
801
  exports.SubscriptionProviderStatus = SubscriptionProviderStatus;
844
802
  exports.TagResourceCommand = TagResourceCommand;
845
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
846
- exports.ThrottlingException = ThrottlingException;
803
+ exports.ThrottlingException = ThrottlingException$1;
847
804
  exports.UntagResourceCommand = UntagResourceCommand;
848
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
849
805
  exports.UpdateServiceSettingsCommand = UpdateServiceSettingsCommand;
850
- exports.ValidationException = ValidationException;
806
+ exports.ValidationException = ValidationException$1;
851
807
  exports.paginateListLinuxSubscriptionInstances = paginateListLinuxSubscriptionInstances;
852
808
  exports.paginateListLinuxSubscriptions = paginateListLinuxSubscriptions;
853
809
  exports.paginateListRegisteredSubscriptionProviders = paginateListRegisteredSubscriptionProviders;