@aws-sdk/client-kinesis-analytics 3.490.0 → 3.495.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/KinesisAnalytics.js +1 -51
- package/dist-cjs/KinesisAnalyticsClient.js +1 -43
- package/dist-cjs/commands/AddApplicationCloudWatchLoggingOptionCommand.js +1 -28
- package/dist-cjs/commands/AddApplicationInputCommand.js +1 -28
- package/dist-cjs/commands/AddApplicationInputProcessingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/AddApplicationOutputCommand.js +1 -28
- package/dist-cjs/commands/AddApplicationReferenceDataSourceCommand.js +1 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationInputProcessingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationOutputCommand.js +1 -28
- package/dist-cjs/commands/DeleteApplicationReferenceDataSourceCommand.js +1 -28
- package/dist-cjs/commands/DescribeApplicationCommand.js +1 -28
- package/dist-cjs/commands/DiscoverInputSchemaCommand.js +1 -28
- package/dist-cjs/commands/ListApplicationsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/StartApplicationCommand.js +1 -28
- package/dist-cjs/commands/StopApplicationCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateApplicationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -23
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1984 -10
- package/dist-cjs/models/KinesisAnalyticsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -179
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1218
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1985 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 src_exports = {};
|
|
23
|
+
__export(src_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(src_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_signing = require("@aws-sdk/middleware-signing");
|
|
71
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
72
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
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
|
+
|
|
78
|
+
// src/endpoint/EndpointParameters.ts
|
|
79
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
80
|
+
return {
|
|
81
|
+
...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" }
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
// src/KinesisAnalyticsClient.ts
|
|
95
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
96
|
+
|
|
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");
|
|
101
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
102
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
103
|
+
const extensionConfiguration = {
|
|
104
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
105
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
106
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
107
|
+
};
|
|
108
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
109
|
+
return {
|
|
110
|
+
...runtimeConfig,
|
|
111
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
112
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
113
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
114
|
+
};
|
|
115
|
+
}, "resolveRuntimeExtensions");
|
|
116
|
+
|
|
117
|
+
// src/KinesisAnalyticsClient.ts
|
|
118
|
+
var _KinesisAnalyticsClient = class _KinesisAnalyticsClient extends import_smithy_client.Client {
|
|
119
|
+
constructor(...[configuration]) {
|
|
120
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
121
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
122
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
123
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
124
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
125
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
126
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
127
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
128
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
129
|
+
super(_config_8);
|
|
130
|
+
this.config = _config_8;
|
|
131
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
132
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
133
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
134
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
135
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
136
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
137
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
141
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
142
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
143
|
+
*/
|
|
144
|
+
destroy() {
|
|
145
|
+
super.destroy();
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
__name(_KinesisAnalyticsClient, "KinesisAnalyticsClient");
|
|
149
|
+
var KinesisAnalyticsClient = _KinesisAnalyticsClient;
|
|
150
|
+
|
|
151
|
+
// src/KinesisAnalytics.ts
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
// src/commands/AddApplicationCloudWatchLoggingOptionCommand.ts
|
|
155
|
+
|
|
156
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
157
|
+
|
|
158
|
+
var import_types = require("@smithy/types");
|
|
159
|
+
|
|
160
|
+
// src/protocols/Aws_json1_1.ts
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
// src/models/KinesisAnalyticsServiceException.ts
|
|
165
|
+
|
|
166
|
+
var _KinesisAnalyticsServiceException = class _KinesisAnalyticsServiceException extends import_smithy_client.ServiceException {
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
constructor(options) {
|
|
171
|
+
super(options);
|
|
172
|
+
Object.setPrototypeOf(this, _KinesisAnalyticsServiceException.prototype);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
__name(_KinesisAnalyticsServiceException, "KinesisAnalyticsServiceException");
|
|
176
|
+
var KinesisAnalyticsServiceException = _KinesisAnalyticsServiceException;
|
|
177
|
+
|
|
178
|
+
// src/models/models_0.ts
|
|
179
|
+
var _ConcurrentModificationException = class _ConcurrentModificationException extends KinesisAnalyticsServiceException {
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "ConcurrentModificationException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts
|
|
188
|
+
});
|
|
189
|
+
this.name = "ConcurrentModificationException";
|
|
190
|
+
this.$fault = "client";
|
|
191
|
+
Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
__name(_ConcurrentModificationException, "ConcurrentModificationException");
|
|
195
|
+
var ConcurrentModificationException = _ConcurrentModificationException;
|
|
196
|
+
var _InvalidArgumentException = class _InvalidArgumentException extends KinesisAnalyticsServiceException {
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "InvalidArgumentException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts
|
|
205
|
+
});
|
|
206
|
+
this.name = "InvalidArgumentException";
|
|
207
|
+
this.$fault = "client";
|
|
208
|
+
Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
__name(_InvalidArgumentException, "InvalidArgumentException");
|
|
212
|
+
var InvalidArgumentException = _InvalidArgumentException;
|
|
213
|
+
var _ResourceInUseException = class _ResourceInUseException extends KinesisAnalyticsServiceException {
|
|
214
|
+
/**
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
constructor(opts) {
|
|
218
|
+
super({
|
|
219
|
+
name: "ResourceInUseException",
|
|
220
|
+
$fault: "client",
|
|
221
|
+
...opts
|
|
222
|
+
});
|
|
223
|
+
this.name = "ResourceInUseException";
|
|
224
|
+
this.$fault = "client";
|
|
225
|
+
Object.setPrototypeOf(this, _ResourceInUseException.prototype);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
__name(_ResourceInUseException, "ResourceInUseException");
|
|
229
|
+
var ResourceInUseException = _ResourceInUseException;
|
|
230
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends KinesisAnalyticsServiceException {
|
|
231
|
+
/**
|
|
232
|
+
* @internal
|
|
233
|
+
*/
|
|
234
|
+
constructor(opts) {
|
|
235
|
+
super({
|
|
236
|
+
name: "ResourceNotFoundException",
|
|
237
|
+
$fault: "client",
|
|
238
|
+
...opts
|
|
239
|
+
});
|
|
240
|
+
this.name = "ResourceNotFoundException";
|
|
241
|
+
this.$fault = "client";
|
|
242
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
246
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
247
|
+
var _UnsupportedOperationException = class _UnsupportedOperationException extends KinesisAnalyticsServiceException {
|
|
248
|
+
/**
|
|
249
|
+
* @internal
|
|
250
|
+
*/
|
|
251
|
+
constructor(opts) {
|
|
252
|
+
super({
|
|
253
|
+
name: "UnsupportedOperationException",
|
|
254
|
+
$fault: "client",
|
|
255
|
+
...opts
|
|
256
|
+
});
|
|
257
|
+
this.name = "UnsupportedOperationException";
|
|
258
|
+
this.$fault = "client";
|
|
259
|
+
Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
__name(_UnsupportedOperationException, "UnsupportedOperationException");
|
|
263
|
+
var UnsupportedOperationException = _UnsupportedOperationException;
|
|
264
|
+
var RecordFormatType = {
|
|
265
|
+
CSV: "CSV",
|
|
266
|
+
JSON: "JSON"
|
|
267
|
+
};
|
|
268
|
+
var _CodeValidationException = class _CodeValidationException extends KinesisAnalyticsServiceException {
|
|
269
|
+
/**
|
|
270
|
+
* @internal
|
|
271
|
+
*/
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "CodeValidationException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts
|
|
277
|
+
});
|
|
278
|
+
this.name = "CodeValidationException";
|
|
279
|
+
this.$fault = "client";
|
|
280
|
+
Object.setPrototypeOf(this, _CodeValidationException.prototype);
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
__name(_CodeValidationException, "CodeValidationException");
|
|
284
|
+
var CodeValidationException = _CodeValidationException;
|
|
285
|
+
var ApplicationStatus = {
|
|
286
|
+
DELETING: "DELETING",
|
|
287
|
+
READY: "READY",
|
|
288
|
+
RUNNING: "RUNNING",
|
|
289
|
+
STARTING: "STARTING",
|
|
290
|
+
STOPPING: "STOPPING",
|
|
291
|
+
UPDATING: "UPDATING"
|
|
292
|
+
};
|
|
293
|
+
var InputStartingPosition = {
|
|
294
|
+
LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
|
|
295
|
+
NOW: "NOW",
|
|
296
|
+
TRIM_HORIZON: "TRIM_HORIZON"
|
|
297
|
+
};
|
|
298
|
+
var _LimitExceededException = class _LimitExceededException extends KinesisAnalyticsServiceException {
|
|
299
|
+
/**
|
|
300
|
+
* @internal
|
|
301
|
+
*/
|
|
302
|
+
constructor(opts) {
|
|
303
|
+
super({
|
|
304
|
+
name: "LimitExceededException",
|
|
305
|
+
$fault: "client",
|
|
306
|
+
...opts
|
|
307
|
+
});
|
|
308
|
+
this.name = "LimitExceededException";
|
|
309
|
+
this.$fault = "client";
|
|
310
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
314
|
+
var LimitExceededException = _LimitExceededException;
|
|
315
|
+
var _TooManyTagsException = class _TooManyTagsException extends KinesisAnalyticsServiceException {
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
constructor(opts) {
|
|
320
|
+
super({
|
|
321
|
+
name: "TooManyTagsException",
|
|
322
|
+
$fault: "client",
|
|
323
|
+
...opts
|
|
324
|
+
});
|
|
325
|
+
this.name = "TooManyTagsException";
|
|
326
|
+
this.$fault = "client";
|
|
327
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
__name(_TooManyTagsException, "TooManyTagsException");
|
|
331
|
+
var TooManyTagsException = _TooManyTagsException;
|
|
332
|
+
var _ResourceProvisionedThroughputExceededException = class _ResourceProvisionedThroughputExceededException extends KinesisAnalyticsServiceException {
|
|
333
|
+
/**
|
|
334
|
+
* @internal
|
|
335
|
+
*/
|
|
336
|
+
constructor(opts) {
|
|
337
|
+
super({
|
|
338
|
+
name: "ResourceProvisionedThroughputExceededException",
|
|
339
|
+
$fault: "client",
|
|
340
|
+
...opts
|
|
341
|
+
});
|
|
342
|
+
this.name = "ResourceProvisionedThroughputExceededException";
|
|
343
|
+
this.$fault = "client";
|
|
344
|
+
Object.setPrototypeOf(this, _ResourceProvisionedThroughputExceededException.prototype);
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
__name(_ResourceProvisionedThroughputExceededException, "ResourceProvisionedThroughputExceededException");
|
|
348
|
+
var ResourceProvisionedThroughputExceededException = _ResourceProvisionedThroughputExceededException;
|
|
349
|
+
var _ServiceUnavailableException = class _ServiceUnavailableException extends KinesisAnalyticsServiceException {
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "ServiceUnavailableException",
|
|
356
|
+
$fault: "server",
|
|
357
|
+
...opts
|
|
358
|
+
});
|
|
359
|
+
this.name = "ServiceUnavailableException";
|
|
360
|
+
this.$fault = "server";
|
|
361
|
+
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
__name(_ServiceUnavailableException, "ServiceUnavailableException");
|
|
365
|
+
var ServiceUnavailableException = _ServiceUnavailableException;
|
|
366
|
+
var _UnableToDetectSchemaException = class _UnableToDetectSchemaException extends KinesisAnalyticsServiceException {
|
|
367
|
+
/**
|
|
368
|
+
* @internal
|
|
369
|
+
*/
|
|
370
|
+
constructor(opts) {
|
|
371
|
+
super({
|
|
372
|
+
name: "UnableToDetectSchemaException",
|
|
373
|
+
$fault: "client",
|
|
374
|
+
...opts
|
|
375
|
+
});
|
|
376
|
+
this.name = "UnableToDetectSchemaException";
|
|
377
|
+
this.$fault = "client";
|
|
378
|
+
Object.setPrototypeOf(this, _UnableToDetectSchemaException.prototype);
|
|
379
|
+
this.RawInputRecords = opts.RawInputRecords;
|
|
380
|
+
this.ProcessedInputRecords = opts.ProcessedInputRecords;
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
__name(_UnableToDetectSchemaException, "UnableToDetectSchemaException");
|
|
384
|
+
var UnableToDetectSchemaException = _UnableToDetectSchemaException;
|
|
385
|
+
var _InvalidApplicationConfigurationException = class _InvalidApplicationConfigurationException extends KinesisAnalyticsServiceException {
|
|
386
|
+
/**
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
constructor(opts) {
|
|
390
|
+
super({
|
|
391
|
+
name: "InvalidApplicationConfigurationException",
|
|
392
|
+
$fault: "client",
|
|
393
|
+
...opts
|
|
394
|
+
});
|
|
395
|
+
this.name = "InvalidApplicationConfigurationException";
|
|
396
|
+
this.$fault = "client";
|
|
397
|
+
Object.setPrototypeOf(this, _InvalidApplicationConfigurationException.prototype);
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
__name(_InvalidApplicationConfigurationException, "InvalidApplicationConfigurationException");
|
|
401
|
+
var InvalidApplicationConfigurationException = _InvalidApplicationConfigurationException;
|
|
402
|
+
|
|
403
|
+
// src/protocols/Aws_json1_1.ts
|
|
404
|
+
var se_AddApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
405
|
+
const headers = sharedHeaders("AddApplicationCloudWatchLoggingOption");
|
|
406
|
+
let body;
|
|
407
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
408
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
409
|
+
}, "se_AddApplicationCloudWatchLoggingOptionCommand");
|
|
410
|
+
var se_AddApplicationInputCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
411
|
+
const headers = sharedHeaders("AddApplicationInput");
|
|
412
|
+
let body;
|
|
413
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
414
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
415
|
+
}, "se_AddApplicationInputCommand");
|
|
416
|
+
var se_AddApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
417
|
+
const headers = sharedHeaders("AddApplicationInputProcessingConfiguration");
|
|
418
|
+
let body;
|
|
419
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
420
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
421
|
+
}, "se_AddApplicationInputProcessingConfigurationCommand");
|
|
422
|
+
var se_AddApplicationOutputCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
423
|
+
const headers = sharedHeaders("AddApplicationOutput");
|
|
424
|
+
let body;
|
|
425
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
426
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
427
|
+
}, "se_AddApplicationOutputCommand");
|
|
428
|
+
var se_AddApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
429
|
+
const headers = sharedHeaders("AddApplicationReferenceDataSource");
|
|
430
|
+
let body;
|
|
431
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
432
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
433
|
+
}, "se_AddApplicationReferenceDataSourceCommand");
|
|
434
|
+
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
435
|
+
const headers = sharedHeaders("CreateApplication");
|
|
436
|
+
let body;
|
|
437
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
438
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
439
|
+
}, "se_CreateApplicationCommand");
|
|
440
|
+
var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
441
|
+
const headers = sharedHeaders("DeleteApplication");
|
|
442
|
+
let body;
|
|
443
|
+
body = JSON.stringify(se_DeleteApplicationRequest(input, context));
|
|
444
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
445
|
+
}, "se_DeleteApplicationCommand");
|
|
446
|
+
var se_DeleteApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
447
|
+
const headers = sharedHeaders("DeleteApplicationCloudWatchLoggingOption");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
450
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
451
|
+
}, "se_DeleteApplicationCloudWatchLoggingOptionCommand");
|
|
452
|
+
var se_DeleteApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
453
|
+
const headers = sharedHeaders("DeleteApplicationInputProcessingConfiguration");
|
|
454
|
+
let body;
|
|
455
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
456
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
457
|
+
}, "se_DeleteApplicationInputProcessingConfigurationCommand");
|
|
458
|
+
var se_DeleteApplicationOutputCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
459
|
+
const headers = sharedHeaders("DeleteApplicationOutput");
|
|
460
|
+
let body;
|
|
461
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
462
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
463
|
+
}, "se_DeleteApplicationOutputCommand");
|
|
464
|
+
var se_DeleteApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const headers = sharedHeaders("DeleteApplicationReferenceDataSource");
|
|
466
|
+
let body;
|
|
467
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
468
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
469
|
+
}, "se_DeleteApplicationReferenceDataSourceCommand");
|
|
470
|
+
var se_DescribeApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
471
|
+
const headers = sharedHeaders("DescribeApplication");
|
|
472
|
+
let body;
|
|
473
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
474
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
475
|
+
}, "se_DescribeApplicationCommand");
|
|
476
|
+
var se_DiscoverInputSchemaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
477
|
+
const headers = sharedHeaders("DiscoverInputSchema");
|
|
478
|
+
let body;
|
|
479
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
480
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
481
|
+
}, "se_DiscoverInputSchemaCommand");
|
|
482
|
+
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
483
|
+
const headers = sharedHeaders("ListApplications");
|
|
484
|
+
let body;
|
|
485
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
486
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
487
|
+
}, "se_ListApplicationsCommand");
|
|
488
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
489
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
493
|
+
}, "se_ListTagsForResourceCommand");
|
|
494
|
+
var se_StartApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
495
|
+
const headers = sharedHeaders("StartApplication");
|
|
496
|
+
let body;
|
|
497
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
498
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
499
|
+
}, "se_StartApplicationCommand");
|
|
500
|
+
var se_StopApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
501
|
+
const headers = sharedHeaders("StopApplication");
|
|
502
|
+
let body;
|
|
503
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
504
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
505
|
+
}, "se_StopApplicationCommand");
|
|
506
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
507
|
+
const headers = sharedHeaders("TagResource");
|
|
508
|
+
let body;
|
|
509
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
510
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
511
|
+
}, "se_TagResourceCommand");
|
|
512
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
513
|
+
const headers = sharedHeaders("UntagResource");
|
|
514
|
+
let body;
|
|
515
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
516
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
517
|
+
}, "se_UntagResourceCommand");
|
|
518
|
+
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
519
|
+
const headers = sharedHeaders("UpdateApplication");
|
|
520
|
+
let body;
|
|
521
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
522
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
523
|
+
}, "se_UpdateApplicationCommand");
|
|
524
|
+
var de_AddApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
525
|
+
if (output.statusCode >= 300) {
|
|
526
|
+
return de_AddApplicationCloudWatchLoggingOptionCommandError(output, context);
|
|
527
|
+
}
|
|
528
|
+
const data = await parseBody(output.body, context);
|
|
529
|
+
let contents = {};
|
|
530
|
+
contents = (0, import_smithy_client._json)(data);
|
|
531
|
+
const response = {
|
|
532
|
+
$metadata: deserializeMetadata(output),
|
|
533
|
+
...contents
|
|
534
|
+
};
|
|
535
|
+
return response;
|
|
536
|
+
}, "de_AddApplicationCloudWatchLoggingOptionCommand");
|
|
537
|
+
var de_AddApplicationCloudWatchLoggingOptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
538
|
+
const parsedOutput = {
|
|
539
|
+
...output,
|
|
540
|
+
body: await parseErrorBody(output.body, context)
|
|
541
|
+
};
|
|
542
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
543
|
+
switch (errorCode) {
|
|
544
|
+
case "ConcurrentModificationException":
|
|
545
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
546
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
547
|
+
case "InvalidArgumentException":
|
|
548
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
549
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
550
|
+
case "ResourceInUseException":
|
|
551
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
552
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
553
|
+
case "ResourceNotFoundException":
|
|
554
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
555
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
556
|
+
case "UnsupportedOperationException":
|
|
557
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
558
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
559
|
+
default:
|
|
560
|
+
const parsedBody = parsedOutput.body;
|
|
561
|
+
return throwDefaultError({
|
|
562
|
+
output,
|
|
563
|
+
parsedBody,
|
|
564
|
+
errorCode
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
}, "de_AddApplicationCloudWatchLoggingOptionCommandError");
|
|
568
|
+
var de_AddApplicationInputCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
569
|
+
if (output.statusCode >= 300) {
|
|
570
|
+
return de_AddApplicationInputCommandError(output, context);
|
|
571
|
+
}
|
|
572
|
+
const data = await parseBody(output.body, context);
|
|
573
|
+
let contents = {};
|
|
574
|
+
contents = (0, import_smithy_client._json)(data);
|
|
575
|
+
const response = {
|
|
576
|
+
$metadata: deserializeMetadata(output),
|
|
577
|
+
...contents
|
|
578
|
+
};
|
|
579
|
+
return response;
|
|
580
|
+
}, "de_AddApplicationInputCommand");
|
|
581
|
+
var de_AddApplicationInputCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
582
|
+
const parsedOutput = {
|
|
583
|
+
...output,
|
|
584
|
+
body: await parseErrorBody(output.body, context)
|
|
585
|
+
};
|
|
586
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
587
|
+
switch (errorCode) {
|
|
588
|
+
case "CodeValidationException":
|
|
589
|
+
case "com.amazonaws.kinesisanalytics#CodeValidationException":
|
|
590
|
+
throw await de_CodeValidationExceptionRes(parsedOutput, context);
|
|
591
|
+
case "ConcurrentModificationException":
|
|
592
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
593
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
594
|
+
case "InvalidArgumentException":
|
|
595
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
596
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
597
|
+
case "ResourceInUseException":
|
|
598
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
599
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
600
|
+
case "ResourceNotFoundException":
|
|
601
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
602
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
603
|
+
case "UnsupportedOperationException":
|
|
604
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
605
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
606
|
+
default:
|
|
607
|
+
const parsedBody = parsedOutput.body;
|
|
608
|
+
return throwDefaultError({
|
|
609
|
+
output,
|
|
610
|
+
parsedBody,
|
|
611
|
+
errorCode
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
}, "de_AddApplicationInputCommandError");
|
|
615
|
+
var de_AddApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
616
|
+
if (output.statusCode >= 300) {
|
|
617
|
+
return de_AddApplicationInputProcessingConfigurationCommandError(output, context);
|
|
618
|
+
}
|
|
619
|
+
const data = await parseBody(output.body, context);
|
|
620
|
+
let contents = {};
|
|
621
|
+
contents = (0, import_smithy_client._json)(data);
|
|
622
|
+
const response = {
|
|
623
|
+
$metadata: deserializeMetadata(output),
|
|
624
|
+
...contents
|
|
625
|
+
};
|
|
626
|
+
return response;
|
|
627
|
+
}, "de_AddApplicationInputProcessingConfigurationCommand");
|
|
628
|
+
var de_AddApplicationInputProcessingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
629
|
+
const parsedOutput = {
|
|
630
|
+
...output,
|
|
631
|
+
body: await parseErrorBody(output.body, context)
|
|
632
|
+
};
|
|
633
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
634
|
+
switch (errorCode) {
|
|
635
|
+
case "ConcurrentModificationException":
|
|
636
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
637
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
638
|
+
case "InvalidArgumentException":
|
|
639
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
640
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
641
|
+
case "ResourceInUseException":
|
|
642
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
643
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
644
|
+
case "ResourceNotFoundException":
|
|
645
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
646
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
647
|
+
case "UnsupportedOperationException":
|
|
648
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
649
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
650
|
+
default:
|
|
651
|
+
const parsedBody = parsedOutput.body;
|
|
652
|
+
return throwDefaultError({
|
|
653
|
+
output,
|
|
654
|
+
parsedBody,
|
|
655
|
+
errorCode
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
}, "de_AddApplicationInputProcessingConfigurationCommandError");
|
|
659
|
+
var de_AddApplicationOutputCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
660
|
+
if (output.statusCode >= 300) {
|
|
661
|
+
return de_AddApplicationOutputCommandError(output, context);
|
|
662
|
+
}
|
|
663
|
+
const data = await parseBody(output.body, context);
|
|
664
|
+
let contents = {};
|
|
665
|
+
contents = (0, import_smithy_client._json)(data);
|
|
666
|
+
const response = {
|
|
667
|
+
$metadata: deserializeMetadata(output),
|
|
668
|
+
...contents
|
|
669
|
+
};
|
|
670
|
+
return response;
|
|
671
|
+
}, "de_AddApplicationOutputCommand");
|
|
672
|
+
var de_AddApplicationOutputCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
673
|
+
const parsedOutput = {
|
|
674
|
+
...output,
|
|
675
|
+
body: await parseErrorBody(output.body, context)
|
|
676
|
+
};
|
|
677
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
678
|
+
switch (errorCode) {
|
|
679
|
+
case "ConcurrentModificationException":
|
|
680
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
681
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
682
|
+
case "InvalidArgumentException":
|
|
683
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
684
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
685
|
+
case "ResourceInUseException":
|
|
686
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
687
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
688
|
+
case "ResourceNotFoundException":
|
|
689
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
690
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
691
|
+
case "UnsupportedOperationException":
|
|
692
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
693
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
694
|
+
default:
|
|
695
|
+
const parsedBody = parsedOutput.body;
|
|
696
|
+
return throwDefaultError({
|
|
697
|
+
output,
|
|
698
|
+
parsedBody,
|
|
699
|
+
errorCode
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
}, "de_AddApplicationOutputCommandError");
|
|
703
|
+
var de_AddApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
704
|
+
if (output.statusCode >= 300) {
|
|
705
|
+
return de_AddApplicationReferenceDataSourceCommandError(output, context);
|
|
706
|
+
}
|
|
707
|
+
const data = await parseBody(output.body, context);
|
|
708
|
+
let contents = {};
|
|
709
|
+
contents = (0, import_smithy_client._json)(data);
|
|
710
|
+
const response = {
|
|
711
|
+
$metadata: deserializeMetadata(output),
|
|
712
|
+
...contents
|
|
713
|
+
};
|
|
714
|
+
return response;
|
|
715
|
+
}, "de_AddApplicationReferenceDataSourceCommand");
|
|
716
|
+
var de_AddApplicationReferenceDataSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
717
|
+
const parsedOutput = {
|
|
718
|
+
...output,
|
|
719
|
+
body: await parseErrorBody(output.body, context)
|
|
720
|
+
};
|
|
721
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
722
|
+
switch (errorCode) {
|
|
723
|
+
case "ConcurrentModificationException":
|
|
724
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
725
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
726
|
+
case "InvalidArgumentException":
|
|
727
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
728
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
729
|
+
case "ResourceInUseException":
|
|
730
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
731
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
732
|
+
case "ResourceNotFoundException":
|
|
733
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
734
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
735
|
+
case "UnsupportedOperationException":
|
|
736
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
737
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
738
|
+
default:
|
|
739
|
+
const parsedBody = parsedOutput.body;
|
|
740
|
+
return throwDefaultError({
|
|
741
|
+
output,
|
|
742
|
+
parsedBody,
|
|
743
|
+
errorCode
|
|
744
|
+
});
|
|
745
|
+
}
|
|
746
|
+
}, "de_AddApplicationReferenceDataSourceCommandError");
|
|
747
|
+
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
748
|
+
if (output.statusCode >= 300) {
|
|
749
|
+
return de_CreateApplicationCommandError(output, context);
|
|
750
|
+
}
|
|
751
|
+
const data = await parseBody(output.body, context);
|
|
752
|
+
let contents = {};
|
|
753
|
+
contents = (0, import_smithy_client._json)(data);
|
|
754
|
+
const response = {
|
|
755
|
+
$metadata: deserializeMetadata(output),
|
|
756
|
+
...contents
|
|
757
|
+
};
|
|
758
|
+
return response;
|
|
759
|
+
}, "de_CreateApplicationCommand");
|
|
760
|
+
var de_CreateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
761
|
+
const parsedOutput = {
|
|
762
|
+
...output,
|
|
763
|
+
body: await parseErrorBody(output.body, context)
|
|
764
|
+
};
|
|
765
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
766
|
+
switch (errorCode) {
|
|
767
|
+
case "CodeValidationException":
|
|
768
|
+
case "com.amazonaws.kinesisanalytics#CodeValidationException":
|
|
769
|
+
throw await de_CodeValidationExceptionRes(parsedOutput, context);
|
|
770
|
+
case "ConcurrentModificationException":
|
|
771
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
772
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
773
|
+
case "InvalidArgumentException":
|
|
774
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
775
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
776
|
+
case "LimitExceededException":
|
|
777
|
+
case "com.amazonaws.kinesisanalytics#LimitExceededException":
|
|
778
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
779
|
+
case "ResourceInUseException":
|
|
780
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
781
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
782
|
+
case "TooManyTagsException":
|
|
783
|
+
case "com.amazonaws.kinesisanalytics#TooManyTagsException":
|
|
784
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
785
|
+
default:
|
|
786
|
+
const parsedBody = parsedOutput.body;
|
|
787
|
+
return throwDefaultError({
|
|
788
|
+
output,
|
|
789
|
+
parsedBody,
|
|
790
|
+
errorCode
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
}, "de_CreateApplicationCommandError");
|
|
794
|
+
var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
795
|
+
if (output.statusCode >= 300) {
|
|
796
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
797
|
+
}
|
|
798
|
+
const data = await parseBody(output.body, context);
|
|
799
|
+
let contents = {};
|
|
800
|
+
contents = (0, import_smithy_client._json)(data);
|
|
801
|
+
const response = {
|
|
802
|
+
$metadata: deserializeMetadata(output),
|
|
803
|
+
...contents
|
|
804
|
+
};
|
|
805
|
+
return response;
|
|
806
|
+
}, "de_DeleteApplicationCommand");
|
|
807
|
+
var de_DeleteApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
808
|
+
const parsedOutput = {
|
|
809
|
+
...output,
|
|
810
|
+
body: await parseErrorBody(output.body, context)
|
|
811
|
+
};
|
|
812
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
813
|
+
switch (errorCode) {
|
|
814
|
+
case "ConcurrentModificationException":
|
|
815
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
816
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
817
|
+
case "ResourceInUseException":
|
|
818
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
819
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
820
|
+
case "ResourceNotFoundException":
|
|
821
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
822
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
823
|
+
case "UnsupportedOperationException":
|
|
824
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
825
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
826
|
+
default:
|
|
827
|
+
const parsedBody = parsedOutput.body;
|
|
828
|
+
return throwDefaultError({
|
|
829
|
+
output,
|
|
830
|
+
parsedBody,
|
|
831
|
+
errorCode
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
}, "de_DeleteApplicationCommandError");
|
|
835
|
+
var de_DeleteApplicationCloudWatchLoggingOptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
836
|
+
if (output.statusCode >= 300) {
|
|
837
|
+
return de_DeleteApplicationCloudWatchLoggingOptionCommandError(output, context);
|
|
838
|
+
}
|
|
839
|
+
const data = await parseBody(output.body, context);
|
|
840
|
+
let contents = {};
|
|
841
|
+
contents = (0, import_smithy_client._json)(data);
|
|
842
|
+
const response = {
|
|
843
|
+
$metadata: deserializeMetadata(output),
|
|
844
|
+
...contents
|
|
845
|
+
};
|
|
846
|
+
return response;
|
|
847
|
+
}, "de_DeleteApplicationCloudWatchLoggingOptionCommand");
|
|
848
|
+
var de_DeleteApplicationCloudWatchLoggingOptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
849
|
+
const parsedOutput = {
|
|
850
|
+
...output,
|
|
851
|
+
body: await parseErrorBody(output.body, context)
|
|
852
|
+
};
|
|
853
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
854
|
+
switch (errorCode) {
|
|
855
|
+
case "ConcurrentModificationException":
|
|
856
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
857
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
858
|
+
case "InvalidArgumentException":
|
|
859
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
860
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
861
|
+
case "ResourceInUseException":
|
|
862
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
863
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
864
|
+
case "ResourceNotFoundException":
|
|
865
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
866
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
867
|
+
case "UnsupportedOperationException":
|
|
868
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
869
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
870
|
+
default:
|
|
871
|
+
const parsedBody = parsedOutput.body;
|
|
872
|
+
return throwDefaultError({
|
|
873
|
+
output,
|
|
874
|
+
parsedBody,
|
|
875
|
+
errorCode
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
}, "de_DeleteApplicationCloudWatchLoggingOptionCommandError");
|
|
879
|
+
var de_DeleteApplicationInputProcessingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
880
|
+
if (output.statusCode >= 300) {
|
|
881
|
+
return de_DeleteApplicationInputProcessingConfigurationCommandError(output, context);
|
|
882
|
+
}
|
|
883
|
+
const data = await parseBody(output.body, context);
|
|
884
|
+
let contents = {};
|
|
885
|
+
contents = (0, import_smithy_client._json)(data);
|
|
886
|
+
const response = {
|
|
887
|
+
$metadata: deserializeMetadata(output),
|
|
888
|
+
...contents
|
|
889
|
+
};
|
|
890
|
+
return response;
|
|
891
|
+
}, "de_DeleteApplicationInputProcessingConfigurationCommand");
|
|
892
|
+
var de_DeleteApplicationInputProcessingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
893
|
+
const parsedOutput = {
|
|
894
|
+
...output,
|
|
895
|
+
body: await parseErrorBody(output.body, context)
|
|
896
|
+
};
|
|
897
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
898
|
+
switch (errorCode) {
|
|
899
|
+
case "ConcurrentModificationException":
|
|
900
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
901
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
902
|
+
case "InvalidArgumentException":
|
|
903
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
904
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
905
|
+
case "ResourceInUseException":
|
|
906
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
907
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
908
|
+
case "ResourceNotFoundException":
|
|
909
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
910
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
911
|
+
case "UnsupportedOperationException":
|
|
912
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
913
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
914
|
+
default:
|
|
915
|
+
const parsedBody = parsedOutput.body;
|
|
916
|
+
return throwDefaultError({
|
|
917
|
+
output,
|
|
918
|
+
parsedBody,
|
|
919
|
+
errorCode
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
}, "de_DeleteApplicationInputProcessingConfigurationCommandError");
|
|
923
|
+
var de_DeleteApplicationOutputCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
924
|
+
if (output.statusCode >= 300) {
|
|
925
|
+
return de_DeleteApplicationOutputCommandError(output, context);
|
|
926
|
+
}
|
|
927
|
+
const data = await parseBody(output.body, context);
|
|
928
|
+
let contents = {};
|
|
929
|
+
contents = (0, import_smithy_client._json)(data);
|
|
930
|
+
const response = {
|
|
931
|
+
$metadata: deserializeMetadata(output),
|
|
932
|
+
...contents
|
|
933
|
+
};
|
|
934
|
+
return response;
|
|
935
|
+
}, "de_DeleteApplicationOutputCommand");
|
|
936
|
+
var de_DeleteApplicationOutputCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
937
|
+
const parsedOutput = {
|
|
938
|
+
...output,
|
|
939
|
+
body: await parseErrorBody(output.body, context)
|
|
940
|
+
};
|
|
941
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
942
|
+
switch (errorCode) {
|
|
943
|
+
case "ConcurrentModificationException":
|
|
944
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
945
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
946
|
+
case "InvalidArgumentException":
|
|
947
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
948
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
949
|
+
case "ResourceInUseException":
|
|
950
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
951
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
952
|
+
case "ResourceNotFoundException":
|
|
953
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
954
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
955
|
+
case "UnsupportedOperationException":
|
|
956
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
957
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
958
|
+
default:
|
|
959
|
+
const parsedBody = parsedOutput.body;
|
|
960
|
+
return throwDefaultError({
|
|
961
|
+
output,
|
|
962
|
+
parsedBody,
|
|
963
|
+
errorCode
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
}, "de_DeleteApplicationOutputCommandError");
|
|
967
|
+
var de_DeleteApplicationReferenceDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
|
+
if (output.statusCode >= 300) {
|
|
969
|
+
return de_DeleteApplicationReferenceDataSourceCommandError(output, context);
|
|
970
|
+
}
|
|
971
|
+
const data = await parseBody(output.body, context);
|
|
972
|
+
let contents = {};
|
|
973
|
+
contents = (0, import_smithy_client._json)(data);
|
|
974
|
+
const response = {
|
|
975
|
+
$metadata: deserializeMetadata(output),
|
|
976
|
+
...contents
|
|
977
|
+
};
|
|
978
|
+
return response;
|
|
979
|
+
}, "de_DeleteApplicationReferenceDataSourceCommand");
|
|
980
|
+
var de_DeleteApplicationReferenceDataSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
981
|
+
const parsedOutput = {
|
|
982
|
+
...output,
|
|
983
|
+
body: await parseErrorBody(output.body, context)
|
|
984
|
+
};
|
|
985
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
986
|
+
switch (errorCode) {
|
|
987
|
+
case "ConcurrentModificationException":
|
|
988
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
989
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
990
|
+
case "InvalidArgumentException":
|
|
991
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
992
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
993
|
+
case "ResourceInUseException":
|
|
994
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
995
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
996
|
+
case "ResourceNotFoundException":
|
|
997
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
998
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
999
|
+
case "UnsupportedOperationException":
|
|
1000
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
1001
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1002
|
+
default:
|
|
1003
|
+
const parsedBody = parsedOutput.body;
|
|
1004
|
+
return throwDefaultError({
|
|
1005
|
+
output,
|
|
1006
|
+
parsedBody,
|
|
1007
|
+
errorCode
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
}, "de_DeleteApplicationReferenceDataSourceCommandError");
|
|
1011
|
+
var de_DescribeApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1012
|
+
if (output.statusCode >= 300) {
|
|
1013
|
+
return de_DescribeApplicationCommandError(output, context);
|
|
1014
|
+
}
|
|
1015
|
+
const data = await parseBody(output.body, context);
|
|
1016
|
+
let contents = {};
|
|
1017
|
+
contents = de_DescribeApplicationResponse(data, context);
|
|
1018
|
+
const response = {
|
|
1019
|
+
$metadata: deserializeMetadata(output),
|
|
1020
|
+
...contents
|
|
1021
|
+
};
|
|
1022
|
+
return response;
|
|
1023
|
+
}, "de_DescribeApplicationCommand");
|
|
1024
|
+
var de_DescribeApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1025
|
+
const parsedOutput = {
|
|
1026
|
+
...output,
|
|
1027
|
+
body: await parseErrorBody(output.body, context)
|
|
1028
|
+
};
|
|
1029
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1030
|
+
switch (errorCode) {
|
|
1031
|
+
case "ResourceNotFoundException":
|
|
1032
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1033
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1034
|
+
case "UnsupportedOperationException":
|
|
1035
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
1036
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1037
|
+
default:
|
|
1038
|
+
const parsedBody = parsedOutput.body;
|
|
1039
|
+
return throwDefaultError({
|
|
1040
|
+
output,
|
|
1041
|
+
parsedBody,
|
|
1042
|
+
errorCode
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
}, "de_DescribeApplicationCommandError");
|
|
1046
|
+
var de_DiscoverInputSchemaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1047
|
+
if (output.statusCode >= 300) {
|
|
1048
|
+
return de_DiscoverInputSchemaCommandError(output, context);
|
|
1049
|
+
}
|
|
1050
|
+
const data = await parseBody(output.body, context);
|
|
1051
|
+
let contents = {};
|
|
1052
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1053
|
+
const response = {
|
|
1054
|
+
$metadata: deserializeMetadata(output),
|
|
1055
|
+
...contents
|
|
1056
|
+
};
|
|
1057
|
+
return response;
|
|
1058
|
+
}, "de_DiscoverInputSchemaCommand");
|
|
1059
|
+
var de_DiscoverInputSchemaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1060
|
+
const parsedOutput = {
|
|
1061
|
+
...output,
|
|
1062
|
+
body: await parseErrorBody(output.body, context)
|
|
1063
|
+
};
|
|
1064
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1065
|
+
switch (errorCode) {
|
|
1066
|
+
case "InvalidArgumentException":
|
|
1067
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
1068
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1069
|
+
case "ResourceProvisionedThroughputExceededException":
|
|
1070
|
+
case "com.amazonaws.kinesisanalytics#ResourceProvisionedThroughputExceededException":
|
|
1071
|
+
throw await de_ResourceProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
1072
|
+
case "ServiceUnavailableException":
|
|
1073
|
+
case "com.amazonaws.kinesisanalytics#ServiceUnavailableException":
|
|
1074
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1075
|
+
case "UnableToDetectSchemaException":
|
|
1076
|
+
case "com.amazonaws.kinesisanalytics#UnableToDetectSchemaException":
|
|
1077
|
+
throw await de_UnableToDetectSchemaExceptionRes(parsedOutput, context);
|
|
1078
|
+
default:
|
|
1079
|
+
const parsedBody = parsedOutput.body;
|
|
1080
|
+
return throwDefaultError({
|
|
1081
|
+
output,
|
|
1082
|
+
parsedBody,
|
|
1083
|
+
errorCode
|
|
1084
|
+
});
|
|
1085
|
+
}
|
|
1086
|
+
}, "de_DiscoverInputSchemaCommandError");
|
|
1087
|
+
var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1088
|
+
if (output.statusCode >= 300) {
|
|
1089
|
+
return de_ListApplicationsCommandError(output, context);
|
|
1090
|
+
}
|
|
1091
|
+
const data = await parseBody(output.body, context);
|
|
1092
|
+
let contents = {};
|
|
1093
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1094
|
+
const response = {
|
|
1095
|
+
$metadata: deserializeMetadata(output),
|
|
1096
|
+
...contents
|
|
1097
|
+
};
|
|
1098
|
+
return response;
|
|
1099
|
+
}, "de_ListApplicationsCommand");
|
|
1100
|
+
var de_ListApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1101
|
+
const parsedOutput = {
|
|
1102
|
+
...output,
|
|
1103
|
+
body: await parseErrorBody(output.body, context)
|
|
1104
|
+
};
|
|
1105
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1106
|
+
const parsedBody = parsedOutput.body;
|
|
1107
|
+
return throwDefaultError({
|
|
1108
|
+
output,
|
|
1109
|
+
parsedBody,
|
|
1110
|
+
errorCode
|
|
1111
|
+
});
|
|
1112
|
+
}, "de_ListApplicationsCommandError");
|
|
1113
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1114
|
+
if (output.statusCode >= 300) {
|
|
1115
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1116
|
+
}
|
|
1117
|
+
const data = await parseBody(output.body, context);
|
|
1118
|
+
let contents = {};
|
|
1119
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1120
|
+
const response = {
|
|
1121
|
+
$metadata: deserializeMetadata(output),
|
|
1122
|
+
...contents
|
|
1123
|
+
};
|
|
1124
|
+
return response;
|
|
1125
|
+
}, "de_ListTagsForResourceCommand");
|
|
1126
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1127
|
+
const parsedOutput = {
|
|
1128
|
+
...output,
|
|
1129
|
+
body: await parseErrorBody(output.body, context)
|
|
1130
|
+
};
|
|
1131
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1132
|
+
switch (errorCode) {
|
|
1133
|
+
case "ConcurrentModificationException":
|
|
1134
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
1135
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1136
|
+
case "InvalidArgumentException":
|
|
1137
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
1138
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1139
|
+
case "ResourceNotFoundException":
|
|
1140
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1141
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1142
|
+
default:
|
|
1143
|
+
const parsedBody = parsedOutput.body;
|
|
1144
|
+
return throwDefaultError({
|
|
1145
|
+
output,
|
|
1146
|
+
parsedBody,
|
|
1147
|
+
errorCode
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1151
|
+
var de_StartApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
|
+
if (output.statusCode >= 300) {
|
|
1153
|
+
return de_StartApplicationCommandError(output, context);
|
|
1154
|
+
}
|
|
1155
|
+
const data = await parseBody(output.body, context);
|
|
1156
|
+
let contents = {};
|
|
1157
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1158
|
+
const response = {
|
|
1159
|
+
$metadata: deserializeMetadata(output),
|
|
1160
|
+
...contents
|
|
1161
|
+
};
|
|
1162
|
+
return response;
|
|
1163
|
+
}, "de_StartApplicationCommand");
|
|
1164
|
+
var de_StartApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1165
|
+
const parsedOutput = {
|
|
1166
|
+
...output,
|
|
1167
|
+
body: await parseErrorBody(output.body, context)
|
|
1168
|
+
};
|
|
1169
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1170
|
+
switch (errorCode) {
|
|
1171
|
+
case "InvalidApplicationConfigurationException":
|
|
1172
|
+
case "com.amazonaws.kinesisanalytics#InvalidApplicationConfigurationException":
|
|
1173
|
+
throw await de_InvalidApplicationConfigurationExceptionRes(parsedOutput, context);
|
|
1174
|
+
case "InvalidArgumentException":
|
|
1175
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
1176
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1177
|
+
case "ResourceInUseException":
|
|
1178
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
1179
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1180
|
+
case "ResourceNotFoundException":
|
|
1181
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1182
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1183
|
+
case "UnsupportedOperationException":
|
|
1184
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
1185
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1186
|
+
default:
|
|
1187
|
+
const parsedBody = parsedOutput.body;
|
|
1188
|
+
return throwDefaultError({
|
|
1189
|
+
output,
|
|
1190
|
+
parsedBody,
|
|
1191
|
+
errorCode
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
1194
|
+
}, "de_StartApplicationCommandError");
|
|
1195
|
+
var de_StopApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1196
|
+
if (output.statusCode >= 300) {
|
|
1197
|
+
return de_StopApplicationCommandError(output, context);
|
|
1198
|
+
}
|
|
1199
|
+
const data = await parseBody(output.body, context);
|
|
1200
|
+
let contents = {};
|
|
1201
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1202
|
+
const response = {
|
|
1203
|
+
$metadata: deserializeMetadata(output),
|
|
1204
|
+
...contents
|
|
1205
|
+
};
|
|
1206
|
+
return response;
|
|
1207
|
+
}, "de_StopApplicationCommand");
|
|
1208
|
+
var de_StopApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
|
+
const parsedOutput = {
|
|
1210
|
+
...output,
|
|
1211
|
+
body: await parseErrorBody(output.body, context)
|
|
1212
|
+
};
|
|
1213
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1214
|
+
switch (errorCode) {
|
|
1215
|
+
case "ResourceInUseException":
|
|
1216
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
1217
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1218
|
+
case "ResourceNotFoundException":
|
|
1219
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1220
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1221
|
+
case "UnsupportedOperationException":
|
|
1222
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
1223
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1224
|
+
default:
|
|
1225
|
+
const parsedBody = parsedOutput.body;
|
|
1226
|
+
return throwDefaultError({
|
|
1227
|
+
output,
|
|
1228
|
+
parsedBody,
|
|
1229
|
+
errorCode
|
|
1230
|
+
});
|
|
1231
|
+
}
|
|
1232
|
+
}, "de_StopApplicationCommandError");
|
|
1233
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1234
|
+
if (output.statusCode >= 300) {
|
|
1235
|
+
return de_TagResourceCommandError(output, context);
|
|
1236
|
+
}
|
|
1237
|
+
const data = await parseBody(output.body, context);
|
|
1238
|
+
let contents = {};
|
|
1239
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1240
|
+
const response = {
|
|
1241
|
+
$metadata: deserializeMetadata(output),
|
|
1242
|
+
...contents
|
|
1243
|
+
};
|
|
1244
|
+
return response;
|
|
1245
|
+
}, "de_TagResourceCommand");
|
|
1246
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1247
|
+
const parsedOutput = {
|
|
1248
|
+
...output,
|
|
1249
|
+
body: await parseErrorBody(output.body, context)
|
|
1250
|
+
};
|
|
1251
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1252
|
+
switch (errorCode) {
|
|
1253
|
+
case "ConcurrentModificationException":
|
|
1254
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
1255
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1256
|
+
case "InvalidArgumentException":
|
|
1257
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
1258
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1259
|
+
case "ResourceInUseException":
|
|
1260
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
1261
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1262
|
+
case "ResourceNotFoundException":
|
|
1263
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1264
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1265
|
+
case "TooManyTagsException":
|
|
1266
|
+
case "com.amazonaws.kinesisanalytics#TooManyTagsException":
|
|
1267
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1268
|
+
default:
|
|
1269
|
+
const parsedBody = parsedOutput.body;
|
|
1270
|
+
return throwDefaultError({
|
|
1271
|
+
output,
|
|
1272
|
+
parsedBody,
|
|
1273
|
+
errorCode
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
}, "de_TagResourceCommandError");
|
|
1277
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1278
|
+
if (output.statusCode >= 300) {
|
|
1279
|
+
return de_UntagResourceCommandError(output, context);
|
|
1280
|
+
}
|
|
1281
|
+
const data = await parseBody(output.body, context);
|
|
1282
|
+
let contents = {};
|
|
1283
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1284
|
+
const response = {
|
|
1285
|
+
$metadata: deserializeMetadata(output),
|
|
1286
|
+
...contents
|
|
1287
|
+
};
|
|
1288
|
+
return response;
|
|
1289
|
+
}, "de_UntagResourceCommand");
|
|
1290
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1291
|
+
const parsedOutput = {
|
|
1292
|
+
...output,
|
|
1293
|
+
body: await parseErrorBody(output.body, context)
|
|
1294
|
+
};
|
|
1295
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1296
|
+
switch (errorCode) {
|
|
1297
|
+
case "ConcurrentModificationException":
|
|
1298
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
1299
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1300
|
+
case "InvalidArgumentException":
|
|
1301
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
1302
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1303
|
+
case "ResourceInUseException":
|
|
1304
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
1305
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1306
|
+
case "ResourceNotFoundException":
|
|
1307
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1308
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1309
|
+
case "TooManyTagsException":
|
|
1310
|
+
case "com.amazonaws.kinesisanalytics#TooManyTagsException":
|
|
1311
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1312
|
+
default:
|
|
1313
|
+
const parsedBody = parsedOutput.body;
|
|
1314
|
+
return throwDefaultError({
|
|
1315
|
+
output,
|
|
1316
|
+
parsedBody,
|
|
1317
|
+
errorCode
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
}, "de_UntagResourceCommandError");
|
|
1321
|
+
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
+
if (output.statusCode >= 300) {
|
|
1323
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
1324
|
+
}
|
|
1325
|
+
const data = await parseBody(output.body, context);
|
|
1326
|
+
let contents = {};
|
|
1327
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1328
|
+
const response = {
|
|
1329
|
+
$metadata: deserializeMetadata(output),
|
|
1330
|
+
...contents
|
|
1331
|
+
};
|
|
1332
|
+
return response;
|
|
1333
|
+
}, "de_UpdateApplicationCommand");
|
|
1334
|
+
var de_UpdateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1335
|
+
const parsedOutput = {
|
|
1336
|
+
...output,
|
|
1337
|
+
body: await parseErrorBody(output.body, context)
|
|
1338
|
+
};
|
|
1339
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1340
|
+
switch (errorCode) {
|
|
1341
|
+
case "CodeValidationException":
|
|
1342
|
+
case "com.amazonaws.kinesisanalytics#CodeValidationException":
|
|
1343
|
+
throw await de_CodeValidationExceptionRes(parsedOutput, context);
|
|
1344
|
+
case "ConcurrentModificationException":
|
|
1345
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
1346
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1347
|
+
case "InvalidArgumentException":
|
|
1348
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
1349
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1350
|
+
case "ResourceInUseException":
|
|
1351
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
1352
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1353
|
+
case "ResourceNotFoundException":
|
|
1354
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
1355
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1356
|
+
case "UnsupportedOperationException":
|
|
1357
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException":
|
|
1358
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1359
|
+
default:
|
|
1360
|
+
const parsedBody = parsedOutput.body;
|
|
1361
|
+
return throwDefaultError({
|
|
1362
|
+
output,
|
|
1363
|
+
parsedBody,
|
|
1364
|
+
errorCode
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
1367
|
+
}, "de_UpdateApplicationCommandError");
|
|
1368
|
+
var de_CodeValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1369
|
+
const body = parsedOutput.body;
|
|
1370
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1371
|
+
const exception = new CodeValidationException({
|
|
1372
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1373
|
+
...deserialized
|
|
1374
|
+
});
|
|
1375
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1376
|
+
}, "de_CodeValidationExceptionRes");
|
|
1377
|
+
var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1378
|
+
const body = parsedOutput.body;
|
|
1379
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1380
|
+
const exception = new ConcurrentModificationException({
|
|
1381
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1382
|
+
...deserialized
|
|
1383
|
+
});
|
|
1384
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1385
|
+
}, "de_ConcurrentModificationExceptionRes");
|
|
1386
|
+
var de_InvalidApplicationConfigurationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1387
|
+
const body = parsedOutput.body;
|
|
1388
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1389
|
+
const exception = new InvalidApplicationConfigurationException({
|
|
1390
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1391
|
+
...deserialized
|
|
1392
|
+
});
|
|
1393
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1394
|
+
}, "de_InvalidApplicationConfigurationExceptionRes");
|
|
1395
|
+
var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1396
|
+
const body = parsedOutput.body;
|
|
1397
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1398
|
+
const exception = new InvalidArgumentException({
|
|
1399
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1400
|
+
...deserialized
|
|
1401
|
+
});
|
|
1402
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1403
|
+
}, "de_InvalidArgumentExceptionRes");
|
|
1404
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1405
|
+
const body = parsedOutput.body;
|
|
1406
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1407
|
+
const exception = new LimitExceededException({
|
|
1408
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1409
|
+
...deserialized
|
|
1410
|
+
});
|
|
1411
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1412
|
+
}, "de_LimitExceededExceptionRes");
|
|
1413
|
+
var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1414
|
+
const body = parsedOutput.body;
|
|
1415
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1416
|
+
const exception = new ResourceInUseException({
|
|
1417
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1418
|
+
...deserialized
|
|
1419
|
+
});
|
|
1420
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1421
|
+
}, "de_ResourceInUseExceptionRes");
|
|
1422
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1423
|
+
const body = parsedOutput.body;
|
|
1424
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1425
|
+
const exception = new ResourceNotFoundException({
|
|
1426
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1427
|
+
...deserialized
|
|
1428
|
+
});
|
|
1429
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1430
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1431
|
+
var de_ResourceProvisionedThroughputExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1432
|
+
const body = parsedOutput.body;
|
|
1433
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1434
|
+
const exception = new ResourceProvisionedThroughputExceededException({
|
|
1435
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1436
|
+
...deserialized
|
|
1437
|
+
});
|
|
1438
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1439
|
+
}, "de_ResourceProvisionedThroughputExceededExceptionRes");
|
|
1440
|
+
var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1441
|
+
const body = parsedOutput.body;
|
|
1442
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1443
|
+
const exception = new ServiceUnavailableException({
|
|
1444
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1445
|
+
...deserialized
|
|
1446
|
+
});
|
|
1447
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1448
|
+
}, "de_ServiceUnavailableExceptionRes");
|
|
1449
|
+
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1450
|
+
const body = parsedOutput.body;
|
|
1451
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1452
|
+
const exception = new TooManyTagsException({
|
|
1453
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1454
|
+
...deserialized
|
|
1455
|
+
});
|
|
1456
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1457
|
+
}, "de_TooManyTagsExceptionRes");
|
|
1458
|
+
var de_UnableToDetectSchemaExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1459
|
+
const body = parsedOutput.body;
|
|
1460
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1461
|
+
const exception = new UnableToDetectSchemaException({
|
|
1462
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1463
|
+
...deserialized
|
|
1464
|
+
});
|
|
1465
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1466
|
+
}, "de_UnableToDetectSchemaExceptionRes");
|
|
1467
|
+
var de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1468
|
+
const body = parsedOutput.body;
|
|
1469
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1470
|
+
const exception = new UnsupportedOperationException({
|
|
1471
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1472
|
+
...deserialized
|
|
1473
|
+
});
|
|
1474
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1475
|
+
}, "de_UnsupportedOperationExceptionRes");
|
|
1476
|
+
var se_DeleteApplicationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1477
|
+
return (0, import_smithy_client.take)(input, {
|
|
1478
|
+
ApplicationName: [],
|
|
1479
|
+
CreateTimestamp: (_) => Math.round(_.getTime() / 1e3)
|
|
1480
|
+
});
|
|
1481
|
+
}, "se_DeleteApplicationRequest");
|
|
1482
|
+
var de_ApplicationDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1483
|
+
return (0, import_smithy_client.take)(output, {
|
|
1484
|
+
ApplicationARN: import_smithy_client.expectString,
|
|
1485
|
+
ApplicationCode: import_smithy_client.expectString,
|
|
1486
|
+
ApplicationDescription: import_smithy_client.expectString,
|
|
1487
|
+
ApplicationName: import_smithy_client.expectString,
|
|
1488
|
+
ApplicationStatus: import_smithy_client.expectString,
|
|
1489
|
+
ApplicationVersionId: import_smithy_client.expectLong,
|
|
1490
|
+
CloudWatchLoggingOptionDescriptions: import_smithy_client._json,
|
|
1491
|
+
CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1492
|
+
InputDescriptions: import_smithy_client._json,
|
|
1493
|
+
LastUpdateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1494
|
+
OutputDescriptions: import_smithy_client._json,
|
|
1495
|
+
ReferenceDataSourceDescriptions: import_smithy_client._json
|
|
1496
|
+
});
|
|
1497
|
+
}, "de_ApplicationDetail");
|
|
1498
|
+
var de_DescribeApplicationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1499
|
+
return (0, import_smithy_client.take)(output, {
|
|
1500
|
+
ApplicationDetail: (_) => de_ApplicationDetail(_, context)
|
|
1501
|
+
});
|
|
1502
|
+
}, "de_DescribeApplicationResponse");
|
|
1503
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1504
|
+
httpStatusCode: output.statusCode,
|
|
1505
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1506
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1507
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1508
|
+
}), "deserializeMetadata");
|
|
1509
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1510
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisAnalyticsServiceException);
|
|
1511
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1512
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1513
|
+
const contents = {
|
|
1514
|
+
protocol,
|
|
1515
|
+
hostname,
|
|
1516
|
+
port,
|
|
1517
|
+
method: "POST",
|
|
1518
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1519
|
+
headers
|
|
1520
|
+
};
|
|
1521
|
+
if (resolvedHostname !== void 0) {
|
|
1522
|
+
contents.hostname = resolvedHostname;
|
|
1523
|
+
}
|
|
1524
|
+
if (body !== void 0) {
|
|
1525
|
+
contents.body = body;
|
|
1526
|
+
}
|
|
1527
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1528
|
+
}, "buildHttpRpcRequest");
|
|
1529
|
+
function sharedHeaders(operation) {
|
|
1530
|
+
return {
|
|
1531
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1532
|
+
"x-amz-target": `KinesisAnalytics_20150814.${operation}`
|
|
1533
|
+
};
|
|
1534
|
+
}
|
|
1535
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1536
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1537
|
+
if (encoded.length) {
|
|
1538
|
+
return JSON.parse(encoded);
|
|
1539
|
+
}
|
|
1540
|
+
return {};
|
|
1541
|
+
}), "parseBody");
|
|
1542
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1543
|
+
const value = await parseBody(errorBody, context);
|
|
1544
|
+
value.message = value.message ?? value.Message;
|
|
1545
|
+
return value;
|
|
1546
|
+
}, "parseErrorBody");
|
|
1547
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1548
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1549
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1550
|
+
let cleanValue = rawValue;
|
|
1551
|
+
if (typeof cleanValue === "number") {
|
|
1552
|
+
cleanValue = cleanValue.toString();
|
|
1553
|
+
}
|
|
1554
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1555
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1556
|
+
}
|
|
1557
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1558
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1559
|
+
}
|
|
1560
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1561
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1562
|
+
}
|
|
1563
|
+
return cleanValue;
|
|
1564
|
+
}, "sanitizeErrorCode");
|
|
1565
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1566
|
+
if (headerKey !== void 0) {
|
|
1567
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1568
|
+
}
|
|
1569
|
+
if (data.code !== void 0) {
|
|
1570
|
+
return sanitizeErrorCode(data.code);
|
|
1571
|
+
}
|
|
1572
|
+
if (data["__type"] !== void 0) {
|
|
1573
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1574
|
+
}
|
|
1575
|
+
}, "loadRestJsonErrorCode");
|
|
1576
|
+
|
|
1577
|
+
// src/commands/AddApplicationCloudWatchLoggingOptionCommand.ts
|
|
1578
|
+
var _AddApplicationCloudWatchLoggingOptionCommand = class _AddApplicationCloudWatchLoggingOptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1579
|
+
...commonParams
|
|
1580
|
+
}).m(function(Command, cs, config, o) {
|
|
1581
|
+
return [
|
|
1582
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1583
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1584
|
+
];
|
|
1585
|
+
}).s("KinesisAnalytics_20150814", "AddApplicationCloudWatchLoggingOption", {}).n("KinesisAnalyticsClient", "AddApplicationCloudWatchLoggingOptionCommand").f(void 0, void 0).ser(se_AddApplicationCloudWatchLoggingOptionCommand).de(de_AddApplicationCloudWatchLoggingOptionCommand).build() {
|
|
1586
|
+
};
|
|
1587
|
+
__name(_AddApplicationCloudWatchLoggingOptionCommand, "AddApplicationCloudWatchLoggingOptionCommand");
|
|
1588
|
+
var AddApplicationCloudWatchLoggingOptionCommand = _AddApplicationCloudWatchLoggingOptionCommand;
|
|
1589
|
+
|
|
1590
|
+
// src/commands/AddApplicationInputCommand.ts
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
var _AddApplicationInputCommand = class _AddApplicationInputCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1596
|
+
...commonParams
|
|
1597
|
+
}).m(function(Command, cs, config, o) {
|
|
1598
|
+
return [
|
|
1599
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1600
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1601
|
+
];
|
|
1602
|
+
}).s("KinesisAnalytics_20150814", "AddApplicationInput", {}).n("KinesisAnalyticsClient", "AddApplicationInputCommand").f(void 0, void 0).ser(se_AddApplicationInputCommand).de(de_AddApplicationInputCommand).build() {
|
|
1603
|
+
};
|
|
1604
|
+
__name(_AddApplicationInputCommand, "AddApplicationInputCommand");
|
|
1605
|
+
var AddApplicationInputCommand = _AddApplicationInputCommand;
|
|
1606
|
+
|
|
1607
|
+
// src/commands/AddApplicationInputProcessingConfigurationCommand.ts
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
var _AddApplicationInputProcessingConfigurationCommand = class _AddApplicationInputProcessingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1613
|
+
...commonParams
|
|
1614
|
+
}).m(function(Command, cs, config, o) {
|
|
1615
|
+
return [
|
|
1616
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1617
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1618
|
+
];
|
|
1619
|
+
}).s("KinesisAnalytics_20150814", "AddApplicationInputProcessingConfiguration", {}).n("KinesisAnalyticsClient", "AddApplicationInputProcessingConfigurationCommand").f(void 0, void 0).ser(se_AddApplicationInputProcessingConfigurationCommand).de(de_AddApplicationInputProcessingConfigurationCommand).build() {
|
|
1620
|
+
};
|
|
1621
|
+
__name(_AddApplicationInputProcessingConfigurationCommand, "AddApplicationInputProcessingConfigurationCommand");
|
|
1622
|
+
var AddApplicationInputProcessingConfigurationCommand = _AddApplicationInputProcessingConfigurationCommand;
|
|
1623
|
+
|
|
1624
|
+
// src/commands/AddApplicationOutputCommand.ts
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
var _AddApplicationOutputCommand = class _AddApplicationOutputCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1630
|
+
...commonParams
|
|
1631
|
+
}).m(function(Command, cs, config, o) {
|
|
1632
|
+
return [
|
|
1633
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1634
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1635
|
+
];
|
|
1636
|
+
}).s("KinesisAnalytics_20150814", "AddApplicationOutput", {}).n("KinesisAnalyticsClient", "AddApplicationOutputCommand").f(void 0, void 0).ser(se_AddApplicationOutputCommand).de(de_AddApplicationOutputCommand).build() {
|
|
1637
|
+
};
|
|
1638
|
+
__name(_AddApplicationOutputCommand, "AddApplicationOutputCommand");
|
|
1639
|
+
var AddApplicationOutputCommand = _AddApplicationOutputCommand;
|
|
1640
|
+
|
|
1641
|
+
// src/commands/AddApplicationReferenceDataSourceCommand.ts
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
var _AddApplicationReferenceDataSourceCommand = class _AddApplicationReferenceDataSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1647
|
+
...commonParams
|
|
1648
|
+
}).m(function(Command, cs, config, o) {
|
|
1649
|
+
return [
|
|
1650
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1651
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1652
|
+
];
|
|
1653
|
+
}).s("KinesisAnalytics_20150814", "AddApplicationReferenceDataSource", {}).n("KinesisAnalyticsClient", "AddApplicationReferenceDataSourceCommand").f(void 0, void 0).ser(se_AddApplicationReferenceDataSourceCommand).de(de_AddApplicationReferenceDataSourceCommand).build() {
|
|
1654
|
+
};
|
|
1655
|
+
__name(_AddApplicationReferenceDataSourceCommand, "AddApplicationReferenceDataSourceCommand");
|
|
1656
|
+
var AddApplicationReferenceDataSourceCommand = _AddApplicationReferenceDataSourceCommand;
|
|
1657
|
+
|
|
1658
|
+
// src/commands/CreateApplicationCommand.ts
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1664
|
+
...commonParams
|
|
1665
|
+
}).m(function(Command, cs, config, o) {
|
|
1666
|
+
return [
|
|
1667
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1668
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1669
|
+
];
|
|
1670
|
+
}).s("KinesisAnalytics_20150814", "CreateApplication", {}).n("KinesisAnalyticsClient", "CreateApplicationCommand").f(void 0, void 0).ser(se_CreateApplicationCommand).de(de_CreateApplicationCommand).build() {
|
|
1671
|
+
};
|
|
1672
|
+
__name(_CreateApplicationCommand, "CreateApplicationCommand");
|
|
1673
|
+
var CreateApplicationCommand = _CreateApplicationCommand;
|
|
1674
|
+
|
|
1675
|
+
// src/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
var _DeleteApplicationCloudWatchLoggingOptionCommand = class _DeleteApplicationCloudWatchLoggingOptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1681
|
+
...commonParams
|
|
1682
|
+
}).m(function(Command, cs, config, o) {
|
|
1683
|
+
return [
|
|
1684
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1685
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1686
|
+
];
|
|
1687
|
+
}).s("KinesisAnalytics_20150814", "DeleteApplicationCloudWatchLoggingOption", {}).n("KinesisAnalyticsClient", "DeleteApplicationCloudWatchLoggingOptionCommand").f(void 0, void 0).ser(se_DeleteApplicationCloudWatchLoggingOptionCommand).de(de_DeleteApplicationCloudWatchLoggingOptionCommand).build() {
|
|
1688
|
+
};
|
|
1689
|
+
__name(_DeleteApplicationCloudWatchLoggingOptionCommand, "DeleteApplicationCloudWatchLoggingOptionCommand");
|
|
1690
|
+
var DeleteApplicationCloudWatchLoggingOptionCommand = _DeleteApplicationCloudWatchLoggingOptionCommand;
|
|
1691
|
+
|
|
1692
|
+
// src/commands/DeleteApplicationCommand.ts
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1698
|
+
...commonParams
|
|
1699
|
+
}).m(function(Command, cs, config, o) {
|
|
1700
|
+
return [
|
|
1701
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1702
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1703
|
+
];
|
|
1704
|
+
}).s("KinesisAnalytics_20150814", "DeleteApplication", {}).n("KinesisAnalyticsClient", "DeleteApplicationCommand").f(void 0, void 0).ser(se_DeleteApplicationCommand).de(de_DeleteApplicationCommand).build() {
|
|
1705
|
+
};
|
|
1706
|
+
__name(_DeleteApplicationCommand, "DeleteApplicationCommand");
|
|
1707
|
+
var DeleteApplicationCommand = _DeleteApplicationCommand;
|
|
1708
|
+
|
|
1709
|
+
// src/commands/DeleteApplicationInputProcessingConfigurationCommand.ts
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
var _DeleteApplicationInputProcessingConfigurationCommand = class _DeleteApplicationInputProcessingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1715
|
+
...commonParams
|
|
1716
|
+
}).m(function(Command, cs, config, o) {
|
|
1717
|
+
return [
|
|
1718
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1719
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1720
|
+
];
|
|
1721
|
+
}).s("KinesisAnalytics_20150814", "DeleteApplicationInputProcessingConfiguration", {}).n("KinesisAnalyticsClient", "DeleteApplicationInputProcessingConfigurationCommand").f(void 0, void 0).ser(se_DeleteApplicationInputProcessingConfigurationCommand).de(de_DeleteApplicationInputProcessingConfigurationCommand).build() {
|
|
1722
|
+
};
|
|
1723
|
+
__name(_DeleteApplicationInputProcessingConfigurationCommand, "DeleteApplicationInputProcessingConfigurationCommand");
|
|
1724
|
+
var DeleteApplicationInputProcessingConfigurationCommand = _DeleteApplicationInputProcessingConfigurationCommand;
|
|
1725
|
+
|
|
1726
|
+
// src/commands/DeleteApplicationOutputCommand.ts
|
|
1727
|
+
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
var _DeleteApplicationOutputCommand = class _DeleteApplicationOutputCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1732
|
+
...commonParams
|
|
1733
|
+
}).m(function(Command, cs, config, o) {
|
|
1734
|
+
return [
|
|
1735
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1736
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1737
|
+
];
|
|
1738
|
+
}).s("KinesisAnalytics_20150814", "DeleteApplicationOutput", {}).n("KinesisAnalyticsClient", "DeleteApplicationOutputCommand").f(void 0, void 0).ser(se_DeleteApplicationOutputCommand).de(de_DeleteApplicationOutputCommand).build() {
|
|
1739
|
+
};
|
|
1740
|
+
__name(_DeleteApplicationOutputCommand, "DeleteApplicationOutputCommand");
|
|
1741
|
+
var DeleteApplicationOutputCommand = _DeleteApplicationOutputCommand;
|
|
1742
|
+
|
|
1743
|
+
// src/commands/DeleteApplicationReferenceDataSourceCommand.ts
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
var _DeleteApplicationReferenceDataSourceCommand = class _DeleteApplicationReferenceDataSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1749
|
+
...commonParams
|
|
1750
|
+
}).m(function(Command, cs, config, o) {
|
|
1751
|
+
return [
|
|
1752
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1753
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1754
|
+
];
|
|
1755
|
+
}).s("KinesisAnalytics_20150814", "DeleteApplicationReferenceDataSource", {}).n("KinesisAnalyticsClient", "DeleteApplicationReferenceDataSourceCommand").f(void 0, void 0).ser(se_DeleteApplicationReferenceDataSourceCommand).de(de_DeleteApplicationReferenceDataSourceCommand).build() {
|
|
1756
|
+
};
|
|
1757
|
+
__name(_DeleteApplicationReferenceDataSourceCommand, "DeleteApplicationReferenceDataSourceCommand");
|
|
1758
|
+
var DeleteApplicationReferenceDataSourceCommand = _DeleteApplicationReferenceDataSourceCommand;
|
|
1759
|
+
|
|
1760
|
+
// src/commands/DescribeApplicationCommand.ts
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
var _DescribeApplicationCommand = class _DescribeApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1766
|
+
...commonParams
|
|
1767
|
+
}).m(function(Command, cs, config, o) {
|
|
1768
|
+
return [
|
|
1769
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1770
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1771
|
+
];
|
|
1772
|
+
}).s("KinesisAnalytics_20150814", "DescribeApplication", {}).n("KinesisAnalyticsClient", "DescribeApplicationCommand").f(void 0, void 0).ser(se_DescribeApplicationCommand).de(de_DescribeApplicationCommand).build() {
|
|
1773
|
+
};
|
|
1774
|
+
__name(_DescribeApplicationCommand, "DescribeApplicationCommand");
|
|
1775
|
+
var DescribeApplicationCommand = _DescribeApplicationCommand;
|
|
1776
|
+
|
|
1777
|
+
// src/commands/DiscoverInputSchemaCommand.ts
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
var _DiscoverInputSchemaCommand = class _DiscoverInputSchemaCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1783
|
+
...commonParams
|
|
1784
|
+
}).m(function(Command, cs, config, o) {
|
|
1785
|
+
return [
|
|
1786
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1787
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1788
|
+
];
|
|
1789
|
+
}).s("KinesisAnalytics_20150814", "DiscoverInputSchema", {}).n("KinesisAnalyticsClient", "DiscoverInputSchemaCommand").f(void 0, void 0).ser(se_DiscoverInputSchemaCommand).de(de_DiscoverInputSchemaCommand).build() {
|
|
1790
|
+
};
|
|
1791
|
+
__name(_DiscoverInputSchemaCommand, "DiscoverInputSchemaCommand");
|
|
1792
|
+
var DiscoverInputSchemaCommand = _DiscoverInputSchemaCommand;
|
|
1793
|
+
|
|
1794
|
+
// src/commands/ListApplicationsCommand.ts
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1800
|
+
...commonParams
|
|
1801
|
+
}).m(function(Command, cs, config, o) {
|
|
1802
|
+
return [
|
|
1803
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1804
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1805
|
+
];
|
|
1806
|
+
}).s("KinesisAnalytics_20150814", "ListApplications", {}).n("KinesisAnalyticsClient", "ListApplicationsCommand").f(void 0, void 0).ser(se_ListApplicationsCommand).de(de_ListApplicationsCommand).build() {
|
|
1807
|
+
};
|
|
1808
|
+
__name(_ListApplicationsCommand, "ListApplicationsCommand");
|
|
1809
|
+
var ListApplicationsCommand = _ListApplicationsCommand;
|
|
1810
|
+
|
|
1811
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
|
|
1816
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1817
|
+
...commonParams
|
|
1818
|
+
}).m(function(Command, cs, config, o) {
|
|
1819
|
+
return [
|
|
1820
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1821
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1822
|
+
];
|
|
1823
|
+
}).s("KinesisAnalytics_20150814", "ListTagsForResource", {}).n("KinesisAnalyticsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1824
|
+
};
|
|
1825
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1826
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1827
|
+
|
|
1828
|
+
// src/commands/StartApplicationCommand.ts
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
var _StartApplicationCommand = class _StartApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1834
|
+
...commonParams
|
|
1835
|
+
}).m(function(Command, cs, config, o) {
|
|
1836
|
+
return [
|
|
1837
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1838
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1839
|
+
];
|
|
1840
|
+
}).s("KinesisAnalytics_20150814", "StartApplication", {}).n("KinesisAnalyticsClient", "StartApplicationCommand").f(void 0, void 0).ser(se_StartApplicationCommand).de(de_StartApplicationCommand).build() {
|
|
1841
|
+
};
|
|
1842
|
+
__name(_StartApplicationCommand, "StartApplicationCommand");
|
|
1843
|
+
var StartApplicationCommand = _StartApplicationCommand;
|
|
1844
|
+
|
|
1845
|
+
// src/commands/StopApplicationCommand.ts
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
var _StopApplicationCommand = class _StopApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1851
|
+
...commonParams
|
|
1852
|
+
}).m(function(Command, cs, config, o) {
|
|
1853
|
+
return [
|
|
1854
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1855
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1856
|
+
];
|
|
1857
|
+
}).s("KinesisAnalytics_20150814", "StopApplication", {}).n("KinesisAnalyticsClient", "StopApplicationCommand").f(void 0, void 0).ser(se_StopApplicationCommand).de(de_StopApplicationCommand).build() {
|
|
1858
|
+
};
|
|
1859
|
+
__name(_StopApplicationCommand, "StopApplicationCommand");
|
|
1860
|
+
var StopApplicationCommand = _StopApplicationCommand;
|
|
1861
|
+
|
|
1862
|
+
// src/commands/TagResourceCommand.ts
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1868
|
+
...commonParams
|
|
1869
|
+
}).m(function(Command, cs, config, o) {
|
|
1870
|
+
return [
|
|
1871
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1872
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1873
|
+
];
|
|
1874
|
+
}).s("KinesisAnalytics_20150814", "TagResource", {}).n("KinesisAnalyticsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1875
|
+
};
|
|
1876
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1877
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1878
|
+
|
|
1879
|
+
// src/commands/UntagResourceCommand.ts
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1885
|
+
...commonParams
|
|
1886
|
+
}).m(function(Command, cs, config, o) {
|
|
1887
|
+
return [
|
|
1888
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1889
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1890
|
+
];
|
|
1891
|
+
}).s("KinesisAnalytics_20150814", "UntagResource", {}).n("KinesisAnalyticsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1892
|
+
};
|
|
1893
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1894
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1895
|
+
|
|
1896
|
+
// src/commands/UpdateApplicationCommand.ts
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1902
|
+
...commonParams
|
|
1903
|
+
}).m(function(Command, cs, config, o) {
|
|
1904
|
+
return [
|
|
1905
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1906
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1907
|
+
];
|
|
1908
|
+
}).s("KinesisAnalytics_20150814", "UpdateApplication", {}).n("KinesisAnalyticsClient", "UpdateApplicationCommand").f(void 0, void 0).ser(se_UpdateApplicationCommand).de(de_UpdateApplicationCommand).build() {
|
|
1909
|
+
};
|
|
1910
|
+
__name(_UpdateApplicationCommand, "UpdateApplicationCommand");
|
|
1911
|
+
var UpdateApplicationCommand = _UpdateApplicationCommand;
|
|
1912
|
+
|
|
1913
|
+
// src/KinesisAnalytics.ts
|
|
1914
|
+
var commands = {
|
|
1915
|
+
AddApplicationCloudWatchLoggingOptionCommand,
|
|
1916
|
+
AddApplicationInputCommand,
|
|
1917
|
+
AddApplicationInputProcessingConfigurationCommand,
|
|
1918
|
+
AddApplicationOutputCommand,
|
|
1919
|
+
AddApplicationReferenceDataSourceCommand,
|
|
1920
|
+
CreateApplicationCommand,
|
|
1921
|
+
DeleteApplicationCommand,
|
|
1922
|
+
DeleteApplicationCloudWatchLoggingOptionCommand,
|
|
1923
|
+
DeleteApplicationInputProcessingConfigurationCommand,
|
|
1924
|
+
DeleteApplicationOutputCommand,
|
|
1925
|
+
DeleteApplicationReferenceDataSourceCommand,
|
|
1926
|
+
DescribeApplicationCommand,
|
|
1927
|
+
DiscoverInputSchemaCommand,
|
|
1928
|
+
ListApplicationsCommand,
|
|
1929
|
+
ListTagsForResourceCommand,
|
|
1930
|
+
StartApplicationCommand,
|
|
1931
|
+
StopApplicationCommand,
|
|
1932
|
+
TagResourceCommand,
|
|
1933
|
+
UntagResourceCommand,
|
|
1934
|
+
UpdateApplicationCommand
|
|
1935
|
+
};
|
|
1936
|
+
var _KinesisAnalytics = class _KinesisAnalytics extends KinesisAnalyticsClient {
|
|
1937
|
+
};
|
|
1938
|
+
__name(_KinesisAnalytics, "KinesisAnalytics");
|
|
1939
|
+
var KinesisAnalytics = _KinesisAnalytics;
|
|
1940
|
+
(0, import_smithy_client.createAggregatedClient)(commands, KinesisAnalytics);
|
|
1941
|
+
|
|
1942
|
+
// src/index.ts
|
|
1943
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1944
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1945
|
+
0 && (module.exports = {
|
|
1946
|
+
AddApplicationCloudWatchLoggingOptionCommand,
|
|
1947
|
+
AddApplicationInputCommand,
|
|
1948
|
+
AddApplicationInputProcessingConfigurationCommand,
|
|
1949
|
+
AddApplicationOutputCommand,
|
|
1950
|
+
AddApplicationReferenceDataSourceCommand,
|
|
1951
|
+
ApplicationStatus,
|
|
1952
|
+
CodeValidationException,
|
|
1953
|
+
ConcurrentModificationException,
|
|
1954
|
+
CreateApplicationCommand,
|
|
1955
|
+
DeleteApplicationCloudWatchLoggingOptionCommand,
|
|
1956
|
+
DeleteApplicationCommand,
|
|
1957
|
+
DeleteApplicationInputProcessingConfigurationCommand,
|
|
1958
|
+
DeleteApplicationOutputCommand,
|
|
1959
|
+
DeleteApplicationReferenceDataSourceCommand,
|
|
1960
|
+
DescribeApplicationCommand,
|
|
1961
|
+
DiscoverInputSchemaCommand,
|
|
1962
|
+
InputStartingPosition,
|
|
1963
|
+
InvalidApplicationConfigurationException,
|
|
1964
|
+
InvalidArgumentException,
|
|
1965
|
+
KinesisAnalytics,
|
|
1966
|
+
KinesisAnalyticsClient,
|
|
1967
|
+
KinesisAnalyticsServiceException,
|
|
1968
|
+
LimitExceededException,
|
|
1969
|
+
ListApplicationsCommand,
|
|
1970
|
+
ListTagsForResourceCommand,
|
|
1971
|
+
RecordFormatType,
|
|
1972
|
+
ResourceInUseException,
|
|
1973
|
+
ResourceNotFoundException,
|
|
1974
|
+
ResourceProvisionedThroughputExceededException,
|
|
1975
|
+
ServiceUnavailableException,
|
|
1976
|
+
StartApplicationCommand,
|
|
1977
|
+
StopApplicationCommand,
|
|
1978
|
+
TagResourceCommand,
|
|
1979
|
+
TooManyTagsException,
|
|
1980
|
+
UnableToDetectSchemaException,
|
|
1981
|
+
UnsupportedOperationException,
|
|
1982
|
+
UntagResourceCommand,
|
|
1983
|
+
UpdateApplicationCommand,
|
|
1984
|
+
__Client
|
|
1985
|
+
});
|