@aws-sdk/client-kinesis 3.1137.0 → 3.1139.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 +7 -0
- package/dist-cjs/index.js +36 -13
- package/dist-es/Kinesis.js +2 -0
- package/dist-es/commands/UpdateStreamRecordDistributionStrategyCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +23 -12
- package/dist-types/Kinesis.d.ts +102 -89
- package/dist-types/KinesisClient.d.ts +3 -2
- package/dist-types/commands/CreateStreamCommand.d.ts +1 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -0
- package/dist-types/commands/GetRecordsCommand.d.ts +1 -1
- package/dist-types/commands/PutRecordCommand.d.ts +1 -1
- package/dist-types/commands/PutRecordsCommand.d.ts +1 -1
- package/dist-types/commands/SubscribeToShardCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStreamRecordDistributionStrategyCommand.d.ts +127 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +107 -20
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/Kinesis.d.ts +109 -88
- package/dist-types/ts3.4/KinesisClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateStreamRecordDistributionStrategyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +8 -8
package/dist-types/Kinesis.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
3
|
import { type AddTagsToStreamCommandInput, type AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
4
4
|
import { type CreateChannelCommandInput, type CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
5
5
|
import { type CreateStreamCommandInput, type CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
@@ -43,285 +43,298 @@ import { type UpdateChannelCommandInput, type UpdateChannelCommandOutput } from
|
|
|
43
43
|
import { type UpdateMaxRecordSizeCommandInput, type UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
44
44
|
import { type UpdateShardCountCommandInput, type UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
45
45
|
import { type UpdateStreamModeCommandInput, type UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
46
|
+
import { type UpdateStreamRecordDistributionStrategyCommandInput, type UpdateStreamRecordDistributionStrategyCommandOutput } from "./commands/UpdateStreamRecordDistributionStrategyCommand";
|
|
46
47
|
import { type UpdateStreamWarmThroughputCommandInput, type UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
47
48
|
import { KinesisClient } from "./KinesisClient";
|
|
48
49
|
import type { ResourceNotFoundException } from "./models/errors";
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export interface KinesisRequestOptions extends __HttpHandlerOptions {
|
|
54
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
55
|
+
}
|
|
49
56
|
export interface Kinesis {
|
|
50
57
|
/**
|
|
51
58
|
* @see {@link AddTagsToStreamCommand}
|
|
52
59
|
*/
|
|
53
|
-
addTagsToStream(args: AddTagsToStreamCommandInput, options?:
|
|
60
|
+
addTagsToStream(args: AddTagsToStreamCommandInput, options?: KinesisRequestOptions): Promise<AddTagsToStreamCommandOutput>;
|
|
54
61
|
addTagsToStream(args: AddTagsToStreamCommandInput, cb: (err: any, data?: AddTagsToStreamCommandOutput) => void): void;
|
|
55
|
-
addTagsToStream(args: AddTagsToStreamCommandInput, options:
|
|
62
|
+
addTagsToStream(args: AddTagsToStreamCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: AddTagsToStreamCommandOutput) => void): void;
|
|
56
63
|
/**
|
|
57
64
|
* @see {@link CreateChannelCommand}
|
|
58
65
|
*/
|
|
59
|
-
createChannel(args: CreateChannelCommandInput, options?:
|
|
66
|
+
createChannel(args: CreateChannelCommandInput, options?: KinesisRequestOptions): Promise<CreateChannelCommandOutput>;
|
|
60
67
|
createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
61
|
-
createChannel(args: CreateChannelCommandInput, options:
|
|
68
|
+
createChannel(args: CreateChannelCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
62
69
|
/**
|
|
63
70
|
* @see {@link CreateStreamCommand}
|
|
64
71
|
*/
|
|
65
|
-
createStream(args: CreateStreamCommandInput, options?:
|
|
72
|
+
createStream(args: CreateStreamCommandInput, options?: KinesisRequestOptions): Promise<CreateStreamCommandOutput>;
|
|
66
73
|
createStream(args: CreateStreamCommandInput, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
|
|
67
|
-
createStream(args: CreateStreamCommandInput, options:
|
|
74
|
+
createStream(args: CreateStreamCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
|
|
68
75
|
/**
|
|
69
76
|
* @see {@link DecreaseStreamRetentionPeriodCommand}
|
|
70
77
|
*/
|
|
71
|
-
decreaseStreamRetentionPeriod(args: DecreaseStreamRetentionPeriodCommandInput, options?:
|
|
78
|
+
decreaseStreamRetentionPeriod(args: DecreaseStreamRetentionPeriodCommandInput, options?: KinesisRequestOptions): Promise<DecreaseStreamRetentionPeriodCommandOutput>;
|
|
72
79
|
decreaseStreamRetentionPeriod(args: DecreaseStreamRetentionPeriodCommandInput, cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void): void;
|
|
73
|
-
decreaseStreamRetentionPeriod(args: DecreaseStreamRetentionPeriodCommandInput, options:
|
|
80
|
+
decreaseStreamRetentionPeriod(args: DecreaseStreamRetentionPeriodCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void): void;
|
|
74
81
|
/**
|
|
75
82
|
* @see {@link DeleteChannelCommand}
|
|
76
83
|
*/
|
|
77
|
-
deleteChannel(args: DeleteChannelCommandInput, options?:
|
|
84
|
+
deleteChannel(args: DeleteChannelCommandInput, options?: KinesisRequestOptions): Promise<DeleteChannelCommandOutput>;
|
|
78
85
|
deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
79
|
-
deleteChannel(args: DeleteChannelCommandInput, options:
|
|
86
|
+
deleteChannel(args: DeleteChannelCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
80
87
|
/**
|
|
81
88
|
* @see {@link DeleteResourcePolicyCommand}
|
|
82
89
|
*/
|
|
83
|
-
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?:
|
|
90
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: KinesisRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
84
91
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
85
|
-
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options:
|
|
92
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
86
93
|
/**
|
|
87
94
|
* @see {@link DeleteStreamCommand}
|
|
88
95
|
*/
|
|
89
96
|
deleteStream(): Promise<DeleteStreamCommandOutput>;
|
|
90
|
-
deleteStream(args: DeleteStreamCommandInput, options?:
|
|
97
|
+
deleteStream(args: DeleteStreamCommandInput, options?: KinesisRequestOptions): Promise<DeleteStreamCommandOutput>;
|
|
91
98
|
deleteStream(args: DeleteStreamCommandInput, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
|
|
92
|
-
deleteStream(args: DeleteStreamCommandInput, options:
|
|
99
|
+
deleteStream(args: DeleteStreamCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
|
|
93
100
|
/**
|
|
94
101
|
* @see {@link DeregisterStreamConsumerCommand}
|
|
95
102
|
*/
|
|
96
103
|
deregisterStreamConsumer(): Promise<DeregisterStreamConsumerCommandOutput>;
|
|
97
|
-
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, options?:
|
|
104
|
+
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, options?: KinesisRequestOptions): Promise<DeregisterStreamConsumerCommandOutput>;
|
|
98
105
|
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void): void;
|
|
99
|
-
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, options:
|
|
106
|
+
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void): void;
|
|
100
107
|
/**
|
|
101
108
|
* @see {@link DescribeAccountSettingsCommand}
|
|
102
109
|
*/
|
|
103
110
|
describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
|
|
104
|
-
describeAccountSettings(args: DescribeAccountSettingsCommandInput, options?:
|
|
111
|
+
describeAccountSettings(args: DescribeAccountSettingsCommandInput, options?: KinesisRequestOptions): Promise<DescribeAccountSettingsCommandOutput>;
|
|
105
112
|
describeAccountSettings(args: DescribeAccountSettingsCommandInput, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
|
|
106
|
-
describeAccountSettings(args: DescribeAccountSettingsCommandInput, options:
|
|
113
|
+
describeAccountSettings(args: DescribeAccountSettingsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
|
|
107
114
|
/**
|
|
108
115
|
* @see {@link DescribeChannelCommand}
|
|
109
116
|
*/
|
|
110
|
-
describeChannel(args: DescribeChannelCommandInput, options?:
|
|
117
|
+
describeChannel(args: DescribeChannelCommandInput, options?: KinesisRequestOptions): Promise<DescribeChannelCommandOutput>;
|
|
111
118
|
describeChannel(args: DescribeChannelCommandInput, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
112
|
-
describeChannel(args: DescribeChannelCommandInput, options:
|
|
119
|
+
describeChannel(args: DescribeChannelCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
113
120
|
/**
|
|
114
121
|
* @see {@link DescribeLimitsCommand}
|
|
115
122
|
*/
|
|
116
123
|
describeLimits(): Promise<DescribeLimitsCommandOutput>;
|
|
117
|
-
describeLimits(args: DescribeLimitsCommandInput, options?:
|
|
124
|
+
describeLimits(args: DescribeLimitsCommandInput, options?: KinesisRequestOptions): Promise<DescribeLimitsCommandOutput>;
|
|
118
125
|
describeLimits(args: DescribeLimitsCommandInput, cb: (err: any, data?: DescribeLimitsCommandOutput) => void): void;
|
|
119
|
-
describeLimits(args: DescribeLimitsCommandInput, options:
|
|
126
|
+
describeLimits(args: DescribeLimitsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DescribeLimitsCommandOutput) => void): void;
|
|
120
127
|
/**
|
|
121
128
|
* @see {@link DescribeStreamCommand}
|
|
122
129
|
*/
|
|
123
130
|
describeStream(): Promise<DescribeStreamCommandOutput>;
|
|
124
|
-
describeStream(args: DescribeStreamCommandInput, options?:
|
|
131
|
+
describeStream(args: DescribeStreamCommandInput, options?: KinesisRequestOptions): Promise<DescribeStreamCommandOutput>;
|
|
125
132
|
describeStream(args: DescribeStreamCommandInput, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
126
|
-
describeStream(args: DescribeStreamCommandInput, options:
|
|
133
|
+
describeStream(args: DescribeStreamCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
127
134
|
/**
|
|
128
135
|
* @see {@link DescribeStreamConsumerCommand}
|
|
129
136
|
*/
|
|
130
137
|
describeStreamConsumer(): Promise<DescribeStreamConsumerCommandOutput>;
|
|
131
|
-
describeStreamConsumer(args: DescribeStreamConsumerCommandInput, options?:
|
|
138
|
+
describeStreamConsumer(args: DescribeStreamConsumerCommandInput, options?: KinesisRequestOptions): Promise<DescribeStreamConsumerCommandOutput>;
|
|
132
139
|
describeStreamConsumer(args: DescribeStreamConsumerCommandInput, cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void): void;
|
|
133
|
-
describeStreamConsumer(args: DescribeStreamConsumerCommandInput, options:
|
|
140
|
+
describeStreamConsumer(args: DescribeStreamConsumerCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void): void;
|
|
134
141
|
/**
|
|
135
142
|
* @see {@link DescribeStreamSummaryCommand}
|
|
136
143
|
*/
|
|
137
144
|
describeStreamSummary(): Promise<DescribeStreamSummaryCommandOutput>;
|
|
138
|
-
describeStreamSummary(args: DescribeStreamSummaryCommandInput, options?:
|
|
145
|
+
describeStreamSummary(args: DescribeStreamSummaryCommandInput, options?: KinesisRequestOptions): Promise<DescribeStreamSummaryCommandOutput>;
|
|
139
146
|
describeStreamSummary(args: DescribeStreamSummaryCommandInput, cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void): void;
|
|
140
|
-
describeStreamSummary(args: DescribeStreamSummaryCommandInput, options:
|
|
147
|
+
describeStreamSummary(args: DescribeStreamSummaryCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void): void;
|
|
141
148
|
/**
|
|
142
149
|
* @see {@link DisableEnhancedMonitoringCommand}
|
|
143
150
|
*/
|
|
144
|
-
disableEnhancedMonitoring(args: DisableEnhancedMonitoringCommandInput, options?:
|
|
151
|
+
disableEnhancedMonitoring(args: DisableEnhancedMonitoringCommandInput, options?: KinesisRequestOptions): Promise<DisableEnhancedMonitoringCommandOutput>;
|
|
145
152
|
disableEnhancedMonitoring(args: DisableEnhancedMonitoringCommandInput, cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void): void;
|
|
146
|
-
disableEnhancedMonitoring(args: DisableEnhancedMonitoringCommandInput, options:
|
|
153
|
+
disableEnhancedMonitoring(args: DisableEnhancedMonitoringCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void): void;
|
|
147
154
|
/**
|
|
148
155
|
* @see {@link EnableEnhancedMonitoringCommand}
|
|
149
156
|
*/
|
|
150
|
-
enableEnhancedMonitoring(args: EnableEnhancedMonitoringCommandInput, options?:
|
|
157
|
+
enableEnhancedMonitoring(args: EnableEnhancedMonitoringCommandInput, options?: KinesisRequestOptions): Promise<EnableEnhancedMonitoringCommandOutput>;
|
|
151
158
|
enableEnhancedMonitoring(args: EnableEnhancedMonitoringCommandInput, cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void): void;
|
|
152
|
-
enableEnhancedMonitoring(args: EnableEnhancedMonitoringCommandInput, options:
|
|
159
|
+
enableEnhancedMonitoring(args: EnableEnhancedMonitoringCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void): void;
|
|
153
160
|
/**
|
|
154
161
|
* @see {@link GetRecordsCommand}
|
|
155
162
|
*/
|
|
156
|
-
getRecords(args: GetRecordsCommandInput, options?:
|
|
163
|
+
getRecords(args: GetRecordsCommandInput, options?: KinesisRequestOptions): Promise<GetRecordsCommandOutput>;
|
|
157
164
|
getRecords(args: GetRecordsCommandInput, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
|
|
158
|
-
getRecords(args: GetRecordsCommandInput, options:
|
|
165
|
+
getRecords(args: GetRecordsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
|
|
159
166
|
/**
|
|
160
167
|
* @see {@link GetResourcePolicyCommand}
|
|
161
168
|
*/
|
|
162
|
-
getResourcePolicy(args: GetResourcePolicyCommandInput, options?:
|
|
169
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: KinesisRequestOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
163
170
|
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
164
|
-
getResourcePolicy(args: GetResourcePolicyCommandInput, options:
|
|
171
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
165
172
|
/**
|
|
166
173
|
* @see {@link GetShardIteratorCommand}
|
|
167
174
|
*/
|
|
168
|
-
getShardIterator(args: GetShardIteratorCommandInput, options?:
|
|
175
|
+
getShardIterator(args: GetShardIteratorCommandInput, options?: KinesisRequestOptions): Promise<GetShardIteratorCommandOutput>;
|
|
169
176
|
getShardIterator(args: GetShardIteratorCommandInput, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
|
|
170
|
-
getShardIterator(args: GetShardIteratorCommandInput, options:
|
|
177
|
+
getShardIterator(args: GetShardIteratorCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
|
|
171
178
|
/**
|
|
172
179
|
* @see {@link IncreaseStreamRetentionPeriodCommand}
|
|
173
180
|
*/
|
|
174
|
-
increaseStreamRetentionPeriod(args: IncreaseStreamRetentionPeriodCommandInput, options?:
|
|
181
|
+
increaseStreamRetentionPeriod(args: IncreaseStreamRetentionPeriodCommandInput, options?: KinesisRequestOptions): Promise<IncreaseStreamRetentionPeriodCommandOutput>;
|
|
175
182
|
increaseStreamRetentionPeriod(args: IncreaseStreamRetentionPeriodCommandInput, cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void): void;
|
|
176
|
-
increaseStreamRetentionPeriod(args: IncreaseStreamRetentionPeriodCommandInput, options:
|
|
183
|
+
increaseStreamRetentionPeriod(args: IncreaseStreamRetentionPeriodCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void): void;
|
|
177
184
|
/**
|
|
178
185
|
* @see {@link ListChannelsCommand}
|
|
179
186
|
*/
|
|
180
187
|
listChannels(): Promise<ListChannelsCommandOutput>;
|
|
181
|
-
listChannels(args: ListChannelsCommandInput, options?:
|
|
188
|
+
listChannels(args: ListChannelsCommandInput, options?: KinesisRequestOptions): Promise<ListChannelsCommandOutput>;
|
|
182
189
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
183
|
-
listChannels(args: ListChannelsCommandInput, options:
|
|
190
|
+
listChannels(args: ListChannelsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
184
191
|
/**
|
|
185
192
|
* @see {@link ListShardsCommand}
|
|
186
193
|
*/
|
|
187
194
|
listShards(): Promise<ListShardsCommandOutput>;
|
|
188
|
-
listShards(args: ListShardsCommandInput, options?:
|
|
195
|
+
listShards(args: ListShardsCommandInput, options?: KinesisRequestOptions): Promise<ListShardsCommandOutput>;
|
|
189
196
|
listShards(args: ListShardsCommandInput, cb: (err: any, data?: ListShardsCommandOutput) => void): void;
|
|
190
|
-
listShards(args: ListShardsCommandInput, options:
|
|
197
|
+
listShards(args: ListShardsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: ListShardsCommandOutput) => void): void;
|
|
191
198
|
/**
|
|
192
199
|
* @see {@link ListStreamConsumersCommand}
|
|
193
200
|
*/
|
|
194
|
-
listStreamConsumers(args: ListStreamConsumersCommandInput, options?:
|
|
201
|
+
listStreamConsumers(args: ListStreamConsumersCommandInput, options?: KinesisRequestOptions): Promise<ListStreamConsumersCommandOutput>;
|
|
195
202
|
listStreamConsumers(args: ListStreamConsumersCommandInput, cb: (err: any, data?: ListStreamConsumersCommandOutput) => void): void;
|
|
196
|
-
listStreamConsumers(args: ListStreamConsumersCommandInput, options:
|
|
203
|
+
listStreamConsumers(args: ListStreamConsumersCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: ListStreamConsumersCommandOutput) => void): void;
|
|
197
204
|
/**
|
|
198
205
|
* @see {@link ListStreamsCommand}
|
|
199
206
|
*/
|
|
200
207
|
listStreams(): Promise<ListStreamsCommandOutput>;
|
|
201
|
-
listStreams(args: ListStreamsCommandInput, options?:
|
|
208
|
+
listStreams(args: ListStreamsCommandInput, options?: KinesisRequestOptions): Promise<ListStreamsCommandOutput>;
|
|
202
209
|
listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
203
|
-
listStreams(args: ListStreamsCommandInput, options:
|
|
210
|
+
listStreams(args: ListStreamsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
204
211
|
/**
|
|
205
212
|
* @see {@link ListTagsForResourceCommand}
|
|
206
213
|
*/
|
|
207
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?:
|
|
214
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: KinesisRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
208
215
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
209
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options:
|
|
216
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
210
217
|
/**
|
|
211
218
|
* @see {@link ListTagsForStreamCommand}
|
|
212
219
|
*/
|
|
213
220
|
listTagsForStream(): Promise<ListTagsForStreamCommandOutput>;
|
|
214
|
-
listTagsForStream(args: ListTagsForStreamCommandInput, options?:
|
|
221
|
+
listTagsForStream(args: ListTagsForStreamCommandInput, options?: KinesisRequestOptions): Promise<ListTagsForStreamCommandOutput>;
|
|
215
222
|
listTagsForStream(args: ListTagsForStreamCommandInput, cb: (err: any, data?: ListTagsForStreamCommandOutput) => void): void;
|
|
216
|
-
listTagsForStream(args: ListTagsForStreamCommandInput, options:
|
|
223
|
+
listTagsForStream(args: ListTagsForStreamCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: ListTagsForStreamCommandOutput) => void): void;
|
|
217
224
|
/**
|
|
218
225
|
* @see {@link MergeShardsCommand}
|
|
219
226
|
*/
|
|
220
|
-
mergeShards(args: MergeShardsCommandInput, options?:
|
|
227
|
+
mergeShards(args: MergeShardsCommandInput, options?: KinesisRequestOptions): Promise<MergeShardsCommandOutput>;
|
|
221
228
|
mergeShards(args: MergeShardsCommandInput, cb: (err: any, data?: MergeShardsCommandOutput) => void): void;
|
|
222
|
-
mergeShards(args: MergeShardsCommandInput, options:
|
|
229
|
+
mergeShards(args: MergeShardsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: MergeShardsCommandOutput) => void): void;
|
|
223
230
|
/**
|
|
224
231
|
* @see {@link PutRecordCommand}
|
|
225
232
|
*/
|
|
226
|
-
putRecord(args: PutRecordCommandInput, options?:
|
|
233
|
+
putRecord(args: PutRecordCommandInput, options?: KinesisRequestOptions): Promise<PutRecordCommandOutput>;
|
|
227
234
|
putRecord(args: PutRecordCommandInput, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
|
|
228
|
-
putRecord(args: PutRecordCommandInput, options:
|
|
235
|
+
putRecord(args: PutRecordCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: PutRecordCommandOutput) => void): void;
|
|
229
236
|
/**
|
|
230
237
|
* @see {@link PutRecordsCommand}
|
|
231
238
|
*/
|
|
232
|
-
putRecords(args: PutRecordsCommandInput, options?:
|
|
239
|
+
putRecords(args: PutRecordsCommandInput, options?: KinesisRequestOptions): Promise<PutRecordsCommandOutput>;
|
|
233
240
|
putRecords(args: PutRecordsCommandInput, cb: (err: any, data?: PutRecordsCommandOutput) => void): void;
|
|
234
|
-
putRecords(args: PutRecordsCommandInput, options:
|
|
241
|
+
putRecords(args: PutRecordsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: PutRecordsCommandOutput) => void): void;
|
|
235
242
|
/**
|
|
236
243
|
* @see {@link PutResourcePolicyCommand}
|
|
237
244
|
*/
|
|
238
|
-
putResourcePolicy(args: PutResourcePolicyCommandInput, options?:
|
|
245
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: KinesisRequestOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
239
246
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
240
|
-
putResourcePolicy(args: PutResourcePolicyCommandInput, options:
|
|
247
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
241
248
|
/**
|
|
242
249
|
* @see {@link RegisterStreamConsumerCommand}
|
|
243
250
|
*/
|
|
244
|
-
registerStreamConsumer(args: RegisterStreamConsumerCommandInput, options?:
|
|
251
|
+
registerStreamConsumer(args: RegisterStreamConsumerCommandInput, options?: KinesisRequestOptions): Promise<RegisterStreamConsumerCommandOutput>;
|
|
245
252
|
registerStreamConsumer(args: RegisterStreamConsumerCommandInput, cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void): void;
|
|
246
|
-
registerStreamConsumer(args: RegisterStreamConsumerCommandInput, options:
|
|
253
|
+
registerStreamConsumer(args: RegisterStreamConsumerCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void): void;
|
|
247
254
|
/**
|
|
248
255
|
* @see {@link RemoveTagsFromStreamCommand}
|
|
249
256
|
*/
|
|
250
|
-
removeTagsFromStream(args: RemoveTagsFromStreamCommandInput, options?:
|
|
257
|
+
removeTagsFromStream(args: RemoveTagsFromStreamCommandInput, options?: KinesisRequestOptions): Promise<RemoveTagsFromStreamCommandOutput>;
|
|
251
258
|
removeTagsFromStream(args: RemoveTagsFromStreamCommandInput, cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void): void;
|
|
252
|
-
removeTagsFromStream(args: RemoveTagsFromStreamCommandInput, options:
|
|
259
|
+
removeTagsFromStream(args: RemoveTagsFromStreamCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void): void;
|
|
253
260
|
/**
|
|
254
261
|
* @see {@link SplitShardCommand}
|
|
255
262
|
*/
|
|
256
|
-
splitShard(args: SplitShardCommandInput, options?:
|
|
263
|
+
splitShard(args: SplitShardCommandInput, options?: KinesisRequestOptions): Promise<SplitShardCommandOutput>;
|
|
257
264
|
splitShard(args: SplitShardCommandInput, cb: (err: any, data?: SplitShardCommandOutput) => void): void;
|
|
258
|
-
splitShard(args: SplitShardCommandInput, options:
|
|
265
|
+
splitShard(args: SplitShardCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: SplitShardCommandOutput) => void): void;
|
|
259
266
|
/**
|
|
260
267
|
* @see {@link StartStreamEncryptionCommand}
|
|
261
268
|
*/
|
|
262
|
-
startStreamEncryption(args: StartStreamEncryptionCommandInput, options?:
|
|
269
|
+
startStreamEncryption(args: StartStreamEncryptionCommandInput, options?: KinesisRequestOptions): Promise<StartStreamEncryptionCommandOutput>;
|
|
263
270
|
startStreamEncryption(args: StartStreamEncryptionCommandInput, cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void): void;
|
|
264
|
-
startStreamEncryption(args: StartStreamEncryptionCommandInput, options:
|
|
271
|
+
startStreamEncryption(args: StartStreamEncryptionCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void): void;
|
|
265
272
|
/**
|
|
266
273
|
* @see {@link StopStreamEncryptionCommand}
|
|
267
274
|
*/
|
|
268
|
-
stopStreamEncryption(args: StopStreamEncryptionCommandInput, options?:
|
|
275
|
+
stopStreamEncryption(args: StopStreamEncryptionCommandInput, options?: KinesisRequestOptions): Promise<StopStreamEncryptionCommandOutput>;
|
|
269
276
|
stopStreamEncryption(args: StopStreamEncryptionCommandInput, cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void): void;
|
|
270
|
-
stopStreamEncryption(args: StopStreamEncryptionCommandInput, options:
|
|
277
|
+
stopStreamEncryption(args: StopStreamEncryptionCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void): void;
|
|
271
278
|
/**
|
|
272
279
|
* @see {@link SubscribeToShardCommand}
|
|
273
280
|
*/
|
|
274
|
-
subscribeToShard(args: SubscribeToShardCommandInput, options?:
|
|
281
|
+
subscribeToShard(args: SubscribeToShardCommandInput, options?: KinesisRequestOptions): Promise<SubscribeToShardCommandOutput>;
|
|
275
282
|
subscribeToShard(args: SubscribeToShardCommandInput, cb: (err: any, data?: SubscribeToShardCommandOutput) => void): void;
|
|
276
|
-
subscribeToShard(args: SubscribeToShardCommandInput, options:
|
|
283
|
+
subscribeToShard(args: SubscribeToShardCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: SubscribeToShardCommandOutput) => void): void;
|
|
277
284
|
/**
|
|
278
285
|
* @see {@link TagResourceCommand}
|
|
279
286
|
*/
|
|
280
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
287
|
+
tagResource(args: TagResourceCommandInput, options?: KinesisRequestOptions): Promise<TagResourceCommandOutput>;
|
|
281
288
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
282
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
289
|
+
tagResource(args: TagResourceCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
283
290
|
/**
|
|
284
291
|
* @see {@link UntagResourceCommand}
|
|
285
292
|
*/
|
|
286
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
293
|
+
untagResource(args: UntagResourceCommandInput, options?: KinesisRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
287
294
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
288
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
295
|
+
untagResource(args: UntagResourceCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
289
296
|
/**
|
|
290
297
|
* @see {@link UpdateAccountSettingsCommand}
|
|
291
298
|
*/
|
|
292
|
-
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?:
|
|
299
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: KinesisRequestOptions): Promise<UpdateAccountSettingsCommandOutput>;
|
|
293
300
|
updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
294
|
-
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options:
|
|
301
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
295
302
|
/**
|
|
296
303
|
* @see {@link UpdateChannelCommand}
|
|
297
304
|
*/
|
|
298
|
-
updateChannel(args: UpdateChannelCommandInput, options?:
|
|
305
|
+
updateChannel(args: UpdateChannelCommandInput, options?: KinesisRequestOptions): Promise<UpdateChannelCommandOutput>;
|
|
299
306
|
updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
300
|
-
updateChannel(args: UpdateChannelCommandInput, options:
|
|
307
|
+
updateChannel(args: UpdateChannelCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
301
308
|
/**
|
|
302
309
|
* @see {@link UpdateMaxRecordSizeCommand}
|
|
303
310
|
*/
|
|
304
|
-
updateMaxRecordSize(args: UpdateMaxRecordSizeCommandInput, options?:
|
|
311
|
+
updateMaxRecordSize(args: UpdateMaxRecordSizeCommandInput, options?: KinesisRequestOptions): Promise<UpdateMaxRecordSizeCommandOutput>;
|
|
305
312
|
updateMaxRecordSize(args: UpdateMaxRecordSizeCommandInput, cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void): void;
|
|
306
|
-
updateMaxRecordSize(args: UpdateMaxRecordSizeCommandInput, options:
|
|
313
|
+
updateMaxRecordSize(args: UpdateMaxRecordSizeCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void): void;
|
|
307
314
|
/**
|
|
308
315
|
* @see {@link UpdateShardCountCommand}
|
|
309
316
|
*/
|
|
310
|
-
updateShardCount(args: UpdateShardCountCommandInput, options?:
|
|
317
|
+
updateShardCount(args: UpdateShardCountCommandInput, options?: KinesisRequestOptions): Promise<UpdateShardCountCommandOutput>;
|
|
311
318
|
updateShardCount(args: UpdateShardCountCommandInput, cb: (err: any, data?: UpdateShardCountCommandOutput) => void): void;
|
|
312
|
-
updateShardCount(args: UpdateShardCountCommandInput, options:
|
|
319
|
+
updateShardCount(args: UpdateShardCountCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateShardCountCommandOutput) => void): void;
|
|
313
320
|
/**
|
|
314
321
|
* @see {@link UpdateStreamModeCommand}
|
|
315
322
|
*/
|
|
316
|
-
updateStreamMode(args: UpdateStreamModeCommandInput, options?:
|
|
323
|
+
updateStreamMode(args: UpdateStreamModeCommandInput, options?: KinesisRequestOptions): Promise<UpdateStreamModeCommandOutput>;
|
|
317
324
|
updateStreamMode(args: UpdateStreamModeCommandInput, cb: (err: any, data?: UpdateStreamModeCommandOutput) => void): void;
|
|
318
|
-
updateStreamMode(args: UpdateStreamModeCommandInput, options:
|
|
325
|
+
updateStreamMode(args: UpdateStreamModeCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateStreamModeCommandOutput) => void): void;
|
|
326
|
+
/**
|
|
327
|
+
* @see {@link UpdateStreamRecordDistributionStrategyCommand}
|
|
328
|
+
*/
|
|
329
|
+
updateStreamRecordDistributionStrategy(args: UpdateStreamRecordDistributionStrategyCommandInput, options?: KinesisRequestOptions): Promise<UpdateStreamRecordDistributionStrategyCommandOutput>;
|
|
330
|
+
updateStreamRecordDistributionStrategy(args: UpdateStreamRecordDistributionStrategyCommandInput, cb: (err: any, data?: UpdateStreamRecordDistributionStrategyCommandOutput) => void): void;
|
|
331
|
+
updateStreamRecordDistributionStrategy(args: UpdateStreamRecordDistributionStrategyCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateStreamRecordDistributionStrategyCommandOutput) => void): void;
|
|
319
332
|
/**
|
|
320
333
|
* @see {@link UpdateStreamWarmThroughputCommand}
|
|
321
334
|
*/
|
|
322
|
-
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, options?:
|
|
335
|
+
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, options?: KinesisRequestOptions): Promise<UpdateStreamWarmThroughputCommandOutput>;
|
|
323
336
|
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void): void;
|
|
324
|
-
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, options:
|
|
337
|
+
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, options: KinesisRequestOptions, cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void): void;
|
|
325
338
|
/**
|
|
326
339
|
* @see {@link ListChannelsCommand}
|
|
327
340
|
* @param args - command input.
|
|
@@ -51,6 +51,7 @@ import type { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./co
|
|
|
51
51
|
import type { UpdateMaxRecordSizeCommandInput, UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
52
52
|
import type { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
53
53
|
import type { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
54
|
+
import type { UpdateStreamRecordDistributionStrategyCommandInput, UpdateStreamRecordDistributionStrategyCommandOutput } from "./commands/UpdateStreamRecordDistributionStrategyCommand";
|
|
54
55
|
import type { UpdateStreamWarmThroughputCommandInput, UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
55
56
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
56
57
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -58,11 +59,11 @@ export { __Client };
|
|
|
58
59
|
/**
|
|
59
60
|
* @public
|
|
60
61
|
*/
|
|
61
|
-
export type ServiceInputTypes = AddTagsToStreamCommandInput | CreateChannelCommandInput | CreateStreamCommandInput | DecreaseStreamRetentionPeriodCommandInput | DeleteChannelCommandInput | DeleteResourcePolicyCommandInput | DeleteStreamCommandInput | DeregisterStreamConsumerCommandInput | DescribeAccountSettingsCommandInput | DescribeChannelCommandInput | DescribeLimitsCommandInput | DescribeStreamCommandInput | DescribeStreamConsumerCommandInput | DescribeStreamSummaryCommandInput | DisableEnhancedMonitoringCommandInput | EnableEnhancedMonitoringCommandInput | GetRecordsCommandInput | GetResourcePolicyCommandInput | GetShardIteratorCommandInput | IncreaseStreamRetentionPeriodCommandInput | ListChannelsCommandInput | ListShardsCommandInput | ListStreamConsumersCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTagsForStreamCommandInput | MergeShardsCommandInput | PutRecordCommandInput | PutRecordsCommandInput | PutResourcePolicyCommandInput | RegisterStreamConsumerCommandInput | RemoveTagsFromStreamCommandInput | SplitShardCommandInput | StartStreamEncryptionCommandInput | StopStreamEncryptionCommandInput | SubscribeToShardCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateChannelCommandInput | UpdateMaxRecordSizeCommandInput | UpdateShardCountCommandInput | UpdateStreamModeCommandInput | UpdateStreamWarmThroughputCommandInput;
|
|
62
|
+
export type ServiceInputTypes = AddTagsToStreamCommandInput | CreateChannelCommandInput | CreateStreamCommandInput | DecreaseStreamRetentionPeriodCommandInput | DeleteChannelCommandInput | DeleteResourcePolicyCommandInput | DeleteStreamCommandInput | DeregisterStreamConsumerCommandInput | DescribeAccountSettingsCommandInput | DescribeChannelCommandInput | DescribeLimitsCommandInput | DescribeStreamCommandInput | DescribeStreamConsumerCommandInput | DescribeStreamSummaryCommandInput | DisableEnhancedMonitoringCommandInput | EnableEnhancedMonitoringCommandInput | GetRecordsCommandInput | GetResourcePolicyCommandInput | GetShardIteratorCommandInput | IncreaseStreamRetentionPeriodCommandInput | ListChannelsCommandInput | ListShardsCommandInput | ListStreamConsumersCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTagsForStreamCommandInput | MergeShardsCommandInput | PutRecordCommandInput | PutRecordsCommandInput | PutResourcePolicyCommandInput | RegisterStreamConsumerCommandInput | RemoveTagsFromStreamCommandInput | SplitShardCommandInput | StartStreamEncryptionCommandInput | StopStreamEncryptionCommandInput | SubscribeToShardCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateChannelCommandInput | UpdateMaxRecordSizeCommandInput | UpdateShardCountCommandInput | UpdateStreamModeCommandInput | UpdateStreamRecordDistributionStrategyCommandInput | UpdateStreamWarmThroughputCommandInput;
|
|
62
63
|
/**
|
|
63
64
|
* @public
|
|
64
65
|
*/
|
|
65
|
-
export type ServiceOutputTypes = AddTagsToStreamCommandOutput | CreateChannelCommandOutput | CreateStreamCommandOutput | DecreaseStreamRetentionPeriodCommandOutput | DeleteChannelCommandOutput | DeleteResourcePolicyCommandOutput | DeleteStreamCommandOutput | DeregisterStreamConsumerCommandOutput | DescribeAccountSettingsCommandOutput | DescribeChannelCommandOutput | DescribeLimitsCommandOutput | DescribeStreamCommandOutput | DescribeStreamConsumerCommandOutput | DescribeStreamSummaryCommandOutput | DisableEnhancedMonitoringCommandOutput | EnableEnhancedMonitoringCommandOutput | GetRecordsCommandOutput | GetResourcePolicyCommandOutput | GetShardIteratorCommandOutput | IncreaseStreamRetentionPeriodCommandOutput | ListChannelsCommandOutput | ListShardsCommandOutput | ListStreamConsumersCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForStreamCommandOutput | MergeShardsCommandOutput | PutRecordCommandOutput | PutRecordsCommandOutput | PutResourcePolicyCommandOutput | RegisterStreamConsumerCommandOutput | RemoveTagsFromStreamCommandOutput | SplitShardCommandOutput | StartStreamEncryptionCommandOutput | StopStreamEncryptionCommandOutput | SubscribeToShardCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateChannelCommandOutput | UpdateMaxRecordSizeCommandOutput | UpdateShardCountCommandOutput | UpdateStreamModeCommandOutput | UpdateStreamWarmThroughputCommandOutput;
|
|
66
|
+
export type ServiceOutputTypes = AddTagsToStreamCommandOutput | CreateChannelCommandOutput | CreateStreamCommandOutput | DecreaseStreamRetentionPeriodCommandOutput | DeleteChannelCommandOutput | DeleteResourcePolicyCommandOutput | DeleteStreamCommandOutput | DeregisterStreamConsumerCommandOutput | DescribeAccountSettingsCommandOutput | DescribeChannelCommandOutput | DescribeLimitsCommandOutput | DescribeStreamCommandOutput | DescribeStreamConsumerCommandOutput | DescribeStreamSummaryCommandOutput | DisableEnhancedMonitoringCommandOutput | EnableEnhancedMonitoringCommandOutput | GetRecordsCommandOutput | GetResourcePolicyCommandOutput | GetShardIteratorCommandOutput | IncreaseStreamRetentionPeriodCommandOutput | ListChannelsCommandOutput | ListShardsCommandOutput | ListStreamConsumersCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForStreamCommandOutput | MergeShardsCommandOutput | PutRecordCommandOutput | PutRecordsCommandOutput | PutResourcePolicyCommandOutput | RegisterStreamConsumerCommandOutput | RemoveTagsFromStreamCommandOutput | SplitShardCommandOutput | StartStreamEncryptionCommandOutput | StopStreamEncryptionCommandOutput | SubscribeToShardCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateChannelCommandOutput | UpdateMaxRecordSizeCommandOutput | UpdateShardCountCommandOutput | UpdateStreamModeCommandOutput | UpdateStreamRecordDistributionStrategyCommandOutput | UpdateStreamWarmThroughputCommandOutput;
|
|
66
67
|
/**
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
@@ -78,6 +78,7 @@ declare const CreateStreamCommand_base: {
|
|
|
78
78
|
* },
|
|
79
79
|
* WarmThroughputMiBps: Number("int"),
|
|
80
80
|
* MaxRecordSizeInKiB: Number("int"),
|
|
81
|
+
* RecordDistributionStrategy: "AUTO" || "USER_PARTITION_KEY",
|
|
81
82
|
* };
|
|
82
83
|
* const command = new CreateStreamCommand(input);
|
|
83
84
|
* const response = await client.send(command);
|
|
@@ -25,7 +25,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Deletes the specified channel. Deleting a channel stops delivery from the source stream to the destination. Data already delivered to the destination is not deleted.</p>
|
|
28
|
-
* <p>A stream cannot be deleted while it has active channels.
|
|
28
|
+
* <p>A stream cannot be deleted while it has active channels. Use <a>ListChannels</a> with a stream filter to find the channels attached to a stream before deleting it.</p>
|
|
29
29
|
* <p>This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a <code>LimitExceededException</code>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -103,7 +103,7 @@ declare const GetRecordsCommand_base: {
|
|
|
103
103
|
* // SequenceNumber: "STRING_VALUE", // required
|
|
104
104
|
* // ApproximateArrivalTimestamp: new Date("TIMESTAMP"),
|
|
105
105
|
* // Data: new Uint8Array(), // required
|
|
106
|
-
* // PartitionKey: "STRING_VALUE",
|
|
106
|
+
* // PartitionKey: "STRING_VALUE",
|
|
107
107
|
* // EncryptionType: "NONE" || "KMS",
|
|
108
108
|
* // },
|
|
109
109
|
* // ],
|
|
@@ -76,7 +76,7 @@ declare const PutRecordCommand_base: {
|
|
|
76
76
|
* const input = { // PutRecordInput
|
|
77
77
|
* StreamName: "STRING_VALUE",
|
|
78
78
|
* Data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
79
|
-
* PartitionKey: "STRING_VALUE",
|
|
79
|
+
* PartitionKey: "STRING_VALUE",
|
|
80
80
|
* ExplicitHashKey: "STRING_VALUE",
|
|
81
81
|
* SequenceNumberForOrdering: "STRING_VALUE",
|
|
82
82
|
* StreamARN: "STRING_VALUE",
|
|
@@ -98,7 +98,7 @@ declare const PutRecordsCommand_base: {
|
|
|
98
98
|
* { // PutRecordsRequestEntry
|
|
99
99
|
* Data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
100
100
|
* ExplicitHashKey: "STRING_VALUE",
|
|
101
|
-
* PartitionKey: "STRING_VALUE",
|
|
101
|
+
* PartitionKey: "STRING_VALUE",
|
|
102
102
|
* },
|
|
103
103
|
* ],
|
|
104
104
|
* StreamName: "STRING_VALUE",
|
|
@@ -76,7 +76,7 @@ declare const SubscribeToShardCommand_base: {
|
|
|
76
76
|
* // SequenceNumber: "STRING_VALUE", // required
|
|
77
77
|
* // ApproximateArrivalTimestamp: new Date("TIMESTAMP"),
|
|
78
78
|
* // Data: new Uint8Array(), // required
|
|
79
|
-
* // PartitionKey: "STRING_VALUE",
|
|
79
|
+
* // PartitionKey: "STRING_VALUE",
|
|
80
80
|
* // EncryptionType: "NONE" || "KMS",
|
|
81
81
|
* // },
|
|
82
82
|
* // ],
|