@aws-sdk/client-apprunner 3.899.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 +2187 -2322
  2. package/package.json +37 -37
package/dist-cjs/index.js CHANGED
@@ -1,2413 +1,2278 @@
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 });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AppRunner: () => AppRunner,
25
- AppRunnerClient: () => AppRunnerClient,
26
- AppRunnerServiceException: () => AppRunnerServiceException,
27
- AssociateCustomDomainCommand: () => AssociateCustomDomainCommand,
28
- AutoScalingConfigurationStatus: () => AutoScalingConfigurationStatus,
29
- CertificateValidationRecordStatus: () => CertificateValidationRecordStatus,
30
- CodeConfigurationFilterSensitiveLog: () => CodeConfigurationFilterSensitiveLog,
31
- CodeConfigurationValuesFilterSensitiveLog: () => CodeConfigurationValuesFilterSensitiveLog,
32
- CodeRepositoryFilterSensitiveLog: () => CodeRepositoryFilterSensitiveLog,
33
- ConfigurationSource: () => ConfigurationSource,
34
- ConnectionStatus: () => ConnectionStatus,
35
- CreateAutoScalingConfigurationCommand: () => CreateAutoScalingConfigurationCommand,
36
- CreateConnectionCommand: () => CreateConnectionCommand,
37
- CreateObservabilityConfigurationCommand: () => CreateObservabilityConfigurationCommand,
38
- CreateServiceCommand: () => CreateServiceCommand,
39
- CreateServiceRequestFilterSensitiveLog: () => CreateServiceRequestFilterSensitiveLog,
40
- CreateServiceResponseFilterSensitiveLog: () => CreateServiceResponseFilterSensitiveLog,
41
- CreateVpcConnectorCommand: () => CreateVpcConnectorCommand,
42
- CreateVpcIngressConnectionCommand: () => CreateVpcIngressConnectionCommand,
43
- CustomDomainAssociationStatus: () => CustomDomainAssociationStatus,
44
- DeleteAutoScalingConfigurationCommand: () => DeleteAutoScalingConfigurationCommand,
45
- DeleteConnectionCommand: () => DeleteConnectionCommand,
46
- DeleteObservabilityConfigurationCommand: () => DeleteObservabilityConfigurationCommand,
47
- DeleteServiceCommand: () => DeleteServiceCommand,
48
- DeleteServiceResponseFilterSensitiveLog: () => DeleteServiceResponseFilterSensitiveLog,
49
- DeleteVpcConnectorCommand: () => DeleteVpcConnectorCommand,
50
- DeleteVpcIngressConnectionCommand: () => DeleteVpcIngressConnectionCommand,
51
- DescribeAutoScalingConfigurationCommand: () => DescribeAutoScalingConfigurationCommand,
52
- DescribeCustomDomainsCommand: () => DescribeCustomDomainsCommand,
53
- DescribeObservabilityConfigurationCommand: () => DescribeObservabilityConfigurationCommand,
54
- DescribeServiceCommand: () => DescribeServiceCommand,
55
- DescribeServiceResponseFilterSensitiveLog: () => DescribeServiceResponseFilterSensitiveLog,
56
- DescribeVpcConnectorCommand: () => DescribeVpcConnectorCommand,
57
- DescribeVpcIngressConnectionCommand: () => DescribeVpcIngressConnectionCommand,
58
- DisassociateCustomDomainCommand: () => DisassociateCustomDomainCommand,
59
- EgressType: () => EgressType,
60
- HealthCheckProtocol: () => HealthCheckProtocol,
61
- ImageConfigurationFilterSensitiveLog: () => ImageConfigurationFilterSensitiveLog,
62
- ImageRepositoryFilterSensitiveLog: () => ImageRepositoryFilterSensitiveLog,
63
- ImageRepositoryType: () => ImageRepositoryType,
64
- InternalServiceErrorException: () => InternalServiceErrorException,
65
- InvalidRequestException: () => InvalidRequestException,
66
- InvalidStateException: () => InvalidStateException,
67
- IpAddressType: () => IpAddressType,
68
- ListAutoScalingConfigurationsCommand: () => ListAutoScalingConfigurationsCommand,
69
- ListConnectionsCommand: () => ListConnectionsCommand,
70
- ListObservabilityConfigurationsCommand: () => ListObservabilityConfigurationsCommand,
71
- ListOperationsCommand: () => ListOperationsCommand,
72
- ListServicesCommand: () => ListServicesCommand,
73
- ListServicesForAutoScalingConfigurationCommand: () => ListServicesForAutoScalingConfigurationCommand,
74
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
75
- ListVpcConnectorsCommand: () => ListVpcConnectorsCommand,
76
- ListVpcIngressConnectionsCommand: () => ListVpcIngressConnectionsCommand,
77
- ObservabilityConfigurationStatus: () => ObservabilityConfigurationStatus,
78
- OperationStatus: () => OperationStatus,
79
- OperationType: () => OperationType,
80
- PauseServiceCommand: () => PauseServiceCommand,
81
- PauseServiceResponseFilterSensitiveLog: () => PauseServiceResponseFilterSensitiveLog,
82
- ProviderType: () => ProviderType,
83
- ResourceNotFoundException: () => ResourceNotFoundException,
84
- ResumeServiceCommand: () => ResumeServiceCommand,
85
- ResumeServiceResponseFilterSensitiveLog: () => ResumeServiceResponseFilterSensitiveLog,
86
- Runtime: () => Runtime,
87
- ServiceFilterSensitiveLog: () => ServiceFilterSensitiveLog,
88
- ServiceQuotaExceededException: () => ServiceQuotaExceededException,
89
- ServiceStatus: () => ServiceStatus,
90
- SourceCodeVersionType: () => SourceCodeVersionType,
91
- SourceConfigurationFilterSensitiveLog: () => SourceConfigurationFilterSensitiveLog,
92
- StartDeploymentCommand: () => StartDeploymentCommand,
93
- TagResourceCommand: () => TagResourceCommand,
94
- TracingVendor: () => TracingVendor,
95
- UntagResourceCommand: () => UntagResourceCommand,
96
- UpdateDefaultAutoScalingConfigurationCommand: () => UpdateDefaultAutoScalingConfigurationCommand,
97
- UpdateServiceCommand: () => UpdateServiceCommand,
98
- UpdateServiceRequestFilterSensitiveLog: () => UpdateServiceRequestFilterSensitiveLog,
99
- UpdateServiceResponseFilterSensitiveLog: () => UpdateServiceResponseFilterSensitiveLog,
100
- UpdateVpcIngressConnectionCommand: () => UpdateVpcIngressConnectionCommand,
101
- VpcConnectorStatus: () => VpcConnectorStatus,
102
- VpcIngressConnectionStatus: () => VpcIngressConnectionStatus,
103
- __Client: () => import_smithy_client.Client,
104
- paginateDescribeCustomDomains: () => paginateDescribeCustomDomains,
105
- paginateListAutoScalingConfigurations: () => paginateListAutoScalingConfigurations,
106
- paginateListConnections: () => paginateListConnections,
107
- paginateListObservabilityConfigurations: () => paginateListObservabilityConfigurations,
108
- paginateListOperations: () => paginateListOperations,
109
- paginateListServices: () => paginateListServices,
110
- paginateListServicesForAutoScalingConfiguration: () => paginateListServicesForAutoScalingConfiguration,
111
- paginateListVpcConnectors: () => paginateListVpcConnectors,
112
- paginateListVpcIngressConnections: () => paginateListVpcIngressConnections
113
- });
114
- module.exports = __toCommonJS(index_exports);
115
-
116
- // src/AppRunnerClient.ts
117
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
118
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
119
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
120
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
121
- var import_config_resolver = require("@smithy/config-resolver");
122
- var import_core = require("@smithy/core");
123
- var import_middleware_content_length = require("@smithy/middleware-content-length");
124
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
125
- var import_middleware_retry = require("@smithy/middleware-retry");
126
-
127
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
128
-
129
- // src/endpoint/EndpointParameters.ts
130
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
131
- return Object.assign(options, {
132
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
133
- useFipsEndpoint: options.useFipsEndpoint ?? false,
134
- defaultSigningName: "apprunner"
135
- });
136
- }, "resolveClientEndpointParameters");
137
- var commonParams = {
138
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
139
- Endpoint: { type: "builtInParams", name: "endpoint" },
140
- Region: { type: "builtInParams", name: "region" },
141
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
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: "apprunner",
25
+ });
142
26
  };
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" },
32
+ };
33
+
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
+ };
71
+ };
72
+
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
+ };
78
+
79
+ class AppRunnerClient 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.defaultAppRunnerHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ }
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
143
112
 
144
- // src/AppRunnerClient.ts
145
- var import_runtimeConfig = require("././runtimeConfig");
146
-
147
- // src/runtimeExtensions.ts
148
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
149
- var import_protocol_http = require("@smithy/protocol-http");
150
- var import_smithy_client = require("@smithy/smithy-client");
151
-
152
- // src/auth/httpAuthExtensionConfiguration.ts
153
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
154
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
155
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
156
- let _credentials = runtimeConfig.credentials;
157
- return {
158
- setHttpAuthScheme(httpAuthScheme) {
159
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
160
- if (index === -1) {
161
- _httpAuthSchemes.push(httpAuthScheme);
162
- } else {
163
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
164
- }
165
- },
166
- httpAuthSchemes() {
167
- return _httpAuthSchemes;
168
- },
169
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
170
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
171
- },
172
- httpAuthSchemeProvider() {
173
- return _httpAuthSchemeProvider;
174
- },
175
- setCredentials(credentials) {
176
- _credentials = credentials;
177
- },
178
- credentials() {
179
- return _credentials;
113
+ class AppRunnerServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, AppRunnerServiceException.prototype);
180
117
  }
181
- };
182
- }, "getHttpAuthExtensionConfiguration");
183
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
184
- return {
185
- httpAuthSchemes: config.httpAuthSchemes(),
186
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
187
- credentials: config.credentials()
188
- };
189
- }, "resolveHttpAuthRuntimeConfig");
118
+ }
190
119
 
191
- // src/runtimeExtensions.ts
192
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
193
- const extensionConfiguration = Object.assign(
194
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
195
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
196
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
197
- getHttpAuthExtensionConfiguration(runtimeConfig)
198
- );
199
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
200
- return Object.assign(
201
- runtimeConfig,
202
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
203
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
204
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
205
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
206
- );
207
- }, "resolveRuntimeExtensions");
120
+ const CertificateValidationRecordStatus = {
121
+ FAILED: "FAILED",
122
+ PENDING_VALIDATION: "PENDING_VALIDATION",
123
+ SUCCESS: "SUCCESS",
124
+ };
125
+ const CustomDomainAssociationStatus = {
126
+ ACTIVE: "ACTIVE",
127
+ BINDING_CERTIFICATE: "BINDING_CERTIFICATE",
128
+ CREATE_FAILED: "CREATE_FAILED",
129
+ CREATING: "CREATING",
130
+ DELETE_FAILED: "DELETE_FAILED",
131
+ DELETING: "DELETING",
132
+ PENDING_CERTIFICATE_DNS_VALIDATION: "PENDING_CERTIFICATE_DNS_VALIDATION",
133
+ };
134
+ class InternalServiceErrorException extends AppRunnerServiceException {
135
+ name = "InternalServiceErrorException";
136
+ $fault = "server";
137
+ Message;
138
+ constructor(opts) {
139
+ super({
140
+ name: "InternalServiceErrorException",
141
+ $fault: "server",
142
+ ...opts,
143
+ });
144
+ Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
145
+ this.Message = opts.Message;
146
+ }
147
+ }
148
+ class InvalidRequestException extends AppRunnerServiceException {
149
+ name = "InvalidRequestException";
150
+ $fault = "client";
151
+ Message;
152
+ constructor(opts) {
153
+ super({
154
+ name: "InvalidRequestException",
155
+ $fault: "client",
156
+ ...opts,
157
+ });
158
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
159
+ this.Message = opts.Message;
160
+ }
161
+ }
162
+ class InvalidStateException extends AppRunnerServiceException {
163
+ name = "InvalidStateException";
164
+ $fault = "client";
165
+ Message;
166
+ constructor(opts) {
167
+ super({
168
+ name: "InvalidStateException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
173
+ this.Message = opts.Message;
174
+ }
175
+ }
176
+ const AutoScalingConfigurationStatus = {
177
+ ACTIVE: "ACTIVE",
178
+ INACTIVE: "INACTIVE",
179
+ };
180
+ class ServiceQuotaExceededException extends AppRunnerServiceException {
181
+ name = "ServiceQuotaExceededException";
182
+ $fault = "client";
183
+ Message;
184
+ constructor(opts) {
185
+ super({
186
+ name: "ServiceQuotaExceededException",
187
+ $fault: "client",
188
+ ...opts,
189
+ });
190
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
191
+ this.Message = opts.Message;
192
+ }
193
+ }
194
+ const ProviderType = {
195
+ BITBUCKET: "BITBUCKET",
196
+ GITHUB: "GITHUB",
197
+ };
198
+ const ConnectionStatus = {
199
+ AVAILABLE: "AVAILABLE",
200
+ DELETED: "DELETED",
201
+ ERROR: "ERROR",
202
+ PENDING_HANDSHAKE: "PENDING_HANDSHAKE",
203
+ };
204
+ const TracingVendor = {
205
+ AWSXRAY: "AWSXRAY",
206
+ };
207
+ const ObservabilityConfigurationStatus = {
208
+ ACTIVE: "ACTIVE",
209
+ INACTIVE: "INACTIVE",
210
+ };
211
+ const HealthCheckProtocol = {
212
+ HTTP: "HTTP",
213
+ TCP: "TCP",
214
+ };
215
+ const EgressType = {
216
+ DEFAULT: "DEFAULT",
217
+ VPC: "VPC",
218
+ };
219
+ const IpAddressType = {
220
+ DUAL_STACK: "DUAL_STACK",
221
+ IPV4: "IPV4",
222
+ };
223
+ const Runtime = {
224
+ CORRETTO_11: "CORRETTO_11",
225
+ CORRETTO_8: "CORRETTO_8",
226
+ DOTNET_6: "DOTNET_6",
227
+ GO_1: "GO_1",
228
+ NODEJS_12: "NODEJS_12",
229
+ NODEJS_14: "NODEJS_14",
230
+ NODEJS_16: "NODEJS_16",
231
+ NODEJS_18: "NODEJS_18",
232
+ NODEJS_22: "NODEJS_22",
233
+ PHP_81: "PHP_81",
234
+ PYTHON_3: "PYTHON_3",
235
+ PYTHON_311: "PYTHON_311",
236
+ RUBY_31: "RUBY_31",
237
+ };
238
+ const ConfigurationSource = {
239
+ API: "API",
240
+ REPOSITORY: "REPOSITORY",
241
+ };
242
+ const SourceCodeVersionType = {
243
+ BRANCH: "BRANCH",
244
+ };
245
+ const ImageRepositoryType = {
246
+ ECR: "ECR",
247
+ ECR_PUBLIC: "ECR_PUBLIC",
248
+ };
249
+ const ServiceStatus = {
250
+ CREATE_FAILED: "CREATE_FAILED",
251
+ DELETED: "DELETED",
252
+ DELETE_FAILED: "DELETE_FAILED",
253
+ OPERATION_IN_PROGRESS: "OPERATION_IN_PROGRESS",
254
+ PAUSED: "PAUSED",
255
+ RUNNING: "RUNNING",
256
+ };
257
+ const VpcConnectorStatus = {
258
+ ACTIVE: "ACTIVE",
259
+ INACTIVE: "INACTIVE",
260
+ };
261
+ const VpcIngressConnectionStatus = {
262
+ AVAILABLE: "AVAILABLE",
263
+ DELETED: "DELETED",
264
+ FAILED_CREATION: "FAILED_CREATION",
265
+ FAILED_DELETION: "FAILED_DELETION",
266
+ FAILED_UPDATE: "FAILED_UPDATE",
267
+ PENDING_CREATION: "PENDING_CREATION",
268
+ PENDING_DELETION: "PENDING_DELETION",
269
+ PENDING_UPDATE: "PENDING_UPDATE",
270
+ };
271
+ class ResourceNotFoundException extends AppRunnerServiceException {
272
+ name = "ResourceNotFoundException";
273
+ $fault = "client";
274
+ Message;
275
+ constructor(opts) {
276
+ super({
277
+ name: "ResourceNotFoundException",
278
+ $fault: "client",
279
+ ...opts,
280
+ });
281
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
282
+ this.Message = opts.Message;
283
+ }
284
+ }
285
+ const OperationStatus = {
286
+ FAILED: "FAILED",
287
+ IN_PROGRESS: "IN_PROGRESS",
288
+ PENDING: "PENDING",
289
+ ROLLBACK_FAILED: "ROLLBACK_FAILED",
290
+ ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
291
+ ROLLBACK_SUCCEEDED: "ROLLBACK_SUCCEEDED",
292
+ SUCCEEDED: "SUCCEEDED",
293
+ };
294
+ const OperationType = {
295
+ CREATE_SERVICE: "CREATE_SERVICE",
296
+ DELETE_SERVICE: "DELETE_SERVICE",
297
+ PAUSE_SERVICE: "PAUSE_SERVICE",
298
+ RESUME_SERVICE: "RESUME_SERVICE",
299
+ START_DEPLOYMENT: "START_DEPLOYMENT",
300
+ UPDATE_SERVICE: "UPDATE_SERVICE",
301
+ };
302
+ const CodeConfigurationValuesFilterSensitiveLog = (obj) => ({
303
+ ...obj,
304
+ ...(obj.BuildCommand && { BuildCommand: smithyClient.SENSITIVE_STRING }),
305
+ ...(obj.StartCommand && { StartCommand: smithyClient.SENSITIVE_STRING }),
306
+ ...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: smithyClient.SENSITIVE_STRING }),
307
+ ...(obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: smithyClient.SENSITIVE_STRING }),
308
+ });
309
+ const CodeConfigurationFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ ...(obj.CodeConfigurationValues && {
312
+ CodeConfigurationValues: CodeConfigurationValuesFilterSensitiveLog(obj.CodeConfigurationValues),
313
+ }),
314
+ });
315
+ const CodeRepositoryFilterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ ...(obj.CodeConfiguration && { CodeConfiguration: CodeConfigurationFilterSensitiveLog(obj.CodeConfiguration) }),
318
+ });
319
+ const ImageConfigurationFilterSensitiveLog = (obj) => ({
320
+ ...obj,
321
+ ...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: smithyClient.SENSITIVE_STRING }),
322
+ ...(obj.StartCommand && { StartCommand: smithyClient.SENSITIVE_STRING }),
323
+ ...(obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: smithyClient.SENSITIVE_STRING }),
324
+ });
325
+ const ImageRepositoryFilterSensitiveLog = (obj) => ({
326
+ ...obj,
327
+ ...(obj.ImageConfiguration && { ImageConfiguration: ImageConfigurationFilterSensitiveLog(obj.ImageConfiguration) }),
328
+ });
329
+ const SourceConfigurationFilterSensitiveLog = (obj) => ({
330
+ ...obj,
331
+ ...(obj.CodeRepository && { CodeRepository: CodeRepositoryFilterSensitiveLog(obj.CodeRepository) }),
332
+ ...(obj.ImageRepository && { ImageRepository: ImageRepositoryFilterSensitiveLog(obj.ImageRepository) }),
333
+ });
334
+ const CreateServiceRequestFilterSensitiveLog = (obj) => ({
335
+ ...obj,
336
+ ...(obj.SourceConfiguration && {
337
+ SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration),
338
+ }),
339
+ });
340
+ const ServiceFilterSensitiveLog = (obj) => ({
341
+ ...obj,
342
+ ...(obj.SourceConfiguration && {
343
+ SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration),
344
+ }),
345
+ });
346
+ const CreateServiceResponseFilterSensitiveLog = (obj) => ({
347
+ ...obj,
348
+ ...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
349
+ });
350
+ const DeleteServiceResponseFilterSensitiveLog = (obj) => ({
351
+ ...obj,
352
+ ...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
353
+ });
354
+ const DescribeServiceResponseFilterSensitiveLog = (obj) => ({
355
+ ...obj,
356
+ ...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
357
+ });
358
+ const PauseServiceResponseFilterSensitiveLog = (obj) => ({
359
+ ...obj,
360
+ ...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
361
+ });
362
+ const ResumeServiceResponseFilterSensitiveLog = (obj) => ({
363
+ ...obj,
364
+ ...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
365
+ });
366
+ const UpdateServiceRequestFilterSensitiveLog = (obj) => ({
367
+ ...obj,
368
+ ...(obj.SourceConfiguration && {
369
+ SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration),
370
+ }),
371
+ });
372
+ const UpdateServiceResponseFilterSensitiveLog = (obj) => ({
373
+ ...obj,
374
+ ...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
375
+ });
208
376
 
209
- // src/AppRunnerClient.ts
210
- var AppRunnerClient = class extends import_smithy_client.Client {
211
- static {
212
- __name(this, "AppRunnerClient");
213
- }
214
- /**
215
- * The resolved configuration of AppRunnerClient class. This is resolved and normalized from the {@link AppRunnerClientConfig | constructor configuration interface}.
216
- */
217
- config;
218
- constructor(...[configuration]) {
219
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
220
- super(_config_0);
221
- this.initConfig = _config_0;
222
- const _config_1 = resolveClientEndpointParameters(_config_0);
223
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
224
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
225
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
226
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
227
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
228
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
229
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
230
- this.config = _config_8;
231
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
232
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
233
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
234
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
235
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
236
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
237
- this.middlewareStack.use(
238
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
239
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultAppRunnerHttpAuthSchemeParametersProvider,
240
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
241
- "aws.auth#sigv4": config.credentials
242
- }), "identityProviderConfigProvider")
243
- })
244
- );
245
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
246
- }
247
- /**
248
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
249
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
250
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
251
- */
252
- destroy() {
253
- super.destroy();
254
- }
377
+ const se_AssociateCustomDomainCommand = async (input, context) => {
378
+ const headers = sharedHeaders("AssociateCustomDomain");
379
+ let body;
380
+ body = JSON.stringify(smithyClient._json(input));
381
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
382
+ };
383
+ const se_CreateAutoScalingConfigurationCommand = async (input, context) => {
384
+ const headers = sharedHeaders("CreateAutoScalingConfiguration");
385
+ let body;
386
+ body = JSON.stringify(smithyClient._json(input));
387
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
388
+ };
389
+ const se_CreateConnectionCommand = async (input, context) => {
390
+ const headers = sharedHeaders("CreateConnection");
391
+ let body;
392
+ body = JSON.stringify(smithyClient._json(input));
393
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
394
+ };
395
+ const se_CreateObservabilityConfigurationCommand = async (input, context) => {
396
+ const headers = sharedHeaders("CreateObservabilityConfiguration");
397
+ let body;
398
+ body = JSON.stringify(smithyClient._json(input));
399
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
400
+ };
401
+ const se_CreateServiceCommand = async (input, context) => {
402
+ const headers = sharedHeaders("CreateService");
403
+ let body;
404
+ body = JSON.stringify(smithyClient._json(input));
405
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
406
+ };
407
+ const se_CreateVpcConnectorCommand = async (input, context) => {
408
+ const headers = sharedHeaders("CreateVpcConnector");
409
+ let body;
410
+ body = JSON.stringify(smithyClient._json(input));
411
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
412
+ };
413
+ const se_CreateVpcIngressConnectionCommand = async (input, context) => {
414
+ const headers = sharedHeaders("CreateVpcIngressConnection");
415
+ let body;
416
+ body = JSON.stringify(smithyClient._json(input));
417
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
418
+ };
419
+ const se_DeleteAutoScalingConfigurationCommand = async (input, context) => {
420
+ const headers = sharedHeaders("DeleteAutoScalingConfiguration");
421
+ let body;
422
+ body = JSON.stringify(smithyClient._json(input));
423
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
424
+ };
425
+ const se_DeleteConnectionCommand = async (input, context) => {
426
+ const headers = sharedHeaders("DeleteConnection");
427
+ let body;
428
+ body = JSON.stringify(smithyClient._json(input));
429
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
430
+ };
431
+ const se_DeleteObservabilityConfigurationCommand = async (input, context) => {
432
+ const headers = sharedHeaders("DeleteObservabilityConfiguration");
433
+ let body;
434
+ body = JSON.stringify(smithyClient._json(input));
435
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
436
+ };
437
+ const se_DeleteServiceCommand = async (input, context) => {
438
+ const headers = sharedHeaders("DeleteService");
439
+ let body;
440
+ body = JSON.stringify(smithyClient._json(input));
441
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
442
+ };
443
+ const se_DeleteVpcConnectorCommand = async (input, context) => {
444
+ const headers = sharedHeaders("DeleteVpcConnector");
445
+ let body;
446
+ body = JSON.stringify(smithyClient._json(input));
447
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
448
+ };
449
+ const se_DeleteVpcIngressConnectionCommand = async (input, context) => {
450
+ const headers = sharedHeaders("DeleteVpcIngressConnection");
451
+ let body;
452
+ body = JSON.stringify(smithyClient._json(input));
453
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
454
+ };
455
+ const se_DescribeAutoScalingConfigurationCommand = async (input, context) => {
456
+ const headers = sharedHeaders("DescribeAutoScalingConfiguration");
457
+ let body;
458
+ body = JSON.stringify(smithyClient._json(input));
459
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
460
+ };
461
+ const se_DescribeCustomDomainsCommand = async (input, context) => {
462
+ const headers = sharedHeaders("DescribeCustomDomains");
463
+ let body;
464
+ body = JSON.stringify(smithyClient._json(input));
465
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
466
+ };
467
+ const se_DescribeObservabilityConfigurationCommand = async (input, context) => {
468
+ const headers = sharedHeaders("DescribeObservabilityConfiguration");
469
+ let body;
470
+ body = JSON.stringify(smithyClient._json(input));
471
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
472
+ };
473
+ const se_DescribeServiceCommand = async (input, context) => {
474
+ const headers = sharedHeaders("DescribeService");
475
+ let body;
476
+ body = JSON.stringify(smithyClient._json(input));
477
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
478
+ };
479
+ const se_DescribeVpcConnectorCommand = async (input, context) => {
480
+ const headers = sharedHeaders("DescribeVpcConnector");
481
+ let body;
482
+ body = JSON.stringify(smithyClient._json(input));
483
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
484
+ };
485
+ const se_DescribeVpcIngressConnectionCommand = async (input, context) => {
486
+ const headers = sharedHeaders("DescribeVpcIngressConnection");
487
+ let body;
488
+ body = JSON.stringify(smithyClient._json(input));
489
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
490
+ };
491
+ const se_DisassociateCustomDomainCommand = async (input, context) => {
492
+ const headers = sharedHeaders("DisassociateCustomDomain");
493
+ let body;
494
+ body = JSON.stringify(smithyClient._json(input));
495
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
496
+ };
497
+ const se_ListAutoScalingConfigurationsCommand = async (input, context) => {
498
+ const headers = sharedHeaders("ListAutoScalingConfigurations");
499
+ let body;
500
+ body = JSON.stringify(smithyClient._json(input));
501
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
502
+ };
503
+ const se_ListConnectionsCommand = async (input, context) => {
504
+ const headers = sharedHeaders("ListConnections");
505
+ let body;
506
+ body = JSON.stringify(smithyClient._json(input));
507
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
508
+ };
509
+ const se_ListObservabilityConfigurationsCommand = async (input, context) => {
510
+ const headers = sharedHeaders("ListObservabilityConfigurations");
511
+ let body;
512
+ body = JSON.stringify(smithyClient._json(input));
513
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
514
+ };
515
+ const se_ListOperationsCommand = async (input, context) => {
516
+ const headers = sharedHeaders("ListOperations");
517
+ let body;
518
+ body = JSON.stringify(smithyClient._json(input));
519
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
520
+ };
521
+ const se_ListServicesCommand = async (input, context) => {
522
+ const headers = sharedHeaders("ListServices");
523
+ let body;
524
+ body = JSON.stringify(smithyClient._json(input));
525
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
526
+ };
527
+ const se_ListServicesForAutoScalingConfigurationCommand = async (input, context) => {
528
+ const headers = sharedHeaders("ListServicesForAutoScalingConfiguration");
529
+ let body;
530
+ body = JSON.stringify(smithyClient._json(input));
531
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
532
+ };
533
+ const se_ListTagsForResourceCommand = async (input, context) => {
534
+ const headers = sharedHeaders("ListTagsForResource");
535
+ let body;
536
+ body = JSON.stringify(smithyClient._json(input));
537
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
538
+ };
539
+ const se_ListVpcConnectorsCommand = async (input, context) => {
540
+ const headers = sharedHeaders("ListVpcConnectors");
541
+ let body;
542
+ body = JSON.stringify(smithyClient._json(input));
543
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
544
+ };
545
+ const se_ListVpcIngressConnectionsCommand = async (input, context) => {
546
+ const headers = sharedHeaders("ListVpcIngressConnections");
547
+ let body;
548
+ body = JSON.stringify(smithyClient._json(input));
549
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
550
+ };
551
+ const se_PauseServiceCommand = async (input, context) => {
552
+ const headers = sharedHeaders("PauseService");
553
+ let body;
554
+ body = JSON.stringify(smithyClient._json(input));
555
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
556
+ };
557
+ const se_ResumeServiceCommand = async (input, context) => {
558
+ const headers = sharedHeaders("ResumeService");
559
+ let body;
560
+ body = JSON.stringify(smithyClient._json(input));
561
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
562
+ };
563
+ const se_StartDeploymentCommand = async (input, context) => {
564
+ const headers = sharedHeaders("StartDeployment");
565
+ let body;
566
+ body = JSON.stringify(smithyClient._json(input));
567
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
568
+ };
569
+ const se_TagResourceCommand = async (input, context) => {
570
+ const headers = sharedHeaders("TagResource");
571
+ let body;
572
+ body = JSON.stringify(smithyClient._json(input));
573
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
574
+ };
575
+ const se_UntagResourceCommand = async (input, context) => {
576
+ const headers = sharedHeaders("UntagResource");
577
+ let body;
578
+ body = JSON.stringify(smithyClient._json(input));
579
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
580
+ };
581
+ const se_UpdateDefaultAutoScalingConfigurationCommand = async (input, context) => {
582
+ const headers = sharedHeaders("UpdateDefaultAutoScalingConfiguration");
583
+ let body;
584
+ body = JSON.stringify(smithyClient._json(input));
585
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
586
+ };
587
+ const se_UpdateServiceCommand = async (input, context) => {
588
+ const headers = sharedHeaders("UpdateService");
589
+ let body;
590
+ body = JSON.stringify(smithyClient._json(input));
591
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
592
+ };
593
+ const se_UpdateVpcIngressConnectionCommand = async (input, context) => {
594
+ const headers = sharedHeaders("UpdateVpcIngressConnection");
595
+ let body;
596
+ body = JSON.stringify(smithyClient._json(input));
597
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
598
+ };
599
+ const de_AssociateCustomDomainCommand = async (output, context) => {
600
+ if (output.statusCode >= 300) {
601
+ return de_CommandError(output, context);
602
+ }
603
+ const data = await core$1.parseJsonBody(output.body, context);
604
+ let contents = {};
605
+ contents = smithyClient._json(data);
606
+ const response = {
607
+ $metadata: deserializeMetadata(output),
608
+ ...contents,
609
+ };
610
+ return response;
611
+ };
612
+ const de_CreateAutoScalingConfigurationCommand = async (output, context) => {
613
+ if (output.statusCode >= 300) {
614
+ return de_CommandError(output, context);
615
+ }
616
+ const data = await core$1.parseJsonBody(output.body, context);
617
+ let contents = {};
618
+ contents = de_CreateAutoScalingConfigurationResponse(data);
619
+ const response = {
620
+ $metadata: deserializeMetadata(output),
621
+ ...contents,
622
+ };
623
+ return response;
624
+ };
625
+ const de_CreateConnectionCommand = async (output, context) => {
626
+ if (output.statusCode >= 300) {
627
+ return de_CommandError(output, context);
628
+ }
629
+ const data = await core$1.parseJsonBody(output.body, context);
630
+ let contents = {};
631
+ contents = de_CreateConnectionResponse(data);
632
+ const response = {
633
+ $metadata: deserializeMetadata(output),
634
+ ...contents,
635
+ };
636
+ return response;
637
+ };
638
+ const de_CreateObservabilityConfigurationCommand = async (output, context) => {
639
+ if (output.statusCode >= 300) {
640
+ return de_CommandError(output, context);
641
+ }
642
+ const data = await core$1.parseJsonBody(output.body, context);
643
+ let contents = {};
644
+ contents = de_CreateObservabilityConfigurationResponse(data);
645
+ const response = {
646
+ $metadata: deserializeMetadata(output),
647
+ ...contents,
648
+ };
649
+ return response;
650
+ };
651
+ const de_CreateServiceCommand = async (output, context) => {
652
+ if (output.statusCode >= 300) {
653
+ return de_CommandError(output, context);
654
+ }
655
+ const data = await core$1.parseJsonBody(output.body, context);
656
+ let contents = {};
657
+ contents = de_CreateServiceResponse(data);
658
+ const response = {
659
+ $metadata: deserializeMetadata(output),
660
+ ...contents,
661
+ };
662
+ return response;
663
+ };
664
+ const de_CreateVpcConnectorCommand = async (output, context) => {
665
+ if (output.statusCode >= 300) {
666
+ return de_CommandError(output, context);
667
+ }
668
+ const data = await core$1.parseJsonBody(output.body, context);
669
+ let contents = {};
670
+ contents = de_CreateVpcConnectorResponse(data);
671
+ const response = {
672
+ $metadata: deserializeMetadata(output),
673
+ ...contents,
674
+ };
675
+ return response;
676
+ };
677
+ const de_CreateVpcIngressConnectionCommand = async (output, context) => {
678
+ if (output.statusCode >= 300) {
679
+ return de_CommandError(output, context);
680
+ }
681
+ const data = await core$1.parseJsonBody(output.body, context);
682
+ let contents = {};
683
+ contents = de_CreateVpcIngressConnectionResponse(data);
684
+ const response = {
685
+ $metadata: deserializeMetadata(output),
686
+ ...contents,
687
+ };
688
+ return response;
689
+ };
690
+ const de_DeleteAutoScalingConfigurationCommand = async (output, context) => {
691
+ if (output.statusCode >= 300) {
692
+ return de_CommandError(output, context);
693
+ }
694
+ const data = await core$1.parseJsonBody(output.body, context);
695
+ let contents = {};
696
+ contents = de_DeleteAutoScalingConfigurationResponse(data);
697
+ const response = {
698
+ $metadata: deserializeMetadata(output),
699
+ ...contents,
700
+ };
701
+ return response;
702
+ };
703
+ const de_DeleteConnectionCommand = async (output, context) => {
704
+ if (output.statusCode >= 300) {
705
+ return de_CommandError(output, context);
706
+ }
707
+ const data = await core$1.parseJsonBody(output.body, context);
708
+ let contents = {};
709
+ contents = de_DeleteConnectionResponse(data);
710
+ const response = {
711
+ $metadata: deserializeMetadata(output),
712
+ ...contents,
713
+ };
714
+ return response;
715
+ };
716
+ const de_DeleteObservabilityConfigurationCommand = async (output, context) => {
717
+ if (output.statusCode >= 300) {
718
+ return de_CommandError(output, context);
719
+ }
720
+ const data = await core$1.parseJsonBody(output.body, context);
721
+ let contents = {};
722
+ contents = de_DeleteObservabilityConfigurationResponse(data);
723
+ const response = {
724
+ $metadata: deserializeMetadata(output),
725
+ ...contents,
726
+ };
727
+ return response;
728
+ };
729
+ const de_DeleteServiceCommand = async (output, context) => {
730
+ if (output.statusCode >= 300) {
731
+ return de_CommandError(output, context);
732
+ }
733
+ const data = await core$1.parseJsonBody(output.body, context);
734
+ let contents = {};
735
+ contents = de_DeleteServiceResponse(data);
736
+ const response = {
737
+ $metadata: deserializeMetadata(output),
738
+ ...contents,
739
+ };
740
+ return response;
741
+ };
742
+ const de_DeleteVpcConnectorCommand = async (output, context) => {
743
+ if (output.statusCode >= 300) {
744
+ return de_CommandError(output, context);
745
+ }
746
+ const data = await core$1.parseJsonBody(output.body, context);
747
+ let contents = {};
748
+ contents = de_DeleteVpcConnectorResponse(data);
749
+ const response = {
750
+ $metadata: deserializeMetadata(output),
751
+ ...contents,
752
+ };
753
+ return response;
754
+ };
755
+ const de_DeleteVpcIngressConnectionCommand = async (output, context) => {
756
+ if (output.statusCode >= 300) {
757
+ return de_CommandError(output, context);
758
+ }
759
+ const data = await core$1.parseJsonBody(output.body, context);
760
+ let contents = {};
761
+ contents = de_DeleteVpcIngressConnectionResponse(data);
762
+ const response = {
763
+ $metadata: deserializeMetadata(output),
764
+ ...contents,
765
+ };
766
+ return response;
767
+ };
768
+ const de_DescribeAutoScalingConfigurationCommand = async (output, context) => {
769
+ if (output.statusCode >= 300) {
770
+ return de_CommandError(output, context);
771
+ }
772
+ const data = await core$1.parseJsonBody(output.body, context);
773
+ let contents = {};
774
+ contents = de_DescribeAutoScalingConfigurationResponse(data);
775
+ const response = {
776
+ $metadata: deserializeMetadata(output),
777
+ ...contents,
778
+ };
779
+ return response;
780
+ };
781
+ const de_DescribeCustomDomainsCommand = async (output, context) => {
782
+ if (output.statusCode >= 300) {
783
+ return de_CommandError(output, context);
784
+ }
785
+ const data = await core$1.parseJsonBody(output.body, context);
786
+ let contents = {};
787
+ contents = smithyClient._json(data);
788
+ const response = {
789
+ $metadata: deserializeMetadata(output),
790
+ ...contents,
791
+ };
792
+ return response;
793
+ };
794
+ const de_DescribeObservabilityConfigurationCommand = async (output, context) => {
795
+ if (output.statusCode >= 300) {
796
+ return de_CommandError(output, context);
797
+ }
798
+ const data = await core$1.parseJsonBody(output.body, context);
799
+ let contents = {};
800
+ contents = de_DescribeObservabilityConfigurationResponse(data);
801
+ const response = {
802
+ $metadata: deserializeMetadata(output),
803
+ ...contents,
804
+ };
805
+ return response;
806
+ };
807
+ const de_DescribeServiceCommand = async (output, context) => {
808
+ if (output.statusCode >= 300) {
809
+ return de_CommandError(output, context);
810
+ }
811
+ const data = await core$1.parseJsonBody(output.body, context);
812
+ let contents = {};
813
+ contents = de_DescribeServiceResponse(data);
814
+ const response = {
815
+ $metadata: deserializeMetadata(output),
816
+ ...contents,
817
+ };
818
+ return response;
819
+ };
820
+ const de_DescribeVpcConnectorCommand = async (output, context) => {
821
+ if (output.statusCode >= 300) {
822
+ return de_CommandError(output, context);
823
+ }
824
+ const data = await core$1.parseJsonBody(output.body, context);
825
+ let contents = {};
826
+ contents = de_DescribeVpcConnectorResponse(data);
827
+ const response = {
828
+ $metadata: deserializeMetadata(output),
829
+ ...contents,
830
+ };
831
+ return response;
832
+ };
833
+ const de_DescribeVpcIngressConnectionCommand = async (output, context) => {
834
+ if (output.statusCode >= 300) {
835
+ return de_CommandError(output, context);
836
+ }
837
+ const data = await core$1.parseJsonBody(output.body, context);
838
+ let contents = {};
839
+ contents = de_DescribeVpcIngressConnectionResponse(data);
840
+ const response = {
841
+ $metadata: deserializeMetadata(output),
842
+ ...contents,
843
+ };
844
+ return response;
845
+ };
846
+ const de_DisassociateCustomDomainCommand = async (output, context) => {
847
+ if (output.statusCode >= 300) {
848
+ return de_CommandError(output, context);
849
+ }
850
+ const data = await core$1.parseJsonBody(output.body, context);
851
+ let contents = {};
852
+ contents = smithyClient._json(data);
853
+ const response = {
854
+ $metadata: deserializeMetadata(output),
855
+ ...contents,
856
+ };
857
+ return response;
858
+ };
859
+ const de_ListAutoScalingConfigurationsCommand = async (output, context) => {
860
+ if (output.statusCode >= 300) {
861
+ return de_CommandError(output, context);
862
+ }
863
+ const data = await core$1.parseJsonBody(output.body, context);
864
+ let contents = {};
865
+ contents = de_ListAutoScalingConfigurationsResponse(data);
866
+ const response = {
867
+ $metadata: deserializeMetadata(output),
868
+ ...contents,
869
+ };
870
+ return response;
871
+ };
872
+ const de_ListConnectionsCommand = async (output, context) => {
873
+ if (output.statusCode >= 300) {
874
+ return de_CommandError(output, context);
875
+ }
876
+ const data = await core$1.parseJsonBody(output.body, context);
877
+ let contents = {};
878
+ contents = de_ListConnectionsResponse(data);
879
+ const response = {
880
+ $metadata: deserializeMetadata(output),
881
+ ...contents,
882
+ };
883
+ return response;
884
+ };
885
+ const de_ListObservabilityConfigurationsCommand = async (output, context) => {
886
+ if (output.statusCode >= 300) {
887
+ return de_CommandError(output, context);
888
+ }
889
+ const data = await core$1.parseJsonBody(output.body, context);
890
+ let contents = {};
891
+ contents = smithyClient._json(data);
892
+ const response = {
893
+ $metadata: deserializeMetadata(output),
894
+ ...contents,
895
+ };
896
+ return response;
897
+ };
898
+ const de_ListOperationsCommand = async (output, context) => {
899
+ if (output.statusCode >= 300) {
900
+ return de_CommandError(output, context);
901
+ }
902
+ const data = await core$1.parseJsonBody(output.body, context);
903
+ let contents = {};
904
+ contents = de_ListOperationsResponse(data);
905
+ const response = {
906
+ $metadata: deserializeMetadata(output),
907
+ ...contents,
908
+ };
909
+ return response;
910
+ };
911
+ const de_ListServicesCommand = async (output, context) => {
912
+ if (output.statusCode >= 300) {
913
+ return de_CommandError(output, context);
914
+ }
915
+ const data = await core$1.parseJsonBody(output.body, context);
916
+ let contents = {};
917
+ contents = de_ListServicesResponse(data);
918
+ const response = {
919
+ $metadata: deserializeMetadata(output),
920
+ ...contents,
921
+ };
922
+ return response;
923
+ };
924
+ const de_ListServicesForAutoScalingConfigurationCommand = async (output, context) => {
925
+ if (output.statusCode >= 300) {
926
+ return de_CommandError(output, context);
927
+ }
928
+ const data = await core$1.parseJsonBody(output.body, context);
929
+ let contents = {};
930
+ contents = smithyClient._json(data);
931
+ const response = {
932
+ $metadata: deserializeMetadata(output),
933
+ ...contents,
934
+ };
935
+ return response;
936
+ };
937
+ const de_ListTagsForResourceCommand = async (output, context) => {
938
+ if (output.statusCode >= 300) {
939
+ return de_CommandError(output, context);
940
+ }
941
+ const data = await core$1.parseJsonBody(output.body, context);
942
+ let contents = {};
943
+ contents = smithyClient._json(data);
944
+ const response = {
945
+ $metadata: deserializeMetadata(output),
946
+ ...contents,
947
+ };
948
+ return response;
949
+ };
950
+ const de_ListVpcConnectorsCommand = async (output, context) => {
951
+ if (output.statusCode >= 300) {
952
+ return de_CommandError(output, context);
953
+ }
954
+ const data = await core$1.parseJsonBody(output.body, context);
955
+ let contents = {};
956
+ contents = de_ListVpcConnectorsResponse(data);
957
+ const response = {
958
+ $metadata: deserializeMetadata(output),
959
+ ...contents,
960
+ };
961
+ return response;
962
+ };
963
+ const de_ListVpcIngressConnectionsCommand = async (output, context) => {
964
+ if (output.statusCode >= 300) {
965
+ return de_CommandError(output, context);
966
+ }
967
+ const data = await core$1.parseJsonBody(output.body, context);
968
+ let contents = {};
969
+ contents = smithyClient._json(data);
970
+ const response = {
971
+ $metadata: deserializeMetadata(output),
972
+ ...contents,
973
+ };
974
+ return response;
975
+ };
976
+ const de_PauseServiceCommand = async (output, context) => {
977
+ if (output.statusCode >= 300) {
978
+ return de_CommandError(output, context);
979
+ }
980
+ const data = await core$1.parseJsonBody(output.body, context);
981
+ let contents = {};
982
+ contents = de_PauseServiceResponse(data);
983
+ const response = {
984
+ $metadata: deserializeMetadata(output),
985
+ ...contents,
986
+ };
987
+ return response;
988
+ };
989
+ const de_ResumeServiceCommand = async (output, context) => {
990
+ if (output.statusCode >= 300) {
991
+ return de_CommandError(output, context);
992
+ }
993
+ const data = await core$1.parseJsonBody(output.body, context);
994
+ let contents = {};
995
+ contents = de_ResumeServiceResponse(data);
996
+ const response = {
997
+ $metadata: deserializeMetadata(output),
998
+ ...contents,
999
+ };
1000
+ return response;
1001
+ };
1002
+ const de_StartDeploymentCommand = async (output, context) => {
1003
+ if (output.statusCode >= 300) {
1004
+ return de_CommandError(output, context);
1005
+ }
1006
+ const data = await core$1.parseJsonBody(output.body, context);
1007
+ let contents = {};
1008
+ contents = smithyClient._json(data);
1009
+ const response = {
1010
+ $metadata: deserializeMetadata(output),
1011
+ ...contents,
1012
+ };
1013
+ return response;
1014
+ };
1015
+ const de_TagResourceCommand = async (output, context) => {
1016
+ if (output.statusCode >= 300) {
1017
+ return de_CommandError(output, context);
1018
+ }
1019
+ const data = await core$1.parseJsonBody(output.body, context);
1020
+ let contents = {};
1021
+ contents = smithyClient._json(data);
1022
+ const response = {
1023
+ $metadata: deserializeMetadata(output),
1024
+ ...contents,
1025
+ };
1026
+ return response;
1027
+ };
1028
+ const de_UntagResourceCommand = async (output, context) => {
1029
+ if (output.statusCode >= 300) {
1030
+ return de_CommandError(output, context);
1031
+ }
1032
+ const data = await core$1.parseJsonBody(output.body, context);
1033
+ let contents = {};
1034
+ contents = smithyClient._json(data);
1035
+ const response = {
1036
+ $metadata: deserializeMetadata(output),
1037
+ ...contents,
1038
+ };
1039
+ return response;
1040
+ };
1041
+ const de_UpdateDefaultAutoScalingConfigurationCommand = async (output, context) => {
1042
+ if (output.statusCode >= 300) {
1043
+ return de_CommandError(output, context);
1044
+ }
1045
+ const data = await core$1.parseJsonBody(output.body, context);
1046
+ let contents = {};
1047
+ contents = de_UpdateDefaultAutoScalingConfigurationResponse(data);
1048
+ const response = {
1049
+ $metadata: deserializeMetadata(output),
1050
+ ...contents,
1051
+ };
1052
+ return response;
1053
+ };
1054
+ const de_UpdateServiceCommand = async (output, context) => {
1055
+ if (output.statusCode >= 300) {
1056
+ return de_CommandError(output, context);
1057
+ }
1058
+ const data = await core$1.parseJsonBody(output.body, context);
1059
+ let contents = {};
1060
+ contents = de_UpdateServiceResponse(data);
1061
+ const response = {
1062
+ $metadata: deserializeMetadata(output),
1063
+ ...contents,
1064
+ };
1065
+ return response;
1066
+ };
1067
+ const de_UpdateVpcIngressConnectionCommand = async (output, context) => {
1068
+ if (output.statusCode >= 300) {
1069
+ return de_CommandError(output, context);
1070
+ }
1071
+ const data = await core$1.parseJsonBody(output.body, context);
1072
+ let contents = {};
1073
+ contents = de_UpdateVpcIngressConnectionResponse(data);
1074
+ const response = {
1075
+ $metadata: deserializeMetadata(output),
1076
+ ...contents,
1077
+ };
1078
+ return response;
1079
+ };
1080
+ const de_CommandError = async (output, context) => {
1081
+ const parsedOutput = {
1082
+ ...output,
1083
+ body: await core$1.parseJsonErrorBody(output.body, context),
1084
+ };
1085
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1086
+ switch (errorCode) {
1087
+ case "InternalServiceErrorException":
1088
+ case "com.amazonaws.apprunner#InternalServiceErrorException":
1089
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput);
1090
+ case "InvalidRequestException":
1091
+ case "com.amazonaws.apprunner#InvalidRequestException":
1092
+ throw await de_InvalidRequestExceptionRes(parsedOutput);
1093
+ case "InvalidStateException":
1094
+ case "com.amazonaws.apprunner#InvalidStateException":
1095
+ throw await de_InvalidStateExceptionRes(parsedOutput);
1096
+ case "ServiceQuotaExceededException":
1097
+ case "com.amazonaws.apprunner#ServiceQuotaExceededException":
1098
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1099
+ case "ResourceNotFoundException":
1100
+ case "com.amazonaws.apprunner#ResourceNotFoundException":
1101
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1102
+ default:
1103
+ const parsedBody = parsedOutput.body;
1104
+ return throwDefaultError({
1105
+ output,
1106
+ parsedBody,
1107
+ errorCode,
1108
+ });
1109
+ }
255
1110
  };
256
-
257
- // src/AppRunner.ts
258
-
259
-
260
- // src/commands/AssociateCustomDomainCommand.ts
261
-
262
- var import_middleware_serde = require("@smithy/middleware-serde");
263
-
264
-
265
- // src/protocols/Aws_json1_0.ts
266
- var import_core2 = require("@aws-sdk/core");
267
-
268
-
269
-
270
- // src/models/AppRunnerServiceException.ts
271
-
272
- var AppRunnerServiceException = class _AppRunnerServiceException extends import_smithy_client.ServiceException {
273
- static {
274
- __name(this, "AppRunnerServiceException");
275
- }
276
- /**
277
- * @internal
278
- */
279
- constructor(options) {
280
- super(options);
281
- Object.setPrototypeOf(this, _AppRunnerServiceException.prototype);
282
- }
1111
+ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
1112
+ const body = parsedOutput.body;
1113
+ const deserialized = smithyClient._json(body);
1114
+ const exception = new InternalServiceErrorException({
1115
+ $metadata: deserializeMetadata(parsedOutput),
1116
+ ...deserialized,
1117
+ });
1118
+ return smithyClient.decorateServiceException(exception, body);
1119
+ };
1120
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1121
+ const body = parsedOutput.body;
1122
+ const deserialized = smithyClient._json(body);
1123
+ const exception = new InvalidRequestException({
1124
+ $metadata: deserializeMetadata(parsedOutput),
1125
+ ...deserialized,
1126
+ });
1127
+ return smithyClient.decorateServiceException(exception, body);
1128
+ };
1129
+ const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
1130
+ const body = parsedOutput.body;
1131
+ const deserialized = smithyClient._json(body);
1132
+ const exception = new InvalidStateException({
1133
+ $metadata: deserializeMetadata(parsedOutput),
1134
+ ...deserialized,
1135
+ });
1136
+ return smithyClient.decorateServiceException(exception, body);
1137
+ };
1138
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1139
+ const body = parsedOutput.body;
1140
+ const deserialized = smithyClient._json(body);
1141
+ const exception = new ResourceNotFoundException({
1142
+ $metadata: deserializeMetadata(parsedOutput),
1143
+ ...deserialized,
1144
+ });
1145
+ return smithyClient.decorateServiceException(exception, body);
1146
+ };
1147
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1148
+ const body = parsedOutput.body;
1149
+ const deserialized = smithyClient._json(body);
1150
+ const exception = new ServiceQuotaExceededException({
1151
+ $metadata: deserializeMetadata(parsedOutput),
1152
+ ...deserialized,
1153
+ });
1154
+ return smithyClient.decorateServiceException(exception, body);
1155
+ };
1156
+ const de_AutoScalingConfiguration = (output, context) => {
1157
+ return smithyClient.take(output, {
1158
+ AutoScalingConfigurationArn: smithyClient.expectString,
1159
+ AutoScalingConfigurationName: smithyClient.expectString,
1160
+ AutoScalingConfigurationRevision: smithyClient.expectInt32,
1161
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1162
+ DeletedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1163
+ HasAssociatedService: smithyClient.expectBoolean,
1164
+ IsDefault: smithyClient.expectBoolean,
1165
+ Latest: smithyClient.expectBoolean,
1166
+ MaxConcurrency: smithyClient.expectInt32,
1167
+ MaxSize: smithyClient.expectInt32,
1168
+ MinSize: smithyClient.expectInt32,
1169
+ Status: smithyClient.expectString,
1170
+ });
283
1171
  };
284
-
285
- // src/models/models_0.ts
286
-
287
- var CertificateValidationRecordStatus = {
288
- FAILED: "FAILED",
289
- PENDING_VALIDATION: "PENDING_VALIDATION",
290
- SUCCESS: "SUCCESS"
291
- };
292
- var CustomDomainAssociationStatus = {
293
- ACTIVE: "ACTIVE",
294
- BINDING_CERTIFICATE: "BINDING_CERTIFICATE",
295
- CREATE_FAILED: "CREATE_FAILED",
296
- CREATING: "CREATING",
297
- DELETE_FAILED: "DELETE_FAILED",
298
- DELETING: "DELETING",
299
- PENDING_CERTIFICATE_DNS_VALIDATION: "PENDING_CERTIFICATE_DNS_VALIDATION"
300
- };
301
- var InternalServiceErrorException = class _InternalServiceErrorException extends AppRunnerServiceException {
302
- static {
303
- __name(this, "InternalServiceErrorException");
304
- }
305
- name = "InternalServiceErrorException";
306
- $fault = "server";
307
- Message;
308
- /**
309
- * @internal
310
- */
311
- constructor(opts) {
312
- super({
313
- name: "InternalServiceErrorException",
314
- $fault: "server",
315
- ...opts
1172
+ const de_AutoScalingConfigurationSummary = (output, context) => {
1173
+ return smithyClient.take(output, {
1174
+ AutoScalingConfigurationArn: smithyClient.expectString,
1175
+ AutoScalingConfigurationName: smithyClient.expectString,
1176
+ AutoScalingConfigurationRevision: smithyClient.expectInt32,
1177
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1178
+ HasAssociatedService: smithyClient.expectBoolean,
1179
+ IsDefault: smithyClient.expectBoolean,
1180
+ Status: smithyClient.expectString,
316
1181
  });
317
- Object.setPrototypeOf(this, _InternalServiceErrorException.prototype);
318
- this.Message = opts.Message;
319
- }
320
- };
321
- var InvalidRequestException = class _InvalidRequestException extends AppRunnerServiceException {
322
- static {
323
- __name(this, "InvalidRequestException");
324
- }
325
- name = "InvalidRequestException";
326
- $fault = "client";
327
- Message;
328
- /**
329
- * @internal
330
- */
331
- constructor(opts) {
332
- super({
333
- name: "InvalidRequestException",
334
- $fault: "client",
335
- ...opts
1182
+ };
1183
+ const de_AutoScalingConfigurationSummaryList = (output, context) => {
1184
+ const retVal = (output || [])
1185
+ .filter((e) => e != null)
1186
+ .map((entry) => {
1187
+ return de_AutoScalingConfigurationSummary(entry);
336
1188
  });
337
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
338
- this.Message = opts.Message;
339
- }
340
- };
341
- var InvalidStateException = class _InvalidStateException extends AppRunnerServiceException {
342
- static {
343
- __name(this, "InvalidStateException");
344
- }
345
- name = "InvalidStateException";
346
- $fault = "client";
347
- Message;
348
- /**
349
- * @internal
350
- */
351
- constructor(opts) {
352
- super({
353
- name: "InvalidStateException",
354
- $fault: "client",
355
- ...opts
1189
+ return retVal;
1190
+ };
1191
+ const de_Connection = (output, context) => {
1192
+ return smithyClient.take(output, {
1193
+ ConnectionArn: smithyClient.expectString,
1194
+ ConnectionName: smithyClient.expectString,
1195
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1196
+ ProviderType: smithyClient.expectString,
1197
+ Status: smithyClient.expectString,
356
1198
  });
357
- Object.setPrototypeOf(this, _InvalidStateException.prototype);
358
- this.Message = opts.Message;
359
- }
360
- };
361
- var AutoScalingConfigurationStatus = {
362
- ACTIVE: "ACTIVE",
363
- INACTIVE: "INACTIVE"
364
- };
365
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AppRunnerServiceException {
366
- static {
367
- __name(this, "ServiceQuotaExceededException");
368
- }
369
- name = "ServiceQuotaExceededException";
370
- $fault = "client";
371
- Message;
372
- /**
373
- * @internal
374
- */
375
- constructor(opts) {
376
- super({
377
- name: "ServiceQuotaExceededException",
378
- $fault: "client",
379
- ...opts
1199
+ };
1200
+ const de_ConnectionSummary = (output, context) => {
1201
+ return smithyClient.take(output, {
1202
+ ConnectionArn: smithyClient.expectString,
1203
+ ConnectionName: smithyClient.expectString,
1204
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1205
+ ProviderType: smithyClient.expectString,
1206
+ Status: smithyClient.expectString,
380
1207
  });
381
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
382
- this.Message = opts.Message;
383
- }
384
- };
385
- var ProviderType = {
386
- BITBUCKET: "BITBUCKET",
387
- GITHUB: "GITHUB"
388
- };
389
- var ConnectionStatus = {
390
- AVAILABLE: "AVAILABLE",
391
- DELETED: "DELETED",
392
- ERROR: "ERROR",
393
- PENDING_HANDSHAKE: "PENDING_HANDSHAKE"
394
- };
395
- var TracingVendor = {
396
- AWSXRAY: "AWSXRAY"
397
- };
398
- var ObservabilityConfigurationStatus = {
399
- ACTIVE: "ACTIVE",
400
- INACTIVE: "INACTIVE"
401
- };
402
- var HealthCheckProtocol = {
403
- HTTP: "HTTP",
404
- TCP: "TCP"
405
- };
406
- var EgressType = {
407
- DEFAULT: "DEFAULT",
408
- VPC: "VPC"
409
- };
410
- var IpAddressType = {
411
- DUAL_STACK: "DUAL_STACK",
412
- IPV4: "IPV4"
413
- };
414
- var Runtime = {
415
- CORRETTO_11: "CORRETTO_11",
416
- CORRETTO_8: "CORRETTO_8",
417
- DOTNET_6: "DOTNET_6",
418
- GO_1: "GO_1",
419
- NODEJS_12: "NODEJS_12",
420
- NODEJS_14: "NODEJS_14",
421
- NODEJS_16: "NODEJS_16",
422
- NODEJS_18: "NODEJS_18",
423
- NODEJS_22: "NODEJS_22",
424
- PHP_81: "PHP_81",
425
- PYTHON_3: "PYTHON_3",
426
- PYTHON_311: "PYTHON_311",
427
- RUBY_31: "RUBY_31"
428
- };
429
- var ConfigurationSource = {
430
- API: "API",
431
- REPOSITORY: "REPOSITORY"
432
- };
433
- var SourceCodeVersionType = {
434
- BRANCH: "BRANCH"
435
- };
436
- var ImageRepositoryType = {
437
- ECR: "ECR",
438
- ECR_PUBLIC: "ECR_PUBLIC"
439
- };
440
- var ServiceStatus = {
441
- CREATE_FAILED: "CREATE_FAILED",
442
- DELETED: "DELETED",
443
- DELETE_FAILED: "DELETE_FAILED",
444
- OPERATION_IN_PROGRESS: "OPERATION_IN_PROGRESS",
445
- PAUSED: "PAUSED",
446
- RUNNING: "RUNNING"
447
- };
448
- var VpcConnectorStatus = {
449
- ACTIVE: "ACTIVE",
450
- INACTIVE: "INACTIVE"
451
- };
452
- var VpcIngressConnectionStatus = {
453
- AVAILABLE: "AVAILABLE",
454
- DELETED: "DELETED",
455
- FAILED_CREATION: "FAILED_CREATION",
456
- FAILED_DELETION: "FAILED_DELETION",
457
- FAILED_UPDATE: "FAILED_UPDATE",
458
- PENDING_CREATION: "PENDING_CREATION",
459
- PENDING_DELETION: "PENDING_DELETION",
460
- PENDING_UPDATE: "PENDING_UPDATE"
461
- };
462
- var ResourceNotFoundException = class _ResourceNotFoundException extends AppRunnerServiceException {
463
- static {
464
- __name(this, "ResourceNotFoundException");
465
- }
466
- name = "ResourceNotFoundException";
467
- $fault = "client";
468
- Message;
469
- /**
470
- * @internal
471
- */
472
- constructor(opts) {
473
- super({
474
- name: "ResourceNotFoundException",
475
- $fault: "client",
476
- ...opts
1208
+ };
1209
+ const de_ConnectionSummaryList = (output, context) => {
1210
+ const retVal = (output || [])
1211
+ .filter((e) => e != null)
1212
+ .map((entry) => {
1213
+ return de_ConnectionSummary(entry);
477
1214
  });
478
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
479
- this.Message = opts.Message;
480
- }
481
- };
482
- var OperationStatus = {
483
- FAILED: "FAILED",
484
- IN_PROGRESS: "IN_PROGRESS",
485
- PENDING: "PENDING",
486
- ROLLBACK_FAILED: "ROLLBACK_FAILED",
487
- ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
488
- ROLLBACK_SUCCEEDED: "ROLLBACK_SUCCEEDED",
489
- SUCCEEDED: "SUCCEEDED"
490
- };
491
- var OperationType = {
492
- CREATE_SERVICE: "CREATE_SERVICE",
493
- DELETE_SERVICE: "DELETE_SERVICE",
494
- PAUSE_SERVICE: "PAUSE_SERVICE",
495
- RESUME_SERVICE: "RESUME_SERVICE",
496
- START_DEPLOYMENT: "START_DEPLOYMENT",
497
- UPDATE_SERVICE: "UPDATE_SERVICE"
498
- };
499
- var CodeConfigurationValuesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
500
- ...obj,
501
- ...obj.BuildCommand && { BuildCommand: import_smithy_client.SENSITIVE_STRING },
502
- ...obj.StartCommand && { StartCommand: import_smithy_client.SENSITIVE_STRING },
503
- ...obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: import_smithy_client.SENSITIVE_STRING },
504
- ...obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: import_smithy_client.SENSITIVE_STRING }
505
- }), "CodeConfigurationValuesFilterSensitiveLog");
506
- var CodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
507
- ...obj,
508
- ...obj.CodeConfigurationValues && {
509
- CodeConfigurationValues: CodeConfigurationValuesFilterSensitiveLog(obj.CodeConfigurationValues)
510
- }
511
- }), "CodeConfigurationFilterSensitiveLog");
512
- var CodeRepositoryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
513
- ...obj,
514
- ...obj.CodeConfiguration && { CodeConfiguration: CodeConfigurationFilterSensitiveLog(obj.CodeConfiguration) }
515
- }), "CodeRepositoryFilterSensitiveLog");
516
- var ImageConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
517
- ...obj,
518
- ...obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: import_smithy_client.SENSITIVE_STRING },
519
- ...obj.StartCommand && { StartCommand: import_smithy_client.SENSITIVE_STRING },
520
- ...obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: import_smithy_client.SENSITIVE_STRING }
521
- }), "ImageConfigurationFilterSensitiveLog");
522
- var ImageRepositoryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
523
- ...obj,
524
- ...obj.ImageConfiguration && { ImageConfiguration: ImageConfigurationFilterSensitiveLog(obj.ImageConfiguration) }
525
- }), "ImageRepositoryFilterSensitiveLog");
526
- var SourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
527
- ...obj,
528
- ...obj.CodeRepository && { CodeRepository: CodeRepositoryFilterSensitiveLog(obj.CodeRepository) },
529
- ...obj.ImageRepository && { ImageRepository: ImageRepositoryFilterSensitiveLog(obj.ImageRepository) }
530
- }), "SourceConfigurationFilterSensitiveLog");
531
- var CreateServiceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
532
- ...obj,
533
- ...obj.SourceConfiguration && {
534
- SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration)
535
- }
536
- }), "CreateServiceRequestFilterSensitiveLog");
537
- var ServiceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
538
- ...obj,
539
- ...obj.SourceConfiguration && {
540
- SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration)
541
- }
542
- }), "ServiceFilterSensitiveLog");
543
- var CreateServiceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
544
- ...obj,
545
- ...obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }
546
- }), "CreateServiceResponseFilterSensitiveLog");
547
- var DeleteServiceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
548
- ...obj,
549
- ...obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }
550
- }), "DeleteServiceResponseFilterSensitiveLog");
551
- var DescribeServiceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
552
- ...obj,
553
- ...obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }
554
- }), "DescribeServiceResponseFilterSensitiveLog");
555
- var PauseServiceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
556
- ...obj,
557
- ...obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }
558
- }), "PauseServiceResponseFilterSensitiveLog");
559
- var ResumeServiceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
560
- ...obj,
561
- ...obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }
562
- }), "ResumeServiceResponseFilterSensitiveLog");
563
- var UpdateServiceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
564
- ...obj,
565
- ...obj.SourceConfiguration && {
566
- SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration)
567
- }
568
- }), "UpdateServiceRequestFilterSensitiveLog");
569
- var UpdateServiceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
570
- ...obj,
571
- ...obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }
572
- }), "UpdateServiceResponseFilterSensitiveLog");
573
-
574
- // src/protocols/Aws_json1_0.ts
575
- var se_AssociateCustomDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
576
- const headers = sharedHeaders("AssociateCustomDomain");
577
- let body;
578
- body = JSON.stringify((0, import_smithy_client._json)(input));
579
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
580
- }, "se_AssociateCustomDomainCommand");
581
- var se_CreateAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
582
- const headers = sharedHeaders("CreateAutoScalingConfiguration");
583
- let body;
584
- body = JSON.stringify((0, import_smithy_client._json)(input));
585
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
586
- }, "se_CreateAutoScalingConfigurationCommand");
587
- var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
588
- const headers = sharedHeaders("CreateConnection");
589
- let body;
590
- body = JSON.stringify((0, import_smithy_client._json)(input));
591
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
592
- }, "se_CreateConnectionCommand");
593
- var se_CreateObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
594
- const headers = sharedHeaders("CreateObservabilityConfiguration");
595
- let body;
596
- body = JSON.stringify((0, import_smithy_client._json)(input));
597
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
598
- }, "se_CreateObservabilityConfigurationCommand");
599
- var se_CreateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
600
- const headers = sharedHeaders("CreateService");
601
- let body;
602
- body = JSON.stringify((0, import_smithy_client._json)(input));
603
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
604
- }, "se_CreateServiceCommand");
605
- var se_CreateVpcConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
606
- const headers = sharedHeaders("CreateVpcConnector");
607
- let body;
608
- body = JSON.stringify((0, import_smithy_client._json)(input));
609
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
610
- }, "se_CreateVpcConnectorCommand");
611
- var se_CreateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
612
- const headers = sharedHeaders("CreateVpcIngressConnection");
613
- let body;
614
- body = JSON.stringify((0, import_smithy_client._json)(input));
615
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
616
- }, "se_CreateVpcIngressConnectionCommand");
617
- var se_DeleteAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
618
- const headers = sharedHeaders("DeleteAutoScalingConfiguration");
619
- let body;
620
- body = JSON.stringify((0, import_smithy_client._json)(input));
621
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
622
- }, "se_DeleteAutoScalingConfigurationCommand");
623
- var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
624
- const headers = sharedHeaders("DeleteConnection");
625
- let body;
626
- body = JSON.stringify((0, import_smithy_client._json)(input));
627
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
628
- }, "se_DeleteConnectionCommand");
629
- var se_DeleteObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
630
- const headers = sharedHeaders("DeleteObservabilityConfiguration");
631
- let body;
632
- body = JSON.stringify((0, import_smithy_client._json)(input));
633
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
634
- }, "se_DeleteObservabilityConfigurationCommand");
635
- var se_DeleteServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
636
- const headers = sharedHeaders("DeleteService");
637
- let body;
638
- body = JSON.stringify((0, import_smithy_client._json)(input));
639
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
640
- }, "se_DeleteServiceCommand");
641
- var se_DeleteVpcConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
642
- const headers = sharedHeaders("DeleteVpcConnector");
643
- let body;
644
- body = JSON.stringify((0, import_smithy_client._json)(input));
645
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
646
- }, "se_DeleteVpcConnectorCommand");
647
- var se_DeleteVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
648
- const headers = sharedHeaders("DeleteVpcIngressConnection");
649
- let body;
650
- body = JSON.stringify((0, import_smithy_client._json)(input));
651
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
652
- }, "se_DeleteVpcIngressConnectionCommand");
653
- var se_DescribeAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
654
- const headers = sharedHeaders("DescribeAutoScalingConfiguration");
655
- let body;
656
- body = JSON.stringify((0, import_smithy_client._json)(input));
657
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
658
- }, "se_DescribeAutoScalingConfigurationCommand");
659
- var se_DescribeCustomDomainsCommand = /* @__PURE__ */ __name(async (input, context) => {
660
- const headers = sharedHeaders("DescribeCustomDomains");
661
- let body;
662
- body = JSON.stringify((0, import_smithy_client._json)(input));
663
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
664
- }, "se_DescribeCustomDomainsCommand");
665
- var se_DescribeObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
666
- const headers = sharedHeaders("DescribeObservabilityConfiguration");
667
- let body;
668
- body = JSON.stringify((0, import_smithy_client._json)(input));
669
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
670
- }, "se_DescribeObservabilityConfigurationCommand");
671
- var se_DescribeServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
672
- const headers = sharedHeaders("DescribeService");
673
- let body;
674
- body = JSON.stringify((0, import_smithy_client._json)(input));
675
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
676
- }, "se_DescribeServiceCommand");
677
- var se_DescribeVpcConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
678
- const headers = sharedHeaders("DescribeVpcConnector");
679
- let body;
680
- body = JSON.stringify((0, import_smithy_client._json)(input));
681
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
682
- }, "se_DescribeVpcConnectorCommand");
683
- var se_DescribeVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
684
- const headers = sharedHeaders("DescribeVpcIngressConnection");
685
- let body;
686
- body = JSON.stringify((0, import_smithy_client._json)(input));
687
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
688
- }, "se_DescribeVpcIngressConnectionCommand");
689
- var se_DisassociateCustomDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
690
- const headers = sharedHeaders("DisassociateCustomDomain");
691
- let body;
692
- body = JSON.stringify((0, import_smithy_client._json)(input));
693
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
694
- }, "se_DisassociateCustomDomainCommand");
695
- var se_ListAutoScalingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
696
- const headers = sharedHeaders("ListAutoScalingConfigurations");
697
- let body;
698
- body = JSON.stringify((0, import_smithy_client._json)(input));
699
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
700
- }, "se_ListAutoScalingConfigurationsCommand");
701
- var se_ListConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
702
- const headers = sharedHeaders("ListConnections");
703
- let body;
704
- body = JSON.stringify((0, import_smithy_client._json)(input));
705
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
706
- }, "se_ListConnectionsCommand");
707
- var se_ListObservabilityConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
708
- const headers = sharedHeaders("ListObservabilityConfigurations");
709
- let body;
710
- body = JSON.stringify((0, import_smithy_client._json)(input));
711
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
712
- }, "se_ListObservabilityConfigurationsCommand");
713
- var se_ListOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
714
- const headers = sharedHeaders("ListOperations");
715
- let body;
716
- body = JSON.stringify((0, import_smithy_client._json)(input));
717
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
718
- }, "se_ListOperationsCommand");
719
- var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
720
- const headers = sharedHeaders("ListServices");
721
- let body;
722
- body = JSON.stringify((0, import_smithy_client._json)(input));
723
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
724
- }, "se_ListServicesCommand");
725
- var se_ListServicesForAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
726
- const headers = sharedHeaders("ListServicesForAutoScalingConfiguration");
727
- let body;
728
- body = JSON.stringify((0, import_smithy_client._json)(input));
729
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
730
- }, "se_ListServicesForAutoScalingConfigurationCommand");
731
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
732
- const headers = sharedHeaders("ListTagsForResource");
733
- let body;
734
- body = JSON.stringify((0, import_smithy_client._json)(input));
735
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
736
- }, "se_ListTagsForResourceCommand");
737
- var se_ListVpcConnectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
738
- const headers = sharedHeaders("ListVpcConnectors");
739
- let body;
740
- body = JSON.stringify((0, import_smithy_client._json)(input));
741
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
742
- }, "se_ListVpcConnectorsCommand");
743
- var se_ListVpcIngressConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
744
- const headers = sharedHeaders("ListVpcIngressConnections");
745
- let body;
746
- body = JSON.stringify((0, import_smithy_client._json)(input));
747
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
748
- }, "se_ListVpcIngressConnectionsCommand");
749
- var se_PauseServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
750
- const headers = sharedHeaders("PauseService");
751
- let body;
752
- body = JSON.stringify((0, import_smithy_client._json)(input));
753
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
754
- }, "se_PauseServiceCommand");
755
- var se_ResumeServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
756
- const headers = sharedHeaders("ResumeService");
757
- let body;
758
- body = JSON.stringify((0, import_smithy_client._json)(input));
759
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
760
- }, "se_ResumeServiceCommand");
761
- var se_StartDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
762
- const headers = sharedHeaders("StartDeployment");
763
- let body;
764
- body = JSON.stringify((0, import_smithy_client._json)(input));
765
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
766
- }, "se_StartDeploymentCommand");
767
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
768
- const headers = sharedHeaders("TagResource");
769
- let body;
770
- body = JSON.stringify((0, import_smithy_client._json)(input));
771
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
772
- }, "se_TagResourceCommand");
773
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
774
- const headers = sharedHeaders("UntagResource");
775
- let body;
776
- body = JSON.stringify((0, import_smithy_client._json)(input));
777
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
778
- }, "se_UntagResourceCommand");
779
- var se_UpdateDefaultAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
780
- const headers = sharedHeaders("UpdateDefaultAutoScalingConfiguration");
781
- let body;
782
- body = JSON.stringify((0, import_smithy_client._json)(input));
783
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
784
- }, "se_UpdateDefaultAutoScalingConfigurationCommand");
785
- var se_UpdateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
786
- const headers = sharedHeaders("UpdateService");
787
- let body;
788
- body = JSON.stringify((0, import_smithy_client._json)(input));
789
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
790
- }, "se_UpdateServiceCommand");
791
- var se_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
792
- const headers = sharedHeaders("UpdateVpcIngressConnection");
793
- let body;
794
- body = JSON.stringify((0, import_smithy_client._json)(input));
795
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
796
- }, "se_UpdateVpcIngressConnectionCommand");
797
- var de_AssociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
798
- if (output.statusCode >= 300) {
799
- return de_CommandError(output, context);
800
- }
801
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
802
- let contents = {};
803
- contents = (0, import_smithy_client._json)(data);
804
- const response = {
805
- $metadata: deserializeMetadata(output),
806
- ...contents
807
- };
808
- return response;
809
- }, "de_AssociateCustomDomainCommand");
810
- var de_CreateAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
811
- if (output.statusCode >= 300) {
812
- return de_CommandError(output, context);
813
- }
814
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
815
- let contents = {};
816
- contents = de_CreateAutoScalingConfigurationResponse(data, context);
817
- const response = {
818
- $metadata: deserializeMetadata(output),
819
- ...contents
820
- };
821
- return response;
822
- }, "de_CreateAutoScalingConfigurationCommand");
823
- var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
824
- if (output.statusCode >= 300) {
825
- return de_CommandError(output, context);
826
- }
827
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
828
- let contents = {};
829
- contents = de_CreateConnectionResponse(data, context);
830
- const response = {
831
- $metadata: deserializeMetadata(output),
832
- ...contents
833
- };
834
- return response;
835
- }, "de_CreateConnectionCommand");
836
- var de_CreateObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
837
- if (output.statusCode >= 300) {
838
- return de_CommandError(output, context);
839
- }
840
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
841
- let contents = {};
842
- contents = de_CreateObservabilityConfigurationResponse(data, context);
843
- const response = {
844
- $metadata: deserializeMetadata(output),
845
- ...contents
846
- };
847
- return response;
848
- }, "de_CreateObservabilityConfigurationCommand");
849
- var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
850
- if (output.statusCode >= 300) {
851
- return de_CommandError(output, context);
852
- }
853
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
854
- let contents = {};
855
- contents = de_CreateServiceResponse(data, context);
856
- const response = {
857
- $metadata: deserializeMetadata(output),
858
- ...contents
859
- };
860
- return response;
861
- }, "de_CreateServiceCommand");
862
- var de_CreateVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
863
- if (output.statusCode >= 300) {
864
- return de_CommandError(output, context);
865
- }
866
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
867
- let contents = {};
868
- contents = de_CreateVpcConnectorResponse(data, context);
869
- const response = {
870
- $metadata: deserializeMetadata(output),
871
- ...contents
872
- };
873
- return response;
874
- }, "de_CreateVpcConnectorCommand");
875
- var de_CreateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
876
- if (output.statusCode >= 300) {
877
- return de_CommandError(output, context);
878
- }
879
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
880
- let contents = {};
881
- contents = de_CreateVpcIngressConnectionResponse(data, context);
882
- const response = {
883
- $metadata: deserializeMetadata(output),
884
- ...contents
885
- };
886
- return response;
887
- }, "de_CreateVpcIngressConnectionCommand");
888
- var de_DeleteAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
889
- if (output.statusCode >= 300) {
890
- return de_CommandError(output, context);
891
- }
892
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
893
- let contents = {};
894
- contents = de_DeleteAutoScalingConfigurationResponse(data, context);
895
- const response = {
896
- $metadata: deserializeMetadata(output),
897
- ...contents
898
- };
899
- return response;
900
- }, "de_DeleteAutoScalingConfigurationCommand");
901
- var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
902
- if (output.statusCode >= 300) {
903
- return de_CommandError(output, context);
904
- }
905
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
906
- let contents = {};
907
- contents = de_DeleteConnectionResponse(data, context);
908
- const response = {
909
- $metadata: deserializeMetadata(output),
910
- ...contents
911
- };
912
- return response;
913
- }, "de_DeleteConnectionCommand");
914
- var de_DeleteObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
915
- if (output.statusCode >= 300) {
916
- return de_CommandError(output, context);
917
- }
918
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
919
- let contents = {};
920
- contents = de_DeleteObservabilityConfigurationResponse(data, context);
921
- const response = {
922
- $metadata: deserializeMetadata(output),
923
- ...contents
924
- };
925
- return response;
926
- }, "de_DeleteObservabilityConfigurationCommand");
927
- var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
928
- if (output.statusCode >= 300) {
929
- return de_CommandError(output, context);
930
- }
931
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
932
- let contents = {};
933
- contents = de_DeleteServiceResponse(data, context);
934
- const response = {
935
- $metadata: deserializeMetadata(output),
936
- ...contents
937
- };
938
- return response;
939
- }, "de_DeleteServiceCommand");
940
- var de_DeleteVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
941
- if (output.statusCode >= 300) {
942
- return de_CommandError(output, context);
943
- }
944
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
945
- let contents = {};
946
- contents = de_DeleteVpcConnectorResponse(data, context);
947
- const response = {
948
- $metadata: deserializeMetadata(output),
949
- ...contents
950
- };
951
- return response;
952
- }, "de_DeleteVpcConnectorCommand");
953
- var de_DeleteVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
954
- if (output.statusCode >= 300) {
955
- return de_CommandError(output, context);
956
- }
957
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
958
- let contents = {};
959
- contents = de_DeleteVpcIngressConnectionResponse(data, context);
960
- const response = {
961
- $metadata: deserializeMetadata(output),
962
- ...contents
963
- };
964
- return response;
965
- }, "de_DeleteVpcIngressConnectionCommand");
966
- var de_DescribeAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
967
- if (output.statusCode >= 300) {
968
- return de_CommandError(output, context);
969
- }
970
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
971
- let contents = {};
972
- contents = de_DescribeAutoScalingConfigurationResponse(data, context);
973
- const response = {
974
- $metadata: deserializeMetadata(output),
975
- ...contents
976
- };
977
- return response;
978
- }, "de_DescribeAutoScalingConfigurationCommand");
979
- var de_DescribeCustomDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
980
- if (output.statusCode >= 300) {
981
- return de_CommandError(output, context);
982
- }
983
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
984
- let contents = {};
985
- contents = (0, import_smithy_client._json)(data);
986
- const response = {
987
- $metadata: deserializeMetadata(output),
988
- ...contents
989
- };
990
- return response;
991
- }, "de_DescribeCustomDomainsCommand");
992
- var de_DescribeObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
993
- if (output.statusCode >= 300) {
994
- return de_CommandError(output, context);
995
- }
996
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
997
- let contents = {};
998
- contents = de_DescribeObservabilityConfigurationResponse(data, context);
999
- const response = {
1000
- $metadata: deserializeMetadata(output),
1001
- ...contents
1002
- };
1003
- return response;
1004
- }, "de_DescribeObservabilityConfigurationCommand");
1005
- var de_DescribeServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
1006
- if (output.statusCode >= 300) {
1007
- return de_CommandError(output, context);
1008
- }
1009
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1010
- let contents = {};
1011
- contents = de_DescribeServiceResponse(data, context);
1012
- const response = {
1013
- $metadata: deserializeMetadata(output),
1014
- ...contents
1015
- };
1016
- return response;
1017
- }, "de_DescribeServiceCommand");
1018
- var de_DescribeVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
1019
- if (output.statusCode >= 300) {
1020
- return de_CommandError(output, context);
1021
- }
1022
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1023
- let contents = {};
1024
- contents = de_DescribeVpcConnectorResponse(data, context);
1025
- const response = {
1026
- $metadata: deserializeMetadata(output),
1027
- ...contents
1028
- };
1029
- return response;
1030
- }, "de_DescribeVpcConnectorCommand");
1031
- var de_DescribeVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1032
- if (output.statusCode >= 300) {
1033
- return de_CommandError(output, context);
1034
- }
1035
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1036
- let contents = {};
1037
- contents = de_DescribeVpcIngressConnectionResponse(data, context);
1038
- const response = {
1039
- $metadata: deserializeMetadata(output),
1040
- ...contents
1041
- };
1042
- return response;
1043
- }, "de_DescribeVpcIngressConnectionCommand");
1044
- var de_DisassociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1045
- if (output.statusCode >= 300) {
1046
- return de_CommandError(output, context);
1047
- }
1048
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1049
- let contents = {};
1050
- contents = (0, import_smithy_client._json)(data);
1051
- const response = {
1052
- $metadata: deserializeMetadata(output),
1053
- ...contents
1054
- };
1055
- return response;
1056
- }, "de_DisassociateCustomDomainCommand");
1057
- var de_ListAutoScalingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1058
- if (output.statusCode >= 300) {
1059
- return de_CommandError(output, context);
1060
- }
1061
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1062
- let contents = {};
1063
- contents = de_ListAutoScalingConfigurationsResponse(data, context);
1064
- const response = {
1065
- $metadata: deserializeMetadata(output),
1066
- ...contents
1067
- };
1068
- return response;
1069
- }, "de_ListAutoScalingConfigurationsCommand");
1070
- var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1071
- if (output.statusCode >= 300) {
1072
- return de_CommandError(output, context);
1073
- }
1074
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1075
- let contents = {};
1076
- contents = de_ListConnectionsResponse(data, context);
1077
- const response = {
1078
- $metadata: deserializeMetadata(output),
1079
- ...contents
1080
- };
1081
- return response;
1082
- }, "de_ListConnectionsCommand");
1083
- var de_ListObservabilityConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1084
- if (output.statusCode >= 300) {
1085
- return de_CommandError(output, context);
1086
- }
1087
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1088
- let contents = {};
1089
- contents = (0, import_smithy_client._json)(data);
1090
- const response = {
1091
- $metadata: deserializeMetadata(output),
1092
- ...contents
1093
- };
1094
- return response;
1095
- }, "de_ListObservabilityConfigurationsCommand");
1096
- var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1097
- if (output.statusCode >= 300) {
1098
- return de_CommandError(output, context);
1099
- }
1100
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1101
- let contents = {};
1102
- contents = de_ListOperationsResponse(data, context);
1103
- const response = {
1104
- $metadata: deserializeMetadata(output),
1105
- ...contents
1106
- };
1107
- return response;
1108
- }, "de_ListOperationsCommand");
1109
- var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
1110
- if (output.statusCode >= 300) {
1111
- return de_CommandError(output, context);
1112
- }
1113
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1114
- let contents = {};
1115
- contents = de_ListServicesResponse(data, context);
1116
- const response = {
1117
- $metadata: deserializeMetadata(output),
1118
- ...contents
1119
- };
1120
- return response;
1121
- }, "de_ListServicesCommand");
1122
- var de_ListServicesForAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1123
- if (output.statusCode >= 300) {
1124
- return de_CommandError(output, context);
1125
- }
1126
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1127
- let contents = {};
1128
- contents = (0, import_smithy_client._json)(data);
1129
- const response = {
1130
- $metadata: deserializeMetadata(output),
1131
- ...contents
1132
- };
1133
- return response;
1134
- }, "de_ListServicesForAutoScalingConfigurationCommand");
1135
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1136
- if (output.statusCode >= 300) {
1137
- return de_CommandError(output, context);
1138
- }
1139
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1140
- let contents = {};
1141
- contents = (0, import_smithy_client._json)(data);
1142
- const response = {
1143
- $metadata: deserializeMetadata(output),
1144
- ...contents
1145
- };
1146
- return response;
1147
- }, "de_ListTagsForResourceCommand");
1148
- var de_ListVpcConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
1149
- if (output.statusCode >= 300) {
1150
- return de_CommandError(output, context);
1151
- }
1152
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1153
- let contents = {};
1154
- contents = de_ListVpcConnectorsResponse(data, context);
1155
- const response = {
1156
- $metadata: deserializeMetadata(output),
1157
- ...contents
1158
- };
1159
- return response;
1160
- }, "de_ListVpcConnectorsCommand");
1161
- var de_ListVpcIngressConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1162
- if (output.statusCode >= 300) {
1163
- return de_CommandError(output, context);
1164
- }
1165
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1166
- let contents = {};
1167
- contents = (0, import_smithy_client._json)(data);
1168
- const response = {
1169
- $metadata: deserializeMetadata(output),
1170
- ...contents
1171
- };
1172
- return response;
1173
- }, "de_ListVpcIngressConnectionsCommand");
1174
- var de_PauseServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
1175
- if (output.statusCode >= 300) {
1176
- return de_CommandError(output, context);
1177
- }
1178
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1179
- let contents = {};
1180
- contents = de_PauseServiceResponse(data, context);
1181
- const response = {
1182
- $metadata: deserializeMetadata(output),
1183
- ...contents
1184
- };
1185
- return response;
1186
- }, "de_PauseServiceCommand");
1187
- var de_ResumeServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
1188
- if (output.statusCode >= 300) {
1189
- return de_CommandError(output, context);
1190
- }
1191
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1192
- let contents = {};
1193
- contents = de_ResumeServiceResponse(data, context);
1194
- const response = {
1195
- $metadata: deserializeMetadata(output),
1196
- ...contents
1197
- };
1198
- return response;
1199
- }, "de_ResumeServiceCommand");
1200
- var de_StartDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
1201
- if (output.statusCode >= 300) {
1202
- return de_CommandError(output, context);
1203
- }
1204
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1205
- let contents = {};
1206
- contents = (0, import_smithy_client._json)(data);
1207
- const response = {
1208
- $metadata: deserializeMetadata(output),
1209
- ...contents
1210
- };
1211
- return response;
1212
- }, "de_StartDeploymentCommand");
1213
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1214
- if (output.statusCode >= 300) {
1215
- return de_CommandError(output, context);
1216
- }
1217
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1218
- let contents = {};
1219
- contents = (0, import_smithy_client._json)(data);
1220
- const response = {
1221
- $metadata: deserializeMetadata(output),
1222
- ...contents
1223
- };
1224
- return response;
1225
- }, "de_TagResourceCommand");
1226
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1227
- if (output.statusCode >= 300) {
1228
- return de_CommandError(output, context);
1229
- }
1230
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1231
- let contents = {};
1232
- contents = (0, import_smithy_client._json)(data);
1233
- const response = {
1234
- $metadata: deserializeMetadata(output),
1235
- ...contents
1236
- };
1237
- return response;
1238
- }, "de_UntagResourceCommand");
1239
- var de_UpdateDefaultAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1240
- if (output.statusCode >= 300) {
1241
- return de_CommandError(output, context);
1242
- }
1243
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1244
- let contents = {};
1245
- contents = de_UpdateDefaultAutoScalingConfigurationResponse(data, context);
1246
- const response = {
1247
- $metadata: deserializeMetadata(output),
1248
- ...contents
1249
- };
1250
- return response;
1251
- }, "de_UpdateDefaultAutoScalingConfigurationCommand");
1252
- var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
1253
- if (output.statusCode >= 300) {
1254
- return de_CommandError(output, context);
1255
- }
1256
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1257
- let contents = {};
1258
- contents = de_UpdateServiceResponse(data, context);
1259
- const response = {
1260
- $metadata: deserializeMetadata(output),
1261
- ...contents
1262
- };
1263
- return response;
1264
- }, "de_UpdateServiceCommand");
1265
- var de_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1266
- if (output.statusCode >= 300) {
1267
- return de_CommandError(output, context);
1268
- }
1269
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1270
- let contents = {};
1271
- contents = de_UpdateVpcIngressConnectionResponse(data, context);
1272
- const response = {
1273
- $metadata: deserializeMetadata(output),
1274
- ...contents
1275
- };
1276
- return response;
1277
- }, "de_UpdateVpcIngressConnectionCommand");
1278
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1279
- const parsedOutput = {
1280
- ...output,
1281
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1282
- };
1283
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1284
- switch (errorCode) {
1285
- case "InternalServiceErrorException":
1286
- case "com.amazonaws.apprunner#InternalServiceErrorException":
1287
- throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1288
- case "InvalidRequestException":
1289
- case "com.amazonaws.apprunner#InvalidRequestException":
1290
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1291
- case "InvalidStateException":
1292
- case "com.amazonaws.apprunner#InvalidStateException":
1293
- throw await de_InvalidStateExceptionRes(parsedOutput, context);
1294
- case "ServiceQuotaExceededException":
1295
- case "com.amazonaws.apprunner#ServiceQuotaExceededException":
1296
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1297
- case "ResourceNotFoundException":
1298
- case "com.amazonaws.apprunner#ResourceNotFoundException":
1299
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1300
- default:
1301
- const parsedBody = parsedOutput.body;
1302
- return throwDefaultError({
1303
- output,
1304
- parsedBody,
1305
- errorCode
1306
- });
1307
- }
1308
- }, "de_CommandError");
1309
- var de_InternalServiceErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1310
- const body = parsedOutput.body;
1311
- const deserialized = (0, import_smithy_client._json)(body);
1312
- const exception = new InternalServiceErrorException({
1313
- $metadata: deserializeMetadata(parsedOutput),
1314
- ...deserialized
1315
- });
1316
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1317
- }, "de_InternalServiceErrorExceptionRes");
1318
- var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1319
- const body = parsedOutput.body;
1320
- const deserialized = (0, import_smithy_client._json)(body);
1321
- const exception = new InvalidRequestException({
1322
- $metadata: deserializeMetadata(parsedOutput),
1323
- ...deserialized
1324
- });
1325
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1326
- }, "de_InvalidRequestExceptionRes");
1327
- var de_InvalidStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1328
- const body = parsedOutput.body;
1329
- const deserialized = (0, import_smithy_client._json)(body);
1330
- const exception = new InvalidStateException({
1331
- $metadata: deserializeMetadata(parsedOutput),
1332
- ...deserialized
1333
- });
1334
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1335
- }, "de_InvalidStateExceptionRes");
1336
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1337
- const body = parsedOutput.body;
1338
- const deserialized = (0, import_smithy_client._json)(body);
1339
- const exception = new ResourceNotFoundException({
1340
- $metadata: deserializeMetadata(parsedOutput),
1341
- ...deserialized
1342
- });
1343
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1344
- }, "de_ResourceNotFoundExceptionRes");
1345
- var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1346
- const body = parsedOutput.body;
1347
- const deserialized = (0, import_smithy_client._json)(body);
1348
- const exception = new ServiceQuotaExceededException({
1349
- $metadata: deserializeMetadata(parsedOutput),
1350
- ...deserialized
1351
- });
1352
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1353
- }, "de_ServiceQuotaExceededExceptionRes");
1354
- var de_AutoScalingConfiguration = /* @__PURE__ */ __name((output, context) => {
1355
- return (0, import_smithy_client.take)(output, {
1356
- AutoScalingConfigurationArn: import_smithy_client.expectString,
1357
- AutoScalingConfigurationName: import_smithy_client.expectString,
1358
- AutoScalingConfigurationRevision: import_smithy_client.expectInt32,
1359
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1360
- DeletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeletedAt"),
1361
- HasAssociatedService: import_smithy_client.expectBoolean,
1362
- IsDefault: import_smithy_client.expectBoolean,
1363
- Latest: import_smithy_client.expectBoolean,
1364
- MaxConcurrency: import_smithy_client.expectInt32,
1365
- MaxSize: import_smithy_client.expectInt32,
1366
- MinSize: import_smithy_client.expectInt32,
1367
- Status: import_smithy_client.expectString
1368
- });
1369
- }, "de_AutoScalingConfiguration");
1370
- var de_AutoScalingConfigurationSummary = /* @__PURE__ */ __name((output, context) => {
1371
- return (0, import_smithy_client.take)(output, {
1372
- AutoScalingConfigurationArn: import_smithy_client.expectString,
1373
- AutoScalingConfigurationName: import_smithy_client.expectString,
1374
- AutoScalingConfigurationRevision: import_smithy_client.expectInt32,
1375
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1376
- HasAssociatedService: import_smithy_client.expectBoolean,
1377
- IsDefault: import_smithy_client.expectBoolean,
1378
- Status: import_smithy_client.expectString
1379
- });
1380
- }, "de_AutoScalingConfigurationSummary");
1381
- var de_AutoScalingConfigurationSummaryList = /* @__PURE__ */ __name((output, context) => {
1382
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1383
- return de_AutoScalingConfigurationSummary(entry, context);
1384
- });
1385
- return retVal;
1386
- }, "de_AutoScalingConfigurationSummaryList");
1387
- var de_Connection = /* @__PURE__ */ __name((output, context) => {
1388
- return (0, import_smithy_client.take)(output, {
1389
- ConnectionArn: import_smithy_client.expectString,
1390
- ConnectionName: import_smithy_client.expectString,
1391
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1392
- ProviderType: import_smithy_client.expectString,
1393
- Status: import_smithy_client.expectString
1394
- });
1395
- }, "de_Connection");
1396
- var de_ConnectionSummary = /* @__PURE__ */ __name((output, context) => {
1397
- return (0, import_smithy_client.take)(output, {
1398
- ConnectionArn: import_smithy_client.expectString,
1399
- ConnectionName: import_smithy_client.expectString,
1400
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1401
- ProviderType: import_smithy_client.expectString,
1402
- Status: import_smithy_client.expectString
1403
- });
1404
- }, "de_ConnectionSummary");
1405
- var de_ConnectionSummaryList = /* @__PURE__ */ __name((output, context) => {
1406
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1407
- return de_ConnectionSummary(entry, context);
1408
- });
1409
- return retVal;
1410
- }, "de_ConnectionSummaryList");
1411
- var de_CreateAutoScalingConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1412
- return (0, import_smithy_client.take)(output, {
1413
- AutoScalingConfiguration: /* @__PURE__ */ __name((_) => de_AutoScalingConfiguration(_, context), "AutoScalingConfiguration")
1414
- });
1415
- }, "de_CreateAutoScalingConfigurationResponse");
1416
- var de_CreateConnectionResponse = /* @__PURE__ */ __name((output, context) => {
1417
- return (0, import_smithy_client.take)(output, {
1418
- Connection: /* @__PURE__ */ __name((_) => de_Connection(_, context), "Connection")
1419
- });
1420
- }, "de_CreateConnectionResponse");
1421
- var de_CreateObservabilityConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1422
- return (0, import_smithy_client.take)(output, {
1423
- ObservabilityConfiguration: /* @__PURE__ */ __name((_) => de_ObservabilityConfiguration(_, context), "ObservabilityConfiguration")
1424
- });
1425
- }, "de_CreateObservabilityConfigurationResponse");
1426
- var de_CreateServiceResponse = /* @__PURE__ */ __name((output, context) => {
1427
- return (0, import_smithy_client.take)(output, {
1428
- OperationId: import_smithy_client.expectString,
1429
- Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
1430
- });
1431
- }, "de_CreateServiceResponse");
1432
- var de_CreateVpcConnectorResponse = /* @__PURE__ */ __name((output, context) => {
1433
- return (0, import_smithy_client.take)(output, {
1434
- VpcConnector: /* @__PURE__ */ __name((_) => de_VpcConnector(_, context), "VpcConnector")
1435
- });
1436
- }, "de_CreateVpcConnectorResponse");
1437
- var de_CreateVpcIngressConnectionResponse = /* @__PURE__ */ __name((output, context) => {
1438
- return (0, import_smithy_client.take)(output, {
1439
- VpcIngressConnection: /* @__PURE__ */ __name((_) => de_VpcIngressConnection(_, context), "VpcIngressConnection")
1440
- });
1441
- }, "de_CreateVpcIngressConnectionResponse");
1442
- var de_DeleteAutoScalingConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1443
- return (0, import_smithy_client.take)(output, {
1444
- AutoScalingConfiguration: /* @__PURE__ */ __name((_) => de_AutoScalingConfiguration(_, context), "AutoScalingConfiguration")
1445
- });
1446
- }, "de_DeleteAutoScalingConfigurationResponse");
1447
- var de_DeleteConnectionResponse = /* @__PURE__ */ __name((output, context) => {
1448
- return (0, import_smithy_client.take)(output, {
1449
- Connection: /* @__PURE__ */ __name((_) => de_Connection(_, context), "Connection")
1450
- });
1451
- }, "de_DeleteConnectionResponse");
1452
- var de_DeleteObservabilityConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1453
- return (0, import_smithy_client.take)(output, {
1454
- ObservabilityConfiguration: /* @__PURE__ */ __name((_) => de_ObservabilityConfiguration(_, context), "ObservabilityConfiguration")
1455
- });
1456
- }, "de_DeleteObservabilityConfigurationResponse");
1457
- var de_DeleteServiceResponse = /* @__PURE__ */ __name((output, context) => {
1458
- return (0, import_smithy_client.take)(output, {
1459
- OperationId: import_smithy_client.expectString,
1460
- Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
1461
- });
1462
- }, "de_DeleteServiceResponse");
1463
- var de_DeleteVpcConnectorResponse = /* @__PURE__ */ __name((output, context) => {
1464
- return (0, import_smithy_client.take)(output, {
1465
- VpcConnector: /* @__PURE__ */ __name((_) => de_VpcConnector(_, context), "VpcConnector")
1466
- });
1467
- }, "de_DeleteVpcConnectorResponse");
1468
- var de_DeleteVpcIngressConnectionResponse = /* @__PURE__ */ __name((output, context) => {
1469
- return (0, import_smithy_client.take)(output, {
1470
- VpcIngressConnection: /* @__PURE__ */ __name((_) => de_VpcIngressConnection(_, context), "VpcIngressConnection")
1471
- });
1472
- }, "de_DeleteVpcIngressConnectionResponse");
1473
- var de_DescribeAutoScalingConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1474
- return (0, import_smithy_client.take)(output, {
1475
- AutoScalingConfiguration: /* @__PURE__ */ __name((_) => de_AutoScalingConfiguration(_, context), "AutoScalingConfiguration")
1476
- });
1477
- }, "de_DescribeAutoScalingConfigurationResponse");
1478
- var de_DescribeObservabilityConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1479
- return (0, import_smithy_client.take)(output, {
1480
- ObservabilityConfiguration: /* @__PURE__ */ __name((_) => de_ObservabilityConfiguration(_, context), "ObservabilityConfiguration")
1481
- });
1482
- }, "de_DescribeObservabilityConfigurationResponse");
1483
- var de_DescribeServiceResponse = /* @__PURE__ */ __name((output, context) => {
1484
- return (0, import_smithy_client.take)(output, {
1485
- Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
1486
- });
1487
- }, "de_DescribeServiceResponse");
1488
- var de_DescribeVpcConnectorResponse = /* @__PURE__ */ __name((output, context) => {
1489
- return (0, import_smithy_client.take)(output, {
1490
- VpcConnector: /* @__PURE__ */ __name((_) => de_VpcConnector(_, context), "VpcConnector")
1491
- });
1492
- }, "de_DescribeVpcConnectorResponse");
1493
- var de_DescribeVpcIngressConnectionResponse = /* @__PURE__ */ __name((output, context) => {
1494
- return (0, import_smithy_client.take)(output, {
1495
- VpcIngressConnection: /* @__PURE__ */ __name((_) => de_VpcIngressConnection(_, context), "VpcIngressConnection")
1496
- });
1497
- }, "de_DescribeVpcIngressConnectionResponse");
1498
- var de_ListAutoScalingConfigurationsResponse = /* @__PURE__ */ __name((output, context) => {
1499
- return (0, import_smithy_client.take)(output, {
1500
- AutoScalingConfigurationSummaryList: /* @__PURE__ */ __name((_) => de_AutoScalingConfigurationSummaryList(_, context), "AutoScalingConfigurationSummaryList"),
1501
- NextToken: import_smithy_client.expectString
1502
- });
1503
- }, "de_ListAutoScalingConfigurationsResponse");
1504
- var de_ListConnectionsResponse = /* @__PURE__ */ __name((output, context) => {
1505
- return (0, import_smithy_client.take)(output, {
1506
- ConnectionSummaryList: /* @__PURE__ */ __name((_) => de_ConnectionSummaryList(_, context), "ConnectionSummaryList"),
1507
- NextToken: import_smithy_client.expectString
1508
- });
1509
- }, "de_ListConnectionsResponse");
1510
- var de_ListOperationsResponse = /* @__PURE__ */ __name((output, context) => {
1511
- return (0, import_smithy_client.take)(output, {
1512
- NextToken: import_smithy_client.expectString,
1513
- OperationSummaryList: /* @__PURE__ */ __name((_) => de_OperationSummaryList(_, context), "OperationSummaryList")
1514
- });
1515
- }, "de_ListOperationsResponse");
1516
- var de_ListServicesResponse = /* @__PURE__ */ __name((output, context) => {
1517
- return (0, import_smithy_client.take)(output, {
1518
- NextToken: import_smithy_client.expectString,
1519
- ServiceSummaryList: /* @__PURE__ */ __name((_) => de_ServiceSummaryList(_, context), "ServiceSummaryList")
1520
- });
1521
- }, "de_ListServicesResponse");
1522
- var de_ListVpcConnectorsResponse = /* @__PURE__ */ __name((output, context) => {
1523
- return (0, import_smithy_client.take)(output, {
1524
- NextToken: import_smithy_client.expectString,
1525
- VpcConnectors: /* @__PURE__ */ __name((_) => de_VpcConnectors(_, context), "VpcConnectors")
1526
- });
1527
- }, "de_ListVpcConnectorsResponse");
1528
- var de_ObservabilityConfiguration = /* @__PURE__ */ __name((output, context) => {
1529
- return (0, import_smithy_client.take)(output, {
1530
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1531
- DeletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeletedAt"),
1532
- Latest: import_smithy_client.expectBoolean,
1533
- ObservabilityConfigurationArn: import_smithy_client.expectString,
1534
- ObservabilityConfigurationName: import_smithy_client.expectString,
1535
- ObservabilityConfigurationRevision: import_smithy_client.expectInt32,
1536
- Status: import_smithy_client.expectString,
1537
- TraceConfiguration: import_smithy_client._json
1538
- });
1539
- }, "de_ObservabilityConfiguration");
1540
- var de_OperationSummary = /* @__PURE__ */ __name((output, context) => {
1541
- return (0, import_smithy_client.take)(output, {
1542
- EndedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndedAt"),
1543
- Id: import_smithy_client.expectString,
1544
- StartedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartedAt"),
1545
- Status: import_smithy_client.expectString,
1546
- TargetArn: import_smithy_client.expectString,
1547
- Type: import_smithy_client.expectString,
1548
- UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
1549
- });
1550
- }, "de_OperationSummary");
1551
- var de_OperationSummaryList = /* @__PURE__ */ __name((output, context) => {
1552
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1553
- return de_OperationSummary(entry, context);
1554
- });
1555
- return retVal;
1556
- }, "de_OperationSummaryList");
1557
- var de_PauseServiceResponse = /* @__PURE__ */ __name((output, context) => {
1558
- return (0, import_smithy_client.take)(output, {
1559
- OperationId: import_smithy_client.expectString,
1560
- Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
1561
- });
1562
- }, "de_PauseServiceResponse");
1563
- var de_ResumeServiceResponse = /* @__PURE__ */ __name((output, context) => {
1564
- return (0, import_smithy_client.take)(output, {
1565
- OperationId: import_smithy_client.expectString,
1566
- Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
1567
- });
1568
- }, "de_ResumeServiceResponse");
1569
- var de_Service = /* @__PURE__ */ __name((output, context) => {
1570
- return (0, import_smithy_client.take)(output, {
1571
- AutoScalingConfigurationSummary: /* @__PURE__ */ __name((_) => de_AutoScalingConfigurationSummary(_, context), "AutoScalingConfigurationSummary"),
1572
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1573
- DeletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeletedAt"),
1574
- EncryptionConfiguration: import_smithy_client._json,
1575
- HealthCheckConfiguration: import_smithy_client._json,
1576
- InstanceConfiguration: import_smithy_client._json,
1577
- NetworkConfiguration: import_smithy_client._json,
1578
- ObservabilityConfiguration: import_smithy_client._json,
1579
- ServiceArn: import_smithy_client.expectString,
1580
- ServiceId: import_smithy_client.expectString,
1581
- ServiceName: import_smithy_client.expectString,
1582
- ServiceUrl: import_smithy_client.expectString,
1583
- SourceConfiguration: import_smithy_client._json,
1584
- Status: import_smithy_client.expectString,
1585
- UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
1586
- });
1587
- }, "de_Service");
1588
- var de_ServiceSummary = /* @__PURE__ */ __name((output, context) => {
1589
- return (0, import_smithy_client.take)(output, {
1590
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1591
- ServiceArn: import_smithy_client.expectString,
1592
- ServiceId: import_smithy_client.expectString,
1593
- ServiceName: import_smithy_client.expectString,
1594
- ServiceUrl: import_smithy_client.expectString,
1595
- Status: import_smithy_client.expectString,
1596
- UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
1597
- });
1598
- }, "de_ServiceSummary");
1599
- var de_ServiceSummaryList = /* @__PURE__ */ __name((output, context) => {
1600
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1601
- return de_ServiceSummary(entry, context);
1602
- });
1603
- return retVal;
1604
- }, "de_ServiceSummaryList");
1605
- var de_UpdateDefaultAutoScalingConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
1606
- return (0, import_smithy_client.take)(output, {
1607
- AutoScalingConfiguration: /* @__PURE__ */ __name((_) => de_AutoScalingConfiguration(_, context), "AutoScalingConfiguration")
1608
- });
1609
- }, "de_UpdateDefaultAutoScalingConfigurationResponse");
1610
- var de_UpdateServiceResponse = /* @__PURE__ */ __name((output, context) => {
1611
- return (0, import_smithy_client.take)(output, {
1612
- OperationId: import_smithy_client.expectString,
1613
- Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
1614
- });
1615
- }, "de_UpdateServiceResponse");
1616
- var de_UpdateVpcIngressConnectionResponse = /* @__PURE__ */ __name((output, context) => {
1617
- return (0, import_smithy_client.take)(output, {
1618
- VpcIngressConnection: /* @__PURE__ */ __name((_) => de_VpcIngressConnection(_, context), "VpcIngressConnection")
1619
- });
1620
- }, "de_UpdateVpcIngressConnectionResponse");
1621
- var de_VpcConnector = /* @__PURE__ */ __name((output, context) => {
1622
- return (0, import_smithy_client.take)(output, {
1623
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1624
- DeletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeletedAt"),
1625
- SecurityGroups: import_smithy_client._json,
1626
- Status: import_smithy_client.expectString,
1627
- Subnets: import_smithy_client._json,
1628
- VpcConnectorArn: import_smithy_client.expectString,
1629
- VpcConnectorName: import_smithy_client.expectString,
1630
- VpcConnectorRevision: import_smithy_client.expectInt32
1631
- });
1632
- }, "de_VpcConnector");
1633
- var de_VpcConnectors = /* @__PURE__ */ __name((output, context) => {
1634
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1635
- return de_VpcConnector(entry, context);
1636
- });
1637
- return retVal;
1638
- }, "de_VpcConnectors");
1639
- var de_VpcIngressConnection = /* @__PURE__ */ __name((output, context) => {
1640
- return (0, import_smithy_client.take)(output, {
1641
- AccountId: import_smithy_client.expectString,
1642
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1643
- DeletedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeletedAt"),
1644
- DomainName: import_smithy_client.expectString,
1645
- IngressVpcConfiguration: import_smithy_client._json,
1646
- ServiceArn: import_smithy_client.expectString,
1647
- Status: import_smithy_client.expectString,
1648
- VpcIngressConnectionArn: import_smithy_client.expectString,
1649
- VpcIngressConnectionName: import_smithy_client.expectString
1650
- });
1651
- }, "de_VpcIngressConnection");
1652
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1653
- httpStatusCode: output.statusCode,
1654
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1655
- extendedRequestId: output.headers["x-amz-id-2"],
1656
- cfId: output.headers["x-amz-cf-id"]
1657
- }), "deserializeMetadata");
1658
- var throwDefaultError = (0, import_smithy_client.withBaseException)(AppRunnerServiceException);
1659
- var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1660
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1661
- const contents = {
1662
- protocol,
1663
- hostname,
1664
- port,
1665
- method: "POST",
1666
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1667
- headers
1668
- };
1669
- if (resolvedHostname !== void 0) {
1670
- contents.hostname = resolvedHostname;
1671
- }
1672
- if (body !== void 0) {
1673
- contents.body = body;
1674
- }
1675
- return new import_protocol_http.HttpRequest(contents);
1676
- }, "buildHttpRpcRequest");
1677
- function sharedHeaders(operation) {
1678
- return {
1679
- "content-type": "application/x-amz-json-1.0",
1680
- "x-amz-target": `AppRunner.${operation}`
1681
- };
1682
- }
1683
- __name(sharedHeaders, "sharedHeaders");
1684
-
1685
- // src/commands/AssociateCustomDomainCommand.ts
1686
- var AssociateCustomDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1687
- return [
1688
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1689
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1690
- ];
1691
- }).s("AppRunner", "AssociateCustomDomain", {}).n("AppRunnerClient", "AssociateCustomDomainCommand").f(void 0, void 0).ser(se_AssociateCustomDomainCommand).de(de_AssociateCustomDomainCommand).build() {
1692
- static {
1693
- __name(this, "AssociateCustomDomainCommand");
1694
- }
1215
+ return retVal;
1695
1216
  };
1696
-
1697
- // src/commands/CreateAutoScalingConfigurationCommand.ts
1698
-
1699
-
1700
-
1701
- var CreateAutoScalingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1702
- return [
1703
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1704
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1705
- ];
1706
- }).s("AppRunner", "CreateAutoScalingConfiguration", {}).n("AppRunnerClient", "CreateAutoScalingConfigurationCommand").f(void 0, void 0).ser(se_CreateAutoScalingConfigurationCommand).de(de_CreateAutoScalingConfigurationCommand).build() {
1707
- static {
1708
- __name(this, "CreateAutoScalingConfigurationCommand");
1709
- }
1217
+ const de_CreateAutoScalingConfigurationResponse = (output, context) => {
1218
+ return smithyClient.take(output, {
1219
+ AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_),
1220
+ });
1710
1221
  };
1711
-
1712
- // src/commands/CreateConnectionCommand.ts
1713
-
1714
-
1715
-
1716
- var CreateConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1717
- return [
1718
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1719
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1720
- ];
1721
- }).s("AppRunner", "CreateConnection", {}).n("AppRunnerClient", "CreateConnectionCommand").f(void 0, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {
1722
- static {
1723
- __name(this, "CreateConnectionCommand");
1724
- }
1222
+ const de_CreateConnectionResponse = (output, context) => {
1223
+ return smithyClient.take(output, {
1224
+ Connection: (_) => de_Connection(_),
1225
+ });
1725
1226
  };
1726
-
1727
- // src/commands/CreateObservabilityConfigurationCommand.ts
1728
-
1729
-
1730
-
1731
- var CreateObservabilityConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1732
- return [
1733
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1734
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1735
- ];
1736
- }).s("AppRunner", "CreateObservabilityConfiguration", {}).n("AppRunnerClient", "CreateObservabilityConfigurationCommand").f(void 0, void 0).ser(se_CreateObservabilityConfigurationCommand).de(de_CreateObservabilityConfigurationCommand).build() {
1737
- static {
1738
- __name(this, "CreateObservabilityConfigurationCommand");
1739
- }
1227
+ const de_CreateObservabilityConfigurationResponse = (output, context) => {
1228
+ return smithyClient.take(output, {
1229
+ ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_),
1230
+ });
1740
1231
  };
1741
-
1742
- // src/commands/CreateServiceCommand.ts
1743
-
1744
-
1745
-
1746
- var CreateServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1747
- return [
1748
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1749
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1750
- ];
1751
- }).s("AppRunner", "CreateService", {}).n("AppRunnerClient", "CreateServiceCommand").f(CreateServiceRequestFilterSensitiveLog, CreateServiceResponseFilterSensitiveLog).ser(se_CreateServiceCommand).de(de_CreateServiceCommand).build() {
1752
- static {
1753
- __name(this, "CreateServiceCommand");
1754
- }
1232
+ const de_CreateServiceResponse = (output, context) => {
1233
+ return smithyClient.take(output, {
1234
+ OperationId: smithyClient.expectString,
1235
+ Service: (_) => de_Service(_),
1236
+ });
1755
1237
  };
1756
-
1757
- // src/commands/CreateVpcConnectorCommand.ts
1758
-
1759
-
1760
-
1761
- var CreateVpcConnectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1762
- return [
1763
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1764
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1765
- ];
1766
- }).s("AppRunner", "CreateVpcConnector", {}).n("AppRunnerClient", "CreateVpcConnectorCommand").f(void 0, void 0).ser(se_CreateVpcConnectorCommand).de(de_CreateVpcConnectorCommand).build() {
1767
- static {
1768
- __name(this, "CreateVpcConnectorCommand");
1769
- }
1238
+ const de_CreateVpcConnectorResponse = (output, context) => {
1239
+ return smithyClient.take(output, {
1240
+ VpcConnector: (_) => de_VpcConnector(_),
1241
+ });
1770
1242
  };
1771
-
1772
- // src/commands/CreateVpcIngressConnectionCommand.ts
1773
-
1774
-
1775
-
1776
- var CreateVpcIngressConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1777
- return [
1778
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1779
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1780
- ];
1781
- }).s("AppRunner", "CreateVpcIngressConnection", {}).n("AppRunnerClient", "CreateVpcIngressConnectionCommand").f(void 0, void 0).ser(se_CreateVpcIngressConnectionCommand).de(de_CreateVpcIngressConnectionCommand).build() {
1782
- static {
1783
- __name(this, "CreateVpcIngressConnectionCommand");
1784
- }
1243
+ const de_CreateVpcIngressConnectionResponse = (output, context) => {
1244
+ return smithyClient.take(output, {
1245
+ VpcIngressConnection: (_) => de_VpcIngressConnection(_),
1246
+ });
1785
1247
  };
1786
-
1787
- // src/commands/DeleteAutoScalingConfigurationCommand.ts
1788
-
1789
-
1790
-
1791
- var DeleteAutoScalingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1792
- return [
1793
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1794
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1795
- ];
1796
- }).s("AppRunner", "DeleteAutoScalingConfiguration", {}).n("AppRunnerClient", "DeleteAutoScalingConfigurationCommand").f(void 0, void 0).ser(se_DeleteAutoScalingConfigurationCommand).de(de_DeleteAutoScalingConfigurationCommand).build() {
1797
- static {
1798
- __name(this, "DeleteAutoScalingConfigurationCommand");
1799
- }
1248
+ const de_DeleteAutoScalingConfigurationResponse = (output, context) => {
1249
+ return smithyClient.take(output, {
1250
+ AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_),
1251
+ });
1800
1252
  };
1801
-
1802
- // src/commands/DeleteConnectionCommand.ts
1803
-
1804
-
1805
-
1806
- var DeleteConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1807
- return [
1808
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1809
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1810
- ];
1811
- }).s("AppRunner", "DeleteConnection", {}).n("AppRunnerClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {
1812
- static {
1813
- __name(this, "DeleteConnectionCommand");
1814
- }
1253
+ const de_DeleteConnectionResponse = (output, context) => {
1254
+ return smithyClient.take(output, {
1255
+ Connection: (_) => de_Connection(_),
1256
+ });
1815
1257
  };
1816
-
1817
- // src/commands/DeleteObservabilityConfigurationCommand.ts
1818
-
1819
-
1820
-
1821
- var DeleteObservabilityConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1822
- return [
1823
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1824
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1825
- ];
1826
- }).s("AppRunner", "DeleteObservabilityConfiguration", {}).n("AppRunnerClient", "DeleteObservabilityConfigurationCommand").f(void 0, void 0).ser(se_DeleteObservabilityConfigurationCommand).de(de_DeleteObservabilityConfigurationCommand).build() {
1827
- static {
1828
- __name(this, "DeleteObservabilityConfigurationCommand");
1829
- }
1258
+ const de_DeleteObservabilityConfigurationResponse = (output, context) => {
1259
+ return smithyClient.take(output, {
1260
+ ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_),
1261
+ });
1830
1262
  };
1831
-
1832
- // src/commands/DeleteServiceCommand.ts
1833
-
1834
-
1835
-
1836
- var DeleteServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1837
- return [
1838
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1839
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1840
- ];
1841
- }).s("AppRunner", "DeleteService", {}).n("AppRunnerClient", "DeleteServiceCommand").f(void 0, DeleteServiceResponseFilterSensitiveLog).ser(se_DeleteServiceCommand).de(de_DeleteServiceCommand).build() {
1842
- static {
1843
- __name(this, "DeleteServiceCommand");
1844
- }
1263
+ const de_DeleteServiceResponse = (output, context) => {
1264
+ return smithyClient.take(output, {
1265
+ OperationId: smithyClient.expectString,
1266
+ Service: (_) => de_Service(_),
1267
+ });
1845
1268
  };
1846
-
1847
- // src/commands/DeleteVpcConnectorCommand.ts
1848
-
1849
-
1850
-
1851
- var DeleteVpcConnectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1852
- return [
1853
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1854
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1855
- ];
1856
- }).s("AppRunner", "DeleteVpcConnector", {}).n("AppRunnerClient", "DeleteVpcConnectorCommand").f(void 0, void 0).ser(se_DeleteVpcConnectorCommand).de(de_DeleteVpcConnectorCommand).build() {
1857
- static {
1858
- __name(this, "DeleteVpcConnectorCommand");
1859
- }
1269
+ const de_DeleteVpcConnectorResponse = (output, context) => {
1270
+ return smithyClient.take(output, {
1271
+ VpcConnector: (_) => de_VpcConnector(_),
1272
+ });
1860
1273
  };
1861
-
1862
- // src/commands/DeleteVpcIngressConnectionCommand.ts
1863
-
1864
-
1865
-
1866
- var DeleteVpcIngressConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1867
- return [
1868
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1869
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1870
- ];
1871
- }).s("AppRunner", "DeleteVpcIngressConnection", {}).n("AppRunnerClient", "DeleteVpcIngressConnectionCommand").f(void 0, void 0).ser(se_DeleteVpcIngressConnectionCommand).de(de_DeleteVpcIngressConnectionCommand).build() {
1872
- static {
1873
- __name(this, "DeleteVpcIngressConnectionCommand");
1874
- }
1274
+ const de_DeleteVpcIngressConnectionResponse = (output, context) => {
1275
+ return smithyClient.take(output, {
1276
+ VpcIngressConnection: (_) => de_VpcIngressConnection(_),
1277
+ });
1875
1278
  };
1876
-
1877
- // src/commands/DescribeAutoScalingConfigurationCommand.ts
1878
-
1879
-
1880
-
1881
- var DescribeAutoScalingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1882
- return [
1883
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1884
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1885
- ];
1886
- }).s("AppRunner", "DescribeAutoScalingConfiguration", {}).n("AppRunnerClient", "DescribeAutoScalingConfigurationCommand").f(void 0, void 0).ser(se_DescribeAutoScalingConfigurationCommand).de(de_DescribeAutoScalingConfigurationCommand).build() {
1887
- static {
1888
- __name(this, "DescribeAutoScalingConfigurationCommand");
1889
- }
1279
+ const de_DescribeAutoScalingConfigurationResponse = (output, context) => {
1280
+ return smithyClient.take(output, {
1281
+ AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_),
1282
+ });
1890
1283
  };
1891
-
1892
- // src/commands/DescribeCustomDomainsCommand.ts
1893
-
1894
-
1895
-
1896
- var DescribeCustomDomainsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1897
- return [
1898
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1899
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1900
- ];
1901
- }).s("AppRunner", "DescribeCustomDomains", {}).n("AppRunnerClient", "DescribeCustomDomainsCommand").f(void 0, void 0).ser(se_DescribeCustomDomainsCommand).de(de_DescribeCustomDomainsCommand).build() {
1902
- static {
1903
- __name(this, "DescribeCustomDomainsCommand");
1904
- }
1284
+ const de_DescribeObservabilityConfigurationResponse = (output, context) => {
1285
+ return smithyClient.take(output, {
1286
+ ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_),
1287
+ });
1905
1288
  };
1906
-
1907
- // src/commands/DescribeObservabilityConfigurationCommand.ts
1908
-
1909
-
1910
-
1911
- var DescribeObservabilityConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1912
- return [
1913
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1914
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1915
- ];
1916
- }).s("AppRunner", "DescribeObservabilityConfiguration", {}).n("AppRunnerClient", "DescribeObservabilityConfigurationCommand").f(void 0, void 0).ser(se_DescribeObservabilityConfigurationCommand).de(de_DescribeObservabilityConfigurationCommand).build() {
1917
- static {
1918
- __name(this, "DescribeObservabilityConfigurationCommand");
1919
- }
1289
+ const de_DescribeServiceResponse = (output, context) => {
1290
+ return smithyClient.take(output, {
1291
+ Service: (_) => de_Service(_),
1292
+ });
1920
1293
  };
1921
-
1922
- // src/commands/DescribeServiceCommand.ts
1923
-
1924
-
1925
-
1926
- var DescribeServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1927
- return [
1928
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1929
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1930
- ];
1931
- }).s("AppRunner", "DescribeService", {}).n("AppRunnerClient", "DescribeServiceCommand").f(void 0, DescribeServiceResponseFilterSensitiveLog).ser(se_DescribeServiceCommand).de(de_DescribeServiceCommand).build() {
1932
- static {
1933
- __name(this, "DescribeServiceCommand");
1934
- }
1294
+ const de_DescribeVpcConnectorResponse = (output, context) => {
1295
+ return smithyClient.take(output, {
1296
+ VpcConnector: (_) => de_VpcConnector(_),
1297
+ });
1935
1298
  };
1936
-
1937
- // src/commands/DescribeVpcConnectorCommand.ts
1938
-
1939
-
1940
-
1941
- var DescribeVpcConnectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1942
- return [
1943
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1944
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1945
- ];
1946
- }).s("AppRunner", "DescribeVpcConnector", {}).n("AppRunnerClient", "DescribeVpcConnectorCommand").f(void 0, void 0).ser(se_DescribeVpcConnectorCommand).de(de_DescribeVpcConnectorCommand).build() {
1947
- static {
1948
- __name(this, "DescribeVpcConnectorCommand");
1949
- }
1299
+ const de_DescribeVpcIngressConnectionResponse = (output, context) => {
1300
+ return smithyClient.take(output, {
1301
+ VpcIngressConnection: (_) => de_VpcIngressConnection(_),
1302
+ });
1950
1303
  };
1951
-
1952
- // src/commands/DescribeVpcIngressConnectionCommand.ts
1953
-
1954
-
1955
-
1956
- var DescribeVpcIngressConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1957
- return [
1958
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1959
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1960
- ];
1961
- }).s("AppRunner", "DescribeVpcIngressConnection", {}).n("AppRunnerClient", "DescribeVpcIngressConnectionCommand").f(void 0, void 0).ser(se_DescribeVpcIngressConnectionCommand).de(de_DescribeVpcIngressConnectionCommand).build() {
1962
- static {
1963
- __name(this, "DescribeVpcIngressConnectionCommand");
1964
- }
1304
+ const de_ListAutoScalingConfigurationsResponse = (output, context) => {
1305
+ return smithyClient.take(output, {
1306
+ AutoScalingConfigurationSummaryList: (_) => de_AutoScalingConfigurationSummaryList(_),
1307
+ NextToken: smithyClient.expectString,
1308
+ });
1965
1309
  };
1966
-
1967
- // src/commands/DisassociateCustomDomainCommand.ts
1968
-
1969
-
1970
-
1971
- var DisassociateCustomDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1972
- return [
1973
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1974
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1975
- ];
1976
- }).s("AppRunner", "DisassociateCustomDomain", {}).n("AppRunnerClient", "DisassociateCustomDomainCommand").f(void 0, void 0).ser(se_DisassociateCustomDomainCommand).de(de_DisassociateCustomDomainCommand).build() {
1977
- static {
1978
- __name(this, "DisassociateCustomDomainCommand");
1979
- }
1310
+ const de_ListConnectionsResponse = (output, context) => {
1311
+ return smithyClient.take(output, {
1312
+ ConnectionSummaryList: (_) => de_ConnectionSummaryList(_),
1313
+ NextToken: smithyClient.expectString,
1314
+ });
1980
1315
  };
1981
-
1982
- // src/commands/ListAutoScalingConfigurationsCommand.ts
1983
-
1984
-
1985
-
1986
- var ListAutoScalingConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1987
- return [
1988
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1989
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1990
- ];
1991
- }).s("AppRunner", "ListAutoScalingConfigurations", {}).n("AppRunnerClient", "ListAutoScalingConfigurationsCommand").f(void 0, void 0).ser(se_ListAutoScalingConfigurationsCommand).de(de_ListAutoScalingConfigurationsCommand).build() {
1992
- static {
1993
- __name(this, "ListAutoScalingConfigurationsCommand");
1994
- }
1316
+ const de_ListOperationsResponse = (output, context) => {
1317
+ return smithyClient.take(output, {
1318
+ NextToken: smithyClient.expectString,
1319
+ OperationSummaryList: (_) => de_OperationSummaryList(_),
1320
+ });
1995
1321
  };
1996
-
1997
- // src/commands/ListConnectionsCommand.ts
1998
-
1999
-
2000
-
2001
- var ListConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2002
- return [
2003
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2004
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2005
- ];
2006
- }).s("AppRunner", "ListConnections", {}).n("AppRunnerClient", "ListConnectionsCommand").f(void 0, void 0).ser(se_ListConnectionsCommand).de(de_ListConnectionsCommand).build() {
2007
- static {
2008
- __name(this, "ListConnectionsCommand");
2009
- }
1322
+ const de_ListServicesResponse = (output, context) => {
1323
+ return smithyClient.take(output, {
1324
+ NextToken: smithyClient.expectString,
1325
+ ServiceSummaryList: (_) => de_ServiceSummaryList(_),
1326
+ });
2010
1327
  };
2011
-
2012
- // src/commands/ListObservabilityConfigurationsCommand.ts
2013
-
2014
-
2015
-
2016
- var ListObservabilityConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2017
- return [
2018
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2019
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2020
- ];
2021
- }).s("AppRunner", "ListObservabilityConfigurations", {}).n("AppRunnerClient", "ListObservabilityConfigurationsCommand").f(void 0, void 0).ser(se_ListObservabilityConfigurationsCommand).de(de_ListObservabilityConfigurationsCommand).build() {
2022
- static {
2023
- __name(this, "ListObservabilityConfigurationsCommand");
2024
- }
1328
+ const de_ListVpcConnectorsResponse = (output, context) => {
1329
+ return smithyClient.take(output, {
1330
+ NextToken: smithyClient.expectString,
1331
+ VpcConnectors: (_) => de_VpcConnectors(_),
1332
+ });
2025
1333
  };
2026
-
2027
- // src/commands/ListOperationsCommand.ts
2028
-
2029
-
2030
-
2031
- var ListOperationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2032
- return [
2033
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2034
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2035
- ];
2036
- }).s("AppRunner", "ListOperations", {}).n("AppRunnerClient", "ListOperationsCommand").f(void 0, void 0).ser(se_ListOperationsCommand).de(de_ListOperationsCommand).build() {
2037
- static {
2038
- __name(this, "ListOperationsCommand");
2039
- }
1334
+ const de_ObservabilityConfiguration = (output, context) => {
1335
+ return smithyClient.take(output, {
1336
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1337
+ DeletedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1338
+ Latest: smithyClient.expectBoolean,
1339
+ ObservabilityConfigurationArn: smithyClient.expectString,
1340
+ ObservabilityConfigurationName: smithyClient.expectString,
1341
+ ObservabilityConfigurationRevision: smithyClient.expectInt32,
1342
+ Status: smithyClient.expectString,
1343
+ TraceConfiguration: smithyClient._json,
1344
+ });
2040
1345
  };
2041
-
2042
- // src/commands/ListServicesCommand.ts
2043
-
2044
-
2045
-
2046
- var ListServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2047
- return [
2048
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2049
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2050
- ];
2051
- }).s("AppRunner", "ListServices", {}).n("AppRunnerClient", "ListServicesCommand").f(void 0, void 0).ser(se_ListServicesCommand).de(de_ListServicesCommand).build() {
2052
- static {
2053
- __name(this, "ListServicesCommand");
2054
- }
1346
+ const de_OperationSummary = (output, context) => {
1347
+ return smithyClient.take(output, {
1348
+ EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1349
+ Id: smithyClient.expectString,
1350
+ StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1351
+ Status: smithyClient.expectString,
1352
+ TargetArn: smithyClient.expectString,
1353
+ Type: smithyClient.expectString,
1354
+ UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1355
+ });
2055
1356
  };
2056
-
2057
- // src/commands/ListServicesForAutoScalingConfigurationCommand.ts
2058
-
2059
-
2060
-
2061
- var ListServicesForAutoScalingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2062
- return [
2063
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2064
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2065
- ];
2066
- }).s("AppRunner", "ListServicesForAutoScalingConfiguration", {}).n("AppRunnerClient", "ListServicesForAutoScalingConfigurationCommand").f(void 0, void 0).ser(se_ListServicesForAutoScalingConfigurationCommand).de(de_ListServicesForAutoScalingConfigurationCommand).build() {
2067
- static {
2068
- __name(this, "ListServicesForAutoScalingConfigurationCommand");
2069
- }
1357
+ const de_OperationSummaryList = (output, context) => {
1358
+ const retVal = (output || [])
1359
+ .filter((e) => e != null)
1360
+ .map((entry) => {
1361
+ return de_OperationSummary(entry);
1362
+ });
1363
+ return retVal;
2070
1364
  };
2071
-
2072
- // src/commands/ListTagsForResourceCommand.ts
2073
-
2074
-
2075
-
2076
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2077
- return [
2078
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2079
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2080
- ];
2081
- }).s("AppRunner", "ListTagsForResource", {}).n("AppRunnerClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2082
- static {
2083
- __name(this, "ListTagsForResourceCommand");
2084
- }
1365
+ const de_PauseServiceResponse = (output, context) => {
1366
+ return smithyClient.take(output, {
1367
+ OperationId: smithyClient.expectString,
1368
+ Service: (_) => de_Service(_),
1369
+ });
2085
1370
  };
2086
-
2087
- // src/commands/ListVpcConnectorsCommand.ts
2088
-
2089
-
2090
-
2091
- var ListVpcConnectorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2092
- return [
2093
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2094
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2095
- ];
2096
- }).s("AppRunner", "ListVpcConnectors", {}).n("AppRunnerClient", "ListVpcConnectorsCommand").f(void 0, void 0).ser(se_ListVpcConnectorsCommand).de(de_ListVpcConnectorsCommand).build() {
2097
- static {
2098
- __name(this, "ListVpcConnectorsCommand");
2099
- }
1371
+ const de_ResumeServiceResponse = (output, context) => {
1372
+ return smithyClient.take(output, {
1373
+ OperationId: smithyClient.expectString,
1374
+ Service: (_) => de_Service(_),
1375
+ });
2100
1376
  };
2101
-
2102
- // src/commands/ListVpcIngressConnectionsCommand.ts
2103
-
2104
-
2105
-
2106
- var ListVpcIngressConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2107
- return [
2108
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2109
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2110
- ];
2111
- }).s("AppRunner", "ListVpcIngressConnections", {}).n("AppRunnerClient", "ListVpcIngressConnectionsCommand").f(void 0, void 0).ser(se_ListVpcIngressConnectionsCommand).de(de_ListVpcIngressConnectionsCommand).build() {
2112
- static {
2113
- __name(this, "ListVpcIngressConnectionsCommand");
2114
- }
1377
+ const de_Service = (output, context) => {
1378
+ return smithyClient.take(output, {
1379
+ AutoScalingConfigurationSummary: (_) => de_AutoScalingConfigurationSummary(_),
1380
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1381
+ DeletedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1382
+ EncryptionConfiguration: smithyClient._json,
1383
+ HealthCheckConfiguration: smithyClient._json,
1384
+ InstanceConfiguration: smithyClient._json,
1385
+ NetworkConfiguration: smithyClient._json,
1386
+ ObservabilityConfiguration: smithyClient._json,
1387
+ ServiceArn: smithyClient.expectString,
1388
+ ServiceId: smithyClient.expectString,
1389
+ ServiceName: smithyClient.expectString,
1390
+ ServiceUrl: smithyClient.expectString,
1391
+ SourceConfiguration: smithyClient._json,
1392
+ Status: smithyClient.expectString,
1393
+ UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1394
+ });
2115
1395
  };
2116
-
2117
- // src/commands/PauseServiceCommand.ts
2118
-
2119
-
2120
-
2121
- var PauseServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2122
- return [
2123
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2124
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2125
- ];
2126
- }).s("AppRunner", "PauseService", {}).n("AppRunnerClient", "PauseServiceCommand").f(void 0, PauseServiceResponseFilterSensitiveLog).ser(se_PauseServiceCommand).de(de_PauseServiceCommand).build() {
2127
- static {
2128
- __name(this, "PauseServiceCommand");
2129
- }
1396
+ const de_ServiceSummary = (output, context) => {
1397
+ return smithyClient.take(output, {
1398
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1399
+ ServiceArn: smithyClient.expectString,
1400
+ ServiceId: smithyClient.expectString,
1401
+ ServiceName: smithyClient.expectString,
1402
+ ServiceUrl: smithyClient.expectString,
1403
+ Status: smithyClient.expectString,
1404
+ UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1405
+ });
1406
+ };
1407
+ const de_ServiceSummaryList = (output, context) => {
1408
+ const retVal = (output || [])
1409
+ .filter((e) => e != null)
1410
+ .map((entry) => {
1411
+ return de_ServiceSummary(entry);
1412
+ });
1413
+ return retVal;
1414
+ };
1415
+ const de_UpdateDefaultAutoScalingConfigurationResponse = (output, context) => {
1416
+ return smithyClient.take(output, {
1417
+ AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_),
1418
+ });
1419
+ };
1420
+ const de_UpdateServiceResponse = (output, context) => {
1421
+ return smithyClient.take(output, {
1422
+ OperationId: smithyClient.expectString,
1423
+ Service: (_) => de_Service(_),
1424
+ });
1425
+ };
1426
+ const de_UpdateVpcIngressConnectionResponse = (output, context) => {
1427
+ return smithyClient.take(output, {
1428
+ VpcIngressConnection: (_) => de_VpcIngressConnection(_),
1429
+ });
2130
1430
  };
1431
+ const de_VpcConnector = (output, context) => {
1432
+ return smithyClient.take(output, {
1433
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1434
+ DeletedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1435
+ SecurityGroups: smithyClient._json,
1436
+ Status: smithyClient.expectString,
1437
+ Subnets: smithyClient._json,
1438
+ VpcConnectorArn: smithyClient.expectString,
1439
+ VpcConnectorName: smithyClient.expectString,
1440
+ VpcConnectorRevision: smithyClient.expectInt32,
1441
+ });
1442
+ };
1443
+ const de_VpcConnectors = (output, context) => {
1444
+ const retVal = (output || [])
1445
+ .filter((e) => e != null)
1446
+ .map((entry) => {
1447
+ return de_VpcConnector(entry);
1448
+ });
1449
+ return retVal;
1450
+ };
1451
+ const de_VpcIngressConnection = (output, context) => {
1452
+ return smithyClient.take(output, {
1453
+ AccountId: smithyClient.expectString,
1454
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1455
+ DeletedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1456
+ DomainName: smithyClient.expectString,
1457
+ IngressVpcConfiguration: smithyClient._json,
1458
+ ServiceArn: smithyClient.expectString,
1459
+ Status: smithyClient.expectString,
1460
+ VpcIngressConnectionArn: smithyClient.expectString,
1461
+ VpcIngressConnectionName: smithyClient.expectString,
1462
+ });
1463
+ };
1464
+ const deserializeMetadata = (output) => ({
1465
+ httpStatusCode: output.statusCode,
1466
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1467
+ extendedRequestId: output.headers["x-amz-id-2"],
1468
+ cfId: output.headers["x-amz-cf-id"],
1469
+ });
1470
+ const throwDefaultError = smithyClient.withBaseException(AppRunnerServiceException);
1471
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1472
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1473
+ const contents = {
1474
+ protocol,
1475
+ hostname,
1476
+ port,
1477
+ method: "POST",
1478
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1479
+ headers,
1480
+ };
1481
+ if (body !== undefined) {
1482
+ contents.body = body;
1483
+ }
1484
+ return new protocolHttp.HttpRequest(contents);
1485
+ };
1486
+ function sharedHeaders(operation) {
1487
+ return {
1488
+ "content-type": "application/x-amz-json-1.0",
1489
+ "x-amz-target": `AppRunner.${operation}`,
1490
+ };
1491
+ }
2131
1492
 
2132
- // src/commands/ResumeServiceCommand.ts
1493
+ class AssociateCustomDomainCommand extends smithyClient.Command
1494
+ .classBuilder()
1495
+ .ep(commonParams)
1496
+ .m(function (Command, cs, config, o) {
1497
+ return [
1498
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1499
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1500
+ ];
1501
+ })
1502
+ .s("AppRunner", "AssociateCustomDomain", {})
1503
+ .n("AppRunnerClient", "AssociateCustomDomainCommand")
1504
+ .f(void 0, void 0)
1505
+ .ser(se_AssociateCustomDomainCommand)
1506
+ .de(de_AssociateCustomDomainCommand)
1507
+ .build() {
1508
+ }
2133
1509
 
1510
+ class CreateAutoScalingConfigurationCommand extends smithyClient.Command
1511
+ .classBuilder()
1512
+ .ep(commonParams)
1513
+ .m(function (Command, cs, config, o) {
1514
+ return [
1515
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1516
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1517
+ ];
1518
+ })
1519
+ .s("AppRunner", "CreateAutoScalingConfiguration", {})
1520
+ .n("AppRunnerClient", "CreateAutoScalingConfigurationCommand")
1521
+ .f(void 0, void 0)
1522
+ .ser(se_CreateAutoScalingConfigurationCommand)
1523
+ .de(de_CreateAutoScalingConfigurationCommand)
1524
+ .build() {
1525
+ }
2134
1526
 
1527
+ class CreateConnectionCommand extends smithyClient.Command
1528
+ .classBuilder()
1529
+ .ep(commonParams)
1530
+ .m(function (Command, cs, config, o) {
1531
+ return [
1532
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1533
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1534
+ ];
1535
+ })
1536
+ .s("AppRunner", "CreateConnection", {})
1537
+ .n("AppRunnerClient", "CreateConnectionCommand")
1538
+ .f(void 0, void 0)
1539
+ .ser(se_CreateConnectionCommand)
1540
+ .de(de_CreateConnectionCommand)
1541
+ .build() {
1542
+ }
2135
1543
 
2136
- var ResumeServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2137
- return [
2138
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2139
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2140
- ];
2141
- }).s("AppRunner", "ResumeService", {}).n("AppRunnerClient", "ResumeServiceCommand").f(void 0, ResumeServiceResponseFilterSensitiveLog).ser(se_ResumeServiceCommand).de(de_ResumeServiceCommand).build() {
2142
- static {
2143
- __name(this, "ResumeServiceCommand");
2144
- }
2145
- };
1544
+ class CreateObservabilityConfigurationCommand extends smithyClient.Command
1545
+ .classBuilder()
1546
+ .ep(commonParams)
1547
+ .m(function (Command, cs, config, o) {
1548
+ return [
1549
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1550
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1551
+ ];
1552
+ })
1553
+ .s("AppRunner", "CreateObservabilityConfiguration", {})
1554
+ .n("AppRunnerClient", "CreateObservabilityConfigurationCommand")
1555
+ .f(void 0, void 0)
1556
+ .ser(se_CreateObservabilityConfigurationCommand)
1557
+ .de(de_CreateObservabilityConfigurationCommand)
1558
+ .build() {
1559
+ }
2146
1560
 
2147
- // src/commands/StartDeploymentCommand.ts
1561
+ class CreateServiceCommand extends smithyClient.Command
1562
+ .classBuilder()
1563
+ .ep(commonParams)
1564
+ .m(function (Command, cs, config, o) {
1565
+ return [
1566
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1567
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1568
+ ];
1569
+ })
1570
+ .s("AppRunner", "CreateService", {})
1571
+ .n("AppRunnerClient", "CreateServiceCommand")
1572
+ .f(CreateServiceRequestFilterSensitiveLog, CreateServiceResponseFilterSensitiveLog)
1573
+ .ser(se_CreateServiceCommand)
1574
+ .de(de_CreateServiceCommand)
1575
+ .build() {
1576
+ }
2148
1577
 
1578
+ class CreateVpcConnectorCommand extends smithyClient.Command
1579
+ .classBuilder()
1580
+ .ep(commonParams)
1581
+ .m(function (Command, cs, config, o) {
1582
+ return [
1583
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1584
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1585
+ ];
1586
+ })
1587
+ .s("AppRunner", "CreateVpcConnector", {})
1588
+ .n("AppRunnerClient", "CreateVpcConnectorCommand")
1589
+ .f(void 0, void 0)
1590
+ .ser(se_CreateVpcConnectorCommand)
1591
+ .de(de_CreateVpcConnectorCommand)
1592
+ .build() {
1593
+ }
2149
1594
 
1595
+ class CreateVpcIngressConnectionCommand extends smithyClient.Command
1596
+ .classBuilder()
1597
+ .ep(commonParams)
1598
+ .m(function (Command, cs, config, o) {
1599
+ return [
1600
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1601
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1602
+ ];
1603
+ })
1604
+ .s("AppRunner", "CreateVpcIngressConnection", {})
1605
+ .n("AppRunnerClient", "CreateVpcIngressConnectionCommand")
1606
+ .f(void 0, void 0)
1607
+ .ser(se_CreateVpcIngressConnectionCommand)
1608
+ .de(de_CreateVpcIngressConnectionCommand)
1609
+ .build() {
1610
+ }
2150
1611
 
2151
- var StartDeploymentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2152
- return [
2153
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2154
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2155
- ];
2156
- }).s("AppRunner", "StartDeployment", {}).n("AppRunnerClient", "StartDeploymentCommand").f(void 0, void 0).ser(se_StartDeploymentCommand).de(de_StartDeploymentCommand).build() {
2157
- static {
2158
- __name(this, "StartDeploymentCommand");
2159
- }
2160
- };
1612
+ class DeleteAutoScalingConfigurationCommand extends smithyClient.Command
1613
+ .classBuilder()
1614
+ .ep(commonParams)
1615
+ .m(function (Command, cs, config, o) {
1616
+ return [
1617
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1618
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1619
+ ];
1620
+ })
1621
+ .s("AppRunner", "DeleteAutoScalingConfiguration", {})
1622
+ .n("AppRunnerClient", "DeleteAutoScalingConfigurationCommand")
1623
+ .f(void 0, void 0)
1624
+ .ser(se_DeleteAutoScalingConfigurationCommand)
1625
+ .de(de_DeleteAutoScalingConfigurationCommand)
1626
+ .build() {
1627
+ }
2161
1628
 
2162
- // src/commands/TagResourceCommand.ts
1629
+ class DeleteConnectionCommand extends smithyClient.Command
1630
+ .classBuilder()
1631
+ .ep(commonParams)
1632
+ .m(function (Command, cs, config, o) {
1633
+ return [
1634
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1635
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1636
+ ];
1637
+ })
1638
+ .s("AppRunner", "DeleteConnection", {})
1639
+ .n("AppRunnerClient", "DeleteConnectionCommand")
1640
+ .f(void 0, void 0)
1641
+ .ser(se_DeleteConnectionCommand)
1642
+ .de(de_DeleteConnectionCommand)
1643
+ .build() {
1644
+ }
2163
1645
 
1646
+ class DeleteObservabilityConfigurationCommand extends smithyClient.Command
1647
+ .classBuilder()
1648
+ .ep(commonParams)
1649
+ .m(function (Command, cs, config, o) {
1650
+ return [
1651
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1652
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1653
+ ];
1654
+ })
1655
+ .s("AppRunner", "DeleteObservabilityConfiguration", {})
1656
+ .n("AppRunnerClient", "DeleteObservabilityConfigurationCommand")
1657
+ .f(void 0, void 0)
1658
+ .ser(se_DeleteObservabilityConfigurationCommand)
1659
+ .de(de_DeleteObservabilityConfigurationCommand)
1660
+ .build() {
1661
+ }
2164
1662
 
1663
+ class DeleteServiceCommand extends smithyClient.Command
1664
+ .classBuilder()
1665
+ .ep(commonParams)
1666
+ .m(function (Command, cs, config, o) {
1667
+ return [
1668
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1669
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1670
+ ];
1671
+ })
1672
+ .s("AppRunner", "DeleteService", {})
1673
+ .n("AppRunnerClient", "DeleteServiceCommand")
1674
+ .f(void 0, DeleteServiceResponseFilterSensitiveLog)
1675
+ .ser(se_DeleteServiceCommand)
1676
+ .de(de_DeleteServiceCommand)
1677
+ .build() {
1678
+ }
2165
1679
 
2166
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2167
- return [
2168
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2169
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2170
- ];
2171
- }).s("AppRunner", "TagResource", {}).n("AppRunnerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2172
- static {
2173
- __name(this, "TagResourceCommand");
2174
- }
2175
- };
1680
+ class DeleteVpcConnectorCommand extends smithyClient.Command
1681
+ .classBuilder()
1682
+ .ep(commonParams)
1683
+ .m(function (Command, cs, config, o) {
1684
+ return [
1685
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1686
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1687
+ ];
1688
+ })
1689
+ .s("AppRunner", "DeleteVpcConnector", {})
1690
+ .n("AppRunnerClient", "DeleteVpcConnectorCommand")
1691
+ .f(void 0, void 0)
1692
+ .ser(se_DeleteVpcConnectorCommand)
1693
+ .de(de_DeleteVpcConnectorCommand)
1694
+ .build() {
1695
+ }
2176
1696
 
2177
- // src/commands/UntagResourceCommand.ts
1697
+ class DeleteVpcIngressConnectionCommand extends smithyClient.Command
1698
+ .classBuilder()
1699
+ .ep(commonParams)
1700
+ .m(function (Command, cs, config, o) {
1701
+ return [
1702
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1703
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1704
+ ];
1705
+ })
1706
+ .s("AppRunner", "DeleteVpcIngressConnection", {})
1707
+ .n("AppRunnerClient", "DeleteVpcIngressConnectionCommand")
1708
+ .f(void 0, void 0)
1709
+ .ser(se_DeleteVpcIngressConnectionCommand)
1710
+ .de(de_DeleteVpcIngressConnectionCommand)
1711
+ .build() {
1712
+ }
2178
1713
 
1714
+ class DescribeAutoScalingConfigurationCommand extends smithyClient.Command
1715
+ .classBuilder()
1716
+ .ep(commonParams)
1717
+ .m(function (Command, cs, config, o) {
1718
+ return [
1719
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1720
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1721
+ ];
1722
+ })
1723
+ .s("AppRunner", "DescribeAutoScalingConfiguration", {})
1724
+ .n("AppRunnerClient", "DescribeAutoScalingConfigurationCommand")
1725
+ .f(void 0, void 0)
1726
+ .ser(se_DescribeAutoScalingConfigurationCommand)
1727
+ .de(de_DescribeAutoScalingConfigurationCommand)
1728
+ .build() {
1729
+ }
2179
1730
 
1731
+ class DescribeCustomDomainsCommand extends smithyClient.Command
1732
+ .classBuilder()
1733
+ .ep(commonParams)
1734
+ .m(function (Command, cs, config, o) {
1735
+ return [
1736
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1737
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1738
+ ];
1739
+ })
1740
+ .s("AppRunner", "DescribeCustomDomains", {})
1741
+ .n("AppRunnerClient", "DescribeCustomDomainsCommand")
1742
+ .f(void 0, void 0)
1743
+ .ser(se_DescribeCustomDomainsCommand)
1744
+ .de(de_DescribeCustomDomainsCommand)
1745
+ .build() {
1746
+ }
2180
1747
 
2181
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2182
- return [
2183
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2184
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2185
- ];
2186
- }).s("AppRunner", "UntagResource", {}).n("AppRunnerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2187
- static {
2188
- __name(this, "UntagResourceCommand");
2189
- }
2190
- };
1748
+ class DescribeObservabilityConfigurationCommand extends smithyClient.Command
1749
+ .classBuilder()
1750
+ .ep(commonParams)
1751
+ .m(function (Command, cs, config, o) {
1752
+ return [
1753
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1754
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1755
+ ];
1756
+ })
1757
+ .s("AppRunner", "DescribeObservabilityConfiguration", {})
1758
+ .n("AppRunnerClient", "DescribeObservabilityConfigurationCommand")
1759
+ .f(void 0, void 0)
1760
+ .ser(se_DescribeObservabilityConfigurationCommand)
1761
+ .de(de_DescribeObservabilityConfigurationCommand)
1762
+ .build() {
1763
+ }
2191
1764
 
2192
- // src/commands/UpdateDefaultAutoScalingConfigurationCommand.ts
1765
+ class DescribeServiceCommand extends smithyClient.Command
1766
+ .classBuilder()
1767
+ .ep(commonParams)
1768
+ .m(function (Command, cs, config, o) {
1769
+ return [
1770
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1771
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1772
+ ];
1773
+ })
1774
+ .s("AppRunner", "DescribeService", {})
1775
+ .n("AppRunnerClient", "DescribeServiceCommand")
1776
+ .f(void 0, DescribeServiceResponseFilterSensitiveLog)
1777
+ .ser(se_DescribeServiceCommand)
1778
+ .de(de_DescribeServiceCommand)
1779
+ .build() {
1780
+ }
2193
1781
 
1782
+ class DescribeVpcConnectorCommand extends smithyClient.Command
1783
+ .classBuilder()
1784
+ .ep(commonParams)
1785
+ .m(function (Command, cs, config, o) {
1786
+ return [
1787
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1788
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1789
+ ];
1790
+ })
1791
+ .s("AppRunner", "DescribeVpcConnector", {})
1792
+ .n("AppRunnerClient", "DescribeVpcConnectorCommand")
1793
+ .f(void 0, void 0)
1794
+ .ser(se_DescribeVpcConnectorCommand)
1795
+ .de(de_DescribeVpcConnectorCommand)
1796
+ .build() {
1797
+ }
2194
1798
 
1799
+ class DescribeVpcIngressConnectionCommand extends smithyClient.Command
1800
+ .classBuilder()
1801
+ .ep(commonParams)
1802
+ .m(function (Command, cs, config, o) {
1803
+ return [
1804
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1805
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1806
+ ];
1807
+ })
1808
+ .s("AppRunner", "DescribeVpcIngressConnection", {})
1809
+ .n("AppRunnerClient", "DescribeVpcIngressConnectionCommand")
1810
+ .f(void 0, void 0)
1811
+ .ser(se_DescribeVpcIngressConnectionCommand)
1812
+ .de(de_DescribeVpcIngressConnectionCommand)
1813
+ .build() {
1814
+ }
2195
1815
 
2196
- var UpdateDefaultAutoScalingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2197
- return [
2198
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2199
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2200
- ];
2201
- }).s("AppRunner", "UpdateDefaultAutoScalingConfiguration", {}).n("AppRunnerClient", "UpdateDefaultAutoScalingConfigurationCommand").f(void 0, void 0).ser(se_UpdateDefaultAutoScalingConfigurationCommand).de(de_UpdateDefaultAutoScalingConfigurationCommand).build() {
2202
- static {
2203
- __name(this, "UpdateDefaultAutoScalingConfigurationCommand");
2204
- }
2205
- };
1816
+ class DisassociateCustomDomainCommand extends smithyClient.Command
1817
+ .classBuilder()
1818
+ .ep(commonParams)
1819
+ .m(function (Command, cs, config, o) {
1820
+ return [
1821
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1822
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1823
+ ];
1824
+ })
1825
+ .s("AppRunner", "DisassociateCustomDomain", {})
1826
+ .n("AppRunnerClient", "DisassociateCustomDomainCommand")
1827
+ .f(void 0, void 0)
1828
+ .ser(se_DisassociateCustomDomainCommand)
1829
+ .de(de_DisassociateCustomDomainCommand)
1830
+ .build() {
1831
+ }
2206
1832
 
2207
- // src/commands/UpdateServiceCommand.ts
1833
+ class ListAutoScalingConfigurationsCommand extends smithyClient.Command
1834
+ .classBuilder()
1835
+ .ep(commonParams)
1836
+ .m(function (Command, cs, config, o) {
1837
+ return [
1838
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1839
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1840
+ ];
1841
+ })
1842
+ .s("AppRunner", "ListAutoScalingConfigurations", {})
1843
+ .n("AppRunnerClient", "ListAutoScalingConfigurationsCommand")
1844
+ .f(void 0, void 0)
1845
+ .ser(se_ListAutoScalingConfigurationsCommand)
1846
+ .de(de_ListAutoScalingConfigurationsCommand)
1847
+ .build() {
1848
+ }
2208
1849
 
1850
+ class ListConnectionsCommand extends smithyClient.Command
1851
+ .classBuilder()
1852
+ .ep(commonParams)
1853
+ .m(function (Command, cs, config, o) {
1854
+ return [
1855
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1856
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1857
+ ];
1858
+ })
1859
+ .s("AppRunner", "ListConnections", {})
1860
+ .n("AppRunnerClient", "ListConnectionsCommand")
1861
+ .f(void 0, void 0)
1862
+ .ser(se_ListConnectionsCommand)
1863
+ .de(de_ListConnectionsCommand)
1864
+ .build() {
1865
+ }
2209
1866
 
1867
+ class ListObservabilityConfigurationsCommand extends smithyClient.Command
1868
+ .classBuilder()
1869
+ .ep(commonParams)
1870
+ .m(function (Command, cs, config, o) {
1871
+ return [
1872
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1873
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1874
+ ];
1875
+ })
1876
+ .s("AppRunner", "ListObservabilityConfigurations", {})
1877
+ .n("AppRunnerClient", "ListObservabilityConfigurationsCommand")
1878
+ .f(void 0, void 0)
1879
+ .ser(se_ListObservabilityConfigurationsCommand)
1880
+ .de(de_ListObservabilityConfigurationsCommand)
1881
+ .build() {
1882
+ }
2210
1883
 
2211
- var UpdateServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2212
- return [
2213
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2214
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2215
- ];
2216
- }).s("AppRunner", "UpdateService", {}).n("AppRunnerClient", "UpdateServiceCommand").f(UpdateServiceRequestFilterSensitiveLog, UpdateServiceResponseFilterSensitiveLog).ser(se_UpdateServiceCommand).de(de_UpdateServiceCommand).build() {
2217
- static {
2218
- __name(this, "UpdateServiceCommand");
2219
- }
2220
- };
1884
+ class ListOperationsCommand extends smithyClient.Command
1885
+ .classBuilder()
1886
+ .ep(commonParams)
1887
+ .m(function (Command, cs, config, o) {
1888
+ return [
1889
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1890
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1891
+ ];
1892
+ })
1893
+ .s("AppRunner", "ListOperations", {})
1894
+ .n("AppRunnerClient", "ListOperationsCommand")
1895
+ .f(void 0, void 0)
1896
+ .ser(se_ListOperationsCommand)
1897
+ .de(de_ListOperationsCommand)
1898
+ .build() {
1899
+ }
2221
1900
 
2222
- // src/commands/UpdateVpcIngressConnectionCommand.ts
1901
+ class ListServicesCommand extends smithyClient.Command
1902
+ .classBuilder()
1903
+ .ep(commonParams)
1904
+ .m(function (Command, cs, config, o) {
1905
+ return [
1906
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1907
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1908
+ ];
1909
+ })
1910
+ .s("AppRunner", "ListServices", {})
1911
+ .n("AppRunnerClient", "ListServicesCommand")
1912
+ .f(void 0, void 0)
1913
+ .ser(se_ListServicesCommand)
1914
+ .de(de_ListServicesCommand)
1915
+ .build() {
1916
+ }
2223
1917
 
1918
+ class ListServicesForAutoScalingConfigurationCommand extends smithyClient.Command
1919
+ .classBuilder()
1920
+ .ep(commonParams)
1921
+ .m(function (Command, cs, config, o) {
1922
+ return [
1923
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1924
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1925
+ ];
1926
+ })
1927
+ .s("AppRunner", "ListServicesForAutoScalingConfiguration", {})
1928
+ .n("AppRunnerClient", "ListServicesForAutoScalingConfigurationCommand")
1929
+ .f(void 0, void 0)
1930
+ .ser(se_ListServicesForAutoScalingConfigurationCommand)
1931
+ .de(de_ListServicesForAutoScalingConfigurationCommand)
1932
+ .build() {
1933
+ }
2224
1934
 
1935
+ class ListTagsForResourceCommand extends smithyClient.Command
1936
+ .classBuilder()
1937
+ .ep(commonParams)
1938
+ .m(function (Command, cs, config, o) {
1939
+ return [
1940
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1941
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1942
+ ];
1943
+ })
1944
+ .s("AppRunner", "ListTagsForResource", {})
1945
+ .n("AppRunnerClient", "ListTagsForResourceCommand")
1946
+ .f(void 0, void 0)
1947
+ .ser(se_ListTagsForResourceCommand)
1948
+ .de(de_ListTagsForResourceCommand)
1949
+ .build() {
1950
+ }
2225
1951
 
2226
- var UpdateVpcIngressConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2227
- return [
2228
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2229
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2230
- ];
2231
- }).s("AppRunner", "UpdateVpcIngressConnection", {}).n("AppRunnerClient", "UpdateVpcIngressConnectionCommand").f(void 0, void 0).ser(se_UpdateVpcIngressConnectionCommand).de(de_UpdateVpcIngressConnectionCommand).build() {
2232
- static {
2233
- __name(this, "UpdateVpcIngressConnectionCommand");
2234
- }
2235
- };
1952
+ class ListVpcConnectorsCommand extends smithyClient.Command
1953
+ .classBuilder()
1954
+ .ep(commonParams)
1955
+ .m(function (Command, cs, config, o) {
1956
+ return [
1957
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1958
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1959
+ ];
1960
+ })
1961
+ .s("AppRunner", "ListVpcConnectors", {})
1962
+ .n("AppRunnerClient", "ListVpcConnectorsCommand")
1963
+ .f(void 0, void 0)
1964
+ .ser(se_ListVpcConnectorsCommand)
1965
+ .de(de_ListVpcConnectorsCommand)
1966
+ .build() {
1967
+ }
2236
1968
 
2237
- // src/AppRunner.ts
2238
- var commands = {
2239
- AssociateCustomDomainCommand,
2240
- CreateAutoScalingConfigurationCommand,
2241
- CreateConnectionCommand,
2242
- CreateObservabilityConfigurationCommand,
2243
- CreateServiceCommand,
2244
- CreateVpcConnectorCommand,
2245
- CreateVpcIngressConnectionCommand,
2246
- DeleteAutoScalingConfigurationCommand,
2247
- DeleteConnectionCommand,
2248
- DeleteObservabilityConfigurationCommand,
2249
- DeleteServiceCommand,
2250
- DeleteVpcConnectorCommand,
2251
- DeleteVpcIngressConnectionCommand,
2252
- DescribeAutoScalingConfigurationCommand,
2253
- DescribeCustomDomainsCommand,
2254
- DescribeObservabilityConfigurationCommand,
2255
- DescribeServiceCommand,
2256
- DescribeVpcConnectorCommand,
2257
- DescribeVpcIngressConnectionCommand,
2258
- DisassociateCustomDomainCommand,
2259
- ListAutoScalingConfigurationsCommand,
2260
- ListConnectionsCommand,
2261
- ListObservabilityConfigurationsCommand,
2262
- ListOperationsCommand,
2263
- ListServicesCommand,
2264
- ListServicesForAutoScalingConfigurationCommand,
2265
- ListTagsForResourceCommand,
2266
- ListVpcConnectorsCommand,
2267
- ListVpcIngressConnectionsCommand,
2268
- PauseServiceCommand,
2269
- ResumeServiceCommand,
2270
- StartDeploymentCommand,
2271
- TagResourceCommand,
2272
- UntagResourceCommand,
2273
- UpdateDefaultAutoScalingConfigurationCommand,
2274
- UpdateServiceCommand,
2275
- UpdateVpcIngressConnectionCommand
2276
- };
2277
- var AppRunner = class extends AppRunnerClient {
2278
- static {
2279
- __name(this, "AppRunner");
2280
- }
2281
- };
2282
- (0, import_smithy_client.createAggregatedClient)(commands, AppRunner);
1969
+ class ListVpcIngressConnectionsCommand extends smithyClient.Command
1970
+ .classBuilder()
1971
+ .ep(commonParams)
1972
+ .m(function (Command, cs, config, o) {
1973
+ return [
1974
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1975
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1976
+ ];
1977
+ })
1978
+ .s("AppRunner", "ListVpcIngressConnections", {})
1979
+ .n("AppRunnerClient", "ListVpcIngressConnectionsCommand")
1980
+ .f(void 0, void 0)
1981
+ .ser(se_ListVpcIngressConnectionsCommand)
1982
+ .de(de_ListVpcIngressConnectionsCommand)
1983
+ .build() {
1984
+ }
2283
1985
 
2284
- // src/pagination/DescribeCustomDomainsPaginator.ts
1986
+ class PauseServiceCommand extends smithyClient.Command
1987
+ .classBuilder()
1988
+ .ep(commonParams)
1989
+ .m(function (Command, cs, config, o) {
1990
+ return [
1991
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1992
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1993
+ ];
1994
+ })
1995
+ .s("AppRunner", "PauseService", {})
1996
+ .n("AppRunnerClient", "PauseServiceCommand")
1997
+ .f(void 0, PauseServiceResponseFilterSensitiveLog)
1998
+ .ser(se_PauseServiceCommand)
1999
+ .de(de_PauseServiceCommand)
2000
+ .build() {
2001
+ }
2285
2002
 
2286
- var paginateDescribeCustomDomains = (0, import_core.createPaginator)(AppRunnerClient, DescribeCustomDomainsCommand, "NextToken", "NextToken", "MaxResults");
2003
+ class ResumeServiceCommand extends smithyClient.Command
2004
+ .classBuilder()
2005
+ .ep(commonParams)
2006
+ .m(function (Command, cs, config, o) {
2007
+ return [
2008
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2009
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2010
+ ];
2011
+ })
2012
+ .s("AppRunner", "ResumeService", {})
2013
+ .n("AppRunnerClient", "ResumeServiceCommand")
2014
+ .f(void 0, ResumeServiceResponseFilterSensitiveLog)
2015
+ .ser(se_ResumeServiceCommand)
2016
+ .de(de_ResumeServiceCommand)
2017
+ .build() {
2018
+ }
2287
2019
 
2288
- // src/pagination/ListAutoScalingConfigurationsPaginator.ts
2020
+ class StartDeploymentCommand extends smithyClient.Command
2021
+ .classBuilder()
2022
+ .ep(commonParams)
2023
+ .m(function (Command, cs, config, o) {
2024
+ return [
2025
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2026
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2027
+ ];
2028
+ })
2029
+ .s("AppRunner", "StartDeployment", {})
2030
+ .n("AppRunnerClient", "StartDeploymentCommand")
2031
+ .f(void 0, void 0)
2032
+ .ser(se_StartDeploymentCommand)
2033
+ .de(de_StartDeploymentCommand)
2034
+ .build() {
2035
+ }
2289
2036
 
2290
- var paginateListAutoScalingConfigurations = (0, import_core.createPaginator)(AppRunnerClient, ListAutoScalingConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
2037
+ class TagResourceCommand extends smithyClient.Command
2038
+ .classBuilder()
2039
+ .ep(commonParams)
2040
+ .m(function (Command, cs, config, o) {
2041
+ return [
2042
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2043
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2044
+ ];
2045
+ })
2046
+ .s("AppRunner", "TagResource", {})
2047
+ .n("AppRunnerClient", "TagResourceCommand")
2048
+ .f(void 0, void 0)
2049
+ .ser(se_TagResourceCommand)
2050
+ .de(de_TagResourceCommand)
2051
+ .build() {
2052
+ }
2291
2053
 
2292
- // src/pagination/ListConnectionsPaginator.ts
2054
+ class UntagResourceCommand extends smithyClient.Command
2055
+ .classBuilder()
2056
+ .ep(commonParams)
2057
+ .m(function (Command, cs, config, o) {
2058
+ return [
2059
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2060
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2061
+ ];
2062
+ })
2063
+ .s("AppRunner", "UntagResource", {})
2064
+ .n("AppRunnerClient", "UntagResourceCommand")
2065
+ .f(void 0, void 0)
2066
+ .ser(se_UntagResourceCommand)
2067
+ .de(de_UntagResourceCommand)
2068
+ .build() {
2069
+ }
2293
2070
 
2294
- var paginateListConnections = (0, import_core.createPaginator)(AppRunnerClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
2071
+ class UpdateDefaultAutoScalingConfigurationCommand extends smithyClient.Command
2072
+ .classBuilder()
2073
+ .ep(commonParams)
2074
+ .m(function (Command, cs, config, o) {
2075
+ return [
2076
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2077
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2078
+ ];
2079
+ })
2080
+ .s("AppRunner", "UpdateDefaultAutoScalingConfiguration", {})
2081
+ .n("AppRunnerClient", "UpdateDefaultAutoScalingConfigurationCommand")
2082
+ .f(void 0, void 0)
2083
+ .ser(se_UpdateDefaultAutoScalingConfigurationCommand)
2084
+ .de(de_UpdateDefaultAutoScalingConfigurationCommand)
2085
+ .build() {
2086
+ }
2295
2087
 
2296
- // src/pagination/ListObservabilityConfigurationsPaginator.ts
2088
+ class UpdateServiceCommand extends smithyClient.Command
2089
+ .classBuilder()
2090
+ .ep(commonParams)
2091
+ .m(function (Command, cs, config, o) {
2092
+ return [
2093
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2094
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2095
+ ];
2096
+ })
2097
+ .s("AppRunner", "UpdateService", {})
2098
+ .n("AppRunnerClient", "UpdateServiceCommand")
2099
+ .f(UpdateServiceRequestFilterSensitiveLog, UpdateServiceResponseFilterSensitiveLog)
2100
+ .ser(se_UpdateServiceCommand)
2101
+ .de(de_UpdateServiceCommand)
2102
+ .build() {
2103
+ }
2297
2104
 
2298
- var paginateListObservabilityConfigurations = (0, import_core.createPaginator)(AppRunnerClient, ListObservabilityConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
2105
+ class UpdateVpcIngressConnectionCommand extends smithyClient.Command
2106
+ .classBuilder()
2107
+ .ep(commonParams)
2108
+ .m(function (Command, cs, config, o) {
2109
+ return [
2110
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2111
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2112
+ ];
2113
+ })
2114
+ .s("AppRunner", "UpdateVpcIngressConnection", {})
2115
+ .n("AppRunnerClient", "UpdateVpcIngressConnectionCommand")
2116
+ .f(void 0, void 0)
2117
+ .ser(se_UpdateVpcIngressConnectionCommand)
2118
+ .de(de_UpdateVpcIngressConnectionCommand)
2119
+ .build() {
2120
+ }
2299
2121
 
2300
- // src/pagination/ListOperationsPaginator.ts
2122
+ const commands = {
2123
+ AssociateCustomDomainCommand,
2124
+ CreateAutoScalingConfigurationCommand,
2125
+ CreateConnectionCommand,
2126
+ CreateObservabilityConfigurationCommand,
2127
+ CreateServiceCommand,
2128
+ CreateVpcConnectorCommand,
2129
+ CreateVpcIngressConnectionCommand,
2130
+ DeleteAutoScalingConfigurationCommand,
2131
+ DeleteConnectionCommand,
2132
+ DeleteObservabilityConfigurationCommand,
2133
+ DeleteServiceCommand,
2134
+ DeleteVpcConnectorCommand,
2135
+ DeleteVpcIngressConnectionCommand,
2136
+ DescribeAutoScalingConfigurationCommand,
2137
+ DescribeCustomDomainsCommand,
2138
+ DescribeObservabilityConfigurationCommand,
2139
+ DescribeServiceCommand,
2140
+ DescribeVpcConnectorCommand,
2141
+ DescribeVpcIngressConnectionCommand,
2142
+ DisassociateCustomDomainCommand,
2143
+ ListAutoScalingConfigurationsCommand,
2144
+ ListConnectionsCommand,
2145
+ ListObservabilityConfigurationsCommand,
2146
+ ListOperationsCommand,
2147
+ ListServicesCommand,
2148
+ ListServicesForAutoScalingConfigurationCommand,
2149
+ ListTagsForResourceCommand,
2150
+ ListVpcConnectorsCommand,
2151
+ ListVpcIngressConnectionsCommand,
2152
+ PauseServiceCommand,
2153
+ ResumeServiceCommand,
2154
+ StartDeploymentCommand,
2155
+ TagResourceCommand,
2156
+ UntagResourceCommand,
2157
+ UpdateDefaultAutoScalingConfigurationCommand,
2158
+ UpdateServiceCommand,
2159
+ UpdateVpcIngressConnectionCommand,
2160
+ };
2161
+ class AppRunner extends AppRunnerClient {
2162
+ }
2163
+ smithyClient.createAggregatedClient(commands, AppRunner);
2301
2164
 
2302
- var paginateListOperations = (0, import_core.createPaginator)(AppRunnerClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
2165
+ const paginateDescribeCustomDomains = core.createPaginator(AppRunnerClient, DescribeCustomDomainsCommand, "NextToken", "NextToken", "MaxResults");
2303
2166
 
2304
- // src/pagination/ListServicesForAutoScalingConfigurationPaginator.ts
2167
+ const paginateListAutoScalingConfigurations = core.createPaginator(AppRunnerClient, ListAutoScalingConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
2305
2168
 
2306
- var paginateListServicesForAutoScalingConfiguration = (0, import_core.createPaginator)(AppRunnerClient, ListServicesForAutoScalingConfigurationCommand, "NextToken", "NextToken", "MaxResults");
2169
+ const paginateListConnections = core.createPaginator(AppRunnerClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
2307
2170
 
2308
- // src/pagination/ListServicesPaginator.ts
2171
+ const paginateListObservabilityConfigurations = core.createPaginator(AppRunnerClient, ListObservabilityConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
2309
2172
 
2310
- var paginateListServices = (0, import_core.createPaginator)(AppRunnerClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
2173
+ const paginateListOperations = core.createPaginator(AppRunnerClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
2311
2174
 
2312
- // src/pagination/ListVpcConnectorsPaginator.ts
2175
+ const paginateListServicesForAutoScalingConfiguration = core.createPaginator(AppRunnerClient, ListServicesForAutoScalingConfigurationCommand, "NextToken", "NextToken", "MaxResults");
2313
2176
 
2314
- var paginateListVpcConnectors = (0, import_core.createPaginator)(AppRunnerClient, ListVpcConnectorsCommand, "NextToken", "NextToken", "MaxResults");
2177
+ const paginateListServices = core.createPaginator(AppRunnerClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
2315
2178
 
2316
- // src/pagination/ListVpcIngressConnectionsPaginator.ts
2179
+ const paginateListVpcConnectors = core.createPaginator(AppRunnerClient, ListVpcConnectorsCommand, "NextToken", "NextToken", "MaxResults");
2317
2180
 
2318
- var paginateListVpcIngressConnections = (0, import_core.createPaginator)(AppRunnerClient, ListVpcIngressConnectionsCommand, "NextToken", "NextToken", "MaxResults");
2319
- // Annotate the CommonJS export names for ESM import in node:
2181
+ const paginateListVpcIngressConnections = core.createPaginator(AppRunnerClient, ListVpcIngressConnectionsCommand, "NextToken", "NextToken", "MaxResults");
2320
2182
 
2321
- 0 && (module.exports = {
2322
- AppRunnerServiceException,
2323
- __Client,
2324
- AppRunnerClient,
2325
- AppRunner,
2326
- $Command,
2327
- AssociateCustomDomainCommand,
2328
- CreateAutoScalingConfigurationCommand,
2329
- CreateConnectionCommand,
2330
- CreateObservabilityConfigurationCommand,
2331
- CreateServiceCommand,
2332
- CreateVpcConnectorCommand,
2333
- CreateVpcIngressConnectionCommand,
2334
- DeleteAutoScalingConfigurationCommand,
2335
- DeleteConnectionCommand,
2336
- DeleteObservabilityConfigurationCommand,
2337
- DeleteServiceCommand,
2338
- DeleteVpcConnectorCommand,
2339
- DeleteVpcIngressConnectionCommand,
2340
- DescribeAutoScalingConfigurationCommand,
2341
- DescribeCustomDomainsCommand,
2342
- DescribeObservabilityConfigurationCommand,
2343
- DescribeServiceCommand,
2344
- DescribeVpcConnectorCommand,
2345
- DescribeVpcIngressConnectionCommand,
2346
- DisassociateCustomDomainCommand,
2347
- ListAutoScalingConfigurationsCommand,
2348
- ListConnectionsCommand,
2349
- ListObservabilityConfigurationsCommand,
2350
- ListOperationsCommand,
2351
- ListServicesCommand,
2352
- ListServicesForAutoScalingConfigurationCommand,
2353
- ListTagsForResourceCommand,
2354
- ListVpcConnectorsCommand,
2355
- ListVpcIngressConnectionsCommand,
2356
- PauseServiceCommand,
2357
- ResumeServiceCommand,
2358
- StartDeploymentCommand,
2359
- TagResourceCommand,
2360
- UntagResourceCommand,
2361
- UpdateDefaultAutoScalingConfigurationCommand,
2362
- UpdateServiceCommand,
2363
- UpdateVpcIngressConnectionCommand,
2364
- paginateDescribeCustomDomains,
2365
- paginateListAutoScalingConfigurations,
2366
- paginateListConnections,
2367
- paginateListObservabilityConfigurations,
2368
- paginateListOperations,
2369
- paginateListServicesForAutoScalingConfiguration,
2370
- paginateListServices,
2371
- paginateListVpcConnectors,
2372
- paginateListVpcIngressConnections,
2373
- CertificateValidationRecordStatus,
2374
- CustomDomainAssociationStatus,
2375
- InternalServiceErrorException,
2376
- InvalidRequestException,
2377
- InvalidStateException,
2378
- AutoScalingConfigurationStatus,
2379
- ServiceQuotaExceededException,
2380
- ProviderType,
2381
- ConnectionStatus,
2382
- TracingVendor,
2383
- ObservabilityConfigurationStatus,
2384
- HealthCheckProtocol,
2385
- EgressType,
2386
- IpAddressType,
2387
- Runtime,
2388
- ConfigurationSource,
2389
- SourceCodeVersionType,
2390
- ImageRepositoryType,
2391
- ServiceStatus,
2392
- VpcConnectorStatus,
2393
- VpcIngressConnectionStatus,
2394
- ResourceNotFoundException,
2395
- OperationStatus,
2396
- OperationType,
2397
- CodeConfigurationValuesFilterSensitiveLog,
2398
- CodeConfigurationFilterSensitiveLog,
2399
- CodeRepositoryFilterSensitiveLog,
2400
- ImageConfigurationFilterSensitiveLog,
2401
- ImageRepositoryFilterSensitiveLog,
2402
- SourceConfigurationFilterSensitiveLog,
2403
- CreateServiceRequestFilterSensitiveLog,
2404
- ServiceFilterSensitiveLog,
2405
- CreateServiceResponseFilterSensitiveLog,
2406
- DeleteServiceResponseFilterSensitiveLog,
2407
- DescribeServiceResponseFilterSensitiveLog,
2408
- PauseServiceResponseFilterSensitiveLog,
2409
- ResumeServiceResponseFilterSensitiveLog,
2410
- UpdateServiceRequestFilterSensitiveLog,
2411
- UpdateServiceResponseFilterSensitiveLog
2183
+ Object.defineProperty(exports, "$Command", {
2184
+ enumerable: true,
2185
+ get: function () { return smithyClient.Command; }
2412
2186
  });
2413
-
2187
+ Object.defineProperty(exports, "__Client", {
2188
+ enumerable: true,
2189
+ get: function () { return smithyClient.Client; }
2190
+ });
2191
+ exports.AppRunner = AppRunner;
2192
+ exports.AppRunnerClient = AppRunnerClient;
2193
+ exports.AppRunnerServiceException = AppRunnerServiceException;
2194
+ exports.AssociateCustomDomainCommand = AssociateCustomDomainCommand;
2195
+ exports.AutoScalingConfigurationStatus = AutoScalingConfigurationStatus;
2196
+ exports.CertificateValidationRecordStatus = CertificateValidationRecordStatus;
2197
+ exports.CodeConfigurationFilterSensitiveLog = CodeConfigurationFilterSensitiveLog;
2198
+ exports.CodeConfigurationValuesFilterSensitiveLog = CodeConfigurationValuesFilterSensitiveLog;
2199
+ exports.CodeRepositoryFilterSensitiveLog = CodeRepositoryFilterSensitiveLog;
2200
+ exports.ConfigurationSource = ConfigurationSource;
2201
+ exports.ConnectionStatus = ConnectionStatus;
2202
+ exports.CreateAutoScalingConfigurationCommand = CreateAutoScalingConfigurationCommand;
2203
+ exports.CreateConnectionCommand = CreateConnectionCommand;
2204
+ exports.CreateObservabilityConfigurationCommand = CreateObservabilityConfigurationCommand;
2205
+ exports.CreateServiceCommand = CreateServiceCommand;
2206
+ exports.CreateServiceRequestFilterSensitiveLog = CreateServiceRequestFilterSensitiveLog;
2207
+ exports.CreateServiceResponseFilterSensitiveLog = CreateServiceResponseFilterSensitiveLog;
2208
+ exports.CreateVpcConnectorCommand = CreateVpcConnectorCommand;
2209
+ exports.CreateVpcIngressConnectionCommand = CreateVpcIngressConnectionCommand;
2210
+ exports.CustomDomainAssociationStatus = CustomDomainAssociationStatus;
2211
+ exports.DeleteAutoScalingConfigurationCommand = DeleteAutoScalingConfigurationCommand;
2212
+ exports.DeleteConnectionCommand = DeleteConnectionCommand;
2213
+ exports.DeleteObservabilityConfigurationCommand = DeleteObservabilityConfigurationCommand;
2214
+ exports.DeleteServiceCommand = DeleteServiceCommand;
2215
+ exports.DeleteServiceResponseFilterSensitiveLog = DeleteServiceResponseFilterSensitiveLog;
2216
+ exports.DeleteVpcConnectorCommand = DeleteVpcConnectorCommand;
2217
+ exports.DeleteVpcIngressConnectionCommand = DeleteVpcIngressConnectionCommand;
2218
+ exports.DescribeAutoScalingConfigurationCommand = DescribeAutoScalingConfigurationCommand;
2219
+ exports.DescribeCustomDomainsCommand = DescribeCustomDomainsCommand;
2220
+ exports.DescribeObservabilityConfigurationCommand = DescribeObservabilityConfigurationCommand;
2221
+ exports.DescribeServiceCommand = DescribeServiceCommand;
2222
+ exports.DescribeServiceResponseFilterSensitiveLog = DescribeServiceResponseFilterSensitiveLog;
2223
+ exports.DescribeVpcConnectorCommand = DescribeVpcConnectorCommand;
2224
+ exports.DescribeVpcIngressConnectionCommand = DescribeVpcIngressConnectionCommand;
2225
+ exports.DisassociateCustomDomainCommand = DisassociateCustomDomainCommand;
2226
+ exports.EgressType = EgressType;
2227
+ exports.HealthCheckProtocol = HealthCheckProtocol;
2228
+ exports.ImageConfigurationFilterSensitiveLog = ImageConfigurationFilterSensitiveLog;
2229
+ exports.ImageRepositoryFilterSensitiveLog = ImageRepositoryFilterSensitiveLog;
2230
+ exports.ImageRepositoryType = ImageRepositoryType;
2231
+ exports.InternalServiceErrorException = InternalServiceErrorException;
2232
+ exports.InvalidRequestException = InvalidRequestException;
2233
+ exports.InvalidStateException = InvalidStateException;
2234
+ exports.IpAddressType = IpAddressType;
2235
+ exports.ListAutoScalingConfigurationsCommand = ListAutoScalingConfigurationsCommand;
2236
+ exports.ListConnectionsCommand = ListConnectionsCommand;
2237
+ exports.ListObservabilityConfigurationsCommand = ListObservabilityConfigurationsCommand;
2238
+ exports.ListOperationsCommand = ListOperationsCommand;
2239
+ exports.ListServicesCommand = ListServicesCommand;
2240
+ exports.ListServicesForAutoScalingConfigurationCommand = ListServicesForAutoScalingConfigurationCommand;
2241
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2242
+ exports.ListVpcConnectorsCommand = ListVpcConnectorsCommand;
2243
+ exports.ListVpcIngressConnectionsCommand = ListVpcIngressConnectionsCommand;
2244
+ exports.ObservabilityConfigurationStatus = ObservabilityConfigurationStatus;
2245
+ exports.OperationStatus = OperationStatus;
2246
+ exports.OperationType = OperationType;
2247
+ exports.PauseServiceCommand = PauseServiceCommand;
2248
+ exports.PauseServiceResponseFilterSensitiveLog = PauseServiceResponseFilterSensitiveLog;
2249
+ exports.ProviderType = ProviderType;
2250
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2251
+ exports.ResumeServiceCommand = ResumeServiceCommand;
2252
+ exports.ResumeServiceResponseFilterSensitiveLog = ResumeServiceResponseFilterSensitiveLog;
2253
+ exports.Runtime = Runtime;
2254
+ exports.ServiceFilterSensitiveLog = ServiceFilterSensitiveLog;
2255
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2256
+ exports.ServiceStatus = ServiceStatus;
2257
+ exports.SourceCodeVersionType = SourceCodeVersionType;
2258
+ exports.SourceConfigurationFilterSensitiveLog = SourceConfigurationFilterSensitiveLog;
2259
+ exports.StartDeploymentCommand = StartDeploymentCommand;
2260
+ exports.TagResourceCommand = TagResourceCommand;
2261
+ exports.TracingVendor = TracingVendor;
2262
+ exports.UntagResourceCommand = UntagResourceCommand;
2263
+ exports.UpdateDefaultAutoScalingConfigurationCommand = UpdateDefaultAutoScalingConfigurationCommand;
2264
+ exports.UpdateServiceCommand = UpdateServiceCommand;
2265
+ exports.UpdateServiceRequestFilterSensitiveLog = UpdateServiceRequestFilterSensitiveLog;
2266
+ exports.UpdateServiceResponseFilterSensitiveLog = UpdateServiceResponseFilterSensitiveLog;
2267
+ exports.UpdateVpcIngressConnectionCommand = UpdateVpcIngressConnectionCommand;
2268
+ exports.VpcConnectorStatus = VpcConnectorStatus;
2269
+ exports.VpcIngressConnectionStatus = VpcIngressConnectionStatus;
2270
+ exports.paginateDescribeCustomDomains = paginateDescribeCustomDomains;
2271
+ exports.paginateListAutoScalingConfigurations = paginateListAutoScalingConfigurations;
2272
+ exports.paginateListConnections = paginateListConnections;
2273
+ exports.paginateListObservabilityConfigurations = paginateListObservabilityConfigurations;
2274
+ exports.paginateListOperations = paginateListOperations;
2275
+ exports.paginateListServices = paginateListServices;
2276
+ exports.paginateListServicesForAutoScalingConfiguration = paginateListServicesForAutoScalingConfiguration;
2277
+ exports.paginateListVpcConnectors = paginateListVpcConnectors;
2278
+ exports.paginateListVpcIngressConnections = paginateListVpcIngressConnections;