@aws-sdk/client-license-manager-linux-subscriptions 3.613.0 → 3.616.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 (53) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +489 -61
  3. package/dist-es/LicenseManagerLinuxSubscriptions.js +14 -0
  4. package/dist-es/LicenseManagerLinuxSubscriptionsClient.js +5 -5
  5. package/dist-es/commands/DeregisterSubscriptionProviderCommand.js +24 -0
  6. package/dist-es/commands/GetRegisteredSubscriptionProviderCommand.js +24 -0
  7. package/dist-es/commands/ListRegisteredSubscriptionProvidersCommand.js +24 -0
  8. package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
  9. package/dist-es/commands/RegisterSubscriptionProviderCommand.js +25 -0
  10. package/dist-es/commands/TagResourceCommand.js +25 -0
  11. package/dist-es/commands/UntagResourceCommand.js +25 -0
  12. package/dist-es/commands/index.js +7 -0
  13. package/dist-es/models/models_0.js +56 -19
  14. package/dist-es/pagination/ListRegisteredSubscriptionProvidersPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_restJson1.js +206 -1
  17. package/dist-types/LicenseManagerLinuxSubscriptions.d.ts +50 -0
  18. package/dist-types/LicenseManagerLinuxSubscriptionsClient.d.ts +11 -4
  19. package/dist-types/commands/DeregisterSubscriptionProviderCommand.d.ts +71 -0
  20. package/dist-types/commands/GetRegisteredSubscriptionProviderCommand.d.ts +77 -0
  21. package/dist-types/commands/GetServiceSettingsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListLinuxSubscriptionInstancesCommand.d.ts +5 -0
  23. package/dist-types/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +83 -0
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +72 -0
  25. package/dist-types/commands/RegisterSubscriptionProviderCommand.d.ts +75 -0
  26. package/dist-types/commands/TagResourceCommand.d.ts +70 -0
  27. package/dist-types/commands/UntagResourceCommand.d.ts +67 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +420 -56
  30. package/dist-types/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/runtimeConfig.d.ts +1 -1
  35. package/dist-types/runtimeConfig.native.d.ts +1 -1
  36. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptions.d.ts +132 -0
  37. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptionsClient.d.ts +44 -2
  38. package/dist-types/ts3.4/commands/DeregisterSubscriptionProviderCommand.d.ts +40 -0
  39. package/dist-types/ts3.4/commands/GetRegisteredSubscriptionProviderCommand.d.ts +40 -0
  40. package/dist-types/ts3.4/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +40 -0
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  42. package/dist-types/ts3.4/commands/RegisterSubscriptionProviderCommand.d.ts +40 -0
  43. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +115 -21
  47. package/dist-types/ts3.4/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  53. package/package.json +24 -24
package/dist-cjs/index.js CHANGED
@@ -21,6 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ DeregisterSubscriptionProviderCommand: () => DeregisterSubscriptionProviderCommand,
25
+ GetRegisteredSubscriptionProviderCommand: () => GetRegisteredSubscriptionProviderCommand,
24
26
  GetServiceSettingsCommand: () => GetServiceSettingsCommand,
25
27
  InternalServerException: () => InternalServerException,
26
28
  LicenseManagerLinuxSubscriptions: () => LicenseManagerLinuxSubscriptions,
@@ -29,15 +31,28 @@ __export(src_exports, {
29
31
  LinuxSubscriptionsDiscovery: () => LinuxSubscriptionsDiscovery,
30
32
  ListLinuxSubscriptionInstancesCommand: () => ListLinuxSubscriptionInstancesCommand,
31
33
  ListLinuxSubscriptionsCommand: () => ListLinuxSubscriptionsCommand,
34
+ ListRegisteredSubscriptionProvidersCommand: () => ListRegisteredSubscriptionProvidersCommand,
35
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
36
+ ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
32
37
  Operator: () => Operator,
33
38
  OrganizationIntegration: () => OrganizationIntegration,
39
+ RegisterSubscriptionProviderCommand: () => RegisterSubscriptionProviderCommand,
40
+ RegisterSubscriptionProviderRequestFilterSensitiveLog: () => RegisterSubscriptionProviderRequestFilterSensitiveLog,
41
+ ResourceNotFoundException: () => ResourceNotFoundException,
34
42
  Status: () => Status,
43
+ SubscriptionProviderSource: () => SubscriptionProviderSource,
44
+ SubscriptionProviderStatus: () => SubscriptionProviderStatus,
45
+ TagResourceCommand: () => TagResourceCommand,
46
+ TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
35
47
  ThrottlingException: () => ThrottlingException,
48
+ UntagResourceCommand: () => UntagResourceCommand,
49
+ UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog,
36
50
  UpdateServiceSettingsCommand: () => UpdateServiceSettingsCommand,
37
51
  ValidationException: () => ValidationException,
38
52
  __Client: () => import_smithy_client.Client,
39
53
  paginateListLinuxSubscriptionInstances: () => paginateListLinuxSubscriptionInstances,
40
- paginateListLinuxSubscriptions: () => paginateListLinuxSubscriptions
54
+ paginateListLinuxSubscriptions: () => paginateListLinuxSubscriptions,
55
+ paginateListRegisteredSubscriptionProviders: () => paginateListRegisteredSubscriptionProviders
41
56
  });
42
57
  module.exports = __toCommonJS(src_exports);
43
58
 
@@ -143,19 +158,19 @@ var _LicenseManagerLinuxSubscriptionsClient = class _LicenseManagerLinuxSubscrip
143
158
  const _config_1 = resolveClientEndpointParameters(_config_0);
144
159
  const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
145
160
  const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
146
- const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
147
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
148
- const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
161
+ const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
162
+ const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
163
+ const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
149
164
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
150
165
  const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
151
166
  super(_config_8);
152
167
  this.config = _config_8;
153
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
154
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
155
168
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
156
169
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
157
170
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
158
171
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
172
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
173
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
159
174
  this.middlewareStack.use(
160
175
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
161
176
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
@@ -187,7 +202,7 @@ var LicenseManagerLinuxSubscriptionsClient = _LicenseManagerLinuxSubscriptionsCl
187
202
  // src/LicenseManagerLinuxSubscriptions.ts
188
203
 
189
204
 
190
- // src/commands/GetServiceSettingsCommand.ts
205
+ // src/commands/DeregisterSubscriptionProviderCommand.ts
191
206
 
192
207
  var import_middleware_serde = require("@smithy/middleware-serde");
193
208
 
@@ -212,6 +227,75 @@ __name(_LicenseManagerLinuxSubscriptionsServiceException, "LicenseManagerLinuxSu
212
227
  var LicenseManagerLinuxSubscriptionsServiceException = _LicenseManagerLinuxSubscriptionsServiceException;
213
228
 
214
229
  // src/models/models_0.ts
230
+
231
+ var _InternalServerException = class _InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException {
232
+ /**
233
+ * @internal
234
+ */
235
+ constructor(opts) {
236
+ super({
237
+ name: "InternalServerException",
238
+ $fault: "server",
239
+ ...opts
240
+ });
241
+ this.name = "InternalServerException";
242
+ this.$fault = "server";
243
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
244
+ }
245
+ };
246
+ __name(_InternalServerException, "InternalServerException");
247
+ var InternalServerException = _InternalServerException;
248
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceException {
249
+ /**
250
+ * @internal
251
+ */
252
+ constructor(opts) {
253
+ super({
254
+ name: "ResourceNotFoundException",
255
+ $fault: "client",
256
+ ...opts
257
+ });
258
+ this.name = "ResourceNotFoundException";
259
+ this.$fault = "client";
260
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
261
+ }
262
+ };
263
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
264
+ var ResourceNotFoundException = _ResourceNotFoundException;
265
+ var _ThrottlingException = class _ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException {
266
+ /**
267
+ * @internal
268
+ */
269
+ constructor(opts) {
270
+ super({
271
+ name: "ThrottlingException",
272
+ $fault: "client",
273
+ ...opts
274
+ });
275
+ this.name = "ThrottlingException";
276
+ this.$fault = "client";
277
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
278
+ }
279
+ };
280
+ __name(_ThrottlingException, "ThrottlingException");
281
+ var ThrottlingException = _ThrottlingException;
282
+ var _ValidationException = class _ValidationException extends LicenseManagerLinuxSubscriptionsServiceException {
283
+ /**
284
+ * @internal
285
+ */
286
+ constructor(opts) {
287
+ super({
288
+ name: "ValidationException",
289
+ $fault: "client",
290
+ ...opts
291
+ });
292
+ this.name = "ValidationException";
293
+ this.$fault = "client";
294
+ Object.setPrototypeOf(this, _ValidationException.prototype);
295
+ }
296
+ };
297
+ __name(_ValidationException, "ValidationException");
298
+ var ValidationException = _ValidationException;
215
299
  var Operator = {
216
300
  /**
217
301
  * Contains operator
@@ -226,6 +310,26 @@ var Operator = {
226
310
  */
227
311
  NOT_EQUAL: "NotEqual"
228
312
  };
313
+ var SubscriptionProviderSource = {
314
+ /**
315
+ * RedHat subscription provider namespace
316
+ */
317
+ RedHat: "RedHat"
318
+ };
319
+ var SubscriptionProviderStatus = {
320
+ /**
321
+ * ACTIVE status
322
+ */
323
+ ACTIVE: "ACTIVE",
324
+ /**
325
+ * INVALID status
326
+ */
327
+ INVALID: "INVALID",
328
+ /**
329
+ * PENDING status
330
+ */
331
+ PENDING: "PENDING"
332
+ };
229
333
  var LinuxSubscriptionsDiscovery = {
230
334
  /**
231
335
  * Disabled LinuxSubscriptionsDiscovery
@@ -264,59 +368,54 @@ var Status = {
264
368
  */
265
369
  Successful: "Successful"
266
370
  };
267
- var _InternalServerException = class _InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException {
268
- /**
269
- * @internal
270
- */
271
- constructor(opts) {
272
- super({
273
- name: "InternalServerException",
274
- $fault: "server",
275
- ...opts
276
- });
277
- this.name = "InternalServerException";
278
- this.$fault = "server";
279
- Object.setPrototypeOf(this, _InternalServerException.prototype);
280
- }
281
- };
282
- __name(_InternalServerException, "InternalServerException");
283
- var InternalServerException = _InternalServerException;
284
- var _ThrottlingException = class _ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException {
285
- /**
286
- * @internal
287
- */
288
- constructor(opts) {
289
- super({
290
- name: "ThrottlingException",
291
- $fault: "client",
292
- ...opts
293
- });
294
- this.name = "ThrottlingException";
295
- this.$fault = "client";
296
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
297
- }
298
- };
299
- __name(_ThrottlingException, "ThrottlingException");
300
- var ThrottlingException = _ThrottlingException;
301
- var _ValidationException = class _ValidationException extends LicenseManagerLinuxSubscriptionsServiceException {
302
- /**
303
- * @internal
304
- */
305
- constructor(opts) {
306
- super({
307
- name: "ValidationException",
308
- $fault: "client",
309
- ...opts
310
- });
311
- this.name = "ValidationException";
312
- this.$fault = "client";
313
- Object.setPrototypeOf(this, _ValidationException.prototype);
314
- }
315
- };
316
- __name(_ValidationException, "ValidationException");
317
- var ValidationException = _ValidationException;
371
+ var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
372
+ ...obj,
373
+ ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
374
+ }), "ListTagsForResourceResponseFilterSensitiveLog");
375
+ var RegisterSubscriptionProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
376
+ ...obj,
377
+ ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
378
+ }), "RegisterSubscriptionProviderRequestFilterSensitiveLog");
379
+ var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
380
+ ...obj,
381
+ ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
382
+ }), "TagResourceRequestFilterSensitiveLog");
383
+ var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
384
+ ...obj,
385
+ ...obj.tagKeys && { tagKeys: import_smithy_client.SENSITIVE_STRING }
386
+ }), "UntagResourceRequestFilterSensitiveLog");
318
387
 
319
388
  // src/protocols/Aws_restJson1.ts
389
+ var se_DeregisterSubscriptionProviderCommand = /* @__PURE__ */ __name(async (input, context) => {
390
+ const b = (0, import_core.requestBuilder)(input, context);
391
+ const headers = {
392
+ "content-type": "application/json"
393
+ };
394
+ b.bp("/subscription/DeregisterSubscriptionProvider");
395
+ let body;
396
+ body = JSON.stringify(
397
+ (0, import_smithy_client.take)(input, {
398
+ SubscriptionProviderArn: []
399
+ })
400
+ );
401
+ b.m("POST").h(headers).b(body);
402
+ return b.build();
403
+ }, "se_DeregisterSubscriptionProviderCommand");
404
+ var se_GetRegisteredSubscriptionProviderCommand = /* @__PURE__ */ __name(async (input, context) => {
405
+ const b = (0, import_core.requestBuilder)(input, context);
406
+ const headers = {
407
+ "content-type": "application/json"
408
+ };
409
+ b.bp("/subscription/GetRegisteredSubscriptionProvider");
410
+ let body;
411
+ body = JSON.stringify(
412
+ (0, import_smithy_client.take)(input, {
413
+ SubscriptionProviderArn: []
414
+ })
415
+ );
416
+ b.m("POST").h(headers).b(body);
417
+ return b.build();
418
+ }, "se_GetRegisteredSubscriptionProviderCommand");
320
419
  var se_GetServiceSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
321
420
  const b = (0, import_core.requestBuilder)(input, context);
322
421
  const headers = {};
@@ -359,6 +458,80 @@ var se_ListLinuxSubscriptionsCommand = /* @__PURE__ */ __name(async (input, cont
359
458
  b.m("POST").h(headers).b(body);
360
459
  return b.build();
361
460
  }, "se_ListLinuxSubscriptionsCommand");
461
+ var se_ListRegisteredSubscriptionProvidersCommand = /* @__PURE__ */ __name(async (input, context) => {
462
+ const b = (0, import_core.requestBuilder)(input, context);
463
+ const headers = {
464
+ "content-type": "application/json"
465
+ };
466
+ b.bp("/subscription/ListRegisteredSubscriptionProviders");
467
+ let body;
468
+ body = JSON.stringify(
469
+ (0, import_smithy_client.take)(input, {
470
+ MaxResults: [],
471
+ NextToken: [],
472
+ SubscriptionProviderSources: (_) => (0, import_smithy_client._json)(_)
473
+ })
474
+ );
475
+ b.m("POST").h(headers).b(body);
476
+ return b.build();
477
+ }, "se_ListRegisteredSubscriptionProvidersCommand");
478
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
479
+ const b = (0, import_core.requestBuilder)(input, context);
480
+ const headers = {};
481
+ b.bp("/tags/{resourceArn}");
482
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
483
+ let body;
484
+ b.m("GET").h(headers).b(body);
485
+ return b.build();
486
+ }, "se_ListTagsForResourceCommand");
487
+ var se_RegisterSubscriptionProviderCommand = /* @__PURE__ */ __name(async (input, context) => {
488
+ const b = (0, import_core.requestBuilder)(input, context);
489
+ const headers = {
490
+ "content-type": "application/json"
491
+ };
492
+ b.bp("/subscription/RegisterSubscriptionProvider");
493
+ let body;
494
+ body = JSON.stringify(
495
+ (0, import_smithy_client.take)(input, {
496
+ SecretArn: [],
497
+ SubscriptionProviderSource: [],
498
+ Tags: (_) => (0, import_smithy_client._json)(_)
499
+ })
500
+ );
501
+ b.m("POST").h(headers).b(body);
502
+ return b.build();
503
+ }, "se_RegisterSubscriptionProviderCommand");
504
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
505
+ const b = (0, import_core.requestBuilder)(input, context);
506
+ const headers = {
507
+ "content-type": "application/json"
508
+ };
509
+ b.bp("/tags/{resourceArn}");
510
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
511
+ let body;
512
+ body = JSON.stringify(
513
+ (0, import_smithy_client.take)(input, {
514
+ tags: (_) => (0, import_smithy_client._json)(_)
515
+ })
516
+ );
517
+ b.m("PUT").h(headers).b(body);
518
+ return b.build();
519
+ }, "se_TagResourceCommand");
520
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
521
+ const b = (0, import_core.requestBuilder)(input, context);
522
+ const headers = {};
523
+ b.bp("/tags/{resourceArn}");
524
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
525
+ const query = (0, import_smithy_client.map)({
526
+ [_tK]: [
527
+ (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
528
+ () => (input[_tK] || []).map((_entry) => _entry)
529
+ ]
530
+ });
531
+ let body;
532
+ b.m("DELETE").h(headers).q(query).b(body);
533
+ return b.build();
534
+ }, "se_UntagResourceCommand");
362
535
  var se_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
363
536
  const b = (0, import_core.requestBuilder)(input, context);
364
537
  const headers = {
@@ -376,6 +549,35 @@ var se_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (input, conte
376
549
  b.m("POST").h(headers).b(body);
377
550
  return b.build();
378
551
  }, "se_UpdateServiceSettingsCommand");
552
+ var de_DeregisterSubscriptionProviderCommand = /* @__PURE__ */ __name(async (output, context) => {
553
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
554
+ return de_CommandError(output, context);
555
+ }
556
+ const contents = (0, import_smithy_client.map)({
557
+ $metadata: deserializeMetadata(output)
558
+ });
559
+ await (0, import_smithy_client.collectBody)(output.body, context);
560
+ return contents;
561
+ }, "de_DeregisterSubscriptionProviderCommand");
562
+ var de_GetRegisteredSubscriptionProviderCommand = /* @__PURE__ */ __name(async (output, context) => {
563
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
564
+ return de_CommandError(output, context);
565
+ }
566
+ const contents = (0, import_smithy_client.map)({
567
+ $metadata: deserializeMetadata(output)
568
+ });
569
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
570
+ const doc = (0, import_smithy_client.take)(data, {
571
+ LastSuccessfulDataRetrievalTime: import_smithy_client.expectString,
572
+ SecretArn: import_smithy_client.expectString,
573
+ SubscriptionProviderArn: import_smithy_client.expectString,
574
+ SubscriptionProviderSource: import_smithy_client.expectString,
575
+ SubscriptionProviderStatus: import_smithy_client.expectString,
576
+ SubscriptionProviderStatusMessage: import_smithy_client.expectString
577
+ });
578
+ Object.assign(contents, doc);
579
+ return contents;
580
+ }, "de_GetRegisteredSubscriptionProviderCommand");
379
581
  var de_GetServiceSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
380
582
  if (output.statusCode !== 200 && output.statusCode >= 300) {
381
583
  return de_CommandError(output, context);
@@ -424,6 +626,71 @@ var de_ListLinuxSubscriptionsCommand = /* @__PURE__ */ __name(async (output, con
424
626
  Object.assign(contents, doc);
425
627
  return contents;
426
628
  }, "de_ListLinuxSubscriptionsCommand");
629
+ var de_ListRegisteredSubscriptionProvidersCommand = /* @__PURE__ */ __name(async (output, context) => {
630
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
631
+ return de_CommandError(output, context);
632
+ }
633
+ const contents = (0, import_smithy_client.map)({
634
+ $metadata: deserializeMetadata(output)
635
+ });
636
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
637
+ const doc = (0, import_smithy_client.take)(data, {
638
+ NextToken: import_smithy_client.expectString,
639
+ RegisteredSubscriptionProviders: import_smithy_client._json
640
+ });
641
+ Object.assign(contents, doc);
642
+ return contents;
643
+ }, "de_ListRegisteredSubscriptionProvidersCommand");
644
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
645
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
646
+ return de_CommandError(output, context);
647
+ }
648
+ const contents = (0, import_smithy_client.map)({
649
+ $metadata: deserializeMetadata(output)
650
+ });
651
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
652
+ const doc = (0, import_smithy_client.take)(data, {
653
+ tags: import_smithy_client._json
654
+ });
655
+ Object.assign(contents, doc);
656
+ return contents;
657
+ }, "de_ListTagsForResourceCommand");
658
+ var de_RegisterSubscriptionProviderCommand = /* @__PURE__ */ __name(async (output, context) => {
659
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
660
+ return de_CommandError(output, context);
661
+ }
662
+ const contents = (0, import_smithy_client.map)({
663
+ $metadata: deserializeMetadata(output)
664
+ });
665
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
666
+ const doc = (0, import_smithy_client.take)(data, {
667
+ SubscriptionProviderArn: import_smithy_client.expectString,
668
+ SubscriptionProviderSource: import_smithy_client.expectString,
669
+ SubscriptionProviderStatus: import_smithy_client.expectString
670
+ });
671
+ Object.assign(contents, doc);
672
+ return contents;
673
+ }, "de_RegisterSubscriptionProviderCommand");
674
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
675
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
676
+ return de_CommandError(output, context);
677
+ }
678
+ const contents = (0, import_smithy_client.map)({
679
+ $metadata: deserializeMetadata(output)
680
+ });
681
+ await (0, import_smithy_client.collectBody)(output.body, context);
682
+ return contents;
683
+ }, "de_TagResourceCommand");
684
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
685
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
686
+ return de_CommandError(output, context);
687
+ }
688
+ const contents = (0, import_smithy_client.map)({
689
+ $metadata: deserializeMetadata(output)
690
+ });
691
+ await (0, import_smithy_client.collectBody)(output.body, context);
692
+ return contents;
693
+ }, "de_UntagResourceCommand");
427
694
  var de_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
428
695
  if (output.statusCode !== 200 && output.statusCode >= 300) {
429
696
  return de_CommandError(output, context);
@@ -452,6 +719,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
452
719
  case "InternalServerException":
453
720
  case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
454
721
  throw await de_InternalServerExceptionRes(parsedOutput, context);
722
+ case "ResourceNotFoundException":
723
+ case "com.amazonaws.licensemanagerlinuxsubscriptions#ResourceNotFoundException":
724
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
455
725
  case "ThrottlingException":
456
726
  case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
457
727
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -481,6 +751,19 @@ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
481
751
  });
482
752
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
483
753
  }, "de_InternalServerExceptionRes");
754
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
755
+ const contents = (0, import_smithy_client.map)({});
756
+ const data = parsedOutput.body;
757
+ const doc = (0, import_smithy_client.take)(data, {
758
+ message: import_smithy_client.expectString
759
+ });
760
+ Object.assign(contents, doc);
761
+ const exception = new ResourceNotFoundException({
762
+ $metadata: deserializeMetadata(parsedOutput),
763
+ ...contents
764
+ });
765
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
766
+ }, "de_ResourceNotFoundExceptionRes");
484
767
  var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
485
768
  const contents = (0, import_smithy_client.map)({});
486
769
  const data = parsedOutput.body;
@@ -513,8 +796,41 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
513
796
  extendedRequestId: output.headers["x-amz-id-2"],
514
797
  cfId: output.headers["x-amz-cf-id"]
515
798
  }), "deserializeMetadata");
799
+ var _tK = "tagKeys";
800
+
801
+ // src/commands/DeregisterSubscriptionProviderCommand.ts
802
+ var _DeregisterSubscriptionProviderCommand = class _DeregisterSubscriptionProviderCommand extends import_smithy_client.Command.classBuilder().ep({
803
+ ...commonParams
804
+ }).m(function(Command, cs, config, o) {
805
+ return [
806
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
807
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
808
+ ];
809
+ }).s("LicenseManagerLinuxSubscriptions", "DeregisterSubscriptionProvider", {}).n("LicenseManagerLinuxSubscriptionsClient", "DeregisterSubscriptionProviderCommand").f(void 0, void 0).ser(se_DeregisterSubscriptionProviderCommand).de(de_DeregisterSubscriptionProviderCommand).build() {
810
+ };
811
+ __name(_DeregisterSubscriptionProviderCommand, "DeregisterSubscriptionProviderCommand");
812
+ var DeregisterSubscriptionProviderCommand = _DeregisterSubscriptionProviderCommand;
813
+
814
+ // src/commands/GetRegisteredSubscriptionProviderCommand.ts
815
+
816
+
817
+
818
+ var _GetRegisteredSubscriptionProviderCommand = class _GetRegisteredSubscriptionProviderCommand extends import_smithy_client.Command.classBuilder().ep({
819
+ ...commonParams
820
+ }).m(function(Command, cs, config, o) {
821
+ return [
822
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
823
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
824
+ ];
825
+ }).s("LicenseManagerLinuxSubscriptions", "GetRegisteredSubscriptionProvider", {}).n("LicenseManagerLinuxSubscriptionsClient", "GetRegisteredSubscriptionProviderCommand").f(void 0, void 0).ser(se_GetRegisteredSubscriptionProviderCommand).de(de_GetRegisteredSubscriptionProviderCommand).build() {
826
+ };
827
+ __name(_GetRegisteredSubscriptionProviderCommand, "GetRegisteredSubscriptionProviderCommand");
828
+ var GetRegisteredSubscriptionProviderCommand = _GetRegisteredSubscriptionProviderCommand;
516
829
 
517
830
  // src/commands/GetServiceSettingsCommand.ts
831
+
832
+
833
+
518
834
  var _GetServiceSettingsCommand = class _GetServiceSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
519
835
  ...commonParams
520
836
  }).m(function(Command, cs, config, o) {
@@ -559,6 +875,86 @@ var _ListLinuxSubscriptionsCommand = class _ListLinuxSubscriptionsCommand extend
559
875
  __name(_ListLinuxSubscriptionsCommand, "ListLinuxSubscriptionsCommand");
560
876
  var ListLinuxSubscriptionsCommand = _ListLinuxSubscriptionsCommand;
561
877
 
878
+ // src/commands/ListRegisteredSubscriptionProvidersCommand.ts
879
+
880
+
881
+
882
+ var _ListRegisteredSubscriptionProvidersCommand = class _ListRegisteredSubscriptionProvidersCommand extends import_smithy_client.Command.classBuilder().ep({
883
+ ...commonParams
884
+ }).m(function(Command, cs, config, o) {
885
+ return [
886
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
887
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
888
+ ];
889
+ }).s("LicenseManagerLinuxSubscriptions", "ListRegisteredSubscriptionProviders", {}).n("LicenseManagerLinuxSubscriptionsClient", "ListRegisteredSubscriptionProvidersCommand").f(void 0, void 0).ser(se_ListRegisteredSubscriptionProvidersCommand).de(de_ListRegisteredSubscriptionProvidersCommand).build() {
890
+ };
891
+ __name(_ListRegisteredSubscriptionProvidersCommand, "ListRegisteredSubscriptionProvidersCommand");
892
+ var ListRegisteredSubscriptionProvidersCommand = _ListRegisteredSubscriptionProvidersCommand;
893
+
894
+ // src/commands/ListTagsForResourceCommand.ts
895
+
896
+
897
+
898
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
899
+ ...commonParams
900
+ }).m(function(Command, cs, config, o) {
901
+ return [
902
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
903
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
904
+ ];
905
+ }).s("LicenseManagerLinuxSubscriptions", "ListTagsForResource", {}).n("LicenseManagerLinuxSubscriptionsClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
906
+ };
907
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
908
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
909
+
910
+ // src/commands/RegisterSubscriptionProviderCommand.ts
911
+
912
+
913
+
914
+ var _RegisterSubscriptionProviderCommand = class _RegisterSubscriptionProviderCommand extends import_smithy_client.Command.classBuilder().ep({
915
+ ...commonParams
916
+ }).m(function(Command, cs, config, o) {
917
+ return [
918
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
919
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
920
+ ];
921
+ }).s("LicenseManagerLinuxSubscriptions", "RegisterSubscriptionProvider", {}).n("LicenseManagerLinuxSubscriptionsClient", "RegisterSubscriptionProviderCommand").f(RegisterSubscriptionProviderRequestFilterSensitiveLog, void 0).ser(se_RegisterSubscriptionProviderCommand).de(de_RegisterSubscriptionProviderCommand).build() {
922
+ };
923
+ __name(_RegisterSubscriptionProviderCommand, "RegisterSubscriptionProviderCommand");
924
+ var RegisterSubscriptionProviderCommand = _RegisterSubscriptionProviderCommand;
925
+
926
+ // src/commands/TagResourceCommand.ts
927
+
928
+
929
+
930
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
931
+ ...commonParams
932
+ }).m(function(Command, cs, config, o) {
933
+ return [
934
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
935
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
936
+ ];
937
+ }).s("LicenseManagerLinuxSubscriptions", "TagResource", {}).n("LicenseManagerLinuxSubscriptionsClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
938
+ };
939
+ __name(_TagResourceCommand, "TagResourceCommand");
940
+ var TagResourceCommand = _TagResourceCommand;
941
+
942
+ // src/commands/UntagResourceCommand.ts
943
+
944
+
945
+
946
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
947
+ ...commonParams
948
+ }).m(function(Command, cs, config, o) {
949
+ return [
950
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
951
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
952
+ ];
953
+ }).s("LicenseManagerLinuxSubscriptions", "UntagResource", {}).n("LicenseManagerLinuxSubscriptionsClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
954
+ };
955
+ __name(_UntagResourceCommand, "UntagResourceCommand");
956
+ var UntagResourceCommand = _UntagResourceCommand;
957
+
562
958
  // src/commands/UpdateServiceSettingsCommand.ts
563
959
 
564
960
 
@@ -577,9 +973,16 @@ var UpdateServiceSettingsCommand = _UpdateServiceSettingsCommand;
577
973
 
578
974
  // src/LicenseManagerLinuxSubscriptions.ts
579
975
  var commands = {
976
+ DeregisterSubscriptionProviderCommand,
977
+ GetRegisteredSubscriptionProviderCommand,
580
978
  GetServiceSettingsCommand,
581
979
  ListLinuxSubscriptionInstancesCommand,
582
980
  ListLinuxSubscriptionsCommand,
981
+ ListRegisteredSubscriptionProvidersCommand,
982
+ ListTagsForResourceCommand,
983
+ RegisterSubscriptionProviderCommand,
984
+ TagResourceCommand,
985
+ UntagResourceCommand,
583
986
  UpdateServiceSettingsCommand
584
987
  };
585
988
  var _LicenseManagerLinuxSubscriptions = class _LicenseManagerLinuxSubscriptions extends LicenseManagerLinuxSubscriptionsClient {
@@ -601,6 +1004,16 @@ var paginateListLinuxSubscriptionInstances = (0, import_core.createPaginator)(
601
1004
  // src/pagination/ListLinuxSubscriptionsPaginator.ts
602
1005
 
603
1006
  var paginateListLinuxSubscriptions = (0, import_core.createPaginator)(LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionsCommand, "NextToken", "NextToken", "MaxResults");
1007
+
1008
+ // src/pagination/ListRegisteredSubscriptionProvidersPaginator.ts
1009
+
1010
+ var paginateListRegisteredSubscriptionProviders = (0, import_core.createPaginator)(
1011
+ LicenseManagerLinuxSubscriptionsClient,
1012
+ ListRegisteredSubscriptionProvidersCommand,
1013
+ "NextToken",
1014
+ "NextToken",
1015
+ "MaxResults"
1016
+ );
604
1017
  // Annotate the CommonJS export names for ESM import in node:
605
1018
 
606
1019
  0 && (module.exports = {
@@ -609,18 +1022,33 @@ var paginateListLinuxSubscriptions = (0, import_core.createPaginator)(LicenseMan
609
1022
  LicenseManagerLinuxSubscriptionsClient,
610
1023
  LicenseManagerLinuxSubscriptions,
611
1024
  $Command,
1025
+ DeregisterSubscriptionProviderCommand,
1026
+ GetRegisteredSubscriptionProviderCommand,
612
1027
  GetServiceSettingsCommand,
613
1028
  ListLinuxSubscriptionInstancesCommand,
614
1029
  ListLinuxSubscriptionsCommand,
1030
+ ListRegisteredSubscriptionProvidersCommand,
1031
+ ListTagsForResourceCommand,
1032
+ RegisterSubscriptionProviderCommand,
1033
+ TagResourceCommand,
1034
+ UntagResourceCommand,
615
1035
  UpdateServiceSettingsCommand,
616
1036
  paginateListLinuxSubscriptionInstances,
617
1037
  paginateListLinuxSubscriptions,
1038
+ paginateListRegisteredSubscriptionProviders,
1039
+ InternalServerException,
1040
+ ResourceNotFoundException,
1041
+ ThrottlingException,
1042
+ ValidationException,
618
1043
  Operator,
1044
+ SubscriptionProviderSource,
1045
+ SubscriptionProviderStatus,
619
1046
  LinuxSubscriptionsDiscovery,
620
1047
  OrganizationIntegration,
621
1048
  Status,
622
- InternalServerException,
623
- ThrottlingException,
624
- ValidationException
1049
+ ListTagsForResourceResponseFilterSensitiveLog,
1050
+ RegisterSubscriptionProviderRequestFilterSensitiveLog,
1051
+ TagResourceRequestFilterSensitiveLog,
1052
+ UntagResourceRequestFilterSensitiveLog
625
1053
  });
626
1054