@aws-sdk/client-ssm-quicksetup 3.1075.0 → 3.1077.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,58 @@
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, defaultSSMQuickSetupHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateConfigurationManager$, DeleteConfigurationManager$, GetConfiguration$, GetConfigurationManager$, GetServiceSettings$, ListConfigurationManagers$, ListConfigurations$, ListQuickSetupTypes$, ListTagsForResource$, TagResource$, UntagResource$, UpdateConfigurationDefinition$, UpdateConfigurationManager$, UpdateServiceSettings$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { SSMQuickSetupServiceException } = require("./models/SSMQuickSetupServiceException");
18
- exports.SSMQuickSetupServiceException = SSMQuickSetupServiceException;
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, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultSSMQuickSetupHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "ssm-quicksetup",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultSSMQuickSetupHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,603 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ [k]: "UseDualStack" }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://ssm-quicksetup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://ssm-quicksetup-fips.{Region}.{PartitionResult#dnsSuffix}", i],
95
+ [a, "FIPS is enabled but this partition does not support FIPS"],
96
+ ["https://ssm-quicksetup.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
+ [a, "DualStack is enabled but this partition does not support DualStack"],
98
+ ["https://ssm-quicksetup.{Region}.{PartitionResult#dnsSuffix}", i],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 12, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 10,
111
+ 5, r + 8, r + 9,
112
+ 4, 10, 9,
113
+ 6, r + 6, r + 7,
114
+ 5, 11, r + 5,
115
+ 6, r + 4, r + 5,
116
+ 3, r + 1, 13,
117
+ 4, r + 2, r + 3,
118
+ ]);
119
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
120
+
121
+ const cache = new EndpointCache({
122
+ size: 50,
123
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
124
+ });
125
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
126
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
127
+ endpointParams: endpointParams,
128
+ logger: context.logger,
129
+ }));
130
+ };
131
+ customEndpointFunctions.aws = awsEndpointFunctions;
132
+
133
+ class SSMQuickSetupServiceException extends ServiceException {
134
+ constructor(options) {
135
+ super(options);
136
+ Object.setPrototypeOf(this, SSMQuickSetupServiceException.prototype);
137
+ }
138
+ }
139
+
140
+ class AccessDeniedException extends SSMQuickSetupServiceException {
141
+ name = "AccessDeniedException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "AccessDeniedException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ class ConflictException extends SSMQuickSetupServiceException {
155
+ name = "ConflictException";
156
+ $fault = "client";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "ConflictException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ConflictException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ class InternalServerException extends SSMQuickSetupServiceException {
169
+ name = "InternalServerException";
170
+ $fault = "server";
171
+ $retryable = {};
172
+ Message;
173
+ constructor(opts) {
174
+ super({
175
+ name: "InternalServerException",
176
+ $fault: "server",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, InternalServerException.prototype);
180
+ this.Message = opts.Message;
181
+ }
182
+ }
183
+ class ThrottlingException extends SSMQuickSetupServiceException {
184
+ name = "ThrottlingException";
185
+ $fault = "client";
186
+ $retryable = {};
187
+ Message;
188
+ constructor(opts) {
189
+ super({
190
+ name: "ThrottlingException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ class ValidationException extends SSMQuickSetupServiceException {
199
+ name = "ValidationException";
200
+ $fault = "client";
201
+ Message;
202
+ constructor(opts) {
203
+ super({
204
+ name: "ValidationException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, ValidationException.prototype);
209
+ this.Message = opts.Message;
210
+ }
211
+ }
212
+ class ResourceNotFoundException extends SSMQuickSetupServiceException {
213
+ name = "ResourceNotFoundException";
214
+ $fault = "client";
215
+ Message;
216
+ constructor(opts) {
217
+ super({
218
+ name: "ResourceNotFoundException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
223
+ this.Message = opts.Message;
224
+ }
225
+ }
226
+
227
+ const _A = "Account";
228
+ const _ADE = "AccessDeniedException";
229
+ const _CA = "CreatedAt";
230
+ const _CCM = "CreateConfigurationManager";
231
+ const _CCMI = "CreateConfigurationManagerInput";
232
+ const _CCMO = "CreateConfigurationManagerOutput";
233
+ const _CD = "ConfigurationDefinition";
234
+ const _CDI = "ConfigurationDefinitionInput";
235
+ const _CDIL = "ConfigurationDefinitionsInputList";
236
+ const _CDIo = "ConfigurationDefinitionId";
237
+ const _CDL = "ConfigurationDefinitionsList";
238
+ const _CDS = "ConfigurationDefinitionSummary";
239
+ const _CDSL = "ConfigurationDefinitionSummariesList";
240
+ const _CDSo = "ConfigurationDefinitionSummaries";
241
+ const _CDo = "ConfigurationDefinitions";
242
+ const _CE = "ConflictException";
243
+ const _CI = "ConfigurationId";
244
+ const _CL = "ConfigurationsList";
245
+ const _CML = "ConfigurationManagersList";
246
+ const _CMLo = "ConfigurationManagerList";
247
+ const _CMS = "ConfigurationManagerSummary";
248
+ const _CS = "ConfigurationSummary";
249
+ const _D = "Description";
250
+ const _DCM = "DeleteConfigurationManager";
251
+ const _DCMI = "DeleteConfigurationManagerInput";
252
+ const _EERA = "ExplorerEnablingRoleArn";
253
+ const _F = "Filter";
254
+ const _FCP = "FirstClassParameters";
255
+ const _FL = "FiltersList";
256
+ const _Fi = "Filters";
257
+ const _GC = "GetConfiguration";
258
+ const _GCI = "GetConfigurationInput";
259
+ const _GCM = "GetConfigurationManager";
260
+ const _GCMI = "GetConfigurationManagerInput";
261
+ const _GCMO = "GetConfigurationManagerOutput";
262
+ const _GCO = "GetConfigurationOutput";
263
+ const _GSS = "GetServiceSettings";
264
+ const _GSSO = "GetServiceSettingsOutput";
265
+ const _I = "Id";
266
+ const _ISE = "InternalServerException";
267
+ const _K = "Key";
268
+ const _LC = "ListConfigurations";
269
+ const _LCI = "ListConfigurationsInput";
270
+ const _LCM = "ListConfigurationManagers";
271
+ const _LCMI = "ListConfigurationManagersInput";
272
+ const _LCMO = "ListConfigurationManagersOutput";
273
+ const _LCO = "ListConfigurationsOutput";
274
+ const _LDARA = "LocalDeploymentAdministrationRoleArn";
275
+ const _LDERN = "LocalDeploymentExecutionRoleName";
276
+ const _LMA = "LastModifiedAt";
277
+ const _LQST = "ListQuickSetupTypes";
278
+ const _LQSTO = "ListQuickSetupTypesOutput";
279
+ const _LTFR = "ListTagsForResource";
280
+ const _LTFRR = "ListTagsForResourceRequest";
281
+ const _LTFRRi = "ListTagsForResourceResponse";
282
+ const _LUA = "LastUpdatedAt";
283
+ const _LV = "LatestVersion";
284
+ const _M = "Message";
285
+ const _MA = "ManagerArn";
286
+ const _MI = "MaxItems";
287
+ const _N = "Name";
288
+ const _NT = "NextToken";
289
+ const _P = "Parameters";
290
+ const _QSTL = "QuickSetupTypeList";
291
+ const _QSTO = "QuickSetupTypeOutput";
292
+ const _R = "Region";
293
+ const _RA = "ResourceArn";
294
+ const _RNFE = "ResourceNotFoundException";
295
+ const _S = "Status";
296
+ const _SD = "StatusDetails";
297
+ const _SM = "StatusMessage";
298
+ const _SS = "StatusSummaries";
299
+ const _SSL = "StatusSummariesList";
300
+ const _SSe = "ServiceSettings";
301
+ const _SSt = "StatusSummary";
302
+ const _ST = "StartingToken";
303
+ const _STt = "StatusType";
304
+ const _T = "Type";
305
+ const _TE = "ThrottlingException";
306
+ const _TEa = "TagEntry";
307
+ const _TK = "TagKeys";
308
+ const _TM = "TagsMap";
309
+ const _TR = "TagResource";
310
+ const _TRI = "TagResourceInput";
311
+ const _TV = "TypeVersion";
312
+ const _Ta = "Tags";
313
+ const _UCD = "UpdateConfigurationDefinition";
314
+ const _UCDI = "UpdateConfigurationDefinitionInput";
315
+ const _UCM = "UpdateConfigurationManager";
316
+ const _UCMI = "UpdateConfigurationManagerInput";
317
+ const _UR = "UntagResource";
318
+ const _URI = "UntagResourceInput";
319
+ const _USS = "UpdateServiceSettings";
320
+ const _USSI = "UpdateServiceSettingsInput";
321
+ const _V = "Values";
322
+ const _VE = "ValidationException";
323
+ const _Va = "Value";
324
+ const _c = "client";
325
+ const _e = "error";
326
+ const _h = "http";
327
+ const _hE = "httpError";
328
+ const _hQ = "httpQuery";
329
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssmquicksetup";
330
+ const _se = "server";
331
+ const _tK = "tagKeys";
332
+ const n0 = "com.amazonaws.ssmquicksetup";
333
+ const _s_registry = TypeRegistry.for(_s);
334
+ var SSMQuickSetupServiceException$ = [-3, _s, "SSMQuickSetupServiceException", 0, [], []];
335
+ _s_registry.registerError(SSMQuickSetupServiceException$, SSMQuickSetupServiceException);
336
+ const n0_registry = TypeRegistry.for(n0);
337
+ var AccessDeniedException$ = [-3, n0, _ADE,
338
+ { [_e]: _c, [_hE]: 403 },
339
+ [_M],
340
+ [0]
341
+ ];
342
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
343
+ var ConflictException$ = [-3, n0, _CE,
344
+ { [_e]: _c, [_hE]: 409 },
345
+ [_M],
346
+ [0]
347
+ ];
348
+ n0_registry.registerError(ConflictException$, ConflictException);
349
+ var InternalServerException$ = [-3, n0, _ISE,
350
+ { [_e]: _se, [_hE]: 500 },
351
+ [_M],
352
+ [0]
353
+ ];
354
+ n0_registry.registerError(InternalServerException$, InternalServerException);
355
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
356
+ { [_e]: _c, [_hE]: 404 },
357
+ [_M],
358
+ [0]
359
+ ];
360
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
361
+ var ThrottlingException$ = [-3, n0, _TE,
362
+ { [_e]: _c, [_hE]: 429 },
363
+ [_M],
364
+ [0], 1
365
+ ];
366
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
367
+ var ValidationException$ = [-3, n0, _VE,
368
+ { [_e]: _c, [_hE]: 400 },
369
+ [_M],
370
+ [0]
371
+ ];
372
+ n0_registry.registerError(ValidationException$, ValidationException);
373
+ const errorTypeRegistries = [
374
+ _s_registry,
375
+ n0_registry,
376
+ ];
377
+ var ConfigurationDefinition$ = [3, n0, _CD,
378
+ 0,
379
+ [_T, _P, _TV, _LDERN, _LDARA, _I],
380
+ [0, 128 | 0, 0, 0, 0, 0], 2
381
+ ];
382
+ var ConfigurationDefinitionInput$ = [3, n0, _CDI,
383
+ 0,
384
+ [_T, _P, _TV, _LDERN, _LDARA],
385
+ [0, 128 | 0, 0, 0, 0], 2
386
+ ];
387
+ var ConfigurationDefinitionSummary$ = [3, n0, _CDS,
388
+ 0,
389
+ [_I, _T, _TV, _FCP],
390
+ [0, 0, 0, 128 | 0]
391
+ ];
392
+ var ConfigurationManagerSummary$ = [3, n0, _CMS,
393
+ 0,
394
+ [_MA, _D, _N, _SS, _CDSo],
395
+ [0, 0, 0, () => StatusSummariesList, () => ConfigurationDefinitionSummariesList], 1
396
+ ];
397
+ var ConfigurationSummary$ = [3, n0, _CS,
398
+ 0,
399
+ [_I, _MA, _CDIo, _T, _TV, _R, _A, _CA, _FCP, _SS],
400
+ [0, 0, 0, 0, 0, 0, 0, 5, 128 | 0, () => StatusSummariesList]
401
+ ];
402
+ var CreateConfigurationManagerInput$ = [3, n0, _CCMI,
403
+ 0,
404
+ [_CDo, _N, _D, _Ta],
405
+ [() => ConfigurationDefinitionsInputList, 0, 0, [() => TagsMap, 0]], 1
406
+ ];
407
+ var CreateConfigurationManagerOutput$ = [3, n0, _CCMO,
408
+ 0,
409
+ [_MA],
410
+ [0], 1
411
+ ];
412
+ var DeleteConfigurationManagerInput$ = [3, n0, _DCMI,
413
+ 0,
414
+ [_MA],
415
+ [[0, 1]], 1
416
+ ];
417
+ var Filter$ = [3, n0, _F,
418
+ 0,
419
+ [_K, _V],
420
+ [0, 64 | 0], 2
421
+ ];
422
+ var GetConfigurationInput$ = [3, n0, _GCI,
423
+ 0,
424
+ [_CI],
425
+ [[0, 1]], 1
426
+ ];
427
+ var GetConfigurationManagerInput$ = [3, n0, _GCMI,
428
+ 0,
429
+ [_MA],
430
+ [[0, 1]], 1
431
+ ];
432
+ var GetConfigurationManagerOutput$ = [3, n0, _GCMO,
433
+ 0,
434
+ [_MA, _D, _N, _CA, _LMA, _SS, _CDo, _Ta],
435
+ [0, 0, 0, 5, 5, () => StatusSummariesList, () => ConfigurationDefinitionsList, [() => TagsMap, 0]], 1
436
+ ];
437
+ var GetConfigurationOutput$ = [3, n0, _GCO,
438
+ 0,
439
+ [_I, _MA, _CDIo, _T, _TV, _A, _R, _CA, _LMA, _SS, _P],
440
+ [0, 0, 0, 0, 0, 0, 0, 5, 5, () => StatusSummariesList, 128 | 0]
441
+ ];
442
+ var GetServiceSettingsOutput$ = [3, n0, _GSSO,
443
+ 0,
444
+ [_SSe],
445
+ [() => ServiceSettings$]
446
+ ];
447
+ var ListConfigurationManagersInput$ = [3, n0, _LCMI,
448
+ 0,
449
+ [_ST, _MI, _Fi],
450
+ [0, 1, () => FiltersList]
451
+ ];
452
+ var ListConfigurationManagersOutput$ = [3, n0, _LCMO,
453
+ 0,
454
+ [_CML, _NT],
455
+ [() => ConfigurationManagerList, 0]
456
+ ];
457
+ var ListConfigurationsInput$ = [3, n0, _LCI,
458
+ 0,
459
+ [_ST, _MI, _Fi, _MA, _CDIo],
460
+ [0, 1, () => FiltersList, 0, 0]
461
+ ];
462
+ var ListConfigurationsOutput$ = [3, n0, _LCO,
463
+ 0,
464
+ [_CL, _NT],
465
+ [() => ConfigurationsList, 0]
466
+ ];
467
+ var ListQuickSetupTypesOutput$ = [3, n0, _LQSTO,
468
+ 0,
469
+ [_QSTL],
470
+ [() => QuickSetupTypeList]
471
+ ];
472
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
473
+ 0,
474
+ [_RA],
475
+ [[0, 1]], 1
476
+ ];
477
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
478
+ 0,
479
+ [_Ta],
480
+ [[() => Tags, 0]]
481
+ ];
482
+ var QuickSetupTypeOutput$ = [3, n0, _QSTO,
483
+ 0,
484
+ [_T, _LV],
485
+ [0, 0]
486
+ ];
487
+ var ServiceSettings$ = [3, n0, _SSe,
488
+ 0,
489
+ [_EERA],
490
+ [0]
491
+ ];
492
+ var StatusSummary$ = [3, n0, _SSt,
493
+ 0,
494
+ [_STt, _LUA, _S, _SM, _SD],
495
+ [0, 5, 0, 0, 128 | 0], 2
496
+ ];
497
+ var TagEntry$ = [3, n0, _TEa,
498
+ 8,
499
+ [_K, _Va],
500
+ [0, 0]
501
+ ];
502
+ var TagResourceInput$ = [3, n0, _TRI,
503
+ 0,
504
+ [_RA, _Ta],
505
+ [[0, 1], [() => TagsMap, 0]], 2
506
+ ];
507
+ var UntagResourceInput$ = [3, n0, _URI,
508
+ 0,
509
+ [_RA, _TK],
510
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
511
+ ];
512
+ var UpdateConfigurationDefinitionInput$ = [3, n0, _UCDI,
513
+ 0,
514
+ [_MA, _I, _TV, _P, _LDERN, _LDARA],
515
+ [[0, 1], [0, 1], 0, 128 | 0, 0, 0], 2
516
+ ];
517
+ var UpdateConfigurationManagerInput$ = [3, n0, _UCMI,
518
+ 0,
519
+ [_MA, _N, _D],
520
+ [[0, 1], 0, 0], 1
521
+ ];
522
+ var UpdateServiceSettingsInput$ = [3, n0, _USSI,
523
+ 0,
524
+ [_EERA],
525
+ [0]
526
+ ];
527
+ var __Unit = "unit";
528
+ var ConfigurationDefinitionsInputList = [1, n0, _CDIL,
529
+ 0, () => ConfigurationDefinitionInput$
530
+ ];
531
+ var ConfigurationDefinitionsList = [1, n0, _CDL,
532
+ 0, () => ConfigurationDefinition$
533
+ ];
534
+ var ConfigurationDefinitionSummariesList = [1, n0, _CDSL,
535
+ 0, () => ConfigurationDefinitionSummary$
536
+ ];
537
+ var ConfigurationManagerList = [1, n0, _CMLo,
538
+ 0, () => ConfigurationManagerSummary$
539
+ ];
540
+ var ConfigurationsList = [1, n0, _CL,
541
+ 0, () => ConfigurationSummary$
542
+ ];
543
+ var FiltersList = [1, n0, _FL,
544
+ 0, () => Filter$
545
+ ];
546
+ var QuickSetupTypeList = [1, n0, _QSTL,
547
+ 0, () => QuickSetupTypeOutput$
548
+ ];
549
+ var StatusSummariesList = [1, n0, _SSL,
550
+ 0, () => StatusSummary$
551
+ ];
552
+ var Tags = [1, n0, _Ta,
553
+ 8, [() => TagEntry$,
554
+ 0]
555
+ ];
556
+ var TagsMap = [2, n0, _TM,
557
+ 8, 0, 0
558
+ ];
559
+ var CreateConfigurationManager$ = [9, n0, _CCM,
560
+ { [_h]: ["POST", "/configurationManager", 200] }, () => CreateConfigurationManagerInput$, () => CreateConfigurationManagerOutput$
561
+ ];
562
+ var DeleteConfigurationManager$ = [9, n0, _DCM,
563
+ { [_h]: ["DELETE", "/configurationManager/{ManagerArn}", 200] }, () => DeleteConfigurationManagerInput$, () => __Unit
564
+ ];
565
+ var GetConfiguration$ = [9, n0, _GC,
566
+ { [_h]: ["GET", "/getConfiguration/{ConfigurationId}", 200] }, () => GetConfigurationInput$, () => GetConfigurationOutput$
567
+ ];
568
+ var GetConfigurationManager$ = [9, n0, _GCM,
569
+ { [_h]: ["GET", "/configurationManager/{ManagerArn}", 200] }, () => GetConfigurationManagerInput$, () => GetConfigurationManagerOutput$
570
+ ];
571
+ var GetServiceSettings$ = [9, n0, _GSS,
572
+ { [_h]: ["GET", "/serviceSettings", 200] }, () => __Unit, () => GetServiceSettingsOutput$
573
+ ];
574
+ var ListConfigurationManagers$ = [9, n0, _LCM,
575
+ { [_h]: ["POST", "/listConfigurationManagers", 200] }, () => ListConfigurationManagersInput$, () => ListConfigurationManagersOutput$
576
+ ];
577
+ var ListConfigurations$ = [9, n0, _LC,
578
+ { [_h]: ["POST", "/listConfigurations", 200] }, () => ListConfigurationsInput$, () => ListConfigurationsOutput$
579
+ ];
580
+ var ListQuickSetupTypes$ = [9, n0, _LQST,
581
+ { [_h]: ["GET", "/listQuickSetupTypes", 200] }, () => __Unit, () => ListQuickSetupTypesOutput$
582
+ ];
583
+ var ListTagsForResource$ = [9, n0, _LTFR,
584
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
585
+ ];
586
+ var TagResource$ = [9, n0, _TR,
587
+ { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => __Unit
588
+ ];
589
+ var UntagResource$ = [9, n0, _UR,
590
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
591
+ ];
592
+ var UpdateConfigurationDefinition$ = [9, n0, _UCD,
593
+ { [_h]: ["PUT", "/configurationDefinition/{ManagerArn}/{Id}", 200] }, () => UpdateConfigurationDefinitionInput$, () => __Unit
594
+ ];
595
+ var UpdateConfigurationManager$ = [9, n0, _UCM,
596
+ { [_h]: ["PUT", "/configurationManager/{ManagerArn}", 200] }, () => UpdateConfigurationManagerInput$, () => __Unit
597
+ ];
598
+ var UpdateServiceSettings$ = [9, n0, _USS,
599
+ { [_h]: ["PUT", "/serviceSettings", 200] }, () => UpdateServiceSettingsInput$, () => __Unit
600
+ ];
601
+
602
+ const getRuntimeConfig$1 = (config) => {
603
+ return {
604
+ apiVersion: "2018-05-10",
605
+ base64Decoder: config?.base64Decoder ?? fromBase64,
606
+ base64Encoder: config?.base64Encoder ?? toBase64,
607
+ disableHostPrefix: config?.disableHostPrefix ?? false,
608
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
609
+ extensions: config?.extensions ?? [],
610
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSMQuickSetupHttpAuthSchemeProvider,
611
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
612
+ {
613
+ schemeId: "aws.auth#sigv4",
614
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
615
+ signer: new AwsSdkSigV4Signer(),
616
+ },
617
+ ],
618
+ logger: config?.logger ?? new NoOpLogger(),
619
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
620
+ protocolSettings: config?.protocolSettings ?? {
621
+ defaultNamespace: "com.amazonaws.ssmquicksetup",
622
+ errorTypeRegistries,
623
+ version: "2018-05-10",
624
+ serviceTarget: "QuickSetup",
625
+ },
626
+ serviceId: config?.serviceId ?? "SSM QuickSetup",
627
+ sha256: config?.sha256 ?? Sha256,
628
+ urlParser: config?.urlParser ?? parseUrl,
629
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
630
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
631
+ };
632
+ };
633
+
634
+ const getRuntimeConfig = (config) => {
635
+ emitWarningIfUnsupportedVersion(process.version);
636
+ const defaultsMode = resolveDefaultsModeConfig(config);
637
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
638
+ const clientSharedValues = getRuntimeConfig$1(config);
639
+ emitWarningIfUnsupportedVersion$1(process.version);
640
+ const loaderConfig = {
641
+ profile: config?.profile,
642
+ logger: clientSharedValues.logger,
643
+ };
644
+ return {
645
+ ...clientSharedValues,
646
+ ...config,
647
+ runtime: "node",
648
+ defaultsMode,
649
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
650
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
651
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
652
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
653
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
654
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
655
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
656
+ retryMode: config?.retryMode ??
657
+ loadConfig({
658
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
659
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
660
+ }, config),
661
+ streamCollector: config?.streamCollector ?? streamCollector,
662
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
663
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
664
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
665
+ };
666
+ };
667
+
34
668
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
669
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
670
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -324,23 +958,82 @@ const StatusType = {
324
958
  DEPLOYMENT: "Deployment",
325
959
  };
326
960
 
961
+ exports.AccessDeniedException = AccessDeniedException;
962
+ exports.AccessDeniedException$ = AccessDeniedException$;
963
+ exports.ConfigurationDefinition$ = ConfigurationDefinition$;
964
+ exports.ConfigurationDefinitionInput$ = ConfigurationDefinitionInput$;
965
+ exports.ConfigurationDefinitionSummary$ = ConfigurationDefinitionSummary$;
966
+ exports.ConfigurationManagerSummary$ = ConfigurationManagerSummary$;
967
+ exports.ConfigurationSummary$ = ConfigurationSummary$;
968
+ exports.ConflictException = ConflictException;
969
+ exports.ConflictException$ = ConflictException$;
970
+ exports.CreateConfigurationManager$ = CreateConfigurationManager$;
327
971
  exports.CreateConfigurationManagerCommand = CreateConfigurationManagerCommand;
972
+ exports.CreateConfigurationManagerInput$ = CreateConfigurationManagerInput$;
973
+ exports.CreateConfigurationManagerOutput$ = CreateConfigurationManagerOutput$;
974
+ exports.DeleteConfigurationManager$ = DeleteConfigurationManager$;
328
975
  exports.DeleteConfigurationManagerCommand = DeleteConfigurationManagerCommand;
976
+ exports.DeleteConfigurationManagerInput$ = DeleteConfigurationManagerInput$;
977
+ exports.Filter$ = Filter$;
978
+ exports.GetConfiguration$ = GetConfiguration$;
329
979
  exports.GetConfigurationCommand = GetConfigurationCommand;
980
+ exports.GetConfigurationInput$ = GetConfigurationInput$;
981
+ exports.GetConfigurationManager$ = GetConfigurationManager$;
330
982
  exports.GetConfigurationManagerCommand = GetConfigurationManagerCommand;
983
+ exports.GetConfigurationManagerInput$ = GetConfigurationManagerInput$;
984
+ exports.GetConfigurationManagerOutput$ = GetConfigurationManagerOutput$;
985
+ exports.GetConfigurationOutput$ = GetConfigurationOutput$;
986
+ exports.GetServiceSettings$ = GetServiceSettings$;
331
987
  exports.GetServiceSettingsCommand = GetServiceSettingsCommand;
988
+ exports.GetServiceSettingsOutput$ = GetServiceSettingsOutput$;
989
+ exports.InternalServerException = InternalServerException;
990
+ exports.InternalServerException$ = InternalServerException$;
991
+ exports.ListConfigurationManagers$ = ListConfigurationManagers$;
332
992
  exports.ListConfigurationManagersCommand = ListConfigurationManagersCommand;
993
+ exports.ListConfigurationManagersInput$ = ListConfigurationManagersInput$;
994
+ exports.ListConfigurationManagersOutput$ = ListConfigurationManagersOutput$;
995
+ exports.ListConfigurations$ = ListConfigurations$;
333
996
  exports.ListConfigurationsCommand = ListConfigurationsCommand;
997
+ exports.ListConfigurationsInput$ = ListConfigurationsInput$;
998
+ exports.ListConfigurationsOutput$ = ListConfigurationsOutput$;
999
+ exports.ListQuickSetupTypes$ = ListQuickSetupTypes$;
334
1000
  exports.ListQuickSetupTypesCommand = ListQuickSetupTypesCommand;
1001
+ exports.ListQuickSetupTypesOutput$ = ListQuickSetupTypesOutput$;
1002
+ exports.ListTagsForResource$ = ListTagsForResource$;
335
1003
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1004
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1005
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1006
+ exports.QuickSetupTypeOutput$ = QuickSetupTypeOutput$;
1007
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1008
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
336
1009
  exports.SSMQuickSetup = SSMQuickSetup;
337
1010
  exports.SSMQuickSetupClient = SSMQuickSetupClient;
1011
+ exports.SSMQuickSetupServiceException = SSMQuickSetupServiceException;
1012
+ exports.SSMQuickSetupServiceException$ = SSMQuickSetupServiceException$;
1013
+ exports.ServiceSettings$ = ServiceSettings$;
338
1014
  exports.Status = Status;
1015
+ exports.StatusSummary$ = StatusSummary$;
339
1016
  exports.StatusType = StatusType;
1017
+ exports.TagEntry$ = TagEntry$;
1018
+ exports.TagResource$ = TagResource$;
340
1019
  exports.TagResourceCommand = TagResourceCommand;
1020
+ exports.TagResourceInput$ = TagResourceInput$;
1021
+ exports.ThrottlingException = ThrottlingException;
1022
+ exports.ThrottlingException$ = ThrottlingException$;
1023
+ exports.UntagResource$ = UntagResource$;
341
1024
  exports.UntagResourceCommand = UntagResourceCommand;
1025
+ exports.UntagResourceInput$ = UntagResourceInput$;
1026
+ exports.UpdateConfigurationDefinition$ = UpdateConfigurationDefinition$;
342
1027
  exports.UpdateConfigurationDefinitionCommand = UpdateConfigurationDefinitionCommand;
1028
+ exports.UpdateConfigurationDefinitionInput$ = UpdateConfigurationDefinitionInput$;
1029
+ exports.UpdateConfigurationManager$ = UpdateConfigurationManager$;
343
1030
  exports.UpdateConfigurationManagerCommand = UpdateConfigurationManagerCommand;
1031
+ exports.UpdateConfigurationManagerInput$ = UpdateConfigurationManagerInput$;
1032
+ exports.UpdateServiceSettings$ = UpdateServiceSettings$;
344
1033
  exports.UpdateServiceSettingsCommand = UpdateServiceSettingsCommand;
1034
+ exports.UpdateServiceSettingsInput$ = UpdateServiceSettingsInput$;
1035
+ exports.ValidationException = ValidationException;
1036
+ exports.ValidationException$ = ValidationException$;
1037
+ exports.errorTypeRegistries = errorTypeRegistries;
345
1038
  exports.paginateListConfigurationManagers = paginateListConfigurationManagers;
346
1039
  exports.paginateListConfigurations = paginateListConfigurations;