@aws-sdk/client-kinesis-analytics 3.301.0 → 3.306.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.
@@ -67,11 +67,10 @@ class UnsupportedOperationException extends KinesisAnalyticsServiceException_1.K
67
67
  }
68
68
  }
69
69
  exports.UnsupportedOperationException = UnsupportedOperationException;
70
- var RecordFormatType;
71
- (function (RecordFormatType) {
72
- RecordFormatType["CSV"] = "CSV";
73
- RecordFormatType["JSON"] = "JSON";
74
- })(RecordFormatType = exports.RecordFormatType || (exports.RecordFormatType = {}));
70
+ exports.RecordFormatType = {
71
+ CSV: "CSV",
72
+ JSON: "JSON",
73
+ };
75
74
  class CodeValidationException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
76
75
  constructor(opts) {
77
76
  super({
@@ -85,21 +84,19 @@ class CodeValidationException extends KinesisAnalyticsServiceException_1.Kinesis
85
84
  }
86
85
  }
87
86
  exports.CodeValidationException = CodeValidationException;
88
- var ApplicationStatus;
89
- (function (ApplicationStatus) {
90
- ApplicationStatus["DELETING"] = "DELETING";
91
- ApplicationStatus["READY"] = "READY";
92
- ApplicationStatus["RUNNING"] = "RUNNING";
93
- ApplicationStatus["STARTING"] = "STARTING";
94
- ApplicationStatus["STOPPING"] = "STOPPING";
95
- ApplicationStatus["UPDATING"] = "UPDATING";
96
- })(ApplicationStatus = exports.ApplicationStatus || (exports.ApplicationStatus = {}));
97
- var InputStartingPosition;
98
- (function (InputStartingPosition) {
99
- InputStartingPosition["LAST_STOPPED_POINT"] = "LAST_STOPPED_POINT";
100
- InputStartingPosition["NOW"] = "NOW";
101
- InputStartingPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
102
- })(InputStartingPosition = exports.InputStartingPosition || (exports.InputStartingPosition = {}));
87
+ exports.ApplicationStatus = {
88
+ DELETING: "DELETING",
89
+ READY: "READY",
90
+ RUNNING: "RUNNING",
91
+ STARTING: "STARTING",
92
+ STOPPING: "STOPPING",
93
+ UPDATING: "UPDATING",
94
+ };
95
+ exports.InputStartingPosition = {
96
+ LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
97
+ NOW: "NOW",
98
+ TRIM_HORIZON: "TRIM_HORIZON",
99
+ };
103
100
  class LimitExceededException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
104
101
  constructor(opts) {
105
102
  super({
@@ -59,11 +59,10 @@ export class UnsupportedOperationException extends __BaseException {
59
59
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
60
60
  }
61
61
  }
62
- export var RecordFormatType;
63
- (function (RecordFormatType) {
64
- RecordFormatType["CSV"] = "CSV";
65
- RecordFormatType["JSON"] = "JSON";
66
- })(RecordFormatType || (RecordFormatType = {}));
62
+ export const RecordFormatType = {
63
+ CSV: "CSV",
64
+ JSON: "JSON",
65
+ };
67
66
  export class CodeValidationException extends __BaseException {
68
67
  constructor(opts) {
69
68
  super({
@@ -76,21 +75,19 @@ export class CodeValidationException extends __BaseException {
76
75
  Object.setPrototypeOf(this, CodeValidationException.prototype);
77
76
  }
78
77
  }
79
- export var ApplicationStatus;
80
- (function (ApplicationStatus) {
81
- ApplicationStatus["DELETING"] = "DELETING";
82
- ApplicationStatus["READY"] = "READY";
83
- ApplicationStatus["RUNNING"] = "RUNNING";
84
- ApplicationStatus["STARTING"] = "STARTING";
85
- ApplicationStatus["STOPPING"] = "STOPPING";
86
- ApplicationStatus["UPDATING"] = "UPDATING";
87
- })(ApplicationStatus || (ApplicationStatus = {}));
88
- export var InputStartingPosition;
89
- (function (InputStartingPosition) {
90
- InputStartingPosition["LAST_STOPPED_POINT"] = "LAST_STOPPED_POINT";
91
- InputStartingPosition["NOW"] = "NOW";
92
- InputStartingPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
93
- })(InputStartingPosition || (InputStartingPosition = {}));
78
+ export const ApplicationStatus = {
79
+ DELETING: "DELETING",
80
+ READY: "READY",
81
+ RUNNING: "RUNNING",
82
+ STARTING: "STARTING",
83
+ STOPPING: "STOPPING",
84
+ UPDATING: "UPDATING",
85
+ };
86
+ export const InputStartingPosition = {
87
+ LAST_STOPPED_POINT: "LAST_STOPPED_POINT",
88
+ NOW: "NOW",
89
+ TRIM_HORIZON: "TRIM_HORIZON",
90
+ };
94
91
  export class LimitExceededException extends __BaseException {
95
92
  constructor(opts) {
96
93
  super({
@@ -227,11 +227,16 @@ export interface MappingParameters {
227
227
  }
228
228
  /**
229
229
  * @public
230
+ * @enum
230
231
  */
231
- export declare enum RecordFormatType {
232
- CSV = "CSV",
233
- JSON = "JSON"
234
- }
232
+ export declare const RecordFormatType: {
233
+ readonly CSV: "CSV";
234
+ readonly JSON: "JSON";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type RecordFormatType = (typeof RecordFormatType)[keyof typeof RecordFormatType];
235
240
  /**
236
241
  * @public
237
242
  * <p>
@@ -622,15 +627,20 @@ export interface AddApplicationReferenceDataSourceResponse {
622
627
  }
623
628
  /**
624
629
  * @public
630
+ * @enum
625
631
  */
626
- export declare enum ApplicationStatus {
627
- DELETING = "DELETING",
628
- READY = "READY",
629
- RUNNING = "RUNNING",
630
- STARTING = "STARTING",
631
- STOPPING = "STOPPING",
632
- UPDATING = "UPDATING"
633
- }
632
+ export declare const ApplicationStatus: {
633
+ readonly DELETING: "DELETING";
634
+ readonly READY: "READY";
635
+ readonly RUNNING: "RUNNING";
636
+ readonly STARTING: "STARTING";
637
+ readonly STOPPING: "STOPPING";
638
+ readonly UPDATING: "UPDATING";
639
+ };
640
+ /**
641
+ * @public
642
+ */
643
+ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
634
644
  /**
635
645
  * @public
636
646
  * <p>Description of the CloudWatch logging option.</p>
@@ -678,12 +688,17 @@ export interface InputProcessingConfigurationDescription {
678
688
  }
679
689
  /**
680
690
  * @public
691
+ * @enum
681
692
  */
682
- export declare enum InputStartingPosition {
683
- LAST_STOPPED_POINT = "LAST_STOPPED_POINT",
684
- NOW = "NOW",
685
- TRIM_HORIZON = "TRIM_HORIZON"
686
- }
693
+ export declare const InputStartingPosition: {
694
+ readonly LAST_STOPPED_POINT: "LAST_STOPPED_POINT";
695
+ readonly NOW: "NOW";
696
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
697
+ };
698
+ /**
699
+ * @public
700
+ */
701
+ export type InputStartingPosition = (typeof InputStartingPosition)[keyof typeof InputStartingPosition];
687
702
  /**
688
703
  * @public
689
704
  * <p>Describes the point at which the application reads from
@@ -74,10 +74,12 @@ export interface MappingParameters {
74
74
  JSONMappingParameters?: JSONMappingParameters;
75
75
  CSVMappingParameters?: CSVMappingParameters;
76
76
  }
77
- export declare enum RecordFormatType {
78
- CSV = "CSV",
79
- JSON = "JSON",
80
- }
77
+ export declare const RecordFormatType: {
78
+ readonly CSV: "CSV";
79
+ readonly JSON: "JSON";
80
+ };
81
+ export type RecordFormatType =
82
+ (typeof RecordFormatType)[keyof typeof RecordFormatType];
81
83
  export interface RecordFormat {
82
84
  RecordFormatType: RecordFormatType | string | undefined;
83
85
  MappingParameters?: MappingParameters;
@@ -167,14 +169,16 @@ export interface AddApplicationReferenceDataSourceRequest {
167
169
  ReferenceDataSource: ReferenceDataSource | undefined;
168
170
  }
169
171
  export interface AddApplicationReferenceDataSourceResponse {}
170
- export declare enum ApplicationStatus {
171
- DELETING = "DELETING",
172
- READY = "READY",
173
- RUNNING = "RUNNING",
174
- STARTING = "STARTING",
175
- STOPPING = "STOPPING",
176
- UPDATING = "UPDATING",
177
- }
172
+ export declare const ApplicationStatus: {
173
+ readonly DELETING: "DELETING";
174
+ readonly READY: "READY";
175
+ readonly RUNNING: "RUNNING";
176
+ readonly STARTING: "STARTING";
177
+ readonly STOPPING: "STOPPING";
178
+ readonly UPDATING: "UPDATING";
179
+ };
180
+ export type ApplicationStatus =
181
+ (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
178
182
  export interface CloudWatchLoggingOptionDescription {
179
183
  CloudWatchLoggingOptionId?: string;
180
184
  LogStreamARN: string | undefined;
@@ -187,11 +191,13 @@ export interface InputLambdaProcessorDescription {
187
191
  export interface InputProcessingConfigurationDescription {
188
192
  InputLambdaProcessorDescription?: InputLambdaProcessorDescription;
189
193
  }
190
- export declare enum InputStartingPosition {
191
- LAST_STOPPED_POINT = "LAST_STOPPED_POINT",
192
- NOW = "NOW",
193
- TRIM_HORIZON = "TRIM_HORIZON",
194
- }
194
+ export declare const InputStartingPosition: {
195
+ readonly LAST_STOPPED_POINT: "LAST_STOPPED_POINT";
196
+ readonly NOW: "NOW";
197
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
198
+ };
199
+ export type InputStartingPosition =
200
+ (typeof InputStartingPosition)[keyof typeof InputStartingPosition];
195
201
  export interface InputStartingPositionConfiguration {
196
202
  InputStartingPosition?: InputStartingPosition | string;
197
203
  }
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.301.0",
4
+ "version": "3.306.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,42 +21,42 @@
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",