@aws-sdk/client-kinesis 3.30.0 → 3.34.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/CHANGELOG.md +35 -0
- package/dist/cjs/KinesisClient.js +14 -14
- package/dist/cjs/KinesisClient.js.map +1 -1
- package/dist/cjs/commands/AddTagsToStreamCommand.js +3 -3
- package/dist/cjs/commands/AddTagsToStreamCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStreamCommand.js +3 -3
- package/dist/cjs/commands/CreateStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DecreaseStreamRetentionPeriodCommand.js +3 -3
- package/dist/cjs/commands/DecreaseStreamRetentionPeriodCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStreamCommand.js +3 -3
- package/dist/cjs/commands/DeleteStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterStreamConsumerCommand.js +3 -3
- package/dist/cjs/commands/DeregisterStreamConsumerCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStreamCommand.js +3 -3
- package/dist/cjs/commands/DescribeStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStreamConsumerCommand.js +3 -3
- package/dist/cjs/commands/DescribeStreamConsumerCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStreamSummaryCommand.js +3 -3
- package/dist/cjs/commands/DescribeStreamSummaryCommand.js.map +1 -1
- package/dist/cjs/commands/DisableEnhancedMonitoringCommand.js +3 -3
- package/dist/cjs/commands/DisableEnhancedMonitoringCommand.js.map +1 -1
- package/dist/cjs/commands/EnableEnhancedMonitoringCommand.js +3 -3
- package/dist/cjs/commands/EnableEnhancedMonitoringCommand.js.map +1 -1
- package/dist/cjs/commands/GetRecordsCommand.js +3 -3
- package/dist/cjs/commands/GetRecordsCommand.js.map +1 -1
- package/dist/cjs/commands/GetShardIteratorCommand.js +3 -3
- package/dist/cjs/commands/GetShardIteratorCommand.js.map +1 -1
- package/dist/cjs/commands/IncreaseStreamRetentionPeriodCommand.js +3 -3
- package/dist/cjs/commands/IncreaseStreamRetentionPeriodCommand.js.map +1 -1
- package/dist/cjs/commands/ListShardsCommand.js +3 -3
- package/dist/cjs/commands/ListShardsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStreamConsumersCommand.js +3 -3
- package/dist/cjs/commands/ListStreamConsumersCommand.js.map +1 -1
- package/dist/cjs/commands/ListStreamsCommand.js +3 -3
- package/dist/cjs/commands/ListStreamsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForStreamCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForStreamCommand.js.map +1 -1
- package/dist/cjs/commands/MergeShardsCommand.js +3 -3
- package/dist/cjs/commands/MergeShardsCommand.js.map +1 -1
- package/dist/cjs/commands/PutRecordCommand.js +3 -3
- package/dist/cjs/commands/PutRecordCommand.js.map +1 -1
- package/dist/cjs/commands/PutRecordsCommand.js +3 -3
- package/dist/cjs/commands/PutRecordsCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterStreamConsumerCommand.js +3 -3
- package/dist/cjs/commands/RegisterStreamConsumerCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsFromStreamCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsFromStreamCommand.js.map +1 -1
- package/dist/cjs/commands/SplitShardCommand.js +3 -3
- package/dist/cjs/commands/SplitShardCommand.js.map +1 -1
- package/dist/cjs/commands/StartStreamEncryptionCommand.js +3 -3
- package/dist/cjs/commands/StartStreamEncryptionCommand.js.map +1 -1
- package/dist/cjs/commands/StopStreamEncryptionCommand.js +3 -3
- package/dist/cjs/commands/StopStreamEncryptionCommand.js.map +1 -1
- package/dist/cjs/commands/SubscribeToShardCommand.js +3 -3
- package/dist/cjs/commands/SubscribeToShardCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateShardCountCommand.js +3 -3
- package/dist/cjs/commands/UpdateShardCountCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +35 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +43 -43
- package/dist/cjs/protocols/Aws_json1_1.js +82 -82
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForStreamExists.js +3 -3
- package/dist/cjs/waiters/waitForStreamExists.js.map +1 -1
- package/dist/cjs/waiters/waitForStreamNotExists.js +3 -3
- package/dist/cjs/waiters/waitForStreamNotExists.js.map +1 -1
- package/dist/es/Kinesis.js +1 -6
- package/dist/es/Kinesis.js.map +1 -1
- package/dist/es/KinesisClient.js +1 -11
- package/dist/es/KinesisClient.js.map +1 -1
- package/dist/es/commands/AddTagsToStreamCommand.js +2 -35
- package/dist/es/commands/AddTagsToStreamCommand.js.map +1 -1
- package/dist/es/commands/CreateStreamCommand.js +2 -67
- package/dist/es/commands/CreateStreamCommand.js.map +1 -1
- package/dist/es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -32
- package/dist/es/commands/DecreaseStreamRetentionPeriodCommand.js.map +1 -1
- package/dist/es/commands/DeleteStreamCommand.js +2 -45
- package/dist/es/commands/DeleteStreamCommand.js.map +1 -1
- package/dist/es/commands/DeregisterStreamConsumerCommand.js +2 -34
- package/dist/es/commands/DeregisterStreamConsumerCommand.js.map +1 -1
- package/dist/es/commands/DescribeLimitsCommand.js +2 -30
- package/dist/es/commands/DescribeLimitsCommand.js.map +1 -1
- package/dist/es/commands/DescribeStreamCommand.js +2 -43
- package/dist/es/commands/DescribeStreamCommand.js.map +1 -1
- package/dist/es/commands/DescribeStreamConsumerCommand.js +2 -34
- package/dist/es/commands/DescribeStreamConsumerCommand.js.map +1 -1
- package/dist/es/commands/DescribeStreamSummaryCommand.js +2 -34
- package/dist/es/commands/DescribeStreamSummaryCommand.js.map +1 -1
- package/dist/es/commands/DisableEnhancedMonitoringCommand.js +2 -27
- package/dist/es/commands/DisableEnhancedMonitoringCommand.js.map +1 -1
- package/dist/es/commands/EnableEnhancedMonitoringCommand.js +2 -27
- package/dist/es/commands/EnableEnhancedMonitoringCommand.js.map +1 -1
- package/dist/es/commands/GetRecordsCommand.js +2 -73
- package/dist/es/commands/GetRecordsCommand.js.map +1 -1
- package/dist/es/commands/GetShardIteratorCommand.js +2 -60
- package/dist/es/commands/GetShardIteratorCommand.js.map +1 -1
- package/dist/es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -35
- package/dist/es/commands/IncreaseStreamRetentionPeriodCommand.js.map +1 -1
- package/dist/es/commands/ListShardsCommand.js +2 -35
- package/dist/es/commands/ListShardsCommand.js.map +1 -1
- package/dist/es/commands/ListStreamConsumersCommand.js +2 -29
- package/dist/es/commands/ListStreamConsumersCommand.js.map +1 -1
- package/dist/es/commands/ListStreamsCommand.js +2 -42
- package/dist/es/commands/ListStreamsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForStreamCommand.js +2 -28
- package/dist/es/commands/ListTagsForStreamCommand.js.map +1 -1
- package/dist/es/commands/MergeShardsCommand.js +2 -62
- package/dist/es/commands/MergeShardsCommand.js.map +1 -1
- package/dist/es/commands/PutRecordCommand.js +2 -62
- package/dist/es/commands/PutRecordCommand.js.map +1 -1
- package/dist/es/commands/PutRecordsCommand.js +2 -82
- package/dist/es/commands/PutRecordsCommand.js.map +1 -1
- package/dist/es/commands/RegisterStreamConsumerCommand.js +2 -40
- package/dist/es/commands/RegisterStreamConsumerCommand.js.map +1 -1
- package/dist/es/commands/RemoveTagsFromStreamCommand.js +2 -32
- package/dist/es/commands/RemoveTagsFromStreamCommand.js.map +1 -1
- package/dist/es/commands/SplitShardCommand.js +2 -68
- package/dist/es/commands/SplitShardCommand.js.map +1 -1
- package/dist/es/commands/StartStreamEncryptionCommand.js +2 -42
- package/dist/es/commands/StartStreamEncryptionCommand.js.map +1 -1
- package/dist/es/commands/StopStreamEncryptionCommand.js +2 -42
- package/dist/es/commands/StopStreamEncryptionCommand.js.map +1 -1
- package/dist/es/commands/SubscribeToShardCommand.js +2 -48
- package/dist/es/commands/SubscribeToShardCommand.js.map +1 -1
- package/dist/es/commands/UpdateShardCountCommand.js +2 -70
- package/dist/es/commands/UpdateShardCountCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -225
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +43 -43
- package/dist/es/pagination/ListStreamConsumersPaginator.js +16 -28
- package/dist/es/pagination/ListStreamConsumersPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +698 -703
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForStreamExists.js +8 -17
- package/dist/es/waiters/waitForStreamExists.js.map +1 -1
- package/dist/es/waiters/waitForStreamNotExists.js +8 -17
- package/dist/es/waiters/waitForStreamNotExists.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +43 -43
- package/protocols/Aws_json1_1.ts +10 -6
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,40 +3,13 @@ import { ListStreamConsumersInput, ListStreamConsumersOutput } from "../models/m
|
|
|
3
3
|
import { deserializeAws_json1_1ListStreamConsumersCommand, serializeAws_json1_1ListStreamConsumersCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists the consumers registered to receive data from a stream using enhanced fan-out,
|
|
8
|
-
* and provides information about each consumer.</p>
|
|
9
|
-
* <p>This operation has a limit of 5 transactions per second per stream.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { KinesisClient, ListStreamConsumersCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
14
|
-
* // const { KinesisClient, ListStreamConsumersCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
15
|
-
* const client = new KinesisClient(config);
|
|
16
|
-
* const command = new ListStreamConsumersCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListStreamConsumersCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListStreamConsumersCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var ListStreamConsumersCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListStreamConsumersCommand = (function (_super) {
|
|
26
7
|
__extends(ListStreamConsumersCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function ListStreamConsumersCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
ListStreamConsumersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListStreamConsumersCommand.js","sourceRoot":"","sources":["../../../commands/ListStreamConsumersCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListStreamConsumersCommand.js","sourceRoot":"","sources":["../../../commands/ListStreamConsumersCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,53 +3,13 @@ import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1ListStreamsCommand, serializeAws_json1_1ListStreamsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists your Kinesis data streams.</p>
|
|
8
|
-
* <p>The number of streams may be too large to return from a single call to
|
|
9
|
-
* <code>ListStreams</code>. You can limit the number of returned streams using the
|
|
10
|
-
* <code>Limit</code> parameter. If you do not specify a value for the
|
|
11
|
-
* <code>Limit</code> parameter, Kinesis Data Streams uses the default limit, which is
|
|
12
|
-
* currently 10.</p>
|
|
13
|
-
* <p>You can detect if there are more streams available to list by using the
|
|
14
|
-
* <code>HasMoreStreams</code> flag from the returned output. If there are more streams
|
|
15
|
-
* available, you can request more streams by using the name of the last stream returned by
|
|
16
|
-
* the <code>ListStreams</code> request in the <code>ExclusiveStartStreamName</code>
|
|
17
|
-
* parameter in a subsequent request to <code>ListStreams</code>. The group of stream names
|
|
18
|
-
* returned by the subsequent request is then added to the list. You can continue this
|
|
19
|
-
* process until all the stream names have been collected in the list. </p>
|
|
20
|
-
* <p>
|
|
21
|
-
* <a>ListStreams</a> has a limit of five transactions per second per
|
|
22
|
-
* account.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { KinesisClient, ListStreamsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
27
|
-
* // const { KinesisClient, ListStreamsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
28
|
-
* const client = new KinesisClient(config);
|
|
29
|
-
* const command = new ListStreamsCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link ListStreamsCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link ListStreamsCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
var ListStreamsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListStreamsCommand = (function (_super) {
|
|
39
7
|
__extends(ListStreamsCommand, _super);
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
8
|
function ListStreamsCommand(input) {
|
|
43
|
-
var _this =
|
|
44
|
-
// Start section: command_constructor
|
|
45
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
46
10
|
_this.input = input;
|
|
47
11
|
return _this;
|
|
48
|
-
// End section: command_constructor
|
|
49
12
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
13
|
ListStreamsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
54
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListStreamsCommand.js","sourceRoot":"","sources":["../../../commands/ListStreamsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListStreamsCommand.js","sourceRoot":"","sources":["../../../commands/ListStreamsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA8C7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,39 +3,13 @@ import { ListTagsForStreamInput, ListTagsForStreamOutput } from "../models/model
|
|
|
3
3
|
import { deserializeAws_json1_1ListTagsForStreamCommand, serializeAws_json1_1ListTagsForStreamCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists the tags for the specified Kinesis data stream. This operation has a limit of
|
|
8
|
-
* five transactions per second per account.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { KinesisClient, ListTagsForStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
13
|
-
* // const { KinesisClient, ListTagsForStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
14
|
-
* const client = new KinesisClient(config);
|
|
15
|
-
* const command = new ListTagsForStreamCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link ListTagsForStreamCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link ListTagsForStreamCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var ListTagsForStreamCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListTagsForStreamCommand = (function (_super) {
|
|
25
7
|
__extends(ListTagsForStreamCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function ListTagsForStreamCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
ListTagsForStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListTagsForStreamCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForStreamCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListTagsForStreamCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForStreamCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgC7D;IAA8C,4CAI7C;IAIC,kCAAqB,KAAoC;QAAzD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;IAIzD,CAAC;IAKD,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sBAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,uBAAuB,CAAC,kBAAkB;SACrE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
|
|
@@ -3,73 +3,13 @@ import { MergeShardsInput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1MergeShardsCommand, serializeAws_json1_1MergeShardsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Merges two adjacent shards in a Kinesis data stream and combines them into a single
|
|
8
|
-
* shard to reduce the stream's capacity to ingest and transport data. Two shards are
|
|
9
|
-
* considered adjacent if the union of the hash key ranges for the two shards form a
|
|
10
|
-
* contiguous set with no gaps. For example, if you have two shards, one with a hash key
|
|
11
|
-
* range of 276...381 and the other with a hash key range of 382...454, then you could
|
|
12
|
-
* merge these two shards into a single shard that would have a hash key range of
|
|
13
|
-
* 276...454. After the merge, the single child shard receives data for all hash key values
|
|
14
|
-
* covered by the two parent shards.</p>
|
|
15
|
-
* <p>
|
|
16
|
-
* <code>MergeShards</code> is called when there is a need to reduce the overall capacity
|
|
17
|
-
* of a stream because of excess capacity that is not being used. You must specify the
|
|
18
|
-
* shard to be merged and the adjacent shard for a stream. For more information about
|
|
19
|
-
* merging shards, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-merge.html">Merge Two
|
|
20
|
-
* Shards</a> in the <i>Amazon Kinesis Data Streams Developer
|
|
21
|
-
* Guide</i>.</p>
|
|
22
|
-
* <p>If the stream is in the <code>ACTIVE</code> state, you can call
|
|
23
|
-
* <code>MergeShards</code>. If a stream is in the <code>CREATING</code>,
|
|
24
|
-
* <code>UPDATING</code>, or <code>DELETING</code> state, <code>MergeShards</code>
|
|
25
|
-
* returns a <code>ResourceInUseException</code>. If the specified stream does not exist,
|
|
26
|
-
* <code>MergeShards</code> returns a <code>ResourceNotFoundException</code>. </p>
|
|
27
|
-
* <p>You can use <a>DescribeStream</a> to check the state of the stream,
|
|
28
|
-
* which is returned in <code>StreamStatus</code>.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <code>MergeShards</code> is an asynchronous operation. Upon receiving a
|
|
31
|
-
* <code>MergeShards</code> request, Amazon Kinesis Data Streams immediately returns a
|
|
32
|
-
* response and sets the <code>StreamStatus</code> to <code>UPDATING</code>. After the
|
|
33
|
-
* operation is completed, Kinesis Data Streams sets the <code>StreamStatus</code> to
|
|
34
|
-
* <code>ACTIVE</code>. Read and write operations continue to work while the stream is
|
|
35
|
-
* in the <code>UPDATING</code> state. </p>
|
|
36
|
-
* <p>You use <a>DescribeStream</a> to determine the shard IDs that are
|
|
37
|
-
* specified in the <code>MergeShards</code> request. </p>
|
|
38
|
-
* <p>If you try to operate on too many streams in parallel using <a>CreateStream</a>, <a>DeleteStream</a>, <code>MergeShards</code>,
|
|
39
|
-
* or <a>SplitShard</a>, you receive a <code>LimitExceededException</code>. </p>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>MergeShards</code> has a limit of five transactions per second per
|
|
42
|
-
* account.</p>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { KinesisClient, MergeShardsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
47
|
-
* // const { KinesisClient, MergeShardsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
48
|
-
* const client = new KinesisClient(config);
|
|
49
|
-
* const command = new MergeShardsCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link MergeShardsCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link MergeShardsCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
var MergeShardsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergeShardsCommand = (function (_super) {
|
|
59
7
|
__extends(MergeShardsCommand, _super);
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
8
|
function MergeShardsCommand(input) {
|
|
63
|
-
var _this =
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
66
10
|
_this.input = input;
|
|
67
11
|
return _this;
|
|
68
|
-
// End section: command_constructor
|
|
69
12
|
}
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
13
|
MergeShardsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
74
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MergeShardsCommand.js","sourceRoot":"","sources":["../../../commands/MergeShardsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"MergeShardsCommand.js","sourceRoot":"","sources":["../../../commands/MergeShardsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkE7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,73 +3,13 @@ import { PutRecordInput, PutRecordOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1PutRecordCommand, serializeAws_json1_1PutRecordCommand } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Writes a single data record into an Amazon Kinesis data stream. Call
|
|
8
|
-
* <code>PutRecord</code> to send data into the stream for real-time ingestion and
|
|
9
|
-
* subsequent processing, one record at a time. Each shard can support writes up to 1,000
|
|
10
|
-
* records per second, up to a maximum data write total of 1 MiB per second.</p>
|
|
11
|
-
* <p>You must specify the name of the stream that captures, stores, and transports the
|
|
12
|
-
* data; a partition key; and the data blob itself.</p>
|
|
13
|
-
* <p>The data blob can be any type of data; for example, a segment from a log file,
|
|
14
|
-
* geographic/location data, website clickstream data, and so on.</p>
|
|
15
|
-
* <p>The partition key is used by Kinesis Data Streams to distribute data across shards.
|
|
16
|
-
* Kinesis Data Streams segregates the data records that belong to a stream into multiple
|
|
17
|
-
* shards, using the partition key associated with each data record to determine the shard
|
|
18
|
-
* to which a given data record belongs.</p>
|
|
19
|
-
* <p>Partition keys are Unicode strings, with a maximum length limit of 256 characters
|
|
20
|
-
* for each key. An MD5 hash function is used to map partition keys to 128-bit integer
|
|
21
|
-
* values and to map associated data records to shards using the hash key ranges of the
|
|
22
|
-
* shards. You can override hashing the partition key to determine the shard by explicitly
|
|
23
|
-
* specifying a hash value using the <code>ExplicitHashKey</code> parameter. For more
|
|
24
|
-
* information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream">Adding Data to a Stream</a> in the <i>Amazon Kinesis Data Streams
|
|
25
|
-
* Developer Guide</i>.</p>
|
|
26
|
-
* <p>
|
|
27
|
-
* <code>PutRecord</code> returns the shard ID of where the data record was placed and the
|
|
28
|
-
* sequence number that was assigned to the data record.</p>
|
|
29
|
-
* <p>Sequence numbers increase over time and are specific to a shard within a stream,
|
|
30
|
-
* not across all shards within a stream. To guarantee strictly increasing ordering, write
|
|
31
|
-
* serially to a shard and use the <code>SequenceNumberForOrdering</code> parameter. For
|
|
32
|
-
* more information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream">Adding Data to a Stream</a> in the <i>Amazon Kinesis Data Streams
|
|
33
|
-
* Developer Guide</i>.</p>
|
|
34
|
-
* <important>
|
|
35
|
-
* <p>After you write a record to a stream, you cannot modify that record or its order
|
|
36
|
-
* within the stream.</p>
|
|
37
|
-
* </important>
|
|
38
|
-
* <p>If a <code>PutRecord</code> request cannot be processed because of insufficient
|
|
39
|
-
* provisioned throughput on the shard involved in the request, <code>PutRecord</code>
|
|
40
|
-
* throws <code>ProvisionedThroughputExceededException</code>. </p>
|
|
41
|
-
* <p>By default, data records are accessible for 24 hours from the time that they are
|
|
42
|
-
* added to a stream. You can use <a>IncreaseStreamRetentionPeriod</a> or <a>DecreaseStreamRetentionPeriod</a> to modify this retention period.</p>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { KinesisClient, PutRecordCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
47
|
-
* // const { KinesisClient, PutRecordCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
48
|
-
* const client = new KinesisClient(config);
|
|
49
|
-
* const command = new PutRecordCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link PutRecordCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link PutRecordCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
var PutRecordCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutRecordCommand = (function (_super) {
|
|
59
7
|
__extends(PutRecordCommand, _super);
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
8
|
function PutRecordCommand(input) {
|
|
63
|
-
var _this =
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
66
10
|
_this.input = input;
|
|
67
11
|
return _this;
|
|
68
|
-
// End section: command_constructor
|
|
69
12
|
}
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
13
|
PutRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
74
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutRecordCommand.js","sourceRoot":"","sources":["../../../commands/PutRecordCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutRecordCommand.js","sourceRoot":"","sources":["../../../commands/PutRecordCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkE7D;IAAsC,oCAIrC;IAIC,0BAAqB,KAA4B;QAAjD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;IAIjD,CAAC;IAKD,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,cAAc,CAAC,kBAAkB;YAC1D,wBAAwB,EAAE,eAAe,CAAC,kBAAkB;SAC7D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -3,93 +3,13 @@ import { PutRecordsInput, PutRecordsOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1PutRecordsCommand, serializeAws_json1_1PutRecordsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Writes multiple data records into a Kinesis data stream in a single call (also
|
|
8
|
-
* referred to as a <code>PutRecords</code> request). Use this operation to send data into
|
|
9
|
-
* the stream for data ingestion and processing. </p>
|
|
10
|
-
* <p>Each <code>PutRecords</code> request can support up to 500 records. Each record in
|
|
11
|
-
* the request can be as large as 1 MiB, up to a limit of 5 MiB for the entire request,
|
|
12
|
-
* including partition keys. Each shard can support writes up to 1,000 records per second,
|
|
13
|
-
* up to a maximum data write total of 1 MiB per second.</p>
|
|
14
|
-
* <p>You must specify the name of the stream that captures, stores, and transports the
|
|
15
|
-
* data; and an array of request <code>Records</code>, with each record in the array
|
|
16
|
-
* requiring a partition key and data blob. The record size limit applies to the total size
|
|
17
|
-
* of the partition key and data blob.</p>
|
|
18
|
-
* <p>The data blob can be any type of data; for example, a segment from a log file,
|
|
19
|
-
* geographic/location data, website clickstream data, and so on.</p>
|
|
20
|
-
* <p>The partition key is used by Kinesis Data Streams as input to a hash function that
|
|
21
|
-
* maps the partition key and associated data to a specific shard. An MD5 hash function is
|
|
22
|
-
* used to map partition keys to 128-bit integer values and to map associated data records
|
|
23
|
-
* to shards. As a result of this hashing mechanism, all data records with the same
|
|
24
|
-
* partition key map to the same shard within the stream. For more information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream">Adding Data to a Stream</a> in the <i>Amazon Kinesis Data Streams
|
|
25
|
-
* Developer Guide</i>.</p>
|
|
26
|
-
* <p>Each record in the <code>Records</code> array may include an optional parameter,
|
|
27
|
-
* <code>ExplicitHashKey</code>, which overrides the partition key to shard mapping.
|
|
28
|
-
* This parameter allows a data producer to determine explicitly the shard where the record
|
|
29
|
-
* is stored. For more information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-putrecords">Adding Multiple Records with PutRecords</a> in the <i>Amazon Kinesis
|
|
30
|
-
* Data Streams Developer Guide</i>.</p>
|
|
31
|
-
* <p>The <code>PutRecords</code> response includes an array of response
|
|
32
|
-
* <code>Records</code>. Each record in the response array directly correlates with a
|
|
33
|
-
* record in the request array using natural ordering, from the top to the bottom of the
|
|
34
|
-
* request and response. The response <code>Records</code> array always includes the same
|
|
35
|
-
* number of records as the request array.</p>
|
|
36
|
-
* <p>The response <code>Records</code> array includes both successfully and
|
|
37
|
-
* unsuccessfully processed records. Kinesis Data Streams attempts to process all records
|
|
38
|
-
* in each <code>PutRecords</code> request. A single record failure does not stop the
|
|
39
|
-
* processing of subsequent records. As a result, PutRecords doesn't guarantee the ordering
|
|
40
|
-
* of records. If you need to read records in the same order they are written to the
|
|
41
|
-
* stream, use <a>PutRecord</a> instead of <code>PutRecords</code>, and write to
|
|
42
|
-
* the same shard.</p>
|
|
43
|
-
* <p>A successfully processed record includes <code>ShardId</code> and
|
|
44
|
-
* <code>SequenceNumber</code> values. The <code>ShardId</code> parameter identifies
|
|
45
|
-
* the shard in the stream where the record is stored. The <code>SequenceNumber</code>
|
|
46
|
-
* parameter is an identifier assigned to the put record, unique to all records in the
|
|
47
|
-
* stream.</p>
|
|
48
|
-
* <p>An unsuccessfully processed record includes <code>ErrorCode</code> and
|
|
49
|
-
* <code>ErrorMessage</code> values. <code>ErrorCode</code> reflects the type of error
|
|
50
|
-
* and can be one of the following values:
|
|
51
|
-
* <code>ProvisionedThroughputExceededException</code> or <code>InternalFailure</code>.
|
|
52
|
-
* <code>ErrorMessage</code> provides more detailed information about the
|
|
53
|
-
* <code>ProvisionedThroughputExceededException</code> exception including the account
|
|
54
|
-
* ID, stream name, and shard ID of the record that was throttled. For more information
|
|
55
|
-
* about partially successful responses, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-add-data-to-stream.html#kinesis-using-sdk-java-putrecords">Adding Multiple Records with PutRecords</a> in the <i>Amazon Kinesis
|
|
56
|
-
* Data Streams Developer Guide</i>.</p>
|
|
57
|
-
* <important>
|
|
58
|
-
* <p>After you write a record to a stream, you cannot modify that record or its order
|
|
59
|
-
* within the stream.</p>
|
|
60
|
-
* </important>
|
|
61
|
-
* <p>By default, data records are accessible for 24 hours from the time that they are
|
|
62
|
-
* added to a stream. You can use <a>IncreaseStreamRetentionPeriod</a> or <a>DecreaseStreamRetentionPeriod</a> to modify this retention period.</p>
|
|
63
|
-
* @example
|
|
64
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
65
|
-
* ```javascript
|
|
66
|
-
* import { KinesisClient, PutRecordsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
67
|
-
* // const { KinesisClient, PutRecordsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
68
|
-
* const client = new KinesisClient(config);
|
|
69
|
-
* const command = new PutRecordsCommand(input);
|
|
70
|
-
* const response = await client.send(command);
|
|
71
|
-
* ```
|
|
72
|
-
*
|
|
73
|
-
* @see {@link PutRecordsCommandInput} for command's `input` shape.
|
|
74
|
-
* @see {@link PutRecordsCommandOutput} for command's `response` shape.
|
|
75
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
var PutRecordsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutRecordsCommand = (function (_super) {
|
|
79
7
|
__extends(PutRecordsCommand, _super);
|
|
80
|
-
// Start section: command_properties
|
|
81
|
-
// End section: command_properties
|
|
82
8
|
function PutRecordsCommand(input) {
|
|
83
|
-
var _this =
|
|
84
|
-
// Start section: command_constructor
|
|
85
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
86
10
|
_this.input = input;
|
|
87
11
|
return _this;
|
|
88
|
-
// End section: command_constructor
|
|
89
12
|
}
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
13
|
PutRecordsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
94
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
95
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutRecordsCommand.js","sourceRoot":"","sources":["../../../commands/PutRecordsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutRecordsCommand.js","sourceRoot":"","sources":["../../../commands/PutRecordsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsF7D;IAAuC,qCAItC;IAIC,2BAAqB,KAA6B;QAAlD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;IAIlD,CAAC;IAKD,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,eAAe,CAAC,kBAAkB;YAC3D,wBAAwB,EAAE,gBAAgB,CAAC,kBAAkB;SAC9D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
|
|
@@ -3,51 +3,13 @@ import { RegisterStreamConsumerInput, RegisterStreamConsumerOutput } from "../mo
|
|
|
3
3
|
import { deserializeAws_json1_1RegisterStreamConsumerCommand, serializeAws_json1_1RegisterStreamConsumerCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Registers a consumer with a Kinesis data stream. When you use this operation, the
|
|
8
|
-
* consumer you register can then call <a>SubscribeToShard</a> to receive data
|
|
9
|
-
* from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every
|
|
10
|
-
* shard you subscribe to. This rate is unaffected by the total number of consumers that
|
|
11
|
-
* read from the same stream.</p>
|
|
12
|
-
* <p>You can register up to 20 consumers per stream. A given consumer can only be
|
|
13
|
-
* registered with one stream at a time.</p>
|
|
14
|
-
* <p>For an example of how to use this operations, see <a href="/streams/latest/dev/building-enhanced-consumers-api.html">Enhanced Fan-Out
|
|
15
|
-
* Using the Kinesis Data Streams API</a>.</p>
|
|
16
|
-
* <p>The use of this operation has a limit of five transactions per second per account.
|
|
17
|
-
* Also, only 5 consumers can be created simultaneously. In other words, you cannot have
|
|
18
|
-
* more than 5 consumers in a <code>CREATING</code> status at the same time. Registering a
|
|
19
|
-
* 6th consumer while there are 5 in a <code>CREATING</code> status results in a
|
|
20
|
-
* <code>LimitExceededException</code>.</p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { KinesisClient, RegisterStreamConsumerCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
25
|
-
* // const { KinesisClient, RegisterStreamConsumerCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
26
|
-
* const client = new KinesisClient(config);
|
|
27
|
-
* const command = new RegisterStreamConsumerCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link RegisterStreamConsumerCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link RegisterStreamConsumerCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
var RegisterStreamConsumerCommand = /** @class */ (function (_super) {
|
|
6
|
+
var RegisterStreamConsumerCommand = (function (_super) {
|
|
37
7
|
__extends(RegisterStreamConsumerCommand, _super);
|
|
38
|
-
// Start section: command_properties
|
|
39
|
-
// End section: command_properties
|
|
40
8
|
function RegisterStreamConsumerCommand(input) {
|
|
41
|
-
var _this =
|
|
42
|
-
// Start section: command_constructor
|
|
43
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
44
10
|
_this.input = input;
|
|
45
11
|
return _this;
|
|
46
|
-
// End section: command_constructor
|
|
47
12
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
13
|
RegisterStreamConsumerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
52
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
53
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterStreamConsumerCommand.js","sourceRoot":"","sources":["../../../commands/RegisterStreamConsumerCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"RegisterStreamConsumerCommand.js","sourceRoot":"","sources":["../../../commands/RegisterStreamConsumerCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA4C7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
|
@@ -3,43 +3,13 @@ import { RemoveTagsFromStreamInput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1RemoveTagsFromStreamCommand, serializeAws_json1_1RemoveTagsFromStreamCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Removes tags from the specified Kinesis data stream. Removed tags are deleted and
|
|
8
|
-
* cannot be recovered after this operation successfully completes.</p>
|
|
9
|
-
* <p>If you specify a tag that does not exist, it is ignored.</p>
|
|
10
|
-
* <p>
|
|
11
|
-
* <a>RemoveTagsFromStream</a> has a limit of five transactions per second per
|
|
12
|
-
* account.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { KinesisClient, RemoveTagsFromStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
17
|
-
* // const { KinesisClient, RemoveTagsFromStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
18
|
-
* const client = new KinesisClient(config);
|
|
19
|
-
* const command = new RemoveTagsFromStreamCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link RemoveTagsFromStreamCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link RemoveTagsFromStreamCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var RemoveTagsFromStreamCommand = /** @class */ (function (_super) {
|
|
6
|
+
var RemoveTagsFromStreamCommand = (function (_super) {
|
|
29
7
|
__extends(RemoveTagsFromStreamCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function RemoveTagsFromStreamCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
RemoveTagsFromStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemoveTagsFromStreamCommand.js","sourceRoot":"","sources":["../../../commands/RemoveTagsFromStreamCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"RemoveTagsFromStreamCommand.js","sourceRoot":"","sources":["../../../commands/RemoveTagsFromStreamCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAoC7D;IAAiD,+CAIhD;IAIC,qCAAqB,KAAuC;QAA5D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;IAI5D,CAAC;IAKD,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA0C,EAC1C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
|