@aws-sdk/client-kinesis 3.33.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.
Files changed (87) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/package.json +42 -42
  3. package/dist/es/Kinesis.js +1 -6
  4. package/dist/es/Kinesis.js.map +1 -1
  5. package/dist/es/KinesisClient.js +1 -11
  6. package/dist/es/KinesisClient.js.map +1 -1
  7. package/dist/es/commands/AddTagsToStreamCommand.js +2 -35
  8. package/dist/es/commands/AddTagsToStreamCommand.js.map +1 -1
  9. package/dist/es/commands/CreateStreamCommand.js +2 -67
  10. package/dist/es/commands/CreateStreamCommand.js.map +1 -1
  11. package/dist/es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -32
  12. package/dist/es/commands/DecreaseStreamRetentionPeriodCommand.js.map +1 -1
  13. package/dist/es/commands/DeleteStreamCommand.js +2 -45
  14. package/dist/es/commands/DeleteStreamCommand.js.map +1 -1
  15. package/dist/es/commands/DeregisterStreamConsumerCommand.js +2 -34
  16. package/dist/es/commands/DeregisterStreamConsumerCommand.js.map +1 -1
  17. package/dist/es/commands/DescribeLimitsCommand.js +2 -30
  18. package/dist/es/commands/DescribeLimitsCommand.js.map +1 -1
  19. package/dist/es/commands/DescribeStreamCommand.js +2 -43
  20. package/dist/es/commands/DescribeStreamCommand.js.map +1 -1
  21. package/dist/es/commands/DescribeStreamConsumerCommand.js +2 -34
  22. package/dist/es/commands/DescribeStreamConsumerCommand.js.map +1 -1
  23. package/dist/es/commands/DescribeStreamSummaryCommand.js +2 -34
  24. package/dist/es/commands/DescribeStreamSummaryCommand.js.map +1 -1
  25. package/dist/es/commands/DisableEnhancedMonitoringCommand.js +2 -27
  26. package/dist/es/commands/DisableEnhancedMonitoringCommand.js.map +1 -1
  27. package/dist/es/commands/EnableEnhancedMonitoringCommand.js +2 -27
  28. package/dist/es/commands/EnableEnhancedMonitoringCommand.js.map +1 -1
  29. package/dist/es/commands/GetRecordsCommand.js +2 -73
  30. package/dist/es/commands/GetRecordsCommand.js.map +1 -1
  31. package/dist/es/commands/GetShardIteratorCommand.js +2 -60
  32. package/dist/es/commands/GetShardIteratorCommand.js.map +1 -1
  33. package/dist/es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -35
  34. package/dist/es/commands/IncreaseStreamRetentionPeriodCommand.js.map +1 -1
  35. package/dist/es/commands/ListShardsCommand.js +2 -35
  36. package/dist/es/commands/ListShardsCommand.js.map +1 -1
  37. package/dist/es/commands/ListStreamConsumersCommand.js +2 -29
  38. package/dist/es/commands/ListStreamConsumersCommand.js.map +1 -1
  39. package/dist/es/commands/ListStreamsCommand.js +2 -42
  40. package/dist/es/commands/ListStreamsCommand.js.map +1 -1
  41. package/dist/es/commands/ListTagsForStreamCommand.js +2 -28
  42. package/dist/es/commands/ListTagsForStreamCommand.js.map +1 -1
  43. package/dist/es/commands/MergeShardsCommand.js +2 -62
  44. package/dist/es/commands/MergeShardsCommand.js.map +1 -1
  45. package/dist/es/commands/PutRecordCommand.js +2 -62
  46. package/dist/es/commands/PutRecordCommand.js.map +1 -1
  47. package/dist/es/commands/PutRecordsCommand.js +2 -82
  48. package/dist/es/commands/PutRecordsCommand.js.map +1 -1
  49. package/dist/es/commands/RegisterStreamConsumerCommand.js +2 -40
  50. package/dist/es/commands/RegisterStreamConsumerCommand.js.map +1 -1
  51. package/dist/es/commands/RemoveTagsFromStreamCommand.js +2 -32
  52. package/dist/es/commands/RemoveTagsFromStreamCommand.js.map +1 -1
  53. package/dist/es/commands/SplitShardCommand.js +2 -68
  54. package/dist/es/commands/SplitShardCommand.js.map +1 -1
  55. package/dist/es/commands/StartStreamEncryptionCommand.js +2 -42
  56. package/dist/es/commands/StartStreamEncryptionCommand.js.map +1 -1
  57. package/dist/es/commands/StopStreamEncryptionCommand.js +2 -42
  58. package/dist/es/commands/StopStreamEncryptionCommand.js.map +1 -1
  59. package/dist/es/commands/SubscribeToShardCommand.js +2 -48
  60. package/dist/es/commands/SubscribeToShardCommand.js.map +1 -1
  61. package/dist/es/commands/UpdateShardCountCommand.js +2 -70
  62. package/dist/es/commands/UpdateShardCountCommand.js.map +1 -1
  63. package/dist/es/endpoints.js +1 -1
  64. package/dist/es/endpoints.js.map +1 -1
  65. package/dist/es/models/models_0.js +0 -225
  66. package/dist/es/models/models_0.js.map +1 -1
  67. package/dist/es/package.json +42 -42
  68. package/dist/es/pagination/ListStreamConsumersPaginator.js +16 -28
  69. package/dist/es/pagination/ListStreamConsumersPaginator.js.map +1 -1
  70. package/dist/es/protocols/Aws_json1_1.js +691 -696
  71. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  72. package/dist/es/runtimeConfig.browser.js +0 -3
  73. package/dist/es/runtimeConfig.browser.js.map +1 -1
  74. package/dist/es/runtimeConfig.js +0 -3
  75. package/dist/es/runtimeConfig.js.map +1 -1
  76. package/dist/es/runtimeConfig.native.js +0 -3
  77. package/dist/es/runtimeConfig.native.js.map +1 -1
  78. package/dist/es/runtimeConfig.shared.js +0 -3
  79. package/dist/es/runtimeConfig.shared.js.map +1 -1
  80. package/dist/es/waiters/waitForStreamExists.js +8 -17
  81. package/dist/es/waiters/waitForStreamExists.js.map +1 -1
  82. package/dist/es/waiters/waitForStreamNotExists.js +8 -17
  83. package/dist/es/waiters/waitForStreamNotExists.js.map +1 -1
  84. package/package.json +42 -42
  85. package/tsconfig.es.json +0 -2
  86. package/tsconfig.json +4 -5
  87. package/tsconfig.types.json +8 -0
@@ -3,41 +3,13 @@ import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1DescribeLimitsCommand, serializeAws_json1_1DescribeLimitsCommand, } 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>Describes the shard limits and usage for the account.</p>
8
- * <p>If you update your account limits, the old limits might be returned for a few
9
- * minutes.</p>
10
- * <p>This operation has a limit of one transaction per second per account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { KinesisClient, DescribeLimitsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
15
- * // const { KinesisClient, DescribeLimitsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
16
- * const client = new KinesisClient(config);
17
- * const command = new DescribeLimitsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeLimitsCommandInput} for command's `input` shape.
22
- * @see {@link DescribeLimitsCommandOutput} for command's `response` shape.
23
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var DescribeLimitsCommand = /** @class */ (function (_super) {
6
+ var DescribeLimitsCommand = (function (_super) {
27
7
  __extends(DescribeLimitsCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function DescribeLimitsCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  DescribeLimitsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeLimitsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeLimitsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;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,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,yCAAS,GAAjB,UAAkB,KAAiC,EAAE,OAAuB;QAC1E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
@@ -3,54 +3,13 @@ import { DescribeStreamInput, DescribeStreamOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1DescribeStreamCommand, serializeAws_json1_1DescribeStreamCommand, } 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>Describes the specified Kinesis data stream.</p>
8
- *
9
- * <p>The information returned includes the stream name, Amazon Resource Name (ARN),
10
- * creation time, enhanced metric configuration, and shard map. The shard map is an array
11
- * of shard objects. For each shard object, there is the hash key and sequence number
12
- * ranges that the shard spans, and the IDs of any earlier shards that played in a role in
13
- * creating the shard. Every record ingested in the stream is identified by a sequence
14
- * number, which is assigned when the record is put into the stream.</p>
15
- *
16
- * <p>You can limit the number of shards returned by each call. For more information, see
17
- * <a href="https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-retrieve-shards.html">Retrieving
18
- * Shards from a Stream</a> in the <i>Amazon Kinesis Data Streams Developer
19
- * Guide</i>.</p>
20
- * <p>There are no guarantees about the chronological order shards returned. To process
21
- * shards in chronological order, use the ID of the parent shard to track the lineage to
22
- * the oldest shard.</p>
23
- * <p>This operation has a limit of 10 transactions per second per account.</p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { KinesisClient, DescribeStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
28
- * // const { KinesisClient, DescribeStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
29
- * const client = new KinesisClient(config);
30
- * const command = new DescribeStreamCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link DescribeStreamCommandInput} for command's `input` shape.
35
- * @see {@link DescribeStreamCommandOutput} for command's `response` shape.
36
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
39
- var DescribeStreamCommand = /** @class */ (function (_super) {
6
+ var DescribeStreamCommand = (function (_super) {
40
7
  __extends(DescribeStreamCommand, _super);
41
- // Start section: command_properties
42
- // End section: command_properties
43
8
  function DescribeStreamCommand(input) {
44
- var _this =
45
- // Start section: command_constructor
46
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
47
10
  _this.input = input;
48
11
  return _this;
49
- // End section: command_constructor
50
12
  }
51
- /**
52
- * @internal
53
- */
54
13
  DescribeStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
55
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
56
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeStreamCommand.js","sourceRoot":"","sources":["../../../commands/DescribeStreamCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH;IAA2C,yCAI1C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,+BAAqB,KAAiC;QAAtD;QACE,qC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AkB,KAAiC,EAAE,OAAuB;QAC1E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
@@ -3,45 +3,13 @@ import { DescribeStreamConsumerInput, DescribeStreamConsumerOutput } from "../mo
3
3
  import { deserializeAws_json1_1DescribeStreamConsumerCommand, serializeAws_json1_1DescribeStreamConsumerCommand, } 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>To get the description of a registered consumer, provide the ARN of the consumer.
8
- * Alternatively, you can provide the ARN of the data stream and the name you gave the
9
- * consumer when you registered it. You may also provide all three parameters, as long as
10
- * they don't conflict with each other. If you don't know the name or ARN of the consumer
11
- * that you want to describe, you can use the <a>ListStreamConsumers</a>
12
- * operation to get a list of the descriptions of all the consumers that are currently
13
- * registered with a given data stream.</p>
14
- * <p>This operation has a limit of 20 transactions per second per stream.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { KinesisClient, DescribeStreamConsumerCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
19
- * // const { KinesisClient, DescribeStreamConsumerCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
20
- * const client = new KinesisClient(config);
21
- * const command = new DescribeStreamConsumerCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeStreamConsumerCommandInput} for command's `input` shape.
26
- * @see {@link DescribeStreamConsumerCommandOutput} for command's `response` shape.
27
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var DescribeStreamConsumerCommand = /** @class */ (function (_super) {
6
+ var DescribeStreamConsumerCommand = (function (_super) {
31
7
  __extends(DescribeStreamConsumerCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function DescribeStreamConsumerCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  DescribeStreamConsumerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeStreamConsumerCommand.js","sourceRoot":"","sources":["../../../commands/DescribeStreamConsumerCommand.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;AAc7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IAAmD,iDAIlD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,uCAAqB,KAAyC;QAA9D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;QAG5D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,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"}
1
+ {"version":3,"file":"DescribeStreamConsumerCommand.js","sourceRoot":"","sources":["../../../commands/DescribeStreamConsumerCommand.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;AAsC7D;IAAmD,iDAIlD;IAIC,uCAA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"../mode
3
3
  import { deserializeAws_json1_1DescribeStreamSummaryCommand, serializeAws_json1_1DescribeStreamSummaryCommand, } 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>Provides a summarized description of the specified Kinesis data stream without the
8
- * shard list.</p>
9
- * <p>The information returned includes the stream name, Amazon Resource Name (ARN),
10
- * status, record retention period, approximate creation time, monitoring, encryption
11
- * details, and open shard count. </p>
12
- * <p>
13
- * <a>DescribeStreamSummary</a> has a limit of 20 transactions per second
14
- * per account.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { KinesisClient, DescribeStreamSummaryCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
19
- * // const { KinesisClient, DescribeStreamSummaryCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
20
- * const client = new KinesisClient(config);
21
- * const command = new DescribeStreamSummaryCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeStreamSummaryCommandInput} for command's `input` shape.
26
- * @see {@link DescribeStreamSummaryCommandOutput} for command's `response` shape.
27
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var DescribeStreamSummaryCommand = /** @class */ (function (_super) {
6
+ var DescribeStreamSummaryCommand = (function (_super) {
31
7
  __extends(DescribeStreamSummaryCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function DescribeStreamSummaryCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  DescribeStreamSummaryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeStreamSummaryCommand.js","sourceRoot":"","sources":["../../../commands/DescribeStreamSummaryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IAAkD,gDAIjD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,sCAAqB,KAAwC;QAA7D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmC;;QAG3D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,wDAAiB,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,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OA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QACjC,IAAM,UAAU,GAAG,eAAe,CAAC;QACnC,IAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,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,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
@@ -3,38 +3,13 @@ import { DisableEnhancedMonitoringInput, EnhancedMonitoringOutput } from "../mod
3
3
  import { deserializeAws_json1_1DisableEnhancedMonitoringCommand, serializeAws_json1_1DisableEnhancedMonitoringCommand, } 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>Disables enhanced monitoring.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KinesisClient, DisableEnhancedMonitoringCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
12
- * // const { KinesisClient, DisableEnhancedMonitoringCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
13
- * const client = new KinesisClient(config);
14
- * const command = new DisableEnhancedMonitoringCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DisableEnhancedMonitoringCommandInput} for command's `input` shape.
19
- * @see {@link DisableEnhancedMonitoringCommandOutput} for command's `response` shape.
20
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DisableEnhancedMonitoringCommand = /** @class */ (function (_super) {
6
+ var DisableEnhancedMonitoringCommand = (function (_super) {
24
7
  __extends(DisableEnhancedMonitoringCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DisableEnhancedMonitoringCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DisableEnhancedMonitoringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DisableEnhancedMonitoringCommand.js","sourceRoot":"","sources":["../../../commands/DisableEnhancedMonitoringCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9F,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH;IAAsD,oDAIrD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0CAAqB,KAA4C;QAAjE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,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AAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
@@ -3,38 +3,13 @@ import { EnableEnhancedMonitoringInput, EnhancedMonitoringOutput } from "../mode
3
3
  import { deserializeAws_json1_1EnableEnhancedMonitoringCommand, serializeAws_json1_1EnableEnhancedMonitoringCommand, } 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>Enables enhanced Kinesis data stream monitoring for shard-level metrics.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KinesisClient, EnableEnhancedMonitoringCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
12
- * // const { KinesisClient, EnableEnhancedMonitoringCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
13
- * const client = new KinesisClient(config);
14
- * const command = new EnableEnhancedMonitoringCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link EnableEnhancedMonitoringCommandInput} for command's `input` shape.
19
- * @see {@link EnableEnhancedMonitoringCommandOutput} for command's `response` shape.
20
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var EnableEnhancedMonitoringCommand = /** @class */ (function (_super) {
6
+ var EnableEnhancedMonitoringCommand = (function (_super) {
24
7
  __extends(EnableEnhancedMonitoringCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function EnableEnhancedMonitoringCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  EnableEnhancedMonitoringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"EnableEnhancedMonitoringCommand.js","sourceRoot":"","sources":["../../../commands/EnableEnhancedMonitoringCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH;IAAqD,mDAIpD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,yCAAqB,KAA2C;QAAhE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;QAG9D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,2DAAiB,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,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,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I,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,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,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,mDAAS,GAAjB,UAAkB,KAA2C,EAAE,OAAuB;QACpF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,qDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
@@ -3,84 +3,13 @@ import { GetRecordsInput, GetRecordsOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1GetRecordsCommand, serializeAws_json1_1GetRecordsCommand, } 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>Gets data records from a Kinesis data stream's shard.</p>
8
- * <p>Specify a shard iterator using the <code>ShardIterator</code> parameter. The shard
9
- * iterator specifies the position in the shard from which you want to start reading data
10
- * records sequentially. If there are no records available in the portion of the shard that
11
- * the iterator points to, <a>GetRecords</a> returns an empty list. It might
12
- * take multiple calls to get to a portion of the shard that contains records.</p>
13
- * <p>You can scale by provisioning multiple shards per stream while considering service
14
- * limits (for more information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Amazon Kinesis Data Streams
15
- * Limits</a> in the <i>Amazon Kinesis Data Streams Developer
16
- * Guide</i>). Your application should have one thread per shard, each reading
17
- * continuously from its stream. To read from a stream continually, call <a>GetRecords</a> in a loop. Use <a>GetShardIterator</a> to get the
18
- * shard iterator to specify in the first <a>GetRecords</a> call. <a>GetRecords</a> returns a new shard iterator in
19
- * <code>NextShardIterator</code>. Specify the shard iterator returned in
20
- * <code>NextShardIterator</code> in subsequent calls to <a>GetRecords</a>.
21
- * If the shard has been closed, the shard iterator can't return more data and <a>GetRecords</a> returns <code>null</code> in <code>NextShardIterator</code>.
22
- * You can terminate the loop when the shard is closed, or when the shard iterator reaches
23
- * the record with the sequence number or other attribute that marks it as the last record
24
- * to process.</p>
25
- * <p>Each data record can be up to 1 MiB in size, and each shard can read up to 2 MiB
26
- * per second. You can ensure that your calls don't exceed the maximum supported size or
27
- * throughput by using the <code>Limit</code> parameter to specify the maximum number of
28
- * records that <a>GetRecords</a> can return. Consider your average record size
29
- * when determining this limit. The maximum number of records that can be returned per call
30
- * is 10,000.</p>
31
- *
32
- * <p>The size of the data returned by <a>GetRecords</a> varies depending on
33
- * the utilization of the shard. The maximum size of data that <a>GetRecords</a>
34
- * can return is 10 MiB. If a call returns this amount of data, subsequent calls made
35
- * within the next 5 seconds throw <code>ProvisionedThroughputExceededException</code>. If
36
- * there is insufficient provisioned throughput on the stream, subsequent calls made within
37
- * the next 1 second throw <code>ProvisionedThroughputExceededException</code>. <a>GetRecords</a> doesn't return any data when it throws an exception. For this
38
- * reason, we recommend that you wait 1 second between calls to <a>GetRecords</a>. However, it's possible that the application will get exceptions for longer than 1
39
- * second.</p>
40
- * <p>To detect whether the application is falling behind in processing, you can use the
41
- * <code>MillisBehindLatest</code> response attribute. You can also monitor the stream
42
- * using CloudWatch metrics and other mechanisms (see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/monitoring.html">Monitoring</a> in the <i>Amazon
43
- * Kinesis Data Streams Developer Guide</i>).</p>
44
- * <p>Each Amazon Kinesis record includes a value,
45
- * <code>ApproximateArrivalTimestamp</code>, that is set when a stream successfully
46
- * receives and stores a record. This is commonly referred to as a server-side time stamp,
47
- * whereas a client-side time stamp is set when a data producer creates or sends the record
48
- * to a stream (a data producer is any data source putting data records into a stream, for
49
- * example with <a>PutRecords</a>). The time stamp has millisecond precision.
50
- * There are no guarantees about the time stamp accuracy, or that the time stamp is always
51
- * increasing. For example, records in a shard or across a stream might have time stamps
52
- * that are out of order.</p>
53
- * <p>This operation has a limit of five transactions per second per shard.</p>
54
- * @example
55
- * Use a bare-bones client and the command you need to make an API call.
56
- * ```javascript
57
- * import { KinesisClient, GetRecordsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
58
- * // const { KinesisClient, GetRecordsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
59
- * const client = new KinesisClient(config);
60
- * const command = new GetRecordsCommand(input);
61
- * const response = await client.send(command);
62
- * ```
63
- *
64
- * @see {@link GetRecordsCommandInput} for command's `input` shape.
65
- * @see {@link GetRecordsCommandOutput} for command's `response` shape.
66
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
67
- *
68
- */
69
- var GetRecordsCommand = /** @class */ (function (_super) {
6
+ var GetRecordsCommand = (function (_super) {
70
7
  __extends(GetRecordsCommand, _super);
71
- // Start section: command_properties
72
- // End section: command_properties
73
8
  function GetRecordsCommand(input) {
74
- var _this =
75
- // Start section: command_constructor
76
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
77
10
  _this.input = input;
78
11
  return _this;
79
- // End section: command_constructor
80
12
  }
81
- /**
82
- * @internal
83
- */
84
13
  GetRecordsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
85
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
86
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetRecordsCommand.js","sourceRoot":"","sources":["../../../commands/GetRecordsCommand.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;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,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,uBAAu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,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,71 +3,13 @@ import { GetShardIteratorInput, GetShardIteratorOutput } from "../models/models_
3
3
  import { deserializeAws_json1_1GetShardIteratorCommand, serializeAws_json1_1GetShardIteratorCommand, } 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>Gets an Amazon Kinesis shard iterator. A shard iterator expires 5 minutes after it
8
- * is returned to the requester.</p>
9
- * <p>A shard iterator specifies the shard position from which to start reading data
10
- * records sequentially. The position is specified using the sequence number of a data
11
- * record in a shard. A sequence number is the identifier associated with every record
12
- * ingested in the stream, and is assigned when a record is put into the stream. Each
13
- * stream has one or more shards.</p>
14
- * <p>You must specify the shard iterator type. For example, you can set the
15
- * <code>ShardIteratorType</code> parameter to read exactly from the position denoted
16
- * by a specific sequence number by using the <code>AT_SEQUENCE_NUMBER</code> shard
17
- * iterator type. Alternatively, the parameter can read right after the sequence number by
18
- * using the <code>AFTER_SEQUENCE_NUMBER</code> shard iterator type, using sequence numbers
19
- * returned by earlier calls to <a>PutRecord</a>, <a>PutRecords</a>,
20
- * <a>GetRecords</a>, or <a>DescribeStream</a>. In the request,
21
- * you can specify the shard iterator type <code>AT_TIMESTAMP</code> to read records from
22
- * an arbitrary point in time, <code>TRIM_HORIZON</code> to cause
23
- * <code>ShardIterator</code> to point to the last untrimmed record in the shard in the
24
- * system (the oldest data record in the shard), or <code>LATEST</code> so that you always
25
- * read the most recent data in the shard. </p>
26
- * <p>When you read repeatedly from a stream, use a <a>GetShardIterator</a>
27
- * request to get the first shard iterator for use in your first <a>GetRecords</a> request and for subsequent reads use the shard iterator returned by the <a>GetRecords</a> request in <code>NextShardIterator</code>. A new shard
28
- * iterator is returned by every <a>GetRecords</a> request in
29
- * <code>NextShardIterator</code>, which you use in the <code>ShardIterator</code>
30
- * parameter of the next <a>GetRecords</a> request. </p>
31
- * <p>If a <a>GetShardIterator</a> request is made too often, you receive a
32
- * <code>ProvisionedThroughputExceededException</code>. For more information about
33
- * throughput limits, see <a>GetRecords</a>, and <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Streams Limits</a> in the
34
- * <i>Amazon Kinesis Data Streams Developer Guide</i>.</p>
35
- * <p>If the shard is closed, <a>GetShardIterator</a> returns a valid iterator
36
- * for the last sequence number of the shard. A shard can be closed as a result of using
37
- * <a>SplitShard</a> or <a>MergeShards</a>.</p>
38
- * <p>
39
- * <a>GetShardIterator</a> has a limit of five transactions per second per
40
- * account per open shard.</p>
41
- * @example
42
- * Use a bare-bones client and the command you need to make an API call.
43
- * ```javascript
44
- * import { KinesisClient, GetShardIteratorCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
45
- * // const { KinesisClient, GetShardIteratorCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
46
- * const client = new KinesisClient(config);
47
- * const command = new GetShardIteratorCommand(input);
48
- * const response = await client.send(command);
49
- * ```
50
- *
51
- * @see {@link GetShardIteratorCommandInput} for command's `input` shape.
52
- * @see {@link GetShardIteratorCommandOutput} for command's `response` shape.
53
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
54
- *
55
- */
56
- var GetShardIteratorCommand = /** @class */ (function (_super) {
6
+ var GetShardIteratorCommand = (function (_super) {
57
7
  __extends(GetShardIteratorCommand, _super);
58
- // Start section: command_properties
59
- // End section: command_properties
60
8
  function GetShardIteratorCommand(input) {
61
- var _this =
62
- // Start section: command_constructor
63
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
64
10
  _this.input = input;
65
11
  return _this;
66
- // End section: command_constructor
67
12
  }
68
- /**
69
- * @internal
70
- */
71
13
  GetShardIteratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
72
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetShardIteratorCommand.js","sourceRoot":"","sources":["../../../commands/GetShardIteratorCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;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AAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
@@ -3,46 +3,13 @@ import { IncreaseStreamRetentionPeriodInput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1IncreaseStreamRetentionPeriodCommand, serializeAws_json1_1IncreaseStreamRetentionPeriodCommand, } 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>Increases the Kinesis data stream's retention period, which is the length of time
8
- * data records are accessible after they are added to the stream. The maximum value of a
9
- * stream's retention period is 168 hours (7 days).</p>
10
- * <p>If you choose a longer stream retention period, this operation increases the time
11
- * period during which records that have not yet expired are accessible. However, it does
12
- * not make previous, expired data (older than the stream's previous retention period)
13
- * accessible after the operation has been called. For example, if a stream's retention
14
- * period is set to 24 hours and is increased to 168 hours, any data that is older than 24
15
- * hours remains inaccessible to consumer applications.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { KinesisClient, IncreaseStreamRetentionPeriodCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
20
- * // const { KinesisClient, IncreaseStreamRetentionPeriodCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
21
- * const client = new KinesisClient(config);
22
- * const command = new IncreaseStreamRetentionPeriodCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link IncreaseStreamRetentionPeriodCommandInput} for command's `input` shape.
27
- * @see {@link IncreaseStreamRetentionPeriodCommandOutput} for command's `response` shape.
28
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
- var IncreaseStreamRetentionPeriodCommand = /** @class */ (function (_super) {
6
+ var IncreaseStreamRetentionPeriodCommand = (function (_super) {
32
7
  __extends(IncreaseStreamRetentionPeriodCommand, _super);
33
- // Start section: command_properties
34
- // End section: command_properties
35
8
  function IncreaseStreamRetentionPeriodCommand(input) {
36
- var _this =
37
- // Start section: command_constructor
38
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
39
10
  _this.input = input;
40
11
  return _this;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  IncreaseStreamRetentionPeriodCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
47
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"IncreaseStreamRetentionPeriodCommand.js","sourceRoot":"","sources":["../../../commands/IncreaseStreamRetentionPeriodCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IAA0D,wDAIzD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,8CAAqB,KAAgD;QAArE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2C;;QAGnE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,gEAAiB,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,sCAAsC,CAAC;QAC3D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kCAAkC,CAAC,kBAAkB;YAC9E,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,wDAAS,GAAjB,UAAkB,KAAgD,EAAE,OAAuB;QACzF,OAAO,wDAAwD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAEO,0DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAIH,2CAAC;AAAD,CAAC,AAzDD,CAA0D,QAAQ,GAyDjE"}
1
+ {"version":3,"file":"IncreaseStreamRetentionPeriodCommand.js","sourceRoot":"","sources":["../../../commands/IncreaseStreamRetentionPeriodCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,MAAM,oBAA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