@aws-sdk/client-kinesis 3.934.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
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* <p>Specifies that you do not have the permissions required to perform this
|
|
5
|
-
* operation.</p>
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
-
readonly name: "AccessDeniedException";
|
|
10
|
-
readonly $fault: "client";
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
1
|
+
import { ConsumerStatus, EncryptionType, MetricsName, MinimumThroughputBillingCommitmentInputStatus, MinimumThroughputBillingCommitmentOutputStatus, ScalingType, ShardFilterType, ShardIteratorType, StreamMode, StreamStatus } from "./enums";
|
|
2
|
+
import { InternalFailureException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, ResourceInUseException, ResourceNotFoundException } from "./errors";
|
|
16
3
|
/**
|
|
17
4
|
* <p>Represents the input for <code>AddTagsToStream</code>.</p>
|
|
18
5
|
* @public
|
|
@@ -34,58 +21,6 @@ export interface AddTagsToStreamInput {
|
|
|
34
21
|
*/
|
|
35
22
|
StreamARN?: string | undefined;
|
|
36
23
|
}
|
|
37
|
-
/**
|
|
38
|
-
* <p>A specified parameter exceeds its restrictions, is not supported, or can't be used.
|
|
39
|
-
* For more information, see the returned message.</p>
|
|
40
|
-
* @public
|
|
41
|
-
*/
|
|
42
|
-
export declare class InvalidArgumentException extends __BaseException {
|
|
43
|
-
readonly name: "InvalidArgumentException";
|
|
44
|
-
readonly $fault: "client";
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
52
|
-
* stream requests exceeds the maximum number allowed. </p>
|
|
53
|
-
* @public
|
|
54
|
-
*/
|
|
55
|
-
export declare class LimitExceededException extends __BaseException {
|
|
56
|
-
readonly name: "LimitExceededException";
|
|
57
|
-
readonly $fault: "client";
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* <p>The resource is not available for this operation. For successful operation, the
|
|
65
|
-
* resource must be in the <code>ACTIVE</code> state.</p>
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
69
|
-
readonly name: "ResourceInUseException";
|
|
70
|
-
readonly $fault: "client";
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* <p>The requested resource could not be found. The stream might not be specified
|
|
78
|
-
* correctly.</p>
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
82
|
-
readonly name: "ResourceNotFoundException";
|
|
83
|
-
readonly $fault: "client";
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
88
|
-
}
|
|
89
24
|
/**
|
|
90
25
|
* <p>The range of possible hash key values for the shard, which is a set of ordered
|
|
91
26
|
* contiguous positive integers.</p>
|
|
@@ -126,19 +61,6 @@ export interface ChildShard {
|
|
|
126
61
|
*/
|
|
127
62
|
HashKeyRange: HashKeyRange | undefined;
|
|
128
63
|
}
|
|
129
|
-
/**
|
|
130
|
-
* @public
|
|
131
|
-
* @enum
|
|
132
|
-
*/
|
|
133
|
-
export declare const ConsumerStatus: {
|
|
134
|
-
readonly ACTIVE: "ACTIVE";
|
|
135
|
-
readonly CREATING: "CREATING";
|
|
136
|
-
readonly DELETING: "DELETING";
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
|
-
export type ConsumerStatus = (typeof ConsumerStatus)[keyof typeof ConsumerStatus];
|
|
142
64
|
/**
|
|
143
65
|
* <p>An object that represents the details of the consumer you registered. This type of
|
|
144
66
|
* object is returned by <a>RegisterStreamConsumer</a>.</p>
|
|
@@ -210,18 +132,6 @@ export interface ConsumerDescription {
|
|
|
210
132
|
*/
|
|
211
133
|
StreamARN: string | undefined;
|
|
212
134
|
}
|
|
213
|
-
/**
|
|
214
|
-
* @public
|
|
215
|
-
* @enum
|
|
216
|
-
*/
|
|
217
|
-
export declare const StreamMode: {
|
|
218
|
-
readonly ON_DEMAND: "ON_DEMAND";
|
|
219
|
-
readonly PROVISIONED: "PROVISIONED";
|
|
220
|
-
};
|
|
221
|
-
/**
|
|
222
|
-
* @public
|
|
223
|
-
*/
|
|
224
|
-
export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
|
|
225
135
|
/**
|
|
226
136
|
* <p> Specifies the capacity mode to which you want to set your data stream. Currently, in
|
|
227
137
|
* Kinesis Data Streams, you can choose between an <b>on-demand</b> capacity mode and a <b>provisioned</b> capacity mode for your data streams. </p>
|
|
@@ -279,20 +189,6 @@ export interface CreateStreamInput {
|
|
|
279
189
|
*/
|
|
280
190
|
MaxRecordSizeInKiB?: number | undefined;
|
|
281
191
|
}
|
|
282
|
-
/**
|
|
283
|
-
* <p>Specifies that you tried to invoke this API for a data stream with the on-demand
|
|
284
|
-
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
285
|
-
* mode. </p>
|
|
286
|
-
* @public
|
|
287
|
-
*/
|
|
288
|
-
export declare class ValidationException extends __BaseException {
|
|
289
|
-
readonly name: "ValidationException";
|
|
290
|
-
readonly $fault: "client";
|
|
291
|
-
/**
|
|
292
|
-
* @internal
|
|
293
|
-
*/
|
|
294
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
295
|
-
}
|
|
296
192
|
/**
|
|
297
193
|
* <p>Represents the input for <a>DecreaseStreamRetentionPeriod</a>.</p>
|
|
298
194
|
* @public
|
|
@@ -379,19 +275,6 @@ export interface DeregisterStreamConsumerInput {
|
|
|
379
275
|
*/
|
|
380
276
|
export interface DescribeAccountSettingsInput {
|
|
381
277
|
}
|
|
382
|
-
/**
|
|
383
|
-
* @public
|
|
384
|
-
* @enum
|
|
385
|
-
*/
|
|
386
|
-
export declare const MinimumThroughputBillingCommitmentOutputStatus: {
|
|
387
|
-
readonly DISABLED: "DISABLED";
|
|
388
|
-
readonly ENABLED: "ENABLED";
|
|
389
|
-
readonly ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END";
|
|
390
|
-
};
|
|
391
|
-
/**
|
|
392
|
-
* @public
|
|
393
|
-
*/
|
|
394
|
-
export type MinimumThroughputBillingCommitmentOutputStatus = (typeof MinimumThroughputBillingCommitmentOutputStatus)[keyof typeof MinimumThroughputBillingCommitmentOutputStatus];
|
|
395
278
|
/**
|
|
396
279
|
* <p>Represents the current status of minimum throughput billing commitment for an account.</p>
|
|
397
280
|
* @public
|
|
@@ -490,36 +373,6 @@ export interface DescribeStreamInput {
|
|
|
490
373
|
*/
|
|
491
374
|
StreamARN?: string | undefined;
|
|
492
375
|
}
|
|
493
|
-
/**
|
|
494
|
-
* @public
|
|
495
|
-
* @enum
|
|
496
|
-
*/
|
|
497
|
-
export declare const EncryptionType: {
|
|
498
|
-
readonly KMS: "KMS";
|
|
499
|
-
readonly NONE: "NONE";
|
|
500
|
-
};
|
|
501
|
-
/**
|
|
502
|
-
* @public
|
|
503
|
-
*/
|
|
504
|
-
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
505
|
-
/**
|
|
506
|
-
* @public
|
|
507
|
-
* @enum
|
|
508
|
-
*/
|
|
509
|
-
export declare const MetricsName: {
|
|
510
|
-
readonly ALL: "ALL";
|
|
511
|
-
readonly INCOMING_BYTES: "IncomingBytes";
|
|
512
|
-
readonly INCOMING_RECORDS: "IncomingRecords";
|
|
513
|
-
readonly ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds";
|
|
514
|
-
readonly OUTGOING_BYTES: "OutgoingBytes";
|
|
515
|
-
readonly OUTGOING_RECORDS: "OutgoingRecords";
|
|
516
|
-
readonly READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded";
|
|
517
|
-
readonly WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded";
|
|
518
|
-
};
|
|
519
|
-
/**
|
|
520
|
-
* @public
|
|
521
|
-
*/
|
|
522
|
-
export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
|
|
523
376
|
/**
|
|
524
377
|
* <p>Represents enhanced metrics types.</p>
|
|
525
378
|
* @public
|
|
@@ -627,20 +480,6 @@ export interface Shard {
|
|
|
627
480
|
*/
|
|
628
481
|
SequenceNumberRange: SequenceNumberRange | undefined;
|
|
629
482
|
}
|
|
630
|
-
/**
|
|
631
|
-
* @public
|
|
632
|
-
* @enum
|
|
633
|
-
*/
|
|
634
|
-
export declare const StreamStatus: {
|
|
635
|
-
readonly ACTIVE: "ACTIVE";
|
|
636
|
-
readonly CREATING: "CREATING";
|
|
637
|
-
readonly DELETING: "DELETING";
|
|
638
|
-
readonly UPDATING: "UPDATING";
|
|
639
|
-
};
|
|
640
|
-
/**
|
|
641
|
-
* @public
|
|
642
|
-
*/
|
|
643
|
-
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
644
483
|
/**
|
|
645
484
|
* <p>Represents the output for <a>DescribeStream</a>.</p>
|
|
646
485
|
* @public
|
|
@@ -1165,30 +1004,6 @@ export interface EnableEnhancedMonitoringInput {
|
|
|
1165
1004
|
*/
|
|
1166
1005
|
StreamARN?: string | undefined;
|
|
1167
1006
|
}
|
|
1168
|
-
/**
|
|
1169
|
-
* <p>The provided iterator exceeds the maximum age allowed.</p>
|
|
1170
|
-
* @public
|
|
1171
|
-
*/
|
|
1172
|
-
export declare class ExpiredIteratorException extends __BaseException {
|
|
1173
|
-
readonly name: "ExpiredIteratorException";
|
|
1174
|
-
readonly $fault: "client";
|
|
1175
|
-
/**
|
|
1176
|
-
* @internal
|
|
1177
|
-
*/
|
|
1178
|
-
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
1179
|
-
}
|
|
1180
|
-
/**
|
|
1181
|
-
* <p>The pagination token passed to the operation is expired.</p>
|
|
1182
|
-
* @public
|
|
1183
|
-
*/
|
|
1184
|
-
export declare class ExpiredNextTokenException extends __BaseException {
|
|
1185
|
-
readonly name: "ExpiredNextTokenException";
|
|
1186
|
-
readonly $fault: "client";
|
|
1187
|
-
/**
|
|
1188
|
-
* @internal
|
|
1189
|
-
*/
|
|
1190
|
-
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
1191
|
-
}
|
|
1192
1007
|
/**
|
|
1193
1008
|
* <p>Represents the input for <a>GetRecords</a>.</p>
|
|
1194
1009
|
* @public
|
|
@@ -1293,116 +1108,6 @@ export interface GetRecordsOutput {
|
|
|
1293
1108
|
*/
|
|
1294
1109
|
ChildShards?: ChildShard[] | undefined;
|
|
1295
1110
|
}
|
|
1296
|
-
/**
|
|
1297
|
-
* <p>The processing of the request failed because of an unknown error, exception, or
|
|
1298
|
-
* failure.</p>
|
|
1299
|
-
* @public
|
|
1300
|
-
*/
|
|
1301
|
-
export declare class InternalFailureException extends __BaseException {
|
|
1302
|
-
readonly name: "InternalFailureException";
|
|
1303
|
-
readonly $fault: "server";
|
|
1304
|
-
/**
|
|
1305
|
-
* @internal
|
|
1306
|
-
*/
|
|
1307
|
-
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
1308
|
-
}
|
|
1309
|
-
/**
|
|
1310
|
-
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
1311
|
-
* to.</p>
|
|
1312
|
-
* @public
|
|
1313
|
-
*/
|
|
1314
|
-
export declare class KMSAccessDeniedException extends __BaseException {
|
|
1315
|
-
readonly name: "KMSAccessDeniedException";
|
|
1316
|
-
readonly $fault: "client";
|
|
1317
|
-
/**
|
|
1318
|
-
* @internal
|
|
1319
|
-
*/
|
|
1320
|
-
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
1321
|
-
}
|
|
1322
|
-
/**
|
|
1323
|
-
* <p>The request was rejected because the specified customer master key (CMK) isn't
|
|
1324
|
-
* enabled.</p>
|
|
1325
|
-
* @public
|
|
1326
|
-
*/
|
|
1327
|
-
export declare class KMSDisabledException extends __BaseException {
|
|
1328
|
-
readonly name: "KMSDisabledException";
|
|
1329
|
-
readonly $fault: "client";
|
|
1330
|
-
/**
|
|
1331
|
-
* @internal
|
|
1332
|
-
*/
|
|
1333
|
-
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
1334
|
-
}
|
|
1335
|
-
/**
|
|
1336
|
-
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
1337
|
-
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
|
|
1338
|
-
* Customer Master Key</a> in the <i>Amazon Web Services Key Management
|
|
1339
|
-
* Service Developer Guide</i>.</p>
|
|
1340
|
-
* @public
|
|
1341
|
-
*/
|
|
1342
|
-
export declare class KMSInvalidStateException extends __BaseException {
|
|
1343
|
-
readonly name: "KMSInvalidStateException";
|
|
1344
|
-
readonly $fault: "client";
|
|
1345
|
-
/**
|
|
1346
|
-
* @internal
|
|
1347
|
-
*/
|
|
1348
|
-
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
1349
|
-
}
|
|
1350
|
-
/**
|
|
1351
|
-
* <p>The request was rejected because the specified entity or resource can't be
|
|
1352
|
-
* found.</p>
|
|
1353
|
-
* @public
|
|
1354
|
-
*/
|
|
1355
|
-
export declare class KMSNotFoundException extends __BaseException {
|
|
1356
|
-
readonly name: "KMSNotFoundException";
|
|
1357
|
-
readonly $fault: "client";
|
|
1358
|
-
/**
|
|
1359
|
-
* @internal
|
|
1360
|
-
*/
|
|
1361
|
-
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
1362
|
-
}
|
|
1363
|
-
/**
|
|
1364
|
-
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
1365
|
-
* @public
|
|
1366
|
-
*/
|
|
1367
|
-
export declare class KMSOptInRequired extends __BaseException {
|
|
1368
|
-
readonly name: "KMSOptInRequired";
|
|
1369
|
-
readonly $fault: "client";
|
|
1370
|
-
/**
|
|
1371
|
-
* @internal
|
|
1372
|
-
*/
|
|
1373
|
-
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
1374
|
-
}
|
|
1375
|
-
/**
|
|
1376
|
-
* <p>The request was denied due to request throttling. For more information about
|
|
1377
|
-
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
1378
|
-
* the <i>Amazon Web Services Key Management Service Developer
|
|
1379
|
-
* Guide</i>.</p>
|
|
1380
|
-
* @public
|
|
1381
|
-
*/
|
|
1382
|
-
export declare class KMSThrottlingException extends __BaseException {
|
|
1383
|
-
readonly name: "KMSThrottlingException";
|
|
1384
|
-
readonly $fault: "client";
|
|
1385
|
-
/**
|
|
1386
|
-
* @internal
|
|
1387
|
-
*/
|
|
1388
|
-
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
1389
|
-
}
|
|
1390
|
-
/**
|
|
1391
|
-
* <p>The request rate for the stream is too high, or the requested data is too large for
|
|
1392
|
-
* the available throughput. Reduce the frequency or size of your requests. For more
|
|
1393
|
-
* information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Streams Limits</a> in the
|
|
1394
|
-
* <i>Amazon Kinesis Data Streams Developer Guide</i>, and <a href="https://docs.aws.amazon.com/general/latest/gr/api-retries.html">Error Retries and
|
|
1395
|
-
* Exponential Backoff in Amazon Web Services</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1396
|
-
* @public
|
|
1397
|
-
*/
|
|
1398
|
-
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
1399
|
-
readonly name: "ProvisionedThroughputExceededException";
|
|
1400
|
-
readonly $fault: "client";
|
|
1401
|
-
/**
|
|
1402
|
-
* @internal
|
|
1403
|
-
*/
|
|
1404
|
-
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
1405
|
-
}
|
|
1406
1111
|
/**
|
|
1407
1112
|
* @public
|
|
1408
1113
|
*/
|
|
@@ -1423,21 +1128,6 @@ export interface GetResourcePolicyOutput {
|
|
|
1423
1128
|
*/
|
|
1424
1129
|
Policy: string | undefined;
|
|
1425
1130
|
}
|
|
1426
|
-
/**
|
|
1427
|
-
* @public
|
|
1428
|
-
* @enum
|
|
1429
|
-
*/
|
|
1430
|
-
export declare const ShardIteratorType: {
|
|
1431
|
-
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
1432
|
-
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
1433
|
-
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
1434
|
-
readonly LATEST: "LATEST";
|
|
1435
|
-
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
1436
|
-
};
|
|
1437
|
-
/**
|
|
1438
|
-
* @public
|
|
1439
|
-
*/
|
|
1440
|
-
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
1441
1131
|
/**
|
|
1442
1132
|
* <p>Represents the input for <code>GetShardIterator</code>.</p>
|
|
1443
1133
|
* @public
|
|
@@ -1542,22 +1232,6 @@ export interface IncreaseStreamRetentionPeriodInput {
|
|
|
1542
1232
|
*/
|
|
1543
1233
|
StreamARN?: string | undefined;
|
|
1544
1234
|
}
|
|
1545
|
-
/**
|
|
1546
|
-
* @public
|
|
1547
|
-
* @enum
|
|
1548
|
-
*/
|
|
1549
|
-
export declare const ShardFilterType: {
|
|
1550
|
-
readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
|
|
1551
|
-
readonly AT_LATEST: "AT_LATEST";
|
|
1552
|
-
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
1553
|
-
readonly AT_TRIM_HORIZON: "AT_TRIM_HORIZON";
|
|
1554
|
-
readonly FROM_TIMESTAMP: "FROM_TIMESTAMP";
|
|
1555
|
-
readonly FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON";
|
|
1556
|
-
};
|
|
1557
|
-
/**
|
|
1558
|
-
* @public
|
|
1559
|
-
*/
|
|
1560
|
-
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
1561
1235
|
/**
|
|
1562
1236
|
* <p>The request parameter used to filter out the response of the <code>ListShards</code>
|
|
1563
1237
|
* API.</p>
|
|
@@ -2819,18 +2493,6 @@ export interface UntagResourceInput {
|
|
|
2819
2493
|
*/
|
|
2820
2494
|
ResourceARN: string | undefined;
|
|
2821
2495
|
}
|
|
2822
|
-
/**
|
|
2823
|
-
* @public
|
|
2824
|
-
* @enum
|
|
2825
|
-
*/
|
|
2826
|
-
export declare const MinimumThroughputBillingCommitmentInputStatus: {
|
|
2827
|
-
readonly DISABLED: "DISABLED";
|
|
2828
|
-
readonly ENABLED: "ENABLED";
|
|
2829
|
-
};
|
|
2830
|
-
/**
|
|
2831
|
-
* @public
|
|
2832
|
-
*/
|
|
2833
|
-
export type MinimumThroughputBillingCommitmentInputStatus = (typeof MinimumThroughputBillingCommitmentInputStatus)[keyof typeof MinimumThroughputBillingCommitmentInputStatus];
|
|
2834
2496
|
/**
|
|
2835
2497
|
* <p>Represents the request parameters for configuring minimum throughput billing commitment.</p>
|
|
2836
2498
|
* <note>
|
|
@@ -2893,17 +2555,6 @@ export interface UpdateMaxRecordSizeInput {
|
|
|
2893
2555
|
*/
|
|
2894
2556
|
MaxRecordSizeInKiB: number | undefined;
|
|
2895
2557
|
}
|
|
2896
|
-
/**
|
|
2897
|
-
* @public
|
|
2898
|
-
* @enum
|
|
2899
|
-
*/
|
|
2900
|
-
export declare const ScalingType: {
|
|
2901
|
-
readonly UNIFORM_SCALING: "UNIFORM_SCALING";
|
|
2902
|
-
};
|
|
2903
|
-
/**
|
|
2904
|
-
* @public
|
|
2905
|
-
*/
|
|
2906
|
-
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
2907
2558
|
/**
|
|
2908
2559
|
* @public
|
|
2909
2560
|
*/
|
|
@@ -6,5 +6,7 @@ export { KinesisExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { KinesisServiceException } from "./models/KinesisServiceException";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export declare const ConsumerStatus: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly CREATING: "CREATING";
|
|
4
|
+
readonly DELETING: "DELETING";
|
|
5
|
+
};
|
|
6
|
+
export type ConsumerStatus =
|
|
7
|
+
(typeof ConsumerStatus)[keyof typeof ConsumerStatus];
|
|
8
|
+
export declare const StreamMode: {
|
|
9
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
10
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
11
|
+
};
|
|
12
|
+
export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
|
|
13
|
+
export declare const MinimumThroughputBillingCommitmentOutputStatus: {
|
|
14
|
+
readonly DISABLED: "DISABLED";
|
|
15
|
+
readonly ENABLED: "ENABLED";
|
|
16
|
+
readonly ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END";
|
|
17
|
+
};
|
|
18
|
+
export type MinimumThroughputBillingCommitmentOutputStatus =
|
|
19
|
+
(typeof MinimumThroughputBillingCommitmentOutputStatus)[keyof typeof MinimumThroughputBillingCommitmentOutputStatus];
|
|
20
|
+
export declare const EncryptionType: {
|
|
21
|
+
readonly KMS: "KMS";
|
|
22
|
+
readonly NONE: "NONE";
|
|
23
|
+
};
|
|
24
|
+
export type EncryptionType =
|
|
25
|
+
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
26
|
+
export declare const MetricsName: {
|
|
27
|
+
readonly ALL: "ALL";
|
|
28
|
+
readonly INCOMING_BYTES: "IncomingBytes";
|
|
29
|
+
readonly INCOMING_RECORDS: "IncomingRecords";
|
|
30
|
+
readonly ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds";
|
|
31
|
+
readonly OUTGOING_BYTES: "OutgoingBytes";
|
|
32
|
+
readonly OUTGOING_RECORDS: "OutgoingRecords";
|
|
33
|
+
readonly READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded";
|
|
34
|
+
readonly WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded";
|
|
35
|
+
};
|
|
36
|
+
export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
|
|
37
|
+
export declare const StreamStatus: {
|
|
38
|
+
readonly ACTIVE: "ACTIVE";
|
|
39
|
+
readonly CREATING: "CREATING";
|
|
40
|
+
readonly DELETING: "DELETING";
|
|
41
|
+
readonly UPDATING: "UPDATING";
|
|
42
|
+
};
|
|
43
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
44
|
+
export declare const ShardIteratorType: {
|
|
45
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
46
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
47
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
48
|
+
readonly LATEST: "LATEST";
|
|
49
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
50
|
+
};
|
|
51
|
+
export type ShardIteratorType =
|
|
52
|
+
(typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
53
|
+
export declare const ShardFilterType: {
|
|
54
|
+
readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
|
|
55
|
+
readonly AT_LATEST: "AT_LATEST";
|
|
56
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
57
|
+
readonly AT_TRIM_HORIZON: "AT_TRIM_HORIZON";
|
|
58
|
+
readonly FROM_TIMESTAMP: "FROM_TIMESTAMP";
|
|
59
|
+
readonly FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON";
|
|
60
|
+
};
|
|
61
|
+
export type ShardFilterType =
|
|
62
|
+
(typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
63
|
+
export declare const MinimumThroughputBillingCommitmentInputStatus: {
|
|
64
|
+
readonly DISABLED: "DISABLED";
|
|
65
|
+
readonly ENABLED: "ENABLED";
|
|
66
|
+
};
|
|
67
|
+
export type MinimumThroughputBillingCommitmentInputStatus =
|
|
68
|
+
(typeof MinimumThroughputBillingCommitmentInputStatus)[keyof typeof MinimumThroughputBillingCommitmentInputStatus];
|
|
69
|
+
export declare const ScalingType: {
|
|
70
|
+
readonly UNIFORM_SCALING: "UNIFORM_SCALING";
|
|
71
|
+
};
|
|
72
|
+
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KinesisServiceException as __BaseException } from "./KinesisServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
11
|
+
readonly name: "InvalidArgumentException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class LimitExceededException extends __BaseException {
|
|
18
|
+
readonly name: "LimitExceededException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
25
|
+
readonly name: "ResourceInUseException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
readonly name: "ResourceNotFoundException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ValidationException extends __BaseException {
|
|
39
|
+
readonly name: "ValidationException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class ExpiredIteratorException extends __BaseException {
|
|
46
|
+
readonly name: "ExpiredIteratorException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
53
|
+
readonly name: "ExpiredNextTokenException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
constructor(
|
|
56
|
+
opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
export declare class InternalFailureException extends __BaseException {
|
|
60
|
+
readonly name: "InternalFailureException";
|
|
61
|
+
readonly $fault: "server";
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
67
|
+
readonly name: "KMSAccessDeniedException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
constructor(
|
|
70
|
+
opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
74
|
+
readonly name: "KMSDisabledException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
constructor(
|
|
77
|
+
opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
81
|
+
readonly name: "KMSInvalidStateException";
|
|
82
|
+
readonly $fault: "client";
|
|
83
|
+
constructor(
|
|
84
|
+
opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
88
|
+
readonly name: "KMSNotFoundException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
export declare class KMSOptInRequired extends __BaseException {
|
|
95
|
+
readonly name: "KMSOptInRequired";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
98
|
+
}
|
|
99
|
+
export declare class KMSThrottlingException extends __BaseException {
|
|
100
|
+
readonly name: "KMSThrottlingException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
constructor(
|
|
103
|
+
opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
107
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
constructor(
|
|
110
|
+
opts: __ExceptionOptionType<
|
|
111
|
+
ProvisionedThroughputExceededException,
|
|
112
|
+
__BaseException
|
|
113
|
+
>
|
|
114
|
+
);
|
|
115
|
+
}
|