@aws-sdk/client-ssm-quicksetup 3.893.0 → 3.894.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist-cjs/index.js +1214 -10
  2. package/package.json +6 -6
  3. package/dist-cjs/SSMQuickSetup.js +0 -39
  4. package/dist-cjs/SSMQuickSetupClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/CreateConfigurationManagerCommand.js +0 -27
  7. package/dist-cjs/commands/DeleteConfigurationManagerCommand.js +0 -26
  8. package/dist-cjs/commands/GetConfigurationCommand.js +0 -26
  9. package/dist-cjs/commands/GetConfigurationManagerCommand.js +0 -27
  10. package/dist-cjs/commands/GetServiceSettingsCommand.js +0 -26
  11. package/dist-cjs/commands/ListConfigurationManagersCommand.js +0 -26
  12. package/dist-cjs/commands/ListConfigurationsCommand.js +0 -26
  13. package/dist-cjs/commands/ListQuickSetupTypesCommand.js +0 -26
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
  15. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  16. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  17. package/dist-cjs/commands/UpdateConfigurationDefinitionCommand.js +0 -26
  18. package/dist-cjs/commands/UpdateConfigurationManagerCommand.js +0 -26
  19. package/dist-cjs/commands/UpdateServiceSettingsCommand.js +0 -26
  20. package/dist-cjs/commands/index.js +0 -17
  21. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  22. package/dist-cjs/extensionConfiguration.js +0 -2
  23. package/dist-cjs/models/SSMQuickSetupServiceException.js +0 -12
  24. package/dist-cjs/models/index.js +0 -4
  25. package/dist-cjs/models/models_0.js +0 -137
  26. package/dist-cjs/pagination/Interfaces.js +0 -2
  27. package/dist-cjs/pagination/ListConfigurationManagersPaginator.js +0 -7
  28. package/dist-cjs/pagination/ListConfigurationsPaginator.js +0 -7
  29. package/dist-cjs/pagination/index.js +0 -6
  30. package/dist-cjs/protocols/Aws_restJson1.js +0 -577
  31. package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,1215 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SSMQuickSetupServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./SSMQuickSetupClient"), exports);
6
- tslib_1.__exportStar(require("./SSMQuickSetup"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- var SSMQuickSetupServiceException_1 = require("./models/SSMQuickSetupServiceException");
11
- Object.defineProperty(exports, "SSMQuickSetupServiceException", { enumerable: true, get: function () { return SSMQuickSetupServiceException_1.SSMQuickSetupServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ ConflictException: () => ConflictException,
26
+ CreateConfigurationManagerCommand: () => CreateConfigurationManagerCommand,
27
+ CreateConfigurationManagerInputFilterSensitiveLog: () => CreateConfigurationManagerInputFilterSensitiveLog,
28
+ DeleteConfigurationManagerCommand: () => DeleteConfigurationManagerCommand,
29
+ GetConfigurationCommand: () => GetConfigurationCommand,
30
+ GetConfigurationManagerCommand: () => GetConfigurationManagerCommand,
31
+ GetConfigurationManagerOutputFilterSensitiveLog: () => GetConfigurationManagerOutputFilterSensitiveLog,
32
+ GetServiceSettingsCommand: () => GetServiceSettingsCommand,
33
+ InternalServerException: () => InternalServerException,
34
+ ListConfigurationManagersCommand: () => ListConfigurationManagersCommand,
35
+ ListConfigurationsCommand: () => ListConfigurationsCommand,
36
+ ListQuickSetupTypesCommand: () => ListQuickSetupTypesCommand,
37
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
38
+ ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
39
+ ResourceNotFoundException: () => ResourceNotFoundException,
40
+ SSMQuickSetup: () => SSMQuickSetup,
41
+ SSMQuickSetupClient: () => SSMQuickSetupClient,
42
+ SSMQuickSetupServiceException: () => SSMQuickSetupServiceException,
43
+ Status: () => Status,
44
+ StatusType: () => StatusType,
45
+ TagEntryFilterSensitiveLog: () => TagEntryFilterSensitiveLog,
46
+ TagResourceCommand: () => TagResourceCommand,
47
+ TagResourceInputFilterSensitiveLog: () => TagResourceInputFilterSensitiveLog,
48
+ ThrottlingException: () => ThrottlingException,
49
+ UntagResourceCommand: () => UntagResourceCommand,
50
+ UpdateConfigurationDefinitionCommand: () => UpdateConfigurationDefinitionCommand,
51
+ UpdateConfigurationManagerCommand: () => UpdateConfigurationManagerCommand,
52
+ UpdateServiceSettingsCommand: () => UpdateServiceSettingsCommand,
53
+ ValidationException: () => ValidationException,
54
+ __Client: () => import_smithy_client.Client,
55
+ paginateListConfigurationManagers: () => paginateListConfigurationManagers,
56
+ paginateListConfigurations: () => paginateListConfigurations
57
+ });
58
+ module.exports = __toCommonJS(index_exports);
59
+
60
+ // src/SSMQuickSetupClient.ts
61
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
62
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
63
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
64
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
65
+ var import_config_resolver = require("@smithy/config-resolver");
66
+ var import_core = require("@smithy/core");
67
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
68
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
69
+ var import_middleware_retry = require("@smithy/middleware-retry");
70
+
71
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
72
+
73
+ // src/endpoint/EndpointParameters.ts
74
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
75
+ return Object.assign(options, {
76
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
77
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
78
+ defaultSigningName: "ssm-quicksetup"
79
+ });
80
+ }, "resolveClientEndpointParameters");
81
+ var commonParams = {
82
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
83
+ Endpoint: { type: "builtInParams", name: "endpoint" },
84
+ Region: { type: "builtInParams", name: "region" },
85
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
86
+ };
87
+
88
+ // src/SSMQuickSetupClient.ts
89
+ var import_runtimeConfig = require("././runtimeConfig");
90
+
91
+ // src/runtimeExtensions.ts
92
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
93
+ var import_protocol_http = require("@smithy/protocol-http");
94
+ var import_smithy_client = require("@smithy/smithy-client");
95
+
96
+ // src/auth/httpAuthExtensionConfiguration.ts
97
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
98
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
99
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
100
+ let _credentials = runtimeConfig.credentials;
101
+ return {
102
+ setHttpAuthScheme(httpAuthScheme) {
103
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
104
+ if (index === -1) {
105
+ _httpAuthSchemes.push(httpAuthScheme);
106
+ } else {
107
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
108
+ }
109
+ },
110
+ httpAuthSchemes() {
111
+ return _httpAuthSchemes;
112
+ },
113
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
114
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
115
+ },
116
+ httpAuthSchemeProvider() {
117
+ return _httpAuthSchemeProvider;
118
+ },
119
+ setCredentials(credentials) {
120
+ _credentials = credentials;
121
+ },
122
+ credentials() {
123
+ return _credentials;
124
+ }
125
+ };
126
+ }, "getHttpAuthExtensionConfiguration");
127
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
128
+ return {
129
+ httpAuthSchemes: config.httpAuthSchemes(),
130
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
131
+ credentials: config.credentials()
132
+ };
133
+ }, "resolveHttpAuthRuntimeConfig");
134
+
135
+ // src/runtimeExtensions.ts
136
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
137
+ const extensionConfiguration = Object.assign(
138
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
139
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
140
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
141
+ getHttpAuthExtensionConfiguration(runtimeConfig)
142
+ );
143
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
144
+ return Object.assign(
145
+ runtimeConfig,
146
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
147
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
148
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
149
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
150
+ );
151
+ }, "resolveRuntimeExtensions");
152
+
153
+ // src/SSMQuickSetupClient.ts
154
+ var SSMQuickSetupClient = class extends import_smithy_client.Client {
155
+ static {
156
+ __name(this, "SSMQuickSetupClient");
157
+ }
158
+ /**
159
+ * The resolved configuration of SSMQuickSetupClient class. This is resolved and normalized from the {@link SSMQuickSetupClientConfig | constructor configuration interface}.
160
+ */
161
+ config;
162
+ constructor(...[configuration]) {
163
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
164
+ super(_config_0);
165
+ this.initConfig = _config_0;
166
+ const _config_1 = resolveClientEndpointParameters(_config_0);
167
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
168
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
169
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
170
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
171
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
172
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
173
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
174
+ this.config = _config_8;
175
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
176
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
177
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
178
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
179
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
180
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
181
+ this.middlewareStack.use(
182
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
183
+ httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSMQuickSetupHttpAuthSchemeParametersProvider,
184
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
185
+ "aws.auth#sigv4": config.credentials
186
+ }), "identityProviderConfigProvider")
187
+ })
188
+ );
189
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
190
+ }
191
+ /**
192
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
193
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
194
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
195
+ */
196
+ destroy() {
197
+ super.destroy();
198
+ }
199
+ };
200
+
201
+ // src/SSMQuickSetup.ts
202
+
203
+
204
+ // src/commands/CreateConfigurationManagerCommand.ts
205
+
206
+ var import_middleware_serde = require("@smithy/middleware-serde");
207
+
208
+
209
+ // src/models/models_0.ts
210
+
211
+
212
+ // src/models/SSMQuickSetupServiceException.ts
213
+
214
+ var SSMQuickSetupServiceException = class _SSMQuickSetupServiceException extends import_smithy_client.ServiceException {
215
+ static {
216
+ __name(this, "SSMQuickSetupServiceException");
217
+ }
218
+ /**
219
+ * @internal
220
+ */
221
+ constructor(options) {
222
+ super(options);
223
+ Object.setPrototypeOf(this, _SSMQuickSetupServiceException.prototype);
224
+ }
225
+ };
226
+
227
+ // src/models/models_0.ts
228
+ var AccessDeniedException = class _AccessDeniedException extends SSMQuickSetupServiceException {
229
+ static {
230
+ __name(this, "AccessDeniedException");
231
+ }
232
+ name = "AccessDeniedException";
233
+ $fault = "client";
234
+ Message;
235
+ /**
236
+ * @internal
237
+ */
238
+ constructor(opts) {
239
+ super({
240
+ name: "AccessDeniedException",
241
+ $fault: "client",
242
+ ...opts
243
+ });
244
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
245
+ this.Message = opts.Message;
246
+ }
247
+ };
248
+ var Status = {
249
+ DELETE_FAILED: "DELETE_FAILED",
250
+ DELETING: "DELETING",
251
+ DEPLOYING: "DEPLOYING",
252
+ FAILED: "FAILED",
253
+ INITIALIZING: "INITIALIZING",
254
+ NONE: "NONE",
255
+ STOPPED: "STOPPED",
256
+ STOPPING: "STOPPING",
257
+ STOP_FAILED: "STOP_FAILED",
258
+ SUCCEEDED: "SUCCEEDED"
259
+ };
260
+ var StatusType = {
261
+ ASYNC_EXECUTIONS: "AsyncExecutions",
262
+ DEPLOYMENT: "Deployment"
263
+ };
264
+ var ConflictException = class _ConflictException extends SSMQuickSetupServiceException {
265
+ static {
266
+ __name(this, "ConflictException");
267
+ }
268
+ name = "ConflictException";
269
+ $fault = "client";
270
+ Message;
271
+ /**
272
+ * @internal
273
+ */
274
+ constructor(opts) {
275
+ super({
276
+ name: "ConflictException",
277
+ $fault: "client",
278
+ ...opts
279
+ });
280
+ Object.setPrototypeOf(this, _ConflictException.prototype);
281
+ this.Message = opts.Message;
282
+ }
283
+ };
284
+ var InternalServerException = class _InternalServerException extends SSMQuickSetupServiceException {
285
+ static {
286
+ __name(this, "InternalServerException");
287
+ }
288
+ name = "InternalServerException";
289
+ $fault = "server";
290
+ $retryable = {};
291
+ Message;
292
+ /**
293
+ * @internal
294
+ */
295
+ constructor(opts) {
296
+ super({
297
+ name: "InternalServerException",
298
+ $fault: "server",
299
+ ...opts
300
+ });
301
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
302
+ this.Message = opts.Message;
303
+ }
304
+ };
305
+ var ThrottlingException = class _ThrottlingException extends SSMQuickSetupServiceException {
306
+ static {
307
+ __name(this, "ThrottlingException");
308
+ }
309
+ name = "ThrottlingException";
310
+ $fault = "client";
311
+ $retryable = {};
312
+ Message;
313
+ /**
314
+ * @internal
315
+ */
316
+ constructor(opts) {
317
+ super({
318
+ name: "ThrottlingException",
319
+ $fault: "client",
320
+ ...opts
321
+ });
322
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
323
+ this.Message = opts.Message;
324
+ }
325
+ };
326
+ var ValidationException = class _ValidationException extends SSMQuickSetupServiceException {
327
+ static {
328
+ __name(this, "ValidationException");
329
+ }
330
+ name = "ValidationException";
331
+ $fault = "client";
332
+ Message;
333
+ /**
334
+ * @internal
335
+ */
336
+ constructor(opts) {
337
+ super({
338
+ name: "ValidationException",
339
+ $fault: "client",
340
+ ...opts
341
+ });
342
+ Object.setPrototypeOf(this, _ValidationException.prototype);
343
+ this.Message = opts.Message;
344
+ }
345
+ };
346
+ var ResourceNotFoundException = class _ResourceNotFoundException extends SSMQuickSetupServiceException {
347
+ static {
348
+ __name(this, "ResourceNotFoundException");
349
+ }
350
+ name = "ResourceNotFoundException";
351
+ $fault = "client";
352
+ Message;
353
+ /**
354
+ * @internal
355
+ */
356
+ constructor(opts) {
357
+ super({
358
+ name: "ResourceNotFoundException",
359
+ $fault: "client",
360
+ ...opts
361
+ });
362
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
363
+ this.Message = opts.Message;
364
+ }
365
+ };
366
+ var CreateConfigurationManagerInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
367
+ ...obj,
368
+ ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
369
+ }), "CreateConfigurationManagerInputFilterSensitiveLog");
370
+ var GetConfigurationManagerOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
371
+ ...obj,
372
+ ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
373
+ }), "GetConfigurationManagerOutputFilterSensitiveLog");
374
+ var TagEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
375
+ ...obj
376
+ }), "TagEntryFilterSensitiveLog");
377
+ var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
378
+ ...obj,
379
+ ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
380
+ }), "ListTagsForResourceResponseFilterSensitiveLog");
381
+ var TagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
382
+ ...obj,
383
+ ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
384
+ }), "TagResourceInputFilterSensitiveLog");
385
+
386
+ // src/protocols/Aws_restJson1.ts
387
+ var import_core2 = require("@aws-sdk/core");
388
+
389
+
390
+ var se_CreateConfigurationManagerCommand = /* @__PURE__ */ __name(async (input, context) => {
391
+ const b = (0, import_core.requestBuilder)(input, context);
392
+ const headers = {
393
+ "content-type": "application/json"
394
+ };
395
+ b.bp("/configurationManager");
396
+ let body;
397
+ body = JSON.stringify(
398
+ (0, import_smithy_client.take)(input, {
399
+ ConfigurationDefinitions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ConfigurationDefinitions"),
400
+ Description: [],
401
+ Name: [],
402
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
403
+ })
404
+ );
405
+ b.m("POST").h(headers).b(body);
406
+ return b.build();
407
+ }, "se_CreateConfigurationManagerCommand");
408
+ var se_DeleteConfigurationManagerCommand = /* @__PURE__ */ __name(async (input, context) => {
409
+ const b = (0, import_core.requestBuilder)(input, context);
410
+ const headers = {};
411
+ b.bp("/configurationManager/{ManagerArn}");
412
+ b.p("ManagerArn", () => input.ManagerArn, "{ManagerArn}", false);
413
+ let body;
414
+ b.m("DELETE").h(headers).b(body);
415
+ return b.build();
416
+ }, "se_DeleteConfigurationManagerCommand");
417
+ var se_GetConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
418
+ const b = (0, import_core.requestBuilder)(input, context);
419
+ const headers = {};
420
+ b.bp("/getConfiguration/{ConfigurationId}");
421
+ b.p("ConfigurationId", () => input.ConfigurationId, "{ConfigurationId}", false);
422
+ let body;
423
+ b.m("GET").h(headers).b(body);
424
+ return b.build();
425
+ }, "se_GetConfigurationCommand");
426
+ var se_GetConfigurationManagerCommand = /* @__PURE__ */ __name(async (input, context) => {
427
+ const b = (0, import_core.requestBuilder)(input, context);
428
+ const headers = {};
429
+ b.bp("/configurationManager/{ManagerArn}");
430
+ b.p("ManagerArn", () => input.ManagerArn, "{ManagerArn}", false);
431
+ let body;
432
+ b.m("GET").h(headers).b(body);
433
+ return b.build();
434
+ }, "se_GetConfigurationManagerCommand");
435
+ var se_GetServiceSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
436
+ const b = (0, import_core.requestBuilder)(input, context);
437
+ const headers = {};
438
+ b.bp("/serviceSettings");
439
+ let body;
440
+ b.m("GET").h(headers).b(body);
441
+ return b.build();
442
+ }, "se_GetServiceSettingsCommand");
443
+ var se_ListConfigurationManagersCommand = /* @__PURE__ */ __name(async (input, context) => {
444
+ const b = (0, import_core.requestBuilder)(input, context);
445
+ const headers = {
446
+ "content-type": "application/json"
447
+ };
448
+ b.bp("/listConfigurationManagers");
449
+ let body;
450
+ body = JSON.stringify(
451
+ (0, import_smithy_client.take)(input, {
452
+ Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
453
+ MaxItems: [],
454
+ StartingToken: []
455
+ })
456
+ );
457
+ b.m("POST").h(headers).b(body);
458
+ return b.build();
459
+ }, "se_ListConfigurationManagersCommand");
460
+ var se_ListConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
461
+ const b = (0, import_core.requestBuilder)(input, context);
462
+ const headers = {
463
+ "content-type": "application/json"
464
+ };
465
+ b.bp("/listConfigurations");
466
+ let body;
467
+ body = JSON.stringify(
468
+ (0, import_smithy_client.take)(input, {
469
+ ConfigurationDefinitionId: [],
470
+ Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
471
+ ManagerArn: [],
472
+ MaxItems: [],
473
+ StartingToken: []
474
+ })
475
+ );
476
+ b.m("POST").h(headers).b(body);
477
+ return b.build();
478
+ }, "se_ListConfigurationsCommand");
479
+ var se_ListQuickSetupTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
480
+ const b = (0, import_core.requestBuilder)(input, context);
481
+ const headers = {};
482
+ b.bp("/listQuickSetupTypes");
483
+ let body;
484
+ b.m("GET").h(headers).b(body);
485
+ return b.build();
486
+ }, "se_ListQuickSetupTypesCommand");
487
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
488
+ const b = (0, import_core.requestBuilder)(input, context);
489
+ const headers = {};
490
+ b.bp("/tags/{ResourceArn}");
491
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
492
+ let body;
493
+ b.m("GET").h(headers).b(body);
494
+ return b.build();
495
+ }, "se_ListTagsForResourceCommand");
496
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
497
+ const b = (0, import_core.requestBuilder)(input, context);
498
+ const headers = {
499
+ "content-type": "application/json"
500
+ };
501
+ b.bp("/tags/{ResourceArn}");
502
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
503
+ let body;
504
+ body = JSON.stringify(
505
+ (0, import_smithy_client.take)(input, {
506
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
507
+ })
508
+ );
509
+ b.m("PUT").h(headers).b(body);
510
+ return b.build();
511
+ }, "se_TagResourceCommand");
512
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
513
+ const b = (0, import_core.requestBuilder)(input, context);
514
+ const headers = {};
515
+ b.bp("/tags/{ResourceArn}");
516
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
517
+ const query = (0, import_smithy_client.map)({
518
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
519
+ });
520
+ let body;
521
+ b.m("DELETE").h(headers).q(query).b(body);
522
+ return b.build();
523
+ }, "se_UntagResourceCommand");
524
+ var se_UpdateConfigurationDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
525
+ const b = (0, import_core.requestBuilder)(input, context);
526
+ const headers = {
527
+ "content-type": "application/json"
528
+ };
529
+ b.bp("/configurationDefinition/{ManagerArn}/{Id}");
530
+ b.p("ManagerArn", () => input.ManagerArn, "{ManagerArn}", false);
531
+ b.p("Id", () => input.Id, "{Id}", false);
532
+ let body;
533
+ body = JSON.stringify(
534
+ (0, import_smithy_client.take)(input, {
535
+ LocalDeploymentAdministrationRoleArn: [],
536
+ LocalDeploymentExecutionRoleName: [],
537
+ Parameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Parameters"),
538
+ TypeVersion: []
539
+ })
540
+ );
541
+ b.m("PUT").h(headers).b(body);
542
+ return b.build();
543
+ }, "se_UpdateConfigurationDefinitionCommand");
544
+ var se_UpdateConfigurationManagerCommand = /* @__PURE__ */ __name(async (input, context) => {
545
+ const b = (0, import_core.requestBuilder)(input, context);
546
+ const headers = {
547
+ "content-type": "application/json"
548
+ };
549
+ b.bp("/configurationManager/{ManagerArn}");
550
+ b.p("ManagerArn", () => input.ManagerArn, "{ManagerArn}", false);
551
+ let body;
552
+ body = JSON.stringify(
553
+ (0, import_smithy_client.take)(input, {
554
+ Description: [],
555
+ Name: []
556
+ })
557
+ );
558
+ b.m("PUT").h(headers).b(body);
559
+ return b.build();
560
+ }, "se_UpdateConfigurationManagerCommand");
561
+ var se_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
562
+ const b = (0, import_core.requestBuilder)(input, context);
563
+ const headers = {
564
+ "content-type": "application/json"
565
+ };
566
+ b.bp("/serviceSettings");
567
+ let body;
568
+ body = JSON.stringify(
569
+ (0, import_smithy_client.take)(input, {
570
+ ExplorerEnablingRoleArn: []
571
+ })
572
+ );
573
+ b.m("PUT").h(headers).b(body);
574
+ return b.build();
575
+ }, "se_UpdateServiceSettingsCommand");
576
+ var de_CreateConfigurationManagerCommand = /* @__PURE__ */ __name(async (output, context) => {
577
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
578
+ return de_CommandError(output, context);
579
+ }
580
+ const contents = (0, import_smithy_client.map)({
581
+ $metadata: deserializeMetadata(output)
582
+ });
583
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
584
+ const doc = (0, import_smithy_client.take)(data, {
585
+ ManagerArn: import_smithy_client.expectString
586
+ });
587
+ Object.assign(contents, doc);
588
+ return contents;
589
+ }, "de_CreateConfigurationManagerCommand");
590
+ var de_DeleteConfigurationManagerCommand = /* @__PURE__ */ __name(async (output, context) => {
591
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
592
+ return de_CommandError(output, context);
593
+ }
594
+ const contents = (0, import_smithy_client.map)({
595
+ $metadata: deserializeMetadata(output)
596
+ });
597
+ await (0, import_smithy_client.collectBody)(output.body, context);
598
+ return contents;
599
+ }, "de_DeleteConfigurationManagerCommand");
600
+ var de_GetConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
601
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
602
+ return de_CommandError(output, context);
603
+ }
604
+ const contents = (0, import_smithy_client.map)({
605
+ $metadata: deserializeMetadata(output)
606
+ });
607
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
608
+ const doc = (0, import_smithy_client.take)(data, {
609
+ Account: import_smithy_client.expectString,
610
+ ConfigurationDefinitionId: import_smithy_client.expectString,
611
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
612
+ Id: import_smithy_client.expectString,
613
+ LastModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModifiedAt"),
614
+ ManagerArn: import_smithy_client.expectString,
615
+ Parameters: import_smithy_client._json,
616
+ Region: import_smithy_client.expectString,
617
+ StatusSummaries: /* @__PURE__ */ __name((_) => de_StatusSummariesList(_, context), "StatusSummaries"),
618
+ Type: import_smithy_client.expectString,
619
+ TypeVersion: import_smithy_client.expectString
620
+ });
621
+ Object.assign(contents, doc);
622
+ return contents;
623
+ }, "de_GetConfigurationCommand");
624
+ var de_GetConfigurationManagerCommand = /* @__PURE__ */ __name(async (output, context) => {
625
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
626
+ return de_CommandError(output, context);
627
+ }
628
+ const contents = (0, import_smithy_client.map)({
629
+ $metadata: deserializeMetadata(output)
630
+ });
631
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
632
+ const doc = (0, import_smithy_client.take)(data, {
633
+ ConfigurationDefinitions: import_smithy_client._json,
634
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
635
+ Description: import_smithy_client.expectString,
636
+ LastModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastModifiedAt"),
637
+ ManagerArn: import_smithy_client.expectString,
638
+ Name: import_smithy_client.expectString,
639
+ StatusSummaries: /* @__PURE__ */ __name((_) => de_StatusSummariesList(_, context), "StatusSummaries"),
640
+ Tags: import_smithy_client._json
641
+ });
642
+ Object.assign(contents, doc);
643
+ return contents;
644
+ }, "de_GetConfigurationManagerCommand");
645
+ var de_GetServiceSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
646
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
647
+ return de_CommandError(output, context);
648
+ }
649
+ const contents = (0, import_smithy_client.map)({
650
+ $metadata: deserializeMetadata(output)
651
+ });
652
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
653
+ const doc = (0, import_smithy_client.take)(data, {
654
+ ServiceSettings: import_smithy_client._json
655
+ });
656
+ Object.assign(contents, doc);
657
+ return contents;
658
+ }, "de_GetServiceSettingsCommand");
659
+ var de_ListConfigurationManagersCommand = /* @__PURE__ */ __name(async (output, context) => {
660
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
661
+ return de_CommandError(output, context);
662
+ }
663
+ const contents = (0, import_smithy_client.map)({
664
+ $metadata: deserializeMetadata(output)
665
+ });
666
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
667
+ const doc = (0, import_smithy_client.take)(data, {
668
+ ConfigurationManagersList: /* @__PURE__ */ __name((_) => de_ConfigurationManagerList(_, context), "ConfigurationManagersList"),
669
+ NextToken: import_smithy_client.expectString
670
+ });
671
+ Object.assign(contents, doc);
672
+ return contents;
673
+ }, "de_ListConfigurationManagersCommand");
674
+ var de_ListConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
675
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
676
+ return de_CommandError(output, context);
677
+ }
678
+ const contents = (0, import_smithy_client.map)({
679
+ $metadata: deserializeMetadata(output)
680
+ });
681
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
682
+ const doc = (0, import_smithy_client.take)(data, {
683
+ ConfigurationsList: /* @__PURE__ */ __name((_) => de_ConfigurationsList(_, context), "ConfigurationsList"),
684
+ NextToken: import_smithy_client.expectString
685
+ });
686
+ Object.assign(contents, doc);
687
+ return contents;
688
+ }, "de_ListConfigurationsCommand");
689
+ var de_ListQuickSetupTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
690
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
691
+ return de_CommandError(output, context);
692
+ }
693
+ const contents = (0, import_smithy_client.map)({
694
+ $metadata: deserializeMetadata(output)
695
+ });
696
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
697
+ const doc = (0, import_smithy_client.take)(data, {
698
+ QuickSetupTypeList: import_smithy_client._json
699
+ });
700
+ Object.assign(contents, doc);
701
+ return contents;
702
+ }, "de_ListQuickSetupTypesCommand");
703
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
704
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
705
+ return de_CommandError(output, context);
706
+ }
707
+ const contents = (0, import_smithy_client.map)({
708
+ $metadata: deserializeMetadata(output)
709
+ });
710
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
711
+ const doc = (0, import_smithy_client.take)(data, {
712
+ Tags: import_smithy_client._json
713
+ });
714
+ Object.assign(contents, doc);
715
+ return contents;
716
+ }, "de_ListTagsForResourceCommand");
717
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
718
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
719
+ return de_CommandError(output, context);
720
+ }
721
+ const contents = (0, import_smithy_client.map)({
722
+ $metadata: deserializeMetadata(output)
723
+ });
724
+ await (0, import_smithy_client.collectBody)(output.body, context);
725
+ return contents;
726
+ }, "de_TagResourceCommand");
727
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
728
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
729
+ return de_CommandError(output, context);
730
+ }
731
+ const contents = (0, import_smithy_client.map)({
732
+ $metadata: deserializeMetadata(output)
733
+ });
734
+ await (0, import_smithy_client.collectBody)(output.body, context);
735
+ return contents;
736
+ }, "de_UntagResourceCommand");
737
+ var de_UpdateConfigurationDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
738
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
739
+ return de_CommandError(output, context);
740
+ }
741
+ const contents = (0, import_smithy_client.map)({
742
+ $metadata: deserializeMetadata(output)
743
+ });
744
+ await (0, import_smithy_client.collectBody)(output.body, context);
745
+ return contents;
746
+ }, "de_UpdateConfigurationDefinitionCommand");
747
+ var de_UpdateConfigurationManagerCommand = /* @__PURE__ */ __name(async (output, context) => {
748
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
749
+ return de_CommandError(output, context);
750
+ }
751
+ const contents = (0, import_smithy_client.map)({
752
+ $metadata: deserializeMetadata(output)
753
+ });
754
+ await (0, import_smithy_client.collectBody)(output.body, context);
755
+ return contents;
756
+ }, "de_UpdateConfigurationManagerCommand");
757
+ var de_UpdateServiceSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
758
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
759
+ return de_CommandError(output, context);
760
+ }
761
+ const contents = (0, import_smithy_client.map)({
762
+ $metadata: deserializeMetadata(output)
763
+ });
764
+ await (0, import_smithy_client.collectBody)(output.body, context);
765
+ return contents;
766
+ }, "de_UpdateServiceSettingsCommand");
767
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
768
+ const parsedOutput = {
769
+ ...output,
770
+ body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
771
+ };
772
+ const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
773
+ switch (errorCode) {
774
+ case "AccessDeniedException":
775
+ case "com.amazonaws.ssmquicksetup#AccessDeniedException":
776
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
777
+ case "ConflictException":
778
+ case "com.amazonaws.ssmquicksetup#ConflictException":
779
+ throw await de_ConflictExceptionRes(parsedOutput, context);
780
+ case "InternalServerException":
781
+ case "com.amazonaws.ssmquicksetup#InternalServerException":
782
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
783
+ case "ThrottlingException":
784
+ case "com.amazonaws.ssmquicksetup#ThrottlingException":
785
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
786
+ case "ValidationException":
787
+ case "com.amazonaws.ssmquicksetup#ValidationException":
788
+ throw await de_ValidationExceptionRes(parsedOutput, context);
789
+ case "ResourceNotFoundException":
790
+ case "com.amazonaws.ssmquicksetup#ResourceNotFoundException":
791
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
792
+ default:
793
+ const parsedBody = parsedOutput.body;
794
+ return throwDefaultError({
795
+ output,
796
+ parsedBody,
797
+ errorCode
798
+ });
799
+ }
800
+ }, "de_CommandError");
801
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(SSMQuickSetupServiceException);
802
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
803
+ const contents = (0, import_smithy_client.map)({});
804
+ const data = parsedOutput.body;
805
+ const doc = (0, import_smithy_client.take)(data, {
806
+ Message: import_smithy_client.expectString
807
+ });
808
+ Object.assign(contents, doc);
809
+ const exception = new AccessDeniedException({
810
+ $metadata: deserializeMetadata(parsedOutput),
811
+ ...contents
812
+ });
813
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
814
+ }, "de_AccessDeniedExceptionRes");
815
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
816
+ const contents = (0, import_smithy_client.map)({});
817
+ const data = parsedOutput.body;
818
+ const doc = (0, import_smithy_client.take)(data, {
819
+ Message: import_smithy_client.expectString
820
+ });
821
+ Object.assign(contents, doc);
822
+ const exception = new ConflictException({
823
+ $metadata: deserializeMetadata(parsedOutput),
824
+ ...contents
825
+ });
826
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
827
+ }, "de_ConflictExceptionRes");
828
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
829
+ const contents = (0, import_smithy_client.map)({});
830
+ const data = parsedOutput.body;
831
+ const doc = (0, import_smithy_client.take)(data, {
832
+ Message: import_smithy_client.expectString
833
+ });
834
+ Object.assign(contents, doc);
835
+ const exception = new InternalServerException({
836
+ $metadata: deserializeMetadata(parsedOutput),
837
+ ...contents
838
+ });
839
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
840
+ }, "de_InternalServerExceptionRes");
841
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
842
+ const contents = (0, import_smithy_client.map)({});
843
+ const data = parsedOutput.body;
844
+ const doc = (0, import_smithy_client.take)(data, {
845
+ Message: import_smithy_client.expectString
846
+ });
847
+ Object.assign(contents, doc);
848
+ const exception = new ResourceNotFoundException({
849
+ $metadata: deserializeMetadata(parsedOutput),
850
+ ...contents
851
+ });
852
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
853
+ }, "de_ResourceNotFoundExceptionRes");
854
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
855
+ const contents = (0, import_smithy_client.map)({});
856
+ const data = parsedOutput.body;
857
+ const doc = (0, import_smithy_client.take)(data, {
858
+ Message: import_smithy_client.expectString
859
+ });
860
+ Object.assign(contents, doc);
861
+ const exception = new ThrottlingException({
862
+ $metadata: deserializeMetadata(parsedOutput),
863
+ ...contents
864
+ });
865
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
866
+ }, "de_ThrottlingExceptionRes");
867
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
868
+ const contents = (0, import_smithy_client.map)({});
869
+ const data = parsedOutput.body;
870
+ const doc = (0, import_smithy_client.take)(data, {
871
+ Message: import_smithy_client.expectString
872
+ });
873
+ Object.assign(contents, doc);
874
+ const exception = new ValidationException({
875
+ $metadata: deserializeMetadata(parsedOutput),
876
+ ...contents
877
+ });
878
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
879
+ }, "de_ValidationExceptionRes");
880
+ var de_ConfigurationManagerList = /* @__PURE__ */ __name((output, context) => {
881
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
882
+ return de_ConfigurationManagerSummary(entry, context);
883
+ });
884
+ return retVal;
885
+ }, "de_ConfigurationManagerList");
886
+ var de_ConfigurationManagerSummary = /* @__PURE__ */ __name((output, context) => {
887
+ return (0, import_smithy_client.take)(output, {
888
+ ConfigurationDefinitionSummaries: import_smithy_client._json,
889
+ Description: import_smithy_client.expectString,
890
+ ManagerArn: import_smithy_client.expectString,
891
+ Name: import_smithy_client.expectString,
892
+ StatusSummaries: /* @__PURE__ */ __name((_) => de_StatusSummariesList(_, context), "StatusSummaries")
893
+ });
894
+ }, "de_ConfigurationManagerSummary");
895
+ var de_ConfigurationsList = /* @__PURE__ */ __name((output, context) => {
896
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
897
+ return de_ConfigurationSummary(entry, context);
898
+ });
899
+ return retVal;
900
+ }, "de_ConfigurationsList");
901
+ var de_ConfigurationSummary = /* @__PURE__ */ __name((output, context) => {
902
+ return (0, import_smithy_client.take)(output, {
903
+ Account: import_smithy_client.expectString,
904
+ ConfigurationDefinitionId: import_smithy_client.expectString,
905
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
906
+ FirstClassParameters: import_smithy_client._json,
907
+ Id: import_smithy_client.expectString,
908
+ ManagerArn: import_smithy_client.expectString,
909
+ Region: import_smithy_client.expectString,
910
+ StatusSummaries: /* @__PURE__ */ __name((_) => de_StatusSummariesList(_, context), "StatusSummaries"),
911
+ Type: import_smithy_client.expectString,
912
+ TypeVersion: import_smithy_client.expectString
913
+ });
914
+ }, "de_ConfigurationSummary");
915
+ var de_StatusSummariesList = /* @__PURE__ */ __name((output, context) => {
916
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
917
+ return de_StatusSummary(entry, context);
918
+ });
919
+ return retVal;
920
+ }, "de_StatusSummariesList");
921
+ var de_StatusSummary = /* @__PURE__ */ __name((output, context) => {
922
+ return (0, import_smithy_client.take)(output, {
923
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
924
+ Status: import_smithy_client.expectString,
925
+ StatusDetails: import_smithy_client._json,
926
+ StatusMessage: import_smithy_client.expectString,
927
+ StatusType: import_smithy_client.expectString
928
+ });
929
+ }, "de_StatusSummary");
930
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
931
+ httpStatusCode: output.statusCode,
932
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
933
+ extendedRequestId: output.headers["x-amz-id-2"],
934
+ cfId: output.headers["x-amz-cf-id"]
935
+ }), "deserializeMetadata");
936
+ var _TK = "TagKeys";
937
+ var _tK = "tagKeys";
938
+
939
+ // src/commands/CreateConfigurationManagerCommand.ts
940
+ var CreateConfigurationManagerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
941
+ return [
942
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
943
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
944
+ ];
945
+ }).s("QuickSetup", "CreateConfigurationManager", {}).n("SSMQuickSetupClient", "CreateConfigurationManagerCommand").f(CreateConfigurationManagerInputFilterSensitiveLog, void 0).ser(se_CreateConfigurationManagerCommand).de(de_CreateConfigurationManagerCommand).build() {
946
+ static {
947
+ __name(this, "CreateConfigurationManagerCommand");
948
+ }
949
+ };
950
+
951
+ // src/commands/DeleteConfigurationManagerCommand.ts
952
+
953
+
954
+
955
+ var DeleteConfigurationManagerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
956
+ return [
957
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
958
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
959
+ ];
960
+ }).s("QuickSetup", "DeleteConfigurationManager", {}).n("SSMQuickSetupClient", "DeleteConfigurationManagerCommand").f(void 0, void 0).ser(se_DeleteConfigurationManagerCommand).de(de_DeleteConfigurationManagerCommand).build() {
961
+ static {
962
+ __name(this, "DeleteConfigurationManagerCommand");
963
+ }
964
+ };
965
+
966
+ // src/commands/GetConfigurationCommand.ts
967
+
968
+
969
+
970
+ var GetConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
971
+ return [
972
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
973
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
974
+ ];
975
+ }).s("QuickSetup", "GetConfiguration", {}).n("SSMQuickSetupClient", "GetConfigurationCommand").f(void 0, void 0).ser(se_GetConfigurationCommand).de(de_GetConfigurationCommand).build() {
976
+ static {
977
+ __name(this, "GetConfigurationCommand");
978
+ }
979
+ };
980
+
981
+ // src/commands/GetConfigurationManagerCommand.ts
982
+
983
+
984
+
985
+ var GetConfigurationManagerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
986
+ return [
987
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
988
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
989
+ ];
990
+ }).s("QuickSetup", "GetConfigurationManager", {}).n("SSMQuickSetupClient", "GetConfigurationManagerCommand").f(void 0, GetConfigurationManagerOutputFilterSensitiveLog).ser(se_GetConfigurationManagerCommand).de(de_GetConfigurationManagerCommand).build() {
991
+ static {
992
+ __name(this, "GetConfigurationManagerCommand");
993
+ }
994
+ };
995
+
996
+ // src/commands/GetServiceSettingsCommand.ts
997
+
998
+
999
+
1000
+ var GetServiceSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1001
+ return [
1002
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1003
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1004
+ ];
1005
+ }).s("QuickSetup", "GetServiceSettings", {}).n("SSMQuickSetupClient", "GetServiceSettingsCommand").f(void 0, void 0).ser(se_GetServiceSettingsCommand).de(de_GetServiceSettingsCommand).build() {
1006
+ static {
1007
+ __name(this, "GetServiceSettingsCommand");
1008
+ }
1009
+ };
1010
+
1011
+ // src/commands/ListConfigurationManagersCommand.ts
1012
+
1013
+
1014
+
1015
+ var ListConfigurationManagersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1016
+ return [
1017
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1018
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1019
+ ];
1020
+ }).s("QuickSetup", "ListConfigurationManagers", {}).n("SSMQuickSetupClient", "ListConfigurationManagersCommand").f(void 0, void 0).ser(se_ListConfigurationManagersCommand).de(de_ListConfigurationManagersCommand).build() {
1021
+ static {
1022
+ __name(this, "ListConfigurationManagersCommand");
1023
+ }
1024
+ };
1025
+
1026
+ // src/commands/ListConfigurationsCommand.ts
1027
+
1028
+
1029
+
1030
+ var ListConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1031
+ return [
1032
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1033
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1034
+ ];
1035
+ }).s("QuickSetup", "ListConfigurations", {}).n("SSMQuickSetupClient", "ListConfigurationsCommand").f(void 0, void 0).ser(se_ListConfigurationsCommand).de(de_ListConfigurationsCommand).build() {
1036
+ static {
1037
+ __name(this, "ListConfigurationsCommand");
1038
+ }
1039
+ };
1040
+
1041
+ // src/commands/ListQuickSetupTypesCommand.ts
1042
+
1043
+
1044
+
1045
+ var ListQuickSetupTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1046
+ return [
1047
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1048
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1049
+ ];
1050
+ }).s("QuickSetup", "ListQuickSetupTypes", {}).n("SSMQuickSetupClient", "ListQuickSetupTypesCommand").f(void 0, void 0).ser(se_ListQuickSetupTypesCommand).de(de_ListQuickSetupTypesCommand).build() {
1051
+ static {
1052
+ __name(this, "ListQuickSetupTypesCommand");
1053
+ }
1054
+ };
1055
+
1056
+ // src/commands/ListTagsForResourceCommand.ts
1057
+
1058
+
1059
+
1060
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1061
+ return [
1062
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1063
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1064
+ ];
1065
+ }).s("QuickSetup", "ListTagsForResource", {}).n("SSMQuickSetupClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1066
+ static {
1067
+ __name(this, "ListTagsForResourceCommand");
1068
+ }
1069
+ };
1070
+
1071
+ // src/commands/TagResourceCommand.ts
1072
+
1073
+
1074
+
1075
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1076
+ return [
1077
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1078
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1079
+ ];
1080
+ }).s("QuickSetup", "TagResource", {}).n("SSMQuickSetupClient", "TagResourceCommand").f(TagResourceInputFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1081
+ static {
1082
+ __name(this, "TagResourceCommand");
1083
+ }
1084
+ };
1085
+
1086
+ // src/commands/UntagResourceCommand.ts
1087
+
1088
+
1089
+
1090
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1091
+ return [
1092
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1093
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1094
+ ];
1095
+ }).s("QuickSetup", "UntagResource", {}).n("SSMQuickSetupClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1096
+ static {
1097
+ __name(this, "UntagResourceCommand");
1098
+ }
1099
+ };
1100
+
1101
+ // src/commands/UpdateConfigurationDefinitionCommand.ts
1102
+
1103
+
1104
+
1105
+ var UpdateConfigurationDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1106
+ return [
1107
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1108
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1109
+ ];
1110
+ }).s("QuickSetup", "UpdateConfigurationDefinition", {}).n("SSMQuickSetupClient", "UpdateConfigurationDefinitionCommand").f(void 0, void 0).ser(se_UpdateConfigurationDefinitionCommand).de(de_UpdateConfigurationDefinitionCommand).build() {
1111
+ static {
1112
+ __name(this, "UpdateConfigurationDefinitionCommand");
1113
+ }
1114
+ };
1115
+
1116
+ // src/commands/UpdateConfigurationManagerCommand.ts
1117
+
1118
+
1119
+
1120
+ var UpdateConfigurationManagerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1121
+ return [
1122
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1123
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1124
+ ];
1125
+ }).s("QuickSetup", "UpdateConfigurationManager", {}).n("SSMQuickSetupClient", "UpdateConfigurationManagerCommand").f(void 0, void 0).ser(se_UpdateConfigurationManagerCommand).de(de_UpdateConfigurationManagerCommand).build() {
1126
+ static {
1127
+ __name(this, "UpdateConfigurationManagerCommand");
1128
+ }
1129
+ };
1130
+
1131
+ // src/commands/UpdateServiceSettingsCommand.ts
1132
+
1133
+
1134
+
1135
+ var UpdateServiceSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1136
+ return [
1137
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1138
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1139
+ ];
1140
+ }).s("QuickSetup", "UpdateServiceSettings", {}).n("SSMQuickSetupClient", "UpdateServiceSettingsCommand").f(void 0, void 0).ser(se_UpdateServiceSettingsCommand).de(de_UpdateServiceSettingsCommand).build() {
1141
+ static {
1142
+ __name(this, "UpdateServiceSettingsCommand");
1143
+ }
1144
+ };
1145
+
1146
+ // src/SSMQuickSetup.ts
1147
+ var commands = {
1148
+ CreateConfigurationManagerCommand,
1149
+ DeleteConfigurationManagerCommand,
1150
+ GetConfigurationCommand,
1151
+ GetConfigurationManagerCommand,
1152
+ GetServiceSettingsCommand,
1153
+ ListConfigurationManagersCommand,
1154
+ ListConfigurationsCommand,
1155
+ ListQuickSetupTypesCommand,
1156
+ ListTagsForResourceCommand,
1157
+ TagResourceCommand,
1158
+ UntagResourceCommand,
1159
+ UpdateConfigurationDefinitionCommand,
1160
+ UpdateConfigurationManagerCommand,
1161
+ UpdateServiceSettingsCommand
1162
+ };
1163
+ var SSMQuickSetup = class extends SSMQuickSetupClient {
1164
+ static {
1165
+ __name(this, "SSMQuickSetup");
1166
+ }
1167
+ };
1168
+ (0, import_smithy_client.createAggregatedClient)(commands, SSMQuickSetup);
1169
+
1170
+ // src/pagination/ListConfigurationManagersPaginator.ts
1171
+
1172
+ var paginateListConfigurationManagers = (0, import_core.createPaginator)(SSMQuickSetupClient, ListConfigurationManagersCommand, "StartingToken", "NextToken", "MaxItems");
1173
+
1174
+ // src/pagination/ListConfigurationsPaginator.ts
1175
+
1176
+ var paginateListConfigurations = (0, import_core.createPaginator)(SSMQuickSetupClient, ListConfigurationsCommand, "StartingToken", "NextToken", "MaxItems");
1177
+ // Annotate the CommonJS export names for ESM import in node:
1178
+
1179
+ 0 && (module.exports = {
1180
+ SSMQuickSetupServiceException,
1181
+ __Client,
1182
+ SSMQuickSetupClient,
1183
+ SSMQuickSetup,
1184
+ $Command,
1185
+ CreateConfigurationManagerCommand,
1186
+ DeleteConfigurationManagerCommand,
1187
+ GetConfigurationCommand,
1188
+ GetConfigurationManagerCommand,
1189
+ GetServiceSettingsCommand,
1190
+ ListConfigurationManagersCommand,
1191
+ ListConfigurationsCommand,
1192
+ ListQuickSetupTypesCommand,
1193
+ ListTagsForResourceCommand,
1194
+ TagResourceCommand,
1195
+ UntagResourceCommand,
1196
+ UpdateConfigurationDefinitionCommand,
1197
+ UpdateConfigurationManagerCommand,
1198
+ UpdateServiceSettingsCommand,
1199
+ paginateListConfigurationManagers,
1200
+ paginateListConfigurations,
1201
+ AccessDeniedException,
1202
+ Status,
1203
+ StatusType,
1204
+ ConflictException,
1205
+ InternalServerException,
1206
+ ThrottlingException,
1207
+ ValidationException,
1208
+ ResourceNotFoundException,
1209
+ CreateConfigurationManagerInputFilterSensitiveLog,
1210
+ GetConfigurationManagerOutputFilterSensitiveLog,
1211
+ TagEntryFilterSensitiveLog,
1212
+ ListTagsForResourceResponseFilterSensitiveLog,
1213
+ TagResourceInputFilterSensitiveLog
1214
+ });
1215
+