@aws-sdk/client-kinesis-analytics 3.315.0 → 3.319.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.KinesisAnalytics = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const AddApplicationCloudWatchLoggingOptionCommand_1 = require("./commands/AddApplicationCloudWatchLoggingOptionCommand");
5
6
  const AddApplicationInputCommand_1 = require("./commands/AddApplicationInputCommand");
6
7
  const AddApplicationInputProcessingConfigurationCommand_1 = require("./commands/AddApplicationInputProcessingConfigurationCommand");
@@ -22,286 +23,29 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
22
23
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
23
24
  const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
24
25
  const KinesisAnalyticsClient_1 = require("./KinesisAnalyticsClient");
26
+ const commands = {
27
+ AddApplicationCloudWatchLoggingOptionCommand: AddApplicationCloudWatchLoggingOptionCommand_1.AddApplicationCloudWatchLoggingOptionCommand,
28
+ AddApplicationInputCommand: AddApplicationInputCommand_1.AddApplicationInputCommand,
29
+ AddApplicationInputProcessingConfigurationCommand: AddApplicationInputProcessingConfigurationCommand_1.AddApplicationInputProcessingConfigurationCommand,
30
+ AddApplicationOutputCommand: AddApplicationOutputCommand_1.AddApplicationOutputCommand,
31
+ AddApplicationReferenceDataSourceCommand: AddApplicationReferenceDataSourceCommand_1.AddApplicationReferenceDataSourceCommand,
32
+ CreateApplicationCommand: CreateApplicationCommand_1.CreateApplicationCommand,
33
+ DeleteApplicationCommand: DeleteApplicationCommand_1.DeleteApplicationCommand,
34
+ DeleteApplicationCloudWatchLoggingOptionCommand: DeleteApplicationCloudWatchLoggingOptionCommand_1.DeleteApplicationCloudWatchLoggingOptionCommand,
35
+ DeleteApplicationInputProcessingConfigurationCommand: DeleteApplicationInputProcessingConfigurationCommand_1.DeleteApplicationInputProcessingConfigurationCommand,
36
+ DeleteApplicationOutputCommand: DeleteApplicationOutputCommand_1.DeleteApplicationOutputCommand,
37
+ DeleteApplicationReferenceDataSourceCommand: DeleteApplicationReferenceDataSourceCommand_1.DeleteApplicationReferenceDataSourceCommand,
38
+ DescribeApplicationCommand: DescribeApplicationCommand_1.DescribeApplicationCommand,
39
+ DiscoverInputSchemaCommand: DiscoverInputSchemaCommand_1.DiscoverInputSchemaCommand,
40
+ ListApplicationsCommand: ListApplicationsCommand_1.ListApplicationsCommand,
41
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
42
+ StartApplicationCommand: StartApplicationCommand_1.StartApplicationCommand,
43
+ StopApplicationCommand: StopApplicationCommand_1.StopApplicationCommand,
44
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
45
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
46
+ UpdateApplicationCommand: UpdateApplicationCommand_1.UpdateApplicationCommand,
47
+ };
25
48
  class KinesisAnalytics extends KinesisAnalyticsClient_1.KinesisAnalyticsClient {
26
- addApplicationCloudWatchLoggingOption(args, optionsOrCb, cb) {
27
- const command = new AddApplicationCloudWatchLoggingOptionCommand_1.AddApplicationCloudWatchLoggingOptionCommand(args);
28
- if (typeof optionsOrCb === "function") {
29
- this.send(command, optionsOrCb);
30
- }
31
- else if (typeof cb === "function") {
32
- if (typeof optionsOrCb !== "object")
33
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
34
- this.send(command, optionsOrCb || {}, cb);
35
- }
36
- else {
37
- return this.send(command, optionsOrCb);
38
- }
39
- }
40
- addApplicationInput(args, optionsOrCb, cb) {
41
- const command = new AddApplicationInputCommand_1.AddApplicationInputCommand(args);
42
- if (typeof optionsOrCb === "function") {
43
- this.send(command, optionsOrCb);
44
- }
45
- else if (typeof cb === "function") {
46
- if (typeof optionsOrCb !== "object")
47
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
48
- this.send(command, optionsOrCb || {}, cb);
49
- }
50
- else {
51
- return this.send(command, optionsOrCb);
52
- }
53
- }
54
- addApplicationInputProcessingConfiguration(args, optionsOrCb, cb) {
55
- const command = new AddApplicationInputProcessingConfigurationCommand_1.AddApplicationInputProcessingConfigurationCommand(args);
56
- if (typeof optionsOrCb === "function") {
57
- this.send(command, optionsOrCb);
58
- }
59
- else if (typeof cb === "function") {
60
- if (typeof optionsOrCb !== "object")
61
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
62
- this.send(command, optionsOrCb || {}, cb);
63
- }
64
- else {
65
- return this.send(command, optionsOrCb);
66
- }
67
- }
68
- addApplicationOutput(args, optionsOrCb, cb) {
69
- const command = new AddApplicationOutputCommand_1.AddApplicationOutputCommand(args);
70
- if (typeof optionsOrCb === "function") {
71
- this.send(command, optionsOrCb);
72
- }
73
- else if (typeof cb === "function") {
74
- if (typeof optionsOrCb !== "object")
75
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
76
- this.send(command, optionsOrCb || {}, cb);
77
- }
78
- else {
79
- return this.send(command, optionsOrCb);
80
- }
81
- }
82
- addApplicationReferenceDataSource(args, optionsOrCb, cb) {
83
- const command = new AddApplicationReferenceDataSourceCommand_1.AddApplicationReferenceDataSourceCommand(args);
84
- if (typeof optionsOrCb === "function") {
85
- this.send(command, optionsOrCb);
86
- }
87
- else if (typeof cb === "function") {
88
- if (typeof optionsOrCb !== "object")
89
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
90
- this.send(command, optionsOrCb || {}, cb);
91
- }
92
- else {
93
- return this.send(command, optionsOrCb);
94
- }
95
- }
96
- createApplication(args, optionsOrCb, cb) {
97
- const command = new CreateApplicationCommand_1.CreateApplicationCommand(args);
98
- if (typeof optionsOrCb === "function") {
99
- this.send(command, optionsOrCb);
100
- }
101
- else if (typeof cb === "function") {
102
- if (typeof optionsOrCb !== "object")
103
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
104
- this.send(command, optionsOrCb || {}, cb);
105
- }
106
- else {
107
- return this.send(command, optionsOrCb);
108
- }
109
- }
110
- deleteApplication(args, optionsOrCb, cb) {
111
- const command = new DeleteApplicationCommand_1.DeleteApplicationCommand(args);
112
- if (typeof optionsOrCb === "function") {
113
- this.send(command, optionsOrCb);
114
- }
115
- else if (typeof cb === "function") {
116
- if (typeof optionsOrCb !== "object")
117
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
118
- this.send(command, optionsOrCb || {}, cb);
119
- }
120
- else {
121
- return this.send(command, optionsOrCb);
122
- }
123
- }
124
- deleteApplicationCloudWatchLoggingOption(args, optionsOrCb, cb) {
125
- const command = new DeleteApplicationCloudWatchLoggingOptionCommand_1.DeleteApplicationCloudWatchLoggingOptionCommand(args);
126
- if (typeof optionsOrCb === "function") {
127
- this.send(command, optionsOrCb);
128
- }
129
- else if (typeof cb === "function") {
130
- if (typeof optionsOrCb !== "object")
131
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
132
- this.send(command, optionsOrCb || {}, cb);
133
- }
134
- else {
135
- return this.send(command, optionsOrCb);
136
- }
137
- }
138
- deleteApplicationInputProcessingConfiguration(args, optionsOrCb, cb) {
139
- const command = new DeleteApplicationInputProcessingConfigurationCommand_1.DeleteApplicationInputProcessingConfigurationCommand(args);
140
- if (typeof optionsOrCb === "function") {
141
- this.send(command, optionsOrCb);
142
- }
143
- else if (typeof cb === "function") {
144
- if (typeof optionsOrCb !== "object")
145
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
146
- this.send(command, optionsOrCb || {}, cb);
147
- }
148
- else {
149
- return this.send(command, optionsOrCb);
150
- }
151
- }
152
- deleteApplicationOutput(args, optionsOrCb, cb) {
153
- const command = new DeleteApplicationOutputCommand_1.DeleteApplicationOutputCommand(args);
154
- if (typeof optionsOrCb === "function") {
155
- this.send(command, optionsOrCb);
156
- }
157
- else if (typeof cb === "function") {
158
- if (typeof optionsOrCb !== "object")
159
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
160
- this.send(command, optionsOrCb || {}, cb);
161
- }
162
- else {
163
- return this.send(command, optionsOrCb);
164
- }
165
- }
166
- deleteApplicationReferenceDataSource(args, optionsOrCb, cb) {
167
- const command = new DeleteApplicationReferenceDataSourceCommand_1.DeleteApplicationReferenceDataSourceCommand(args);
168
- if (typeof optionsOrCb === "function") {
169
- this.send(command, optionsOrCb);
170
- }
171
- else if (typeof cb === "function") {
172
- if (typeof optionsOrCb !== "object")
173
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
174
- this.send(command, optionsOrCb || {}, cb);
175
- }
176
- else {
177
- return this.send(command, optionsOrCb);
178
- }
179
- }
180
- describeApplication(args, optionsOrCb, cb) {
181
- const command = new DescribeApplicationCommand_1.DescribeApplicationCommand(args);
182
- if (typeof optionsOrCb === "function") {
183
- this.send(command, optionsOrCb);
184
- }
185
- else if (typeof cb === "function") {
186
- if (typeof optionsOrCb !== "object")
187
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
188
- this.send(command, optionsOrCb || {}, cb);
189
- }
190
- else {
191
- return this.send(command, optionsOrCb);
192
- }
193
- }
194
- discoverInputSchema(args, optionsOrCb, cb) {
195
- const command = new DiscoverInputSchemaCommand_1.DiscoverInputSchemaCommand(args);
196
- if (typeof optionsOrCb === "function") {
197
- this.send(command, optionsOrCb);
198
- }
199
- else if (typeof cb === "function") {
200
- if (typeof optionsOrCb !== "object")
201
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
202
- this.send(command, optionsOrCb || {}, cb);
203
- }
204
- else {
205
- return this.send(command, optionsOrCb);
206
- }
207
- }
208
- listApplications(args, optionsOrCb, cb) {
209
- const command = new ListApplicationsCommand_1.ListApplicationsCommand(args);
210
- if (typeof optionsOrCb === "function") {
211
- this.send(command, optionsOrCb);
212
- }
213
- else if (typeof cb === "function") {
214
- if (typeof optionsOrCb !== "object")
215
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
216
- this.send(command, optionsOrCb || {}, cb);
217
- }
218
- else {
219
- return this.send(command, optionsOrCb);
220
- }
221
- }
222
- listTagsForResource(args, optionsOrCb, cb) {
223
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
224
- if (typeof optionsOrCb === "function") {
225
- this.send(command, optionsOrCb);
226
- }
227
- else if (typeof cb === "function") {
228
- if (typeof optionsOrCb !== "object")
229
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
230
- this.send(command, optionsOrCb || {}, cb);
231
- }
232
- else {
233
- return this.send(command, optionsOrCb);
234
- }
235
- }
236
- startApplication(args, optionsOrCb, cb) {
237
- const command = new StartApplicationCommand_1.StartApplicationCommand(args);
238
- if (typeof optionsOrCb === "function") {
239
- this.send(command, optionsOrCb);
240
- }
241
- else if (typeof cb === "function") {
242
- if (typeof optionsOrCb !== "object")
243
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
244
- this.send(command, optionsOrCb || {}, cb);
245
- }
246
- else {
247
- return this.send(command, optionsOrCb);
248
- }
249
- }
250
- stopApplication(args, optionsOrCb, cb) {
251
- const command = new StopApplicationCommand_1.StopApplicationCommand(args);
252
- if (typeof optionsOrCb === "function") {
253
- this.send(command, optionsOrCb);
254
- }
255
- else if (typeof cb === "function") {
256
- if (typeof optionsOrCb !== "object")
257
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
258
- this.send(command, optionsOrCb || {}, cb);
259
- }
260
- else {
261
- return this.send(command, optionsOrCb);
262
- }
263
- }
264
- tagResource(args, optionsOrCb, cb) {
265
- const command = new TagResourceCommand_1.TagResourceCommand(args);
266
- if (typeof optionsOrCb === "function") {
267
- this.send(command, optionsOrCb);
268
- }
269
- else if (typeof cb === "function") {
270
- if (typeof optionsOrCb !== "object")
271
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
272
- this.send(command, optionsOrCb || {}, cb);
273
- }
274
- else {
275
- return this.send(command, optionsOrCb);
276
- }
277
- }
278
- untagResource(args, optionsOrCb, cb) {
279
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
280
- if (typeof optionsOrCb === "function") {
281
- this.send(command, optionsOrCb);
282
- }
283
- else if (typeof cb === "function") {
284
- if (typeof optionsOrCb !== "object")
285
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
286
- this.send(command, optionsOrCb || {}, cb);
287
- }
288
- else {
289
- return this.send(command, optionsOrCb);
290
- }
291
- }
292
- updateApplication(args, optionsOrCb, cb) {
293
- const command = new UpdateApplicationCommand_1.UpdateApplicationCommand(args);
294
- if (typeof optionsOrCb === "function") {
295
- this.send(command, optionsOrCb);
296
- }
297
- else if (typeof cb === "function") {
298
- if (typeof optionsOrCb !== "object")
299
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
300
- this.send(command, optionsOrCb || {}, cb);
301
- }
302
- else {
303
- return this.send(command, optionsOrCb);
304
- }
305
- }
306
49
  }
307
50
  exports.KinesisAnalytics = KinesisAnalytics;
51
+ (0, smithy_client_1.createAggregatedClient)(commands, KinesisAnalytics);
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { AddApplicationCloudWatchLoggingOptionCommand, } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
2
3
  import { AddApplicationInputCommand, } from "./commands/AddApplicationInputCommand";
3
4
  import { AddApplicationInputProcessingConfigurationCommand, } from "./commands/AddApplicationInputProcessingConfigurationCommand";
@@ -19,285 +20,28 @@ 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";
23
+ const commands = {
24
+ AddApplicationCloudWatchLoggingOptionCommand,
25
+ AddApplicationInputCommand,
26
+ AddApplicationInputProcessingConfigurationCommand,
27
+ AddApplicationOutputCommand,
28
+ AddApplicationReferenceDataSourceCommand,
29
+ CreateApplicationCommand,
30
+ DeleteApplicationCommand,
31
+ DeleteApplicationCloudWatchLoggingOptionCommand,
32
+ DeleteApplicationInputProcessingConfigurationCommand,
33
+ DeleteApplicationOutputCommand,
34
+ DeleteApplicationReferenceDataSourceCommand,
35
+ DescribeApplicationCommand,
36
+ DiscoverInputSchemaCommand,
37
+ ListApplicationsCommand,
38
+ ListTagsForResourceCommand,
39
+ StartApplicationCommand,
40
+ StopApplicationCommand,
41
+ TagResourceCommand,
42
+ UntagResourceCommand,
43
+ UpdateApplicationCommand,
44
+ };
22
45
  export class KinesisAnalytics extends KinesisAnalyticsClient {
23
- addApplicationCloudWatchLoggingOption(args, optionsOrCb, cb) {
24
- const command = new AddApplicationCloudWatchLoggingOptionCommand(args);
25
- if (typeof optionsOrCb === "function") {
26
- this.send(command, optionsOrCb);
27
- }
28
- else if (typeof cb === "function") {
29
- if (typeof optionsOrCb !== "object")
30
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
31
- this.send(command, optionsOrCb || {}, cb);
32
- }
33
- else {
34
- return this.send(command, optionsOrCb);
35
- }
36
- }
37
- addApplicationInput(args, optionsOrCb, cb) {
38
- const command = new AddApplicationInputCommand(args);
39
- if (typeof optionsOrCb === "function") {
40
- this.send(command, optionsOrCb);
41
- }
42
- else if (typeof cb === "function") {
43
- if (typeof optionsOrCb !== "object")
44
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
45
- this.send(command, optionsOrCb || {}, cb);
46
- }
47
- else {
48
- return this.send(command, optionsOrCb);
49
- }
50
- }
51
- addApplicationInputProcessingConfiguration(args, optionsOrCb, cb) {
52
- const command = new AddApplicationInputProcessingConfigurationCommand(args);
53
- if (typeof optionsOrCb === "function") {
54
- this.send(command, optionsOrCb);
55
- }
56
- else if (typeof cb === "function") {
57
- if (typeof optionsOrCb !== "object")
58
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
59
- this.send(command, optionsOrCb || {}, cb);
60
- }
61
- else {
62
- return this.send(command, optionsOrCb);
63
- }
64
- }
65
- addApplicationOutput(args, optionsOrCb, cb) {
66
- const command = new AddApplicationOutputCommand(args);
67
- if (typeof optionsOrCb === "function") {
68
- this.send(command, optionsOrCb);
69
- }
70
- else if (typeof cb === "function") {
71
- if (typeof optionsOrCb !== "object")
72
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
73
- this.send(command, optionsOrCb || {}, cb);
74
- }
75
- else {
76
- return this.send(command, optionsOrCb);
77
- }
78
- }
79
- addApplicationReferenceDataSource(args, optionsOrCb, cb) {
80
- const command = new AddApplicationReferenceDataSourceCommand(args);
81
- if (typeof optionsOrCb === "function") {
82
- this.send(command, optionsOrCb);
83
- }
84
- else if (typeof cb === "function") {
85
- if (typeof optionsOrCb !== "object")
86
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
87
- this.send(command, optionsOrCb || {}, cb);
88
- }
89
- else {
90
- return this.send(command, optionsOrCb);
91
- }
92
- }
93
- createApplication(args, optionsOrCb, cb) {
94
- const command = new CreateApplicationCommand(args);
95
- if (typeof optionsOrCb === "function") {
96
- this.send(command, optionsOrCb);
97
- }
98
- else if (typeof cb === "function") {
99
- if (typeof optionsOrCb !== "object")
100
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
101
- this.send(command, optionsOrCb || {}, cb);
102
- }
103
- else {
104
- return this.send(command, optionsOrCb);
105
- }
106
- }
107
- deleteApplication(args, optionsOrCb, cb) {
108
- const command = new DeleteApplicationCommand(args);
109
- if (typeof optionsOrCb === "function") {
110
- this.send(command, optionsOrCb);
111
- }
112
- else if (typeof cb === "function") {
113
- if (typeof optionsOrCb !== "object")
114
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
115
- this.send(command, optionsOrCb || {}, cb);
116
- }
117
- else {
118
- return this.send(command, optionsOrCb);
119
- }
120
- }
121
- deleteApplicationCloudWatchLoggingOption(args, optionsOrCb, cb) {
122
- const command = new DeleteApplicationCloudWatchLoggingOptionCommand(args);
123
- if (typeof optionsOrCb === "function") {
124
- this.send(command, optionsOrCb);
125
- }
126
- else if (typeof cb === "function") {
127
- if (typeof optionsOrCb !== "object")
128
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
129
- this.send(command, optionsOrCb || {}, cb);
130
- }
131
- else {
132
- return this.send(command, optionsOrCb);
133
- }
134
- }
135
- deleteApplicationInputProcessingConfiguration(args, optionsOrCb, cb) {
136
- const command = new DeleteApplicationInputProcessingConfigurationCommand(args);
137
- if (typeof optionsOrCb === "function") {
138
- this.send(command, optionsOrCb);
139
- }
140
- else if (typeof cb === "function") {
141
- if (typeof optionsOrCb !== "object")
142
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
143
- this.send(command, optionsOrCb || {}, cb);
144
- }
145
- else {
146
- return this.send(command, optionsOrCb);
147
- }
148
- }
149
- deleteApplicationOutput(args, optionsOrCb, cb) {
150
- const command = new DeleteApplicationOutputCommand(args);
151
- if (typeof optionsOrCb === "function") {
152
- this.send(command, optionsOrCb);
153
- }
154
- else if (typeof cb === "function") {
155
- if (typeof optionsOrCb !== "object")
156
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
157
- this.send(command, optionsOrCb || {}, cb);
158
- }
159
- else {
160
- return this.send(command, optionsOrCb);
161
- }
162
- }
163
- deleteApplicationReferenceDataSource(args, optionsOrCb, cb) {
164
- const command = new DeleteApplicationReferenceDataSourceCommand(args);
165
- if (typeof optionsOrCb === "function") {
166
- this.send(command, optionsOrCb);
167
- }
168
- else if (typeof cb === "function") {
169
- if (typeof optionsOrCb !== "object")
170
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
171
- this.send(command, optionsOrCb || {}, cb);
172
- }
173
- else {
174
- return this.send(command, optionsOrCb);
175
- }
176
- }
177
- describeApplication(args, optionsOrCb, cb) {
178
- const command = new DescribeApplicationCommand(args);
179
- if (typeof optionsOrCb === "function") {
180
- this.send(command, optionsOrCb);
181
- }
182
- else if (typeof cb === "function") {
183
- if (typeof optionsOrCb !== "object")
184
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
185
- this.send(command, optionsOrCb || {}, cb);
186
- }
187
- else {
188
- return this.send(command, optionsOrCb);
189
- }
190
- }
191
- discoverInputSchema(args, optionsOrCb, cb) {
192
- const command = new DiscoverInputSchemaCommand(args);
193
- if (typeof optionsOrCb === "function") {
194
- this.send(command, optionsOrCb);
195
- }
196
- else if (typeof cb === "function") {
197
- if (typeof optionsOrCb !== "object")
198
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
199
- this.send(command, optionsOrCb || {}, cb);
200
- }
201
- else {
202
- return this.send(command, optionsOrCb);
203
- }
204
- }
205
- listApplications(args, optionsOrCb, cb) {
206
- const command = new ListApplicationsCommand(args);
207
- if (typeof optionsOrCb === "function") {
208
- this.send(command, optionsOrCb);
209
- }
210
- else if (typeof cb === "function") {
211
- if (typeof optionsOrCb !== "object")
212
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
213
- this.send(command, optionsOrCb || {}, cb);
214
- }
215
- else {
216
- return this.send(command, optionsOrCb);
217
- }
218
- }
219
- listTagsForResource(args, optionsOrCb, cb) {
220
- const command = new ListTagsForResourceCommand(args);
221
- if (typeof optionsOrCb === "function") {
222
- this.send(command, optionsOrCb);
223
- }
224
- else if (typeof cb === "function") {
225
- if (typeof optionsOrCb !== "object")
226
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
227
- this.send(command, optionsOrCb || {}, cb);
228
- }
229
- else {
230
- return this.send(command, optionsOrCb);
231
- }
232
- }
233
- startApplication(args, optionsOrCb, cb) {
234
- const command = new StartApplicationCommand(args);
235
- if (typeof optionsOrCb === "function") {
236
- this.send(command, optionsOrCb);
237
- }
238
- else if (typeof cb === "function") {
239
- if (typeof optionsOrCb !== "object")
240
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
241
- this.send(command, optionsOrCb || {}, cb);
242
- }
243
- else {
244
- return this.send(command, optionsOrCb);
245
- }
246
- }
247
- stopApplication(args, optionsOrCb, cb) {
248
- const command = new StopApplicationCommand(args);
249
- if (typeof optionsOrCb === "function") {
250
- this.send(command, optionsOrCb);
251
- }
252
- else if (typeof cb === "function") {
253
- if (typeof optionsOrCb !== "object")
254
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
255
- this.send(command, optionsOrCb || {}, cb);
256
- }
257
- else {
258
- return this.send(command, optionsOrCb);
259
- }
260
- }
261
- tagResource(args, optionsOrCb, cb) {
262
- const command = new TagResourceCommand(args);
263
- if (typeof optionsOrCb === "function") {
264
- this.send(command, optionsOrCb);
265
- }
266
- else if (typeof cb === "function") {
267
- if (typeof optionsOrCb !== "object")
268
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
269
- this.send(command, optionsOrCb || {}, cb);
270
- }
271
- else {
272
- return this.send(command, optionsOrCb);
273
- }
274
- }
275
- untagResource(args, optionsOrCb, cb) {
276
- const command = new UntagResourceCommand(args);
277
- if (typeof optionsOrCb === "function") {
278
- this.send(command, optionsOrCb);
279
- }
280
- else if (typeof cb === "function") {
281
- if (typeof optionsOrCb !== "object")
282
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
283
- this.send(command, optionsOrCb || {}, cb);
284
- }
285
- else {
286
- return this.send(command, optionsOrCb);
287
- }
288
- }
289
- updateApplication(args, optionsOrCb, cb) {
290
- const command = new UpdateApplicationCommand(args);
291
- if (typeof optionsOrCb === "function") {
292
- this.send(command, optionsOrCb);
293
- }
294
- else if (typeof cb === "function") {
295
- if (typeof optionsOrCb !== "object")
296
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
297
- this.send(command, optionsOrCb || {}, cb);
298
- }
299
- else {
300
- return this.send(command, optionsOrCb);
301
- }
302
- }
303
46
  }
47
+ createAggregatedClient(commands, KinesisAnalytics);
@@ -20,339 +20,140 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
20
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
21
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
22
22
  import { KinesisAnalyticsClient } from "./KinesisAnalyticsClient";
23
- /**
24
- * @public
25
- * <fullname>Amazon Kinesis Analytics</fullname>
26
- * <p>
27
- * <b>Overview</b>
28
- * </p>
29
- * <note>
30
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
31
- * </note>
32
- * <p>This is the <i>Amazon Kinesis Analytics v1 API Reference</i>.
33
- * The Amazon Kinesis Analytics Developer Guide provides additional information.
34
- * </p>
35
- */
36
- export declare class KinesisAnalytics extends KinesisAnalyticsClient {
23
+ export interface KinesisAnalytics {
37
24
  /**
38
- * @public
39
- * <note>
40
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
41
- * </note>
42
- * <p>Adds a CloudWatch log stream to monitor application configuration errors. For more
43
- * information about using CloudWatch log streams with Amazon Kinesis Analytics
44
- * applications, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working with Amazon
45
- * CloudWatch Logs</a>.</p>
25
+ * @see {@link AddApplicationCloudWatchLoggingOptionCommand}
46
26
  */
47
27
  addApplicationCloudWatchLoggingOption(args: AddApplicationCloudWatchLoggingOptionCommandInput, options?: __HttpHandlerOptions): Promise<AddApplicationCloudWatchLoggingOptionCommandOutput>;
48
28
  addApplicationCloudWatchLoggingOption(args: AddApplicationCloudWatchLoggingOptionCommandInput, cb: (err: any, data?: AddApplicationCloudWatchLoggingOptionCommandOutput) => void): void;
49
29
  addApplicationCloudWatchLoggingOption(args: AddApplicationCloudWatchLoggingOptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddApplicationCloudWatchLoggingOptionCommandOutput) => void): void;
50
30
  /**
51
- * @public
52
- * <note>
53
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
54
- * </note>
55
- * <p>
56
- * Adds a streaming source to your Amazon Kinesis application.
57
- * For conceptual information,
58
- * see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
59
- * </p>
60
- * <p>You can add a streaming source either when you create an application or you can use
61
- * this operation to add a streaming source after you create an application. For more information, see
62
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_CreateApplication.html">CreateApplication</a>.</p>
63
- * <p>Any configuration update, including adding a streaming source using this operation,
64
- * results in a new version of the application. You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation
65
- * to find the current application version.
66
- * </p>
67
- * <p>This operation requires permissions to perform the
68
- * <code>kinesisanalytics:AddApplicationInput</code> action.</p>
31
+ * @see {@link AddApplicationInputCommand}
69
32
  */
70
33
  addApplicationInput(args: AddApplicationInputCommandInput, options?: __HttpHandlerOptions): Promise<AddApplicationInputCommandOutput>;
71
34
  addApplicationInput(args: AddApplicationInputCommandInput, cb: (err: any, data?: AddApplicationInputCommandOutput) => void): void;
72
35
  addApplicationInput(args: AddApplicationInputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddApplicationInputCommandOutput) => void): void;
73
36
  /**
74
- * @public
75
- * <note>
76
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
77
- * </note>
78
- * <p>Adds an <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a> to an application. An input processor preprocesses records on the input stream
79
- * before the application's SQL code executes. Currently, the only input processor available is
80
- * <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>.</p>
37
+ * @see {@link AddApplicationInputProcessingConfigurationCommand}
81
38
  */
82
39
  addApplicationInputProcessingConfiguration(args: AddApplicationInputProcessingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<AddApplicationInputProcessingConfigurationCommandOutput>;
83
40
  addApplicationInputProcessingConfiguration(args: AddApplicationInputProcessingConfigurationCommandInput, cb: (err: any, data?: AddApplicationInputProcessingConfigurationCommandOutput) => void): void;
84
41
  addApplicationInputProcessingConfiguration(args: AddApplicationInputProcessingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddApplicationInputProcessingConfigurationCommandOutput) => void): void;
85
42
  /**
86
- * @public
87
- * <note>
88
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
89
- * </note>
90
- * <p>Adds an external destination to your Amazon Kinesis Analytics application.</p>
91
- * <p>If you want Amazon Kinesis Analytics to deliver data from an in-application stream
92
- * within your application to an external destination (such as an Amazon Kinesis stream, an
93
- * Amazon Kinesis Firehose delivery stream, or an AWS Lambda function), you add the
94
- * relevant configuration to your application using this operation. You can configure one
95
- * or more outputs for your application. Each output configuration maps an in-application
96
- * stream and an external destination.</p>
97
- * <p> You can use one of the output configurations to deliver data from your
98
- * in-application error stream to an external destination so that you can analyze the
99
- * errors. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Understanding Application
100
- * Output (Destination)</a>. </p>
101
- * <p> Any configuration update, including adding a streaming source using this
102
- * operation, results in a new version of the application. You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation to find the current application
103
- * version.</p>
104
- * <p>For the limits on the number of application inputs and outputs
105
- * you can configure, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.</p>
106
- * <p>This operation requires permissions to perform the <code>kinesisanalytics:AddApplicationOutput</code> action.</p>
43
+ * @see {@link AddApplicationOutputCommand}
107
44
  */
108
45
  addApplicationOutput(args: AddApplicationOutputCommandInput, options?: __HttpHandlerOptions): Promise<AddApplicationOutputCommandOutput>;
109
46
  addApplicationOutput(args: AddApplicationOutputCommandInput, cb: (err: any, data?: AddApplicationOutputCommandOutput) => void): void;
110
47
  addApplicationOutput(args: AddApplicationOutputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddApplicationOutputCommandOutput) => void): void;
111
48
  /**
112
- * @public
113
- * <note>
114
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
115
- * </note>
116
- * <p>Adds a reference data source to an existing application.</p>
117
- * <p>Amazon Kinesis Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in Amazon S3 object maps to columns in the resulting in-application table.</p>
118
- * <p>
119
- * For conceptual information,
120
- * see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
121
- * For the limits on data sources you can add to your application, see
122
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
123
- * </p>
124
- * <p>
125
- * This operation requires permissions to perform the <code>kinesisanalytics:AddApplicationOutput</code> action.
126
- * </p>
49
+ * @see {@link AddApplicationReferenceDataSourceCommand}
127
50
  */
128
51
  addApplicationReferenceDataSource(args: AddApplicationReferenceDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<AddApplicationReferenceDataSourceCommandOutput>;
129
52
  addApplicationReferenceDataSource(args: AddApplicationReferenceDataSourceCommandInput, cb: (err: any, data?: AddApplicationReferenceDataSourceCommandOutput) => void): void;
130
53
  addApplicationReferenceDataSource(args: AddApplicationReferenceDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddApplicationReferenceDataSourceCommandOutput) => void): void;
131
54
  /**
132
- * @public
133
- * <note>
134
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
135
- * </note>
136
- *
137
- * <p>
138
- * Creates an Amazon Kinesis Analytics application.
139
- * You can configure each application with one streaming source as input,
140
- * application code to process the input, and up to
141
- * three destinations where
142
- * you want Amazon Kinesis Analytics to write the output data from your application.
143
- * For an overview, see
144
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works.html">How it Works</a>.
145
- * </p>
146
- * <p>In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a
147
- * data element in the streaming source.</p>
148
- *
149
- * <p>Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps.</p>
150
- * <p>In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to three destinations.</p>
151
- * <p>
152
- * To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics
153
- * needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the
154
- * <code>kinesisanalytics:CreateApplication</code> action.
155
- * </p>
156
- * <p>
157
- * For introductory exercises to create an Amazon Kinesis Analytics application, see
158
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/getting-started.html">Getting Started</a>.
159
- * </p>
55
+ * @see {@link CreateApplicationCommand}
160
56
  */
161
57
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
162
58
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
163
59
  createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
164
60
  /**
165
- * @public
166
- * <note>
167
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
168
- * </note>
169
- * <p>Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code).</p>
170
- *
171
- * <p>This operation requires permissions to perform the <code>kinesisanalytics:DeleteApplication</code> action.</p>
61
+ * @see {@link DeleteApplicationCommand}
172
62
  */
173
63
  deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
174
64
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
175
65
  deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
176
66
  /**
177
- * @public
178
- * <note>
179
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
180
- * </note>
181
- * <p>Deletes a CloudWatch log stream from an application. For more information about
182
- * using CloudWatch log streams with Amazon Kinesis Analytics applications, see
183
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working with Amazon CloudWatch Logs</a>.</p>
67
+ * @see {@link DeleteApplicationCloudWatchLoggingOptionCommand}
184
68
  */
185
69
  deleteApplicationCloudWatchLoggingOption(args: DeleteApplicationCloudWatchLoggingOptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCloudWatchLoggingOptionCommandOutput>;
186
70
  deleteApplicationCloudWatchLoggingOption(args: DeleteApplicationCloudWatchLoggingOptionCommandInput, cb: (err: any, data?: DeleteApplicationCloudWatchLoggingOptionCommandOutput) => void): void;
187
71
  deleteApplicationCloudWatchLoggingOption(args: DeleteApplicationCloudWatchLoggingOptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCloudWatchLoggingOptionCommandOutput) => void): void;
188
72
  /**
189
- * @public
190
- * <note>
191
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
192
- * </note>
193
- * <p>Deletes an <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a> from an input.</p>
73
+ * @see {@link DeleteApplicationInputProcessingConfigurationCommand}
194
74
  */
195
75
  deleteApplicationInputProcessingConfiguration(args: DeleteApplicationInputProcessingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationInputProcessingConfigurationCommandOutput>;
196
76
  deleteApplicationInputProcessingConfiguration(args: DeleteApplicationInputProcessingConfigurationCommandInput, cb: (err: any, data?: DeleteApplicationInputProcessingConfigurationCommandOutput) => void): void;
197
77
  deleteApplicationInputProcessingConfiguration(args: DeleteApplicationInputProcessingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationInputProcessingConfigurationCommandOutput) => void): void;
198
78
  /**
199
- * @public
200
- * <note>
201
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
202
- * </note>
203
- * <p>Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination.</p>
204
- * <p>This operation requires permissions to perform the
205
- * <code>kinesisanalytics:DeleteApplicationOutput</code> action.</p>
79
+ * @see {@link DeleteApplicationOutputCommand}
206
80
  */
207
81
  deleteApplicationOutput(args: DeleteApplicationOutputCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationOutputCommandOutput>;
208
82
  deleteApplicationOutput(args: DeleteApplicationOutputCommandInput, cb: (err: any, data?: DeleteApplicationOutputCommandOutput) => void): void;
209
83
  deleteApplicationOutput(args: DeleteApplicationOutputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationOutputCommandOutput) => void): void;
210
84
  /**
211
- * @public
212
- * <note>
213
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
214
- * </note>
215
- * <p>Deletes a reference data source configuration from the specified application configuration.</p>
216
- * <p>If the application is running, Amazon Kinesis Analytics immediately removes the in-application table
217
- * that you created using the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a> operation. </p>
218
- *
219
- * <p>This operation requires permissions to perform the <code>kinesisanalytics.DeleteApplicationReferenceDataSource</code>
220
- * action.</p>
85
+ * @see {@link DeleteApplicationReferenceDataSourceCommand}
221
86
  */
222
87
  deleteApplicationReferenceDataSource(args: DeleteApplicationReferenceDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationReferenceDataSourceCommandOutput>;
223
88
  deleteApplicationReferenceDataSource(args: DeleteApplicationReferenceDataSourceCommandInput, cb: (err: any, data?: DeleteApplicationReferenceDataSourceCommandOutput) => void): void;
224
89
  deleteApplicationReferenceDataSource(args: DeleteApplicationReferenceDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationReferenceDataSourceCommandOutput) => void): void;
225
90
  /**
226
- * @public
227
- * <note>
228
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
229
- * </note>
230
- * <p>Returns information about a specific Amazon Kinesis Analytics application.</p>
231
- * <p>If you want to retrieve a list of all applications in your account,
232
- * use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_ListApplications.html">ListApplications</a> operation.</p>
233
- * <p>This operation requires permissions to perform the <code>kinesisanalytics:DescribeApplication</code>
234
- * action. You can use <code>DescribeApplication</code> to get the current application versionId, which you need to call other
235
- * operations such as <code>Update</code>.
236
- * </p>
91
+ * @see {@link DescribeApplicationCommand}
237
92
  */
238
93
  describeApplication(args: DescribeApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationCommandOutput>;
239
94
  describeApplication(args: DescribeApplicationCommandInput, cb: (err: any, data?: DescribeApplicationCommandOutput) => void): void;
240
95
  describeApplication(args: DescribeApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationCommandOutput) => void): void;
241
96
  /**
242
- * @public
243
- * <note>
244
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
245
- * </note>
246
- * <p>Infers a schema by evaluating sample records on the specified streaming source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery stream) or S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.</p>
247
- * <p>
248
- * You can use the inferred schema when configuring a streaming source
249
- * for your application. For conceptual information,
250
- * see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
251
- * Note that when you create an application using the Amazon Kinesis Analytics console,
252
- * the console uses this operation to infer a schema and show it in the console user interface.
253
- * </p>
254
- * <p>
255
- * This operation requires permissions to perform the
256
- * <code>kinesisanalytics:DiscoverInputSchema</code> action.
257
- * </p>
97
+ * @see {@link DiscoverInputSchemaCommand}
258
98
  */
259
99
  discoverInputSchema(args: DiscoverInputSchemaCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverInputSchemaCommandOutput>;
260
100
  discoverInputSchema(args: DiscoverInputSchemaCommandInput, cb: (err: any, data?: DiscoverInputSchemaCommandOutput) => void): void;
261
101
  discoverInputSchema(args: DiscoverInputSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverInputSchemaCommandOutput) => void): void;
262
102
  /**
263
- * @public
264
- * <note>
265
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
266
- * </note>
267
- * <p>Returns a list of Amazon Kinesis Analytics applications in your account.
268
- * For each application, the response includes the application name,
269
- * Amazon Resource Name (ARN), and status.
270
- *
271
- * If the response returns the <code>HasMoreApplications</code> value as true,
272
- * you can send another request by adding the
273
- * <code>ExclusiveStartApplicationName</code> in the request body, and
274
- * set the value of this to the last application name from
275
- * the previous response.
276
- * </p>
277
- * <p>If you want detailed information about a specific application, use
278
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>.</p>
279
- * <p>This operation requires permissions to perform the
280
- * <code>kinesisanalytics:ListApplications</code> action.</p>
103
+ * @see {@link ListApplicationsCommand}
281
104
  */
282
105
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
283
106
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
284
107
  listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
285
108
  /**
286
- * @public
287
- * <p>Retrieves the list of key-value tags assigned to the application. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using Tagging</a>.</p>
109
+ * @see {@link ListTagsForResourceCommand}
288
110
  */
289
111
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
290
112
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
291
113
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
292
114
  /**
293
- * @public
294
- * <note>
295
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
296
- * </note>
297
- * <p>Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application.</p>
298
- * <p>After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination.</p>
299
- * <p>
300
- * The application status must be <code>READY</code> for you to start an application. You can
301
- * get the application status in the console or using the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation.</p>
302
- * <p>After you start the application, you can stop the application from processing
303
- * the input by calling the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_StopApplication.html">StopApplication</a> operation.</p>
304
- * <p>This operation requires permissions to perform the
305
- * <code>kinesisanalytics:StartApplication</code> action.</p>
115
+ * @see {@link StartApplicationCommand}
306
116
  */
307
117
  startApplication(args: StartApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationCommandOutput>;
308
118
  startApplication(args: StartApplicationCommandInput, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
309
119
  startApplication(args: StartApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
310
120
  /**
311
- * @public
312
- * <note>
313
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
314
- * </note>
315
- * <p>Stops the application from processing input data. You can stop
316
- * an application only if it is in the running state.
317
- * You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation to find the application state.
318
- * After the application is stopped,
319
- * Amazon Kinesis Analytics stops reading data from the input, the
320
- * application stops processing data, and there is no output written to the destination. </p>
321
- * <p>This operation requires permissions to perform the
322
- * <code>kinesisanalytics:StopApplication</code> action.</p>
121
+ * @see {@link StopApplicationCommand}
323
122
  */
324
123
  stopApplication(args: StopApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopApplicationCommandOutput>;
325
124
  stopApplication(args: StopApplicationCommandInput, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
326
125
  stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
327
126
  /**
328
- * @public
329
- * <p>Adds one or more key-value tags to a Kinesis Analytics application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.
330
- * For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using Tagging</a>.</p>
127
+ * @see {@link TagResourceCommand}
331
128
  */
332
129
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
333
130
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
334
131
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
335
132
  /**
336
- * @public
337
- * <p>Removes one or more tags from a Kinesis Analytics application. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using Tagging</a>.</p>
133
+ * @see {@link UntagResourceCommand}
338
134
  */
339
135
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
340
136
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
341
137
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
342
138
  /**
343
- * @public
344
- * <note>
345
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
346
- * </note>
347
- * <p>Updates an existing Amazon Kinesis Analytics application. Using this API,
348
- * you can update application code, input configuration, and
349
- * output configuration. </p>
350
- * <p>Note that Amazon Kinesis Analytics updates the <code>CurrentApplicationVersionId</code>
351
- * each time you update your application. </p>
352
- * <p>This operation requires permission for the
353
- * <code>kinesisanalytics:UpdateApplication</code> action.</p>
139
+ * @see {@link UpdateApplicationCommand}
354
140
  */
355
141
  updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
356
142
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
357
143
  updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
358
144
  }
145
+ /**
146
+ * @public
147
+ * <fullname>Amazon Kinesis Analytics</fullname>
148
+ * <p>
149
+ * <b>Overview</b>
150
+ * </p>
151
+ * <note>
152
+ * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
153
+ * </note>
154
+ * <p>This is the <i>Amazon Kinesis Analytics v1 API Reference</i>.
155
+ * The Amazon Kinesis Analytics Developer Guide provides additional information.
156
+ * </p>
157
+ */
158
+ export declare class KinesisAnalytics extends KinesisAnalyticsClient implements KinesisAnalytics {
159
+ }
@@ -80,7 +80,7 @@ import {
80
80
  UpdateApplicationCommandOutput,
81
81
  } from "./commands/UpdateApplicationCommand";
82
82
  import { KinesisAnalyticsClient } from "./KinesisAnalyticsClient";
83
- export declare class KinesisAnalytics extends KinesisAnalyticsClient {
83
+ export interface KinesisAnalytics {
84
84
  addApplicationCloudWatchLoggingOption(
85
85
  args: AddApplicationCloudWatchLoggingOptionCommandInput,
86
86
  options?: __HttpHandlerOptions
@@ -378,3 +378,6 @@ export declare class KinesisAnalytics extends KinesisAnalyticsClient {
378
378
  cb: (err: any, data?: UpdateApplicationCommandOutput) => void
379
379
  ): void;
380
380
  }
381
+ export declare class KinesisAnalytics
382
+ extends KinesisAnalyticsClient
383
+ implements KinesisAnalytics {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-analytics",
3
3
  "description": "AWS SDK for JavaScript Kinesis Analytics Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.319.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.315.0",
24
+ "@aws-sdk/client-sts": "3.319.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.319.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -36,19 +36,19 @@
36
36
  "@aws-sdk/middleware-serde": "3.310.0",
37
37
  "@aws-sdk/middleware-signing": "3.310.0",
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.319.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
51
- "@aws-sdk/util-endpoints": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",