@aws-sdk/client-kinesis 3.433.0 → 3.435.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const D = "required", E = "type", F = "rules", G = "conditions", H = "fn", I = "argv", J = "ref", K = "assign", L = "url", M = "properties", N = "headers";
5
- const a = "isSet", b = "stringEquals", c = "tree", d = "aws.parseArn", e = "arn", f = "endpoint", g = "error", h = { [D]: false, [E]: "String" }, i = { [D]: true, "default": false, [E]: "Boolean" }, j = { [H]: "not", [I]: [{ [H]: a, [I]: [{ [J]: "Endpoint" }] }] }, k = { [J]: "Endpoint" }, l = { [H]: a, [I]: [{ [J]: "Region" }] }, m = { [H]: "aws.partition", [I]: [{ [J]: "Region" }], [K]: "PartitionResult" }, n = { [H]: "not", [I]: [{ [H]: b, [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, o = { [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "name"] }, p = { [H]: "not", [I]: [{ [H]: b, [I]: [o, "aws-iso-b"] }] }, q = {}, r = { [g]: "FIPS is enabled but this partition does not support FIPS", [E]: g }, s = { [g]: "DualStack is enabled but this partition does not support DualStack", [E]: g }, t = { [g]: "Invalid ARN: Failed to parse ARN.", [E]: g }, u = { [H]: "booleanEquals", [I]: [true, { [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }, v = { [H]: "booleanEquals", [I]: [true, { [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsDualStack"] }] }, w = [{ [J]: "StreamARN" }], x = [{ [H]: a, [I]: [k] }], y = [{ [G]: [{ [H]: "isValidHostLabel", [I]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "accountId"] }, false] }], [E]: c, [F]: [{ [G]: [{ [H]: "isValidHostLabel", [I]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "region"] }, false] }], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "service"] }, "kinesis"] }], [E]: c, [F]: [{ [G]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "resourceId[0]"], [K]: "arnType" }, { [H]: "not", [I]: [{ [H]: b, [I]: [{ [J]: "arnType" }, ""] }] }], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: [{ [J]: "arnType" }, "stream"] }], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: [o, "{arn#partition}"] }], [E]: c, [F]: [{ [G]: [{ [H]: a, [I]: [{ [J]: "OperationType" }] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }, { [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsDualStack"] }, true] }], [E]: c, [F]: [{ [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, { [g]: "DualStack is enabled, but this partition does not support DualStack.", [E]: g }] }, { [g]: "FIPS is enabled, but this partition does not support FIPS.", [E]: g }] }, { [G]: [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, true] }], [E]: c, [F]: [{ [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, r] }, { [G]: [{ [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsDualStack"] }, true] }], [E]: c, [F]: [{ [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, s] }, { [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, { [g]: "Operation Type is not set. Please contact service team for resolution.", [E]: g }] }, { [g]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [E]: g }] }, { [g]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [E]: g }] }, { [g]: "Invalid ARN: No ARN type specified", [E]: g }] }, { [g]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [E]: g }] }, { [g]: "Invalid ARN: Invalid region.", [E]: g }] }, { [g]: "Invalid ARN: Invalid account id.", [E]: g }], z = [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }, { [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], A = [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }], B = [{ [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], C = [{ [J]: "ConsumerARN" }];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, StreamARN: h, OperationType: h, ConsumerARN: h }, [F]: [{ [G]: [{ [H]: a, [I]: w }, j, l, m, n, p], [E]: c, [F]: [{ [G]: [{ [H]: d, [I]: w, [K]: e }], [E]: c, [F]: y }, t] }, { [G]: [{ [H]: a, [I]: C }, j, l, m, n, p], [E]: c, [F]: [{ [G]: [{ [H]: d, [I]: C, [K]: e }], [E]: c, [F]: y }, t] }, { [G]: x, [E]: c, [F]: [{ [G]: A, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [E]: g }, { [G]: B, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [E]: g }, { endpoint: { [L]: k, [M]: q, [N]: q }, [E]: f }] }, { [G]: [l], [E]: c, [F]: [{ [G]: [m], [E]: c, [F]: [{ [G]: z, [E]: c, [F]: [{ [G]: [u, v], [E]: c, [F]: [{ endpoint: { [L]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: q, [N]: q }, [E]: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [E]: g }] }, { [G]: A, [E]: c, [F]: [{ [G]: [u], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: ["aws-us-gov", o] }], endpoint: { [L]: "https://kinesis.{Region}.amazonaws.com", [M]: q, [N]: q }, [E]: f }, { endpoint: { [L]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: q, [N]: q }, [E]: f }] }, r] }, { [G]: B, [E]: c, [F]: [{ [G]: [v], [E]: c, [F]: [{ endpoint: { [L]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: q, [N]: q }, [E]: f }] }, s] }, { endpoint: { [L]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [M]: q, [N]: q }, [E]: f }] }] }, { error: "Invalid Configuration: Missing Region", [E]: g }] };
4
+ const G = "required", H = "type", I = "rules", J = "conditions", K = "fn", L = "argv", M = "ref", N = "assign", O = "url", P = "properties", Q = "headers";
5
+ const a = true, b = "isSet", c = "stringEquals", d = "aws.parseArn", e = "arn", f = "booleanEquals", g = "endpoint", h = "tree", i = "error", j = { [G]: false, [H]: "String" }, k = { [G]: true, "default": false, [H]: "Boolean" }, l = { [K]: "not", [L]: [{ [K]: b, [L]: [{ [M]: "Endpoint" }] }] }, m = { [M]: "Endpoint" }, n = { [K]: b, [L]: [{ [M]: "Region" }] }, o = { [K]: "aws.partition", [L]: [{ [M]: "Region" }], [N]: "PartitionResult" }, p = { [K]: "not", [L]: [{ [K]: c, [L]: [{ [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, q = { [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "name"] }, r = { [K]: "not", [L]: [{ [K]: c, [L]: [q, "aws-iso-b"] }] }, s = { [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsFIPS"] }, t = {}, u = { [i]: "FIPS is enabled but this partition does not support FIPS", [H]: i }, v = { [i]: "DualStack is enabled but this partition does not support DualStack", [H]: i }, w = { [i]: "Invalid ARN: Failed to parse ARN.", [H]: i }, x = { [K]: f, [L]: [true, { [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsDualStack"] }] }, y = [{ [M]: "StreamARN" }], z = [{ [K]: b, [L]: [m] }], A = [{ [J]: [{ [K]: "isValidHostLabel", [L]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "accountId"] }, false] }], [I]: [{ [J]: [{ [K]: "isValidHostLabel", [L]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "region"] }, false] }], [I]: [{ [J]: [{ [K]: c, [L]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "service"] }, "kinesis"] }], [I]: [{ [J]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "resourceId[0]"], [N]: "arnType" }, { [K]: "not", [L]: [{ [K]: c, [L]: [{ [M]: "arnType" }, ""] }] }], [I]: [{ [J]: [{ [K]: c, [L]: [{ [M]: "arnType" }, "stream"] }], [I]: [{ [J]: [{ [K]: c, [L]: [q, "{arn#partition}"] }], [I]: [{ [J]: [{ [K]: b, [L]: [{ [M]: "OperationType" }] }], [I]: [{ [J]: [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }, { [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [s, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [{ [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsDualStack"] }, true] }], [I]: [{ [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, { [i]: "DualStack is enabled, but this partition does not support DualStack.", [H]: i }], [H]: h }, { [i]: "FIPS is enabled, but this partition does not support FIPS.", [H]: i }], [H]: h }, { [J]: [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [s, true] }], [I]: [{ [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, u], [H]: h }, { [J]: [{ [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [{ [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsDualStack"] }, true] }], [I]: [{ [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, v], [H]: h }, { [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, { [i]: "Operation Type is not set. Please contact service team for resolution.", [H]: i }], [H]: h }, { [i]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: No ARN type specified", [H]: i }], [H]: h }, { [i]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: Invalid region.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: Invalid account id.", [H]: i }], B = [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }, { [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], C = [{ [K]: f, [L]: [s, true] }], D = [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }], E = [{ [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], F = [{ [M]: "ConsumerARN" }];
6
+ const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j, StreamARN: j, OperationType: j, ConsumerARN: j }, [I]: [{ [J]: [{ [K]: b, [L]: y }, l, n, o, p, r], [I]: [{ [J]: [{ [K]: d, [L]: y, [N]: e }], [I]: A, [H]: h }, w], [H]: h }, { [J]: [{ [K]: b, [L]: F }, l, n, o, p, r], [I]: [{ [J]: [{ [K]: d, [L]: F, [N]: e }], [I]: A, [H]: h }, w], [H]: h }, { [J]: z, [I]: [{ [J]: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [H]: i }, { [J]: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [H]: i }, { endpoint: { [O]: m, [P]: t, [Q]: t }, [H]: g }], [H]: h }, { [J]: [n], [I]: [{ [J]: [o], [I]: [{ [J]: B, [I]: [{ [J]: [{ [K]: f, [L]: [a, s] }, x], [I]: [{ endpoint: { [O]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [H]: i }], [H]: h }, { [J]: D, [I]: [{ [J]: C, [I]: [{ [J]: [{ [K]: c, [L]: [q, "aws-us-gov"] }], endpoint: { [O]: "https://kinesis.{Region}.amazonaws.com", [P]: t, [Q]: t }, [H]: g }, { endpoint: { [O]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }, u], [H]: h }, { [J]: E, [I]: [{ [J]: [x], [I]: [{ endpoint: { [O]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }, v], [H]: h }, { endpoint: { [O]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }], [H]: h }, { error: "Invalid Configuration: Missing Region", [H]: i }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const D = "required", E = "type", F = "rules", G = "conditions", H = "fn", I = "argv", J = "ref", K = "assign", L = "url", M = "properties", N = "headers";
2
- const a = "isSet", b = "stringEquals", c = "tree", d = "aws.parseArn", e = "arn", f = "endpoint", g = "error", h = { [D]: false, [E]: "String" }, i = { [D]: true, "default": false, [E]: "Boolean" }, j = { [H]: "not", [I]: [{ [H]: a, [I]: [{ [J]: "Endpoint" }] }] }, k = { [J]: "Endpoint" }, l = { [H]: a, [I]: [{ [J]: "Region" }] }, m = { [H]: "aws.partition", [I]: [{ [J]: "Region" }], [K]: "PartitionResult" }, n = { [H]: "not", [I]: [{ [H]: b, [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, o = { [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "name"] }, p = { [H]: "not", [I]: [{ [H]: b, [I]: [o, "aws-iso-b"] }] }, q = {}, r = { [g]: "FIPS is enabled but this partition does not support FIPS", [E]: g }, s = { [g]: "DualStack is enabled but this partition does not support DualStack", [E]: g }, t = { [g]: "Invalid ARN: Failed to parse ARN.", [E]: g }, u = { [H]: "booleanEquals", [I]: [true, { [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }, v = { [H]: "booleanEquals", [I]: [true, { [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsDualStack"] }] }, w = [{ [J]: "StreamARN" }], x = [{ [H]: a, [I]: [k] }], y = [{ [G]: [{ [H]: "isValidHostLabel", [I]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "accountId"] }, false] }], [E]: c, [F]: [{ [G]: [{ [H]: "isValidHostLabel", [I]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "region"] }, false] }], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "service"] }, "kinesis"] }], [E]: c, [F]: [{ [G]: [{ [H]: "getAttr", [I]: [{ [J]: e }, "resourceId[0]"], [K]: "arnType" }, { [H]: "not", [I]: [{ [H]: b, [I]: [{ [J]: "arnType" }, ""] }] }], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: [{ [J]: "arnType" }, "stream"] }], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: [o, "{arn#partition}"] }], [E]: c, [F]: [{ [G]: [{ [H]: a, [I]: [{ [J]: "OperationType" }] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }, { [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsDualStack"] }, true] }], [E]: c, [F]: [{ [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, { [g]: "DualStack is enabled, but this partition does not support DualStack.", [E]: g }] }, { [g]: "FIPS is enabled, but this partition does not support FIPS.", [E]: g }] }, { [G]: [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, true] }], [E]: c, [F]: [{ [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, r] }, { [G]: [{ [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], [E]: c, [F]: [{ [G]: [{ [H]: "booleanEquals", [I]: [{ [H]: "getAttr", [I]: [{ [J]: "PartitionResult" }, "supportsDualStack"] }, true] }], [E]: c, [F]: [{ [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, s] }, { [f]: { [L]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [M]: {}, [N]: {} }, [E]: f }] }, { [g]: "Operation Type is not set. Please contact service team for resolution.", [E]: g }] }, { [g]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [E]: g }] }, { [g]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [E]: g }] }, { [g]: "Invalid ARN: No ARN type specified", [E]: g }] }, { [g]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [E]: g }] }, { [g]: "Invalid ARN: Invalid region.", [E]: g }] }, { [g]: "Invalid ARN: Invalid account id.", [E]: g }], z = [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }, { [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], A = [{ [H]: "booleanEquals", [I]: [{ [J]: "UseFIPS" }, true] }], B = [{ [H]: "booleanEquals", [I]: [{ [J]: "UseDualStack" }, true] }], C = [{ [J]: "ConsumerARN" }];
3
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, StreamARN: h, OperationType: h, ConsumerARN: h }, [F]: [{ [G]: [{ [H]: a, [I]: w }, j, l, m, n, p], [E]: c, [F]: [{ [G]: [{ [H]: d, [I]: w, [K]: e }], [E]: c, [F]: y }, t] }, { [G]: [{ [H]: a, [I]: C }, j, l, m, n, p], [E]: c, [F]: [{ [G]: [{ [H]: d, [I]: C, [K]: e }], [E]: c, [F]: y }, t] }, { [G]: x, [E]: c, [F]: [{ [G]: A, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [E]: g }, { [G]: B, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [E]: g }, { endpoint: { [L]: k, [M]: q, [N]: q }, [E]: f }] }, { [G]: [l], [E]: c, [F]: [{ [G]: [m], [E]: c, [F]: [{ [G]: z, [E]: c, [F]: [{ [G]: [u, v], [E]: c, [F]: [{ endpoint: { [L]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: q, [N]: q }, [E]: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [E]: g }] }, { [G]: A, [E]: c, [F]: [{ [G]: [u], [E]: c, [F]: [{ [G]: [{ [H]: b, [I]: ["aws-us-gov", o] }], endpoint: { [L]: "https://kinesis.{Region}.amazonaws.com", [M]: q, [N]: q }, [E]: f }, { endpoint: { [L]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: q, [N]: q }, [E]: f }] }, r] }, { [G]: B, [E]: c, [F]: [{ [G]: [v], [E]: c, [F]: [{ endpoint: { [L]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: q, [N]: q }, [E]: f }] }, s] }, { endpoint: { [L]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [M]: q, [N]: q }, [E]: f }] }] }, { error: "Invalid Configuration: Missing Region", [E]: g }] };
1
+ const G = "required", H = "type", I = "rules", J = "conditions", K = "fn", L = "argv", M = "ref", N = "assign", O = "url", P = "properties", Q = "headers";
2
+ const a = true, b = "isSet", c = "stringEquals", d = "aws.parseArn", e = "arn", f = "booleanEquals", g = "endpoint", h = "tree", i = "error", j = { [G]: false, [H]: "String" }, k = { [G]: true, "default": false, [H]: "Boolean" }, l = { [K]: "not", [L]: [{ [K]: b, [L]: [{ [M]: "Endpoint" }] }] }, m = { [M]: "Endpoint" }, n = { [K]: b, [L]: [{ [M]: "Region" }] }, o = { [K]: "aws.partition", [L]: [{ [M]: "Region" }], [N]: "PartitionResult" }, p = { [K]: "not", [L]: [{ [K]: c, [L]: [{ [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, q = { [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "name"] }, r = { [K]: "not", [L]: [{ [K]: c, [L]: [q, "aws-iso-b"] }] }, s = { [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsFIPS"] }, t = {}, u = { [i]: "FIPS is enabled but this partition does not support FIPS", [H]: i }, v = { [i]: "DualStack is enabled but this partition does not support DualStack", [H]: i }, w = { [i]: "Invalid ARN: Failed to parse ARN.", [H]: i }, x = { [K]: f, [L]: [true, { [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsDualStack"] }] }, y = [{ [M]: "StreamARN" }], z = [{ [K]: b, [L]: [m] }], A = [{ [J]: [{ [K]: "isValidHostLabel", [L]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "accountId"] }, false] }], [I]: [{ [J]: [{ [K]: "isValidHostLabel", [L]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "region"] }, false] }], [I]: [{ [J]: [{ [K]: c, [L]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "service"] }, "kinesis"] }], [I]: [{ [J]: [{ [K]: "getAttr", [L]: [{ [M]: e }, "resourceId[0]"], [N]: "arnType" }, { [K]: "not", [L]: [{ [K]: c, [L]: [{ [M]: "arnType" }, ""] }] }], [I]: [{ [J]: [{ [K]: c, [L]: [{ [M]: "arnType" }, "stream"] }], [I]: [{ [J]: [{ [K]: c, [L]: [q, "{arn#partition}"] }], [I]: [{ [J]: [{ [K]: b, [L]: [{ [M]: "OperationType" }] }], [I]: [{ [J]: [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }, { [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [s, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [{ [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsDualStack"] }, true] }], [I]: [{ [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, { [i]: "DualStack is enabled, but this partition does not support DualStack.", [H]: i }], [H]: h }, { [i]: "FIPS is enabled, but this partition does not support FIPS.", [H]: i }], [H]: h }, { [J]: [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [s, true] }], [I]: [{ [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, u], [H]: h }, { [J]: [{ [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], [I]: [{ [J]: [{ [K]: f, [L]: [{ [K]: "getAttr", [L]: [{ [M]: "PartitionResult" }, "supportsDualStack"] }, true] }], [I]: [{ [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, v], [H]: h }, { [g]: { [O]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [P]: {}, [Q]: {} }, [H]: g }], [H]: h }, { [i]: "Operation Type is not set. Please contact service team for resolution.", [H]: i }], [H]: h }, { [i]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: No ARN type specified", [H]: i }], [H]: h }, { [i]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: Invalid region.", [H]: i }], [H]: h }, { [i]: "Invalid ARN: Invalid account id.", [H]: i }], B = [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }, { [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], C = [{ [K]: f, [L]: [s, true] }], D = [{ [K]: f, [L]: [{ [M]: "UseFIPS" }, true] }], E = [{ [K]: f, [L]: [{ [M]: "UseDualStack" }, true] }], F = [{ [M]: "ConsumerARN" }];
3
+ const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j, StreamARN: j, OperationType: j, ConsumerARN: j }, [I]: [{ [J]: [{ [K]: b, [L]: y }, l, n, o, p, r], [I]: [{ [J]: [{ [K]: d, [L]: y, [N]: e }], [I]: A, [H]: h }, w], [H]: h }, { [J]: [{ [K]: b, [L]: F }, l, n, o, p, r], [I]: [{ [J]: [{ [K]: d, [L]: F, [N]: e }], [I]: A, [H]: h }, w], [H]: h }, { [J]: z, [I]: [{ [J]: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [H]: i }, { [J]: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [H]: i }, { endpoint: { [O]: m, [P]: t, [Q]: t }, [H]: g }], [H]: h }, { [J]: [n], [I]: [{ [J]: [o], [I]: [{ [J]: B, [I]: [{ [J]: [{ [K]: f, [L]: [a, s] }, x], [I]: [{ endpoint: { [O]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [H]: i }], [H]: h }, { [J]: D, [I]: [{ [J]: C, [I]: [{ [J]: [{ [K]: c, [L]: [q, "aws-us-gov"] }], endpoint: { [O]: "https://kinesis.{Region}.amazonaws.com", [P]: t, [Q]: t }, [H]: g }, { endpoint: { [O]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }, u], [H]: h }, { [J]: E, [I]: [{ [J]: [x], [I]: [{ endpoint: { [O]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }, v], [H]: h }, { endpoint: { [O]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [P]: t, [Q]: t }, [H]: g }], [H]: h }], [H]: h }, { error: "Invalid Configuration: Missing Region", [H]: i }] };
4
4
  export const ruleSet = _data;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.433.0",
4
+ "version": "3.435.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.433.0",
26
- "@aws-sdk/credential-provider-node": "3.433.0",
25
+ "@aws-sdk/client-sts": "3.435.0",
26
+ "@aws-sdk/credential-provider-node": "3.435.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",