@aws-sdk/client-license-manager-linux-subscriptions 3.987.0 → 3.989.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var LicenseManagerLinuxSubscriptionsServiceException = require('./models/LicenseManagerLinuxSubscriptionsServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,373 +113,6 @@ class LicenseManagerLinuxSubscriptionsClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class LicenseManagerLinuxSubscriptionsServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, LicenseManagerLinuxSubscriptionsServiceException.prototype);
117
- }
118
- }
119
-
120
- class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException {
121
- name = "InternalServerException";
122
- $fault = "server";
123
- constructor(opts) {
124
- super({
125
- name: "InternalServerException",
126
- $fault: "server",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, InternalServerException.prototype);
130
- }
131
- }
132
- class ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceException {
133
- name = "ResourceNotFoundException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "ResourceNotFoundException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
- }
143
- }
144
- class ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException {
145
- name = "ThrottlingException";
146
- $fault = "client";
147
- constructor(opts) {
148
- super({
149
- name: "ThrottlingException",
150
- $fault: "client",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, ThrottlingException.prototype);
154
- }
155
- }
156
- class ValidationException extends LicenseManagerLinuxSubscriptionsServiceException {
157
- name = "ValidationException";
158
- $fault = "client";
159
- constructor(opts) {
160
- super({
161
- name: "ValidationException",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- Object.setPrototypeOf(this, ValidationException.prototype);
166
- }
167
- }
168
-
169
- const _AI = "AmiId";
170
- const _AID = "AccountID";
171
- const _AU = "AllowUpdate";
172
- const _DS = "DualSubscription";
173
- const _DSP = "DeregisterSubscriptionProvider";
174
- const _DSPR = "DeregisterSubscriptionProviderRequest";
175
- const _DSPRe = "DeregisterSubscriptionProviderResponse";
176
- const _F = "Filter";
177
- const _FL = "FilterList";
178
- const _Fi = "Filters";
179
- const _GRSP = "GetRegisteredSubscriptionProvider";
180
- const _GRSPR = "GetRegisteredSubscriptionProviderRequest";
181
- const _GRSPRe = "GetRegisteredSubscriptionProviderResponse";
182
- const _GSS = "GetServiceSettings";
183
- const _GSSR = "GetServiceSettingsRequest";
184
- const _GSSRe = "GetServiceSettingsResponse";
185
- const _HR = "HomeRegions";
186
- const _I = "Instance";
187
- const _IC = "InstanceCount";
188
- const _IID = "InstanceID";
189
- const _IL = "InstanceList";
190
- const _ISE = "InternalServerException";
191
- const _IT = "InstanceType";
192
- const _In = "Instances";
193
- const _LLS = "ListLinuxSubscriptions";
194
- const _LLSI = "ListLinuxSubscriptionInstances";
195
- const _LLSIR = "ListLinuxSubscriptionInstancesRequest";
196
- const _LLSIRi = "ListLinuxSubscriptionInstancesResponse";
197
- const _LLSR = "ListLinuxSubscriptionsRequest";
198
- const _LLSRi = "ListLinuxSubscriptionsResponse";
199
- const _LRSP = "ListRegisteredSubscriptionProviders";
200
- const _LRSPR = "ListRegisteredSubscriptionProvidersRequest";
201
- const _LRSPRi = "ListRegisteredSubscriptionProvidersResponse";
202
- const _LSD = "LinuxSubscriptionsDiscovery";
203
- const _LSDRT = "LastSuccessfulDataRetrievalTime";
204
- const _LSDS = "LinuxSubscriptionsDiscoverySettings";
205
- const _LTFR = "ListTagsForResource";
206
- const _LTFRR = "ListTagsForResourceRequest";
207
- const _LTFRRi = "ListTagsForResourceResponse";
208
- const _LUT = "LastUpdatedTime";
209
- const _MR = "MaxResults";
210
- const _N = "Name";
211
- const _NT = "NextToken";
212
- const _O = "Operator";
213
- const _OI = "OrganizationIntegration";
214
- const _OV = "OsVersion";
215
- const _PC = "ProductCode";
216
- const _R = "Region";
217
- const _RNFE = "ResourceNotFoundException";
218
- const _RSP = "RegisteredSubscriptionProviders";
219
- const _RSPL = "RegisteredSubscriptionProviderList";
220
- const _RSPR = "RegisterSubscriptionProviderRequest";
221
- const _RSPRe = "RegisterSubscriptionProviderResponse";
222
- const _RSPe = "RegisteredSubscriptionProvider";
223
- const _RSPeg = "RegisterSubscriptionProvider";
224
- const _RWSP = "RegisteredWithSubscriptionProvider";
225
- const _S = "Status";
226
- const _SA = "SecretArn";
227
- const _SL = "SubscriptionList";
228
- const _SM = "StatusMessage";
229
- const _SN = "SubscriptionName";
230
- const _SPA = "SubscriptionProviderArn";
231
- const _SPCT = "SubscriptionProviderCreateTime";
232
- const _SPS = "SubscriptionProviderSource";
233
- const _SPSM = "SubscriptionProviderStatusMessage";
234
- const _SPSu = "SubscriptionProviderStatus";
235
- const _SPSub = "SubscriptionProviderSources";
236
- const _SPUT = "SubscriptionProviderUpdateTime";
237
- const _SR = "SourceRegions";
238
- const _Su = "Subscriptions";
239
- const _Sub = "Subscription";
240
- const _T = "Tags";
241
- const _TE = "ThrottlingException";
242
- const _TKL = "TagKeyList";
243
- const _TR = "TagResource";
244
- const _TRR = "TagResourceRequest";
245
- const _TRRa = "TagResourceResponse";
246
- const _Ty = "Type";
247
- const _UO = "UsageOperation";
248
- const _UR = "UntagResource";
249
- const _URR = "UntagResourceRequest";
250
- const _URRn = "UntagResourceResponse";
251
- const _USS = "UpdateServiceSettings";
252
- const _USSR = "UpdateServiceSettingsRequest";
253
- const _USSRp = "UpdateServiceSettingsResponse";
254
- const _V = "Values";
255
- const _VE = "ValidationException";
256
- const _c = "client";
257
- const _e = "error";
258
- const _h = "http";
259
- const _hQ = "httpQuery";
260
- const _m = "message";
261
- const _rA = "resourceArn";
262
- const _s = "server";
263
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.licensemanagerlinuxsubscriptions";
264
- const _t = "tags";
265
- const _tK = "tagKeys";
266
- const n0 = "com.amazonaws.licensemanagerlinuxsubscriptions";
267
- var DeregisterSubscriptionProviderRequest$ = [3, n0, _DSPR,
268
- 0,
269
- [_SPA],
270
- [0], 1
271
- ];
272
- var DeregisterSubscriptionProviderResponse$ = [3, n0, _DSPRe,
273
- 0,
274
- [],
275
- []
276
- ];
277
- var Filter$ = [3, n0, _F,
278
- 0,
279
- [_N, _V, _O],
280
- [0, 64 | 0, 0]
281
- ];
282
- var GetRegisteredSubscriptionProviderRequest$ = [3, n0, _GRSPR,
283
- 0,
284
- [_SPA],
285
- [0], 1
286
- ];
287
- var GetRegisteredSubscriptionProviderResponse$ = [3, n0, _GRSPRe,
288
- 0,
289
- [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
290
- [0, 0, 0, 0, 0, 0]
291
- ];
292
- var GetServiceSettingsRequest$ = [3, n0, _GSSR,
293
- 0,
294
- [],
295
- []
296
- ];
297
- var GetServiceSettingsResponse$ = [3, n0, _GSSRe,
298
- 0,
299
- [_LSD, _LSDS, _S, _SM, _HR],
300
- [0, () => LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
301
- ];
302
- var Instance$ = [3, n0, _I,
303
- 0,
304
- [_AI, _IID, _IT, _AID, _S, _R, _UO, _PC, _LUT, _SN, _OV, _SPCT, _SPUT, _DS, _RWSP],
305
- [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 0]
306
- ];
307
- var InternalServerException$ = [-3, n0, _ISE,
308
- { [_e]: _s },
309
- [_m],
310
- [0]
311
- ];
312
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
313
- var LinuxSubscriptionsDiscoverySettings$ = [3, n0, _LSDS,
314
- 0,
315
- [_SR, _OI],
316
- [64 | 0, 0], 2
317
- ];
318
- var ListLinuxSubscriptionInstancesRequest$ = [3, n0, _LLSIR,
319
- 0,
320
- [_Fi, _MR, _NT],
321
- [() => FilterList, 1, 0]
322
- ];
323
- var ListLinuxSubscriptionInstancesResponse$ = [3, n0, _LLSIRi,
324
- 0,
325
- [_In, _NT],
326
- [() => InstanceList, 0]
327
- ];
328
- var ListLinuxSubscriptionsRequest$ = [3, n0, _LLSR,
329
- 0,
330
- [_Fi, _MR, _NT],
331
- [() => FilterList, 1, 0]
332
- ];
333
- var ListLinuxSubscriptionsResponse$ = [3, n0, _LLSRi,
334
- 0,
335
- [_Su, _NT],
336
- [() => SubscriptionList, 0]
337
- ];
338
- var ListRegisteredSubscriptionProvidersRequest$ = [3, n0, _LRSPR,
339
- 0,
340
- [_SPSub, _MR, _NT],
341
- [64 | 0, 1, 0]
342
- ];
343
- var ListRegisteredSubscriptionProvidersResponse$ = [3, n0, _LRSPRi,
344
- 0,
345
- [_RSP, _NT],
346
- [() => RegisteredSubscriptionProviderList, 0]
347
- ];
348
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
349
- 0,
350
- [_rA],
351
- [[0, 1]], 1
352
- ];
353
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
354
- 0,
355
- [_t],
356
- [[() => Tags, 0]]
357
- ];
358
- var RegisteredSubscriptionProvider$ = [3, n0, _RSPe,
359
- 0,
360
- [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
361
- [0, 0, 0, 0, 0, 0]
362
- ];
363
- var RegisterSubscriptionProviderRequest$ = [3, n0, _RSPR,
364
- 0,
365
- [_SPS, _SA, _T],
366
- [0, 0, [() => Tags, 0]], 2
367
- ];
368
- var RegisterSubscriptionProviderResponse$ = [3, n0, _RSPRe,
369
- 0,
370
- [_SPS, _SPA, _SPSu],
371
- [0, 0, 0]
372
- ];
373
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
374
- { [_e]: _c },
375
- [_m],
376
- [0]
377
- ];
378
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
379
- var Subscription$ = [3, n0, _Sub,
380
- 0,
381
- [_N, _Ty, _IC],
382
- [0, 0, 1]
383
- ];
384
- var TagResourceRequest$ = [3, n0, _TRR,
385
- 0,
386
- [_rA, _t],
387
- [[0, 1], [() => Tags, 0]], 2
388
- ];
389
- var TagResourceResponse$ = [3, n0, _TRRa,
390
- 0,
391
- [],
392
- []
393
- ];
394
- var ThrottlingException$ = [-3, n0, _TE,
395
- { [_e]: _c },
396
- [_m],
397
- [0]
398
- ];
399
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
400
- var UntagResourceRequest$ = [3, n0, _URR,
401
- 0,
402
- [_rA, _tK],
403
- [[0, 1], [() => TagKeyList, { [_hQ]: _tK }]], 2
404
- ];
405
- var UntagResourceResponse$ = [3, n0, _URRn,
406
- 0,
407
- [],
408
- []
409
- ];
410
- var UpdateServiceSettingsRequest$ = [3, n0, _USSR,
411
- 0,
412
- [_LSD, _LSDS, _AU],
413
- [0, () => LinuxSubscriptionsDiscoverySettings$, 2], 2
414
- ];
415
- var UpdateServiceSettingsResponse$ = [3, n0, _USSRp,
416
- 0,
417
- [_LSD, _LSDS, _S, _SM, _HR],
418
- [0, () => LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
419
- ];
420
- var ValidationException$ = [-3, n0, _VE,
421
- { [_e]: _c },
422
- [_m],
423
- [0]
424
- ];
425
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
426
- var LicenseManagerLinuxSubscriptionsServiceException$ = [-3, _sm, "LicenseManagerLinuxSubscriptionsServiceException", 0, [], []];
427
- schema.TypeRegistry.for(_sm).registerError(LicenseManagerLinuxSubscriptionsServiceException$, LicenseManagerLinuxSubscriptionsServiceException);
428
- var FilterList = [1, n0, _FL,
429
- 0, () => Filter$
430
- ];
431
- var InstanceList = [1, n0, _IL,
432
- 0, () => Instance$
433
- ];
434
- var RegisteredSubscriptionProviderList = [1, n0, _RSPL,
435
- 0, () => RegisteredSubscriptionProvider$
436
- ];
437
- var SubscriptionList = [1, n0, _SL,
438
- 0, () => Subscription$
439
- ];
440
- var TagKeyList = [1, n0, _TKL,
441
- 8, 0
442
- ];
443
- var Tags = [2, n0, _T,
444
- 8, 0, 0
445
- ];
446
- var DeregisterSubscriptionProvider$ = [9, n0, _DSP,
447
- { [_h]: ["POST", "/subscription/DeregisterSubscriptionProvider", 200] }, () => DeregisterSubscriptionProviderRequest$, () => DeregisterSubscriptionProviderResponse$
448
- ];
449
- var GetRegisteredSubscriptionProvider$ = [9, n0, _GRSP,
450
- { [_h]: ["POST", "/subscription/GetRegisteredSubscriptionProvider", 200] }, () => GetRegisteredSubscriptionProviderRequest$, () => GetRegisteredSubscriptionProviderResponse$
451
- ];
452
- var GetServiceSettings$ = [9, n0, _GSS,
453
- { [_h]: ["POST", "/subscription/GetServiceSettings", 200] }, () => GetServiceSettingsRequest$, () => GetServiceSettingsResponse$
454
- ];
455
- var ListLinuxSubscriptionInstances$ = [9, n0, _LLSI,
456
- { [_h]: ["POST", "/subscription/ListLinuxSubscriptionInstances", 200] }, () => ListLinuxSubscriptionInstancesRequest$, () => ListLinuxSubscriptionInstancesResponse$
457
- ];
458
- var ListLinuxSubscriptions$ = [9, n0, _LLS,
459
- { [_h]: ["POST", "/subscription/ListLinuxSubscriptions", 200] }, () => ListLinuxSubscriptionsRequest$, () => ListLinuxSubscriptionsResponse$
460
- ];
461
- var ListRegisteredSubscriptionProviders$ = [9, n0, _LRSP,
462
- { [_h]: ["POST", "/subscription/ListRegisteredSubscriptionProviders", 200] }, () => ListRegisteredSubscriptionProvidersRequest$, () => ListRegisteredSubscriptionProvidersResponse$
463
- ];
464
- var ListTagsForResource$ = [9, n0, _LTFR,
465
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
466
- ];
467
- var RegisterSubscriptionProvider$ = [9, n0, _RSPeg,
468
- { [_h]: ["POST", "/subscription/RegisterSubscriptionProvider", 200] }, () => RegisterSubscriptionProviderRequest$, () => RegisterSubscriptionProviderResponse$
469
- ];
470
- var TagResource$ = [9, n0, _TR,
471
- { [_h]: ["PUT", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
472
- ];
473
- var UntagResource$ = [9, n0, _UR,
474
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
475
- ];
476
- var UpdateServiceSettings$ = [9, n0, _USS,
477
- { [_h]: ["POST", "/subscription/UpdateServiceSettings", 200] }, () => UpdateServiceSettingsRequest$, () => UpdateServiceSettingsResponse$
478
- ];
479
-
480
116
  class DeregisterSubscriptionProviderCommand extends smithyClient.Command
481
117
  .classBuilder()
482
118
  .ep(commonParams)
@@ -485,7 +121,7 @@ class DeregisterSubscriptionProviderCommand extends smithyClient.Command
485
121
  })
486
122
  .s("LicenseManagerLinuxSubscriptions", "DeregisterSubscriptionProvider", {})
487
123
  .n("LicenseManagerLinuxSubscriptionsClient", "DeregisterSubscriptionProviderCommand")
488
- .sc(DeregisterSubscriptionProvider$)
124
+ .sc(schemas_0.DeregisterSubscriptionProvider$)
489
125
  .build() {
490
126
  }
491
127
 
@@ -497,7 +133,7 @@ class GetRegisteredSubscriptionProviderCommand extends smithyClient.Command
497
133
  })
498
134
  .s("LicenseManagerLinuxSubscriptions", "GetRegisteredSubscriptionProvider", {})
499
135
  .n("LicenseManagerLinuxSubscriptionsClient", "GetRegisteredSubscriptionProviderCommand")
500
- .sc(GetRegisteredSubscriptionProvider$)
136
+ .sc(schemas_0.GetRegisteredSubscriptionProvider$)
501
137
  .build() {
502
138
  }
503
139
 
@@ -509,7 +145,7 @@ class GetServiceSettingsCommand extends smithyClient.Command
509
145
  })
510
146
  .s("LicenseManagerLinuxSubscriptions", "GetServiceSettings", {})
511
147
  .n("LicenseManagerLinuxSubscriptionsClient", "GetServiceSettingsCommand")
512
- .sc(GetServiceSettings$)
148
+ .sc(schemas_0.GetServiceSettings$)
513
149
  .build() {
514
150
  }
515
151
 
@@ -521,7 +157,7 @@ class ListLinuxSubscriptionInstancesCommand extends smithyClient.Command
521
157
  })
522
158
  .s("LicenseManagerLinuxSubscriptions", "ListLinuxSubscriptionInstances", {})
523
159
  .n("LicenseManagerLinuxSubscriptionsClient", "ListLinuxSubscriptionInstancesCommand")
524
- .sc(ListLinuxSubscriptionInstances$)
160
+ .sc(schemas_0.ListLinuxSubscriptionInstances$)
525
161
  .build() {
526
162
  }
527
163
 
@@ -533,7 +169,7 @@ class ListLinuxSubscriptionsCommand extends smithyClient.Command
533
169
  })
534
170
  .s("LicenseManagerLinuxSubscriptions", "ListLinuxSubscriptions", {})
535
171
  .n("LicenseManagerLinuxSubscriptionsClient", "ListLinuxSubscriptionsCommand")
536
- .sc(ListLinuxSubscriptions$)
172
+ .sc(schemas_0.ListLinuxSubscriptions$)
537
173
  .build() {
538
174
  }
539
175
 
@@ -545,7 +181,7 @@ class ListRegisteredSubscriptionProvidersCommand extends smithyClient.Command
545
181
  })
546
182
  .s("LicenseManagerLinuxSubscriptions", "ListRegisteredSubscriptionProviders", {})
547
183
  .n("LicenseManagerLinuxSubscriptionsClient", "ListRegisteredSubscriptionProvidersCommand")
548
- .sc(ListRegisteredSubscriptionProviders$)
184
+ .sc(schemas_0.ListRegisteredSubscriptionProviders$)
549
185
  .build() {
550
186
  }
551
187
 
@@ -557,7 +193,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
557
193
  })
558
194
  .s("LicenseManagerLinuxSubscriptions", "ListTagsForResource", {})
559
195
  .n("LicenseManagerLinuxSubscriptionsClient", "ListTagsForResourceCommand")
560
- .sc(ListTagsForResource$)
196
+ .sc(schemas_0.ListTagsForResource$)
561
197
  .build() {
562
198
  }
563
199
 
@@ -569,7 +205,7 @@ class RegisterSubscriptionProviderCommand extends smithyClient.Command
569
205
  })
570
206
  .s("LicenseManagerLinuxSubscriptions", "RegisterSubscriptionProvider", {})
571
207
  .n("LicenseManagerLinuxSubscriptionsClient", "RegisterSubscriptionProviderCommand")
572
- .sc(RegisterSubscriptionProvider$)
208
+ .sc(schemas_0.RegisterSubscriptionProvider$)
573
209
  .build() {
574
210
  }
575
211
 
@@ -581,7 +217,7 @@ class TagResourceCommand extends smithyClient.Command
581
217
  })
582
218
  .s("LicenseManagerLinuxSubscriptions", "TagResource", {})
583
219
  .n("LicenseManagerLinuxSubscriptionsClient", "TagResourceCommand")
584
- .sc(TagResource$)
220
+ .sc(schemas_0.TagResource$)
585
221
  .build() {
586
222
  }
587
223
 
@@ -593,7 +229,7 @@ class UntagResourceCommand extends smithyClient.Command
593
229
  })
594
230
  .s("LicenseManagerLinuxSubscriptions", "UntagResource", {})
595
231
  .n("LicenseManagerLinuxSubscriptionsClient", "UntagResourceCommand")
596
- .sc(UntagResource$)
232
+ .sc(schemas_0.UntagResource$)
597
233
  .build() {
598
234
  }
599
235
 
@@ -605,7 +241,7 @@ class UpdateServiceSettingsCommand extends smithyClient.Command
605
241
  })
606
242
  .s("LicenseManagerLinuxSubscriptions", "UpdateServiceSettings", {})
607
243
  .n("LicenseManagerLinuxSubscriptionsClient", "UpdateServiceSettingsCommand")
608
- .sc(UpdateServiceSettings$)
244
+ .sc(schemas_0.UpdateServiceSettings$)
609
245
  .build() {
610
246
  }
611
247
 
@@ -673,73 +309,41 @@ Object.defineProperty(exports, "__Client", {
673
309
  enumerable: true,
674
310
  get: function () { return smithyClient.Client; }
675
311
  });
676
- exports.DeregisterSubscriptionProvider$ = DeregisterSubscriptionProvider$;
312
+ Object.defineProperty(exports, "LicenseManagerLinuxSubscriptionsServiceException", {
313
+ enumerable: true,
314
+ get: function () { return LicenseManagerLinuxSubscriptionsServiceException.LicenseManagerLinuxSubscriptionsServiceException; }
315
+ });
677
316
  exports.DeregisterSubscriptionProviderCommand = DeregisterSubscriptionProviderCommand;
678
- exports.DeregisterSubscriptionProviderRequest$ = DeregisterSubscriptionProviderRequest$;
679
- exports.DeregisterSubscriptionProviderResponse$ = DeregisterSubscriptionProviderResponse$;
680
- exports.Filter$ = Filter$;
681
- exports.GetRegisteredSubscriptionProvider$ = GetRegisteredSubscriptionProvider$;
682
317
  exports.GetRegisteredSubscriptionProviderCommand = GetRegisteredSubscriptionProviderCommand;
683
- exports.GetRegisteredSubscriptionProviderRequest$ = GetRegisteredSubscriptionProviderRequest$;
684
- exports.GetRegisteredSubscriptionProviderResponse$ = GetRegisteredSubscriptionProviderResponse$;
685
- exports.GetServiceSettings$ = GetServiceSettings$;
686
318
  exports.GetServiceSettingsCommand = GetServiceSettingsCommand;
687
- exports.GetServiceSettingsRequest$ = GetServiceSettingsRequest$;
688
- exports.GetServiceSettingsResponse$ = GetServiceSettingsResponse$;
689
- exports.Instance$ = Instance$;
690
- exports.InternalServerException = InternalServerException;
691
- exports.InternalServerException$ = InternalServerException$;
692
319
  exports.LicenseManagerLinuxSubscriptions = LicenseManagerLinuxSubscriptions;
693
320
  exports.LicenseManagerLinuxSubscriptionsClient = LicenseManagerLinuxSubscriptionsClient;
694
- exports.LicenseManagerLinuxSubscriptionsServiceException = LicenseManagerLinuxSubscriptionsServiceException;
695
- exports.LicenseManagerLinuxSubscriptionsServiceException$ = LicenseManagerLinuxSubscriptionsServiceException$;
696
321
  exports.LinuxSubscriptionsDiscovery = LinuxSubscriptionsDiscovery;
697
- exports.LinuxSubscriptionsDiscoverySettings$ = LinuxSubscriptionsDiscoverySettings$;
698
- exports.ListLinuxSubscriptionInstances$ = ListLinuxSubscriptionInstances$;
699
322
  exports.ListLinuxSubscriptionInstancesCommand = ListLinuxSubscriptionInstancesCommand;
700
- exports.ListLinuxSubscriptionInstancesRequest$ = ListLinuxSubscriptionInstancesRequest$;
701
- exports.ListLinuxSubscriptionInstancesResponse$ = ListLinuxSubscriptionInstancesResponse$;
702
- exports.ListLinuxSubscriptions$ = ListLinuxSubscriptions$;
703
323
  exports.ListLinuxSubscriptionsCommand = ListLinuxSubscriptionsCommand;
704
- exports.ListLinuxSubscriptionsRequest$ = ListLinuxSubscriptionsRequest$;
705
- exports.ListLinuxSubscriptionsResponse$ = ListLinuxSubscriptionsResponse$;
706
- exports.ListRegisteredSubscriptionProviders$ = ListRegisteredSubscriptionProviders$;
707
324
  exports.ListRegisteredSubscriptionProvidersCommand = ListRegisteredSubscriptionProvidersCommand;
708
- exports.ListRegisteredSubscriptionProvidersRequest$ = ListRegisteredSubscriptionProvidersRequest$;
709
- exports.ListRegisteredSubscriptionProvidersResponse$ = ListRegisteredSubscriptionProvidersResponse$;
710
- exports.ListTagsForResource$ = ListTagsForResource$;
711
325
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
712
- exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
713
- exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
714
326
  exports.Operator = Operator;
715
327
  exports.OrganizationIntegration = OrganizationIntegration;
716
- exports.RegisterSubscriptionProvider$ = RegisterSubscriptionProvider$;
717
328
  exports.RegisterSubscriptionProviderCommand = RegisterSubscriptionProviderCommand;
718
- exports.RegisterSubscriptionProviderRequest$ = RegisterSubscriptionProviderRequest$;
719
- exports.RegisterSubscriptionProviderResponse$ = RegisterSubscriptionProviderResponse$;
720
- exports.RegisteredSubscriptionProvider$ = RegisteredSubscriptionProvider$;
721
- exports.ResourceNotFoundException = ResourceNotFoundException;
722
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
723
329
  exports.Status = Status;
724
- exports.Subscription$ = Subscription$;
725
330
  exports.SubscriptionProviderSource = SubscriptionProviderSource;
726
331
  exports.SubscriptionProviderStatus = SubscriptionProviderStatus;
727
- exports.TagResource$ = TagResource$;
728
332
  exports.TagResourceCommand = TagResourceCommand;
729
- exports.TagResourceRequest$ = TagResourceRequest$;
730
- exports.TagResourceResponse$ = TagResourceResponse$;
731
- exports.ThrottlingException = ThrottlingException;
732
- exports.ThrottlingException$ = ThrottlingException$;
733
- exports.UntagResource$ = UntagResource$;
734
333
  exports.UntagResourceCommand = UntagResourceCommand;
735
- exports.UntagResourceRequest$ = UntagResourceRequest$;
736
- exports.UntagResourceResponse$ = UntagResourceResponse$;
737
- exports.UpdateServiceSettings$ = UpdateServiceSettings$;
738
334
  exports.UpdateServiceSettingsCommand = UpdateServiceSettingsCommand;
739
- exports.UpdateServiceSettingsRequest$ = UpdateServiceSettingsRequest$;
740
- exports.UpdateServiceSettingsResponse$ = UpdateServiceSettingsResponse$;
741
- exports.ValidationException = ValidationException;
742
- exports.ValidationException$ = ValidationException$;
743
335
  exports.paginateListLinuxSubscriptionInstances = paginateListLinuxSubscriptionInstances;
744
336
  exports.paginateListLinuxSubscriptions = paginateListLinuxSubscriptions;
745
337
  exports.paginateListRegisteredSubscriptionProviders = paginateListRegisteredSubscriptionProviders;
338
+ Object.keys(schemas_0).forEach(function (k) {
339
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
340
+ enumerable: true,
341
+ get: function () { return schemas_0[k]; }
342
+ });
343
+ });
344
+ Object.keys(errors).forEach(function (k) {
345
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
346
+ enumerable: true,
347
+ get: function () { return errors[k]; }
348
+ });
349
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LicenseManagerLinuxSubscriptionsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class LicenseManagerLinuxSubscriptionsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, LicenseManagerLinuxSubscriptionsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.LicenseManagerLinuxSubscriptionsServiceException = LicenseManagerLinuxSubscriptionsServiceException;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
4
+ const LicenseManagerLinuxSubscriptionsServiceException_1 = require("./LicenseManagerLinuxSubscriptionsServiceException");
5
+ class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException_1.LicenseManagerLinuxSubscriptionsServiceException {
6
+ name = "InternalServerException";
7
+ $fault = "server";
8
+ constructor(opts) {
9
+ super({
10
+ name: "InternalServerException",
11
+ $fault: "server",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, InternalServerException.prototype);
15
+ }
16
+ }
17
+ exports.InternalServerException = InternalServerException;
18
+ class ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceException_1.LicenseManagerLinuxSubscriptionsServiceException {
19
+ name = "ResourceNotFoundException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "ResourceNotFoundException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
28
+ }
29
+ }
30
+ exports.ResourceNotFoundException = ResourceNotFoundException;
31
+ class ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException_1.LicenseManagerLinuxSubscriptionsServiceException {
32
+ name = "ThrottlingException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ThrottlingException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
41
+ }
42
+ }
43
+ exports.ThrottlingException = ThrottlingException;
44
+ class ValidationException extends LicenseManagerLinuxSubscriptionsServiceException_1.LicenseManagerLinuxSubscriptionsServiceException {
45
+ name = "ValidationException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ValidationException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ValidationException.prototype);
54
+ }
55
+ }
56
+ exports.ValidationException = ValidationException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2018-05-10",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.licensemanagerlinuxsubscriptions",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-05-10",
33
35
  serviceTarget: "LicenseManagerLinuxSubscriptions",
34
36
  },
@@ -0,0 +1,326 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateServiceSettings$ = exports.UntagResource$ = exports.TagResource$ = exports.RegisterSubscriptionProvider$ = exports.ListTagsForResource$ = exports.ListRegisteredSubscriptionProviders$ = exports.ListLinuxSubscriptions$ = exports.ListLinuxSubscriptionInstances$ = exports.GetServiceSettings$ = exports.GetRegisteredSubscriptionProvider$ = exports.DeregisterSubscriptionProvider$ = exports.UpdateServiceSettingsResponse$ = exports.UpdateServiceSettingsRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Subscription$ = exports.RegisterSubscriptionProviderResponse$ = exports.RegisterSubscriptionProviderRequest$ = exports.RegisteredSubscriptionProvider$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListRegisteredSubscriptionProvidersResponse$ = exports.ListRegisteredSubscriptionProvidersRequest$ = exports.ListLinuxSubscriptionsResponse$ = exports.ListLinuxSubscriptionsRequest$ = exports.ListLinuxSubscriptionInstancesResponse$ = exports.ListLinuxSubscriptionInstancesRequest$ = exports.LinuxSubscriptionsDiscoverySettings$ = exports.Instance$ = exports.GetServiceSettingsResponse$ = exports.GetServiceSettingsRequest$ = exports.GetRegisteredSubscriptionProviderResponse$ = exports.GetRegisteredSubscriptionProviderRequest$ = exports.Filter$ = exports.DeregisterSubscriptionProviderResponse$ = exports.DeregisterSubscriptionProviderRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.LicenseManagerLinuxSubscriptionsServiceException$ = void 0;
4
+ const _AI = "AmiId";
5
+ const _AID = "AccountID";
6
+ const _AU = "AllowUpdate";
7
+ const _DS = "DualSubscription";
8
+ const _DSP = "DeregisterSubscriptionProvider";
9
+ const _DSPR = "DeregisterSubscriptionProviderRequest";
10
+ const _DSPRe = "DeregisterSubscriptionProviderResponse";
11
+ const _F = "Filter";
12
+ const _FL = "FilterList";
13
+ const _Fi = "Filters";
14
+ const _GRSP = "GetRegisteredSubscriptionProvider";
15
+ const _GRSPR = "GetRegisteredSubscriptionProviderRequest";
16
+ const _GRSPRe = "GetRegisteredSubscriptionProviderResponse";
17
+ const _GSS = "GetServiceSettings";
18
+ const _GSSR = "GetServiceSettingsRequest";
19
+ const _GSSRe = "GetServiceSettingsResponse";
20
+ const _HR = "HomeRegions";
21
+ const _I = "Instance";
22
+ const _IC = "InstanceCount";
23
+ const _IID = "InstanceID";
24
+ const _IL = "InstanceList";
25
+ const _ISE = "InternalServerException";
26
+ const _IT = "InstanceType";
27
+ const _In = "Instances";
28
+ const _LLS = "ListLinuxSubscriptions";
29
+ const _LLSI = "ListLinuxSubscriptionInstances";
30
+ const _LLSIR = "ListLinuxSubscriptionInstancesRequest";
31
+ const _LLSIRi = "ListLinuxSubscriptionInstancesResponse";
32
+ const _LLSR = "ListLinuxSubscriptionsRequest";
33
+ const _LLSRi = "ListLinuxSubscriptionsResponse";
34
+ const _LRSP = "ListRegisteredSubscriptionProviders";
35
+ const _LRSPR = "ListRegisteredSubscriptionProvidersRequest";
36
+ const _LRSPRi = "ListRegisteredSubscriptionProvidersResponse";
37
+ const _LSD = "LinuxSubscriptionsDiscovery";
38
+ const _LSDRT = "LastSuccessfulDataRetrievalTime";
39
+ const _LSDS = "LinuxSubscriptionsDiscoverySettings";
40
+ const _LTFR = "ListTagsForResource";
41
+ const _LTFRR = "ListTagsForResourceRequest";
42
+ const _LTFRRi = "ListTagsForResourceResponse";
43
+ const _LUT = "LastUpdatedTime";
44
+ const _MR = "MaxResults";
45
+ const _N = "Name";
46
+ const _NT = "NextToken";
47
+ const _O = "Operator";
48
+ const _OI = "OrganizationIntegration";
49
+ const _OV = "OsVersion";
50
+ const _PC = "ProductCode";
51
+ const _R = "Region";
52
+ const _RNFE = "ResourceNotFoundException";
53
+ const _RSP = "RegisteredSubscriptionProviders";
54
+ const _RSPL = "RegisteredSubscriptionProviderList";
55
+ const _RSPR = "RegisterSubscriptionProviderRequest";
56
+ const _RSPRe = "RegisterSubscriptionProviderResponse";
57
+ const _RSPe = "RegisteredSubscriptionProvider";
58
+ const _RSPeg = "RegisterSubscriptionProvider";
59
+ const _RWSP = "RegisteredWithSubscriptionProvider";
60
+ const _S = "Status";
61
+ const _SA = "SecretArn";
62
+ const _SL = "SubscriptionList";
63
+ const _SM = "StatusMessage";
64
+ const _SN = "SubscriptionName";
65
+ const _SPA = "SubscriptionProviderArn";
66
+ const _SPCT = "SubscriptionProviderCreateTime";
67
+ const _SPS = "SubscriptionProviderSource";
68
+ const _SPSM = "SubscriptionProviderStatusMessage";
69
+ const _SPSu = "SubscriptionProviderStatus";
70
+ const _SPSub = "SubscriptionProviderSources";
71
+ const _SPUT = "SubscriptionProviderUpdateTime";
72
+ const _SR = "SourceRegions";
73
+ const _Su = "Subscriptions";
74
+ const _Sub = "Subscription";
75
+ const _T = "Tags";
76
+ const _TE = "ThrottlingException";
77
+ const _TKL = "TagKeyList";
78
+ const _TR = "TagResource";
79
+ const _TRR = "TagResourceRequest";
80
+ const _TRRa = "TagResourceResponse";
81
+ const _Ty = "Type";
82
+ const _UO = "UsageOperation";
83
+ const _UR = "UntagResource";
84
+ const _URR = "UntagResourceRequest";
85
+ const _URRn = "UntagResourceResponse";
86
+ const _USS = "UpdateServiceSettings";
87
+ const _USSR = "UpdateServiceSettingsRequest";
88
+ const _USSRp = "UpdateServiceSettingsResponse";
89
+ const _V = "Values";
90
+ const _VE = "ValidationException";
91
+ const _c = "client";
92
+ const _e = "error";
93
+ const _h = "http";
94
+ const _hQ = "httpQuery";
95
+ const _m = "message";
96
+ const _rA = "resourceArn";
97
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.licensemanagerlinuxsubscriptions";
98
+ const _se = "server";
99
+ const _t = "tags";
100
+ const _tK = "tagKeys";
101
+ const n0 = "com.amazonaws.licensemanagerlinuxsubscriptions";
102
+ const schema_1 = require("@smithy/core/schema");
103
+ const errors_1 = require("../models/errors");
104
+ const LicenseManagerLinuxSubscriptionsServiceException_1 = require("../models/LicenseManagerLinuxSubscriptionsServiceException");
105
+ const _s_registry = schema_1.TypeRegistry.for(_s);
106
+ exports.LicenseManagerLinuxSubscriptionsServiceException$ = [-3, _s, "LicenseManagerLinuxSubscriptionsServiceException", 0, [], []];
107
+ _s_registry.registerError(exports.LicenseManagerLinuxSubscriptionsServiceException$, LicenseManagerLinuxSubscriptionsServiceException_1.LicenseManagerLinuxSubscriptionsServiceException);
108
+ const n0_registry = schema_1.TypeRegistry.for(n0);
109
+ exports.InternalServerException$ = [-3, n0, _ISE,
110
+ { [_e]: _se },
111
+ [_m],
112
+ [0]
113
+ ];
114
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
115
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
116
+ { [_e]: _c },
117
+ [_m],
118
+ [0]
119
+ ];
120
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
121
+ exports.ThrottlingException$ = [-3, n0, _TE,
122
+ { [_e]: _c },
123
+ [_m],
124
+ [0]
125
+ ];
126
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
127
+ exports.ValidationException$ = [-3, n0, _VE,
128
+ { [_e]: _c },
129
+ [_m],
130
+ [0]
131
+ ];
132
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
133
+ exports.errorTypeRegistries = [
134
+ _s_registry,
135
+ n0_registry,
136
+ ];
137
+ exports.DeregisterSubscriptionProviderRequest$ = [3, n0, _DSPR,
138
+ 0,
139
+ [_SPA],
140
+ [0], 1
141
+ ];
142
+ exports.DeregisterSubscriptionProviderResponse$ = [3, n0, _DSPRe,
143
+ 0,
144
+ [],
145
+ []
146
+ ];
147
+ exports.Filter$ = [3, n0, _F,
148
+ 0,
149
+ [_N, _V, _O],
150
+ [0, 64 | 0, 0]
151
+ ];
152
+ exports.GetRegisteredSubscriptionProviderRequest$ = [3, n0, _GRSPR,
153
+ 0,
154
+ [_SPA],
155
+ [0], 1
156
+ ];
157
+ exports.GetRegisteredSubscriptionProviderResponse$ = [3, n0, _GRSPRe,
158
+ 0,
159
+ [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
160
+ [0, 0, 0, 0, 0, 0]
161
+ ];
162
+ exports.GetServiceSettingsRequest$ = [3, n0, _GSSR,
163
+ 0,
164
+ [],
165
+ []
166
+ ];
167
+ exports.GetServiceSettingsResponse$ = [3, n0, _GSSRe,
168
+ 0,
169
+ [_LSD, _LSDS, _S, _SM, _HR],
170
+ [0, () => exports.LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
171
+ ];
172
+ exports.Instance$ = [3, n0, _I,
173
+ 0,
174
+ [_AI, _IID, _IT, _AID, _S, _R, _UO, _PC, _LUT, _SN, _OV, _SPCT, _SPUT, _DS, _RWSP],
175
+ [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 0]
176
+ ];
177
+ exports.LinuxSubscriptionsDiscoverySettings$ = [3, n0, _LSDS,
178
+ 0,
179
+ [_SR, _OI],
180
+ [64 | 0, 0], 2
181
+ ];
182
+ exports.ListLinuxSubscriptionInstancesRequest$ = [3, n0, _LLSIR,
183
+ 0,
184
+ [_Fi, _MR, _NT],
185
+ [() => FilterList, 1, 0]
186
+ ];
187
+ exports.ListLinuxSubscriptionInstancesResponse$ = [3, n0, _LLSIRi,
188
+ 0,
189
+ [_In, _NT],
190
+ [() => InstanceList, 0]
191
+ ];
192
+ exports.ListLinuxSubscriptionsRequest$ = [3, n0, _LLSR,
193
+ 0,
194
+ [_Fi, _MR, _NT],
195
+ [() => FilterList, 1, 0]
196
+ ];
197
+ exports.ListLinuxSubscriptionsResponse$ = [3, n0, _LLSRi,
198
+ 0,
199
+ [_Su, _NT],
200
+ [() => SubscriptionList, 0]
201
+ ];
202
+ exports.ListRegisteredSubscriptionProvidersRequest$ = [3, n0, _LRSPR,
203
+ 0,
204
+ [_SPSub, _MR, _NT],
205
+ [64 | 0, 1, 0]
206
+ ];
207
+ exports.ListRegisteredSubscriptionProvidersResponse$ = [3, n0, _LRSPRi,
208
+ 0,
209
+ [_RSP, _NT],
210
+ [() => RegisteredSubscriptionProviderList, 0]
211
+ ];
212
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
213
+ 0,
214
+ [_rA],
215
+ [[0, 1]], 1
216
+ ];
217
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
218
+ 0,
219
+ [_t],
220
+ [[() => Tags, 0]]
221
+ ];
222
+ exports.RegisteredSubscriptionProvider$ = [3, n0, _RSPe,
223
+ 0,
224
+ [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
225
+ [0, 0, 0, 0, 0, 0]
226
+ ];
227
+ exports.RegisterSubscriptionProviderRequest$ = [3, n0, _RSPR,
228
+ 0,
229
+ [_SPS, _SA, _T],
230
+ [0, 0, [() => Tags, 0]], 2
231
+ ];
232
+ exports.RegisterSubscriptionProviderResponse$ = [3, n0, _RSPRe,
233
+ 0,
234
+ [_SPS, _SPA, _SPSu],
235
+ [0, 0, 0]
236
+ ];
237
+ exports.Subscription$ = [3, n0, _Sub,
238
+ 0,
239
+ [_N, _Ty, _IC],
240
+ [0, 0, 1]
241
+ ];
242
+ exports.TagResourceRequest$ = [3, n0, _TRR,
243
+ 0,
244
+ [_rA, _t],
245
+ [[0, 1], [() => Tags, 0]], 2
246
+ ];
247
+ exports.TagResourceResponse$ = [3, n0, _TRRa,
248
+ 0,
249
+ [],
250
+ []
251
+ ];
252
+ exports.UntagResourceRequest$ = [3, n0, _URR,
253
+ 0,
254
+ [_rA, _tK],
255
+ [[0, 1], [() => TagKeyList, { [_hQ]: _tK }]], 2
256
+ ];
257
+ exports.UntagResourceResponse$ = [3, n0, _URRn,
258
+ 0,
259
+ [],
260
+ []
261
+ ];
262
+ exports.UpdateServiceSettingsRequest$ = [3, n0, _USSR,
263
+ 0,
264
+ [_LSD, _LSDS, _AU],
265
+ [0, () => exports.LinuxSubscriptionsDiscoverySettings$, 2], 2
266
+ ];
267
+ exports.UpdateServiceSettingsResponse$ = [3, n0, _USSRp,
268
+ 0,
269
+ [_LSD, _LSDS, _S, _SM, _HR],
270
+ [0, () => exports.LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
271
+ ];
272
+ var FilterList = [1, n0, _FL,
273
+ 0, () => exports.Filter$
274
+ ];
275
+ var InstanceList = [1, n0, _IL,
276
+ 0, () => exports.Instance$
277
+ ];
278
+ var ProductCodeList = 64 | 0;
279
+ var RegisteredSubscriptionProviderList = [1, n0, _RSPL,
280
+ 0, () => exports.RegisteredSubscriptionProvider$
281
+ ];
282
+ var StringList = 64 | 0;
283
+ var SubscriptionList = [1, n0, _SL,
284
+ 0, () => exports.Subscription$
285
+ ];
286
+ var SubscriptionProviderSourceList = 64 | 0;
287
+ var TagKeyList = [1, n0, _TKL,
288
+ 8, 0
289
+ ];
290
+ var StringMap = 128 | 0;
291
+ var Tags = [2, n0, _T,
292
+ 8, 0, 0
293
+ ];
294
+ exports.DeregisterSubscriptionProvider$ = [9, n0, _DSP,
295
+ { [_h]: ["POST", "/subscription/DeregisterSubscriptionProvider", 200] }, () => exports.DeregisterSubscriptionProviderRequest$, () => exports.DeregisterSubscriptionProviderResponse$
296
+ ];
297
+ exports.GetRegisteredSubscriptionProvider$ = [9, n0, _GRSP,
298
+ { [_h]: ["POST", "/subscription/GetRegisteredSubscriptionProvider", 200] }, () => exports.GetRegisteredSubscriptionProviderRequest$, () => exports.GetRegisteredSubscriptionProviderResponse$
299
+ ];
300
+ exports.GetServiceSettings$ = [9, n0, _GSS,
301
+ { [_h]: ["POST", "/subscription/GetServiceSettings", 200] }, () => exports.GetServiceSettingsRequest$, () => exports.GetServiceSettingsResponse$
302
+ ];
303
+ exports.ListLinuxSubscriptionInstances$ = [9, n0, _LLSI,
304
+ { [_h]: ["POST", "/subscription/ListLinuxSubscriptionInstances", 200] }, () => exports.ListLinuxSubscriptionInstancesRequest$, () => exports.ListLinuxSubscriptionInstancesResponse$
305
+ ];
306
+ exports.ListLinuxSubscriptions$ = [9, n0, _LLS,
307
+ { [_h]: ["POST", "/subscription/ListLinuxSubscriptions", 200] }, () => exports.ListLinuxSubscriptionsRequest$, () => exports.ListLinuxSubscriptionsResponse$
308
+ ];
309
+ exports.ListRegisteredSubscriptionProviders$ = [9, n0, _LRSP,
310
+ { [_h]: ["POST", "/subscription/ListRegisteredSubscriptionProviders", 200] }, () => exports.ListRegisteredSubscriptionProvidersRequest$, () => exports.ListRegisteredSubscriptionProvidersResponse$
311
+ ];
312
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
313
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
314
+ ];
315
+ exports.RegisterSubscriptionProvider$ = [9, n0, _RSPeg,
316
+ { [_h]: ["POST", "/subscription/RegisterSubscriptionProvider", 200] }, () => exports.RegisterSubscriptionProviderRequest$, () => exports.RegisterSubscriptionProviderResponse$
317
+ ];
318
+ exports.TagResource$ = [9, n0, _TR,
319
+ { [_h]: ["PUT", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
320
+ ];
321
+ exports.UntagResource$ = [9, n0, _UR,
322
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
323
+ ];
324
+ exports.UpdateServiceSettings$ = [9, n0, _USS,
325
+ { [_h]: ["POST", "/subscription/UpdateServiceSettings", 200] }, () => exports.UpdateServiceSettingsRequest$, () => exports.UpdateServiceSettingsResponse$
326
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultLicenseManagerLinuxSubscriptionsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2018-05-10",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.licensemanagerlinuxsubscriptions",
30
+ errorTypeRegistries,
29
31
  version: "2018-05-10",
30
32
  serviceTarget: "LicenseManagerLinuxSubscriptions",
31
33
  },
@@ -91,14 +91,46 @@ const _h = "http";
91
91
  const _hQ = "httpQuery";
92
92
  const _m = "message";
93
93
  const _rA = "resourceArn";
94
- const _s = "server";
95
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.licensemanagerlinuxsubscriptions";
94
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.licensemanagerlinuxsubscriptions";
95
+ const _se = "server";
96
96
  const _t = "tags";
97
97
  const _tK = "tagKeys";
98
98
  const n0 = "com.amazonaws.licensemanagerlinuxsubscriptions";
99
99
  import { TypeRegistry } from "@smithy/core/schema";
100
100
  import { InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
101
101
  import { LicenseManagerLinuxSubscriptionsServiceException, } from "../models/LicenseManagerLinuxSubscriptionsServiceException";
102
+ const _s_registry = TypeRegistry.for(_s);
103
+ export var LicenseManagerLinuxSubscriptionsServiceException$ = [-3, _s, "LicenseManagerLinuxSubscriptionsServiceException", 0, [], []];
104
+ _s_registry.registerError(LicenseManagerLinuxSubscriptionsServiceException$, LicenseManagerLinuxSubscriptionsServiceException);
105
+ const n0_registry = TypeRegistry.for(n0);
106
+ export var InternalServerException$ = [-3, n0, _ISE,
107
+ { [_e]: _se },
108
+ [_m],
109
+ [0]
110
+ ];
111
+ n0_registry.registerError(InternalServerException$, InternalServerException);
112
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
113
+ { [_e]: _c },
114
+ [_m],
115
+ [0]
116
+ ];
117
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
118
+ export var ThrottlingException$ = [-3, n0, _TE,
119
+ { [_e]: _c },
120
+ [_m],
121
+ [0]
122
+ ];
123
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
124
+ export var ValidationException$ = [-3, n0, _VE,
125
+ { [_e]: _c },
126
+ [_m],
127
+ [0]
128
+ ];
129
+ n0_registry.registerError(ValidationException$, ValidationException);
130
+ export const errorTypeRegistries = [
131
+ _s_registry,
132
+ n0_registry,
133
+ ];
102
134
  export var DeregisterSubscriptionProviderRequest$ = [3, n0, _DSPR,
103
135
  0,
104
136
  [_SPA],
@@ -139,12 +171,6 @@ export var Instance$ = [3, n0, _I,
139
171
  [_AI, _IID, _IT, _AID, _S, _R, _UO, _PC, _LUT, _SN, _OV, _SPCT, _SPUT, _DS, _RWSP],
140
172
  [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 0]
141
173
  ];
142
- export var InternalServerException$ = [-3, n0, _ISE,
143
- { [_e]: _s },
144
- [_m],
145
- [0]
146
- ];
147
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
148
174
  export var LinuxSubscriptionsDiscoverySettings$ = [3, n0, _LSDS,
149
175
  0,
150
176
  [_SR, _OI],
@@ -205,12 +231,6 @@ export var RegisterSubscriptionProviderResponse$ = [3, n0, _RSPRe,
205
231
  [_SPS, _SPA, _SPSu],
206
232
  [0, 0, 0]
207
233
  ];
208
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
209
- { [_e]: _c },
210
- [_m],
211
- [0]
212
- ];
213
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
214
234
  export var Subscription$ = [3, n0, _Sub,
215
235
  0,
216
236
  [_N, _Ty, _IC],
@@ -226,12 +246,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
226
246
  [],
227
247
  []
228
248
  ];
229
- export var ThrottlingException$ = [-3, n0, _TE,
230
- { [_e]: _c },
231
- [_m],
232
- [0]
233
- ];
234
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
235
249
  export var UntagResourceRequest$ = [3, n0, _URR,
236
250
  0,
237
251
  [_rA, _tK],
@@ -252,14 +266,6 @@ export var UpdateServiceSettingsResponse$ = [3, n0, _USSRp,
252
266
  [_LSD, _LSDS, _S, _SM, _HR],
253
267
  [0, () => LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
254
268
  ];
255
- export var ValidationException$ = [-3, n0, _VE,
256
- { [_e]: _c },
257
- [_m],
258
- [0]
259
- ];
260
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
261
- export var LicenseManagerLinuxSubscriptionsServiceException$ = [-3, _sm, "LicenseManagerLinuxSubscriptionsServiceException", 0, [], []];
262
- TypeRegistry.for(_sm).registerError(LicenseManagerLinuxSubscriptionsServiceException$, LicenseManagerLinuxSubscriptionsServiceException);
263
269
  var FilterList = [1, n0, _FL,
264
270
  0, () => Filter$
265
271
  ];
@@ -1,4 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var LicenseManagerLinuxSubscriptionsServiceException$: StaticErrorSchema;
4
+ export declare var InternalServerException$: StaticErrorSchema;
5
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
6
+ export declare var ThrottlingException$: StaticErrorSchema;
7
+ export declare var ValidationException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
2
14
  export declare var DeregisterSubscriptionProviderRequest$: StaticStructureSchema;
3
15
  export declare var DeregisterSubscriptionProviderResponse$: StaticStructureSchema;
4
16
  export declare var Filter$: StaticStructureSchema;
@@ -7,7 +19,6 @@ export declare var GetRegisteredSubscriptionProviderResponse$: StaticStructureSc
7
19
  export declare var GetServiceSettingsRequest$: StaticStructureSchema;
8
20
  export declare var GetServiceSettingsResponse$: StaticStructureSchema;
9
21
  export declare var Instance$: StaticStructureSchema;
10
- export declare var InternalServerException$: StaticErrorSchema;
11
22
  export declare var LinuxSubscriptionsDiscoverySettings$: StaticStructureSchema;
12
23
  export declare var ListLinuxSubscriptionInstancesRequest$: StaticStructureSchema;
13
24
  export declare var ListLinuxSubscriptionInstancesResponse$: StaticStructureSchema;
@@ -20,17 +31,13 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
20
31
  export declare var RegisteredSubscriptionProvider$: StaticStructureSchema;
21
32
  export declare var RegisterSubscriptionProviderRequest$: StaticStructureSchema;
22
33
  export declare var RegisterSubscriptionProviderResponse$: StaticStructureSchema;
23
- export declare var ResourceNotFoundException$: StaticErrorSchema;
24
34
  export declare var Subscription$: StaticStructureSchema;
25
35
  export declare var TagResourceRequest$: StaticStructureSchema;
26
36
  export declare var TagResourceResponse$: StaticStructureSchema;
27
- export declare var ThrottlingException$: StaticErrorSchema;
28
37
  export declare var UntagResourceRequest$: StaticStructureSchema;
29
38
  export declare var UntagResourceResponse$: StaticStructureSchema;
30
39
  export declare var UpdateServiceSettingsRequest$: StaticStructureSchema;
31
40
  export declare var UpdateServiceSettingsResponse$: StaticStructureSchema;
32
- export declare var ValidationException$: StaticErrorSchema;
33
- export declare var LicenseManagerLinuxSubscriptionsServiceException$: StaticErrorSchema;
34
41
  export declare var DeregisterSubscriptionProvider$: StaticOperationSchema;
35
42
  export declare var GetRegisteredSubscriptionProvider$: StaticOperationSchema;
36
43
  export declare var GetServiceSettings$: StaticOperationSchema;
@@ -1,8 +1,15 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var LicenseManagerLinuxSubscriptionsServiceException$: StaticErrorSchema;
8
+ export declare var InternalServerException$: StaticErrorSchema;
9
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
10
+ export declare var ThrottlingException$: StaticErrorSchema;
11
+ export declare var ValidationException$: StaticErrorSchema;
12
+ export declare const errorTypeRegistries: TypeRegistry[];
6
13
  export declare var DeregisterSubscriptionProviderRequest$: StaticStructureSchema;
7
14
  export declare var DeregisterSubscriptionProviderResponse$: StaticStructureSchema;
8
15
  export declare var Filter$: StaticStructureSchema;
@@ -11,7 +18,6 @@ export declare var GetRegisteredSubscriptionProviderResponse$: StaticStructureSc
11
18
  export declare var GetServiceSettingsRequest$: StaticStructureSchema;
12
19
  export declare var GetServiceSettingsResponse$: StaticStructureSchema;
13
20
  export declare var Instance$: StaticStructureSchema;
14
- export declare var InternalServerException$: StaticErrorSchema;
15
21
  export declare var LinuxSubscriptionsDiscoverySettings$: StaticStructureSchema;
16
22
  export declare var ListLinuxSubscriptionInstancesRequest$: StaticStructureSchema;
17
23
  export declare var ListLinuxSubscriptionInstancesResponse$: StaticStructureSchema;
@@ -24,17 +30,13 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
24
30
  export declare var RegisteredSubscriptionProvider$: StaticStructureSchema;
25
31
  export declare var RegisterSubscriptionProviderRequest$: StaticStructureSchema;
26
32
  export declare var RegisterSubscriptionProviderResponse$: StaticStructureSchema;
27
- export declare var ResourceNotFoundException$: StaticErrorSchema;
28
33
  export declare var Subscription$: StaticStructureSchema;
29
34
  export declare var TagResourceRequest$: StaticStructureSchema;
30
35
  export declare var TagResourceResponse$: StaticStructureSchema;
31
- export declare var ThrottlingException$: StaticErrorSchema;
32
36
  export declare var UntagResourceRequest$: StaticStructureSchema;
33
37
  export declare var UntagResourceResponse$: StaticStructureSchema;
34
38
  export declare var UpdateServiceSettingsRequest$: StaticStructureSchema;
35
39
  export declare var UpdateServiceSettingsResponse$: StaticStructureSchema;
36
- export declare var ValidationException$: StaticErrorSchema;
37
- export declare var LicenseManagerLinuxSubscriptionsServiceException$: StaticErrorSchema;
38
40
  export declare var DeregisterSubscriptionProvider$: StaticOperationSchema;
39
41
  export declare var GetRegisteredSubscriptionProvider$: StaticOperationSchema;
40
42
  export declare var GetServiceSettings$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-license-manager-linux-subscriptions",
3
3
  "description": "AWS SDK for JavaScript License Manager Linux Subscriptions Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-license-manager-linux-subscriptions",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",