@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
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListShardsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `control` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListShardsCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "ListShardsCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "ListShards",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_ListShardsCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_ListShardsCommand)(output, context);
51
- }
10
+ class ListShardsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "ListShards", {})
24
+ .n("KinesisClient", "ListShardsCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_ListShardsCommand)
27
+ .de(Aws_json1_1_1.de_ListShardsCommand)
28
+ .build() {
52
29
  }
53
30
  exports.ListShardsCommand = ListShardsCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListStreamConsumersCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `control` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListStreamConsumersCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "ListStreamConsumersCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "ListStreamConsumers",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_ListStreamConsumersCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_ListStreamConsumersCommand)(output, context);
51
- }
10
+ class ListStreamConsumersCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "ListStreamConsumers", {})
24
+ .n("KinesisClient", "ListStreamConsumersCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_ListStreamConsumersCommand)
27
+ .de(Aws_json1_1_1.de_ListStreamConsumersCommand)
28
+ .build() {
52
29
  }
53
30
  exports.ListStreamConsumersCommand = ListStreamConsumersCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListStreamsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListStreamsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KinesisClient";
29
- const commandName = "ListStreamsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Kinesis_20131202",
38
- operation: "ListStreams",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ListStreamsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListStreamsCommand)(output, context);
49
- }
10
+ class ListStreamsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Kinesis_20131202", "ListStreams", {})
22
+ .n("KinesisClient", "ListStreamsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListStreamsCommand)
25
+ .de(Aws_json1_1_1.de_ListStreamsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListStreamsCommand = ListStreamsCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListTagsForStreamCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `control` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForStreamCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "ListTagsForStreamCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "ListTagsForStream",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_ListTagsForStreamCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_ListTagsForStreamCommand)(output, context);
51
- }
10
+ class ListTagsForStreamCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "ListTagsForStream", {})
24
+ .n("KinesisClient", "ListTagsForStreamCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_ListTagsForStreamCommand)
27
+ .de(Aws_json1_1_1.de_ListTagsForStreamCommand)
28
+ .build() {
52
29
  }
53
30
  exports.ListTagsForStreamCommand = ListTagsForStreamCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class MergeShardsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `control` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, MergeShardsCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "MergeShardsCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "MergeShards",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_MergeShardsCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_MergeShardsCommand)(output, context);
51
- }
10
+ class MergeShardsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "MergeShards", {})
24
+ .n("KinesisClient", "MergeShardsCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_MergeShardsCommand)
27
+ .de(Aws_json1_1_1.de_MergeShardsCommand)
28
+ .build() {
52
29
  }
53
30
  exports.MergeShardsCommand = MergeShardsCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class PutRecordCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `data` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutRecordCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "PutRecordCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "PutRecord",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_PutRecordCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_PutRecordCommand)(output, context);
51
- }
10
+ class PutRecordCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `data` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "PutRecord", {})
24
+ .n("KinesisClient", "PutRecordCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_PutRecordCommand)
27
+ .de(Aws_json1_1_1.de_PutRecordCommand)
28
+ .build() {
52
29
  }
53
30
  exports.PutRecordCommand = PutRecordCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class PutRecordsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `data` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutRecordsCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "PutRecordsCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "PutRecords",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_PutRecordsCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_PutRecordsCommand)(output, context);
51
- }
10
+ class PutRecordsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `data` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "PutRecords", {})
24
+ .n("KinesisClient", "PutRecordsCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_PutRecordsCommand)
27
+ .de(Aws_json1_1_1.de_PutRecordsCommand)
28
+ .build() {
52
29
  }
53
30
  exports.PutRecordsCommand = PutRecordsCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class PutResourcePolicyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `control` },
14
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "PutResourcePolicyCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "PutResourcePolicy",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_PutResourcePolicyCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_PutResourcePolicyCommand)(output, context);
51
- }
10
+ class PutResourcePolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ ResourceARN: { type: "contextParams", name: "ResourceARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "PutResourcePolicy", {})
24
+ .n("KinesisClient", "PutResourcePolicyCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_PutResourcePolicyCommand)
27
+ .de(Aws_json1_1_1.de_PutResourcePolicyCommand)
28
+ .build() {
52
29
  }
53
30
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class RegisterStreamConsumerCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- OperationType: { type: "staticContextParams", value: `control` },
14
- StreamARN: { type: "contextParams", name: "StreamARN" },
15
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
16
- Endpoint: { type: "builtInParams", name: "endpoint" },
17
- Region: { type: "builtInParams", name: "region" },
18
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
19
- };
20
- }
21
- constructor(input) {
22
- super();
23
- this.input = input;
24
- }
25
- resolveMiddleware(clientStack, configuration, options) {
26
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterStreamConsumerCommand.getEndpointParameterInstructions()));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "KinesisClient";
31
- const commandName = "RegisterStreamConsumerCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "Kinesis_20131202",
40
- operation: "RegisterStreamConsumer",
41
- },
42
- };
43
- const { requestHandler } = configuration;
44
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
45
- }
46
- serialize(input, context) {
47
- return (0, Aws_json1_1_1.se_RegisterStreamConsumerCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_RegisterStreamConsumerCommand)(output, context);
51
- }
10
+ class RegisterStreamConsumerCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ StreamARN: { type: "contextParams", name: "StreamARN" },
16
+ })
17
+ .m(function (Command, cs, config, o) {
18
+ return [
19
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
+ ];
22
+ })
23
+ .s("Kinesis_20131202", "RegisterStreamConsumer", {})
24
+ .n("KinesisClient", "RegisterStreamConsumerCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_RegisterStreamConsumerCommand)
27
+ .de(Aws_json1_1_1.de_RegisterStreamConsumerCommand)
28
+ .build() {
52
29
  }
53
30
  exports.RegisterStreamConsumerCommand = RegisterStreamConsumerCommand;