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