@aws-sdk/client-kinesis-analytics 3.901.0 → 3.907.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 +1242 -1394
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -1,1445 +1,1293 @@
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
- AddApplicationCloudWatchLoggingOptionCommand: () => AddApplicationCloudWatchLoggingOptionCommand,
25
- AddApplicationInputCommand: () => AddApplicationInputCommand,
26
- AddApplicationInputProcessingConfigurationCommand: () => AddApplicationInputProcessingConfigurationCommand,
27
- AddApplicationOutputCommand: () => AddApplicationOutputCommand,
28
- AddApplicationReferenceDataSourceCommand: () => AddApplicationReferenceDataSourceCommand,
29
- ApplicationStatus: () => ApplicationStatus,
30
- CodeValidationException: () => CodeValidationException,
31
- ConcurrentModificationException: () => ConcurrentModificationException,
32
- CreateApplicationCommand: () => CreateApplicationCommand,
33
- DeleteApplicationCloudWatchLoggingOptionCommand: () => DeleteApplicationCloudWatchLoggingOptionCommand,
34
- DeleteApplicationCommand: () => DeleteApplicationCommand,
35
- DeleteApplicationInputProcessingConfigurationCommand: () => DeleteApplicationInputProcessingConfigurationCommand,
36
- DeleteApplicationOutputCommand: () => DeleteApplicationOutputCommand,
37
- DeleteApplicationReferenceDataSourceCommand: () => DeleteApplicationReferenceDataSourceCommand,
38
- DescribeApplicationCommand: () => DescribeApplicationCommand,
39
- DiscoverInputSchemaCommand: () => DiscoverInputSchemaCommand,
40
- InputStartingPosition: () => InputStartingPosition,
41
- InvalidApplicationConfigurationException: () => InvalidApplicationConfigurationException,
42
- InvalidArgumentException: () => InvalidArgumentException,
43
- KinesisAnalytics: () => KinesisAnalytics,
44
- KinesisAnalyticsClient: () => KinesisAnalyticsClient,
45
- KinesisAnalyticsServiceException: () => KinesisAnalyticsServiceException,
46
- LimitExceededException: () => LimitExceededException,
47
- ListApplicationsCommand: () => ListApplicationsCommand,
48
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
49
- RecordFormatType: () => RecordFormatType,
50
- ResourceInUseException: () => ResourceInUseException,
51
- ResourceNotFoundException: () => ResourceNotFoundException,
52
- ResourceProvisionedThroughputExceededException: () => ResourceProvisionedThroughputExceededException,
53
- ServiceUnavailableException: () => ServiceUnavailableException,
54
- StartApplicationCommand: () => StartApplicationCommand,
55
- StopApplicationCommand: () => StopApplicationCommand,
56
- TagResourceCommand: () => TagResourceCommand,
57
- TooManyTagsException: () => TooManyTagsException,
58
- UnableToDetectSchemaException: () => UnableToDetectSchemaException,
59
- UnsupportedOperationException: () => UnsupportedOperationException,
60
- UntagResourceCommand: () => UntagResourceCommand,
61
- UpdateApplicationCommand: () => UpdateApplicationCommand,
62
- __Client: () => import_smithy_client.Client
63
- });
64
- module.exports = __toCommonJS(index_exports);
65
-
66
- // src/KinesisAnalyticsClient.ts
67
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
68
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
69
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
70
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
71
- var import_config_resolver = require("@smithy/config-resolver");
72
- var import_core = require("@smithy/core");
73
- var import_middleware_content_length = require("@smithy/middleware-content-length");
74
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
75
- var import_middleware_retry = require("@smithy/middleware-retry");
76
-
77
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
78
-
79
- // src/endpoint/EndpointParameters.ts
80
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
81
- return Object.assign(options, {
82
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
83
- useFipsEndpoint: options.useFipsEndpoint ?? false,
84
- defaultSigningName: "kinesisanalytics"
85
- });
86
- }, "resolveClientEndpointParameters");
87
- var commonParams = {
88
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
89
- Endpoint: { type: "builtInParams", name: "endpoint" },
90
- Region: { type: "builtInParams", name: "region" },
91
- 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: "kinesisanalytics",
25
+ });
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" },
92
32
  };
93
33
 
94
- // src/KinesisAnalyticsClient.ts
95
- var import_runtimeConfig = require("././runtimeConfig");
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
+ };
96
72
 
97
- // src/runtimeExtensions.ts
98
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
99
- var import_protocol_http = require("@smithy/protocol-http");
100
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
101
78
 
102
- // src/auth/httpAuthExtensionConfiguration.ts
103
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
104
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
105
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
106
- let _credentials = runtimeConfig.credentials;
107
- return {
108
- setHttpAuthScheme(httpAuthScheme) {
109
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
110
- if (index === -1) {
111
- _httpAuthSchemes.push(httpAuthScheme);
112
- } else {
113
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
114
- }
115
- },
116
- httpAuthSchemes() {
117
- return _httpAuthSchemes;
118
- },
119
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
120
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
121
- },
122
- httpAuthSchemeProvider() {
123
- return _httpAuthSchemeProvider;
124
- },
125
- setCredentials(credentials) {
126
- _credentials = credentials;
127
- },
128
- credentials() {
129
- return _credentials;
79
+ class KinesisAnalyticsClient 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.defaultKinesisAnalyticsHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
130
107
  }
131
- };
132
- }, "getHttpAuthExtensionConfiguration");
133
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
134
- return {
135
- httpAuthSchemes: config.httpAuthSchemes(),
136
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
137
- credentials: config.credentials()
138
- };
139
- }, "resolveHttpAuthRuntimeConfig");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
140
112
 
141
- // src/runtimeExtensions.ts
142
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
143
- const extensionConfiguration = Object.assign(
144
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
145
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
146
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
147
- getHttpAuthExtensionConfiguration(runtimeConfig)
148
- );
149
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
150
- return Object.assign(
151
- runtimeConfig,
152
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
153
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
154
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
155
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
156
- );
157
- }, "resolveRuntimeExtensions");
113
+ class KinesisAnalyticsServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, KinesisAnalyticsServiceException.prototype);
117
+ }
118
+ }
158
119
 
159
- // src/KinesisAnalyticsClient.ts
160
- var KinesisAnalyticsClient = class extends import_smithy_client.Client {
161
- static {
162
- __name(this, "KinesisAnalyticsClient");
163
- }
164
- /**
165
- * The resolved configuration of KinesisAnalyticsClient class. This is resolved and normalized from the {@link KinesisAnalyticsClientConfig | constructor configuration interface}.
166
- */
167
- config;
168
- constructor(...[configuration]) {
169
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
170
- super(_config_0);
171
- this.initConfig = _config_0;
172
- const _config_1 = resolveClientEndpointParameters(_config_0);
173
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
174
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
175
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
176
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
177
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
178
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
179
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
180
- this.config = _config_8;
181
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
182
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
183
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
184
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
185
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
186
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
187
- this.middlewareStack.use(
188
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
189
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultKinesisAnalyticsHttpAuthSchemeParametersProvider,
190
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
191
- "aws.auth#sigv4": config.credentials
192
- }), "identityProviderConfigProvider")
193
- })
194
- );
195
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
196
- }
197
- /**
198
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
199
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
200
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
201
- */
202
- destroy() {
203
- super.destroy();
204
- }
120
+ class ConcurrentModificationException extends KinesisAnalyticsServiceException {
121
+ name = "ConcurrentModificationException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "ConcurrentModificationException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
130
+ }
131
+ }
132
+ class InvalidArgumentException extends KinesisAnalyticsServiceException {
133
+ name = "InvalidArgumentException";
134
+ $fault = "client";
135
+ constructor(opts) {
136
+ super({
137
+ name: "InvalidArgumentException",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
142
+ }
143
+ }
144
+ class ResourceInUseException extends KinesisAnalyticsServiceException {
145
+ name = "ResourceInUseException";
146
+ $fault = "client";
147
+ constructor(opts) {
148
+ super({
149
+ name: "ResourceInUseException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
154
+ }
155
+ }
156
+ class ResourceNotFoundException extends KinesisAnalyticsServiceException {
157
+ name = "ResourceNotFoundException";
158
+ $fault = "client";
159
+ constructor(opts) {
160
+ super({
161
+ name: "ResourceNotFoundException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
166
+ }
167
+ }
168
+ class UnsupportedOperationException extends KinesisAnalyticsServiceException {
169
+ name = "UnsupportedOperationException";
170
+ $fault = "client";
171
+ constructor(opts) {
172
+ super({
173
+ name: "UnsupportedOperationException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
178
+ }
179
+ }
180
+ const RecordFormatType = {
181
+ CSV: "CSV",
182
+ JSON: "JSON",
205
183
  };
206
-
207
- // src/KinesisAnalytics.ts
208
-
209
-
210
- // src/commands/AddApplicationCloudWatchLoggingOptionCommand.ts
211
-
212
- var import_middleware_serde = require("@smithy/middleware-serde");
213
-
214
-
215
- // src/protocols/Aws_json1_1.ts
216
- var import_core2 = require("@aws-sdk/core");
217
-
218
-
219
-
220
- // src/models/KinesisAnalyticsServiceException.ts
221
-
222
- var KinesisAnalyticsServiceException = class _KinesisAnalyticsServiceException extends import_smithy_client.ServiceException {
223
- static {
224
- __name(this, "KinesisAnalyticsServiceException");
225
- }
226
- /**
227
- * @internal
228
- */
229
- constructor(options) {
230
- super(options);
231
- Object.setPrototypeOf(this, _KinesisAnalyticsServiceException.prototype);
232
- }
184
+ class CodeValidationException extends KinesisAnalyticsServiceException {
185
+ name = "CodeValidationException";
186
+ $fault = "client";
187
+ constructor(opts) {
188
+ super({
189
+ name: "CodeValidationException",
190
+ $fault: "client",
191
+ ...opts,
192
+ });
193
+ Object.setPrototypeOf(this, CodeValidationException.prototype);
194
+ }
195
+ }
196
+ const ApplicationStatus = {
197
+ DELETING: "DELETING",
198
+ READY: "READY",
199
+ RUNNING: "RUNNING",
200
+ STARTING: "STARTING",
201
+ STOPPING: "STOPPING",
202
+ UPDATING: "UPDATING",
233
203
  };
204
+ const InputStartingPosition = {
205
+ LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
206
+ NOW: "NOW",
207
+ TRIM_HORIZON: "TRIM_HORIZON",
208
+ };
209
+ class LimitExceededException extends KinesisAnalyticsServiceException {
210
+ name = "LimitExceededException";
211
+ $fault = "client";
212
+ constructor(opts) {
213
+ super({
214
+ name: "LimitExceededException",
215
+ $fault: "client",
216
+ ...opts,
217
+ });
218
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
219
+ }
220
+ }
221
+ class TooManyTagsException extends KinesisAnalyticsServiceException {
222
+ name = "TooManyTagsException";
223
+ $fault = "client";
224
+ constructor(opts) {
225
+ super({
226
+ name: "TooManyTagsException",
227
+ $fault: "client",
228
+ ...opts,
229
+ });
230
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
231
+ }
232
+ }
233
+ class ResourceProvisionedThroughputExceededException extends KinesisAnalyticsServiceException {
234
+ name = "ResourceProvisionedThroughputExceededException";
235
+ $fault = "client";
236
+ constructor(opts) {
237
+ super({
238
+ name: "ResourceProvisionedThroughputExceededException",
239
+ $fault: "client",
240
+ ...opts,
241
+ });
242
+ Object.setPrototypeOf(this, ResourceProvisionedThroughputExceededException.prototype);
243
+ }
244
+ }
245
+ class ServiceUnavailableException extends KinesisAnalyticsServiceException {
246
+ name = "ServiceUnavailableException";
247
+ $fault = "server";
248
+ constructor(opts) {
249
+ super({
250
+ name: "ServiceUnavailableException",
251
+ $fault: "server",
252
+ ...opts,
253
+ });
254
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
255
+ }
256
+ }
257
+ class UnableToDetectSchemaException extends KinesisAnalyticsServiceException {
258
+ name = "UnableToDetectSchemaException";
259
+ $fault = "client";
260
+ RawInputRecords;
261
+ ProcessedInputRecords;
262
+ constructor(opts) {
263
+ super({
264
+ name: "UnableToDetectSchemaException",
265
+ $fault: "client",
266
+ ...opts,
267
+ });
268
+ Object.setPrototypeOf(this, UnableToDetectSchemaException.prototype);
269
+ this.RawInputRecords = opts.RawInputRecords;
270
+ this.ProcessedInputRecords = opts.ProcessedInputRecords;
271
+ }
272
+ }
273
+ class InvalidApplicationConfigurationException extends KinesisAnalyticsServiceException {
274
+ name = "InvalidApplicationConfigurationException";
275
+ $fault = "client";
276
+ constructor(opts) {
277
+ super({
278
+ name: "InvalidApplicationConfigurationException",
279
+ $fault: "client",
280
+ ...opts,
281
+ });
282
+ Object.setPrototypeOf(this, InvalidApplicationConfigurationException.prototype);
283
+ }
284
+ }
234
285
 
235
- // src/models/models_0.ts
236
- var ConcurrentModificationException = class _ConcurrentModificationException extends KinesisAnalyticsServiceException {
237
- static {
238
- __name(this, "ConcurrentModificationException");
239
- }
240
- name = "ConcurrentModificationException";
241
- $fault = "client";
242
- /**
243
- * @internal
244
- */
245
- constructor(opts) {
246
- super({
247
- name: "ConcurrentModificationException",
248
- $fault: "client",
249
- ...opts
250
- });
251
- Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
252
- }
253
- };
254
- var InvalidArgumentException = class _InvalidArgumentException extends KinesisAnalyticsServiceException {
255
- static {
256
- __name(this, "InvalidArgumentException");
257
- }
258
- name = "InvalidArgumentException";
259
- $fault = "client";
260
- /**
261
- * @internal
262
- */
263
- constructor(opts) {
264
- super({
265
- name: "InvalidArgumentException",
266
- $fault: "client",
267
- ...opts
268
- });
269
- Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
270
- }
271
- };
272
- var ResourceInUseException = class _ResourceInUseException extends KinesisAnalyticsServiceException {
273
- static {
274
- __name(this, "ResourceInUseException");
275
- }
276
- name = "ResourceInUseException";
277
- $fault = "client";
278
- /**
279
- * @internal
280
- */
281
- constructor(opts) {
282
- super({
283
- name: "ResourceInUseException",
284
- $fault: "client",
285
- ...opts
286
- });
287
- Object.setPrototypeOf(this, _ResourceInUseException.prototype);
288
- }
289
- };
290
- var ResourceNotFoundException = class _ResourceNotFoundException extends KinesisAnalyticsServiceException {
291
- static {
292
- __name(this, "ResourceNotFoundException");
293
- }
294
- name = "ResourceNotFoundException";
295
- $fault = "client";
296
- /**
297
- * @internal
298
- */
299
- constructor(opts) {
300
- super({
301
- name: "ResourceNotFoundException",
302
- $fault: "client",
303
- ...opts
304
- });
305
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
306
- }
307
- };
308
- var UnsupportedOperationException = class _UnsupportedOperationException extends KinesisAnalyticsServiceException {
309
- static {
310
- __name(this, "UnsupportedOperationException");
311
- }
312
- name = "UnsupportedOperationException";
313
- $fault = "client";
314
- /**
315
- * @internal
316
- */
317
- constructor(opts) {
318
- super({
319
- name: "UnsupportedOperationException",
320
- $fault: "client",
321
- ...opts
322
- });
323
- Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
324
- }
325
- };
326
- var RecordFormatType = {
327
- CSV: "CSV",
328
- JSON: "JSON"
329
- };
330
- var CodeValidationException = class _CodeValidationException extends KinesisAnalyticsServiceException {
331
- static {
332
- __name(this, "CodeValidationException");
333
- }
334
- name = "CodeValidationException";
335
- $fault = "client";
336
- /**
337
- * @internal
338
- */
339
- constructor(opts) {
340
- super({
341
- name: "CodeValidationException",
342
- $fault: "client",
343
- ...opts
344
- });
345
- Object.setPrototypeOf(this, _CodeValidationException.prototype);
346
- }
347
- };
348
- var ApplicationStatus = {
349
- DELETING: "DELETING",
350
- READY: "READY",
351
- RUNNING: "RUNNING",
352
- STARTING: "STARTING",
353
- STOPPING: "STOPPING",
354
- UPDATING: "UPDATING"
355
- };
356
- var InputStartingPosition = {
357
- LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
358
- NOW: "NOW",
359
- TRIM_HORIZON: "TRIM_HORIZON"
360
- };
361
- var LimitExceededException = class _LimitExceededException extends KinesisAnalyticsServiceException {
362
- static {
363
- __name(this, "LimitExceededException");
364
- }
365
- name = "LimitExceededException";
366
- $fault = "client";
367
- /**
368
- * @internal
369
- */
370
- constructor(opts) {
371
- super({
372
- name: "LimitExceededException",
373
- $fault: "client",
374
- ...opts
375
- });
376
- Object.setPrototypeOf(this, _LimitExceededException.prototype);
377
- }
378
- };
379
- var TooManyTagsException = class _TooManyTagsException extends KinesisAnalyticsServiceException {
380
- static {
381
- __name(this, "TooManyTagsException");
382
- }
383
- name = "TooManyTagsException";
384
- $fault = "client";
385
- /**
386
- * @internal
387
- */
388
- constructor(opts) {
389
- super({
390
- name: "TooManyTagsException",
391
- $fault: "client",
392
- ...opts
393
- });
394
- Object.setPrototypeOf(this, _TooManyTagsException.prototype);
395
- }
396
- };
397
- var ResourceProvisionedThroughputExceededException = class _ResourceProvisionedThroughputExceededException extends KinesisAnalyticsServiceException {
398
- static {
399
- __name(this, "ResourceProvisionedThroughputExceededException");
400
- }
401
- name = "ResourceProvisionedThroughputExceededException";
402
- $fault = "client";
403
- /**
404
- * @internal
405
- */
406
- constructor(opts) {
407
- super({
408
- name: "ResourceProvisionedThroughputExceededException",
409
- $fault: "client",
410
- ...opts
411
- });
412
- Object.setPrototypeOf(this, _ResourceProvisionedThroughputExceededException.prototype);
413
- }
414
- };
415
- var ServiceUnavailableException = class _ServiceUnavailableException extends KinesisAnalyticsServiceException {
416
- static {
417
- __name(this, "ServiceUnavailableException");
418
- }
419
- name = "ServiceUnavailableException";
420
- $fault = "server";
421
- /**
422
- * @internal
423
- */
424
- constructor(opts) {
425
- super({
426
- name: "ServiceUnavailableException",
427
- $fault: "server",
428
- ...opts
429
- });
430
- Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
431
- }
432
- };
433
- var UnableToDetectSchemaException = class _UnableToDetectSchemaException extends KinesisAnalyticsServiceException {
434
- static {
435
- __name(this, "UnableToDetectSchemaException");
436
- }
437
- name = "UnableToDetectSchemaException";
438
- $fault = "client";
439
- RawInputRecords;
440
- ProcessedInputRecords;
441
- /**
442
- * @internal
443
- */
444
- constructor(opts) {
445
- super({
446
- name: "UnableToDetectSchemaException",
447
- $fault: "client",
448
- ...opts
286
+ const se_AddApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
287
+ const headers = sharedHeaders("AddApplicationCloudWatchLoggingOption");
288
+ let body;
289
+ body = JSON.stringify(smithyClient._json(input));
290
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
291
+ };
292
+ const se_AddApplicationInputCommand = async (input, context) => {
293
+ const headers = sharedHeaders("AddApplicationInput");
294
+ let body;
295
+ body = JSON.stringify(smithyClient._json(input));
296
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
297
+ };
298
+ const se_AddApplicationInputProcessingConfigurationCommand = async (input, context) => {
299
+ const headers = sharedHeaders("AddApplicationInputProcessingConfiguration");
300
+ let body;
301
+ body = JSON.stringify(smithyClient._json(input));
302
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
303
+ };
304
+ const se_AddApplicationOutputCommand = async (input, context) => {
305
+ const headers = sharedHeaders("AddApplicationOutput");
306
+ let body;
307
+ body = JSON.stringify(smithyClient._json(input));
308
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
309
+ };
310
+ const se_AddApplicationReferenceDataSourceCommand = async (input, context) => {
311
+ const headers = sharedHeaders("AddApplicationReferenceDataSource");
312
+ let body;
313
+ body = JSON.stringify(smithyClient._json(input));
314
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
315
+ };
316
+ const se_CreateApplicationCommand = async (input, context) => {
317
+ const headers = sharedHeaders("CreateApplication");
318
+ let body;
319
+ body = JSON.stringify(smithyClient._json(input));
320
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
321
+ };
322
+ const se_DeleteApplicationCommand = async (input, context) => {
323
+ const headers = sharedHeaders("DeleteApplication");
324
+ let body;
325
+ body = JSON.stringify(se_DeleteApplicationRequest(input));
326
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
327
+ };
328
+ const se_DeleteApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
329
+ const headers = sharedHeaders("DeleteApplicationCloudWatchLoggingOption");
330
+ let body;
331
+ body = JSON.stringify(smithyClient._json(input));
332
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
333
+ };
334
+ const se_DeleteApplicationInputProcessingConfigurationCommand = async (input, context) => {
335
+ const headers = sharedHeaders("DeleteApplicationInputProcessingConfiguration");
336
+ let body;
337
+ body = JSON.stringify(smithyClient._json(input));
338
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
339
+ };
340
+ const se_DeleteApplicationOutputCommand = async (input, context) => {
341
+ const headers = sharedHeaders("DeleteApplicationOutput");
342
+ let body;
343
+ body = JSON.stringify(smithyClient._json(input));
344
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
345
+ };
346
+ const se_DeleteApplicationReferenceDataSourceCommand = async (input, context) => {
347
+ const headers = sharedHeaders("DeleteApplicationReferenceDataSource");
348
+ let body;
349
+ body = JSON.stringify(smithyClient._json(input));
350
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
351
+ };
352
+ const se_DescribeApplicationCommand = async (input, context) => {
353
+ const headers = sharedHeaders("DescribeApplication");
354
+ let body;
355
+ body = JSON.stringify(smithyClient._json(input));
356
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
357
+ };
358
+ const se_DiscoverInputSchemaCommand = async (input, context) => {
359
+ const headers = sharedHeaders("DiscoverInputSchema");
360
+ let body;
361
+ body = JSON.stringify(smithyClient._json(input));
362
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
363
+ };
364
+ const se_ListApplicationsCommand = async (input, context) => {
365
+ const headers = sharedHeaders("ListApplications");
366
+ let body;
367
+ body = JSON.stringify(smithyClient._json(input));
368
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
369
+ };
370
+ const se_ListTagsForResourceCommand = async (input, context) => {
371
+ const headers = sharedHeaders("ListTagsForResource");
372
+ let body;
373
+ body = JSON.stringify(smithyClient._json(input));
374
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
375
+ };
376
+ const se_StartApplicationCommand = async (input, context) => {
377
+ const headers = sharedHeaders("StartApplication");
378
+ let body;
379
+ body = JSON.stringify(smithyClient._json(input));
380
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
381
+ };
382
+ const se_StopApplicationCommand = async (input, context) => {
383
+ const headers = sharedHeaders("StopApplication");
384
+ let body;
385
+ body = JSON.stringify(smithyClient._json(input));
386
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
387
+ };
388
+ const se_TagResourceCommand = async (input, context) => {
389
+ const headers = sharedHeaders("TagResource");
390
+ let body;
391
+ body = JSON.stringify(smithyClient._json(input));
392
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
393
+ };
394
+ const se_UntagResourceCommand = async (input, context) => {
395
+ const headers = sharedHeaders("UntagResource");
396
+ let body;
397
+ body = JSON.stringify(smithyClient._json(input));
398
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
399
+ };
400
+ const se_UpdateApplicationCommand = async (input, context) => {
401
+ const headers = sharedHeaders("UpdateApplication");
402
+ let body;
403
+ body = JSON.stringify(smithyClient._json(input));
404
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
405
+ };
406
+ const de_AddApplicationCloudWatchLoggingOptionCommand = async (output, context) => {
407
+ if (output.statusCode >= 300) {
408
+ return de_CommandError(output, context);
409
+ }
410
+ const data = await core$1.parseJsonBody(output.body, context);
411
+ let contents = {};
412
+ contents = smithyClient._json(data);
413
+ const response = {
414
+ $metadata: deserializeMetadata(output),
415
+ ...contents,
416
+ };
417
+ return response;
418
+ };
419
+ const de_AddApplicationInputCommand = async (output, context) => {
420
+ if (output.statusCode >= 300) {
421
+ return de_CommandError(output, context);
422
+ }
423
+ const data = await core$1.parseJsonBody(output.body, context);
424
+ let contents = {};
425
+ contents = smithyClient._json(data);
426
+ const response = {
427
+ $metadata: deserializeMetadata(output),
428
+ ...contents,
429
+ };
430
+ return response;
431
+ };
432
+ const de_AddApplicationInputProcessingConfigurationCommand = async (output, context) => {
433
+ if (output.statusCode >= 300) {
434
+ return de_CommandError(output, context);
435
+ }
436
+ const data = await core$1.parseJsonBody(output.body, context);
437
+ let contents = {};
438
+ contents = smithyClient._json(data);
439
+ const response = {
440
+ $metadata: deserializeMetadata(output),
441
+ ...contents,
442
+ };
443
+ return response;
444
+ };
445
+ const de_AddApplicationOutputCommand = async (output, context) => {
446
+ if (output.statusCode >= 300) {
447
+ return de_CommandError(output, context);
448
+ }
449
+ const data = await core$1.parseJsonBody(output.body, context);
450
+ let contents = {};
451
+ contents = smithyClient._json(data);
452
+ const response = {
453
+ $metadata: deserializeMetadata(output),
454
+ ...contents,
455
+ };
456
+ return response;
457
+ };
458
+ const de_AddApplicationReferenceDataSourceCommand = async (output, context) => {
459
+ if (output.statusCode >= 300) {
460
+ return de_CommandError(output, context);
461
+ }
462
+ const data = await core$1.parseJsonBody(output.body, context);
463
+ let contents = {};
464
+ contents = smithyClient._json(data);
465
+ const response = {
466
+ $metadata: deserializeMetadata(output),
467
+ ...contents,
468
+ };
469
+ return response;
470
+ };
471
+ const de_CreateApplicationCommand = async (output, context) => {
472
+ if (output.statusCode >= 300) {
473
+ return de_CommandError(output, context);
474
+ }
475
+ const data = await core$1.parseJsonBody(output.body, context);
476
+ let contents = {};
477
+ contents = smithyClient._json(data);
478
+ const response = {
479
+ $metadata: deserializeMetadata(output),
480
+ ...contents,
481
+ };
482
+ return response;
483
+ };
484
+ const de_DeleteApplicationCommand = async (output, context) => {
485
+ if (output.statusCode >= 300) {
486
+ return de_CommandError(output, context);
487
+ }
488
+ const data = await core$1.parseJsonBody(output.body, context);
489
+ let contents = {};
490
+ contents = smithyClient._json(data);
491
+ const response = {
492
+ $metadata: deserializeMetadata(output),
493
+ ...contents,
494
+ };
495
+ return response;
496
+ };
497
+ const de_DeleteApplicationCloudWatchLoggingOptionCommand = async (output, context) => {
498
+ if (output.statusCode >= 300) {
499
+ return de_CommandError(output, context);
500
+ }
501
+ const data = await core$1.parseJsonBody(output.body, context);
502
+ let contents = {};
503
+ contents = smithyClient._json(data);
504
+ const response = {
505
+ $metadata: deserializeMetadata(output),
506
+ ...contents,
507
+ };
508
+ return response;
509
+ };
510
+ const de_DeleteApplicationInputProcessingConfigurationCommand = async (output, context) => {
511
+ if (output.statusCode >= 300) {
512
+ return de_CommandError(output, context);
513
+ }
514
+ const data = await core$1.parseJsonBody(output.body, context);
515
+ let contents = {};
516
+ contents = smithyClient._json(data);
517
+ const response = {
518
+ $metadata: deserializeMetadata(output),
519
+ ...contents,
520
+ };
521
+ return response;
522
+ };
523
+ const de_DeleteApplicationOutputCommand = async (output, context) => {
524
+ if (output.statusCode >= 300) {
525
+ return de_CommandError(output, context);
526
+ }
527
+ const data = await core$1.parseJsonBody(output.body, context);
528
+ let contents = {};
529
+ contents = smithyClient._json(data);
530
+ const response = {
531
+ $metadata: deserializeMetadata(output),
532
+ ...contents,
533
+ };
534
+ return response;
535
+ };
536
+ const de_DeleteApplicationReferenceDataSourceCommand = async (output, context) => {
537
+ if (output.statusCode >= 300) {
538
+ return de_CommandError(output, context);
539
+ }
540
+ const data = await core$1.parseJsonBody(output.body, context);
541
+ let contents = {};
542
+ contents = smithyClient._json(data);
543
+ const response = {
544
+ $metadata: deserializeMetadata(output),
545
+ ...contents,
546
+ };
547
+ return response;
548
+ };
549
+ const de_DescribeApplicationCommand = async (output, context) => {
550
+ if (output.statusCode >= 300) {
551
+ return de_CommandError(output, context);
552
+ }
553
+ const data = await core$1.parseJsonBody(output.body, context);
554
+ let contents = {};
555
+ contents = de_DescribeApplicationResponse(data);
556
+ const response = {
557
+ $metadata: deserializeMetadata(output),
558
+ ...contents,
559
+ };
560
+ return response;
561
+ };
562
+ const de_DiscoverInputSchemaCommand = async (output, context) => {
563
+ if (output.statusCode >= 300) {
564
+ return de_CommandError(output, context);
565
+ }
566
+ const data = await core$1.parseJsonBody(output.body, context);
567
+ let contents = {};
568
+ contents = smithyClient._json(data);
569
+ const response = {
570
+ $metadata: deserializeMetadata(output),
571
+ ...contents,
572
+ };
573
+ return response;
574
+ };
575
+ const de_ListApplicationsCommand = async (output, context) => {
576
+ if (output.statusCode >= 300) {
577
+ return de_CommandError(output, context);
578
+ }
579
+ const data = await core$1.parseJsonBody(output.body, context);
580
+ let contents = {};
581
+ contents = smithyClient._json(data);
582
+ const response = {
583
+ $metadata: deserializeMetadata(output),
584
+ ...contents,
585
+ };
586
+ return response;
587
+ };
588
+ const de_ListTagsForResourceCommand = async (output, context) => {
589
+ if (output.statusCode >= 300) {
590
+ return de_CommandError(output, context);
591
+ }
592
+ const data = await core$1.parseJsonBody(output.body, context);
593
+ let contents = {};
594
+ contents = smithyClient._json(data);
595
+ const response = {
596
+ $metadata: deserializeMetadata(output),
597
+ ...contents,
598
+ };
599
+ return response;
600
+ };
601
+ const de_StartApplicationCommand = async (output, context) => {
602
+ if (output.statusCode >= 300) {
603
+ return de_CommandError(output, context);
604
+ }
605
+ const data = await core$1.parseJsonBody(output.body, context);
606
+ let contents = {};
607
+ contents = smithyClient._json(data);
608
+ const response = {
609
+ $metadata: deserializeMetadata(output),
610
+ ...contents,
611
+ };
612
+ return response;
613
+ };
614
+ const de_StopApplicationCommand = async (output, context) => {
615
+ if (output.statusCode >= 300) {
616
+ return de_CommandError(output, context);
617
+ }
618
+ const data = await core$1.parseJsonBody(output.body, context);
619
+ let contents = {};
620
+ contents = smithyClient._json(data);
621
+ const response = {
622
+ $metadata: deserializeMetadata(output),
623
+ ...contents,
624
+ };
625
+ return response;
626
+ };
627
+ const de_TagResourceCommand = async (output, context) => {
628
+ if (output.statusCode >= 300) {
629
+ return de_CommandError(output, context);
630
+ }
631
+ const data = await core$1.parseJsonBody(output.body, context);
632
+ let contents = {};
633
+ contents = smithyClient._json(data);
634
+ const response = {
635
+ $metadata: deserializeMetadata(output),
636
+ ...contents,
637
+ };
638
+ return response;
639
+ };
640
+ const de_UntagResourceCommand = async (output, context) => {
641
+ if (output.statusCode >= 300) {
642
+ return de_CommandError(output, context);
643
+ }
644
+ const data = await core$1.parseJsonBody(output.body, context);
645
+ let contents = {};
646
+ contents = smithyClient._json(data);
647
+ const response = {
648
+ $metadata: deserializeMetadata(output),
649
+ ...contents,
650
+ };
651
+ return response;
652
+ };
653
+ const de_UpdateApplicationCommand = async (output, context) => {
654
+ if (output.statusCode >= 300) {
655
+ return de_CommandError(output, context);
656
+ }
657
+ const data = await core$1.parseJsonBody(output.body, context);
658
+ let contents = {};
659
+ contents = smithyClient._json(data);
660
+ const response = {
661
+ $metadata: deserializeMetadata(output),
662
+ ...contents,
663
+ };
664
+ return response;
665
+ };
666
+ const de_CommandError = async (output, context) => {
667
+ const parsedOutput = {
668
+ ...output,
669
+ body: await core$1.parseJsonErrorBody(output.body, context),
670
+ };
671
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
672
+ switch (errorCode) {
673
+ case "ConcurrentModificationException":
674
+ case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
675
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput);
676
+ case "InvalidArgumentException":
677
+ case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
678
+ throw await de_InvalidArgumentExceptionRes(parsedOutput);
679
+ case "ResourceInUseException":
680
+ case "com.amazonaws.kinesisanalytics#ResourceInUseException":
681
+ throw await de_ResourceInUseExceptionRes(parsedOutput);
682
+ case "ResourceNotFoundException":
683
+ case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
684
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
685
+ case "UnsupportedOperationException":
686
+ case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
687
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput);
688
+ case "CodeValidationException":
689
+ case "com.amazonaws.kinesisanalytics#CodeValidationException":
690
+ throw await de_CodeValidationExceptionRes(parsedOutput);
691
+ case "LimitExceededException":
692
+ case "com.amazonaws.kinesisanalytics#LimitExceededException":
693
+ throw await de_LimitExceededExceptionRes(parsedOutput);
694
+ case "TooManyTagsException":
695
+ case "com.amazonaws.kinesisanalytics#TooManyTagsException":
696
+ throw await de_TooManyTagsExceptionRes(parsedOutput);
697
+ case "ResourceProvisionedThroughputExceededException":
698
+ case "com.amazonaws.kinesisanalytics#ResourceProvisionedThroughputExceededException":
699
+ throw await de_ResourceProvisionedThroughputExceededExceptionRes(parsedOutput);
700
+ case "ServiceUnavailableException":
701
+ case "com.amazonaws.kinesisanalytics#ServiceUnavailableException":
702
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput);
703
+ case "UnableToDetectSchemaException":
704
+ case "com.amazonaws.kinesisanalytics#UnableToDetectSchemaException":
705
+ throw await de_UnableToDetectSchemaExceptionRes(parsedOutput);
706
+ case "InvalidApplicationConfigurationException":
707
+ case "com.amazonaws.kinesisanalytics#InvalidApplicationConfigurationException":
708
+ throw await de_InvalidApplicationConfigurationExceptionRes(parsedOutput);
709
+ default:
710
+ const parsedBody = parsedOutput.body;
711
+ return throwDefaultError({
712
+ output,
713
+ parsedBody,
714
+ errorCode,
715
+ });
716
+ }
717
+ };
718
+ const de_CodeValidationExceptionRes = async (parsedOutput, context) => {
719
+ const body = parsedOutput.body;
720
+ const deserialized = smithyClient._json(body);
721
+ const exception = new CodeValidationException({
722
+ $metadata: deserializeMetadata(parsedOutput),
723
+ ...deserialized,
449
724
  });
450
- Object.setPrototypeOf(this, _UnableToDetectSchemaException.prototype);
451
- this.RawInputRecords = opts.RawInputRecords;
452
- this.ProcessedInputRecords = opts.ProcessedInputRecords;
453
- }
454
- };
455
- var InvalidApplicationConfigurationException = class _InvalidApplicationConfigurationException extends KinesisAnalyticsServiceException {
456
- static {
457
- __name(this, "InvalidApplicationConfigurationException");
458
- }
459
- name = "InvalidApplicationConfigurationException";
460
- $fault = "client";
461
- /**
462
- * @internal
463
- */
464
- constructor(opts) {
465
- super({
466
- name: "InvalidApplicationConfigurationException",
467
- $fault: "client",
468
- ...opts
725
+ return smithyClient.decorateServiceException(exception, body);
726
+ };
727
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
728
+ const body = parsedOutput.body;
729
+ const deserialized = smithyClient._json(body);
730
+ const exception = new ConcurrentModificationException({
731
+ $metadata: deserializeMetadata(parsedOutput),
732
+ ...deserialized,
469
733
  });
470
- Object.setPrototypeOf(this, _InvalidApplicationConfigurationException.prototype);
471
- }
734
+ return smithyClient.decorateServiceException(exception, body);
472
735
  };
473
-
474
- // src/protocols/Aws_json1_1.ts
475
- var se_AddApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (input, context) => {
476
- const headers = sharedHeaders("AddApplicationCloudWatchLoggingOption");
477
- let body;
478
- body = JSON.stringify((0, import_smithy_client._json)(input));
479
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
480
- }, "se_AddApplicationCloudWatchLoggingOptionCommand");
481
- var se_AddApplicationInputCommand = /* @__PURE__ */ __name(async (input, context) => {
482
- const headers = sharedHeaders("AddApplicationInput");
483
- let body;
484
- body = JSON.stringify((0, import_smithy_client._json)(input));
485
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
486
- }, "se_AddApplicationInputCommand");
487
- var se_AddApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
488
- const headers = sharedHeaders("AddApplicationInputProcessingConfiguration");
489
- let body;
490
- body = JSON.stringify((0, import_smithy_client._json)(input));
491
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
492
- }, "se_AddApplicationInputProcessingConfigurationCommand");
493
- var se_AddApplicationOutputCommand = /* @__PURE__ */ __name(async (input, context) => {
494
- const headers = sharedHeaders("AddApplicationOutput");
495
- let body;
496
- body = JSON.stringify((0, import_smithy_client._json)(input));
497
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
498
- }, "se_AddApplicationOutputCommand");
499
- var se_AddApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
500
- const headers = sharedHeaders("AddApplicationReferenceDataSource");
501
- let body;
502
- body = JSON.stringify((0, import_smithy_client._json)(input));
503
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
504
- }, "se_AddApplicationReferenceDataSourceCommand");
505
- var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
506
- const headers = sharedHeaders("CreateApplication");
507
- let body;
508
- body = JSON.stringify((0, import_smithy_client._json)(input));
509
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
510
- }, "se_CreateApplicationCommand");
511
- var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
512
- const headers = sharedHeaders("DeleteApplication");
513
- let body;
514
- body = JSON.stringify(se_DeleteApplicationRequest(input, context));
515
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
516
- }, "se_DeleteApplicationCommand");
517
- var se_DeleteApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (input, context) => {
518
- const headers = sharedHeaders("DeleteApplicationCloudWatchLoggingOption");
519
- let body;
520
- body = JSON.stringify((0, import_smithy_client._json)(input));
521
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
522
- }, "se_DeleteApplicationCloudWatchLoggingOptionCommand");
523
- var se_DeleteApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
524
- const headers = sharedHeaders("DeleteApplicationInputProcessingConfiguration");
525
- let body;
526
- body = JSON.stringify((0, import_smithy_client._json)(input));
527
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
528
- }, "se_DeleteApplicationInputProcessingConfigurationCommand");
529
- var se_DeleteApplicationOutputCommand = /* @__PURE__ */ __name(async (input, context) => {
530
- const headers = sharedHeaders("DeleteApplicationOutput");
531
- let body;
532
- body = JSON.stringify((0, import_smithy_client._json)(input));
533
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
534
- }, "se_DeleteApplicationOutputCommand");
535
- var se_DeleteApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
536
- const headers = sharedHeaders("DeleteApplicationReferenceDataSource");
537
- let body;
538
- body = JSON.stringify((0, import_smithy_client._json)(input));
539
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
540
- }, "se_DeleteApplicationReferenceDataSourceCommand");
541
- var se_DescribeApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
542
- const headers = sharedHeaders("DescribeApplication");
543
- let body;
544
- body = JSON.stringify((0, import_smithy_client._json)(input));
545
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
546
- }, "se_DescribeApplicationCommand");
547
- var se_DiscoverInputSchemaCommand = /* @__PURE__ */ __name(async (input, context) => {
548
- const headers = sharedHeaders("DiscoverInputSchema");
549
- let body;
550
- body = JSON.stringify((0, import_smithy_client._json)(input));
551
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
552
- }, "se_DiscoverInputSchemaCommand");
553
- var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
554
- const headers = sharedHeaders("ListApplications");
555
- let body;
556
- body = JSON.stringify((0, import_smithy_client._json)(input));
557
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
558
- }, "se_ListApplicationsCommand");
559
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
560
- const headers = sharedHeaders("ListTagsForResource");
561
- let body;
562
- body = JSON.stringify((0, import_smithy_client._json)(input));
563
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
564
- }, "se_ListTagsForResourceCommand");
565
- var se_StartApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
566
- const headers = sharedHeaders("StartApplication");
567
- let body;
568
- body = JSON.stringify((0, import_smithy_client._json)(input));
569
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
570
- }, "se_StartApplicationCommand");
571
- var se_StopApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
572
- const headers = sharedHeaders("StopApplication");
573
- let body;
574
- body = JSON.stringify((0, import_smithy_client._json)(input));
575
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
576
- }, "se_StopApplicationCommand");
577
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
578
- const headers = sharedHeaders("TagResource");
579
- let body;
580
- body = JSON.stringify((0, import_smithy_client._json)(input));
581
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
582
- }, "se_TagResourceCommand");
583
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
584
- const headers = sharedHeaders("UntagResource");
585
- let body;
586
- body = JSON.stringify((0, import_smithy_client._json)(input));
587
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
588
- }, "se_UntagResourceCommand");
589
- var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
590
- const headers = sharedHeaders("UpdateApplication");
591
- let body;
592
- body = JSON.stringify((0, import_smithy_client._json)(input));
593
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
594
- }, "se_UpdateApplicationCommand");
595
- var de_AddApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (output, context) => {
596
- if (output.statusCode >= 300) {
597
- return de_CommandError(output, context);
598
- }
599
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
600
- let contents = {};
601
- contents = (0, import_smithy_client._json)(data);
602
- const response = {
603
- $metadata: deserializeMetadata(output),
604
- ...contents
605
- };
606
- return response;
607
- }, "de_AddApplicationCloudWatchLoggingOptionCommand");
608
- var de_AddApplicationInputCommand = /* @__PURE__ */ __name(async (output, context) => {
609
- if (output.statusCode >= 300) {
610
- return de_CommandError(output, context);
611
- }
612
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
613
- let contents = {};
614
- contents = (0, import_smithy_client._json)(data);
615
- const response = {
616
- $metadata: deserializeMetadata(output),
617
- ...contents
618
- };
619
- return response;
620
- }, "de_AddApplicationInputCommand");
621
- var de_AddApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
622
- if (output.statusCode >= 300) {
623
- return de_CommandError(output, context);
624
- }
625
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
626
- let contents = {};
627
- contents = (0, import_smithy_client._json)(data);
628
- const response = {
629
- $metadata: deserializeMetadata(output),
630
- ...contents
631
- };
632
- return response;
633
- }, "de_AddApplicationInputProcessingConfigurationCommand");
634
- var de_AddApplicationOutputCommand = /* @__PURE__ */ __name(async (output, context) => {
635
- if (output.statusCode >= 300) {
636
- return de_CommandError(output, context);
637
- }
638
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
639
- let contents = {};
640
- contents = (0, import_smithy_client._json)(data);
641
- const response = {
642
- $metadata: deserializeMetadata(output),
643
- ...contents
644
- };
645
- return response;
646
- }, "de_AddApplicationOutputCommand");
647
- var de_AddApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
648
- if (output.statusCode >= 300) {
649
- return de_CommandError(output, context);
650
- }
651
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
652
- let contents = {};
653
- contents = (0, import_smithy_client._json)(data);
654
- const response = {
655
- $metadata: deserializeMetadata(output),
656
- ...contents
657
- };
658
- return response;
659
- }, "de_AddApplicationReferenceDataSourceCommand");
660
- var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
661
- if (output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
665
- let contents = {};
666
- contents = (0, import_smithy_client._json)(data);
667
- const response = {
668
- $metadata: deserializeMetadata(output),
669
- ...contents
670
- };
671
- return response;
672
- }, "de_CreateApplicationCommand");
673
- var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
674
- if (output.statusCode >= 300) {
675
- return de_CommandError(output, context);
676
- }
677
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
678
- let contents = {};
679
- contents = (0, import_smithy_client._json)(data);
680
- const response = {
681
- $metadata: deserializeMetadata(output),
682
- ...contents
683
- };
684
- return response;
685
- }, "de_DeleteApplicationCommand");
686
- var de_DeleteApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (output, context) => {
687
- if (output.statusCode >= 300) {
688
- return de_CommandError(output, context);
689
- }
690
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
691
- let contents = {};
692
- contents = (0, import_smithy_client._json)(data);
693
- const response = {
694
- $metadata: deserializeMetadata(output),
695
- ...contents
696
- };
697
- return response;
698
- }, "de_DeleteApplicationCloudWatchLoggingOptionCommand");
699
- var de_DeleteApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
700
- if (output.statusCode >= 300) {
701
- return de_CommandError(output, context);
702
- }
703
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
704
- let contents = {};
705
- contents = (0, import_smithy_client._json)(data);
706
- const response = {
707
- $metadata: deserializeMetadata(output),
708
- ...contents
709
- };
710
- return response;
711
- }, "de_DeleteApplicationInputProcessingConfigurationCommand");
712
- var de_DeleteApplicationOutputCommand = /* @__PURE__ */ __name(async (output, context) => {
713
- if (output.statusCode >= 300) {
714
- return de_CommandError(output, context);
715
- }
716
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
717
- let contents = {};
718
- contents = (0, import_smithy_client._json)(data);
719
- const response = {
720
- $metadata: deserializeMetadata(output),
721
- ...contents
722
- };
723
- return response;
724
- }, "de_DeleteApplicationOutputCommand");
725
- var de_DeleteApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
726
- if (output.statusCode >= 300) {
727
- return de_CommandError(output, context);
728
- }
729
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
730
- let contents = {};
731
- contents = (0, import_smithy_client._json)(data);
732
- const response = {
733
- $metadata: deserializeMetadata(output),
734
- ...contents
735
- };
736
- return response;
737
- }, "de_DeleteApplicationReferenceDataSourceCommand");
738
- var de_DescribeApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
739
- if (output.statusCode >= 300) {
740
- return de_CommandError(output, context);
741
- }
742
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
743
- let contents = {};
744
- contents = de_DescribeApplicationResponse(data, context);
745
- const response = {
746
- $metadata: deserializeMetadata(output),
747
- ...contents
748
- };
749
- return response;
750
- }, "de_DescribeApplicationCommand");
751
- var de_DiscoverInputSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
752
- if (output.statusCode >= 300) {
753
- return de_CommandError(output, context);
754
- }
755
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
756
- let contents = {};
757
- contents = (0, import_smithy_client._json)(data);
758
- const response = {
759
- $metadata: deserializeMetadata(output),
760
- ...contents
761
- };
762
- return response;
763
- }, "de_DiscoverInputSchemaCommand");
764
- var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
765
- if (output.statusCode >= 300) {
766
- return de_CommandError(output, context);
767
- }
768
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
769
- let contents = {};
770
- contents = (0, import_smithy_client._json)(data);
771
- const response = {
772
- $metadata: deserializeMetadata(output),
773
- ...contents
774
- };
775
- return response;
776
- }, "de_ListApplicationsCommand");
777
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
778
- if (output.statusCode >= 300) {
779
- return de_CommandError(output, context);
780
- }
781
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
782
- let contents = {};
783
- contents = (0, import_smithy_client._json)(data);
784
- const response = {
785
- $metadata: deserializeMetadata(output),
786
- ...contents
787
- };
788
- return response;
789
- }, "de_ListTagsForResourceCommand");
790
- var de_StartApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
791
- if (output.statusCode >= 300) {
792
- return de_CommandError(output, context);
793
- }
794
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
795
- let contents = {};
796
- contents = (0, import_smithy_client._json)(data);
797
- const response = {
798
- $metadata: deserializeMetadata(output),
799
- ...contents
800
- };
801
- return response;
802
- }, "de_StartApplicationCommand");
803
- var de_StopApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
804
- if (output.statusCode >= 300) {
805
- return de_CommandError(output, context);
806
- }
807
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
808
- let contents = {};
809
- contents = (0, import_smithy_client._json)(data);
810
- const response = {
811
- $metadata: deserializeMetadata(output),
812
- ...contents
813
- };
814
- return response;
815
- }, "de_StopApplicationCommand");
816
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
817
- if (output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
821
- let contents = {};
822
- contents = (0, import_smithy_client._json)(data);
823
- const response = {
824
- $metadata: deserializeMetadata(output),
825
- ...contents
826
- };
827
- return response;
828
- }, "de_TagResourceCommand");
829
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
830
- if (output.statusCode >= 300) {
831
- return de_CommandError(output, context);
832
- }
833
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
834
- let contents = {};
835
- contents = (0, import_smithy_client._json)(data);
836
- const response = {
837
- $metadata: deserializeMetadata(output),
838
- ...contents
839
- };
840
- return response;
841
- }, "de_UntagResourceCommand");
842
- var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
843
- if (output.statusCode >= 300) {
844
- return de_CommandError(output, context);
845
- }
846
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
847
- let contents = {};
848
- contents = (0, import_smithy_client._json)(data);
849
- const response = {
850
- $metadata: deserializeMetadata(output),
851
- ...contents
852
- };
853
- return response;
854
- }, "de_UpdateApplicationCommand");
855
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
856
- const parsedOutput = {
857
- ...output,
858
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
859
- };
860
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
861
- switch (errorCode) {
862
- case "ConcurrentModificationException":
863
- case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
864
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
865
- case "InvalidArgumentException":
866
- case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
867
- throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
868
- case "ResourceInUseException":
869
- case "com.amazonaws.kinesisanalytics#ResourceInUseException":
870
- throw await de_ResourceInUseExceptionRes(parsedOutput, context);
871
- case "ResourceNotFoundException":
872
- case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
873
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
874
- case "UnsupportedOperationException":
875
- case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
876
- throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
877
- case "CodeValidationException":
878
- case "com.amazonaws.kinesisanalytics#CodeValidationException":
879
- throw await de_CodeValidationExceptionRes(parsedOutput, context);
880
- case "LimitExceededException":
881
- case "com.amazonaws.kinesisanalytics#LimitExceededException":
882
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
883
- case "TooManyTagsException":
884
- case "com.amazonaws.kinesisanalytics#TooManyTagsException":
885
- throw await de_TooManyTagsExceptionRes(parsedOutput, context);
886
- case "ResourceProvisionedThroughputExceededException":
887
- case "com.amazonaws.kinesisanalytics#ResourceProvisionedThroughputExceededException":
888
- throw await de_ResourceProvisionedThroughputExceededExceptionRes(parsedOutput, context);
889
- case "ServiceUnavailableException":
890
- case "com.amazonaws.kinesisanalytics#ServiceUnavailableException":
891
- throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
892
- case "UnableToDetectSchemaException":
893
- case "com.amazonaws.kinesisanalytics#UnableToDetectSchemaException":
894
- throw await de_UnableToDetectSchemaExceptionRes(parsedOutput, context);
895
- case "InvalidApplicationConfigurationException":
896
- case "com.amazonaws.kinesisanalytics#InvalidApplicationConfigurationException":
897
- throw await de_InvalidApplicationConfigurationExceptionRes(parsedOutput, context);
898
- default:
899
- const parsedBody = parsedOutput.body;
900
- return throwDefaultError({
901
- output,
902
- parsedBody,
903
- errorCode
904
- });
905
- }
906
- }, "de_CommandError");
907
- var de_CodeValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
908
- const body = parsedOutput.body;
909
- const deserialized = (0, import_smithy_client._json)(body);
910
- const exception = new CodeValidationException({
911
- $metadata: deserializeMetadata(parsedOutput),
912
- ...deserialized
913
- });
914
- return (0, import_smithy_client.decorateServiceException)(exception, body);
915
- }, "de_CodeValidationExceptionRes");
916
- var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
917
- const body = parsedOutput.body;
918
- const deserialized = (0, import_smithy_client._json)(body);
919
- const exception = new ConcurrentModificationException({
920
- $metadata: deserializeMetadata(parsedOutput),
921
- ...deserialized
922
- });
923
- return (0, import_smithy_client.decorateServiceException)(exception, body);
924
- }, "de_ConcurrentModificationExceptionRes");
925
- var de_InvalidApplicationConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
926
- const body = parsedOutput.body;
927
- const deserialized = (0, import_smithy_client._json)(body);
928
- const exception = new InvalidApplicationConfigurationException({
929
- $metadata: deserializeMetadata(parsedOutput),
930
- ...deserialized
931
- });
932
- return (0, import_smithy_client.decorateServiceException)(exception, body);
933
- }, "de_InvalidApplicationConfigurationExceptionRes");
934
- var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
935
- const body = parsedOutput.body;
936
- const deserialized = (0, import_smithy_client._json)(body);
937
- const exception = new InvalidArgumentException({
938
- $metadata: deserializeMetadata(parsedOutput),
939
- ...deserialized
940
- });
941
- return (0, import_smithy_client.decorateServiceException)(exception, body);
942
- }, "de_InvalidArgumentExceptionRes");
943
- var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
944
- const body = parsedOutput.body;
945
- const deserialized = (0, import_smithy_client._json)(body);
946
- const exception = new LimitExceededException({
947
- $metadata: deserializeMetadata(parsedOutput),
948
- ...deserialized
949
- });
950
- return (0, import_smithy_client.decorateServiceException)(exception, body);
951
- }, "de_LimitExceededExceptionRes");
952
- var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
953
- const body = parsedOutput.body;
954
- const deserialized = (0, import_smithy_client._json)(body);
955
- const exception = new ResourceInUseException({
956
- $metadata: deserializeMetadata(parsedOutput),
957
- ...deserialized
958
- });
959
- return (0, import_smithy_client.decorateServiceException)(exception, body);
960
- }, "de_ResourceInUseExceptionRes");
961
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
962
- const body = parsedOutput.body;
963
- const deserialized = (0, import_smithy_client._json)(body);
964
- const exception = new ResourceNotFoundException({
965
- $metadata: deserializeMetadata(parsedOutput),
966
- ...deserialized
967
- });
968
- return (0, import_smithy_client.decorateServiceException)(exception, body);
969
- }, "de_ResourceNotFoundExceptionRes");
970
- var de_ResourceProvisionedThroughputExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
971
- const body = parsedOutput.body;
972
- const deserialized = (0, import_smithy_client._json)(body);
973
- const exception = new ResourceProvisionedThroughputExceededException({
974
- $metadata: deserializeMetadata(parsedOutput),
975
- ...deserialized
976
- });
977
- return (0, import_smithy_client.decorateServiceException)(exception, body);
978
- }, "de_ResourceProvisionedThroughputExceededExceptionRes");
979
- var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
980
- const body = parsedOutput.body;
981
- const deserialized = (0, import_smithy_client._json)(body);
982
- const exception = new ServiceUnavailableException({
983
- $metadata: deserializeMetadata(parsedOutput),
984
- ...deserialized
985
- });
986
- return (0, import_smithy_client.decorateServiceException)(exception, body);
987
- }, "de_ServiceUnavailableExceptionRes");
988
- var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
989
- const body = parsedOutput.body;
990
- const deserialized = (0, import_smithy_client._json)(body);
991
- const exception = new TooManyTagsException({
992
- $metadata: deserializeMetadata(parsedOutput),
993
- ...deserialized
994
- });
995
- return (0, import_smithy_client.decorateServiceException)(exception, body);
996
- }, "de_TooManyTagsExceptionRes");
997
- var de_UnableToDetectSchemaExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
998
- const body = parsedOutput.body;
999
- const deserialized = (0, import_smithy_client._json)(body);
1000
- const exception = new UnableToDetectSchemaException({
1001
- $metadata: deserializeMetadata(parsedOutput),
1002
- ...deserialized
1003
- });
1004
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1005
- }, "de_UnableToDetectSchemaExceptionRes");
1006
- var de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1007
- const body = parsedOutput.body;
1008
- const deserialized = (0, import_smithy_client._json)(body);
1009
- const exception = new UnsupportedOperationException({
1010
- $metadata: deserializeMetadata(parsedOutput),
1011
- ...deserialized
1012
- });
1013
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1014
- }, "de_UnsupportedOperationExceptionRes");
1015
- var se_DeleteApplicationRequest = /* @__PURE__ */ __name((input, context) => {
1016
- return (0, import_smithy_client.take)(input, {
1017
- ApplicationName: [],
1018
- CreateTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "CreateTimestamp")
1019
- });
1020
- }, "se_DeleteApplicationRequest");
1021
- var de_ApplicationDetail = /* @__PURE__ */ __name((output, context) => {
1022
- return (0, import_smithy_client.take)(output, {
1023
- ApplicationARN: import_smithy_client.expectString,
1024
- ApplicationCode: import_smithy_client.expectString,
1025
- ApplicationDescription: import_smithy_client.expectString,
1026
- ApplicationName: import_smithy_client.expectString,
1027
- ApplicationStatus: import_smithy_client.expectString,
1028
- ApplicationVersionId: import_smithy_client.expectLong,
1029
- CloudWatchLoggingOptionDescriptions: import_smithy_client._json,
1030
- CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
1031
- InputDescriptions: import_smithy_client._json,
1032
- LastUpdateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTimestamp"),
1033
- OutputDescriptions: import_smithy_client._json,
1034
- ReferenceDataSourceDescriptions: import_smithy_client._json
1035
- });
1036
- }, "de_ApplicationDetail");
1037
- var de_DescribeApplicationResponse = /* @__PURE__ */ __name((output, context) => {
1038
- return (0, import_smithy_client.take)(output, {
1039
- ApplicationDetail: /* @__PURE__ */ __name((_) => de_ApplicationDetail(_, context), "ApplicationDetail")
1040
- });
1041
- }, "de_DescribeApplicationResponse");
1042
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1043
- httpStatusCode: output.statusCode,
1044
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1045
- extendedRequestId: output.headers["x-amz-id-2"],
1046
- cfId: output.headers["x-amz-cf-id"]
1047
- }), "deserializeMetadata");
1048
- var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisAnalyticsServiceException);
1049
- var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1050
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1051
- const contents = {
1052
- protocol,
1053
- hostname,
1054
- port,
1055
- method: "POST",
1056
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1057
- headers
1058
- };
1059
- if (resolvedHostname !== void 0) {
1060
- contents.hostname = resolvedHostname;
1061
- }
1062
- if (body !== void 0) {
1063
- contents.body = body;
1064
- }
1065
- return new import_protocol_http.HttpRequest(contents);
1066
- }, "buildHttpRpcRequest");
1067
- function sharedHeaders(operation) {
1068
- return {
1069
- "content-type": "application/x-amz-json-1.1",
1070
- "x-amz-target": `KinesisAnalytics_20150814.${operation}`
1071
- };
1072
- }
1073
- __name(sharedHeaders, "sharedHeaders");
1074
-
1075
- // src/commands/AddApplicationCloudWatchLoggingOptionCommand.ts
1076
- var AddApplicationCloudWatchLoggingOptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1077
- return [
1078
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1079
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1080
- ];
1081
- }).s("KinesisAnalytics_20150814", "AddApplicationCloudWatchLoggingOption", {}).n("KinesisAnalyticsClient", "AddApplicationCloudWatchLoggingOptionCommand").f(void 0, void 0).ser(se_AddApplicationCloudWatchLoggingOptionCommand).de(de_AddApplicationCloudWatchLoggingOptionCommand).build() {
1082
- static {
1083
- __name(this, "AddApplicationCloudWatchLoggingOptionCommand");
1084
- }
736
+ const de_InvalidApplicationConfigurationExceptionRes = async (parsedOutput, context) => {
737
+ const body = parsedOutput.body;
738
+ const deserialized = smithyClient._json(body);
739
+ const exception = new InvalidApplicationConfigurationException({
740
+ $metadata: deserializeMetadata(parsedOutput),
741
+ ...deserialized,
742
+ });
743
+ return smithyClient.decorateServiceException(exception, body);
1085
744
  };
1086
-
1087
- // src/commands/AddApplicationInputCommand.ts
1088
-
1089
-
1090
-
1091
- var AddApplicationInputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1092
- return [
1093
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1094
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1095
- ];
1096
- }).s("KinesisAnalytics_20150814", "AddApplicationInput", {}).n("KinesisAnalyticsClient", "AddApplicationInputCommand").f(void 0, void 0).ser(se_AddApplicationInputCommand).de(de_AddApplicationInputCommand).build() {
1097
- static {
1098
- __name(this, "AddApplicationInputCommand");
1099
- }
745
+ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
746
+ const body = parsedOutput.body;
747
+ const deserialized = smithyClient._json(body);
748
+ const exception = new InvalidArgumentException({
749
+ $metadata: deserializeMetadata(parsedOutput),
750
+ ...deserialized,
751
+ });
752
+ return smithyClient.decorateServiceException(exception, body);
1100
753
  };
1101
-
1102
- // src/commands/AddApplicationInputProcessingConfigurationCommand.ts
1103
-
1104
-
1105
-
1106
- var AddApplicationInputProcessingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1107
- return [
1108
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1109
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1110
- ];
1111
- }).s("KinesisAnalytics_20150814", "AddApplicationInputProcessingConfiguration", {}).n("KinesisAnalyticsClient", "AddApplicationInputProcessingConfigurationCommand").f(void 0, void 0).ser(se_AddApplicationInputProcessingConfigurationCommand).de(de_AddApplicationInputProcessingConfigurationCommand).build() {
1112
- static {
1113
- __name(this, "AddApplicationInputProcessingConfigurationCommand");
1114
- }
754
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
755
+ const body = parsedOutput.body;
756
+ const deserialized = smithyClient._json(body);
757
+ const exception = new LimitExceededException({
758
+ $metadata: deserializeMetadata(parsedOutput),
759
+ ...deserialized,
760
+ });
761
+ return smithyClient.decorateServiceException(exception, body);
1115
762
  };
1116
-
1117
- // src/commands/AddApplicationOutputCommand.ts
1118
-
1119
-
1120
-
1121
- var AddApplicationOutputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1122
- return [
1123
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1124
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1125
- ];
1126
- }).s("KinesisAnalytics_20150814", "AddApplicationOutput", {}).n("KinesisAnalyticsClient", "AddApplicationOutputCommand").f(void 0, void 0).ser(se_AddApplicationOutputCommand).de(de_AddApplicationOutputCommand).build() {
1127
- static {
1128
- __name(this, "AddApplicationOutputCommand");
1129
- }
763
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
764
+ const body = parsedOutput.body;
765
+ const deserialized = smithyClient._json(body);
766
+ const exception = new ResourceInUseException({
767
+ $metadata: deserializeMetadata(parsedOutput),
768
+ ...deserialized,
769
+ });
770
+ return smithyClient.decorateServiceException(exception, body);
1130
771
  };
1131
-
1132
- // src/commands/AddApplicationReferenceDataSourceCommand.ts
1133
-
1134
-
1135
-
1136
- var AddApplicationReferenceDataSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1137
- return [
1138
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1139
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1140
- ];
1141
- }).s("KinesisAnalytics_20150814", "AddApplicationReferenceDataSource", {}).n("KinesisAnalyticsClient", "AddApplicationReferenceDataSourceCommand").f(void 0, void 0).ser(se_AddApplicationReferenceDataSourceCommand).de(de_AddApplicationReferenceDataSourceCommand).build() {
1142
- static {
1143
- __name(this, "AddApplicationReferenceDataSourceCommand");
1144
- }
772
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
773
+ const body = parsedOutput.body;
774
+ const deserialized = smithyClient._json(body);
775
+ const exception = new ResourceNotFoundException({
776
+ $metadata: deserializeMetadata(parsedOutput),
777
+ ...deserialized,
778
+ });
779
+ return smithyClient.decorateServiceException(exception, body);
1145
780
  };
1146
-
1147
- // src/commands/CreateApplicationCommand.ts
1148
-
1149
-
1150
-
1151
- var CreateApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1152
- return [
1153
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1154
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1155
- ];
1156
- }).s("KinesisAnalytics_20150814", "CreateApplication", {}).n("KinesisAnalyticsClient", "CreateApplicationCommand").f(void 0, void 0).ser(se_CreateApplicationCommand).de(de_CreateApplicationCommand).build() {
1157
- static {
1158
- __name(this, "CreateApplicationCommand");
1159
- }
781
+ const de_ResourceProvisionedThroughputExceededExceptionRes = async (parsedOutput, context) => {
782
+ const body = parsedOutput.body;
783
+ const deserialized = smithyClient._json(body);
784
+ const exception = new ResourceProvisionedThroughputExceededException({
785
+ $metadata: deserializeMetadata(parsedOutput),
786
+ ...deserialized,
787
+ });
788
+ return smithyClient.decorateServiceException(exception, body);
1160
789
  };
1161
-
1162
- // src/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts
1163
-
1164
-
1165
-
1166
- var DeleteApplicationCloudWatchLoggingOptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1167
- return [
1168
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1169
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1170
- ];
1171
- }).s("KinesisAnalytics_20150814", "DeleteApplicationCloudWatchLoggingOption", {}).n("KinesisAnalyticsClient", "DeleteApplicationCloudWatchLoggingOptionCommand").f(void 0, void 0).ser(se_DeleteApplicationCloudWatchLoggingOptionCommand).de(de_DeleteApplicationCloudWatchLoggingOptionCommand).build() {
1172
- static {
1173
- __name(this, "DeleteApplicationCloudWatchLoggingOptionCommand");
1174
- }
790
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
791
+ const body = parsedOutput.body;
792
+ const deserialized = smithyClient._json(body);
793
+ const exception = new ServiceUnavailableException({
794
+ $metadata: deserializeMetadata(parsedOutput),
795
+ ...deserialized,
796
+ });
797
+ return smithyClient.decorateServiceException(exception, body);
1175
798
  };
1176
-
1177
- // src/commands/DeleteApplicationCommand.ts
1178
-
1179
-
1180
-
1181
- var DeleteApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1182
- return [
1183
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1184
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1185
- ];
1186
- }).s("KinesisAnalytics_20150814", "DeleteApplication", {}).n("KinesisAnalyticsClient", "DeleteApplicationCommand").f(void 0, void 0).ser(se_DeleteApplicationCommand).de(de_DeleteApplicationCommand).build() {
1187
- static {
1188
- __name(this, "DeleteApplicationCommand");
1189
- }
799
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
800
+ const body = parsedOutput.body;
801
+ const deserialized = smithyClient._json(body);
802
+ const exception = new TooManyTagsException({
803
+ $metadata: deserializeMetadata(parsedOutput),
804
+ ...deserialized,
805
+ });
806
+ return smithyClient.decorateServiceException(exception, body);
1190
807
  };
1191
-
1192
- // src/commands/DeleteApplicationInputProcessingConfigurationCommand.ts
1193
-
1194
-
1195
-
1196
- var DeleteApplicationInputProcessingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1197
- return [
1198
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1199
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1200
- ];
1201
- }).s("KinesisAnalytics_20150814", "DeleteApplicationInputProcessingConfiguration", {}).n("KinesisAnalyticsClient", "DeleteApplicationInputProcessingConfigurationCommand").f(void 0, void 0).ser(se_DeleteApplicationInputProcessingConfigurationCommand).de(de_DeleteApplicationInputProcessingConfigurationCommand).build() {
1202
- static {
1203
- __name(this, "DeleteApplicationInputProcessingConfigurationCommand");
1204
- }
808
+ const de_UnableToDetectSchemaExceptionRes = async (parsedOutput, context) => {
809
+ const body = parsedOutput.body;
810
+ const deserialized = smithyClient._json(body);
811
+ const exception = new UnableToDetectSchemaException({
812
+ $metadata: deserializeMetadata(parsedOutput),
813
+ ...deserialized,
814
+ });
815
+ return smithyClient.decorateServiceException(exception, body);
1205
816
  };
1206
-
1207
- // src/commands/DeleteApplicationOutputCommand.ts
1208
-
1209
-
1210
-
1211
- var DeleteApplicationOutputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1212
- return [
1213
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1214
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1215
- ];
1216
- }).s("KinesisAnalytics_20150814", "DeleteApplicationOutput", {}).n("KinesisAnalyticsClient", "DeleteApplicationOutputCommand").f(void 0, void 0).ser(se_DeleteApplicationOutputCommand).de(de_DeleteApplicationOutputCommand).build() {
1217
- static {
1218
- __name(this, "DeleteApplicationOutputCommand");
1219
- }
817
+ const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
818
+ const body = parsedOutput.body;
819
+ const deserialized = smithyClient._json(body);
820
+ const exception = new UnsupportedOperationException({
821
+ $metadata: deserializeMetadata(parsedOutput),
822
+ ...deserialized,
823
+ });
824
+ return smithyClient.decorateServiceException(exception, body);
1220
825
  };
1221
-
1222
- // src/commands/DeleteApplicationReferenceDataSourceCommand.ts
1223
-
1224
-
1225
-
1226
- var DeleteApplicationReferenceDataSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1227
- return [
1228
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1229
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1230
- ];
1231
- }).s("KinesisAnalytics_20150814", "DeleteApplicationReferenceDataSource", {}).n("KinesisAnalyticsClient", "DeleteApplicationReferenceDataSourceCommand").f(void 0, void 0).ser(se_DeleteApplicationReferenceDataSourceCommand).de(de_DeleteApplicationReferenceDataSourceCommand).build() {
1232
- static {
1233
- __name(this, "DeleteApplicationReferenceDataSourceCommand");
1234
- }
826
+ const se_DeleteApplicationRequest = (input, context) => {
827
+ return smithyClient.take(input, {
828
+ ApplicationName: [],
829
+ CreateTimestamp: (_) => _.getTime() / 1_000,
830
+ });
1235
831
  };
1236
-
1237
- // src/commands/DescribeApplicationCommand.ts
1238
-
1239
-
1240
-
1241
- var DescribeApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1242
- return [
1243
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1244
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1245
- ];
1246
- }).s("KinesisAnalytics_20150814", "DescribeApplication", {}).n("KinesisAnalyticsClient", "DescribeApplicationCommand").f(void 0, void 0).ser(se_DescribeApplicationCommand).de(de_DescribeApplicationCommand).build() {
1247
- static {
1248
- __name(this, "DescribeApplicationCommand");
1249
- }
832
+ const de_ApplicationDetail = (output, context) => {
833
+ return smithyClient.take(output, {
834
+ ApplicationARN: smithyClient.expectString,
835
+ ApplicationCode: smithyClient.expectString,
836
+ ApplicationDescription: smithyClient.expectString,
837
+ ApplicationName: smithyClient.expectString,
838
+ ApplicationStatus: smithyClient.expectString,
839
+ ApplicationVersionId: smithyClient.expectLong,
840
+ CloudWatchLoggingOptionDescriptions: smithyClient._json,
841
+ CreateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
842
+ InputDescriptions: smithyClient._json,
843
+ LastUpdateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
844
+ OutputDescriptions: smithyClient._json,
845
+ ReferenceDataSourceDescriptions: smithyClient._json,
846
+ });
1250
847
  };
1251
-
1252
- // src/commands/DiscoverInputSchemaCommand.ts
1253
-
1254
-
1255
-
1256
- var DiscoverInputSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1257
- return [
1258
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1259
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1260
- ];
1261
- }).s("KinesisAnalytics_20150814", "DiscoverInputSchema", {}).n("KinesisAnalyticsClient", "DiscoverInputSchemaCommand").f(void 0, void 0).ser(se_DiscoverInputSchemaCommand).de(de_DiscoverInputSchemaCommand).build() {
1262
- static {
1263
- __name(this, "DiscoverInputSchemaCommand");
1264
- }
848
+ const de_DescribeApplicationResponse = (output, context) => {
849
+ return smithyClient.take(output, {
850
+ ApplicationDetail: (_) => de_ApplicationDetail(_),
851
+ });
1265
852
  };
1266
-
1267
- // src/commands/ListApplicationsCommand.ts
1268
-
1269
-
1270
-
1271
- var ListApplicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1272
- return [
1273
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1274
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1275
- ];
1276
- }).s("KinesisAnalytics_20150814", "ListApplications", {}).n("KinesisAnalyticsClient", "ListApplicationsCommand").f(void 0, void 0).ser(se_ListApplicationsCommand).de(de_ListApplicationsCommand).build() {
1277
- static {
1278
- __name(this, "ListApplicationsCommand");
1279
- }
853
+ const deserializeMetadata = (output) => ({
854
+ httpStatusCode: output.statusCode,
855
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
856
+ extendedRequestId: output.headers["x-amz-id-2"],
857
+ cfId: output.headers["x-amz-cf-id"],
858
+ });
859
+ const throwDefaultError = smithyClient.withBaseException(KinesisAnalyticsServiceException);
860
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
861
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
862
+ const contents = {
863
+ protocol,
864
+ hostname,
865
+ port,
866
+ method: "POST",
867
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
868
+ headers,
869
+ };
870
+ if (body !== undefined) {
871
+ contents.body = body;
872
+ }
873
+ return new protocolHttp.HttpRequest(contents);
1280
874
  };
875
+ function sharedHeaders(operation) {
876
+ return {
877
+ "content-type": "application/x-amz-json-1.1",
878
+ "x-amz-target": `KinesisAnalytics_20150814.${operation}`,
879
+ };
880
+ }
1281
881
 
1282
- // src/commands/ListTagsForResourceCommand.ts
1283
-
1284
-
1285
-
1286
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1287
- return [
1288
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1289
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1290
- ];
1291
- }).s("KinesisAnalytics_20150814", "ListTagsForResource", {}).n("KinesisAnalyticsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1292
- static {
1293
- __name(this, "ListTagsForResourceCommand");
1294
- }
1295
- };
882
+ class AddApplicationCloudWatchLoggingOptionCommand extends smithyClient.Command
883
+ .classBuilder()
884
+ .ep(commonParams)
885
+ .m(function (Command, cs, config, o) {
886
+ return [
887
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
888
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
889
+ ];
890
+ })
891
+ .s("KinesisAnalytics_20150814", "AddApplicationCloudWatchLoggingOption", {})
892
+ .n("KinesisAnalyticsClient", "AddApplicationCloudWatchLoggingOptionCommand")
893
+ .f(void 0, void 0)
894
+ .ser(se_AddApplicationCloudWatchLoggingOptionCommand)
895
+ .de(de_AddApplicationCloudWatchLoggingOptionCommand)
896
+ .build() {
897
+ }
1296
898
 
1297
- // src/commands/StartApplicationCommand.ts
899
+ class AddApplicationInputCommand extends smithyClient.Command
900
+ .classBuilder()
901
+ .ep(commonParams)
902
+ .m(function (Command, cs, config, o) {
903
+ return [
904
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
905
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
906
+ ];
907
+ })
908
+ .s("KinesisAnalytics_20150814", "AddApplicationInput", {})
909
+ .n("KinesisAnalyticsClient", "AddApplicationInputCommand")
910
+ .f(void 0, void 0)
911
+ .ser(se_AddApplicationInputCommand)
912
+ .de(de_AddApplicationInputCommand)
913
+ .build() {
914
+ }
1298
915
 
916
+ class AddApplicationInputProcessingConfigurationCommand extends smithyClient.Command
917
+ .classBuilder()
918
+ .ep(commonParams)
919
+ .m(function (Command, cs, config, o) {
920
+ return [
921
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
922
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
923
+ ];
924
+ })
925
+ .s("KinesisAnalytics_20150814", "AddApplicationInputProcessingConfiguration", {})
926
+ .n("KinesisAnalyticsClient", "AddApplicationInputProcessingConfigurationCommand")
927
+ .f(void 0, void 0)
928
+ .ser(se_AddApplicationInputProcessingConfigurationCommand)
929
+ .de(de_AddApplicationInputProcessingConfigurationCommand)
930
+ .build() {
931
+ }
1299
932
 
933
+ class AddApplicationOutputCommand extends smithyClient.Command
934
+ .classBuilder()
935
+ .ep(commonParams)
936
+ .m(function (Command, cs, config, o) {
937
+ return [
938
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
939
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
940
+ ];
941
+ })
942
+ .s("KinesisAnalytics_20150814", "AddApplicationOutput", {})
943
+ .n("KinesisAnalyticsClient", "AddApplicationOutputCommand")
944
+ .f(void 0, void 0)
945
+ .ser(se_AddApplicationOutputCommand)
946
+ .de(de_AddApplicationOutputCommand)
947
+ .build() {
948
+ }
1300
949
 
1301
- var StartApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1302
- return [
1303
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1304
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1305
- ];
1306
- }).s("KinesisAnalytics_20150814", "StartApplication", {}).n("KinesisAnalyticsClient", "StartApplicationCommand").f(void 0, void 0).ser(se_StartApplicationCommand).de(de_StartApplicationCommand).build() {
1307
- static {
1308
- __name(this, "StartApplicationCommand");
1309
- }
1310
- };
950
+ class AddApplicationReferenceDataSourceCommand extends smithyClient.Command
951
+ .classBuilder()
952
+ .ep(commonParams)
953
+ .m(function (Command, cs, config, o) {
954
+ return [
955
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
956
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
957
+ ];
958
+ })
959
+ .s("KinesisAnalytics_20150814", "AddApplicationReferenceDataSource", {})
960
+ .n("KinesisAnalyticsClient", "AddApplicationReferenceDataSourceCommand")
961
+ .f(void 0, void 0)
962
+ .ser(se_AddApplicationReferenceDataSourceCommand)
963
+ .de(de_AddApplicationReferenceDataSourceCommand)
964
+ .build() {
965
+ }
1311
966
 
1312
- // src/commands/StopApplicationCommand.ts
967
+ class CreateApplicationCommand extends smithyClient.Command
968
+ .classBuilder()
969
+ .ep(commonParams)
970
+ .m(function (Command, cs, config, o) {
971
+ return [
972
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
973
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
974
+ ];
975
+ })
976
+ .s("KinesisAnalytics_20150814", "CreateApplication", {})
977
+ .n("KinesisAnalyticsClient", "CreateApplicationCommand")
978
+ .f(void 0, void 0)
979
+ .ser(se_CreateApplicationCommand)
980
+ .de(de_CreateApplicationCommand)
981
+ .build() {
982
+ }
1313
983
 
984
+ class DeleteApplicationCloudWatchLoggingOptionCommand extends smithyClient.Command
985
+ .classBuilder()
986
+ .ep(commonParams)
987
+ .m(function (Command, cs, config, o) {
988
+ return [
989
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
990
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
991
+ ];
992
+ })
993
+ .s("KinesisAnalytics_20150814", "DeleteApplicationCloudWatchLoggingOption", {})
994
+ .n("KinesisAnalyticsClient", "DeleteApplicationCloudWatchLoggingOptionCommand")
995
+ .f(void 0, void 0)
996
+ .ser(se_DeleteApplicationCloudWatchLoggingOptionCommand)
997
+ .de(de_DeleteApplicationCloudWatchLoggingOptionCommand)
998
+ .build() {
999
+ }
1314
1000
 
1001
+ class DeleteApplicationCommand extends smithyClient.Command
1002
+ .classBuilder()
1003
+ .ep(commonParams)
1004
+ .m(function (Command, cs, config, o) {
1005
+ return [
1006
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1007
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1008
+ ];
1009
+ })
1010
+ .s("KinesisAnalytics_20150814", "DeleteApplication", {})
1011
+ .n("KinesisAnalyticsClient", "DeleteApplicationCommand")
1012
+ .f(void 0, void 0)
1013
+ .ser(se_DeleteApplicationCommand)
1014
+ .de(de_DeleteApplicationCommand)
1015
+ .build() {
1016
+ }
1315
1017
 
1316
- var StopApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1317
- return [
1318
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1319
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1320
- ];
1321
- }).s("KinesisAnalytics_20150814", "StopApplication", {}).n("KinesisAnalyticsClient", "StopApplicationCommand").f(void 0, void 0).ser(se_StopApplicationCommand).de(de_StopApplicationCommand).build() {
1322
- static {
1323
- __name(this, "StopApplicationCommand");
1324
- }
1325
- };
1018
+ class DeleteApplicationInputProcessingConfigurationCommand extends smithyClient.Command
1019
+ .classBuilder()
1020
+ .ep(commonParams)
1021
+ .m(function (Command, cs, config, o) {
1022
+ return [
1023
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1024
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1025
+ ];
1026
+ })
1027
+ .s("KinesisAnalytics_20150814", "DeleteApplicationInputProcessingConfiguration", {})
1028
+ .n("KinesisAnalyticsClient", "DeleteApplicationInputProcessingConfigurationCommand")
1029
+ .f(void 0, void 0)
1030
+ .ser(se_DeleteApplicationInputProcessingConfigurationCommand)
1031
+ .de(de_DeleteApplicationInputProcessingConfigurationCommand)
1032
+ .build() {
1033
+ }
1326
1034
 
1327
- // src/commands/TagResourceCommand.ts
1035
+ class DeleteApplicationOutputCommand extends smithyClient.Command
1036
+ .classBuilder()
1037
+ .ep(commonParams)
1038
+ .m(function (Command, cs, config, o) {
1039
+ return [
1040
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1041
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1042
+ ];
1043
+ })
1044
+ .s("KinesisAnalytics_20150814", "DeleteApplicationOutput", {})
1045
+ .n("KinesisAnalyticsClient", "DeleteApplicationOutputCommand")
1046
+ .f(void 0, void 0)
1047
+ .ser(se_DeleteApplicationOutputCommand)
1048
+ .de(de_DeleteApplicationOutputCommand)
1049
+ .build() {
1050
+ }
1328
1051
 
1052
+ class DeleteApplicationReferenceDataSourceCommand extends smithyClient.Command
1053
+ .classBuilder()
1054
+ .ep(commonParams)
1055
+ .m(function (Command, cs, config, o) {
1056
+ return [
1057
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1058
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1059
+ ];
1060
+ })
1061
+ .s("KinesisAnalytics_20150814", "DeleteApplicationReferenceDataSource", {})
1062
+ .n("KinesisAnalyticsClient", "DeleteApplicationReferenceDataSourceCommand")
1063
+ .f(void 0, void 0)
1064
+ .ser(se_DeleteApplicationReferenceDataSourceCommand)
1065
+ .de(de_DeleteApplicationReferenceDataSourceCommand)
1066
+ .build() {
1067
+ }
1329
1068
 
1069
+ class DescribeApplicationCommand extends smithyClient.Command
1070
+ .classBuilder()
1071
+ .ep(commonParams)
1072
+ .m(function (Command, cs, config, o) {
1073
+ return [
1074
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1075
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1076
+ ];
1077
+ })
1078
+ .s("KinesisAnalytics_20150814", "DescribeApplication", {})
1079
+ .n("KinesisAnalyticsClient", "DescribeApplicationCommand")
1080
+ .f(void 0, void 0)
1081
+ .ser(se_DescribeApplicationCommand)
1082
+ .de(de_DescribeApplicationCommand)
1083
+ .build() {
1084
+ }
1330
1085
 
1331
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1332
- return [
1333
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1334
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1335
- ];
1336
- }).s("KinesisAnalytics_20150814", "TagResource", {}).n("KinesisAnalyticsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1337
- static {
1338
- __name(this, "TagResourceCommand");
1339
- }
1340
- };
1086
+ class DiscoverInputSchemaCommand extends smithyClient.Command
1087
+ .classBuilder()
1088
+ .ep(commonParams)
1089
+ .m(function (Command, cs, config, o) {
1090
+ return [
1091
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1092
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1093
+ ];
1094
+ })
1095
+ .s("KinesisAnalytics_20150814", "DiscoverInputSchema", {})
1096
+ .n("KinesisAnalyticsClient", "DiscoverInputSchemaCommand")
1097
+ .f(void 0, void 0)
1098
+ .ser(se_DiscoverInputSchemaCommand)
1099
+ .de(de_DiscoverInputSchemaCommand)
1100
+ .build() {
1101
+ }
1341
1102
 
1342
- // src/commands/UntagResourceCommand.ts
1103
+ class ListApplicationsCommand extends smithyClient.Command
1104
+ .classBuilder()
1105
+ .ep(commonParams)
1106
+ .m(function (Command, cs, config, o) {
1107
+ return [
1108
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1109
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1110
+ ];
1111
+ })
1112
+ .s("KinesisAnalytics_20150814", "ListApplications", {})
1113
+ .n("KinesisAnalyticsClient", "ListApplicationsCommand")
1114
+ .f(void 0, void 0)
1115
+ .ser(se_ListApplicationsCommand)
1116
+ .de(de_ListApplicationsCommand)
1117
+ .build() {
1118
+ }
1343
1119
 
1120
+ class ListTagsForResourceCommand extends smithyClient.Command
1121
+ .classBuilder()
1122
+ .ep(commonParams)
1123
+ .m(function (Command, cs, config, o) {
1124
+ return [
1125
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1126
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1127
+ ];
1128
+ })
1129
+ .s("KinesisAnalytics_20150814", "ListTagsForResource", {})
1130
+ .n("KinesisAnalyticsClient", "ListTagsForResourceCommand")
1131
+ .f(void 0, void 0)
1132
+ .ser(se_ListTagsForResourceCommand)
1133
+ .de(de_ListTagsForResourceCommand)
1134
+ .build() {
1135
+ }
1344
1136
 
1137
+ class StartApplicationCommand extends smithyClient.Command
1138
+ .classBuilder()
1139
+ .ep(commonParams)
1140
+ .m(function (Command, cs, config, o) {
1141
+ return [
1142
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1143
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1144
+ ];
1145
+ })
1146
+ .s("KinesisAnalytics_20150814", "StartApplication", {})
1147
+ .n("KinesisAnalyticsClient", "StartApplicationCommand")
1148
+ .f(void 0, void 0)
1149
+ .ser(se_StartApplicationCommand)
1150
+ .de(de_StartApplicationCommand)
1151
+ .build() {
1152
+ }
1345
1153
 
1346
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1347
- return [
1348
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1349
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1350
- ];
1351
- }).s("KinesisAnalytics_20150814", "UntagResource", {}).n("KinesisAnalyticsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1352
- static {
1353
- __name(this, "UntagResourceCommand");
1354
- }
1355
- };
1154
+ class StopApplicationCommand extends smithyClient.Command
1155
+ .classBuilder()
1156
+ .ep(commonParams)
1157
+ .m(function (Command, cs, config, o) {
1158
+ return [
1159
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1160
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1161
+ ];
1162
+ })
1163
+ .s("KinesisAnalytics_20150814", "StopApplication", {})
1164
+ .n("KinesisAnalyticsClient", "StopApplicationCommand")
1165
+ .f(void 0, void 0)
1166
+ .ser(se_StopApplicationCommand)
1167
+ .de(de_StopApplicationCommand)
1168
+ .build() {
1169
+ }
1356
1170
 
1357
- // src/commands/UpdateApplicationCommand.ts
1171
+ class TagResourceCommand extends smithyClient.Command
1172
+ .classBuilder()
1173
+ .ep(commonParams)
1174
+ .m(function (Command, cs, config, o) {
1175
+ return [
1176
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1177
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1178
+ ];
1179
+ })
1180
+ .s("KinesisAnalytics_20150814", "TagResource", {})
1181
+ .n("KinesisAnalyticsClient", "TagResourceCommand")
1182
+ .f(void 0, void 0)
1183
+ .ser(se_TagResourceCommand)
1184
+ .de(de_TagResourceCommand)
1185
+ .build() {
1186
+ }
1358
1187
 
1188
+ class UntagResourceCommand extends smithyClient.Command
1189
+ .classBuilder()
1190
+ .ep(commonParams)
1191
+ .m(function (Command, cs, config, o) {
1192
+ return [
1193
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1194
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1195
+ ];
1196
+ })
1197
+ .s("KinesisAnalytics_20150814", "UntagResource", {})
1198
+ .n("KinesisAnalyticsClient", "UntagResourceCommand")
1199
+ .f(void 0, void 0)
1200
+ .ser(se_UntagResourceCommand)
1201
+ .de(de_UntagResourceCommand)
1202
+ .build() {
1203
+ }
1359
1204
 
1205
+ class UpdateApplicationCommand extends smithyClient.Command
1206
+ .classBuilder()
1207
+ .ep(commonParams)
1208
+ .m(function (Command, cs, config, o) {
1209
+ return [
1210
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1211
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1212
+ ];
1213
+ })
1214
+ .s("KinesisAnalytics_20150814", "UpdateApplication", {})
1215
+ .n("KinesisAnalyticsClient", "UpdateApplicationCommand")
1216
+ .f(void 0, void 0)
1217
+ .ser(se_UpdateApplicationCommand)
1218
+ .de(de_UpdateApplicationCommand)
1219
+ .build() {
1220
+ }
1360
1221
 
1361
- var UpdateApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1362
- return [
1363
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1364
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1365
- ];
1366
- }).s("KinesisAnalytics_20150814", "UpdateApplication", {}).n("KinesisAnalyticsClient", "UpdateApplicationCommand").f(void 0, void 0).ser(se_UpdateApplicationCommand).de(de_UpdateApplicationCommand).build() {
1367
- static {
1368
- __name(this, "UpdateApplicationCommand");
1369
- }
1222
+ const commands = {
1223
+ AddApplicationCloudWatchLoggingOptionCommand,
1224
+ AddApplicationInputCommand,
1225
+ AddApplicationInputProcessingConfigurationCommand,
1226
+ AddApplicationOutputCommand,
1227
+ AddApplicationReferenceDataSourceCommand,
1228
+ CreateApplicationCommand,
1229
+ DeleteApplicationCommand,
1230
+ DeleteApplicationCloudWatchLoggingOptionCommand,
1231
+ DeleteApplicationInputProcessingConfigurationCommand,
1232
+ DeleteApplicationOutputCommand,
1233
+ DeleteApplicationReferenceDataSourceCommand,
1234
+ DescribeApplicationCommand,
1235
+ DiscoverInputSchemaCommand,
1236
+ ListApplicationsCommand,
1237
+ ListTagsForResourceCommand,
1238
+ StartApplicationCommand,
1239
+ StopApplicationCommand,
1240
+ TagResourceCommand,
1241
+ UntagResourceCommand,
1242
+ UpdateApplicationCommand,
1370
1243
  };
1244
+ class KinesisAnalytics extends KinesisAnalyticsClient {
1245
+ }
1246
+ smithyClient.createAggregatedClient(commands, KinesisAnalytics);
1371
1247
 
1372
- // src/KinesisAnalytics.ts
1373
- var commands = {
1374
- AddApplicationCloudWatchLoggingOptionCommand,
1375
- AddApplicationInputCommand,
1376
- AddApplicationInputProcessingConfigurationCommand,
1377
- AddApplicationOutputCommand,
1378
- AddApplicationReferenceDataSourceCommand,
1379
- CreateApplicationCommand,
1380
- DeleteApplicationCommand,
1381
- DeleteApplicationCloudWatchLoggingOptionCommand,
1382
- DeleteApplicationInputProcessingConfigurationCommand,
1383
- DeleteApplicationOutputCommand,
1384
- DeleteApplicationReferenceDataSourceCommand,
1385
- DescribeApplicationCommand,
1386
- DiscoverInputSchemaCommand,
1387
- ListApplicationsCommand,
1388
- ListTagsForResourceCommand,
1389
- StartApplicationCommand,
1390
- StopApplicationCommand,
1391
- TagResourceCommand,
1392
- UntagResourceCommand,
1393
- UpdateApplicationCommand
1394
- };
1395
- var KinesisAnalytics = class extends KinesisAnalyticsClient {
1396
- static {
1397
- __name(this, "KinesisAnalytics");
1398
- }
1399
- };
1400
- (0, import_smithy_client.createAggregatedClient)(commands, KinesisAnalytics);
1401
- // Annotate the CommonJS export names for ESM import in node:
1402
-
1403
- 0 && (module.exports = {
1404
- KinesisAnalyticsServiceException,
1405
- __Client,
1406
- KinesisAnalyticsClient,
1407
- KinesisAnalytics,
1408
- $Command,
1409
- AddApplicationCloudWatchLoggingOptionCommand,
1410
- AddApplicationInputCommand,
1411
- AddApplicationInputProcessingConfigurationCommand,
1412
- AddApplicationOutputCommand,
1413
- AddApplicationReferenceDataSourceCommand,
1414
- CreateApplicationCommand,
1415
- DeleteApplicationCloudWatchLoggingOptionCommand,
1416
- DeleteApplicationCommand,
1417
- DeleteApplicationInputProcessingConfigurationCommand,
1418
- DeleteApplicationOutputCommand,
1419
- DeleteApplicationReferenceDataSourceCommand,
1420
- DescribeApplicationCommand,
1421
- DiscoverInputSchemaCommand,
1422
- ListApplicationsCommand,
1423
- ListTagsForResourceCommand,
1424
- StartApplicationCommand,
1425
- StopApplicationCommand,
1426
- TagResourceCommand,
1427
- UntagResourceCommand,
1428
- UpdateApplicationCommand,
1429
- ConcurrentModificationException,
1430
- InvalidArgumentException,
1431
- ResourceInUseException,
1432
- ResourceNotFoundException,
1433
- UnsupportedOperationException,
1434
- RecordFormatType,
1435
- CodeValidationException,
1436
- ApplicationStatus,
1437
- InputStartingPosition,
1438
- LimitExceededException,
1439
- TooManyTagsException,
1440
- ResourceProvisionedThroughputExceededException,
1441
- ServiceUnavailableException,
1442
- UnableToDetectSchemaException,
1443
- InvalidApplicationConfigurationException
1248
+ Object.defineProperty(exports, "$Command", {
1249
+ enumerable: true,
1250
+ get: function () { return smithyClient.Command; }
1444
1251
  });
1445
-
1252
+ Object.defineProperty(exports, "__Client", {
1253
+ enumerable: true,
1254
+ get: function () { return smithyClient.Client; }
1255
+ });
1256
+ exports.AddApplicationCloudWatchLoggingOptionCommand = AddApplicationCloudWatchLoggingOptionCommand;
1257
+ exports.AddApplicationInputCommand = AddApplicationInputCommand;
1258
+ exports.AddApplicationInputProcessingConfigurationCommand = AddApplicationInputProcessingConfigurationCommand;
1259
+ exports.AddApplicationOutputCommand = AddApplicationOutputCommand;
1260
+ exports.AddApplicationReferenceDataSourceCommand = AddApplicationReferenceDataSourceCommand;
1261
+ exports.ApplicationStatus = ApplicationStatus;
1262
+ exports.CodeValidationException = CodeValidationException;
1263
+ exports.ConcurrentModificationException = ConcurrentModificationException;
1264
+ exports.CreateApplicationCommand = CreateApplicationCommand;
1265
+ exports.DeleteApplicationCloudWatchLoggingOptionCommand = DeleteApplicationCloudWatchLoggingOptionCommand;
1266
+ exports.DeleteApplicationCommand = DeleteApplicationCommand;
1267
+ exports.DeleteApplicationInputProcessingConfigurationCommand = DeleteApplicationInputProcessingConfigurationCommand;
1268
+ exports.DeleteApplicationOutputCommand = DeleteApplicationOutputCommand;
1269
+ exports.DeleteApplicationReferenceDataSourceCommand = DeleteApplicationReferenceDataSourceCommand;
1270
+ exports.DescribeApplicationCommand = DescribeApplicationCommand;
1271
+ exports.DiscoverInputSchemaCommand = DiscoverInputSchemaCommand;
1272
+ exports.InputStartingPosition = InputStartingPosition;
1273
+ exports.InvalidApplicationConfigurationException = InvalidApplicationConfigurationException;
1274
+ exports.InvalidArgumentException = InvalidArgumentException;
1275
+ exports.KinesisAnalytics = KinesisAnalytics;
1276
+ exports.KinesisAnalyticsClient = KinesisAnalyticsClient;
1277
+ exports.KinesisAnalyticsServiceException = KinesisAnalyticsServiceException;
1278
+ exports.LimitExceededException = LimitExceededException;
1279
+ exports.ListApplicationsCommand = ListApplicationsCommand;
1280
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1281
+ exports.RecordFormatType = RecordFormatType;
1282
+ exports.ResourceInUseException = ResourceInUseException;
1283
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1284
+ exports.ResourceProvisionedThroughputExceededException = ResourceProvisionedThroughputExceededException;
1285
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1286
+ exports.StartApplicationCommand = StartApplicationCommand;
1287
+ exports.StopApplicationCommand = StopApplicationCommand;
1288
+ exports.TagResourceCommand = TagResourceCommand;
1289
+ exports.TooManyTagsException = TooManyTagsException;
1290
+ exports.UnableToDetectSchemaException = UnableToDetectSchemaException;
1291
+ exports.UnsupportedOperationException = UnsupportedOperationException;
1292
+ exports.UntagResourceCommand = UntagResourceCommand;
1293
+ exports.UpdateApplicationCommand = UpdateApplicationCommand;