@aws-sdk/client-kinesis 3.798.0 → 3.802.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/index.js +148 -28
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/Kinesis.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-es/commands/TagResourceCommand.js +26 -0
- package/dist-es/commands/UntagResourceCommand.js +26 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_json1_1.js +63 -9
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/Kinesis.d.ts +21 -0
- package/dist-types/KinesisClient.d.ts +5 -2
- package/dist-types/commands/CreateStreamCommand.d.ts +1 -5
- package/dist-types/commands/GetRecordsCommand.d.ts +4 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +98 -0
- package/dist-types/commands/PutRecordCommand.d.ts +4 -0
- package/dist-types/commands/PutRecordsCommand.d.ts +4 -0
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +90 -34
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/runtimeConfig.d.ts +1 -1
- 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/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -11
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/package.json +5 -5
|
@@ -19,6 +19,7 @@ import { IncreaseStreamRetentionPeriodCommandInput, IncreaseStreamRetentionPerio
|
|
|
19
19
|
import { ListShardsCommandInput, ListShardsCommandOutput } from "../commands/ListShardsCommand";
|
|
20
20
|
import { ListStreamConsumersCommandInput, ListStreamConsumersCommandOutput } from "../commands/ListStreamConsumersCommand";
|
|
21
21
|
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
|
|
22
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
22
23
|
import { ListTagsForStreamCommandInput, ListTagsForStreamCommandOutput } from "../commands/ListTagsForStreamCommand";
|
|
23
24
|
import { MergeShardsCommandInput, MergeShardsCommandOutput } from "../commands/MergeShardsCommand";
|
|
24
25
|
import { PutRecordCommandInput, PutRecordCommandOutput } from "../commands/PutRecordCommand";
|
|
@@ -30,6 +31,8 @@ import { SplitShardCommandInput, SplitShardCommandOutput } from "../commands/Spl
|
|
|
30
31
|
import { StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput } from "../commands/StartStreamEncryptionCommand";
|
|
31
32
|
import { StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput } from "../commands/StopStreamEncryptionCommand";
|
|
32
33
|
import { SubscribeToShardCommandInput, SubscribeToShardCommandOutput } from "../commands/SubscribeToShardCommand";
|
|
34
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
35
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
33
36
|
import { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "../commands/UpdateShardCountCommand";
|
|
34
37
|
import { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "../commands/UpdateStreamModeCommand";
|
|
35
38
|
/**
|
|
@@ -108,6 +111,10 @@ export declare const se_ListStreamConsumersCommand: (input: ListStreamConsumersC
|
|
|
108
111
|
* serializeAws_json1_1ListStreamsCommand
|
|
109
112
|
*/
|
|
110
113
|
export declare const se_ListStreamsCommand: (input: ListStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
114
|
+
/**
|
|
115
|
+
* serializeAws_json1_1ListTagsForResourceCommand
|
|
116
|
+
*/
|
|
117
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
111
118
|
/**
|
|
112
119
|
* serializeAws_json1_1ListTagsForStreamCommand
|
|
113
120
|
*/
|
|
@@ -152,6 +159,14 @@ export declare const se_StopStreamEncryptionCommand: (input: StopStreamEncryptio
|
|
|
152
159
|
* serializeAws_json1_1SubscribeToShardCommand
|
|
153
160
|
*/
|
|
154
161
|
export declare const se_SubscribeToShardCommand: (input: SubscribeToShardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
162
|
+
/**
|
|
163
|
+
* serializeAws_json1_1TagResourceCommand
|
|
164
|
+
*/
|
|
165
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
166
|
+
/**
|
|
167
|
+
* serializeAws_json1_1UntagResourceCommand
|
|
168
|
+
*/
|
|
169
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
155
170
|
/**
|
|
156
171
|
* serializeAws_json1_1UpdateShardCountCommand
|
|
157
172
|
*/
|
|
@@ -236,6 +251,10 @@ export declare const de_ListStreamConsumersCommand: (output: __HttpResponse, con
|
|
|
236
251
|
* deserializeAws_json1_1ListStreamsCommand
|
|
237
252
|
*/
|
|
238
253
|
export declare const de_ListStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamsCommandOutput>;
|
|
254
|
+
/**
|
|
255
|
+
* deserializeAws_json1_1ListTagsForResourceCommand
|
|
256
|
+
*/
|
|
257
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
239
258
|
/**
|
|
240
259
|
* deserializeAws_json1_1ListTagsForStreamCommand
|
|
241
260
|
*/
|
|
@@ -280,6 +299,14 @@ export declare const de_StopStreamEncryptionCommand: (output: __HttpResponse, co
|
|
|
280
299
|
* deserializeAws_json1_1SubscribeToShardCommand
|
|
281
300
|
*/
|
|
282
301
|
export declare const de_SubscribeToShardCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<SubscribeToShardCommandOutput>;
|
|
302
|
+
/**
|
|
303
|
+
* deserializeAws_json1_1TagResourceCommand
|
|
304
|
+
*/
|
|
305
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
306
|
+
/**
|
|
307
|
+
* deserializeAws_json1_1UntagResourceCommand
|
|
308
|
+
*/
|
|
309
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
283
310
|
/**
|
|
284
311
|
* deserializeAws_json1_1UpdateShardCountCommand
|
|
285
312
|
*/
|
|
@@ -6,6 +6,7 @@ import { KinesisClientConfig } from "./KinesisClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -39,7 +40,6 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
39
40
|
}) => import("@smithy/types").EndpointV2;
|
|
40
41
|
tls?: boolean | undefined;
|
|
41
42
|
serviceConfiguredEndpoint?: undefined;
|
|
42
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
43
43
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
44
44
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider;
|
|
45
45
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -75,6 +75,10 @@ import {
|
|
|
75
75
|
ListStreamsCommandInput,
|
|
76
76
|
ListStreamsCommandOutput,
|
|
77
77
|
} from "./commands/ListStreamsCommand";
|
|
78
|
+
import {
|
|
79
|
+
ListTagsForResourceCommandInput,
|
|
80
|
+
ListTagsForResourceCommandOutput,
|
|
81
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
78
82
|
import {
|
|
79
83
|
ListTagsForStreamCommandInput,
|
|
80
84
|
ListTagsForStreamCommandOutput,
|
|
@@ -119,6 +123,14 @@ import {
|
|
|
119
123
|
SubscribeToShardCommandInput,
|
|
120
124
|
SubscribeToShardCommandOutput,
|
|
121
125
|
} from "./commands/SubscribeToShardCommand";
|
|
126
|
+
import {
|
|
127
|
+
TagResourceCommandInput,
|
|
128
|
+
TagResourceCommandOutput,
|
|
129
|
+
} from "./commands/TagResourceCommand";
|
|
130
|
+
import {
|
|
131
|
+
UntagResourceCommandInput,
|
|
132
|
+
UntagResourceCommandOutput,
|
|
133
|
+
} from "./commands/UntagResourceCommand";
|
|
122
134
|
import {
|
|
123
135
|
UpdateShardCountCommandInput,
|
|
124
136
|
UpdateShardCountCommandOutput,
|
|
@@ -384,6 +396,19 @@ export interface Kinesis {
|
|
|
384
396
|
options: __HttpHandlerOptions,
|
|
385
397
|
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
386
398
|
): void;
|
|
399
|
+
listTagsForResource(
|
|
400
|
+
args: ListTagsForResourceCommandInput,
|
|
401
|
+
options?: __HttpHandlerOptions
|
|
402
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
403
|
+
listTagsForResource(
|
|
404
|
+
args: ListTagsForResourceCommandInput,
|
|
405
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
406
|
+
): void;
|
|
407
|
+
listTagsForResource(
|
|
408
|
+
args: ListTagsForResourceCommandInput,
|
|
409
|
+
options: __HttpHandlerOptions,
|
|
410
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
411
|
+
): void;
|
|
387
412
|
listTagsForStream(): Promise<ListTagsForStreamCommandOutput>;
|
|
388
413
|
listTagsForStream(
|
|
389
414
|
args: ListTagsForStreamCommandInput,
|
|
@@ -528,6 +553,32 @@ export interface Kinesis {
|
|
|
528
553
|
options: __HttpHandlerOptions,
|
|
529
554
|
cb: (err: any, data?: SubscribeToShardCommandOutput) => void
|
|
530
555
|
): void;
|
|
556
|
+
tagResource(
|
|
557
|
+
args: TagResourceCommandInput,
|
|
558
|
+
options?: __HttpHandlerOptions
|
|
559
|
+
): Promise<TagResourceCommandOutput>;
|
|
560
|
+
tagResource(
|
|
561
|
+
args: TagResourceCommandInput,
|
|
562
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
563
|
+
): void;
|
|
564
|
+
tagResource(
|
|
565
|
+
args: TagResourceCommandInput,
|
|
566
|
+
options: __HttpHandlerOptions,
|
|
567
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
568
|
+
): void;
|
|
569
|
+
untagResource(
|
|
570
|
+
args: UntagResourceCommandInput,
|
|
571
|
+
options?: __HttpHandlerOptions
|
|
572
|
+
): Promise<UntagResourceCommandOutput>;
|
|
573
|
+
untagResource(
|
|
574
|
+
args: UntagResourceCommandInput,
|
|
575
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
576
|
+
): void;
|
|
577
|
+
untagResource(
|
|
578
|
+
args: UntagResourceCommandInput,
|
|
579
|
+
options: __HttpHandlerOptions,
|
|
580
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
581
|
+
): void;
|
|
531
582
|
updateShardCount(
|
|
532
583
|
args: UpdateShardCountCommandInput,
|
|
533
584
|
options?: __HttpHandlerOptions
|
|
@@ -126,6 +126,10 @@ import {
|
|
|
126
126
|
ListStreamsCommandInput,
|
|
127
127
|
ListStreamsCommandOutput,
|
|
128
128
|
} from "./commands/ListStreamsCommand";
|
|
129
|
+
import {
|
|
130
|
+
ListTagsForResourceCommandInput,
|
|
131
|
+
ListTagsForResourceCommandOutput,
|
|
132
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
129
133
|
import {
|
|
130
134
|
ListTagsForStreamCommandInput,
|
|
131
135
|
ListTagsForStreamCommandOutput,
|
|
@@ -170,6 +174,14 @@ import {
|
|
|
170
174
|
SubscribeToShardCommandInput,
|
|
171
175
|
SubscribeToShardCommandOutput,
|
|
172
176
|
} from "./commands/SubscribeToShardCommand";
|
|
177
|
+
import {
|
|
178
|
+
TagResourceCommandInput,
|
|
179
|
+
TagResourceCommandOutput,
|
|
180
|
+
} from "./commands/TagResourceCommand";
|
|
181
|
+
import {
|
|
182
|
+
UntagResourceCommandInput,
|
|
183
|
+
UntagResourceCommandOutput,
|
|
184
|
+
} from "./commands/UntagResourceCommand";
|
|
173
185
|
import {
|
|
174
186
|
UpdateShardCountCommandInput,
|
|
175
187
|
UpdateShardCountCommandOutput,
|
|
@@ -205,6 +217,7 @@ export type ServiceInputTypes =
|
|
|
205
217
|
| ListShardsCommandInput
|
|
206
218
|
| ListStreamConsumersCommandInput
|
|
207
219
|
| ListStreamsCommandInput
|
|
220
|
+
| ListTagsForResourceCommandInput
|
|
208
221
|
| ListTagsForStreamCommandInput
|
|
209
222
|
| MergeShardsCommandInput
|
|
210
223
|
| PutRecordCommandInput
|
|
@@ -216,6 +229,8 @@ export type ServiceInputTypes =
|
|
|
216
229
|
| StartStreamEncryptionCommandInput
|
|
217
230
|
| StopStreamEncryptionCommandInput
|
|
218
231
|
| SubscribeToShardCommandInput
|
|
232
|
+
| TagResourceCommandInput
|
|
233
|
+
| UntagResourceCommandInput
|
|
219
234
|
| UpdateShardCountCommandInput
|
|
220
235
|
| UpdateStreamModeCommandInput;
|
|
221
236
|
export type ServiceOutputTypes =
|
|
@@ -238,6 +253,7 @@ export type ServiceOutputTypes =
|
|
|
238
253
|
| ListShardsCommandOutput
|
|
239
254
|
| ListStreamConsumersCommandOutput
|
|
240
255
|
| ListStreamsCommandOutput
|
|
256
|
+
| ListTagsForResourceCommandOutput
|
|
241
257
|
| ListTagsForStreamCommandOutput
|
|
242
258
|
| MergeShardsCommandOutput
|
|
243
259
|
| PutRecordCommandOutput
|
|
@@ -249,6 +265,8 @@ export type ServiceOutputTypes =
|
|
|
249
265
|
| StartStreamEncryptionCommandOutput
|
|
250
266
|
| StopStreamEncryptionCommandOutput
|
|
251
267
|
| SubscribeToShardCommandOutput
|
|
268
|
+
| TagResourceCommandOutput
|
|
269
|
+
| UntagResourceCommandOutput
|
|
252
270
|
| UpdateShardCountCommandOutput
|
|
253
271
|
| UpdateStreamModeCommandOutput;
|
|
254
272
|
export interface ClientDefaults
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KinesisClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KinesisClient";
|
|
8
|
+
import {
|
|
9
|
+
ListTagsForResourceInput,
|
|
10
|
+
ListTagsForResourceOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListTagsForResourceCommandInput
|
|
15
|
+
extends ListTagsForResourceInput {}
|
|
16
|
+
export interface ListTagsForResourceCommandOutput
|
|
17
|
+
extends ListTagsForResourceOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListTagsForResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListTagsForResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListTagsForResourceCommandInput,
|
|
24
|
+
ListTagsForResourceCommandOutput,
|
|
25
|
+
KinesisClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListTagsForResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListTagsForResourceCommandInput,
|
|
33
|
+
ListTagsForResourceCommandOutput,
|
|
34
|
+
KinesisClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListTagsForResourceInput;
|
|
44
|
+
output: ListTagsForResourceOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListTagsForResourceCommandInput;
|
|
48
|
+
output: ListTagsForResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KinesisClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KinesisClient";
|
|
8
|
+
import { TagResourceInput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface TagResourceCommandInput extends TagResourceInput {}
|
|
12
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {}
|
|
13
|
+
declare const TagResourceCommand_base: {
|
|
14
|
+
new (
|
|
15
|
+
input: TagResourceCommandInput
|
|
16
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
17
|
+
TagResourceCommandInput,
|
|
18
|
+
TagResourceCommandOutput,
|
|
19
|
+
KinesisClientResolvedConfig,
|
|
20
|
+
ServiceInputTypes,
|
|
21
|
+
ServiceOutputTypes
|
|
22
|
+
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: TagResourceCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
TagResourceCommandInput,
|
|
27
|
+
TagResourceCommandOutput,
|
|
28
|
+
KinesisClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
32
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
33
|
+
};
|
|
34
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
35
|
+
protected static __types: {
|
|
36
|
+
api: {
|
|
37
|
+
input: TagResourceInput;
|
|
38
|
+
output: {};
|
|
39
|
+
};
|
|
40
|
+
sdk: {
|
|
41
|
+
input: TagResourceCommandInput;
|
|
42
|
+
output: TagResourceCommandOutput;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KinesisClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KinesisClient";
|
|
8
|
+
import { UntagResourceInput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {}
|
|
12
|
+
export interface UntagResourceCommandOutput extends __MetadataBearer {}
|
|
13
|
+
declare const UntagResourceCommand_base: {
|
|
14
|
+
new (
|
|
15
|
+
input: UntagResourceCommandInput
|
|
16
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
17
|
+
UntagResourceCommandInput,
|
|
18
|
+
UntagResourceCommandOutput,
|
|
19
|
+
KinesisClientResolvedConfig,
|
|
20
|
+
ServiceInputTypes,
|
|
21
|
+
ServiceOutputTypes
|
|
22
|
+
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: UntagResourceCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
UntagResourceCommandInput,
|
|
27
|
+
UntagResourceCommandOutput,
|
|
28
|
+
KinesisClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
32
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
33
|
+
};
|
|
34
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
35
|
+
protected static __types: {
|
|
36
|
+
api: {
|
|
37
|
+
input: UntagResourceInput;
|
|
38
|
+
output: {};
|
|
39
|
+
};
|
|
40
|
+
sdk: {
|
|
41
|
+
input: UntagResourceCommandInput;
|
|
42
|
+
output: UntagResourceCommandOutput;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -17,6 +17,7 @@ export * from "./IncreaseStreamRetentionPeriodCommand";
|
|
|
17
17
|
export * from "./ListShardsCommand";
|
|
18
18
|
export * from "./ListStreamConsumersCommand";
|
|
19
19
|
export * from "./ListStreamsCommand";
|
|
20
|
+
export * from "./ListTagsForResourceCommand";
|
|
20
21
|
export * from "./ListTagsForStreamCommand";
|
|
21
22
|
export * from "./MergeShardsCommand";
|
|
22
23
|
export * from "./PutRecordCommand";
|
|
@@ -28,5 +29,7 @@ export * from "./SplitShardCommand";
|
|
|
28
29
|
export * from "./StartStreamEncryptionCommand";
|
|
29
30
|
export * from "./StopStreamEncryptionCommand";
|
|
30
31
|
export * from "./SubscribeToShardCommand";
|
|
32
|
+
export * from "./TagResourceCommand";
|
|
33
|
+
export * from "./UntagResourceCommand";
|
|
31
34
|
export * from "./UpdateShardCountCommand";
|
|
32
35
|
export * from "./UpdateStreamModeCommand";
|
|
@@ -244,6 +244,13 @@ export interface GetRecordsOutput {
|
|
|
244
244
|
MillisBehindLatest?: number | undefined;
|
|
245
245
|
ChildShards?: ChildShard[] | undefined;
|
|
246
246
|
}
|
|
247
|
+
export declare class InternalFailureException extends __BaseException {
|
|
248
|
+
readonly name: "InternalFailureException";
|
|
249
|
+
readonly $fault: "server";
|
|
250
|
+
constructor(
|
|
251
|
+
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
252
|
+
);
|
|
253
|
+
}
|
|
247
254
|
export declare class KMSAccessDeniedException extends __BaseException {
|
|
248
255
|
readonly name: "KMSAccessDeniedException";
|
|
249
256
|
readonly $fault: "client";
|
|
@@ -325,13 +332,6 @@ export interface IncreaseStreamRetentionPeriodInput {
|
|
|
325
332
|
RetentionPeriodHours: number | undefined;
|
|
326
333
|
StreamARN?: string | undefined;
|
|
327
334
|
}
|
|
328
|
-
export declare class InternalFailureException extends __BaseException {
|
|
329
|
-
readonly name: "InternalFailureException";
|
|
330
|
-
readonly $fault: "server";
|
|
331
|
-
constructor(
|
|
332
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
333
|
-
);
|
|
334
|
-
}
|
|
335
335
|
export declare const ShardFilterType: {
|
|
336
336
|
readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
|
|
337
337
|
readonly AT_LATEST: "AT_LATEST";
|
|
@@ -388,16 +388,22 @@ export interface ListStreamsOutput {
|
|
|
388
388
|
NextToken?: string | undefined;
|
|
389
389
|
StreamSummaries?: StreamSummary[] | undefined;
|
|
390
390
|
}
|
|
391
|
+
export interface ListTagsForResourceInput {
|
|
392
|
+
ResourceARN: string | undefined;
|
|
393
|
+
}
|
|
394
|
+
export interface Tag {
|
|
395
|
+
Key: string | undefined;
|
|
396
|
+
Value?: string | undefined;
|
|
397
|
+
}
|
|
398
|
+
export interface ListTagsForResourceOutput {
|
|
399
|
+
Tags?: Tag[] | undefined;
|
|
400
|
+
}
|
|
391
401
|
export interface ListTagsForStreamInput {
|
|
392
402
|
StreamName?: string | undefined;
|
|
393
403
|
ExclusiveStartTagKey?: string | undefined;
|
|
394
404
|
Limit?: number | undefined;
|
|
395
405
|
StreamARN?: string | undefined;
|
|
396
406
|
}
|
|
397
|
-
export interface Tag {
|
|
398
|
-
Key: string | undefined;
|
|
399
|
-
Value?: string | undefined;
|
|
400
|
-
}
|
|
401
407
|
export interface ListTagsForStreamOutput {
|
|
402
408
|
Tags: Tag[] | undefined;
|
|
403
409
|
HasMoreTags: boolean | undefined;
|
|
@@ -456,6 +462,7 @@ export interface PutResourcePolicyInput {
|
|
|
456
462
|
export interface RegisterStreamConsumerInput {
|
|
457
463
|
StreamARN: string | undefined;
|
|
458
464
|
ConsumerName: string | undefined;
|
|
465
|
+
Tags?: Record<string, string> | undefined;
|
|
459
466
|
}
|
|
460
467
|
export interface RegisterStreamConsumerOutput {
|
|
461
468
|
Consumer: Consumer | undefined;
|
|
@@ -676,6 +683,14 @@ export declare namespace SubscribeToShardEventStream {
|
|
|
676
683
|
export interface SubscribeToShardOutput {
|
|
677
684
|
EventStream: AsyncIterable<SubscribeToShardEventStream> | undefined;
|
|
678
685
|
}
|
|
686
|
+
export interface TagResourceInput {
|
|
687
|
+
Tags: Record<string, string> | undefined;
|
|
688
|
+
ResourceARN: string | undefined;
|
|
689
|
+
}
|
|
690
|
+
export interface UntagResourceInput {
|
|
691
|
+
TagKeys: string[] | undefined;
|
|
692
|
+
ResourceARN: string | undefined;
|
|
693
|
+
}
|
|
679
694
|
export declare const ScalingType: {
|
|
680
695
|
readonly UNIFORM_SCALING: "UNIFORM_SCALING";
|
|
681
696
|
};
|
|
@@ -82,6 +82,10 @@ import {
|
|
|
82
82
|
ListStreamsCommandInput,
|
|
83
83
|
ListStreamsCommandOutput,
|
|
84
84
|
} from "../commands/ListStreamsCommand";
|
|
85
|
+
import {
|
|
86
|
+
ListTagsForResourceCommandInput,
|
|
87
|
+
ListTagsForResourceCommandOutput,
|
|
88
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
85
89
|
import {
|
|
86
90
|
ListTagsForStreamCommandInput,
|
|
87
91
|
ListTagsForStreamCommandOutput,
|
|
@@ -126,6 +130,14 @@ import {
|
|
|
126
130
|
SubscribeToShardCommandInput,
|
|
127
131
|
SubscribeToShardCommandOutput,
|
|
128
132
|
} from "../commands/SubscribeToShardCommand";
|
|
133
|
+
import {
|
|
134
|
+
TagResourceCommandInput,
|
|
135
|
+
TagResourceCommandOutput,
|
|
136
|
+
} from "../commands/TagResourceCommand";
|
|
137
|
+
import {
|
|
138
|
+
UntagResourceCommandInput,
|
|
139
|
+
UntagResourceCommandOutput,
|
|
140
|
+
} from "../commands/UntagResourceCommand";
|
|
129
141
|
import {
|
|
130
142
|
UpdateShardCountCommandInput,
|
|
131
143
|
UpdateShardCountCommandOutput,
|
|
@@ -210,6 +222,10 @@ export declare const se_ListStreamsCommand: (
|
|
|
210
222
|
input: ListStreamsCommandInput,
|
|
211
223
|
context: __SerdeContext
|
|
212
224
|
) => Promise<__HttpRequest>;
|
|
225
|
+
export declare const se_ListTagsForResourceCommand: (
|
|
226
|
+
input: ListTagsForResourceCommandInput,
|
|
227
|
+
context: __SerdeContext
|
|
228
|
+
) => Promise<__HttpRequest>;
|
|
213
229
|
export declare const se_ListTagsForStreamCommand: (
|
|
214
230
|
input: ListTagsForStreamCommandInput,
|
|
215
231
|
context: __SerdeContext
|
|
@@ -254,6 +270,14 @@ export declare const se_SubscribeToShardCommand: (
|
|
|
254
270
|
input: SubscribeToShardCommandInput,
|
|
255
271
|
context: __SerdeContext
|
|
256
272
|
) => Promise<__HttpRequest>;
|
|
273
|
+
export declare const se_TagResourceCommand: (
|
|
274
|
+
input: TagResourceCommandInput,
|
|
275
|
+
context: __SerdeContext
|
|
276
|
+
) => Promise<__HttpRequest>;
|
|
277
|
+
export declare const se_UntagResourceCommand: (
|
|
278
|
+
input: UntagResourceCommandInput,
|
|
279
|
+
context: __SerdeContext
|
|
280
|
+
) => Promise<__HttpRequest>;
|
|
257
281
|
export declare const se_UpdateShardCountCommand: (
|
|
258
282
|
input: UpdateShardCountCommandInput,
|
|
259
283
|
context: __SerdeContext
|
|
@@ -338,6 +362,10 @@ export declare const de_ListStreamsCommand: (
|
|
|
338
362
|
output: __HttpResponse,
|
|
339
363
|
context: __SerdeContext
|
|
340
364
|
) => Promise<ListStreamsCommandOutput>;
|
|
365
|
+
export declare const de_ListTagsForResourceCommand: (
|
|
366
|
+
output: __HttpResponse,
|
|
367
|
+
context: __SerdeContext
|
|
368
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
341
369
|
export declare const de_ListTagsForStreamCommand: (
|
|
342
370
|
output: __HttpResponse,
|
|
343
371
|
context: __SerdeContext
|
|
@@ -382,6 +410,14 @@ export declare const de_SubscribeToShardCommand: (
|
|
|
382
410
|
output: __HttpResponse,
|
|
383
411
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
384
412
|
) => Promise<SubscribeToShardCommandOutput>;
|
|
413
|
+
export declare const de_TagResourceCommand: (
|
|
414
|
+
output: __HttpResponse,
|
|
415
|
+
context: __SerdeContext
|
|
416
|
+
) => Promise<TagResourceCommandOutput>;
|
|
417
|
+
export declare const de_UntagResourceCommand: (
|
|
418
|
+
output: __HttpResponse,
|
|
419
|
+
context: __SerdeContext
|
|
420
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
385
421
|
export declare const de_UpdateShardCountCommand: (
|
|
386
422
|
output: __HttpResponse,
|
|
387
423
|
context: __SerdeContext
|
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
8
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
10
|
credentialDefaultProvider:
|
|
10
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
@@ -74,10 +75,6 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
74
75
|
) => import("@smithy/types").EndpointV2;
|
|
75
76
|
tls?: boolean | undefined;
|
|
76
77
|
serviceConfiguredEndpoint?: undefined;
|
|
77
|
-
authSchemePreference?:
|
|
78
|
-
| string[]
|
|
79
|
-
| import("@smithy/types").Provider<string[]>
|
|
80
|
-
| undefined;
|
|
81
78
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
82
79
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider;
|
|
83
80
|
credentials?:
|
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.802.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kinesis",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.799.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.799.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
32
32
|
"@aws-sdk/types": "3.775.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.1.0",
|
|
37
37
|
"@smithy/core": "^3.3.0",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^4.0.2",
|