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