@aws-sdk/client-kinesis 3.981.0 → 3.983.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 (79) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +1 -0
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +113 -78
  4. package/dist-es/commands/AddTagsToStreamCommand.js +1 -0
  5. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +1 -0
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -0
  7. package/dist-es/commands/DeleteStreamCommand.js +1 -0
  8. package/dist-es/commands/DeregisterStreamConsumerCommand.js +1 -0
  9. package/dist-es/commands/DescribeStreamCommand.js +1 -0
  10. package/dist-es/commands/DescribeStreamConsumerCommand.js +1 -0
  11. package/dist-es/commands/DescribeStreamSummaryCommand.js +1 -0
  12. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +1 -0
  13. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +1 -0
  14. package/dist-es/commands/GetRecordsCommand.js +1 -0
  15. package/dist-es/commands/GetResourcePolicyCommand.js +1 -0
  16. package/dist-es/commands/GetShardIteratorCommand.js +1 -0
  17. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +1 -0
  18. package/dist-es/commands/ListShardsCommand.js +1 -0
  19. package/dist-es/commands/ListStreamConsumersCommand.js +1 -0
  20. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  21. package/dist-es/commands/ListTagsForStreamCommand.js +1 -0
  22. package/dist-es/commands/MergeShardsCommand.js +1 -0
  23. package/dist-es/commands/PutRecordCommand.js +1 -0
  24. package/dist-es/commands/PutRecordsCommand.js +1 -0
  25. package/dist-es/commands/PutResourcePolicyCommand.js +1 -0
  26. package/dist-es/commands/RegisterStreamConsumerCommand.js +1 -0
  27. package/dist-es/commands/RemoveTagsFromStreamCommand.js +1 -0
  28. package/dist-es/commands/SplitShardCommand.js +1 -0
  29. package/dist-es/commands/StartStreamEncryptionCommand.js +1 -0
  30. package/dist-es/commands/StopStreamEncryptionCommand.js +1 -0
  31. package/dist-es/commands/SubscribeToShardCommand.js +1 -0
  32. package/dist-es/commands/TagResourceCommand.js +1 -0
  33. package/dist-es/commands/UntagResourceCommand.js +1 -0
  34. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +1 -0
  35. package/dist-es/commands/UpdateShardCountCommand.js +1 -0
  36. package/dist-es/commands/UpdateStreamModeCommand.js +1 -0
  37. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +1 -0
  38. package/dist-es/endpoint/endpointResolver.js +1 -0
  39. package/dist-es/endpoint/ruleset.js +3 -3
  40. package/dist-es/schemas/schemas_0.js +79 -78
  41. package/dist-types/commands/AddTagsToStreamCommand.d.ts +1 -0
  42. package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
  44. package/dist-types/commands/DeleteStreamCommand.d.ts +1 -0
  45. package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +1 -0
  46. package/dist-types/commands/DescribeStreamCommand.d.ts +1 -0
  47. package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +1 -0
  48. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +2 -0
  49. package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +1 -0
  50. package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +1 -0
  51. package/dist-types/commands/GetRecordsCommand.d.ts +1 -0
  52. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
  53. package/dist-types/commands/GetShardIteratorCommand.d.ts +1 -0
  54. package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +1 -0
  55. package/dist-types/commands/ListShardsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListStreamConsumersCommand.d.ts +1 -0
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  58. package/dist-types/commands/ListTagsForStreamCommand.d.ts +1 -0
  59. package/dist-types/commands/MergeShardsCommand.d.ts +1 -0
  60. package/dist-types/commands/PutRecordCommand.d.ts +1 -0
  61. package/dist-types/commands/PutRecordsCommand.d.ts +1 -0
  62. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
  63. package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +1 -0
  64. package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +1 -0
  65. package/dist-types/commands/SplitShardCommand.d.ts +1 -0
  66. package/dist-types/commands/StartStreamEncryptionCommand.d.ts +1 -0
  67. package/dist-types/commands/StopStreamEncryptionCommand.d.ts +1 -0
  68. package/dist-types/commands/SubscribeToShardCommand.d.ts +1 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  70. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  71. package/dist-types/commands/UpdateMaxRecordSizeCommand.d.ts +1 -0
  72. package/dist-types/commands/UpdateShardCountCommand.d.ts +1 -0
  73. package/dist-types/commands/UpdateStreamModeCommand.d.ts +1 -0
  74. package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +1 -0
  75. package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
  76. package/dist-types/models/models_0.d.ts +177 -2
  77. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  79. package/package.json +6 -6
@@ -8,6 +8,7 @@ export class DescribeStreamCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class DescribeStreamConsumerCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
12
13
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
14
  })
@@ -8,6 +8,7 @@ export class DescribeStreamSummaryCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class DisableEnhancedMonitoringCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class EnableEnhancedMonitoringCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class GetRecordsCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `data` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -9,6 +9,7 @@ export class GetResourcePolicyCommand extends $Command
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
12
+ StreamId: { type: "contextParams", name: "StreamId" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
14
15
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
@@ -8,6 +8,7 @@ export class GetShardIteratorCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `data` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class IncreaseStreamRetentionPeriodCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class ListShardsCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class ListStreamConsumersCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -9,6 +9,7 @@ export class ListTagsForResourceCommand extends $Command
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
12
+ StreamId: { type: "contextParams", name: "StreamId" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
14
15
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
@@ -8,6 +8,7 @@ export class ListTagsForStreamCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class MergeShardsCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class PutRecordCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `data` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class PutRecordsCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `data` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -9,6 +9,7 @@ export class PutResourcePolicyCommand extends $Command
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
12
+ StreamId: { type: "contextParams", name: "StreamId" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
14
15
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
@@ -8,6 +8,7 @@ export class RegisterStreamConsumerCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class RemoveTagsFromStreamCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class SplitShardCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class StartStreamEncryptionCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class StopStreamEncryptionCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class SubscribeToShardCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `data` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -9,6 +9,7 @@ export class TagResourceCommand extends $Command
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
12
+ StreamId: { type: "contextParams", name: "StreamId" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
14
15
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
@@ -9,6 +9,7 @@ export class UntagResourceCommand extends $Command
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
12
+ StreamId: { type: "contextParams", name: "StreamId" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
14
15
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
@@ -8,6 +8,7 @@ export class UpdateMaxRecordSizeCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class UpdateShardCountCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class UpdateStreamModeCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -8,6 +8,7 @@ export class UpdateStreamWarmThroughputCommand extends $Command
8
8
  .ep({
9
9
  ...commonParams,
10
10
  OperationType: { type: "staticContextParams", value: `control` },
11
+ StreamId: { type: "contextParams", name: "StreamId" },
11
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
12
13
  })
13
14
  .m(function (Command, cs, config, o) {
@@ -10,6 +10,7 @@ const cache = new EndpointCache({
10
10
  "Region",
11
11
  "ResourceARN",
12
12
  "StreamARN",
13
+ "StreamId",
13
14
  "UseDualStack",
14
15
  "UseFIPS",
15
16
  ],
@@ -1,4 +1,4 @@
1
- const H = "required", I = "type", J = "rules", K = "conditions", L = "fn", M = "argv", N = "ref", O = "assign", P = "url", Q = "properties", R = "headers";
2
- const a = true, b = "isSet", c = "stringEquals", d = "aws.parseArn", e = "arn", f = "booleanEquals", g = "endpoint", h = "tree", i = "error", j = { [H]: false, [I]: "string" }, k = { [H]: true, "default": false, [I]: "boolean" }, l = { [L]: "not", [M]: [{ [L]: b, [M]: [{ [N]: "Endpoint" }] }] }, m = { [N]: "Endpoint" }, n = { [L]: b, [M]: [{ [N]: "Region" }] }, o = { [L]: "aws.partition", [M]: [{ [N]: "Region" }], [O]: "PartitionResult" }, p = { [L]: "not", [M]: [{ [L]: c, [M]: [{ [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, q = { [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "name"] }, r = { [L]: "not", [M]: [{ [L]: c, [M]: [q, "aws-iso-b"] }] }, s = { [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsFIPS"] }, t = {}, u = { [i]: "FIPS is enabled but this partition does not support FIPS", [I]: i }, v = { [i]: "DualStack is enabled but this partition does not support DualStack", [I]: i }, w = { [i]: "Invalid ARN: Failed to parse ARN.", [I]: i }, x = { [L]: f, [M]: [true, { [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsDualStack"] }] }, y = [{ [N]: "StreamARN" }], z = [{ [L]: b, [M]: [m] }], A = [{ [K]: [{ [L]: "isValidHostLabel", [M]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "accountId"] }, false] }], [J]: [{ [K]: [{ [L]: "isValidHostLabel", [M]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "region"] }, false] }], [J]: [{ [K]: [{ [L]: c, [M]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "service"] }, "kinesis"] }], [J]: [{ [K]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "resourceId[0]"], [O]: "arnType" }, { [L]: "not", [M]: [{ [L]: c, [M]: [{ [N]: "arnType" }, ""] }] }], [J]: [{ [K]: [{ [L]: c, [M]: [{ [N]: "arnType" }, "stream"] }], [J]: [{ [K]: [{ [L]: c, [M]: [q, "{arn#partition}"] }], [J]: [{ [K]: [{ [L]: b, [M]: [{ [N]: "OperationType" }] }], [J]: [{ [K]: [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }, { [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [s, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [{ [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsDualStack"] }, true] }], [J]: [{ [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, { [i]: "DualStack is enabled, but this partition does not support DualStack.", [I]: i }], [I]: h }, { [i]: "FIPS is enabled, but this partition does not support FIPS.", [I]: i }], [I]: h }, { [K]: [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [s, true] }], [J]: [{ [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, u], [I]: h }, { [K]: [{ [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [{ [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsDualStack"] }, true] }], [J]: [{ [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, v], [I]: h }, { [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, { [i]: "Operation Type is not set. Please contact service team for resolution.", [I]: i }], [I]: h }, { [i]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: No ARN type specified", [I]: i }], [I]: h }, { [i]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: Invalid region.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: Invalid account id.", [I]: i }], B = [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }, { [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], C = [{ [L]: f, [M]: [s, true] }], D = [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }], E = [{ [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], F = [{ [N]: "ConsumerARN" }], G = [{ [N]: "ResourceARN" }];
3
- const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j, StreamARN: j, OperationType: j, ConsumerARN: j, ResourceARN: j }, [J]: [{ [K]: [{ [L]: b, [M]: y }, l, n, o, p, r], [J]: [{ [K]: [{ [L]: d, [M]: y, [O]: e }], [J]: A, [I]: h }, w], [I]: h }, { [K]: [{ [L]: b, [M]: F }, l, n, o, p, r], [J]: [{ [K]: [{ [L]: d, [M]: F, [O]: e }], [J]: A, [I]: h }, w], [I]: h }, { [K]: [{ [L]: b, [M]: G }, l, n, o, p, r], [J]: [{ [K]: [{ [L]: d, [M]: G, [O]: e }], [J]: A, [I]: h }, w], [I]: h }, { [K]: z, [J]: [{ [K]: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: i }, { [K]: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: i }, { endpoint: { [P]: m, [Q]: t, [R]: t }, [I]: g }], [I]: h }, { [K]: [n], [J]: [{ [K]: [o], [J]: [{ [K]: B, [J]: [{ [K]: [{ [L]: f, [M]: [a, s] }, x], [J]: [{ endpoint: { [P]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: i }], [I]: h }, { [K]: D, [J]: [{ [K]: C, [J]: [{ [K]: [{ [L]: c, [M]: [q, "aws-us-gov"] }], endpoint: { [P]: "https://kinesis.{Region}.amazonaws.com", [Q]: t, [R]: t }, [I]: g }, { endpoint: { [P]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }, u], [I]: h }, { [K]: E, [J]: [{ [K]: [x], [J]: [{ endpoint: { [P]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }, v], [I]: h }, { endpoint: { [P]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }], [I]: h }, { error: "Invalid Configuration: Missing Region", [I]: i }] };
1
+ const X = "required", Y = "type", Z = "rules", aa = "conditions", ab = "fn", ac = "argv", ad = "ref", ae = "assign", af = "url", ag = "properties", ah = "headers";
2
+ const a = false, b = true, c = "isSet", d = "substring", e = "StreamIdDelimiterValue", f = "stringEquals", g = "-", h = "StreamIdDelimiterReversedValue", i = "HttpsCustomEndpointDelimiterValue", j = "HttpsEndpointDelimiterValue", k = "booleanEquals", l = "endpoint", m = "tree", n = "error", o = "PlainCustomEndpointDelimiterValue", p = "PlainEndpointDelimiterValue", q = "aws.parseArn", r = "arn", s = { [X]: false, [Y]: "string" }, t = { [X]: true, "default": false, [Y]: "boolean" }, u = { [ad]: "StreamId" }, v = { [ab]: c, [ac]: [{ [ad]: "Region" }] }, w = { [ab]: "aws.partition", [ac]: [{ [ad]: "Region" }], [ae]: "PartitionResult" }, x = { [ab]: "not", [ac]: [{ [ab]: f, [ac]: [{ [ab]: "getAttr", [ac]: [{ [ad]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, y = { [ab]: "getAttr", [ac]: [{ [ad]: "PartitionResult" }, "name"] }, z = { [ab]: "not", [ac]: [{ [ab]: f, [ac]: [y, "aws-iso-b"] }] }, A = { [ab]: c, [ac]: [{ [ad]: "Endpoint" }] }, B = { [ad]: "Endpoint" }, C = { [ab]: "getAttr", [ac]: [{ [ad]: "PartitionResult" }, "supportsFIPS"] }, D = {}, E = { [n]: "DualStack is enabled, but this partition does not support DualStack.", [Y]: n }, F = { [n]: "FIPS is enabled, but this partition does not support FIPS.", [Y]: n }, G = { [n]: "FIPS is enabled but this partition does not support FIPS", [Y]: n }, H = { [n]: "DualStack is enabled but this partition does not support DualStack", [Y]: n }, I = { [n]: "Operation Type is not set. Please contact service team for resolution.", [Y]: n }, J = { [ab]: "not", [ac]: [A] }, K = { [n]: "Invalid ARN: Failed to parse ARN.", [Y]: n }, L = { [ab]: k, [ac]: [true, { [ab]: "getAttr", [ac]: [{ [ad]: "PartitionResult" }, "supportsDualStack"] }] }, M = [{ [ab]: c, [ac]: [{ [ad]: "OperationType" }] }], N = [{ [ab]: k, [ac]: [{ [ad]: "UseFIPS" }, true] }, { [ab]: k, [ac]: [{ [ad]: "UseDualStack" }, true] }], O = [{ [ab]: k, [ac]: [C, true] }], P = [{ [ab]: k, [ac]: [{ [ab]: "getAttr", [ac]: [{ [ad]: "PartitionResult" }, "supportsDualStack"] }, true] }], Q = [{ [ab]: k, [ac]: [{ [ad]: "UseFIPS" }, true] }], R = [{ [ab]: k, [ac]: [{ [ad]: "UseDualStack" }, true] }], S = [{ [ad]: "StreamARN" }], T = [A], U = [{ [aa]: [{ [ab]: "isValidHostLabel", [ac]: [{ [ab]: "getAttr", [ac]: [{ [ad]: r }, "accountId"] }, false] }], [Z]: [{ [aa]: [{ [ab]: "isValidHostLabel", [ac]: [{ [ab]: "getAttr", [ac]: [{ [ad]: r }, "region"] }, false] }], [Z]: [{ [aa]: [{ [ab]: f, [ac]: [{ [ab]: "getAttr", [ac]: [{ [ad]: r }, "service"] }, "kinesis"] }], [Z]: [{ [aa]: [{ [ab]: "getAttr", [ac]: [{ [ad]: r }, "resourceId[0]"], [ae]: "arnType" }, { [ab]: "not", [ac]: [{ [ab]: f, [ac]: [{ [ad]: "arnType" }, ""] }] }], [Z]: [{ [aa]: [{ [ab]: f, [ac]: [{ [ad]: "arnType" }, "stream"] }], [Z]: [{ [aa]: [{ [ab]: f, [ac]: [y, "{arn#partition}"] }], [Z]: [{ [aa]: M, [Z]: [{ [aa]: N, [Z]: [{ [aa]: O, [Z]: [{ [aa]: P, [Z]: [{ [l]: { [af]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: {}, [ah]: {} }, [Y]: l }], [Y]: m }, E], [Y]: m }, F], [Y]: m }, { [aa]: Q, [Z]: [{ [aa]: O, [Z]: [{ [l]: { [af]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [ag]: {}, [ah]: {} }, [Y]: l }], [Y]: m }, G], [Y]: m }, { [aa]: R, [Z]: [{ [aa]: P, [Z]: [{ [l]: { [af]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: {}, [ah]: {} }, [Y]: l }], [Y]: m }, H], [Y]: m }, { [l]: { [af]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [ag]: {}, [ah]: {} }, [Y]: l }], [Y]: m }, I], [Y]: m }, { [n]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [Y]: n }], [Y]: m }, { [n]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [Y]: n }], [Y]: m }, { [n]: "Invalid ARN: No ARN type specified", [Y]: n }], [Y]: m }, { [n]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [Y]: n }], [Y]: m }, { [n]: "Invalid ARN: Invalid region.", [Y]: n }], [Y]: m }, { [n]: "Invalid ARN: Invalid account id.", [Y]: n }], V = [{ [ad]: "ConsumerARN" }], W = [{ [ad]: "ResourceARN" }];
3
+ const _data = { version: "1.0", parameters: { Region: s, UseDualStack: t, UseFIPS: t, Endpoint: s, StreamId: s, StreamARN: s, OperationType: s, ConsumerARN: s, ResourceARN: s }, [Z]: [{ [aa]: [{ [ab]: c, [ac]: [u] }, { [ab]: d, [ac]: [u, 20, 21, a], [ae]: e }, { [ab]: f, [ac]: [{ [ad]: e }, g] }, { [ab]: d, [ac]: [u, 3, 4, b], [ae]: h }, { [ab]: f, [ac]: [{ [ad]: h }, g] }, { [ab]: d, [ac]: [u, 0, 20, a], [ae]: "StreamIdPrefixValue" }, { [ab]: d, [ac]: [u, 21, 24, a], [ae]: "StreamIdSuffixValue" }, v, w, x, z], [Z]: [{ [aa]: M, [Z]: [{ [aa]: [A, { [ab]: d, [ac]: [B, 15, 16, a], [ae]: i }, { [ab]: f, [ac]: [{ [ad]: i }, g] }, { [ab]: d, [ac]: [B, 20, 21, a], [ae]: j }, { [ab]: f, [ac]: [{ [ad]: j }, "."] }, { [ab]: d, [ac]: [B, 15, 20, a], [ae]: "HttpsCustomEndpointSuffixValue" }], [Z]: [{ [aa]: N, [Z]: [{ [aa]: O, [Z]: [{ [aa]: P, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, E], [Y]: m }, F], [Y]: m }, { [aa]: Q, [Z]: [{ [aa]: O, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, G], [Y]: m }, { [aa]: R, [Z]: [{ [aa]: P, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, H], [Y]: m }, { endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, { [aa]: [A, { [ab]: d, [ac]: [B, 7, 8, a], [ae]: o }, { [ab]: f, [ac]: [{ [ad]: o }, g] }, { [ab]: d, [ac]: [B, 12, 13, a], [ae]: p }, { [ab]: f, [ac]: [{ [ad]: p }, "."] }, { [ab]: d, [ac]: [B, 7, 12, a], [ae]: "PlainCustomEndpointSuffixValue" }], [Z]: [{ [aa]: N, [Z]: [{ [aa]: O, [Z]: [{ [aa]: P, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, E], [Y]: m }, F], [Y]: m }, { [aa]: Q, [Z]: [{ [aa]: O, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, G], [Y]: m }, { [aa]: R, [Z]: [{ [aa]: P, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, H], [Y]: m }, { endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, { [aa]: N, [Z]: [{ [aa]: O, [Z]: [{ [aa]: P, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, E], [Y]: m }, F], [Y]: m }, { [aa]: Q, [Z]: [{ [aa]: O, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, G], [Y]: m }, { [aa]: R, [Z]: [{ [aa]: P, [Z]: [{ endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, H], [Y]: m }, { endpoint: { [af]: "https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, I], [Y]: m }, { [aa]: [{ [ab]: c, [ac]: S }, J, v, w, x, z], [Z]: [{ [aa]: [{ [ab]: q, [ac]: S, [ae]: r }], [Z]: U, [Y]: m }, K], [Y]: m }, { [aa]: [{ [ab]: c, [ac]: V }, J, v, w, x, z], [Z]: [{ [aa]: [{ [ab]: q, [ac]: V, [ae]: r }], [Z]: U, [Y]: m }, K], [Y]: m }, { [aa]: [{ [ab]: c, [ac]: W }, J, v, w, x, z], [Z]: [{ [aa]: [{ [ab]: q, [ac]: W, [ae]: r }], [Z]: U, [Y]: m }, K], [Y]: m }, { [aa]: T, [Z]: [{ [aa]: Q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [Y]: n }, { [aa]: R, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [Y]: n }, { endpoint: { [af]: B, [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, { [aa]: [v], [Z]: [{ [aa]: [w], [Z]: [{ [aa]: N, [Z]: [{ [aa]: [{ [ab]: k, [ac]: [b, C] }, L], [Z]: [{ endpoint: { [af]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [Y]: n }], [Y]: m }, { [aa]: Q, [Z]: [{ [aa]: O, [Z]: [{ [aa]: [{ [ab]: f, [ac]: [y, "aws-us-gov"] }], endpoint: { [af]: "https://kinesis.{Region}.amazonaws.com", [ag]: D, [ah]: D }, [Y]: l }, { endpoint: { [af]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, G], [Y]: m }, { [aa]: R, [Z]: [{ [aa]: [L], [Z]: [{ endpoint: { [af]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }, H], [Y]: m }, { endpoint: { [af]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [ag]: D, [ah]: D }, [Y]: l }], [Y]: m }], [Y]: m }, { error: "Invalid Configuration: Missing Region", [Y]: n }] };
4
4
  export const ruleSet = _data;