@aws-sdk/client-kinesis 3.478.0 → 3.481.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 (133) hide show
  1. package/dist-cjs/commands/AddTagsToStreamCommand.js +20 -43
  2. package/dist-cjs/commands/CreateStreamCommand.js +18 -41
  3. package/dist-cjs/commands/DecreaseStreamRetentionPeriodCommand.js +20 -43
  4. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +20 -43
  5. package/dist-cjs/commands/DeleteStreamCommand.js +20 -43
  6. package/dist-cjs/commands/DeregisterStreamConsumerCommand.js +21 -44
  7. package/dist-cjs/commands/DescribeLimitsCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeStreamCommand.js +20 -43
  9. package/dist-cjs/commands/DescribeStreamConsumerCommand.js +21 -44
  10. package/dist-cjs/commands/DescribeStreamSummaryCommand.js +20 -43
  11. package/dist-cjs/commands/DisableEnhancedMonitoringCommand.js +20 -43
  12. package/dist-cjs/commands/EnableEnhancedMonitoringCommand.js +20 -43
  13. package/dist-cjs/commands/GetRecordsCommand.js +20 -43
  14. package/dist-cjs/commands/GetResourcePolicyCommand.js +20 -43
  15. package/dist-cjs/commands/GetShardIteratorCommand.js +20 -43
  16. package/dist-cjs/commands/IncreaseStreamRetentionPeriodCommand.js +20 -43
  17. package/dist-cjs/commands/ListShardsCommand.js +20 -43
  18. package/dist-cjs/commands/ListStreamConsumersCommand.js +20 -43
  19. package/dist-cjs/commands/ListStreamsCommand.js +18 -41
  20. package/dist-cjs/commands/ListTagsForStreamCommand.js +20 -43
  21. package/dist-cjs/commands/MergeShardsCommand.js +20 -43
  22. package/dist-cjs/commands/PutRecordCommand.js +20 -43
  23. package/dist-cjs/commands/PutRecordsCommand.js +20 -43
  24. package/dist-cjs/commands/PutResourcePolicyCommand.js +20 -43
  25. package/dist-cjs/commands/RegisterStreamConsumerCommand.js +20 -43
  26. package/dist-cjs/commands/RemoveTagsFromStreamCommand.js +20 -43
  27. package/dist-cjs/commands/SplitShardCommand.js +20 -43
  28. package/dist-cjs/commands/StartStreamEncryptionCommand.js +20 -43
  29. package/dist-cjs/commands/StopStreamEncryptionCommand.js +20 -43
  30. package/dist-cjs/commands/SubscribeToShardCommand.js +24 -46
  31. package/dist-cjs/commands/UpdateShardCountCommand.js +20 -43
  32. package/dist-cjs/commands/UpdateStreamModeCommand.js +20 -43
  33. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  34. package/dist-es/commands/AddTagsToStreamCommand.js +20 -43
  35. package/dist-es/commands/CreateStreamCommand.js +18 -41
  36. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +20 -43
  37. package/dist-es/commands/DeleteResourcePolicyCommand.js +20 -43
  38. package/dist-es/commands/DeleteStreamCommand.js +20 -43
  39. package/dist-es/commands/DeregisterStreamConsumerCommand.js +21 -44
  40. package/dist-es/commands/DescribeLimitsCommand.js +18 -41
  41. package/dist-es/commands/DescribeStreamCommand.js +20 -43
  42. package/dist-es/commands/DescribeStreamConsumerCommand.js +21 -44
  43. package/dist-es/commands/DescribeStreamSummaryCommand.js +20 -43
  44. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +20 -43
  45. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +20 -43
  46. package/dist-es/commands/GetRecordsCommand.js +20 -43
  47. package/dist-es/commands/GetResourcePolicyCommand.js +20 -43
  48. package/dist-es/commands/GetShardIteratorCommand.js +20 -43
  49. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +20 -43
  50. package/dist-es/commands/ListShardsCommand.js +20 -43
  51. package/dist-es/commands/ListStreamConsumersCommand.js +20 -43
  52. package/dist-es/commands/ListStreamsCommand.js +18 -41
  53. package/dist-es/commands/ListTagsForStreamCommand.js +20 -43
  54. package/dist-es/commands/MergeShardsCommand.js +20 -43
  55. package/dist-es/commands/PutRecordCommand.js +20 -43
  56. package/dist-es/commands/PutRecordsCommand.js +20 -43
  57. package/dist-es/commands/PutResourcePolicyCommand.js +20 -43
  58. package/dist-es/commands/RegisterStreamConsumerCommand.js +20 -43
  59. package/dist-es/commands/RemoveTagsFromStreamCommand.js +20 -43
  60. package/dist-es/commands/SplitShardCommand.js +20 -43
  61. package/dist-es/commands/StartStreamEncryptionCommand.js +20 -43
  62. package/dist-es/commands/StopStreamEncryptionCommand.js +20 -43
  63. package/dist-es/commands/SubscribeToShardCommand.js +24 -46
  64. package/dist-es/commands/UpdateShardCountCommand.js +20 -43
  65. package/dist-es/commands/UpdateStreamModeCommand.js +20 -43
  66. package/dist-es/endpoint/EndpointParameters.js +6 -0
  67. package/dist-types/commands/AddTagsToStreamCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateStreamCommand.d.ts +6 -21
  69. package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteStreamCommand.d.ts +6 -21
  72. package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +6 -21
  73. package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -21
  74. package/dist-types/commands/DescribeStreamCommand.d.ts +6 -21
  75. package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +6 -21
  76. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +6 -21
  77. package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +6 -21
  78. package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +6 -21
  79. package/dist-types/commands/GetRecordsCommand.d.ts +6 -21
  80. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
  81. package/dist-types/commands/GetShardIteratorCommand.d.ts +6 -21
  82. package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +6 -21
  83. package/dist-types/commands/ListShardsCommand.d.ts +6 -21
  84. package/dist-types/commands/ListStreamConsumersCommand.d.ts +6 -21
  85. package/dist-types/commands/ListStreamsCommand.d.ts +6 -21
  86. package/dist-types/commands/ListTagsForStreamCommand.d.ts +6 -21
  87. package/dist-types/commands/MergeShardsCommand.d.ts +6 -21
  88. package/dist-types/commands/PutRecordCommand.d.ts +6 -21
  89. package/dist-types/commands/PutRecordsCommand.d.ts +6 -21
  90. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  91. package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +6 -21
  92. package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +6 -21
  93. package/dist-types/commands/SplitShardCommand.d.ts +6 -21
  94. package/dist-types/commands/StartStreamEncryptionCommand.d.ts +6 -21
  95. package/dist-types/commands/StopStreamEncryptionCommand.d.ts +6 -21
  96. package/dist-types/commands/SubscribeToShardCommand.d.ts +6 -21
  97. package/dist-types/commands/UpdateShardCountCommand.d.ts +6 -21
  98. package/dist-types/commands/UpdateStreamModeCommand.d.ts +6 -21
  99. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  100. package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +12 -24
  106. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +12 -24
  110. package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +12 -24
  112. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +12 -24
  125. package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +12 -24
  128. package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +12 -24
  129. package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  133. package/package.json +9 -9
@@ -1,49 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopStreamEncryptionCommand, se_StopStreamEncryptionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopStreamEncryptionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- OperationType: { type: "staticContextParams", value: `control` },
11
- StreamARN: { type: "contextParams", name: "StreamARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use(getEndpointPlugin(configuration, StopStreamEncryptionCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "KinesisClient";
28
- const commandName = "StopStreamEncryptionCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Kinesis_20131202",
37
- operation: "StopStreamEncryption",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_StopStreamEncryptionCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_StopStreamEncryptionCommand(output, context);
48
- }
7
+ export class StopStreamEncryptionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ OperationType: { type: "staticContextParams", value: `control` },
12
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("Kinesis_20131202", "StopStreamEncryption", {})
21
+ .n("KinesisClient", "StopStreamEncryptionCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_StopStreamEncryptionCommand)
24
+ .de(de_StopStreamEncryptionCommand)
25
+ .build() {
49
26
  }
@@ -1,53 +1,31 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { SubscribeToShardOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_SubscribeToShardCommand, se_SubscribeToShardCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class SubscribeToShardCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- OperationType: { type: "staticContextParams", value: `data` },
12
- ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use(getEndpointPlugin(configuration, SubscribeToShardCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KinesisClient";
29
- const commandName = "SubscribeToShardCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: SubscribeToShardOutputFilterSensitiveLog,
36
- [SMITHY_CONTEXT_KEY]: {
37
- service: "Kinesis_20131202",
38
- operation: "SubscribeToShard",
39
- eventStream: {
40
- output: true,
41
- },
42
- },
43
- };
44
- const { requestHandler } = configuration;
45
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
46
- }
47
- serialize(input, context) {
48
- return se_SubscribeToShardCommand(input, context);
49
- }
50
- deserialize(output, context) {
51
- return de_SubscribeToShardCommand(output, context);
52
- }
8
+ export class SubscribeToShardCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ OperationType: { type: "staticContextParams", value: `data` },
13
+ ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ getSerdePlugin(config, this.serialize, this.deserialize),
18
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Kinesis_20131202", "SubscribeToShard", {
22
+ eventStream: {
23
+ output: true,
24
+ },
25
+ })
26
+ .n("KinesisClient", "SubscribeToShardCommand")
27
+ .f(void 0, SubscribeToShardOutputFilterSensitiveLog)
28
+ .ser(se_SubscribeToShardCommand)
29
+ .de(de_SubscribeToShardCommand)
30
+ .build() {
53
31
  }
@@ -1,49 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateShardCountCommand, se_UpdateShardCountCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateShardCountCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- OperationType: { type: "staticContextParams", value: `control` },
11
- StreamARN: { type: "contextParams", name: "StreamARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateShardCountCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "KinesisClient";
28
- const commandName = "UpdateShardCountCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Kinesis_20131202",
37
- operation: "UpdateShardCount",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_UpdateShardCountCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_UpdateShardCountCommand(output, context);
48
- }
7
+ export class UpdateShardCountCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ OperationType: { type: "staticContextParams", value: `control` },
12
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("Kinesis_20131202", "UpdateShardCount", {})
21
+ .n("KinesisClient", "UpdateShardCountCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_UpdateShardCountCommand)
24
+ .de(de_UpdateShardCountCommand)
25
+ .build() {
49
26
  }
@@ -1,49 +1,26 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateStreamModeCommand, se_UpdateStreamModeCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateStreamModeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- OperationType: { type: "staticContextParams", value: `control` },
11
- StreamARN: { type: "contextParams", name: "StreamARN" },
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateStreamModeCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "KinesisClient";
28
- const commandName = "UpdateStreamModeCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Kinesis_20131202",
37
- operation: "UpdateStreamMode",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_UpdateStreamModeCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_UpdateStreamModeCommand(output, context);
48
- }
7
+ export class UpdateStreamModeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ OperationType: { type: "staticContextParams", value: `control` },
12
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("Kinesis_20131202", "UpdateStreamMode", {})
21
+ .n("KinesisClient", "UpdateStreamModeCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_UpdateStreamModeCommand)
24
+ .de(de_UpdateStreamModeCommand)
25
+ .build() {
49
26
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "kinesis",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { AddTagsToStreamInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddTagsToStreamCommandInput extends AddTagsToStreamInput {
21
20
  */
22
21
  export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AddTagsToStreamCommand_base: {
24
+ new (input: AddTagsToStreamCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds or updates tags for the specified Kinesis data stream. You can assign up to 50
@@ -84,23 +87,5 @@ export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
84
87
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
85
88
  *
86
89
  */
87
- export declare class AddTagsToStreamCommand extends $Command<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, KinesisClientResolvedConfig> {
88
- readonly input: AddTagsToStreamCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: AddTagsToStreamCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class AddTagsToStreamCommand extends AddTagsToStreamCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { CreateStreamInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateStreamCommandInput extends CreateStreamInput {
21
20
  */
22
21
  export interface CreateStreamCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const CreateStreamCommand_base: {
24
+ new (input: CreateStreamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a Kinesis data stream. A stream captures and transports data records that are
@@ -108,23 +111,5 @@ export interface CreateStreamCommandOutput extends __MetadataBearer {
108
111
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
109
112
  *
110
113
  */
111
- export declare class CreateStreamCommand extends $Command<CreateStreamCommandInput, CreateStreamCommandOutput, KinesisClientResolvedConfig> {
112
- readonly input: CreateStreamCommandInput;
113
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
114
- /**
115
- * @public
116
- */
117
- constructor(input: CreateStreamCommandInput);
118
- /**
119
- * @internal
120
- */
121
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStreamCommandInput, CreateStreamCommandOutput>;
122
- /**
123
- * @internal
124
- */
125
- private serialize;
126
- /**
127
- * @internal
128
- */
129
- private deserialize;
114
+ export declare class CreateStreamCommand extends CreateStreamCommand_base {
130
115
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { DecreaseStreamRetentionPeriodInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DecreaseStreamRetentionPeriodCommandInput extends DecreaseStrea
21
20
  */
22
21
  export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DecreaseStreamRetentionPeriodCommand_base: {
24
+ new (input: DecreaseStreamRetentionPeriodCommandInput): import("@smithy/smithy-client").CommandImpl<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Decreases the Kinesis data stream's retention period, which is the length of time data
@@ -81,23 +84,5 @@ export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
81
84
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
82
85
  *
83
86
  */
84
- export declare class DecreaseStreamRetentionPeriodCommand extends $Command<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig> {
85
- readonly input: DecreaseStreamRetentionPeriodCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: DecreaseStreamRetentionPeriodCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class DecreaseStreamRetentionPeriodCommand extends DecreaseStreamRetentionPeriodCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { DeleteResourcePolicyInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyIn
21
20
  */
22
21
  export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteResourcePolicyCommand_base: {
24
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete a policy for the specified data stream or consumer. Request patterns can be one of the following:</p>
@@ -79,23 +82,5 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
79
82
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
80
83
  *
81
84
  */
82
- export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, KinesisClientResolvedConfig> {
83
- readonly input: DeleteResourcePolicyCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: DeleteResourcePolicyCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { DeleteStreamInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteStreamCommandInput extends DeleteStreamInput {
21
20
  */
22
21
  export interface DeleteStreamCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteStreamCommand_base: {
24
+ new (input: DeleteStreamCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a Kinesis data stream and all its shards and data. You must shut down any
@@ -94,23 +97,5 @@ export interface DeleteStreamCommandOutput extends __MetadataBearer {
94
97
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
95
98
  *
96
99
  */
97
- export declare class DeleteStreamCommand extends $Command<DeleteStreamCommandInput, DeleteStreamCommandOutput, KinesisClientResolvedConfig> {
98
- readonly input: DeleteStreamCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: DeleteStreamCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStreamCommandInput, DeleteStreamCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class DeleteStreamCommand extends DeleteStreamCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { DeregisterStreamConsumerInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeregisterStreamConsumerCommandInput extends DeregisterStreamCo
21
20
  */
22
21
  export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeregisterStreamConsumerCommand_base: {
24
+ new (input: DeregisterStreamConsumerCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>To deregister a consumer, provide its ARN. Alternatively, you can provide the ARN of
@@ -70,23 +73,5 @@ export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer
70
73
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
71
74
  *
72
75
  */
73
- export declare class DeregisterStreamConsumerCommand extends $Command<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig> {
74
- readonly input: DeregisterStreamConsumerCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: DeregisterStreamConsumerCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class DeregisterStreamConsumerCommand extends DeregisterStreamConsumerCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
5
4
  import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeLimitsCommandInput extends DescribeLimitsInput {
21
20
  */
22
21
  export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __MetadataBearer {
23
22
  }
23
+ declare const DescribeLimitsCommand_base: {
24
+ new (input: DescribeLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeLimitsCommandInput, DescribeLimitsCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes the shard limits and usage for the account.</p>
@@ -59,23 +62,5 @@ export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __Met
59
62
  * <p>Base exception class for all service exceptions from Kinesis service.</p>
60
63
  *
61
64
  */
62
- export declare class DescribeLimitsCommand extends $Command<DescribeLimitsCommandInput, DescribeLimitsCommandOutput, KinesisClientResolvedConfig> {
63
- readonly input: DescribeLimitsCommandInput;
64
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
- /**
66
- * @public
67
- */
68
- constructor(input: DescribeLimitsCommandInput);
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLimitsCommandInput, DescribeLimitsCommandOutput>;
73
- /**
74
- * @internal
75
- */
76
- private serialize;
77
- /**
78
- * @internal
79
- */
80
- private deserialize;
65
+ export declare class DescribeLimitsCommand extends DescribeLimitsCommand_base {
81
66
  }