@aws-sdk/client-kinesis-analytics 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/KinesisAnalytics.js +89 -82
  4. package/dist-es/KinesisAnalyticsClient.js +28 -22
  5. package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js +28 -21
  6. package/dist-es/commands/AddApplicationInputCommand.js +28 -21
  7. package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js +28 -21
  8. package/dist-es/commands/AddApplicationOutputCommand.js +28 -21
  9. package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js +28 -21
  10. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  11. package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +28 -21
  12. package/dist-es/commands/DeleteApplicationCommand.js +28 -21
  13. package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js +28 -21
  14. package/dist-es/commands/DeleteApplicationOutputCommand.js +28 -21
  15. package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js +28 -21
  16. package/dist-es/commands/DescribeApplicationCommand.js +28 -21
  17. package/dist-es/commands/DiscoverInputSchemaCommand.js +28 -21
  18. package/dist-es/commands/ListApplicationsCommand.js +28 -21
  19. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  20. package/dist-es/commands/StartApplicationCommand.js +28 -21
  21. package/dist-es/commands/StopApplicationCommand.js +28 -21
  22. package/dist-es/commands/TagResourceCommand.js +28 -21
  23. package/dist-es/commands/UntagResourceCommand.js +28 -21
  24. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  25. package/dist-es/endpoints.js +8 -8
  26. package/dist-es/models/KinesisAnalyticsServiceException.js +10 -5
  27. package/dist-es/models/models_0.js +228 -413
  28. package/dist-es/protocols/Aws_json1_1.js +2068 -1793
  29. package/dist-es/runtimeConfig.browser.js +12 -26
  30. package/dist-es/runtimeConfig.js +12 -30
  31. package/dist-es/runtimeConfig.native.js +5 -8
  32. package/dist-es/runtimeConfig.shared.js +11 -8
  33. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-kinesis-analytics
@@ -2264,10 +2264,10 @@ const deserializeAws_json1_1UpdateApplicationResponse = (output, context) => {
2264
2264
  return {};
2265
2265
  };
2266
2266
  const deserializeMetadata = (output) => {
2267
- var _a;
2267
+ var _a, _b;
2268
2268
  return ({
2269
2269
  httpStatusCode: output.statusCode,
2270
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
2270
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
2271
2271
  extendedRequestId: output.headers["x-amz-id-2"],
2272
2272
  cfId: output.headers["x-amz-cf-id"],
2273
2273
  });
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { AddApplicationCloudWatchLoggingOptionCommand, } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
2
3
  import { AddApplicationInputCommand, } from "./commands/AddApplicationInputCommand";
3
4
  import { AddApplicationInputProcessingConfigurationCommand, } from "./commands/AddApplicationInputProcessingConfigurationCommand";
@@ -19,285 +20,291 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
19
20
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
20
21
  import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
21
22
  import { KinesisAnalyticsClient } from "./KinesisAnalyticsClient";
22
- export class KinesisAnalytics extends KinesisAnalyticsClient {
23
- addApplicationCloudWatchLoggingOption(args, optionsOrCb, cb) {
24
- const command = new AddApplicationCloudWatchLoggingOptionCommand(args);
23
+ var KinesisAnalytics = (function (_super) {
24
+ __extends(KinesisAnalytics, _super);
25
+ function KinesisAnalytics() {
26
+ return _super !== null && _super.apply(this, arguments) || this;
27
+ }
28
+ KinesisAnalytics.prototype.addApplicationCloudWatchLoggingOption = function (args, optionsOrCb, cb) {
29
+ var command = new AddApplicationCloudWatchLoggingOptionCommand(args);
25
30
  if (typeof optionsOrCb === "function") {
26
31
  this.send(command, optionsOrCb);
27
32
  }
28
33
  else if (typeof cb === "function") {
29
34
  if (typeof optionsOrCb !== "object")
30
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
35
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
31
36
  this.send(command, optionsOrCb || {}, cb);
32
37
  }
33
38
  else {
34
39
  return this.send(command, optionsOrCb);
35
40
  }
36
- }
37
- addApplicationInput(args, optionsOrCb, cb) {
38
- const command = new AddApplicationInputCommand(args);
41
+ };
42
+ KinesisAnalytics.prototype.addApplicationInput = function (args, optionsOrCb, cb) {
43
+ var command = new AddApplicationInputCommand(args);
39
44
  if (typeof optionsOrCb === "function") {
40
45
  this.send(command, optionsOrCb);
41
46
  }
42
47
  else if (typeof cb === "function") {
43
48
  if (typeof optionsOrCb !== "object")
44
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
49
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
45
50
  this.send(command, optionsOrCb || {}, cb);
46
51
  }
47
52
  else {
48
53
  return this.send(command, optionsOrCb);
49
54
  }
50
- }
51
- addApplicationInputProcessingConfiguration(args, optionsOrCb, cb) {
52
- const command = new AddApplicationInputProcessingConfigurationCommand(args);
55
+ };
56
+ KinesisAnalytics.prototype.addApplicationInputProcessingConfiguration = function (args, optionsOrCb, cb) {
57
+ var command = new AddApplicationInputProcessingConfigurationCommand(args);
53
58
  if (typeof optionsOrCb === "function") {
54
59
  this.send(command, optionsOrCb);
55
60
  }
56
61
  else if (typeof cb === "function") {
57
62
  if (typeof optionsOrCb !== "object")
58
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
63
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
59
64
  this.send(command, optionsOrCb || {}, cb);
60
65
  }
61
66
  else {
62
67
  return this.send(command, optionsOrCb);
63
68
  }
64
- }
65
- addApplicationOutput(args, optionsOrCb, cb) {
66
- const command = new AddApplicationOutputCommand(args);
69
+ };
70
+ KinesisAnalytics.prototype.addApplicationOutput = function (args, optionsOrCb, cb) {
71
+ var command = new AddApplicationOutputCommand(args);
67
72
  if (typeof optionsOrCb === "function") {
68
73
  this.send(command, optionsOrCb);
69
74
  }
70
75
  else if (typeof cb === "function") {
71
76
  if (typeof optionsOrCb !== "object")
72
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
77
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
73
78
  this.send(command, optionsOrCb || {}, cb);
74
79
  }
75
80
  else {
76
81
  return this.send(command, optionsOrCb);
77
82
  }
78
- }
79
- addApplicationReferenceDataSource(args, optionsOrCb, cb) {
80
- const command = new AddApplicationReferenceDataSourceCommand(args);
83
+ };
84
+ KinesisAnalytics.prototype.addApplicationReferenceDataSource = function (args, optionsOrCb, cb) {
85
+ var command = new AddApplicationReferenceDataSourceCommand(args);
81
86
  if (typeof optionsOrCb === "function") {
82
87
  this.send(command, optionsOrCb);
83
88
  }
84
89
  else if (typeof cb === "function") {
85
90
  if (typeof optionsOrCb !== "object")
86
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
91
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
87
92
  this.send(command, optionsOrCb || {}, cb);
88
93
  }
89
94
  else {
90
95
  return this.send(command, optionsOrCb);
91
96
  }
92
- }
93
- createApplication(args, optionsOrCb, cb) {
94
- const command = new CreateApplicationCommand(args);
97
+ };
98
+ KinesisAnalytics.prototype.createApplication = function (args, optionsOrCb, cb) {
99
+ var command = new CreateApplicationCommand(args);
95
100
  if (typeof optionsOrCb === "function") {
96
101
  this.send(command, optionsOrCb);
97
102
  }
98
103
  else if (typeof cb === "function") {
99
104
  if (typeof optionsOrCb !== "object")
100
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
105
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
101
106
  this.send(command, optionsOrCb || {}, cb);
102
107
  }
103
108
  else {
104
109
  return this.send(command, optionsOrCb);
105
110
  }
106
- }
107
- deleteApplication(args, optionsOrCb, cb) {
108
- const command = new DeleteApplicationCommand(args);
111
+ };
112
+ KinesisAnalytics.prototype.deleteApplication = function (args, optionsOrCb, cb) {
113
+ var command = new DeleteApplicationCommand(args);
109
114
  if (typeof optionsOrCb === "function") {
110
115
  this.send(command, optionsOrCb);
111
116
  }
112
117
  else if (typeof cb === "function") {
113
118
  if (typeof optionsOrCb !== "object")
114
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
119
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
115
120
  this.send(command, optionsOrCb || {}, cb);
116
121
  }
117
122
  else {
118
123
  return this.send(command, optionsOrCb);
119
124
  }
120
- }
121
- deleteApplicationCloudWatchLoggingOption(args, optionsOrCb, cb) {
122
- const command = new DeleteApplicationCloudWatchLoggingOptionCommand(args);
125
+ };
126
+ KinesisAnalytics.prototype.deleteApplicationCloudWatchLoggingOption = function (args, optionsOrCb, cb) {
127
+ var command = new DeleteApplicationCloudWatchLoggingOptionCommand(args);
123
128
  if (typeof optionsOrCb === "function") {
124
129
  this.send(command, optionsOrCb);
125
130
  }
126
131
  else if (typeof cb === "function") {
127
132
  if (typeof optionsOrCb !== "object")
128
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
133
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
129
134
  this.send(command, optionsOrCb || {}, cb);
130
135
  }
131
136
  else {
132
137
  return this.send(command, optionsOrCb);
133
138
  }
134
- }
135
- deleteApplicationInputProcessingConfiguration(args, optionsOrCb, cb) {
136
- const command = new DeleteApplicationInputProcessingConfigurationCommand(args);
139
+ };
140
+ KinesisAnalytics.prototype.deleteApplicationInputProcessingConfiguration = function (args, optionsOrCb, cb) {
141
+ var command = new DeleteApplicationInputProcessingConfigurationCommand(args);
137
142
  if (typeof optionsOrCb === "function") {
138
143
  this.send(command, optionsOrCb);
139
144
  }
140
145
  else if (typeof cb === "function") {
141
146
  if (typeof optionsOrCb !== "object")
142
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
147
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
143
148
  this.send(command, optionsOrCb || {}, cb);
144
149
  }
145
150
  else {
146
151
  return this.send(command, optionsOrCb);
147
152
  }
148
- }
149
- deleteApplicationOutput(args, optionsOrCb, cb) {
150
- const command = new DeleteApplicationOutputCommand(args);
153
+ };
154
+ KinesisAnalytics.prototype.deleteApplicationOutput = function (args, optionsOrCb, cb) {
155
+ var command = new DeleteApplicationOutputCommand(args);
151
156
  if (typeof optionsOrCb === "function") {
152
157
  this.send(command, optionsOrCb);
153
158
  }
154
159
  else if (typeof cb === "function") {
155
160
  if (typeof optionsOrCb !== "object")
156
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
161
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
157
162
  this.send(command, optionsOrCb || {}, cb);
158
163
  }
159
164
  else {
160
165
  return this.send(command, optionsOrCb);
161
166
  }
162
- }
163
- deleteApplicationReferenceDataSource(args, optionsOrCb, cb) {
164
- const command = new DeleteApplicationReferenceDataSourceCommand(args);
167
+ };
168
+ KinesisAnalytics.prototype.deleteApplicationReferenceDataSource = function (args, optionsOrCb, cb) {
169
+ var command = new DeleteApplicationReferenceDataSourceCommand(args);
165
170
  if (typeof optionsOrCb === "function") {
166
171
  this.send(command, optionsOrCb);
167
172
  }
168
173
  else if (typeof cb === "function") {
169
174
  if (typeof optionsOrCb !== "object")
170
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
175
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
171
176
  this.send(command, optionsOrCb || {}, cb);
172
177
  }
173
178
  else {
174
179
  return this.send(command, optionsOrCb);
175
180
  }
176
- }
177
- describeApplication(args, optionsOrCb, cb) {
178
- const command = new DescribeApplicationCommand(args);
181
+ };
182
+ KinesisAnalytics.prototype.describeApplication = function (args, optionsOrCb, cb) {
183
+ var command = new DescribeApplicationCommand(args);
179
184
  if (typeof optionsOrCb === "function") {
180
185
  this.send(command, optionsOrCb);
181
186
  }
182
187
  else if (typeof cb === "function") {
183
188
  if (typeof optionsOrCb !== "object")
184
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
189
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
185
190
  this.send(command, optionsOrCb || {}, cb);
186
191
  }
187
192
  else {
188
193
  return this.send(command, optionsOrCb);
189
194
  }
190
- }
191
- discoverInputSchema(args, optionsOrCb, cb) {
192
- const command = new DiscoverInputSchemaCommand(args);
195
+ };
196
+ KinesisAnalytics.prototype.discoverInputSchema = function (args, optionsOrCb, cb) {
197
+ var command = new DiscoverInputSchemaCommand(args);
193
198
  if (typeof optionsOrCb === "function") {
194
199
  this.send(command, optionsOrCb);
195
200
  }
196
201
  else if (typeof cb === "function") {
197
202
  if (typeof optionsOrCb !== "object")
198
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
203
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
199
204
  this.send(command, optionsOrCb || {}, cb);
200
205
  }
201
206
  else {
202
207
  return this.send(command, optionsOrCb);
203
208
  }
204
- }
205
- listApplications(args, optionsOrCb, cb) {
206
- const command = new ListApplicationsCommand(args);
209
+ };
210
+ KinesisAnalytics.prototype.listApplications = function (args, optionsOrCb, cb) {
211
+ var command = new ListApplicationsCommand(args);
207
212
  if (typeof optionsOrCb === "function") {
208
213
  this.send(command, optionsOrCb);
209
214
  }
210
215
  else if (typeof cb === "function") {
211
216
  if (typeof optionsOrCb !== "object")
212
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
217
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
213
218
  this.send(command, optionsOrCb || {}, cb);
214
219
  }
215
220
  else {
216
221
  return this.send(command, optionsOrCb);
217
222
  }
218
- }
219
- listTagsForResource(args, optionsOrCb, cb) {
220
- const command = new ListTagsForResourceCommand(args);
223
+ };
224
+ KinesisAnalytics.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
225
+ var command = new ListTagsForResourceCommand(args);
221
226
  if (typeof optionsOrCb === "function") {
222
227
  this.send(command, optionsOrCb);
223
228
  }
224
229
  else if (typeof cb === "function") {
225
230
  if (typeof optionsOrCb !== "object")
226
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
231
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
227
232
  this.send(command, optionsOrCb || {}, cb);
228
233
  }
229
234
  else {
230
235
  return this.send(command, optionsOrCb);
231
236
  }
232
- }
233
- startApplication(args, optionsOrCb, cb) {
234
- const command = new StartApplicationCommand(args);
237
+ };
238
+ KinesisAnalytics.prototype.startApplication = function (args, optionsOrCb, cb) {
239
+ var command = new StartApplicationCommand(args);
235
240
  if (typeof optionsOrCb === "function") {
236
241
  this.send(command, optionsOrCb);
237
242
  }
238
243
  else if (typeof cb === "function") {
239
244
  if (typeof optionsOrCb !== "object")
240
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
245
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
241
246
  this.send(command, optionsOrCb || {}, cb);
242
247
  }
243
248
  else {
244
249
  return this.send(command, optionsOrCb);
245
250
  }
246
- }
247
- stopApplication(args, optionsOrCb, cb) {
248
- const command = new StopApplicationCommand(args);
251
+ };
252
+ KinesisAnalytics.prototype.stopApplication = function (args, optionsOrCb, cb) {
253
+ var command = new StopApplicationCommand(args);
249
254
  if (typeof optionsOrCb === "function") {
250
255
  this.send(command, optionsOrCb);
251
256
  }
252
257
  else if (typeof cb === "function") {
253
258
  if (typeof optionsOrCb !== "object")
254
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
259
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
255
260
  this.send(command, optionsOrCb || {}, cb);
256
261
  }
257
262
  else {
258
263
  return this.send(command, optionsOrCb);
259
264
  }
260
- }
261
- tagResource(args, optionsOrCb, cb) {
262
- const command = new TagResourceCommand(args);
265
+ };
266
+ KinesisAnalytics.prototype.tagResource = function (args, optionsOrCb, cb) {
267
+ var command = new TagResourceCommand(args);
263
268
  if (typeof optionsOrCb === "function") {
264
269
  this.send(command, optionsOrCb);
265
270
  }
266
271
  else if (typeof cb === "function") {
267
272
  if (typeof optionsOrCb !== "object")
268
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
273
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
269
274
  this.send(command, optionsOrCb || {}, cb);
270
275
  }
271
276
  else {
272
277
  return this.send(command, optionsOrCb);
273
278
  }
274
- }
275
- untagResource(args, optionsOrCb, cb) {
276
- const command = new UntagResourceCommand(args);
279
+ };
280
+ KinesisAnalytics.prototype.untagResource = function (args, optionsOrCb, cb) {
281
+ var command = new UntagResourceCommand(args);
277
282
  if (typeof optionsOrCb === "function") {
278
283
  this.send(command, optionsOrCb);
279
284
  }
280
285
  else if (typeof cb === "function") {
281
286
  if (typeof optionsOrCb !== "object")
282
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
287
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
283
288
  this.send(command, optionsOrCb || {}, cb);
284
289
  }
285
290
  else {
286
291
  return this.send(command, optionsOrCb);
287
292
  }
288
- }
289
- updateApplication(args, optionsOrCb, cb) {
290
- const command = new UpdateApplicationCommand(args);
293
+ };
294
+ KinesisAnalytics.prototype.updateApplication = function (args, optionsOrCb, cb) {
295
+ var command = new UpdateApplicationCommand(args);
291
296
  if (typeof optionsOrCb === "function") {
292
297
  this.send(command, optionsOrCb);
293
298
  }
294
299
  else if (typeof cb === "function") {
295
300
  if (typeof optionsOrCb !== "object")
296
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
301
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
297
302
  this.send(command, optionsOrCb || {}, cb);
298
303
  }
299
304
  else {
300
305
  return this.send(command, optionsOrCb);
301
306
  }
302
- }
303
- }
307
+ };
308
+ return KinesisAnalytics;
309
+ }(KinesisAnalyticsClient));
310
+ export { KinesisAnalytics };
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class KinesisAnalyticsClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var KinesisAnalyticsClient = (function (_super) {
13
+ __extends(KinesisAnalyticsClient, _super);
14
+ function KinesisAnalyticsClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ KinesisAnalyticsClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return KinesisAnalyticsClient;
38
+ }(__Client));
39
+ export { KinesisAnalyticsClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddApplicationCloudWatchLoggingOptionRequestFilterSensitiveLog, AddApplicationCloudWatchLoggingOptionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand, serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand, } from "../protocols/Aws_json1_1";
5
- export class AddApplicationCloudWatchLoggingOptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddApplicationCloudWatchLoggingOptionCommand = (function (_super) {
7
+ __extends(AddApplicationCloudWatchLoggingOptionCommand, _super);
8
+ function AddApplicationCloudWatchLoggingOptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddApplicationCloudWatchLoggingOptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KinesisAnalyticsClient";
15
- const commandName = "AddApplicationCloudWatchLoggingOptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KinesisAnalyticsClient";
18
+ var commandName = "AddApplicationCloudWatchLoggingOptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddApplicationCloudWatchLoggingOptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddApplicationCloudWatchLoggingOptionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AddApplicationCloudWatchLoggingOptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddApplicationCloudWatchLoggingOptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddApplicationCloudWatchLoggingOptionCommand;
38
+ }($Command));
39
+ export { AddApplicationCloudWatchLoggingOptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddApplicationInputRequestFilterSensitiveLog, AddApplicationInputResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AddApplicationInputCommand, serializeAws_json1_1AddApplicationInputCommand, } from "../protocols/Aws_json1_1";
5
- export class AddApplicationInputCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddApplicationInputCommand = (function (_super) {
7
+ __extends(AddApplicationInputCommand, _super);
8
+ function AddApplicationInputCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddApplicationInputCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KinesisAnalyticsClient";
15
- const commandName = "AddApplicationInputCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KinesisAnalyticsClient";
18
+ var commandName = "AddApplicationInputCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddApplicationInputRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddApplicationInputResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AddApplicationInputCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AddApplicationInputCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddApplicationInputCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AddApplicationInputCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddApplicationInputCommand;
38
+ }($Command));
39
+ export { AddApplicationInputCommand };