@aws-sdk/client-kinesis 3.451.0 → 3.457.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 +24 -0
- package/dist-cjs/Kinesis.js +6 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +53 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +53 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +53 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_json1_1.js +149 -2
- package/dist-es/Kinesis.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +49 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +49 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +49 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +141 -0
- package/dist-types/Kinesis.d.ts +21 -0
- package/dist-types/KinesisClient.d.ts +5 -2
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +3 -2
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +3 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +101 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStreamCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +3 -2
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +3 -2
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +3 -2
- package/dist-types/commands/GetRecordsCommand.d.ts +3 -2
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +99 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +3 -2
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +3 -2
- package/dist-types/commands/ListShardsCommand.d.ts +3 -2
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +3 -2
- package/dist-types/commands/MergeShardsCommand.d.ts +3 -2
- package/dist-types/commands/PutRecordCommand.d.ts +3 -2
- package/dist-types/commands/PutRecordsCommand.d.ts +3 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +109 -0
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +3 -2
- package/dist-types/commands/SplitShardCommand.d.ts +3 -2
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +5 -4
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +3 -2
- package/dist-types/commands/UpdateShardCountCommand.d.ts +6 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +45 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/Kinesis.d.ts +51 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +2 -2
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
DecreaseStreamRetentionPeriodCommandInput,
|
|
12
12
|
DecreaseStreamRetentionPeriodCommandOutput,
|
|
13
13
|
} from "./commands/DecreaseStreamRetentionPeriodCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteResourcePolicyCommandInput,
|
|
16
|
+
DeleteResourcePolicyCommandOutput,
|
|
17
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
14
18
|
import {
|
|
15
19
|
DeleteStreamCommandInput,
|
|
16
20
|
DeleteStreamCommandOutput,
|
|
@@ -47,6 +51,10 @@ import {
|
|
|
47
51
|
GetRecordsCommandInput,
|
|
48
52
|
GetRecordsCommandOutput,
|
|
49
53
|
} from "./commands/GetRecordsCommand";
|
|
54
|
+
import {
|
|
55
|
+
GetResourcePolicyCommandInput,
|
|
56
|
+
GetResourcePolicyCommandOutput,
|
|
57
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
50
58
|
import {
|
|
51
59
|
GetShardIteratorCommandInput,
|
|
52
60
|
GetShardIteratorCommandOutput,
|
|
@@ -83,6 +91,10 @@ import {
|
|
|
83
91
|
PutRecordsCommandInput,
|
|
84
92
|
PutRecordsCommandOutput,
|
|
85
93
|
} from "./commands/PutRecordsCommand";
|
|
94
|
+
import {
|
|
95
|
+
PutResourcePolicyCommandInput,
|
|
96
|
+
PutResourcePolicyCommandOutput,
|
|
97
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
86
98
|
import {
|
|
87
99
|
RegisterStreamConsumerCommandInput,
|
|
88
100
|
RegisterStreamConsumerCommandOutput,
|
|
@@ -156,6 +168,19 @@ export interface Kinesis {
|
|
|
156
168
|
options: __HttpHandlerOptions,
|
|
157
169
|
cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void
|
|
158
170
|
): void;
|
|
171
|
+
deleteResourcePolicy(
|
|
172
|
+
args: DeleteResourcePolicyCommandInput,
|
|
173
|
+
options?: __HttpHandlerOptions
|
|
174
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
175
|
+
deleteResourcePolicy(
|
|
176
|
+
args: DeleteResourcePolicyCommandInput,
|
|
177
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
178
|
+
): void;
|
|
179
|
+
deleteResourcePolicy(
|
|
180
|
+
args: DeleteResourcePolicyCommandInput,
|
|
181
|
+
options: __HttpHandlerOptions,
|
|
182
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
183
|
+
): void;
|
|
159
184
|
deleteStream(
|
|
160
185
|
args: DeleteStreamCommandInput,
|
|
161
186
|
options?: __HttpHandlerOptions
|
|
@@ -273,6 +298,19 @@ export interface Kinesis {
|
|
|
273
298
|
options: __HttpHandlerOptions,
|
|
274
299
|
cb: (err: any, data?: GetRecordsCommandOutput) => void
|
|
275
300
|
): void;
|
|
301
|
+
getResourcePolicy(
|
|
302
|
+
args: GetResourcePolicyCommandInput,
|
|
303
|
+
options?: __HttpHandlerOptions
|
|
304
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
305
|
+
getResourcePolicy(
|
|
306
|
+
args: GetResourcePolicyCommandInput,
|
|
307
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
308
|
+
): void;
|
|
309
|
+
getResourcePolicy(
|
|
310
|
+
args: GetResourcePolicyCommandInput,
|
|
311
|
+
options: __HttpHandlerOptions,
|
|
312
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
313
|
+
): void;
|
|
276
314
|
getShardIterator(
|
|
277
315
|
args: GetShardIteratorCommandInput,
|
|
278
316
|
options?: __HttpHandlerOptions
|
|
@@ -390,6 +428,19 @@ export interface Kinesis {
|
|
|
390
428
|
options: __HttpHandlerOptions,
|
|
391
429
|
cb: (err: any, data?: PutRecordsCommandOutput) => void
|
|
392
430
|
): void;
|
|
431
|
+
putResourcePolicy(
|
|
432
|
+
args: PutResourcePolicyCommandInput,
|
|
433
|
+
options?: __HttpHandlerOptions
|
|
434
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
435
|
+
putResourcePolicy(
|
|
436
|
+
args: PutResourcePolicyCommandInput,
|
|
437
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
438
|
+
): void;
|
|
439
|
+
putResourcePolicy(
|
|
440
|
+
args: PutResourcePolicyCommandInput,
|
|
441
|
+
options: __HttpHandlerOptions,
|
|
442
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
443
|
+
): void;
|
|
393
444
|
registerStreamConsumer(
|
|
394
445
|
args: RegisterStreamConsumerCommandInput,
|
|
395
446
|
options?: __HttpHandlerOptions
|
|
@@ -62,6 +62,10 @@ import {
|
|
|
62
62
|
DecreaseStreamRetentionPeriodCommandInput,
|
|
63
63
|
DecreaseStreamRetentionPeriodCommandOutput,
|
|
64
64
|
} from "./commands/DecreaseStreamRetentionPeriodCommand";
|
|
65
|
+
import {
|
|
66
|
+
DeleteResourcePolicyCommandInput,
|
|
67
|
+
DeleteResourcePolicyCommandOutput,
|
|
68
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
65
69
|
import {
|
|
66
70
|
DeleteStreamCommandInput,
|
|
67
71
|
DeleteStreamCommandOutput,
|
|
@@ -98,6 +102,10 @@ import {
|
|
|
98
102
|
GetRecordsCommandInput,
|
|
99
103
|
GetRecordsCommandOutput,
|
|
100
104
|
} from "./commands/GetRecordsCommand";
|
|
105
|
+
import {
|
|
106
|
+
GetResourcePolicyCommandInput,
|
|
107
|
+
GetResourcePolicyCommandOutput,
|
|
108
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
101
109
|
import {
|
|
102
110
|
GetShardIteratorCommandInput,
|
|
103
111
|
GetShardIteratorCommandOutput,
|
|
@@ -134,6 +142,10 @@ import {
|
|
|
134
142
|
PutRecordsCommandInput,
|
|
135
143
|
PutRecordsCommandOutput,
|
|
136
144
|
} from "./commands/PutRecordsCommand";
|
|
145
|
+
import {
|
|
146
|
+
PutResourcePolicyCommandInput,
|
|
147
|
+
PutResourcePolicyCommandOutput,
|
|
148
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
137
149
|
import {
|
|
138
150
|
RegisterStreamConsumerCommandInput,
|
|
139
151
|
RegisterStreamConsumerCommandOutput,
|
|
@@ -177,6 +189,7 @@ export type ServiceInputTypes =
|
|
|
177
189
|
| AddTagsToStreamCommandInput
|
|
178
190
|
| CreateStreamCommandInput
|
|
179
191
|
| DecreaseStreamRetentionPeriodCommandInput
|
|
192
|
+
| DeleteResourcePolicyCommandInput
|
|
180
193
|
| DeleteStreamCommandInput
|
|
181
194
|
| DeregisterStreamConsumerCommandInput
|
|
182
195
|
| DescribeLimitsCommandInput
|
|
@@ -186,6 +199,7 @@ export type ServiceInputTypes =
|
|
|
186
199
|
| DisableEnhancedMonitoringCommandInput
|
|
187
200
|
| EnableEnhancedMonitoringCommandInput
|
|
188
201
|
| GetRecordsCommandInput
|
|
202
|
+
| GetResourcePolicyCommandInput
|
|
189
203
|
| GetShardIteratorCommandInput
|
|
190
204
|
| IncreaseStreamRetentionPeriodCommandInput
|
|
191
205
|
| ListShardsCommandInput
|
|
@@ -195,6 +209,7 @@ export type ServiceInputTypes =
|
|
|
195
209
|
| MergeShardsCommandInput
|
|
196
210
|
| PutRecordCommandInput
|
|
197
211
|
| PutRecordsCommandInput
|
|
212
|
+
| PutResourcePolicyCommandInput
|
|
198
213
|
| RegisterStreamConsumerCommandInput
|
|
199
214
|
| RemoveTagsFromStreamCommandInput
|
|
200
215
|
| SplitShardCommandInput
|
|
@@ -207,6 +222,7 @@ export type ServiceOutputTypes =
|
|
|
207
222
|
| AddTagsToStreamCommandOutput
|
|
208
223
|
| CreateStreamCommandOutput
|
|
209
224
|
| DecreaseStreamRetentionPeriodCommandOutput
|
|
225
|
+
| DeleteResourcePolicyCommandOutput
|
|
210
226
|
| DeleteStreamCommandOutput
|
|
211
227
|
| DeregisterStreamConsumerCommandOutput
|
|
212
228
|
| DescribeLimitsCommandOutput
|
|
@@ -216,6 +232,7 @@ export type ServiceOutputTypes =
|
|
|
216
232
|
| DisableEnhancedMonitoringCommandOutput
|
|
217
233
|
| EnableEnhancedMonitoringCommandOutput
|
|
218
234
|
| GetRecordsCommandOutput
|
|
235
|
+
| GetResourcePolicyCommandOutput
|
|
219
236
|
| GetShardIteratorCommandOutput
|
|
220
237
|
| IncreaseStreamRetentionPeriodCommandOutput
|
|
221
238
|
| ListShardsCommandOutput
|
|
@@ -225,6 +242,7 @@ export type ServiceOutputTypes =
|
|
|
225
242
|
| MergeShardsCommandOutput
|
|
226
243
|
| PutRecordCommandOutput
|
|
227
244
|
| PutRecordsCommandOutput
|
|
245
|
+
| PutResourcePolicyCommandOutput
|
|
228
246
|
| RegisterStreamConsumerCommandOutput
|
|
229
247
|
| RemoveTagsFromStreamCommandOutput
|
|
230
248
|
| SplitShardCommandOutput
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
KinesisClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../KinesisClient";
|
|
14
|
+
import { DeleteResourcePolicyInput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface DeleteResourcePolicyCommandInput
|
|
17
|
+
extends DeleteResourcePolicyInput {}
|
|
18
|
+
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
|
|
19
|
+
export declare class DeleteResourcePolicyCommand extends $Command<
|
|
20
|
+
DeleteResourcePolicyCommandInput,
|
|
21
|
+
DeleteResourcePolicyCommandOutput,
|
|
22
|
+
KinesisClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: DeleteResourcePolicyCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: DeleteResourcePolicyCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: KinesisClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<
|
|
32
|
+
DeleteResourcePolicyCommandInput,
|
|
33
|
+
DeleteResourcePolicyCommandOutput
|
|
34
|
+
>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
KinesisClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../KinesisClient";
|
|
14
|
+
import {
|
|
15
|
+
GetResourcePolicyInput,
|
|
16
|
+
GetResourcePolicyOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {}
|
|
20
|
+
export interface GetResourcePolicyCommandOutput
|
|
21
|
+
extends GetResourcePolicyOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetResourcePolicyCommand extends $Command<
|
|
24
|
+
GetResourcePolicyCommandInput,
|
|
25
|
+
GetResourcePolicyCommandOutput,
|
|
26
|
+
KinesisClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetResourcePolicyCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetResourcePolicyCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: KinesisClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
KinesisClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../KinesisClient";
|
|
14
|
+
import { PutResourcePolicyInput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyInput {}
|
|
17
|
+
export interface PutResourcePolicyCommandOutput extends __MetadataBearer {}
|
|
18
|
+
export declare class PutResourcePolicyCommand extends $Command<
|
|
19
|
+
PutResourcePolicyCommandInput,
|
|
20
|
+
PutResourcePolicyCommandOutput,
|
|
21
|
+
KinesisClientResolvedConfig
|
|
22
|
+
> {
|
|
23
|
+
readonly input: PutResourcePolicyCommandInput;
|
|
24
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
25
|
+
constructor(input: PutResourcePolicyCommandInput);
|
|
26
|
+
resolveMiddleware(
|
|
27
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
28
|
+
configuration: KinesisClientResolvedConfig,
|
|
29
|
+
options?: __HttpHandlerOptions
|
|
30
|
+
): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
|
|
31
|
+
private serialize;
|
|
32
|
+
private deserialize;
|
|
33
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AddTagsToStreamCommand";
|
|
2
2
|
export * from "./CreateStreamCommand";
|
|
3
3
|
export * from "./DecreaseStreamRetentionPeriodCommand";
|
|
4
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
4
5
|
export * from "./DeleteStreamCommand";
|
|
5
6
|
export * from "./DeregisterStreamConsumerCommand";
|
|
6
7
|
export * from "./DescribeLimitsCommand";
|
|
@@ -10,6 +11,7 @@ export * from "./DescribeStreamSummaryCommand";
|
|
|
10
11
|
export * from "./DisableEnhancedMonitoringCommand";
|
|
11
12
|
export * from "./EnableEnhancedMonitoringCommand";
|
|
12
13
|
export * from "./GetRecordsCommand";
|
|
14
|
+
export * from "./GetResourcePolicyCommand";
|
|
13
15
|
export * from "./GetShardIteratorCommand";
|
|
14
16
|
export * from "./IncreaseStreamRetentionPeriodCommand";
|
|
15
17
|
export * from "./ListShardsCommand";
|
|
@@ -19,6 +21,7 @@ export * from "./ListTagsForStreamCommand";
|
|
|
19
21
|
export * from "./MergeShardsCommand";
|
|
20
22
|
export * from "./PutRecordCommand";
|
|
21
23
|
export * from "./PutRecordsCommand";
|
|
24
|
+
export * from "./PutResourcePolicyCommand";
|
|
22
25
|
export * from "./RegisterStreamConsumerCommand";
|
|
23
26
|
export * from "./RemoveTagsFromStreamCommand";
|
|
24
27
|
export * from "./SplitShardCommand";
|
|
@@ -87,6 +87,9 @@ export interface DecreaseStreamRetentionPeriodInput {
|
|
|
87
87
|
RetentionPeriodHours: number | undefined;
|
|
88
88
|
StreamARN?: string;
|
|
89
89
|
}
|
|
90
|
+
export interface DeleteResourcePolicyInput {
|
|
91
|
+
ResourceARN: string | undefined;
|
|
92
|
+
}
|
|
90
93
|
export interface DeleteStreamInput {
|
|
91
94
|
StreamName?: string;
|
|
92
95
|
EnforceConsumerDeletion?: boolean;
|
|
@@ -290,6 +293,12 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
290
293
|
>
|
|
291
294
|
);
|
|
292
295
|
}
|
|
296
|
+
export interface GetResourcePolicyInput {
|
|
297
|
+
ResourceARN: string | undefined;
|
|
298
|
+
}
|
|
299
|
+
export interface GetResourcePolicyOutput {
|
|
300
|
+
Policy: string | undefined;
|
|
301
|
+
}
|
|
293
302
|
export declare const ShardIteratorType: {
|
|
294
303
|
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
295
304
|
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
@@ -439,6 +448,10 @@ export interface PutRecordsOutput {
|
|
|
439
448
|
Records: PutRecordsResultEntry[] | undefined;
|
|
440
449
|
EncryptionType?: EncryptionType;
|
|
441
450
|
}
|
|
451
|
+
export interface PutResourcePolicyInput {
|
|
452
|
+
ResourceARN: string | undefined;
|
|
453
|
+
Policy: string | undefined;
|
|
454
|
+
}
|
|
442
455
|
export interface RegisterStreamConsumerInput {
|
|
443
456
|
StreamARN: string | undefined;
|
|
444
457
|
ConsumerName: string | undefined;
|
|
@@ -18,6 +18,10 @@ import {
|
|
|
18
18
|
DecreaseStreamRetentionPeriodCommandInput,
|
|
19
19
|
DecreaseStreamRetentionPeriodCommandOutput,
|
|
20
20
|
} from "../commands/DecreaseStreamRetentionPeriodCommand";
|
|
21
|
+
import {
|
|
22
|
+
DeleteResourcePolicyCommandInput,
|
|
23
|
+
DeleteResourcePolicyCommandOutput,
|
|
24
|
+
} from "../commands/DeleteResourcePolicyCommand";
|
|
21
25
|
import {
|
|
22
26
|
DeleteStreamCommandInput,
|
|
23
27
|
DeleteStreamCommandOutput,
|
|
@@ -54,6 +58,10 @@ import {
|
|
|
54
58
|
GetRecordsCommandInput,
|
|
55
59
|
GetRecordsCommandOutput,
|
|
56
60
|
} from "../commands/GetRecordsCommand";
|
|
61
|
+
import {
|
|
62
|
+
GetResourcePolicyCommandInput,
|
|
63
|
+
GetResourcePolicyCommandOutput,
|
|
64
|
+
} from "../commands/GetResourcePolicyCommand";
|
|
57
65
|
import {
|
|
58
66
|
GetShardIteratorCommandInput,
|
|
59
67
|
GetShardIteratorCommandOutput,
|
|
@@ -90,6 +98,10 @@ import {
|
|
|
90
98
|
PutRecordsCommandInput,
|
|
91
99
|
PutRecordsCommandOutput,
|
|
92
100
|
} from "../commands/PutRecordsCommand";
|
|
101
|
+
import {
|
|
102
|
+
PutResourcePolicyCommandInput,
|
|
103
|
+
PutResourcePolicyCommandOutput,
|
|
104
|
+
} from "../commands/PutResourcePolicyCommand";
|
|
93
105
|
import {
|
|
94
106
|
RegisterStreamConsumerCommandInput,
|
|
95
107
|
RegisterStreamConsumerCommandOutput,
|
|
@@ -134,6 +146,10 @@ export declare const se_DecreaseStreamRetentionPeriodCommand: (
|
|
|
134
146
|
input: DecreaseStreamRetentionPeriodCommandInput,
|
|
135
147
|
context: __SerdeContext
|
|
136
148
|
) => Promise<__HttpRequest>;
|
|
149
|
+
export declare const se_DeleteResourcePolicyCommand: (
|
|
150
|
+
input: DeleteResourcePolicyCommandInput,
|
|
151
|
+
context: __SerdeContext
|
|
152
|
+
) => Promise<__HttpRequest>;
|
|
137
153
|
export declare const se_DeleteStreamCommand: (
|
|
138
154
|
input: DeleteStreamCommandInput,
|
|
139
155
|
context: __SerdeContext
|
|
@@ -170,6 +186,10 @@ export declare const se_GetRecordsCommand: (
|
|
|
170
186
|
input: GetRecordsCommandInput,
|
|
171
187
|
context: __SerdeContext
|
|
172
188
|
) => Promise<__HttpRequest>;
|
|
189
|
+
export declare const se_GetResourcePolicyCommand: (
|
|
190
|
+
input: GetResourcePolicyCommandInput,
|
|
191
|
+
context: __SerdeContext
|
|
192
|
+
) => Promise<__HttpRequest>;
|
|
173
193
|
export declare const se_GetShardIteratorCommand: (
|
|
174
194
|
input: GetShardIteratorCommandInput,
|
|
175
195
|
context: __SerdeContext
|
|
@@ -206,6 +226,10 @@ export declare const se_PutRecordsCommand: (
|
|
|
206
226
|
input: PutRecordsCommandInput,
|
|
207
227
|
context: __SerdeContext
|
|
208
228
|
) => Promise<__HttpRequest>;
|
|
229
|
+
export declare const se_PutResourcePolicyCommand: (
|
|
230
|
+
input: PutResourcePolicyCommandInput,
|
|
231
|
+
context: __SerdeContext
|
|
232
|
+
) => Promise<__HttpRequest>;
|
|
209
233
|
export declare const se_RegisterStreamConsumerCommand: (
|
|
210
234
|
input: RegisterStreamConsumerCommandInput,
|
|
211
235
|
context: __SerdeContext
|
|
@@ -250,6 +274,10 @@ export declare const de_DecreaseStreamRetentionPeriodCommand: (
|
|
|
250
274
|
output: __HttpResponse,
|
|
251
275
|
context: __SerdeContext
|
|
252
276
|
) => Promise<DecreaseStreamRetentionPeriodCommandOutput>;
|
|
277
|
+
export declare const de_DeleteResourcePolicyCommand: (
|
|
278
|
+
output: __HttpResponse,
|
|
279
|
+
context: __SerdeContext
|
|
280
|
+
) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
253
281
|
export declare const de_DeleteStreamCommand: (
|
|
254
282
|
output: __HttpResponse,
|
|
255
283
|
context: __SerdeContext
|
|
@@ -286,6 +314,10 @@ export declare const de_GetRecordsCommand: (
|
|
|
286
314
|
output: __HttpResponse,
|
|
287
315
|
context: __SerdeContext
|
|
288
316
|
) => Promise<GetRecordsCommandOutput>;
|
|
317
|
+
export declare const de_GetResourcePolicyCommand: (
|
|
318
|
+
output: __HttpResponse,
|
|
319
|
+
context: __SerdeContext
|
|
320
|
+
) => Promise<GetResourcePolicyCommandOutput>;
|
|
289
321
|
export declare const de_GetShardIteratorCommand: (
|
|
290
322
|
output: __HttpResponse,
|
|
291
323
|
context: __SerdeContext
|
|
@@ -322,6 +354,10 @@ export declare const de_PutRecordsCommand: (
|
|
|
322
354
|
output: __HttpResponse,
|
|
323
355
|
context: __SerdeContext
|
|
324
356
|
) => Promise<PutRecordsCommandOutput>;
|
|
357
|
+
export declare const de_PutResourcePolicyCommand: (
|
|
358
|
+
output: __HttpResponse,
|
|
359
|
+
context: __SerdeContext
|
|
360
|
+
) => Promise<PutResourcePolicyCommandOutput>;
|
|
325
361
|
export declare const de_RegisterStreamConsumerCommand: (
|
|
326
362
|
output: __HttpResponse,
|
|
327
363
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.457.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.454.0",
|
|
26
26
|
"@aws-sdk/core": "3.451.0",
|
|
27
27
|
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.451.0",
|