@aws-sdk/client-license-manager-linux-subscriptions 3.1074.0 → 3.1076.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
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultLicenseManagerLinuxSubscriptionsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { DeregisterSubscriptionProvider$, GetRegisteredSubscriptionProvider$, GetServiceSettings$, ListLinuxSubscriptionInstances$, ListLinuxSubscriptions$, ListRegisteredSubscriptionProviders$, ListTagsForResource$, RegisterSubscriptionProvider$, TagResource$, UntagResource$, UpdateServiceSettings$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { LicenseManagerLinuxSubscriptionsServiceException } = require("./models/LicenseManagerLinuxSubscriptionsServiceException");
18
- exports.LicenseManagerLinuxSubscriptionsServiceException = LicenseManagerLinuxSubscriptionsServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultLicenseManagerLinuxSubscriptionsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "license-manager-linux-subscriptions",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultLicenseManagerLinuxSubscriptionsHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,507 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://license-manager-linux-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://license-manager-linux-subscriptions.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class LicenseManagerLinuxSubscriptionsServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, LicenseManagerLinuxSubscriptionsServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException {
140
+ name = "InternalServerException";
141
+ $fault = "server";
142
+ constructor(opts) {
143
+ super({
144
+ name: "InternalServerException",
145
+ $fault: "server",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, InternalServerException.prototype);
149
+ }
150
+ }
151
+ class ResourceNotFoundException extends LicenseManagerLinuxSubscriptionsServiceException {
152
+ name = "ResourceNotFoundException";
153
+ $fault = "client";
154
+ constructor(opts) {
155
+ super({
156
+ name: "ResourceNotFoundException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
161
+ }
162
+ }
163
+ class ThrottlingException extends LicenseManagerLinuxSubscriptionsServiceException {
164
+ name = "ThrottlingException";
165
+ $fault = "client";
166
+ constructor(opts) {
167
+ super({
168
+ name: "ThrottlingException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
173
+ }
174
+ }
175
+ class ValidationException extends LicenseManagerLinuxSubscriptionsServiceException {
176
+ name = "ValidationException";
177
+ $fault = "client";
178
+ constructor(opts) {
179
+ super({
180
+ name: "ValidationException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, ValidationException.prototype);
185
+ }
186
+ }
187
+
188
+ const _AI = "AmiId";
189
+ const _AID = "AccountID";
190
+ const _AU = "AllowUpdate";
191
+ const _DS = "DualSubscription";
192
+ const _DSP = "DeregisterSubscriptionProvider";
193
+ const _DSPR = "DeregisterSubscriptionProviderRequest";
194
+ const _DSPRe = "DeregisterSubscriptionProviderResponse";
195
+ const _F = "Filter";
196
+ const _FL = "FilterList";
197
+ const _Fi = "Filters";
198
+ const _GRSP = "GetRegisteredSubscriptionProvider";
199
+ const _GRSPR = "GetRegisteredSubscriptionProviderRequest";
200
+ const _GRSPRe = "GetRegisteredSubscriptionProviderResponse";
201
+ const _GSS = "GetServiceSettings";
202
+ const _GSSR = "GetServiceSettingsRequest";
203
+ const _GSSRe = "GetServiceSettingsResponse";
204
+ const _HR = "HomeRegions";
205
+ const _I = "Instance";
206
+ const _IC = "InstanceCount";
207
+ const _IID = "InstanceID";
208
+ const _IL = "InstanceList";
209
+ const _ISE = "InternalServerException";
210
+ const _IT = "InstanceType";
211
+ const _In = "Instances";
212
+ const _LLS = "ListLinuxSubscriptions";
213
+ const _LLSI = "ListLinuxSubscriptionInstances";
214
+ const _LLSIR = "ListLinuxSubscriptionInstancesRequest";
215
+ const _LLSIRi = "ListLinuxSubscriptionInstancesResponse";
216
+ const _LLSR = "ListLinuxSubscriptionsRequest";
217
+ const _LLSRi = "ListLinuxSubscriptionsResponse";
218
+ const _LRSP = "ListRegisteredSubscriptionProviders";
219
+ const _LRSPR = "ListRegisteredSubscriptionProvidersRequest";
220
+ const _LRSPRi = "ListRegisteredSubscriptionProvidersResponse";
221
+ const _LSD = "LinuxSubscriptionsDiscovery";
222
+ const _LSDRT = "LastSuccessfulDataRetrievalTime";
223
+ const _LSDS = "LinuxSubscriptionsDiscoverySettings";
224
+ const _LTFR = "ListTagsForResource";
225
+ const _LTFRR = "ListTagsForResourceRequest";
226
+ const _LTFRRi = "ListTagsForResourceResponse";
227
+ const _LUT = "LastUpdatedTime";
228
+ const _MR = "MaxResults";
229
+ const _N = "Name";
230
+ const _NT = "NextToken";
231
+ const _O = "Operator";
232
+ const _OI = "OrganizationIntegration";
233
+ const _OV = "OsVersion";
234
+ const _PC = "ProductCode";
235
+ const _R = "Region";
236
+ const _RNFE = "ResourceNotFoundException";
237
+ const _RSP = "RegisteredSubscriptionProviders";
238
+ const _RSPL = "RegisteredSubscriptionProviderList";
239
+ const _RSPR = "RegisterSubscriptionProviderRequest";
240
+ const _RSPRe = "RegisterSubscriptionProviderResponse";
241
+ const _RSPe = "RegisteredSubscriptionProvider";
242
+ const _RSPeg = "RegisterSubscriptionProvider";
243
+ const _RWSP = "RegisteredWithSubscriptionProvider";
244
+ const _S = "Status";
245
+ const _SA = "SecretArn";
246
+ const _SL = "SubscriptionList";
247
+ const _SM = "StatusMessage";
248
+ const _SN = "SubscriptionName";
249
+ const _SPA = "SubscriptionProviderArn";
250
+ const _SPCT = "SubscriptionProviderCreateTime";
251
+ const _SPS = "SubscriptionProviderSource";
252
+ const _SPSM = "SubscriptionProviderStatusMessage";
253
+ const _SPSu = "SubscriptionProviderStatus";
254
+ const _SPSub = "SubscriptionProviderSources";
255
+ const _SPUT = "SubscriptionProviderUpdateTime";
256
+ const _SR = "SourceRegions";
257
+ const _Su = "Subscriptions";
258
+ const _Sub = "Subscription";
259
+ const _T = "Tags";
260
+ const _TE = "ThrottlingException";
261
+ const _TKL = "TagKeyList";
262
+ const _TR = "TagResource";
263
+ const _TRR = "TagResourceRequest";
264
+ const _TRRa = "TagResourceResponse";
265
+ const _Ty = "Type";
266
+ const _UO = "UsageOperation";
267
+ const _UR = "UntagResource";
268
+ const _URR = "UntagResourceRequest";
269
+ const _URRn = "UntagResourceResponse";
270
+ const _USS = "UpdateServiceSettings";
271
+ const _USSR = "UpdateServiceSettingsRequest";
272
+ const _USSRp = "UpdateServiceSettingsResponse";
273
+ const _V = "Values";
274
+ const _VE = "ValidationException";
275
+ const _c = "client";
276
+ const _e = "error";
277
+ const _h = "http";
278
+ const _hQ = "httpQuery";
279
+ const _m = "message";
280
+ const _rA = "resourceArn";
281
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.licensemanagerlinuxsubscriptions";
282
+ const _se = "server";
283
+ const _t = "tags";
284
+ const _tK = "tagKeys";
285
+ const n0 = "com.amazonaws.licensemanagerlinuxsubscriptions";
286
+ const _s_registry = TypeRegistry.for(_s);
287
+ var LicenseManagerLinuxSubscriptionsServiceException$ = [-3, _s, "LicenseManagerLinuxSubscriptionsServiceException", 0, [], []];
288
+ _s_registry.registerError(LicenseManagerLinuxSubscriptionsServiceException$, LicenseManagerLinuxSubscriptionsServiceException);
289
+ const n0_registry = TypeRegistry.for(n0);
290
+ var InternalServerException$ = [-3, n0, _ISE,
291
+ { [_e]: _se },
292
+ [_m],
293
+ [0]
294
+ ];
295
+ n0_registry.registerError(InternalServerException$, InternalServerException);
296
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
297
+ { [_e]: _c },
298
+ [_m],
299
+ [0]
300
+ ];
301
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
302
+ var ThrottlingException$ = [-3, n0, _TE,
303
+ { [_e]: _c },
304
+ [_m],
305
+ [0]
306
+ ];
307
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
308
+ var ValidationException$ = [-3, n0, _VE,
309
+ { [_e]: _c },
310
+ [_m],
311
+ [0]
312
+ ];
313
+ n0_registry.registerError(ValidationException$, ValidationException);
314
+ const errorTypeRegistries = [
315
+ _s_registry,
316
+ n0_registry,
317
+ ];
318
+ var DeregisterSubscriptionProviderRequest$ = [3, n0, _DSPR,
319
+ 0,
320
+ [_SPA],
321
+ [0], 1
322
+ ];
323
+ var DeregisterSubscriptionProviderResponse$ = [3, n0, _DSPRe,
324
+ 0,
325
+ [],
326
+ []
327
+ ];
328
+ var Filter$ = [3, n0, _F,
329
+ 0,
330
+ [_N, _V, _O],
331
+ [0, 64 | 0, 0]
332
+ ];
333
+ var GetRegisteredSubscriptionProviderRequest$ = [3, n0, _GRSPR,
334
+ 0,
335
+ [_SPA],
336
+ [0], 1
337
+ ];
338
+ var GetRegisteredSubscriptionProviderResponse$ = [3, n0, _GRSPRe,
339
+ 0,
340
+ [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
341
+ [0, 0, 0, 0, 0, 0]
342
+ ];
343
+ var GetServiceSettingsRequest$ = [3, n0, _GSSR,
344
+ 0,
345
+ [],
346
+ []
347
+ ];
348
+ var GetServiceSettingsResponse$ = [3, n0, _GSSRe,
349
+ 0,
350
+ [_LSD, _LSDS, _S, _SM, _HR],
351
+ [0, () => LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
352
+ ];
353
+ var Instance$ = [3, n0, _I,
354
+ 0,
355
+ [_AI, _IID, _IT, _AID, _S, _R, _UO, _PC, _LUT, _SN, _OV, _SPCT, _SPUT, _DS, _RWSP],
356
+ [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 0]
357
+ ];
358
+ var LinuxSubscriptionsDiscoverySettings$ = [3, n0, _LSDS,
359
+ 0,
360
+ [_SR, _OI],
361
+ [64 | 0, 0], 2
362
+ ];
363
+ var ListLinuxSubscriptionInstancesRequest$ = [3, n0, _LLSIR,
364
+ 0,
365
+ [_Fi, _MR, _NT],
366
+ [() => FilterList, 1, 0]
367
+ ];
368
+ var ListLinuxSubscriptionInstancesResponse$ = [3, n0, _LLSIRi,
369
+ 0,
370
+ [_In, _NT],
371
+ [() => InstanceList, 0]
372
+ ];
373
+ var ListLinuxSubscriptionsRequest$ = [3, n0, _LLSR,
374
+ 0,
375
+ [_Fi, _MR, _NT],
376
+ [() => FilterList, 1, 0]
377
+ ];
378
+ var ListLinuxSubscriptionsResponse$ = [3, n0, _LLSRi,
379
+ 0,
380
+ [_Su, _NT],
381
+ [() => SubscriptionList, 0]
382
+ ];
383
+ var ListRegisteredSubscriptionProvidersRequest$ = [3, n0, _LRSPR,
384
+ 0,
385
+ [_SPSub, _MR, _NT],
386
+ [64 | 0, 1, 0]
387
+ ];
388
+ var ListRegisteredSubscriptionProvidersResponse$ = [3, n0, _LRSPRi,
389
+ 0,
390
+ [_RSP, _NT],
391
+ [() => RegisteredSubscriptionProviderList, 0]
392
+ ];
393
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
394
+ 0,
395
+ [_rA],
396
+ [[0, 1]], 1
397
+ ];
398
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
399
+ 0,
400
+ [_t],
401
+ [[() => Tags, 0]]
402
+ ];
403
+ var RegisteredSubscriptionProvider$ = [3, n0, _RSPe,
404
+ 0,
405
+ [_SPA, _SPS, _SA, _SPSu, _SPSM, _LSDRT],
406
+ [0, 0, 0, 0, 0, 0]
407
+ ];
408
+ var RegisterSubscriptionProviderRequest$ = [3, n0, _RSPR,
409
+ 0,
410
+ [_SPS, _SA, _T],
411
+ [0, 0, [() => Tags, 0]], 2
412
+ ];
413
+ var RegisterSubscriptionProviderResponse$ = [3, n0, _RSPRe,
414
+ 0,
415
+ [_SPS, _SPA, _SPSu],
416
+ [0, 0, 0]
417
+ ];
418
+ var Subscription$ = [3, n0, _Sub,
419
+ 0,
420
+ [_N, _Ty, _IC],
421
+ [0, 0, 1]
422
+ ];
423
+ var TagResourceRequest$ = [3, n0, _TRR,
424
+ 0,
425
+ [_rA, _t],
426
+ [[0, 1], [() => Tags, 0]], 2
427
+ ];
428
+ var TagResourceResponse$ = [3, n0, _TRRa,
429
+ 0,
430
+ [],
431
+ []
432
+ ];
433
+ var UntagResourceRequest$ = [3, n0, _URR,
434
+ 0,
435
+ [_rA, _tK],
436
+ [[0, 1], [() => TagKeyList, { [_hQ]: _tK }]], 2
437
+ ];
438
+ var UntagResourceResponse$ = [3, n0, _URRn,
439
+ 0,
440
+ [],
441
+ []
442
+ ];
443
+ var UpdateServiceSettingsRequest$ = [3, n0, _USSR,
444
+ 0,
445
+ [_LSD, _LSDS, _AU],
446
+ [0, () => LinuxSubscriptionsDiscoverySettings$, 2], 2
447
+ ];
448
+ var UpdateServiceSettingsResponse$ = [3, n0, _USSRp,
449
+ 0,
450
+ [_LSD, _LSDS, _S, _SM, _HR],
451
+ [0, () => LinuxSubscriptionsDiscoverySettings$, 0, 128 | 0, 64 | 0]
452
+ ];
453
+ var FilterList = [1, n0, _FL,
454
+ 0, () => Filter$
455
+ ];
456
+ var InstanceList = [1, n0, _IL,
457
+ 0, () => Instance$
458
+ ];
459
+ var RegisteredSubscriptionProviderList = [1, n0, _RSPL,
460
+ 0, () => RegisteredSubscriptionProvider$
461
+ ];
462
+ var SubscriptionList = [1, n0, _SL,
463
+ 0, () => Subscription$
464
+ ];
465
+ var TagKeyList = [1, n0, _TKL,
466
+ 8, 0
467
+ ];
468
+ var Tags = [2, n0, _T,
469
+ 8, 0, 0
470
+ ];
471
+ var DeregisterSubscriptionProvider$ = [9, n0, _DSP,
472
+ { [_h]: ["POST", "/subscription/DeregisterSubscriptionProvider", 200] }, () => DeregisterSubscriptionProviderRequest$, () => DeregisterSubscriptionProviderResponse$
473
+ ];
474
+ var GetRegisteredSubscriptionProvider$ = [9, n0, _GRSP,
475
+ { [_h]: ["POST", "/subscription/GetRegisteredSubscriptionProvider", 200] }, () => GetRegisteredSubscriptionProviderRequest$, () => GetRegisteredSubscriptionProviderResponse$
476
+ ];
477
+ var GetServiceSettings$ = [9, n0, _GSS,
478
+ { [_h]: ["POST", "/subscription/GetServiceSettings", 200] }, () => GetServiceSettingsRequest$, () => GetServiceSettingsResponse$
479
+ ];
480
+ var ListLinuxSubscriptionInstances$ = [9, n0, _LLSI,
481
+ { [_h]: ["POST", "/subscription/ListLinuxSubscriptionInstances", 200] }, () => ListLinuxSubscriptionInstancesRequest$, () => ListLinuxSubscriptionInstancesResponse$
482
+ ];
483
+ var ListLinuxSubscriptions$ = [9, n0, _LLS,
484
+ { [_h]: ["POST", "/subscription/ListLinuxSubscriptions", 200] }, () => ListLinuxSubscriptionsRequest$, () => ListLinuxSubscriptionsResponse$
485
+ ];
486
+ var ListRegisteredSubscriptionProviders$ = [9, n0, _LRSP,
487
+ { [_h]: ["POST", "/subscription/ListRegisteredSubscriptionProviders", 200] }, () => ListRegisteredSubscriptionProvidersRequest$, () => ListRegisteredSubscriptionProvidersResponse$
488
+ ];
489
+ var ListTagsForResource$ = [9, n0, _LTFR,
490
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
491
+ ];
492
+ var RegisterSubscriptionProvider$ = [9, n0, _RSPeg,
493
+ { [_h]: ["POST", "/subscription/RegisterSubscriptionProvider", 200] }, () => RegisterSubscriptionProviderRequest$, () => RegisterSubscriptionProviderResponse$
494
+ ];
495
+ var TagResource$ = [9, n0, _TR,
496
+ { [_h]: ["PUT", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
497
+ ];
498
+ var UntagResource$ = [9, n0, _UR,
499
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
500
+ ];
501
+ var UpdateServiceSettings$ = [9, n0, _USS,
502
+ { [_h]: ["POST", "/subscription/UpdateServiceSettings", 200] }, () => UpdateServiceSettingsRequest$, () => UpdateServiceSettingsResponse$
503
+ ];
504
+
505
+ const getRuntimeConfig$1 = (config) => {
506
+ return {
507
+ apiVersion: "2018-05-10",
508
+ base64Decoder: config?.base64Decoder ?? fromBase64,
509
+ base64Encoder: config?.base64Encoder ?? toBase64,
510
+ disableHostPrefix: config?.disableHostPrefix ?? false,
511
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
512
+ extensions: config?.extensions ?? [],
513
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultLicenseManagerLinuxSubscriptionsHttpAuthSchemeProvider,
514
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
515
+ {
516
+ schemeId: "aws.auth#sigv4",
517
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
518
+ signer: new AwsSdkSigV4Signer(),
519
+ },
520
+ ],
521
+ logger: config?.logger ?? new NoOpLogger(),
522
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
523
+ protocolSettings: config?.protocolSettings ?? {
524
+ defaultNamespace: "com.amazonaws.licensemanagerlinuxsubscriptions",
525
+ errorTypeRegistries,
526
+ version: "2018-05-10",
527
+ serviceTarget: "LicenseManagerLinuxSubscriptions",
528
+ },
529
+ serviceId: config?.serviceId ?? "License Manager Linux Subscriptions",
530
+ urlParser: config?.urlParser ?? parseUrl,
531
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
532
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
533
+ };
534
+ };
535
+
536
+ const getRuntimeConfig = (config) => {
537
+ emitWarningIfUnsupportedVersion(process.version);
538
+ const defaultsMode = resolveDefaultsModeConfig(config);
539
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
540
+ const clientSharedValues = getRuntimeConfig$1(config);
541
+ emitWarningIfUnsupportedVersion$1(process.version);
542
+ const loaderConfig = {
543
+ profile: config?.profile,
544
+ logger: clientSharedValues.logger,
545
+ };
546
+ return {
547
+ ...clientSharedValues,
548
+ ...config,
549
+ runtime: "node",
550
+ defaultsMode,
551
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
552
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
553
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
554
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
555
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
556
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
557
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
558
+ retryMode: config?.retryMode ??
559
+ loadConfig({
560
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
561
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
562
+ }, config),
563
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
564
+ streamCollector: config?.streamCollector ?? streamCollector,
565
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
566
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
567
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
568
+ };
569
+ };
570
+
34
571
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
572
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
573
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -299,25 +836,74 @@ const Status = {
299
836
  Successful: "Successful",
300
837
  };
301
838
 
839
+ exports.DeregisterSubscriptionProvider$ = DeregisterSubscriptionProvider$;
302
840
  exports.DeregisterSubscriptionProviderCommand = DeregisterSubscriptionProviderCommand;
841
+ exports.DeregisterSubscriptionProviderRequest$ = DeregisterSubscriptionProviderRequest$;
842
+ exports.DeregisterSubscriptionProviderResponse$ = DeregisterSubscriptionProviderResponse$;
843
+ exports.Filter$ = Filter$;
844
+ exports.GetRegisteredSubscriptionProvider$ = GetRegisteredSubscriptionProvider$;
303
845
  exports.GetRegisteredSubscriptionProviderCommand = GetRegisteredSubscriptionProviderCommand;
846
+ exports.GetRegisteredSubscriptionProviderRequest$ = GetRegisteredSubscriptionProviderRequest$;
847
+ exports.GetRegisteredSubscriptionProviderResponse$ = GetRegisteredSubscriptionProviderResponse$;
848
+ exports.GetServiceSettings$ = GetServiceSettings$;
304
849
  exports.GetServiceSettingsCommand = GetServiceSettingsCommand;
850
+ exports.GetServiceSettingsRequest$ = GetServiceSettingsRequest$;
851
+ exports.GetServiceSettingsResponse$ = GetServiceSettingsResponse$;
852
+ exports.Instance$ = Instance$;
853
+ exports.InternalServerException = InternalServerException;
854
+ exports.InternalServerException$ = InternalServerException$;
305
855
  exports.LicenseManagerLinuxSubscriptions = LicenseManagerLinuxSubscriptions;
306
856
  exports.LicenseManagerLinuxSubscriptionsClient = LicenseManagerLinuxSubscriptionsClient;
857
+ exports.LicenseManagerLinuxSubscriptionsServiceException = LicenseManagerLinuxSubscriptionsServiceException;
858
+ exports.LicenseManagerLinuxSubscriptionsServiceException$ = LicenseManagerLinuxSubscriptionsServiceException$;
307
859
  exports.LinuxSubscriptionsDiscovery = LinuxSubscriptionsDiscovery;
860
+ exports.LinuxSubscriptionsDiscoverySettings$ = LinuxSubscriptionsDiscoverySettings$;
861
+ exports.ListLinuxSubscriptionInstances$ = ListLinuxSubscriptionInstances$;
308
862
  exports.ListLinuxSubscriptionInstancesCommand = ListLinuxSubscriptionInstancesCommand;
863
+ exports.ListLinuxSubscriptionInstancesRequest$ = ListLinuxSubscriptionInstancesRequest$;
864
+ exports.ListLinuxSubscriptionInstancesResponse$ = ListLinuxSubscriptionInstancesResponse$;
865
+ exports.ListLinuxSubscriptions$ = ListLinuxSubscriptions$;
309
866
  exports.ListLinuxSubscriptionsCommand = ListLinuxSubscriptionsCommand;
867
+ exports.ListLinuxSubscriptionsRequest$ = ListLinuxSubscriptionsRequest$;
868
+ exports.ListLinuxSubscriptionsResponse$ = ListLinuxSubscriptionsResponse$;
869
+ exports.ListRegisteredSubscriptionProviders$ = ListRegisteredSubscriptionProviders$;
310
870
  exports.ListRegisteredSubscriptionProvidersCommand = ListRegisteredSubscriptionProvidersCommand;
871
+ exports.ListRegisteredSubscriptionProvidersRequest$ = ListRegisteredSubscriptionProvidersRequest$;
872
+ exports.ListRegisteredSubscriptionProvidersResponse$ = ListRegisteredSubscriptionProvidersResponse$;
873
+ exports.ListTagsForResource$ = ListTagsForResource$;
311
874
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
875
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
876
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
312
877
  exports.Operator = Operator;
313
878
  exports.OrganizationIntegration = OrganizationIntegration;
879
+ exports.RegisterSubscriptionProvider$ = RegisterSubscriptionProvider$;
314
880
  exports.RegisterSubscriptionProviderCommand = RegisterSubscriptionProviderCommand;
881
+ exports.RegisterSubscriptionProviderRequest$ = RegisterSubscriptionProviderRequest$;
882
+ exports.RegisterSubscriptionProviderResponse$ = RegisterSubscriptionProviderResponse$;
883
+ exports.RegisteredSubscriptionProvider$ = RegisteredSubscriptionProvider$;
884
+ exports.ResourceNotFoundException = ResourceNotFoundException;
885
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
315
886
  exports.Status = Status;
887
+ exports.Subscription$ = Subscription$;
316
888
  exports.SubscriptionProviderSource = SubscriptionProviderSource;
317
889
  exports.SubscriptionProviderStatus = SubscriptionProviderStatus;
890
+ exports.TagResource$ = TagResource$;
318
891
  exports.TagResourceCommand = TagResourceCommand;
892
+ exports.TagResourceRequest$ = TagResourceRequest$;
893
+ exports.TagResourceResponse$ = TagResourceResponse$;
894
+ exports.ThrottlingException = ThrottlingException;
895
+ exports.ThrottlingException$ = ThrottlingException$;
896
+ exports.UntagResource$ = UntagResource$;
319
897
  exports.UntagResourceCommand = UntagResourceCommand;
898
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
899
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
900
+ exports.UpdateServiceSettings$ = UpdateServiceSettings$;
320
901
  exports.UpdateServiceSettingsCommand = UpdateServiceSettingsCommand;
902
+ exports.UpdateServiceSettingsRequest$ = UpdateServiceSettingsRequest$;
903
+ exports.UpdateServiceSettingsResponse$ = UpdateServiceSettingsResponse$;
904
+ exports.ValidationException = ValidationException;
905
+ exports.ValidationException$ = ValidationException$;
906
+ exports.errorTypeRegistries = errorTypeRegistries;
321
907
  exports.paginateListLinuxSubscriptionInstances = paginateListLinuxSubscriptionInstances;
322
908
  exports.paginateListLinuxSubscriptions = paginateListLinuxSubscriptions;
323
909
  exports.paginateListRegisteredSubscriptionProviders = paginateListRegisteredSubscriptionProviders;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: LicenseManagerLinuxSubscriptions
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  cacheMiddleware?: boolean | undefined;
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: LicenseManagerLinuxSubscriptions
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;