@aws-sdk/client-kinesis 3.933.0 → 3.935.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 +57 -56
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +56 -0
- package/dist-es/models/errors.js +193 -0
- package/dist-es/models/models_0.js +1 -249
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +136 -0
- package/dist-types/models/errors.d.ts +215 -0
- package/dist-types/models/models_0.d.ts +2 -351
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +72 -0
- package/dist-types/ts3.4/models/errors.d.ts +115 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -187
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -180,15 +180,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Kinesi
|
|
|
180
180
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
|
-
const ConsumerStatus = {
|
|
184
|
-
ACTIVE: "ACTIVE",
|
|
185
|
-
CREATING: "CREATING",
|
|
186
|
-
DELETING: "DELETING",
|
|
187
|
-
};
|
|
188
|
-
const StreamMode = {
|
|
189
|
-
ON_DEMAND: "ON_DEMAND",
|
|
190
|
-
PROVISIONED: "PROVISIONED",
|
|
191
|
-
};
|
|
192
183
|
let ValidationException$1 = class ValidationException extends KinesisServiceException$1 {
|
|
193
184
|
name = "ValidationException";
|
|
194
185
|
$fault = "client";
|
|
@@ -201,31 +192,6 @@ let ValidationException$1 = class ValidationException extends KinesisServiceExce
|
|
|
201
192
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
202
193
|
}
|
|
203
194
|
};
|
|
204
|
-
const MinimumThroughputBillingCommitmentOutputStatus = {
|
|
205
|
-
DISABLED: "DISABLED",
|
|
206
|
-
ENABLED: "ENABLED",
|
|
207
|
-
ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END",
|
|
208
|
-
};
|
|
209
|
-
const EncryptionType = {
|
|
210
|
-
KMS: "KMS",
|
|
211
|
-
NONE: "NONE",
|
|
212
|
-
};
|
|
213
|
-
const MetricsName = {
|
|
214
|
-
ALL: "ALL",
|
|
215
|
-
INCOMING_BYTES: "IncomingBytes",
|
|
216
|
-
INCOMING_RECORDS: "IncomingRecords",
|
|
217
|
-
ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds",
|
|
218
|
-
OUTGOING_BYTES: "OutgoingBytes",
|
|
219
|
-
OUTGOING_RECORDS: "OutgoingRecords",
|
|
220
|
-
READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded",
|
|
221
|
-
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded",
|
|
222
|
-
};
|
|
223
|
-
const StreamStatus = {
|
|
224
|
-
ACTIVE: "ACTIVE",
|
|
225
|
-
CREATING: "CREATING",
|
|
226
|
-
DELETING: "DELETING",
|
|
227
|
-
UPDATING: "UPDATING",
|
|
228
|
-
};
|
|
229
195
|
let ExpiredIteratorException$1 = class ExpiredIteratorException extends KinesisServiceException$1 {
|
|
230
196
|
name = "ExpiredIteratorException";
|
|
231
197
|
$fault = "client";
|
|
@@ -346,28 +312,6 @@ let ProvisionedThroughputExceededException$1 = class ProvisionedThroughputExceed
|
|
|
346
312
|
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
347
313
|
}
|
|
348
314
|
};
|
|
349
|
-
const ShardIteratorType = {
|
|
350
|
-
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
351
|
-
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
352
|
-
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
353
|
-
LATEST: "LATEST",
|
|
354
|
-
TRIM_HORIZON: "TRIM_HORIZON",
|
|
355
|
-
};
|
|
356
|
-
const ShardFilterType = {
|
|
357
|
-
AFTER_SHARD_ID: "AFTER_SHARD_ID",
|
|
358
|
-
AT_LATEST: "AT_LATEST",
|
|
359
|
-
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
360
|
-
AT_TRIM_HORIZON: "AT_TRIM_HORIZON",
|
|
361
|
-
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
362
|
-
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
363
|
-
};
|
|
364
|
-
const MinimumThroughputBillingCommitmentInputStatus = {
|
|
365
|
-
DISABLED: "DISABLED",
|
|
366
|
-
ENABLED: "ENABLED",
|
|
367
|
-
};
|
|
368
|
-
const ScalingType = {
|
|
369
|
-
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
370
|
-
};
|
|
371
315
|
|
|
372
316
|
const _AAT = "ApproximateArrivalTimestamp";
|
|
373
317
|
const _ADE = "AccessDeniedException";
|
|
@@ -2008,6 +1952,63 @@ const waitUntilStreamNotExists = async (params, input) => {
|
|
|
2008
1952
|
return utilWaiter.checkExceptions(result);
|
|
2009
1953
|
};
|
|
2010
1954
|
|
|
1955
|
+
const ConsumerStatus = {
|
|
1956
|
+
ACTIVE: "ACTIVE",
|
|
1957
|
+
CREATING: "CREATING",
|
|
1958
|
+
DELETING: "DELETING",
|
|
1959
|
+
};
|
|
1960
|
+
const StreamMode = {
|
|
1961
|
+
ON_DEMAND: "ON_DEMAND",
|
|
1962
|
+
PROVISIONED: "PROVISIONED",
|
|
1963
|
+
};
|
|
1964
|
+
const MinimumThroughputBillingCommitmentOutputStatus = {
|
|
1965
|
+
DISABLED: "DISABLED",
|
|
1966
|
+
ENABLED: "ENABLED",
|
|
1967
|
+
ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END",
|
|
1968
|
+
};
|
|
1969
|
+
const EncryptionType = {
|
|
1970
|
+
KMS: "KMS",
|
|
1971
|
+
NONE: "NONE",
|
|
1972
|
+
};
|
|
1973
|
+
const MetricsName = {
|
|
1974
|
+
ALL: "ALL",
|
|
1975
|
+
INCOMING_BYTES: "IncomingBytes",
|
|
1976
|
+
INCOMING_RECORDS: "IncomingRecords",
|
|
1977
|
+
ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds",
|
|
1978
|
+
OUTGOING_BYTES: "OutgoingBytes",
|
|
1979
|
+
OUTGOING_RECORDS: "OutgoingRecords",
|
|
1980
|
+
READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded",
|
|
1981
|
+
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded",
|
|
1982
|
+
};
|
|
1983
|
+
const StreamStatus = {
|
|
1984
|
+
ACTIVE: "ACTIVE",
|
|
1985
|
+
CREATING: "CREATING",
|
|
1986
|
+
DELETING: "DELETING",
|
|
1987
|
+
UPDATING: "UPDATING",
|
|
1988
|
+
};
|
|
1989
|
+
const ShardIteratorType = {
|
|
1990
|
+
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
1991
|
+
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
1992
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
1993
|
+
LATEST: "LATEST",
|
|
1994
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
1995
|
+
};
|
|
1996
|
+
const ShardFilterType = {
|
|
1997
|
+
AFTER_SHARD_ID: "AFTER_SHARD_ID",
|
|
1998
|
+
AT_LATEST: "AT_LATEST",
|
|
1999
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
2000
|
+
AT_TRIM_HORIZON: "AT_TRIM_HORIZON",
|
|
2001
|
+
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
2002
|
+
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
2003
|
+
};
|
|
2004
|
+
const MinimumThroughputBillingCommitmentInputStatus = {
|
|
2005
|
+
DISABLED: "DISABLED",
|
|
2006
|
+
ENABLED: "ENABLED",
|
|
2007
|
+
};
|
|
2008
|
+
const ScalingType = {
|
|
2009
|
+
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
2010
|
+
};
|
|
2011
|
+
|
|
2011
2012
|
Object.defineProperty(exports, "$Command", {
|
|
2012
2013
|
enumerable: true,
|
|
2013
2014
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./Kinesis";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { KinesisServiceException } from "./models/KinesisServiceException";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export const ConsumerStatus = {
|
|
2
|
+
ACTIVE: "ACTIVE",
|
|
3
|
+
CREATING: "CREATING",
|
|
4
|
+
DELETING: "DELETING",
|
|
5
|
+
};
|
|
6
|
+
export const StreamMode = {
|
|
7
|
+
ON_DEMAND: "ON_DEMAND",
|
|
8
|
+
PROVISIONED: "PROVISIONED",
|
|
9
|
+
};
|
|
10
|
+
export const MinimumThroughputBillingCommitmentOutputStatus = {
|
|
11
|
+
DISABLED: "DISABLED",
|
|
12
|
+
ENABLED: "ENABLED",
|
|
13
|
+
ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END",
|
|
14
|
+
};
|
|
15
|
+
export const EncryptionType = {
|
|
16
|
+
KMS: "KMS",
|
|
17
|
+
NONE: "NONE",
|
|
18
|
+
};
|
|
19
|
+
export const MetricsName = {
|
|
20
|
+
ALL: "ALL",
|
|
21
|
+
INCOMING_BYTES: "IncomingBytes",
|
|
22
|
+
INCOMING_RECORDS: "IncomingRecords",
|
|
23
|
+
ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds",
|
|
24
|
+
OUTGOING_BYTES: "OutgoingBytes",
|
|
25
|
+
OUTGOING_RECORDS: "OutgoingRecords",
|
|
26
|
+
READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded",
|
|
27
|
+
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded",
|
|
28
|
+
};
|
|
29
|
+
export const StreamStatus = {
|
|
30
|
+
ACTIVE: "ACTIVE",
|
|
31
|
+
CREATING: "CREATING",
|
|
32
|
+
DELETING: "DELETING",
|
|
33
|
+
UPDATING: "UPDATING",
|
|
34
|
+
};
|
|
35
|
+
export const ShardIteratorType = {
|
|
36
|
+
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
37
|
+
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
38
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
39
|
+
LATEST: "LATEST",
|
|
40
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
41
|
+
};
|
|
42
|
+
export const ShardFilterType = {
|
|
43
|
+
AFTER_SHARD_ID: "AFTER_SHARD_ID",
|
|
44
|
+
AT_LATEST: "AT_LATEST",
|
|
45
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
46
|
+
AT_TRIM_HORIZON: "AT_TRIM_HORIZON",
|
|
47
|
+
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
48
|
+
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
49
|
+
};
|
|
50
|
+
export const MinimumThroughputBillingCommitmentInputStatus = {
|
|
51
|
+
DISABLED: "DISABLED",
|
|
52
|
+
ENABLED: "ENABLED",
|
|
53
|
+
};
|
|
54
|
+
export const ScalingType = {
|
|
55
|
+
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
56
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { KinesisServiceException as __BaseException } from "./KinesisServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InvalidArgumentException extends __BaseException {
|
|
15
|
+
name = "InvalidArgumentException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "InvalidArgumentException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class LimitExceededException extends __BaseException {
|
|
27
|
+
name = "LimitExceededException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "LimitExceededException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ResourceInUseException extends __BaseException {
|
|
39
|
+
name = "ResourceInUseException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ResourceInUseException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
+
name = "ResourceNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceNotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ValidationException extends __BaseException {
|
|
63
|
+
name = "ValidationException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ValidationException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ExpiredIteratorException extends __BaseException {
|
|
75
|
+
name = "ExpiredIteratorException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ExpiredIteratorException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ExpiredNextTokenException extends __BaseException {
|
|
87
|
+
name = "ExpiredNextTokenException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "ExpiredNextTokenException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class InternalFailureException extends __BaseException {
|
|
99
|
+
name = "InternalFailureException";
|
|
100
|
+
$fault = "server";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "InternalFailureException",
|
|
104
|
+
$fault: "server",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class KMSAccessDeniedException extends __BaseException {
|
|
111
|
+
name = "KMSAccessDeniedException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "KMSAccessDeniedException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class KMSDisabledException extends __BaseException {
|
|
123
|
+
name = "KMSDisabledException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "KMSDisabledException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class KMSInvalidStateException extends __BaseException {
|
|
135
|
+
name = "KMSInvalidStateException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "KMSInvalidStateException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class KMSNotFoundException extends __BaseException {
|
|
147
|
+
name = "KMSNotFoundException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "KMSNotFoundException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export class KMSOptInRequired extends __BaseException {
|
|
159
|
+
name = "KMSOptInRequired";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "KMSOptInRequired",
|
|
164
|
+
$fault: "client",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
Object.setPrototypeOf(this, KMSOptInRequired.prototype);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class KMSThrottlingException extends __BaseException {
|
|
171
|
+
name = "KMSThrottlingException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "KMSThrottlingException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, KMSThrottlingException.prototype);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
183
|
+
name = "ProvisionedThroughputExceededException";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "ProvisionedThroughputExceededException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -1,249 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class InvalidArgumentException extends __BaseException {
|
|
15
|
-
name = "InvalidArgumentException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "InvalidArgumentException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class LimitExceededException extends __BaseException {
|
|
27
|
-
name = "LimitExceededException";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "LimitExceededException",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class ResourceInUseException extends __BaseException {
|
|
39
|
-
name = "ResourceInUseException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "ResourceInUseException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
-
name = "ResourceNotFoundException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ResourceNotFoundException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export const ConsumerStatus = {
|
|
63
|
-
ACTIVE: "ACTIVE",
|
|
64
|
-
CREATING: "CREATING",
|
|
65
|
-
DELETING: "DELETING",
|
|
66
|
-
};
|
|
67
|
-
export const StreamMode = {
|
|
68
|
-
ON_DEMAND: "ON_DEMAND",
|
|
69
|
-
PROVISIONED: "PROVISIONED",
|
|
70
|
-
};
|
|
71
|
-
export class ValidationException extends __BaseException {
|
|
72
|
-
name = "ValidationException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ValidationException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
export const MinimumThroughputBillingCommitmentOutputStatus = {
|
|
84
|
-
DISABLED: "DISABLED",
|
|
85
|
-
ENABLED: "ENABLED",
|
|
86
|
-
ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END",
|
|
87
|
-
};
|
|
88
|
-
export const EncryptionType = {
|
|
89
|
-
KMS: "KMS",
|
|
90
|
-
NONE: "NONE",
|
|
91
|
-
};
|
|
92
|
-
export const MetricsName = {
|
|
93
|
-
ALL: "ALL",
|
|
94
|
-
INCOMING_BYTES: "IncomingBytes",
|
|
95
|
-
INCOMING_RECORDS: "IncomingRecords",
|
|
96
|
-
ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds",
|
|
97
|
-
OUTGOING_BYTES: "OutgoingBytes",
|
|
98
|
-
OUTGOING_RECORDS: "OutgoingRecords",
|
|
99
|
-
READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded",
|
|
100
|
-
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded",
|
|
101
|
-
};
|
|
102
|
-
export const StreamStatus = {
|
|
103
|
-
ACTIVE: "ACTIVE",
|
|
104
|
-
CREATING: "CREATING",
|
|
105
|
-
DELETING: "DELETING",
|
|
106
|
-
UPDATING: "UPDATING",
|
|
107
|
-
};
|
|
108
|
-
export class ExpiredIteratorException extends __BaseException {
|
|
109
|
-
name = "ExpiredIteratorException";
|
|
110
|
-
$fault = "client";
|
|
111
|
-
constructor(opts) {
|
|
112
|
-
super({
|
|
113
|
-
name: "ExpiredIteratorException",
|
|
114
|
-
$fault: "client",
|
|
115
|
-
...opts,
|
|
116
|
-
});
|
|
117
|
-
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export class ExpiredNextTokenException extends __BaseException {
|
|
121
|
-
name = "ExpiredNextTokenException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "ExpiredNextTokenException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export class InternalFailureException extends __BaseException {
|
|
133
|
-
name = "InternalFailureException";
|
|
134
|
-
$fault = "server";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "InternalFailureException",
|
|
138
|
-
$fault: "server",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
export class KMSAccessDeniedException extends __BaseException {
|
|
145
|
-
name = "KMSAccessDeniedException";
|
|
146
|
-
$fault = "client";
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "KMSAccessDeniedException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
export class KMSDisabledException extends __BaseException {
|
|
157
|
-
name = "KMSDisabledException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "KMSDisabledException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
export class KMSInvalidStateException extends __BaseException {
|
|
169
|
-
name = "KMSInvalidStateException";
|
|
170
|
-
$fault = "client";
|
|
171
|
-
constructor(opts) {
|
|
172
|
-
super({
|
|
173
|
-
name: "KMSInvalidStateException",
|
|
174
|
-
$fault: "client",
|
|
175
|
-
...opts,
|
|
176
|
-
});
|
|
177
|
-
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
export class KMSNotFoundException extends __BaseException {
|
|
181
|
-
name = "KMSNotFoundException";
|
|
182
|
-
$fault = "client";
|
|
183
|
-
constructor(opts) {
|
|
184
|
-
super({
|
|
185
|
-
name: "KMSNotFoundException",
|
|
186
|
-
$fault: "client",
|
|
187
|
-
...opts,
|
|
188
|
-
});
|
|
189
|
-
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
export class KMSOptInRequired extends __BaseException {
|
|
193
|
-
name = "KMSOptInRequired";
|
|
194
|
-
$fault = "client";
|
|
195
|
-
constructor(opts) {
|
|
196
|
-
super({
|
|
197
|
-
name: "KMSOptInRequired",
|
|
198
|
-
$fault: "client",
|
|
199
|
-
...opts,
|
|
200
|
-
});
|
|
201
|
-
Object.setPrototypeOf(this, KMSOptInRequired.prototype);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
export class KMSThrottlingException extends __BaseException {
|
|
205
|
-
name = "KMSThrottlingException";
|
|
206
|
-
$fault = "client";
|
|
207
|
-
constructor(opts) {
|
|
208
|
-
super({
|
|
209
|
-
name: "KMSThrottlingException",
|
|
210
|
-
$fault: "client",
|
|
211
|
-
...opts,
|
|
212
|
-
});
|
|
213
|
-
Object.setPrototypeOf(this, KMSThrottlingException.prototype);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
217
|
-
name = "ProvisionedThroughputExceededException";
|
|
218
|
-
$fault = "client";
|
|
219
|
-
constructor(opts) {
|
|
220
|
-
super({
|
|
221
|
-
name: "ProvisionedThroughputExceededException",
|
|
222
|
-
$fault: "client",
|
|
223
|
-
...opts,
|
|
224
|
-
});
|
|
225
|
-
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
export const ShardIteratorType = {
|
|
229
|
-
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
230
|
-
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
231
|
-
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
232
|
-
LATEST: "LATEST",
|
|
233
|
-
TRIM_HORIZON: "TRIM_HORIZON",
|
|
234
|
-
};
|
|
235
|
-
export const ShardFilterType = {
|
|
236
|
-
AFTER_SHARD_ID: "AFTER_SHARD_ID",
|
|
237
|
-
AT_LATEST: "AT_LATEST",
|
|
238
|
-
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
239
|
-
AT_TRIM_HORIZON: "AT_TRIM_HORIZON",
|
|
240
|
-
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
241
|
-
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
242
|
-
};
|
|
243
|
-
export const MinimumThroughputBillingCommitmentInputStatus = {
|
|
244
|
-
DISABLED: "DISABLED",
|
|
245
|
-
ENABLED: "ENABLED",
|
|
246
|
-
};
|
|
247
|
-
export const ScalingType = {
|
|
248
|
-
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
249
|
-
};
|
|
1
|
+
export {};
|
|
@@ -238,7 +238,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kinesis";
|
|
|
238
238
|
const _st = "streaming";
|
|
239
239
|
const n0 = "com.amazonaws.kinesis";
|
|
240
240
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
241
|
-
import { AccessDeniedException as __AccessDeniedException, ExpiredIteratorException as __ExpiredIteratorException, ExpiredNextTokenException as __ExpiredNextTokenException, InternalFailureException as __InternalFailureException, InvalidArgumentException as __InvalidArgumentException, KMSAccessDeniedException as __KMSAccessDeniedException, KMSDisabledException as __KMSDisabledException, KMSInvalidStateException as __KMSInvalidStateException, KMSNotFoundException as __KMSNotFoundException, KMSOptInRequired as __KMSOptInRequired, KMSThrottlingException as __KMSThrottlingException, LimitExceededException as __LimitExceededException, ProvisionedThroughputExceededException as __ProvisionedThroughputExceededException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/
|
|
241
|
+
import { AccessDeniedException as __AccessDeniedException, ExpiredIteratorException as __ExpiredIteratorException, ExpiredNextTokenException as __ExpiredNextTokenException, InternalFailureException as __InternalFailureException, InvalidArgumentException as __InvalidArgumentException, KMSAccessDeniedException as __KMSAccessDeniedException, KMSDisabledException as __KMSDisabledException, KMSInvalidStateException as __KMSInvalidStateException, KMSNotFoundException as __KMSNotFoundException, KMSOptInRequired as __KMSOptInRequired, KMSThrottlingException as __KMSThrottlingException, LimitExceededException as __LimitExceededException, ProvisionedThroughputExceededException as __ProvisionedThroughputExceededException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/errors";
|
|
242
242
|
import { KinesisServiceException as __KinesisServiceException } from "../models/KinesisServiceException";
|
|
243
243
|
export var AccessDeniedException = [
|
|
244
244
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,7 @@ export type { KinesisExtensionConfiguration } from "./extensionConfiguration";
|
|
|
13
13
|
export * from "./commands";
|
|
14
14
|
export * from "./pagination";
|
|
15
15
|
export * from "./waiters";
|
|
16
|
-
export * from "./models";
|
|
16
|
+
export * from "./models/enums";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
17
19
|
export { KinesisServiceException } from "./models/KinesisServiceException";
|