@aws-sdk/client-kinesis 3.1121.0 → 3.1122.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/README.md +35 -0
- package/dist-cjs/index.js +834 -310
- package/dist-es/Kinesis.js +14 -0
- package/dist-es/commandBuilder.js +7 -3
- package/dist-es/commands/CreateChannelCommand.js +4 -0
- package/dist-es/commands/DeleteChannelCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
- package/dist-es/commands/DescribeChannelCommand.js +4 -0
- package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -2
- package/dist-es/commands/GetRecordsCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/GetShardIteratorCommand.js +2 -2
- package/dist-es/commands/ListChannelsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutRecordCommand.js +2 -2
- package/dist-es/commands/PutRecordsCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/SubscribeToShardCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateChannelCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/bdd.js +275 -211
- package/dist-es/endpoint/endpointResolver.js +1 -0
- package/dist-es/models/enums.js +38 -0
- package/dist-es/models/errors.js +44 -44
- package/dist-es/pagination/ListChannelsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +312 -38
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForChannelActive.js +67 -0
- package/dist-types/Kinesis.d.ts +49 -0
- package/dist-types/KinesisClient.d.ts +7 -2
- package/dist-types/commandBuilder.d.ts +4 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +456 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +105 -0
- package/dist-types/commands/DescribeChannelCommand.d.ts +219 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +181 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +246 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/enums.d.ts +102 -0
- package/dist-types/models/errors.d.ts +51 -51
- package/dist-types/models/models_0.d.ts +788 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/Kinesis.d.ts +99 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +30 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +49 -0
- package/dist-types/ts3.4/models/errors.d.ts +20 -20
- package/dist-types/ts3.4/models/models_0.d.ts +168 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForChannelActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForChannelActive.d.ts +15 -0
- package/package.json +1 -1
|
@@ -1,3 +1,52 @@
|
|
|
1
|
+
export declare const ChannelStatus: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly CREATING: "CREATING";
|
|
4
|
+
readonly DELETING: "DELETING";
|
|
5
|
+
readonly FAILED: "FAILED";
|
|
6
|
+
readonly UPDATING: "UPDATING";
|
|
7
|
+
};
|
|
8
|
+
export type ChannelStatus = (typeof ChannelStatus)[keyof typeof ChannelStatus];
|
|
9
|
+
export declare const ChannelEncryptionType: {
|
|
10
|
+
readonly KMS: "KMS";
|
|
11
|
+
};
|
|
12
|
+
export type ChannelEncryptionType =
|
|
13
|
+
(typeof ChannelEncryptionType)[keyof typeof ChannelEncryptionType];
|
|
14
|
+
export declare const S3CompressionType: {
|
|
15
|
+
readonly GZIP: "GZIP";
|
|
16
|
+
readonly NONE: "NONE";
|
|
17
|
+
readonly ZSTD: "ZSTD";
|
|
18
|
+
};
|
|
19
|
+
export type S3CompressionType = (typeof S3CompressionType)[keyof typeof S3CompressionType];
|
|
20
|
+
export declare const S3StorageClass: {
|
|
21
|
+
readonly GLACIER_IR: "GLACIER_IR";
|
|
22
|
+
readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
|
|
23
|
+
readonly STANDARD: "STANDARD";
|
|
24
|
+
};
|
|
25
|
+
export type S3StorageClass = (typeof S3StorageClass)[keyof typeof S3StorageClass];
|
|
26
|
+
export declare const S3TablesCompressionType: {
|
|
27
|
+
readonly NONE: "NONE";
|
|
28
|
+
readonly SNAPPY: "SNAPPY";
|
|
29
|
+
readonly ZSTD: "ZSTD";
|
|
30
|
+
};
|
|
31
|
+
export type S3TablesCompressionType =
|
|
32
|
+
(typeof S3TablesCompressionType)[keyof typeof S3TablesCompressionType];
|
|
33
|
+
export declare const PartitionTransform: {
|
|
34
|
+
readonly TIME_HOUR: "TIME_HOUR";
|
|
35
|
+
};
|
|
36
|
+
export type PartitionTransform = (typeof PartitionTransform)[keyof typeof PartitionTransform];
|
|
37
|
+
export declare const RecordFormatType: {
|
|
38
|
+
readonly BYTE_ARRAY: "BYTE_ARRAY";
|
|
39
|
+
readonly GSR_JSON: "GSR_JSON";
|
|
40
|
+
readonly JSON: "JSON";
|
|
41
|
+
readonly STRING: "STRING";
|
|
42
|
+
};
|
|
43
|
+
export type RecordFormatType = (typeof RecordFormatType)[keyof typeof RecordFormatType];
|
|
44
|
+
export declare const ChannelDestinationType: {
|
|
45
|
+
readonly S3: "S3";
|
|
46
|
+
readonly S3_TABLES: "S3_TABLES";
|
|
47
|
+
};
|
|
48
|
+
export type ChannelDestinationType =
|
|
49
|
+
(typeof ChannelDestinationType)[keyof typeof ChannelDestinationType];
|
|
1
50
|
export declare const ConsumerStatus: {
|
|
2
51
|
readonly ACTIVE: "ACTIVE";
|
|
3
52
|
readonly CREATING: "CREATING";
|
|
@@ -25,26 +25,6 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
25
25
|
readonly $fault: "client";
|
|
26
26
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
27
27
|
}
|
|
28
|
-
export declare class ValidationException extends __BaseException {
|
|
29
|
-
readonly name: "ValidationException";
|
|
30
|
-
readonly $fault: "client";
|
|
31
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
32
|
-
}
|
|
33
|
-
export declare class ExpiredIteratorException extends __BaseException {
|
|
34
|
-
readonly name: "ExpiredIteratorException";
|
|
35
|
-
readonly $fault: "client";
|
|
36
|
-
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
37
|
-
}
|
|
38
|
-
export declare class ExpiredNextTokenException extends __BaseException {
|
|
39
|
-
readonly name: "ExpiredNextTokenException";
|
|
40
|
-
readonly $fault: "client";
|
|
41
|
-
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
42
|
-
}
|
|
43
|
-
export declare class InternalFailureException extends __BaseException {
|
|
44
|
-
readonly name: "InternalFailureException";
|
|
45
|
-
readonly $fault: "server";
|
|
46
|
-
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
47
|
-
}
|
|
48
28
|
export declare class KMSAccessDeniedException extends __BaseException {
|
|
49
29
|
readonly name: "KMSAccessDeniedException";
|
|
50
30
|
readonly $fault: "client";
|
|
@@ -75,6 +55,26 @@ export declare class KMSThrottlingException extends __BaseException {
|
|
|
75
55
|
readonly $fault: "client";
|
|
76
56
|
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
77
57
|
}
|
|
58
|
+
export declare class ValidationException extends __BaseException {
|
|
59
|
+
readonly name: "ValidationException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
export declare class ExpiredIteratorException extends __BaseException {
|
|
64
|
+
readonly name: "ExpiredIteratorException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
69
|
+
readonly name: "ExpiredNextTokenException";
|
|
70
|
+
readonly $fault: "client";
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
export declare class InternalFailureException extends __BaseException {
|
|
74
|
+
readonly name: "InternalFailureException";
|
|
75
|
+
readonly $fault: "server";
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
77
|
+
}
|
|
78
78
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
79
79
|
readonly name: "ProvisionedThroughputExceededException";
|
|
80
80
|
readonly $fault: "client";
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ChannelDestinationType,
|
|
3
|
+
ChannelEncryptionType,
|
|
4
|
+
ChannelStatus,
|
|
2
5
|
ConsumerStatus,
|
|
3
6
|
EncryptionType,
|
|
4
7
|
MetricsName,
|
|
5
8
|
MinimumThroughputBillingCommitmentInputStatus,
|
|
6
9
|
MinimumThroughputBillingCommitmentOutputStatus,
|
|
10
|
+
PartitionTransform,
|
|
11
|
+
RecordFormatType,
|
|
12
|
+
S3CompressionType,
|
|
13
|
+
S3StorageClass,
|
|
14
|
+
S3TablesCompressionType,
|
|
7
15
|
ScalingType,
|
|
8
16
|
ShardFilterType,
|
|
9
17
|
ShardIteratorType,
|
|
@@ -27,6 +35,103 @@ export interface AddTagsToStreamInput {
|
|
|
27
35
|
StreamARN?: string | undefined;
|
|
28
36
|
StreamId?: string | undefined;
|
|
29
37
|
}
|
|
38
|
+
export interface ChannelEncryptionConfiguration {
|
|
39
|
+
EncryptionType: ChannelEncryptionType | undefined;
|
|
40
|
+
KeyId: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface CloudWatchLogs {
|
|
43
|
+
Enabled: boolean | undefined;
|
|
44
|
+
LogGroupName?: string | undefined;
|
|
45
|
+
LogStreamName?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface ChannelLoggingConfiguration {
|
|
48
|
+
CloudWatchLogs: CloudWatchLogs | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface DeadLetterQueueS3Configuration {
|
|
51
|
+
BucketARN: string | undefined;
|
|
52
|
+
ExpectedBucketOwner: string | undefined;
|
|
53
|
+
ErrorOutputPrefix?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface S3StorageConfiguration {
|
|
56
|
+
BucketARN: string | undefined;
|
|
57
|
+
ExpectedBucketOwner: string | undefined;
|
|
58
|
+
OutputKeyTemplate?: string | undefined;
|
|
59
|
+
StorageClass?: S3StorageClass | undefined;
|
|
60
|
+
CompressionType: S3CompressionType | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface S3DestinationDescription {
|
|
63
|
+
DataFreshnessInSeconds: number | undefined;
|
|
64
|
+
DeadLetterQueueS3Configuration: DeadLetterQueueS3Configuration | undefined;
|
|
65
|
+
StorageConfiguration: S3StorageConfiguration | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface PartitionField {
|
|
68
|
+
Transform: PartitionTransform | undefined;
|
|
69
|
+
SourceName: string | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface PartitionSpec {
|
|
72
|
+
PartitionFields: PartitionField[] | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface S3TablesConfiguration {
|
|
75
|
+
TableBucketARN: string | undefined;
|
|
76
|
+
Namespace: string | undefined;
|
|
77
|
+
TableName: string | undefined;
|
|
78
|
+
CompressionType: S3TablesCompressionType | undefined;
|
|
79
|
+
PartitionSpec?: PartitionSpec | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface S3TablesDestinationDescription {
|
|
82
|
+
DataFreshnessInSeconds: number | undefined;
|
|
83
|
+
DeadLetterQueueS3Configuration: DeadLetterQueueS3Configuration | undefined;
|
|
84
|
+
S3TablesConfigurationList: S3TablesConfiguration[] | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface RecordConfiguration {
|
|
87
|
+
RecordFormatType: RecordFormatType | undefined;
|
|
88
|
+
GSRSchemaARN?: string | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface ChannelStreamDescription {
|
|
91
|
+
StreamARN: string | undefined;
|
|
92
|
+
StreamCreationTimestamp: Date | undefined;
|
|
93
|
+
RecordConfiguration: RecordConfiguration | undefined;
|
|
94
|
+
}
|
|
95
|
+
export interface ChannelDescription {
|
|
96
|
+
ChannelName: string | undefined;
|
|
97
|
+
ChannelARN: string | undefined;
|
|
98
|
+
ChannelId: string | undefined;
|
|
99
|
+
ChannelStatus: ChannelStatus | undefined;
|
|
100
|
+
ChannelStatusReason?: string | undefined;
|
|
101
|
+
ChannelCreationTimestamp: Date | undefined;
|
|
102
|
+
ServiceExecutionRoleARN: string | undefined;
|
|
103
|
+
StreamConfigurationList: ChannelStreamDescription[] | undefined;
|
|
104
|
+
S3DestinationConfiguration?: S3DestinationDescription | undefined;
|
|
105
|
+
S3TablesDestinationConfiguration?: S3TablesDestinationDescription | undefined;
|
|
106
|
+
EncryptionConfiguration?: ChannelEncryptionConfiguration | undefined;
|
|
107
|
+
LoggingConfiguration: ChannelLoggingConfiguration | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface CloudWatchLogsUpdateInput {
|
|
110
|
+
Enabled: boolean | undefined;
|
|
111
|
+
LogGroupName?: string | undefined;
|
|
112
|
+
LogStreamName?: string | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface ChannelLoggingUpdateInput {
|
|
115
|
+
CloudWatchLogs: CloudWatchLogsUpdateInput | undefined;
|
|
116
|
+
}
|
|
117
|
+
export interface ChannelStreamConfiguration {
|
|
118
|
+
StreamARN: string | undefined;
|
|
119
|
+
RecordConfiguration: RecordConfiguration | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface ChannelStreamIdentifier {
|
|
122
|
+
StreamARN: string | undefined;
|
|
123
|
+
StreamCreationTimestamp: Date | undefined;
|
|
124
|
+
}
|
|
125
|
+
export interface ChannelSummary {
|
|
126
|
+
ChannelName: string | undefined;
|
|
127
|
+
ChannelARN: string | undefined;
|
|
128
|
+
ChannelId: string | undefined;
|
|
129
|
+
ChannelStatus: ChannelStatus | undefined;
|
|
130
|
+
ChannelStatusReason?: string | undefined;
|
|
131
|
+
ChannelCreationTimestamp: Date | undefined;
|
|
132
|
+
ChannelDestinationType: ChannelDestinationType | undefined;
|
|
133
|
+
Streams: ChannelStreamIdentifier[] | undefined;
|
|
134
|
+
}
|
|
30
135
|
export interface HashKeyRange {
|
|
31
136
|
StartingHashKey: string | undefined;
|
|
32
137
|
EndingHashKey: string | undefined;
|
|
@@ -49,6 +154,29 @@ export interface ConsumerDescription {
|
|
|
49
154
|
ConsumerCreationTimestamp: Date | undefined;
|
|
50
155
|
StreamARN: string | undefined;
|
|
51
156
|
}
|
|
157
|
+
export interface S3DestinationConfiguration {
|
|
158
|
+
DataFreshnessInSeconds?: number | undefined;
|
|
159
|
+
DeadLetterQueueS3Configuration?: DeadLetterQueueS3Configuration | undefined;
|
|
160
|
+
StorageConfiguration: S3StorageConfiguration | undefined;
|
|
161
|
+
}
|
|
162
|
+
export interface S3TablesDestinationConfiguration {
|
|
163
|
+
DataFreshnessInSeconds?: number | undefined;
|
|
164
|
+
DeadLetterQueueS3Configuration: DeadLetterQueueS3Configuration | undefined;
|
|
165
|
+
S3TablesConfigurationList: S3TablesConfiguration[] | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface CreateChannelInput {
|
|
168
|
+
ChannelName: string | undefined;
|
|
169
|
+
ServiceExecutionRoleARN: string | undefined;
|
|
170
|
+
StreamConfigurationList: ChannelStreamConfiguration[] | undefined;
|
|
171
|
+
S3DestinationConfiguration?: S3DestinationConfiguration | undefined;
|
|
172
|
+
S3TablesDestinationConfiguration?: S3TablesDestinationConfiguration | undefined;
|
|
173
|
+
EncryptionConfiguration?: ChannelEncryptionConfiguration | undefined;
|
|
174
|
+
Tags?: Record<string, string> | undefined;
|
|
175
|
+
LoggingConfiguration?: ChannelLoggingConfiguration | undefined;
|
|
176
|
+
}
|
|
177
|
+
export interface CreateChannelOutput {
|
|
178
|
+
ChannelDescription: ChannelDescription | undefined;
|
|
179
|
+
}
|
|
52
180
|
export interface StreamModeDetails {
|
|
53
181
|
StreamMode: StreamMode | undefined;
|
|
54
182
|
}
|
|
@@ -66,6 +194,9 @@ export interface DecreaseStreamRetentionPeriodInput {
|
|
|
66
194
|
StreamARN?: string | undefined;
|
|
67
195
|
StreamId?: string | undefined;
|
|
68
196
|
}
|
|
197
|
+
export interface DeleteChannelInput {
|
|
198
|
+
ChannelARN: string | undefined;
|
|
199
|
+
}
|
|
69
200
|
export interface DeleteResourcePolicyInput {
|
|
70
201
|
ResourceARN: string | undefined;
|
|
71
202
|
StreamId?: string | undefined;
|
|
@@ -92,12 +223,20 @@ export interface MinimumThroughputBillingCommitmentOutput {
|
|
|
92
223
|
export interface DescribeAccountSettingsOutput {
|
|
93
224
|
MinimumThroughputBillingCommitment?: MinimumThroughputBillingCommitmentOutput | undefined;
|
|
94
225
|
}
|
|
226
|
+
export interface DescribeChannelInput {
|
|
227
|
+
ChannelARN: string | undefined;
|
|
228
|
+
}
|
|
229
|
+
export interface DescribeChannelOutput {
|
|
230
|
+
ChannelDescription: ChannelDescription | undefined;
|
|
231
|
+
}
|
|
95
232
|
export interface DescribeLimitsInput {}
|
|
96
233
|
export interface DescribeLimitsOutput {
|
|
97
234
|
ShardLimit: number | undefined;
|
|
98
235
|
OpenShardCount: number | undefined;
|
|
99
236
|
OnDemandStreamCount: number | undefined;
|
|
100
237
|
OnDemandStreamCountLimit: number | undefined;
|
|
238
|
+
ChannelCount?: number | undefined;
|
|
239
|
+
ChannelCountLimit?: number | undefined;
|
|
101
240
|
}
|
|
102
241
|
export interface DescribeStreamInput {
|
|
103
242
|
StreamName?: string | undefined;
|
|
@@ -169,6 +308,7 @@ export interface StreamDescriptionSummary {
|
|
|
169
308
|
ConsumerCount?: number | undefined;
|
|
170
309
|
WarmThroughput?: WarmThroughputObject | undefined;
|
|
171
310
|
MaxRecordSizeInKiB?: number | undefined;
|
|
311
|
+
ChannelCount?: number | undefined;
|
|
172
312
|
}
|
|
173
313
|
export interface DescribeStreamSummaryOutput {
|
|
174
314
|
StreamDescriptionSummary: StreamDescriptionSummary | undefined;
|
|
@@ -235,6 +375,19 @@ export interface IncreaseStreamRetentionPeriodInput {
|
|
|
235
375
|
StreamARN?: string | undefined;
|
|
236
376
|
StreamId?: string | undefined;
|
|
237
377
|
}
|
|
378
|
+
export interface StreamFilter {
|
|
379
|
+
StreamARN: string | undefined;
|
|
380
|
+
StreamCreationTimestamp?: Date | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface ListChannelsInput {
|
|
383
|
+
StreamFilter?: StreamFilter[] | undefined;
|
|
384
|
+
MaxResults?: number | undefined;
|
|
385
|
+
NextToken?: string | undefined;
|
|
386
|
+
}
|
|
387
|
+
export interface ListChannelsOutput {
|
|
388
|
+
ChannelSummaries: ChannelSummary[] | undefined;
|
|
389
|
+
NextToken?: string | undefined;
|
|
390
|
+
}
|
|
238
391
|
export interface ShardFilter {
|
|
239
392
|
Type: ShardFilterType | undefined;
|
|
240
393
|
ShardId?: string | undefined;
|
|
@@ -598,6 +751,21 @@ export interface UpdateAccountSettingsInput {
|
|
|
598
751
|
export interface UpdateAccountSettingsOutput {
|
|
599
752
|
MinimumThroughputBillingCommitment?: MinimumThroughputBillingCommitmentOutput | undefined;
|
|
600
753
|
}
|
|
754
|
+
export interface S3DestinationUpdateInput {
|
|
755
|
+
DataFreshnessInSeconds: number | undefined;
|
|
756
|
+
}
|
|
757
|
+
export interface S3TablesDestinationUpdateInput {
|
|
758
|
+
DataFreshnessInSeconds: number | undefined;
|
|
759
|
+
}
|
|
760
|
+
export interface UpdateChannelInput {
|
|
761
|
+
ChannelARN: string | undefined;
|
|
762
|
+
S3DestinationConfiguration?: S3DestinationUpdateInput | undefined;
|
|
763
|
+
S3TablesDestinationConfiguration?: S3TablesDestinationUpdateInput | undefined;
|
|
764
|
+
LoggingConfiguration?: ChannelLoggingUpdateInput | undefined;
|
|
765
|
+
}
|
|
766
|
+
export interface UpdateChannelOutput {
|
|
767
|
+
ChannelDescription: ChannelDescription | undefined;
|
|
768
|
+
}
|
|
601
769
|
export interface UpdateMaxRecordSizeInput {
|
|
602
770
|
StreamARN?: string | undefined;
|
|
603
771
|
StreamId?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListChannelsCommandInput,
|
|
4
|
+
ListChannelsCommandOutput,
|
|
5
|
+
} from "../commands/ListChannelsCommand";
|
|
6
|
+
import { KinesisPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListChannels: (
|
|
8
|
+
config: KinesisPaginationConfiguration,
|
|
9
|
+
input: ListChannelsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListChannelsCommandOutput>;
|
|
@@ -24,16 +24,32 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
|
24
24
|
export declare var ValidationException$: StaticErrorSchema;
|
|
25
25
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
26
26
|
export declare var AddTagsToStreamInput$: StaticStructureSchema;
|
|
27
|
+
export declare var ChannelDescription$: StaticStructureSchema;
|
|
28
|
+
export declare var ChannelEncryptionConfiguration$: StaticStructureSchema;
|
|
29
|
+
export declare var ChannelLoggingConfiguration$: StaticStructureSchema;
|
|
30
|
+
export declare var ChannelLoggingUpdateInput$: StaticStructureSchema;
|
|
31
|
+
export declare var ChannelStreamConfiguration$: StaticStructureSchema;
|
|
32
|
+
export declare var ChannelStreamDescription$: StaticStructureSchema;
|
|
33
|
+
export declare var ChannelStreamIdentifier$: StaticStructureSchema;
|
|
34
|
+
export declare var ChannelSummary$: StaticStructureSchema;
|
|
27
35
|
export declare var ChildShard$: StaticStructureSchema;
|
|
36
|
+
export declare var CloudWatchLogs$: StaticStructureSchema;
|
|
37
|
+
export declare var CloudWatchLogsUpdateInput$: StaticStructureSchema;
|
|
28
38
|
export declare var Consumer$: StaticStructureSchema;
|
|
29
39
|
export declare var ConsumerDescription$: StaticStructureSchema;
|
|
40
|
+
export declare var CreateChannelInput$: StaticStructureSchema;
|
|
41
|
+
export declare var CreateChannelOutput$: StaticStructureSchema;
|
|
30
42
|
export declare var CreateStreamInput$: StaticStructureSchema;
|
|
43
|
+
export declare var DeadLetterQueueS3Configuration$: StaticStructureSchema;
|
|
31
44
|
export declare var DecreaseStreamRetentionPeriodInput$: StaticStructureSchema;
|
|
45
|
+
export declare var DeleteChannelInput$: StaticStructureSchema;
|
|
32
46
|
export declare var DeleteResourcePolicyInput$: StaticStructureSchema;
|
|
33
47
|
export declare var DeleteStreamInput$: StaticStructureSchema;
|
|
34
48
|
export declare var DeregisterStreamConsumerInput$: StaticStructureSchema;
|
|
35
49
|
export declare var DescribeAccountSettingsInput$: StaticStructureSchema;
|
|
36
50
|
export declare var DescribeAccountSettingsOutput$: StaticStructureSchema;
|
|
51
|
+
export declare var DescribeChannelInput$: StaticStructureSchema;
|
|
52
|
+
export declare var DescribeChannelOutput$: StaticStructureSchema;
|
|
37
53
|
export declare var DescribeLimitsInput$: StaticStructureSchema;
|
|
38
54
|
export declare var DescribeLimitsOutput$: StaticStructureSchema;
|
|
39
55
|
export declare var DescribeStreamConsumerInput$: StaticStructureSchema;
|
|
@@ -54,6 +70,8 @@ export declare var GetShardIteratorInput$: StaticStructureSchema;
|
|
|
54
70
|
export declare var GetShardIteratorOutput$: StaticStructureSchema;
|
|
55
71
|
export declare var HashKeyRange$: StaticStructureSchema;
|
|
56
72
|
export declare var IncreaseStreamRetentionPeriodInput$: StaticStructureSchema;
|
|
73
|
+
export declare var ListChannelsInput$: StaticStructureSchema;
|
|
74
|
+
export declare var ListChannelsOutput$: StaticStructureSchema;
|
|
57
75
|
export declare var ListShardsInput$: StaticStructureSchema;
|
|
58
76
|
export declare var ListShardsOutput$: StaticStructureSchema;
|
|
59
77
|
export declare var ListStreamConsumersInput$: StaticStructureSchema;
|
|
@@ -67,6 +85,8 @@ export declare var ListTagsForStreamOutput$: StaticStructureSchema;
|
|
|
67
85
|
export declare var MergeShardsInput$: StaticStructureSchema;
|
|
68
86
|
export declare var MinimumThroughputBillingCommitmentInput$: StaticStructureSchema;
|
|
69
87
|
export declare var MinimumThroughputBillingCommitmentOutput$: StaticStructureSchema;
|
|
88
|
+
export declare var PartitionField$: StaticStructureSchema;
|
|
89
|
+
export declare var PartitionSpec$: StaticStructureSchema;
|
|
70
90
|
export declare var PutRecordInput$: StaticStructureSchema;
|
|
71
91
|
export declare var PutRecordOutput$: StaticStructureSchema;
|
|
72
92
|
export declare var PutRecordsInput$: StaticStructureSchema;
|
|
@@ -75,9 +95,18 @@ export declare var PutRecordsRequestEntry$: StaticStructureSchema;
|
|
|
75
95
|
export declare var PutRecordsResultEntry$: StaticStructureSchema;
|
|
76
96
|
export declare var PutResourcePolicyInput$: StaticStructureSchema;
|
|
77
97
|
export declare var _Record$: StaticStructureSchema;
|
|
98
|
+
export declare var RecordConfiguration$: StaticStructureSchema;
|
|
78
99
|
export declare var RegisterStreamConsumerInput$: StaticStructureSchema;
|
|
79
100
|
export declare var RegisterStreamConsumerOutput$: StaticStructureSchema;
|
|
80
101
|
export declare var RemoveTagsFromStreamInput$: StaticStructureSchema;
|
|
102
|
+
export declare var S3DestinationConfiguration$: StaticStructureSchema;
|
|
103
|
+
export declare var S3DestinationDescription$: StaticStructureSchema;
|
|
104
|
+
export declare var S3DestinationUpdateInput$: StaticStructureSchema;
|
|
105
|
+
export declare var S3StorageConfiguration$: StaticStructureSchema;
|
|
106
|
+
export declare var S3TablesConfiguration$: StaticStructureSchema;
|
|
107
|
+
export declare var S3TablesDestinationConfiguration$: StaticStructureSchema;
|
|
108
|
+
export declare var S3TablesDestinationDescription$: StaticStructureSchema;
|
|
109
|
+
export declare var S3TablesDestinationUpdateInput$: StaticStructureSchema;
|
|
81
110
|
export declare var SequenceNumberRange$: StaticStructureSchema;
|
|
82
111
|
export declare var Shard$: StaticStructureSchema;
|
|
83
112
|
export declare var ShardFilter$: StaticStructureSchema;
|
|
@@ -87,6 +116,7 @@ export declare var StartStreamEncryptionInput$: StaticStructureSchema;
|
|
|
87
116
|
export declare var StopStreamEncryptionInput$: StaticStructureSchema;
|
|
88
117
|
export declare var StreamDescription$: StaticStructureSchema;
|
|
89
118
|
export declare var StreamDescriptionSummary$: StaticStructureSchema;
|
|
119
|
+
export declare var StreamFilter$: StaticStructureSchema;
|
|
90
120
|
export declare var StreamModeDetails$: StaticStructureSchema;
|
|
91
121
|
export declare var StreamSummary$: StaticStructureSchema;
|
|
92
122
|
export declare var SubscribeToShardEvent$: StaticStructureSchema;
|
|
@@ -97,6 +127,8 @@ export declare var TagResourceInput$: StaticStructureSchema;
|
|
|
97
127
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
98
128
|
export declare var UpdateAccountSettingsInput$: StaticStructureSchema;
|
|
99
129
|
export declare var UpdateAccountSettingsOutput$: StaticStructureSchema;
|
|
130
|
+
export declare var UpdateChannelInput$: StaticStructureSchema;
|
|
131
|
+
export declare var UpdateChannelOutput$: StaticStructureSchema;
|
|
100
132
|
export declare var UpdateMaxRecordSizeInput$: StaticStructureSchema;
|
|
101
133
|
export declare var UpdateShardCountInput$: StaticStructureSchema;
|
|
102
134
|
export declare var UpdateShardCountOutput$: StaticStructureSchema;
|
|
@@ -106,12 +138,15 @@ export declare var UpdateStreamWarmThroughputOutput$: StaticStructureSchema;
|
|
|
106
138
|
export declare var WarmThroughputObject$: StaticStructureSchema;
|
|
107
139
|
export declare var SubscribeToShardEventStream$: StaticUnionSchema;
|
|
108
140
|
export declare var AddTagsToStream$: StaticOperationSchema;
|
|
141
|
+
export declare var CreateChannel$: StaticOperationSchema;
|
|
109
142
|
export declare var CreateStream$: StaticOperationSchema;
|
|
110
143
|
export declare var DecreaseStreamRetentionPeriod$: StaticOperationSchema;
|
|
144
|
+
export declare var DeleteChannel$: StaticOperationSchema;
|
|
111
145
|
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
112
146
|
export declare var DeleteStream$: StaticOperationSchema;
|
|
113
147
|
export declare var DeregisterStreamConsumer$: StaticOperationSchema;
|
|
114
148
|
export declare var DescribeAccountSettings$: StaticOperationSchema;
|
|
149
|
+
export declare var DescribeChannel$: StaticOperationSchema;
|
|
115
150
|
export declare var DescribeLimits$: StaticOperationSchema;
|
|
116
151
|
export declare var DescribeStream$: StaticOperationSchema;
|
|
117
152
|
export declare var DescribeStreamConsumer$: StaticOperationSchema;
|
|
@@ -122,6 +157,7 @@ export declare var GetRecords$: StaticOperationSchema;
|
|
|
122
157
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
123
158
|
export declare var GetShardIterator$: StaticOperationSchema;
|
|
124
159
|
export declare var IncreaseStreamRetentionPeriod$: StaticOperationSchema;
|
|
160
|
+
export declare var ListChannels$: StaticOperationSchema;
|
|
125
161
|
export declare var ListShards$: StaticOperationSchema;
|
|
126
162
|
export declare var ListStreamConsumers$: StaticOperationSchema;
|
|
127
163
|
export declare var ListStreams$: StaticOperationSchema;
|
|
@@ -140,6 +176,7 @@ export declare var SubscribeToShard$: StaticOperationSchema;
|
|
|
140
176
|
export declare var TagResource$: StaticOperationSchema;
|
|
141
177
|
export declare var UntagResource$: StaticOperationSchema;
|
|
142
178
|
export declare var UpdateAccountSettings$: StaticOperationSchema;
|
|
179
|
+
export declare var UpdateChannel$: StaticOperationSchema;
|
|
143
180
|
export declare var UpdateMaxRecordSize$: StaticOperationSchema;
|
|
144
181
|
export declare var UpdateShardCount$: StaticOperationSchema;
|
|
145
182
|
export declare var UpdateStreamMode$: StaticOperationSchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
DescribeChannelCommandInput,
|
|
4
|
+
DescribeChannelCommandOutput,
|
|
5
|
+
} from "../commands/DescribeChannelCommand";
|
|
6
|
+
import { KinesisClient } from "../KinesisClient";
|
|
7
|
+
import { KinesisServiceException } from "../models/KinesisServiceException";
|
|
8
|
+
export declare const waitForChannelActive: (
|
|
9
|
+
params: WaiterConfiguration<KinesisClient>,
|
|
10
|
+
input: DescribeChannelCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<DescribeChannelCommandOutput | KinesisServiceException>>;
|
|
12
|
+
export declare const waitUntilChannelActive: (
|
|
13
|
+
params: WaiterConfiguration<KinesisClient>,
|
|
14
|
+
input: DescribeChannelCommandInput,
|
|
15
|
+
) => Promise<WaiterResult<DescribeChannelCommandOutput>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type DescribeChannelCommandInput, type DescribeChannelCommandOutput } from "../commands/DescribeChannelCommand";
|
|
3
|
+
import type { KinesisClient } from "../KinesisClient";
|
|
4
|
+
import type { KinesisServiceException } from "../models/KinesisServiceException";
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @deprecated Use waitUntilChannelActive instead. waitForChannelActive does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForChannelActive: (params: WaiterConfiguration<KinesisClient>, input: DescribeChannelCommandInput) => Promise<WaiterResult<DescribeChannelCommandOutput | KinesisServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to DescribeChannelCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilChannelActive: (params: WaiterConfiguration<KinesisClient>, input: DescribeChannelCommandInput) => Promise<WaiterResult<DescribeChannelCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1122.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis",
|
|
6
6
|
"license": "Apache-2.0",
|