@aws-sdk/client-kinesis-analytics-v2 3.934.0 → 3.936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -201,15 +201,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Kinesi
201
201
  this.Message = opts.Message;
202
202
  }
203
203
  };
204
- const RecordFormatType = {
205
- CSV: "CSV",
206
- JSON: "JSON",
207
- };
208
- const InputStartingPosition = {
209
- LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
210
- NOW: "NOW",
211
- TRIM_HORIZON: "TRIM_HORIZON",
212
- };
213
204
  let CodeValidationException$1 = class CodeValidationException extends KinesisAnalyticsV2ServiceException$1 {
214
205
  name = "CodeValidationException";
215
206
  $fault = "client";
@@ -224,76 +215,6 @@ let CodeValidationException$1 = class CodeValidationException extends KinesisAna
224
215
  this.Message = opts.Message;
225
216
  }
226
217
  };
227
- const CodeContentType = {
228
- PLAINTEXT: "PLAINTEXT",
229
- ZIPFILE: "ZIPFILE",
230
- };
231
- const KeyType = {
232
- AWS_OWNED_KEY: "AWS_OWNED_KEY",
233
- CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
234
- };
235
- const ConfigurationType = {
236
- CUSTOM: "CUSTOM",
237
- DEFAULT: "DEFAULT",
238
- };
239
- const LogLevel = {
240
- DEBUG: "DEBUG",
241
- ERROR: "ERROR",
242
- INFO: "INFO",
243
- WARN: "WARN",
244
- };
245
- const MetricsLevel = {
246
- APPLICATION: "APPLICATION",
247
- OPERATOR: "OPERATOR",
248
- PARALLELISM: "PARALLELISM",
249
- TASK: "TASK",
250
- };
251
- const ArtifactType = {
252
- DEPENDENCY_JAR: "DEPENDENCY_JAR",
253
- UDF: "UDF",
254
- };
255
- const ApplicationRestoreType = {
256
- RESTORE_FROM_CUSTOM_SNAPSHOT: "RESTORE_FROM_CUSTOM_SNAPSHOT",
257
- RESTORE_FROM_LATEST_SNAPSHOT: "RESTORE_FROM_LATEST_SNAPSHOT",
258
- SKIP_RESTORE_FROM_SNAPSHOT: "SKIP_RESTORE_FROM_SNAPSHOT",
259
- };
260
- const ApplicationMode = {
261
- INTERACTIVE: "INTERACTIVE",
262
- STREAMING: "STREAMING",
263
- };
264
- const ApplicationStatus = {
265
- AUTOSCALING: "AUTOSCALING",
266
- DELETING: "DELETING",
267
- FORCE_STOPPING: "FORCE_STOPPING",
268
- MAINTENANCE: "MAINTENANCE",
269
- READY: "READY",
270
- ROLLED_BACK: "ROLLED_BACK",
271
- ROLLING_BACK: "ROLLING_BACK",
272
- RUNNING: "RUNNING",
273
- STARTING: "STARTING",
274
- STOPPING: "STOPPING",
275
- UPDATING: "UPDATING",
276
- };
277
- const RuntimeEnvironment = {
278
- FLINK_1_11: "FLINK-1_11",
279
- FLINK_1_13: "FLINK-1_13",
280
- FLINK_1_15: "FLINK-1_15",
281
- FLINK_1_18: "FLINK-1_18",
282
- FLINK_1_19: "FLINK-1_19",
283
- FLINK_1_20: "FLINK-1_20",
284
- FLINK_1_6: "FLINK-1_6",
285
- FLINK_1_8: "FLINK-1_8",
286
- SQL_1_0: "SQL-1_0",
287
- ZEPPELIN_FLINK_1_0: "ZEPPELIN-FLINK-1_0",
288
- ZEPPELIN_FLINK_2_0: "ZEPPELIN-FLINK-2_0",
289
- ZEPPELIN_FLINK_3_0: "ZEPPELIN-FLINK-3_0",
290
- };
291
- const OperationStatus = {
292
- CANCELLED: "CANCELLED",
293
- FAILED: "FAILED",
294
- IN_PROGRESS: "IN_PROGRESS",
295
- SUCCESSFUL: "SUCCESSFUL",
296
- };
297
218
  let LimitExceededException$1 = class LimitExceededException extends KinesisAnalyticsV2ServiceException$1 {
298
219
  name = "LimitExceededException";
299
220
  $fault = "client";
@@ -334,16 +255,6 @@ let UnsupportedOperationException$1 = class UnsupportedOperationException extend
334
255
  this.Message = opts.Message;
335
256
  }
336
257
  };
337
- const UrlType = {
338
- FLINK_DASHBOARD_URL: "FLINK_DASHBOARD_URL",
339
- ZEPPELIN_UI_URL: "ZEPPELIN_UI_URL",
340
- };
341
- const SnapshotStatus = {
342
- CREATING: "CREATING",
343
- DELETING: "DELETING",
344
- FAILED: "FAILED",
345
- READY: "READY",
346
- };
347
258
  let ResourceProvisionedThroughputExceededException$1 = class ResourceProvisionedThroughputExceededException extends KinesisAnalyticsV2ServiceException$1 {
348
259
  name = "ResourceProvisionedThroughputExceededException";
349
260
  $fault = "client";
@@ -2664,6 +2575,96 @@ const paginateListApplicationVersions = core.createPaginator(KinesisAnalyticsV2C
2664
2575
 
2665
2576
  const paginateListApplications = core.createPaginator(KinesisAnalyticsV2Client, ListApplicationsCommand, "NextToken", "NextToken", "Limit");
2666
2577
 
2578
+ const RecordFormatType = {
2579
+ CSV: "CSV",
2580
+ JSON: "JSON",
2581
+ };
2582
+ const InputStartingPosition = {
2583
+ LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
2584
+ NOW: "NOW",
2585
+ TRIM_HORIZON: "TRIM_HORIZON",
2586
+ };
2587
+ const CodeContentType = {
2588
+ PLAINTEXT: "PLAINTEXT",
2589
+ ZIPFILE: "ZIPFILE",
2590
+ };
2591
+ const KeyType = {
2592
+ AWS_OWNED_KEY: "AWS_OWNED_KEY",
2593
+ CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
2594
+ };
2595
+ const ConfigurationType = {
2596
+ CUSTOM: "CUSTOM",
2597
+ DEFAULT: "DEFAULT",
2598
+ };
2599
+ const LogLevel = {
2600
+ DEBUG: "DEBUG",
2601
+ ERROR: "ERROR",
2602
+ INFO: "INFO",
2603
+ WARN: "WARN",
2604
+ };
2605
+ const MetricsLevel = {
2606
+ APPLICATION: "APPLICATION",
2607
+ OPERATOR: "OPERATOR",
2608
+ PARALLELISM: "PARALLELISM",
2609
+ TASK: "TASK",
2610
+ };
2611
+ const ArtifactType = {
2612
+ DEPENDENCY_JAR: "DEPENDENCY_JAR",
2613
+ UDF: "UDF",
2614
+ };
2615
+ const ApplicationRestoreType = {
2616
+ RESTORE_FROM_CUSTOM_SNAPSHOT: "RESTORE_FROM_CUSTOM_SNAPSHOT",
2617
+ RESTORE_FROM_LATEST_SNAPSHOT: "RESTORE_FROM_LATEST_SNAPSHOT",
2618
+ SKIP_RESTORE_FROM_SNAPSHOT: "SKIP_RESTORE_FROM_SNAPSHOT",
2619
+ };
2620
+ const ApplicationMode = {
2621
+ INTERACTIVE: "INTERACTIVE",
2622
+ STREAMING: "STREAMING",
2623
+ };
2624
+ const ApplicationStatus = {
2625
+ AUTOSCALING: "AUTOSCALING",
2626
+ DELETING: "DELETING",
2627
+ FORCE_STOPPING: "FORCE_STOPPING",
2628
+ MAINTENANCE: "MAINTENANCE",
2629
+ READY: "READY",
2630
+ ROLLED_BACK: "ROLLED_BACK",
2631
+ ROLLING_BACK: "ROLLING_BACK",
2632
+ RUNNING: "RUNNING",
2633
+ STARTING: "STARTING",
2634
+ STOPPING: "STOPPING",
2635
+ UPDATING: "UPDATING",
2636
+ };
2637
+ const RuntimeEnvironment = {
2638
+ FLINK_1_11: "FLINK-1_11",
2639
+ FLINK_1_13: "FLINK-1_13",
2640
+ FLINK_1_15: "FLINK-1_15",
2641
+ FLINK_1_18: "FLINK-1_18",
2642
+ FLINK_1_19: "FLINK-1_19",
2643
+ FLINK_1_20: "FLINK-1_20",
2644
+ FLINK_1_6: "FLINK-1_6",
2645
+ FLINK_1_8: "FLINK-1_8",
2646
+ SQL_1_0: "SQL-1_0",
2647
+ ZEPPELIN_FLINK_1_0: "ZEPPELIN-FLINK-1_0",
2648
+ ZEPPELIN_FLINK_2_0: "ZEPPELIN-FLINK-2_0",
2649
+ ZEPPELIN_FLINK_3_0: "ZEPPELIN-FLINK-3_0",
2650
+ };
2651
+ const OperationStatus = {
2652
+ CANCELLED: "CANCELLED",
2653
+ FAILED: "FAILED",
2654
+ IN_PROGRESS: "IN_PROGRESS",
2655
+ SUCCESSFUL: "SUCCESSFUL",
2656
+ };
2657
+ const UrlType = {
2658
+ FLINK_DASHBOARD_URL: "FLINK_DASHBOARD_URL",
2659
+ ZEPPELIN_UI_URL: "ZEPPELIN_UI_URL",
2660
+ };
2661
+ const SnapshotStatus = {
2662
+ CREATING: "CREATING",
2663
+ DELETING: "DELETING",
2664
+ FAILED: "FAILED",
2665
+ READY: "READY",
2666
+ };
2667
+
2667
2668
  Object.defineProperty(exports, "$Command", {
2668
2669
  enumerable: true,
2669
2670
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./KinesisAnalyticsV2Client";
2
2
  export * from "./KinesisAnalyticsV2";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { KinesisAnalyticsV2ServiceException } from "./models/KinesisAnalyticsV2ServiceException";
@@ -0,0 +1,89 @@
1
+ export const RecordFormatType = {
2
+ CSV: "CSV",
3
+ JSON: "JSON",
4
+ };
5
+ export const InputStartingPosition = {
6
+ LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
7
+ NOW: "NOW",
8
+ TRIM_HORIZON: "TRIM_HORIZON",
9
+ };
10
+ export const CodeContentType = {
11
+ PLAINTEXT: "PLAINTEXT",
12
+ ZIPFILE: "ZIPFILE",
13
+ };
14
+ export const KeyType = {
15
+ AWS_OWNED_KEY: "AWS_OWNED_KEY",
16
+ CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
17
+ };
18
+ export const ConfigurationType = {
19
+ CUSTOM: "CUSTOM",
20
+ DEFAULT: "DEFAULT",
21
+ };
22
+ export const LogLevel = {
23
+ DEBUG: "DEBUG",
24
+ ERROR: "ERROR",
25
+ INFO: "INFO",
26
+ WARN: "WARN",
27
+ };
28
+ export const MetricsLevel = {
29
+ APPLICATION: "APPLICATION",
30
+ OPERATOR: "OPERATOR",
31
+ PARALLELISM: "PARALLELISM",
32
+ TASK: "TASK",
33
+ };
34
+ export const ArtifactType = {
35
+ DEPENDENCY_JAR: "DEPENDENCY_JAR",
36
+ UDF: "UDF",
37
+ };
38
+ export const ApplicationRestoreType = {
39
+ RESTORE_FROM_CUSTOM_SNAPSHOT: "RESTORE_FROM_CUSTOM_SNAPSHOT",
40
+ RESTORE_FROM_LATEST_SNAPSHOT: "RESTORE_FROM_LATEST_SNAPSHOT",
41
+ SKIP_RESTORE_FROM_SNAPSHOT: "SKIP_RESTORE_FROM_SNAPSHOT",
42
+ };
43
+ export const ApplicationMode = {
44
+ INTERACTIVE: "INTERACTIVE",
45
+ STREAMING: "STREAMING",
46
+ };
47
+ export const ApplicationStatus = {
48
+ AUTOSCALING: "AUTOSCALING",
49
+ DELETING: "DELETING",
50
+ FORCE_STOPPING: "FORCE_STOPPING",
51
+ MAINTENANCE: "MAINTENANCE",
52
+ READY: "READY",
53
+ ROLLED_BACK: "ROLLED_BACK",
54
+ ROLLING_BACK: "ROLLING_BACK",
55
+ RUNNING: "RUNNING",
56
+ STARTING: "STARTING",
57
+ STOPPING: "STOPPING",
58
+ UPDATING: "UPDATING",
59
+ };
60
+ export const RuntimeEnvironment = {
61
+ FLINK_1_11: "FLINK-1_11",
62
+ FLINK_1_13: "FLINK-1_13",
63
+ FLINK_1_15: "FLINK-1_15",
64
+ FLINK_1_18: "FLINK-1_18",
65
+ FLINK_1_19: "FLINK-1_19",
66
+ FLINK_1_20: "FLINK-1_20",
67
+ FLINK_1_6: "FLINK-1_6",
68
+ FLINK_1_8: "FLINK-1_8",
69
+ SQL_1_0: "SQL-1_0",
70
+ ZEPPELIN_FLINK_1_0: "ZEPPELIN-FLINK-1_0",
71
+ ZEPPELIN_FLINK_2_0: "ZEPPELIN-FLINK-2_0",
72
+ ZEPPELIN_FLINK_3_0: "ZEPPELIN-FLINK-3_0",
73
+ };
74
+ export const OperationStatus = {
75
+ CANCELLED: "CANCELLED",
76
+ FAILED: "FAILED",
77
+ IN_PROGRESS: "IN_PROGRESS",
78
+ SUCCESSFUL: "SUCCESSFUL",
79
+ };
80
+ export const UrlType = {
81
+ FLINK_DASHBOARD_URL: "FLINK_DASHBOARD_URL",
82
+ ZEPPELIN_UI_URL: "ZEPPELIN_UI_URL",
83
+ };
84
+ export const SnapshotStatus = {
85
+ CREATING: "CREATING",
86
+ DELETING: "DELETING",
87
+ FAILED: "FAILED",
88
+ READY: "READY",
89
+ };
@@ -0,0 +1,185 @@
1
+ import { KinesisAnalyticsV2ServiceException as __BaseException } from "./KinesisAnalyticsV2ServiceException";
2
+ export class ConcurrentModificationException extends __BaseException {
3
+ name = "ConcurrentModificationException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "ConcurrentModificationException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InvalidApplicationConfigurationException extends __BaseException {
17
+ name = "InvalidApplicationConfigurationException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "InvalidApplicationConfigurationException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, InvalidApplicationConfigurationException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InvalidArgumentException extends __BaseException {
31
+ name = "InvalidArgumentException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InvalidArgumentException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class InvalidRequestException extends __BaseException {
45
+ name = "InvalidRequestException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "InvalidRequestException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ResourceInUseException extends __BaseException {
59
+ name = "ResourceInUseException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ResourceInUseException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ResourceNotFoundException extends __BaseException {
73
+ name = "ResourceNotFoundException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class CodeValidationException extends __BaseException {
87
+ name = "CodeValidationException";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "CodeValidationException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, CodeValidationException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class LimitExceededException extends __BaseException {
101
+ name = "LimitExceededException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "LimitExceededException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ export class TooManyTagsException extends __BaseException {
115
+ name = "TooManyTagsException";
116
+ $fault = "client";
117
+ constructor(opts) {
118
+ super({
119
+ name: "TooManyTagsException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
124
+ }
125
+ }
126
+ export class UnsupportedOperationException extends __BaseException {
127
+ name = "UnsupportedOperationException";
128
+ $fault = "client";
129
+ Message;
130
+ constructor(opts) {
131
+ super({
132
+ name: "UnsupportedOperationException",
133
+ $fault: "client",
134
+ ...opts,
135
+ });
136
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ export class ResourceProvisionedThroughputExceededException extends __BaseException {
141
+ name = "ResourceProvisionedThroughputExceededException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "ResourceProvisionedThroughputExceededException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, ResourceProvisionedThroughputExceededException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ export class ServiceUnavailableException extends __BaseException {
155
+ name = "ServiceUnavailableException";
156
+ $fault = "server";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "ServiceUnavailableException",
161
+ $fault: "server",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ export class UnableToDetectSchemaException extends __BaseException {
169
+ name = "UnableToDetectSchemaException";
170
+ $fault = "client";
171
+ Message;
172
+ RawInputRecords;
173
+ ProcessedInputRecords;
174
+ constructor(opts) {
175
+ super({
176
+ name: "UnableToDetectSchemaException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, UnableToDetectSchemaException.prototype);
181
+ this.Message = opts.Message;
182
+ this.RawInputRecords = opts.RawInputRecords;
183
+ this.ProcessedInputRecords = opts.ProcessedInputRecords;
184
+ }
185
+ }