@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.
@@ -1,45 +1,31 @@
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
- }
1
+ import {
2
+ ConsumerStatus,
3
+ EncryptionType,
4
+ MetricsName,
5
+ MinimumThroughputBillingCommitmentInputStatus,
6
+ MinimumThroughputBillingCommitmentOutputStatus,
7
+ ScalingType,
8
+ ShardFilterType,
9
+ ShardIteratorType,
10
+ StreamMode,
11
+ StreamStatus,
12
+ } from "./enums";
13
+ import {
14
+ InternalFailureException,
15
+ KMSAccessDeniedException,
16
+ KMSDisabledException,
17
+ KMSInvalidStateException,
18
+ KMSNotFoundException,
19
+ KMSOptInRequired,
20
+ KMSThrottlingException,
21
+ ResourceInUseException,
22
+ ResourceNotFoundException,
23
+ } from "./errors";
10
24
  export interface AddTagsToStreamInput {
11
25
  StreamName?: string | undefined;
12
26
  Tags: Record<string, string> | undefined;
13
27
  StreamARN?: string | undefined;
14
28
  }
15
- export declare class InvalidArgumentException extends __BaseException {
16
- readonly name: "InvalidArgumentException";
17
- readonly $fault: "client";
18
- constructor(
19
- opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
20
- );
21
- }
22
- export declare class LimitExceededException extends __BaseException {
23
- readonly name: "LimitExceededException";
24
- readonly $fault: "client";
25
- constructor(
26
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
27
- );
28
- }
29
- export declare class ResourceInUseException extends __BaseException {
30
- readonly name: "ResourceInUseException";
31
- readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
34
- );
35
- }
36
- export declare class ResourceNotFoundException extends __BaseException {
37
- readonly name: "ResourceNotFoundException";
38
- readonly $fault: "client";
39
- constructor(
40
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
41
- );
42
- }
43
29
  export interface HashKeyRange {
44
30
  StartingHashKey: string | undefined;
45
31
  EndingHashKey: string | undefined;
@@ -49,13 +35,6 @@ export interface ChildShard {
49
35
  ParentShards: string[] | undefined;
50
36
  HashKeyRange: HashKeyRange | undefined;
51
37
  }
52
- export declare const ConsumerStatus: {
53
- readonly ACTIVE: "ACTIVE";
54
- readonly CREATING: "CREATING";
55
- readonly DELETING: "DELETING";
56
- };
57
- export type ConsumerStatus =
58
- (typeof ConsumerStatus)[keyof typeof ConsumerStatus];
59
38
  export interface Consumer {
60
39
  ConsumerName: string | undefined;
61
40
  ConsumerARN: string | undefined;
@@ -69,11 +48,6 @@ export interface ConsumerDescription {
69
48
  ConsumerCreationTimestamp: Date | undefined;
70
49
  StreamARN: string | undefined;
71
50
  }
72
- export declare const StreamMode: {
73
- readonly ON_DEMAND: "ON_DEMAND";
74
- readonly PROVISIONED: "PROVISIONED";
75
- };
76
- export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
77
51
  export interface StreamModeDetails {
78
52
  StreamMode: StreamMode | undefined;
79
53
  }
@@ -85,13 +59,6 @@ export interface CreateStreamInput {
85
59
  WarmThroughputMiBps?: number | undefined;
86
60
  MaxRecordSizeInKiB?: number | undefined;
87
61
  }
88
- export declare class ValidationException extends __BaseException {
89
- readonly name: "ValidationException";
90
- readonly $fault: "client";
91
- constructor(
92
- opts: __ExceptionOptionType<ValidationException, __BaseException>
93
- );
94
- }
95
62
  export interface DecreaseStreamRetentionPeriodInput {
96
63
  StreamName?: string | undefined;
97
64
  RetentionPeriodHours: number | undefined;
@@ -111,13 +78,6 @@ export interface DeregisterStreamConsumerInput {
111
78
  ConsumerARN?: string | undefined;
112
79
  }
113
80
  export interface DescribeAccountSettingsInput {}
114
- export declare const MinimumThroughputBillingCommitmentOutputStatus: {
115
- readonly DISABLED: "DISABLED";
116
- readonly ENABLED: "ENABLED";
117
- readonly ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END";
118
- };
119
- export type MinimumThroughputBillingCommitmentOutputStatus =
120
- (typeof MinimumThroughputBillingCommitmentOutputStatus)[keyof typeof MinimumThroughputBillingCommitmentOutputStatus];
121
81
  export interface MinimumThroughputBillingCommitmentOutput {
122
82
  Status: MinimumThroughputBillingCommitmentOutputStatus | undefined;
123
83
  StartedAt?: Date | undefined;
@@ -142,23 +102,6 @@ export interface DescribeStreamInput {
142
102
  ExclusiveStartShardId?: string | undefined;
143
103
  StreamARN?: string | undefined;
144
104
  }
145
- export declare const EncryptionType: {
146
- readonly KMS: "KMS";
147
- readonly NONE: "NONE";
148
- };
149
- export type EncryptionType =
150
- (typeof EncryptionType)[keyof typeof EncryptionType];
151
- export declare const MetricsName: {
152
- readonly ALL: "ALL";
153
- readonly INCOMING_BYTES: "IncomingBytes";
154
- readonly INCOMING_RECORDS: "IncomingRecords";
155
- readonly ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds";
156
- readonly OUTGOING_BYTES: "OutgoingBytes";
157
- readonly OUTGOING_RECORDS: "OutgoingRecords";
158
- readonly READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded";
159
- readonly WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded";
160
- };
161
- export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
162
105
  export interface EnhancedMetrics {
163
106
  ShardLevelMetrics?: MetricsName[] | undefined;
164
107
  }
@@ -173,13 +116,6 @@ export interface Shard {
173
116
  HashKeyRange: HashKeyRange | undefined;
174
117
  SequenceNumberRange: SequenceNumberRange | undefined;
175
118
  }
176
- export declare const StreamStatus: {
177
- readonly ACTIVE: "ACTIVE";
178
- readonly CREATING: "CREATING";
179
- readonly DELETING: "DELETING";
180
- readonly UPDATING: "UPDATING";
181
- };
182
- export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
183
119
  export interface StreamDescription {
184
120
  StreamName: string | undefined;
185
121
  StreamARN: string | undefined;
@@ -246,20 +182,6 @@ export interface EnableEnhancedMonitoringInput {
246
182
  ShardLevelMetrics: MetricsName[] | undefined;
247
183
  StreamARN?: string | undefined;
248
184
  }
249
- export declare class ExpiredIteratorException extends __BaseException {
250
- readonly name: "ExpiredIteratorException";
251
- readonly $fault: "client";
252
- constructor(
253
- opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>
254
- );
255
- }
256
- export declare class ExpiredNextTokenException extends __BaseException {
257
- readonly name: "ExpiredNextTokenException";
258
- readonly $fault: "client";
259
- constructor(
260
- opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
261
- );
262
- }
263
185
  export interface GetRecordsInput {
264
186
  ShardIterator: string | undefined;
265
187
  Limit?: number | undefined;
@@ -278,78 +200,12 @@ export interface GetRecordsOutput {
278
200
  MillisBehindLatest?: number | undefined;
279
201
  ChildShards?: ChildShard[] | undefined;
280
202
  }
281
- export declare class InternalFailureException extends __BaseException {
282
- readonly name: "InternalFailureException";
283
- readonly $fault: "server";
284
- constructor(
285
- opts: __ExceptionOptionType<InternalFailureException, __BaseException>
286
- );
287
- }
288
- export declare class KMSAccessDeniedException extends __BaseException {
289
- readonly name: "KMSAccessDeniedException";
290
- readonly $fault: "client";
291
- constructor(
292
- opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
293
- );
294
- }
295
- export declare class KMSDisabledException extends __BaseException {
296
- readonly name: "KMSDisabledException";
297
- readonly $fault: "client";
298
- constructor(
299
- opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
300
- );
301
- }
302
- export declare class KMSInvalidStateException extends __BaseException {
303
- readonly name: "KMSInvalidStateException";
304
- readonly $fault: "client";
305
- constructor(
306
- opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
307
- );
308
- }
309
- export declare class KMSNotFoundException extends __BaseException {
310
- readonly name: "KMSNotFoundException";
311
- readonly $fault: "client";
312
- constructor(
313
- opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
314
- );
315
- }
316
- export declare class KMSOptInRequired extends __BaseException {
317
- readonly name: "KMSOptInRequired";
318
- readonly $fault: "client";
319
- constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
320
- }
321
- export declare class KMSThrottlingException extends __BaseException {
322
- readonly name: "KMSThrottlingException";
323
- readonly $fault: "client";
324
- constructor(
325
- opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>
326
- );
327
- }
328
- export declare class ProvisionedThroughputExceededException extends __BaseException {
329
- readonly name: "ProvisionedThroughputExceededException";
330
- readonly $fault: "client";
331
- constructor(
332
- opts: __ExceptionOptionType<
333
- ProvisionedThroughputExceededException,
334
- __BaseException
335
- >
336
- );
337
- }
338
203
  export interface GetResourcePolicyInput {
339
204
  ResourceARN: string | undefined;
340
205
  }
341
206
  export interface GetResourcePolicyOutput {
342
207
  Policy: string | undefined;
343
208
  }
344
- export declare const ShardIteratorType: {
345
- readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
346
- readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
347
- readonly AT_TIMESTAMP: "AT_TIMESTAMP";
348
- readonly LATEST: "LATEST";
349
- readonly TRIM_HORIZON: "TRIM_HORIZON";
350
- };
351
- export type ShardIteratorType =
352
- (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
353
209
  export interface GetShardIteratorInput {
354
210
  StreamName?: string | undefined;
355
211
  ShardId: string | undefined;
@@ -366,16 +222,6 @@ export interface IncreaseStreamRetentionPeriodInput {
366
222
  RetentionPeriodHours: number | undefined;
367
223
  StreamARN?: string | undefined;
368
224
  }
369
- export declare const ShardFilterType: {
370
- readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
371
- readonly AT_LATEST: "AT_LATEST";
372
- readonly AT_TIMESTAMP: "AT_TIMESTAMP";
373
- readonly AT_TRIM_HORIZON: "AT_TRIM_HORIZON";
374
- readonly FROM_TIMESTAMP: "FROM_TIMESTAMP";
375
- readonly FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON";
376
- };
377
- export type ShardFilterType =
378
- (typeof ShardFilterType)[keyof typeof ShardFilterType];
379
225
  export interface ShardFilter {
380
226
  Type: ShardFilterType | undefined;
381
227
  ShardId?: string | undefined;
@@ -714,12 +560,6 @@ export interface UntagResourceInput {
714
560
  TagKeys: string[] | undefined;
715
561
  ResourceARN: string | undefined;
716
562
  }
717
- export declare const MinimumThroughputBillingCommitmentInputStatus: {
718
- readonly DISABLED: "DISABLED";
719
- readonly ENABLED: "ENABLED";
720
- };
721
- export type MinimumThroughputBillingCommitmentInputStatus =
722
- (typeof MinimumThroughputBillingCommitmentInputStatus)[keyof typeof MinimumThroughputBillingCommitmentInputStatus];
723
563
  export interface MinimumThroughputBillingCommitmentInput {
724
564
  Status: MinimumThroughputBillingCommitmentInputStatus | undefined;
725
565
  }
@@ -737,10 +577,6 @@ export interface UpdateMaxRecordSizeInput {
737
577
  StreamARN?: string | undefined;
738
578
  MaxRecordSizeInKiB: number | undefined;
739
579
  }
740
- export declare const ScalingType: {
741
- readonly UNIFORM_SCALING: "UNIFORM_SCALING";
742
- };
743
- export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
744
580
  export interface UpdateShardCountInput {
745
581
  StreamName?: string | undefined;
746
582
  TargetShardCount: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis",
@@ -22,19 +22,19 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.934.0",
26
- "@aws-sdk/credential-provider-node": "3.934.0",
25
+ "@aws-sdk/core": "3.935.0",
26
+ "@aws-sdk/credential-provider-node": "3.935.0",
27
27
  "@aws-sdk/middleware-host-header": "3.930.0",
28
28
  "@aws-sdk/middleware-logger": "3.930.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
30
- "@aws-sdk/middleware-user-agent": "3.934.0",
30
+ "@aws-sdk/middleware-user-agent": "3.935.0",
31
31
  "@aws-sdk/region-config-resolver": "3.930.0",
32
32
  "@aws-sdk/types": "3.930.0",
33
33
  "@aws-sdk/util-endpoints": "3.930.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.930.0",
35
- "@aws-sdk/util-user-agent-node": "3.934.0",
35
+ "@aws-sdk/util-user-agent-node": "3.935.0",
36
36
  "@smithy/config-resolver": "^4.4.3",
37
- "@smithy/core": "^3.18.2",
37
+ "@smithy/core": "^3.18.5",
38
38
  "@smithy/eventstream-serde-browser": "^4.2.5",
39
39
  "@smithy/eventstream-serde-config-resolver": "^4.3.5",
40
40
  "@smithy/eventstream-serde-node": "^4.2.5",
@@ -42,21 +42,21 @@
42
42
  "@smithy/hash-node": "^4.2.5",
43
43
  "@smithy/invalid-dependency": "^4.2.5",
44
44
  "@smithy/middleware-content-length": "^4.2.5",
45
- "@smithy/middleware-endpoint": "^4.3.9",
46
- "@smithy/middleware-retry": "^4.4.9",
47
- "@smithy/middleware-serde": "^4.2.5",
45
+ "@smithy/middleware-endpoint": "^4.3.12",
46
+ "@smithy/middleware-retry": "^4.4.12",
47
+ "@smithy/middleware-serde": "^4.2.6",
48
48
  "@smithy/middleware-stack": "^4.2.5",
49
49
  "@smithy/node-config-provider": "^4.3.5",
50
50
  "@smithy/node-http-handler": "^4.4.5",
51
51
  "@smithy/protocol-http": "^5.3.5",
52
- "@smithy/smithy-client": "^4.9.5",
52
+ "@smithy/smithy-client": "^4.9.8",
53
53
  "@smithy/types": "^4.9.0",
54
54
  "@smithy/url-parser": "^4.2.5",
55
55
  "@smithy/util-base64": "^4.3.0",
56
56
  "@smithy/util-body-length-browser": "^4.2.0",
57
57
  "@smithy/util-body-length-node": "^4.2.1",
58
- "@smithy/util-defaults-mode-browser": "^4.3.8",
59
- "@smithy/util-defaults-mode-node": "^4.2.11",
58
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
59
+ "@smithy/util-defaults-mode-node": "^4.2.14",
60
60
  "@smithy/util-endpoints": "^3.2.5",
61
61
  "@smithy/util-middleware": "^4.2.5",
62
62
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";