@aws-sdk/client-kinesis 3.980.0 → 3.982.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.
- package/dist-cjs/endpoint/endpointResolver.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +113 -78
- package/dist-es/commands/AddTagsToStreamCommand.js +1 -0
- package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +1 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -0
- package/dist-es/commands/DeleteStreamCommand.js +1 -0
- package/dist-es/commands/DeregisterStreamConsumerCommand.js +1 -0
- package/dist-es/commands/DescribeStreamCommand.js +1 -0
- package/dist-es/commands/DescribeStreamConsumerCommand.js +1 -0
- package/dist-es/commands/DescribeStreamSummaryCommand.js +1 -0
- package/dist-es/commands/DisableEnhancedMonitoringCommand.js +1 -0
- package/dist-es/commands/EnableEnhancedMonitoringCommand.js +1 -0
- package/dist-es/commands/GetRecordsCommand.js +1 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +1 -0
- package/dist-es/commands/GetShardIteratorCommand.js +1 -0
- package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +1 -0
- package/dist-es/commands/ListShardsCommand.js +1 -0
- package/dist-es/commands/ListStreamConsumersCommand.js +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
- package/dist-es/commands/ListTagsForStreamCommand.js +1 -0
- package/dist-es/commands/MergeShardsCommand.js +1 -0
- package/dist-es/commands/PutRecordCommand.js +1 -0
- package/dist-es/commands/PutRecordsCommand.js +1 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +1 -0
- package/dist-es/commands/RegisterStreamConsumerCommand.js +1 -0
- package/dist-es/commands/RemoveTagsFromStreamCommand.js +1 -0
- package/dist-es/commands/SplitShardCommand.js +1 -0
- package/dist-es/commands/StartStreamEncryptionCommand.js +1 -0
- package/dist-es/commands/StopStreamEncryptionCommand.js +1 -0
- package/dist-es/commands/SubscribeToShardCommand.js +1 -0
- package/dist-es/commands/TagResourceCommand.js +1 -0
- package/dist-es/commands/UntagResourceCommand.js +1 -0
- package/dist-es/commands/UpdateMaxRecordSizeCommand.js +1 -0
- package/dist-es/commands/UpdateShardCountCommand.js +1 -0
- package/dist-es/commands/UpdateStreamModeCommand.js +1 -0
- package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +1 -0
- package/dist-es/endpoint/endpointResolver.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/schemas/schemas_0.js +79 -78
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +1 -0
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +1 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +1 -0
- package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +1 -0
- package/dist-types/commands/DescribeStreamCommand.d.ts +1 -0
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +1 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +2 -0
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +1 -0
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +1 -0
- package/dist-types/commands/GetRecordsCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +1 -0
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +1 -0
- package/dist-types/commands/ListShardsCommand.d.ts +1 -0
- package/dist-types/commands/ListStreamConsumersCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +1 -0
- package/dist-types/commands/MergeShardsCommand.d.ts +1 -0
- package/dist-types/commands/PutRecordCommand.d.ts +1 -0
- package/dist-types/commands/PutRecordsCommand.d.ts +1 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +1 -0
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +1 -0
- package/dist-types/commands/SplitShardCommand.d.ts +1 -0
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +1 -0
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +1 -0
- package/dist-types/commands/SubscribeToShardCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMaxRecordSizeCommand.d.ts +1 -0
- package/dist-types/commands/UpdateShardCountCommand.d.ts +1 -0
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +1 -0
- package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +177 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const X = "required", Y = "type", Z = "rules", aa = "conditions", ab = "fn", ac = "argv", ad = "ref", ae = "assign", af = "url", ag = "properties", ah = "headers";
|
|
5
|
+
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" }];
|
|
6
|
+
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 }] };
|
|
7
7
|
exports.ruleSet = _data;
|