@aws-sdk/client-kinesis 3.231.0 → 3.232.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 (101) hide show
  1. package/dist-cjs/commands/AddTagsToStreamCommand.js +2 -0
  2. package/dist-cjs/commands/DecreaseStreamRetentionPeriodCommand.js +2 -0
  3. package/dist-cjs/commands/DeleteStreamCommand.js +2 -0
  4. package/dist-cjs/commands/DeregisterStreamConsumerCommand.js +3 -0
  5. package/dist-cjs/commands/DescribeStreamCommand.js +2 -0
  6. package/dist-cjs/commands/DescribeStreamConsumerCommand.js +3 -0
  7. package/dist-cjs/commands/DescribeStreamSummaryCommand.js +2 -0
  8. package/dist-cjs/commands/DisableEnhancedMonitoringCommand.js +2 -0
  9. package/dist-cjs/commands/EnableEnhancedMonitoringCommand.js +2 -0
  10. package/dist-cjs/commands/GetRecordsCommand.js +2 -0
  11. package/dist-cjs/commands/GetShardIteratorCommand.js +2 -0
  12. package/dist-cjs/commands/IncreaseStreamRetentionPeriodCommand.js +2 -0
  13. package/dist-cjs/commands/ListShardsCommand.js +2 -0
  14. package/dist-cjs/commands/ListStreamConsumersCommand.js +2 -0
  15. package/dist-cjs/commands/ListTagsForStreamCommand.js +2 -0
  16. package/dist-cjs/commands/MergeShardsCommand.js +2 -0
  17. package/dist-cjs/commands/PutRecordCommand.js +2 -0
  18. package/dist-cjs/commands/PutRecordsCommand.js +2 -0
  19. package/dist-cjs/commands/RegisterStreamConsumerCommand.js +2 -0
  20. package/dist-cjs/commands/RemoveTagsFromStreamCommand.js +2 -0
  21. package/dist-cjs/commands/SplitShardCommand.js +2 -0
  22. package/dist-cjs/commands/StartStreamEncryptionCommand.js +2 -0
  23. package/dist-cjs/commands/StopStreamEncryptionCommand.js +2 -0
  24. package/dist-cjs/commands/SubscribeToShardCommand.js +2 -0
  25. package/dist-cjs/commands/UpdateShardCountCommand.js +2 -0
  26. package/dist-cjs/commands/UpdateStreamModeCommand.js +2 -0
  27. package/dist-cjs/endpoint/ruleset.js +1069 -5
  28. package/dist-cjs/models/models_0.js +19 -2
  29. package/dist-cjs/pagination/ListStreamsPaginator.js +36 -0
  30. package/dist-cjs/pagination/index.js +1 -0
  31. package/dist-cjs/protocols/Aws_json1_1.js +143 -0
  32. package/dist-es/commands/AddTagsToStreamCommand.js +2 -0
  33. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -0
  34. package/dist-es/commands/DeleteStreamCommand.js +2 -0
  35. package/dist-es/commands/DeregisterStreamConsumerCommand.js +3 -0
  36. package/dist-es/commands/DescribeStreamCommand.js +2 -0
  37. package/dist-es/commands/DescribeStreamConsumerCommand.js +3 -0
  38. package/dist-es/commands/DescribeStreamSummaryCommand.js +2 -0
  39. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +2 -0
  40. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +2 -0
  41. package/dist-es/commands/GetRecordsCommand.js +2 -0
  42. package/dist-es/commands/GetShardIteratorCommand.js +2 -0
  43. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -0
  44. package/dist-es/commands/ListShardsCommand.js +2 -0
  45. package/dist-es/commands/ListStreamConsumersCommand.js +2 -0
  46. package/dist-es/commands/ListTagsForStreamCommand.js +2 -0
  47. package/dist-es/commands/MergeShardsCommand.js +2 -0
  48. package/dist-es/commands/PutRecordCommand.js +2 -0
  49. package/dist-es/commands/PutRecordsCommand.js +2 -0
  50. package/dist-es/commands/RegisterStreamConsumerCommand.js +2 -0
  51. package/dist-es/commands/RemoveTagsFromStreamCommand.js +2 -0
  52. package/dist-es/commands/SplitShardCommand.js +2 -0
  53. package/dist-es/commands/StartStreamEncryptionCommand.js +2 -0
  54. package/dist-es/commands/StopStreamEncryptionCommand.js +2 -0
  55. package/dist-es/commands/SubscribeToShardCommand.js +2 -0
  56. package/dist-es/commands/UpdateShardCountCommand.js +2 -0
  57. package/dist-es/commands/UpdateStreamModeCommand.js +2 -0
  58. package/dist-es/endpoint/ruleset.js +1069 -5
  59. package/dist-es/models/models_0.js +15 -0
  60. package/dist-es/pagination/ListStreamsPaginator.js +32 -0
  61. package/dist-es/pagination/index.js +1 -0
  62. package/dist-es/protocols/Aws_json1_1.js +144 -1
  63. package/dist-types/Kinesis.d.ts +213 -138
  64. package/dist-types/KinesisClient.d.ts +1 -1
  65. package/dist-types/commands/AddTagsToStreamCommand.d.ts +6 -2
  66. package/dist-types/commands/CreateStreamCommand.d.ts +19 -16
  67. package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +5 -1
  68. package/dist-types/commands/DeleteStreamCommand.d.ts +9 -6
  69. package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +1 -1
  70. package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -2
  71. package/dist-types/commands/DescribeStreamCommand.d.ts +10 -7
  72. package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +6 -2
  74. package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +4 -0
  75. package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +4 -0
  76. package/dist-types/commands/GetRecordsCommand.d.ts +11 -16
  77. package/dist-types/commands/GetShardIteratorCommand.d.ts +10 -6
  78. package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +5 -1
  79. package/dist-types/commands/ListShardsCommand.d.ts +7 -3
  80. package/dist-types/commands/ListStreamConsumersCommand.d.ts +1 -1
  81. package/dist-types/commands/ListStreamsCommand.d.ts +3 -3
  82. package/dist-types/commands/ListTagsForStreamCommand.d.ts +4 -0
  83. package/dist-types/commands/MergeShardsCommand.d.ts +13 -8
  84. package/dist-types/commands/PutRecordCommand.d.ts +14 -10
  85. package/dist-types/commands/PutRecordsCommand.d.ts +16 -12
  86. package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +3 -3
  87. package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +6 -2
  88. package/dist-types/commands/SplitShardCommand.d.ts +15 -10
  89. package/dist-types/commands/StartStreamEncryptionCommand.d.ts +7 -3
  90. package/dist-types/commands/StopStreamEncryptionCommand.d.ts +7 -3
  91. package/dist-types/commands/SubscribeToShardCommand.d.ts +4 -4
  92. package/dist-types/commands/UpdateShardCountCommand.d.ts +19 -14
  93. package/dist-types/endpoint/EndpointParameters.d.ts +4 -1
  94. package/dist-types/models/models_0.d.ts +351 -214
  95. package/dist-types/pagination/ListStreamsPaginator.d.ts +4 -0
  96. package/dist-types/pagination/index.d.ts +1 -0
  97. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  98. package/dist-types/ts3.4/models/models_0.d.ts +60 -18
  99. package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  101. package/package.json +1 -1
@@ -10,6 +10,8 @@ export class EnableEnhancedMonitoringCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class GetRecordsCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `data` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class GetShardIteratorCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `data` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class IncreaseStreamRetentionPeriodCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class ListShardsCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class ListStreamConsumersCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class ListTagsForStreamCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class MergeShardsCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class PutRecordCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `data` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class PutRecordsCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `data` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class RegisterStreamConsumerCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class RemoveTagsFromStreamCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class SplitShardCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class StartStreamEncryptionCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class StopStreamEncryptionCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class SubscribeToShardCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `data` },
14
+ ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class UpdateShardCountCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },
@@ -10,6 +10,8 @@ export class UpdateStreamModeCommand extends $Command {
10
10
  }
11
11
  static getEndpointParameterInstructions() {
12
12
  return {
13
+ OperationType: { type: "staticContextParams", value: `control` },
14
+ StreamARN: { type: "contextParams", name: "StreamARN" },
13
15
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
16
  Endpoint: { type: "builtInParams", name: "endpoint" },
15
17
  Region: { type: "builtInParams", name: "region" },