@aws-sdk/client-kinesis 3.654.0 → 3.658.1
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/dist-types/commands/CreateStreamCommand.d.ts +8 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +1 -1
- package/dist-types/commands/SubscribeToShardCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +12 -12
|
@@ -71,6 +71,11 @@ declare const CreateStreamCommand_base: {
|
|
|
71
71
|
* <p>
|
|
72
72
|
* <a>CreateStream</a> has a limit of five transactions per second per
|
|
73
73
|
* account.</p>
|
|
74
|
+
* <p>You can add tags to the stream when making a <code>CreateStream</code> request by
|
|
75
|
+
* setting the <code>Tags</code> parameter. If you pass <code>Tags</code> parameter, in
|
|
76
|
+
* addition to having <code>kinesis:createStream</code> permission, you must also have
|
|
77
|
+
* <code>kinesis:addTagsToStream</code> permission for the stream that will be created.
|
|
78
|
+
* Tags will take effect from the <code>CREATING</code> status of the stream. </p>
|
|
74
79
|
* @example
|
|
75
80
|
* Use a bare-bones client and the command you need to make an API call.
|
|
76
81
|
* ```javascript
|
|
@@ -83,6 +88,9 @@ declare const CreateStreamCommand_base: {
|
|
|
83
88
|
* StreamModeDetails: { // StreamModeDetails
|
|
84
89
|
* StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
85
90
|
* },
|
|
91
|
+
* Tags: { // TagMap
|
|
92
|
+
* "<keys>": "STRING_VALUE",
|
|
93
|
+
* },
|
|
86
94
|
* };
|
|
87
95
|
* const command = new CreateStreamCommand(input);
|
|
88
96
|
* const response = await client.send(command);
|
|
@@ -73,6 +73,10 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
73
73
|
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
74
74
|
* stream requests exceeds the maximum number allowed. </p>
|
|
75
75
|
*
|
|
76
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
77
|
+
* <p>The resource is not available for this operation. For successful operation, the
|
|
78
|
+
* resource must be in the <code>ACTIVE</code> state.</p>
|
|
79
|
+
*
|
|
76
80
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
81
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
78
82
|
* correctly.</p>
|
|
@@ -34,7 +34,7 @@ declare const RegisterStreamConsumerCommand_base: {
|
|
|
34
34
|
* read from the same stream.</p>
|
|
35
35
|
* <p>You can register up to 20 consumers per stream. A given consumer can only be
|
|
36
36
|
* registered with one stream at a time.</p>
|
|
37
|
-
* <p>For an example of how to use this
|
|
37
|
+
* <p>For an example of how to use this operation, see <a href="https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html">Enhanced Fan-Out
|
|
38
38
|
* Using the Kinesis Data Streams API</a>.</p>
|
|
39
39
|
* <p>The use of this operation has a limit of five transactions per second per account.
|
|
40
40
|
* Also, only 5 consumers can be created simultaneously. In other words, you cannot have
|
|
@@ -48,7 +48,7 @@ declare const SubscribeToShardCommand_base: {
|
|
|
48
48
|
* seconds or more after a successful call, the second call takes over the subscription and
|
|
49
49
|
* the previous connection expires or fails with a
|
|
50
50
|
* <code>ResourceInUseException</code>.</p>
|
|
51
|
-
* <p>For an example of how to use this
|
|
51
|
+
* <p>For an example of how to use this operation, see <a href="https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html">Enhanced Fan-Out
|
|
52
52
|
* Using the Kinesis Data Streams API</a>.</p>
|
|
53
53
|
* @example
|
|
54
54
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -263,6 +263,11 @@ export interface CreateStreamInput {
|
|
|
263
263
|
* @public
|
|
264
264
|
*/
|
|
265
265
|
StreamModeDetails?: StreamModeDetails;
|
|
266
|
+
/**
|
|
267
|
+
* <p>A set of up to 10 key-value pairs to use to create the tags.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
Tags?: Record<string, string>;
|
|
266
271
|
}
|
|
267
272
|
/**
|
|
268
273
|
* <p>Represents the input for <a>DecreaseStreamRetentionPeriod</a>.</p>
|
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.658.1",
|
|
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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
25
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
26
|
+
"@aws-sdk/core": "3.658.1",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -35,29 +35,29 @@
|
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.8",
|
|
38
|
-
"@smithy/core": "^2.4.
|
|
38
|
+
"@smithy/core": "^2.4.6",
|
|
39
39
|
"@smithy/eventstream-serde-browser": "^3.0.9",
|
|
40
40
|
"@smithy/eventstream-serde-config-resolver": "^3.0.6",
|
|
41
41
|
"@smithy/eventstream-serde-node": "^3.0.8",
|
|
42
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
42
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
43
43
|
"@smithy/hash-node": "^3.0.6",
|
|
44
44
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
45
45
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
46
46
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
47
|
-
"@smithy/middleware-retry": "^3.0.
|
|
47
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
48
48
|
"@smithy/middleware-serde": "^3.0.6",
|
|
49
49
|
"@smithy/middleware-stack": "^3.0.6",
|
|
50
50
|
"@smithy/node-config-provider": "^3.1.7",
|
|
51
|
-
"@smithy/node-http-handler": "^3.2.
|
|
51
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
52
52
|
"@smithy/protocol-http": "^4.1.3",
|
|
53
|
-
"@smithy/smithy-client": "^3.3.
|
|
53
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
54
54
|
"@smithy/types": "^3.4.2",
|
|
55
55
|
"@smithy/url-parser": "^3.0.6",
|
|
56
56
|
"@smithy/util-base64": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
58
58
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
61
61
|
"@smithy/util-endpoints": "^2.1.2",
|
|
62
62
|
"@smithy/util-middleware": "^3.0.6",
|
|
63
63
|
"@smithy/util-retry": "^3.0.6",
|