@aws-sdk/client-s3-control 3.235.0 → 3.238.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 aA = "
|
|
5
|
-
const a = false, b = true, c = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", [aA]: c }, UseFIPS: { builtIn: "AWS::UseFIPS", required: b, default: a, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", [aA]: d }, UseDualStack: { builtIn: "AWS::UseDualStack", required: b, default: a, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", [aA]: d }, Endpoint: { builtIn: "SDK::Endpoint", required: a, documentation: "Override the endpoint used to send this request", [aA]: c }, AccountId: { required: a, documentation: "The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.", [aA]: c }, RequiresAccountId: { required: a, documentation: "Internal parameter for operations that require account id host prefix.", [aA]: d }, OutpostId: { required: a, documentation: "The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.", [aA]: c }, Bucket: { required: a, documentation: "The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.", [aA]: c }, AccessPointName: { required: a, documentation: "The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.", [aA]: c }, UseArnRegion: { builtIn: "AWS::S3Control::UseArnRegion", required: a, documentation: "When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.", [aA]: d } }, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: f, [aD]: aq }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: f, [aD]: [E] }], [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [F, { [aB]: ap, [aA]: e, rules: [H, { [aB]: ap, [aA]: e, rules: [M, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: k, [aD]: [{ [aC]: l, [aD]: [E, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: as, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: au, endpoint: { url: m, properties: O, headers: P }, [aA]: p }, { [aB]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: O, headers: P }, [aA]: p }, { [aB]: ap, endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: O, headers: P }, [aA]: p }] }] }] }, Q] }] }] }] }] }] }, R] }, { [aB]: [{ [aC]: f, [aD]: aw }, { [aC]: q, [aD]: aw, [aF]: r }], [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, s], [aF]: t }, T], [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [{ [aC]: i, [aD]: [S, u] }, o] }], [aA]: e, rules: [{ [aB]: at, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, v], [aF]: w }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ax, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [U, V, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [W, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: g, [aD]: [W], [aF]: x }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ay, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [W, b] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: k, [aD]: [{ [aC]: h, [aD]: [X, ""] }] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [X, a] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [K, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [L, y] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, z], [aF]: A }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, B], [aF]: "accessPointName" }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [Y, "accesspoint"] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: Z, headers: aa }, [aA]: p }, { [aB]: au, endpoint: { url: m, properties: Z, headers: aa }, [aA]: p }, { [aB]: ap, endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: Z, headers: aa }, [aA]: p }] }] }, { [aB]: ap, error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aA]: j }] }] }, { [aB]: ap, error: "Invalid ARN: expected an access point name", [aA]: j }] }] }, ab] }] }] }, { [aB]: ap, error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aA]: j }] }] }, ac] }] }, { [aB]: ap, error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aA]: j }] }] }, ad] }] }, { [aB]: ap, error: "Could not load partition for ARN region `{accessPointArn#region}`", [aA]: j }] }] }, R] }] }] }, ae] }] }, af] }] }] }, ag] }, { [aB]: [{ [aC]: f, [aD]: az }, { [aC]: q, [aD]: az, [aF]: C }], [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, s], [aF]: t }, T], [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [{ [aC]: i, [aD]: [ah, u] }, o] }], [aA]: e, rules: [{ [aB]: at, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, v], [aF]: w }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ax, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [U, V, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [ai, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: g, [aD]: [ai], [aF]: x }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ay, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [ai, b] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: k, [aD]: [{ [aC]: h, [aD]: [aj, ""] }] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [aj, a] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [K, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [L, D] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, z], [aF]: A }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, B], [aF]: "bucketName" }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [Y, "bucket"] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ak, headers: al }, [aA]: p }, { [aB]: au, endpoint: { url: m, properties: ak, headers: al }, [aA]: p }, { [aB]: ap, endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ak, headers: al }, [aA]: p }] }] }, { [aB]: ap, error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aA]: j }] }] }, { [aB]: ap, error: "Invalid ARN: expected a bucket name", [aA]: j }] }] }, ab] }] }] }, { [aB]: ap, error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aA]: j }] }] }, ac] }] }, { [aB]: ap, error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aA]: j }] }] }, ad] }] }, R] }] }, { [aB]: ap, error: "Could not load partition for ARN region `{bucketArn#region}`", [aA]: j }] }] }] }, ae] }] }, af] }] }] }, ag] }, { [aB]: ap, [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: as, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [F, { [aB]: ap, [aA]: e, rules: [H, { [aB]: ap, [aA]: e, rules: [M, { [aB]: ap, [aA]: e, rules: [{ [aB]: au, [aA]: e, rules: [{ [aB]: at, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [I, J, K], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: am, headers: P }, [aA]: p }, { [aB]: ap, endpoint: { url: m, properties: am, headers: P }, [aA]: p }] }] }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [G, N, I, J, K], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [G, N], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [G, an, I, J, K], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [G, an], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, N, I, J, K], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, N], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, an, I, J, K], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, an], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }] }] }] }] }] }] }, Q] }] }, R] }] }] }, { [aB]: ap, error: "Region must be set", [aA]: j }] }] };
|
|
4
|
+
const aA = "required", aB = "type", aC = "conditions", aD = "fn", aE = "argv", aF = "ref", aG = "assign", aH = "authSchemes", aI = "name", aJ = "signingRegion", aK = "disableDoubleEncoding", aL = "signingName", aM = "x-amz-account-id", aN = "x-amz-outpost-id";
|
|
5
|
+
const a = false, b = true, c = "tree", d = "isSet", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "{url#scheme}://{url#authority}{url#path}", l = "{Region}", m = "s3-outposts", n = "endpoint", o = "aws.parseArn", p = "accessPointArn", q = "resourceId[0]", r = "arnType", s = "service", t = "resourceId[1]", u = "outpostId", v = "arnPartition", w = "{accessPointArn#accountId}", x = "resourceId[2]", y = "outpostType", z = "resourceId[3]", A = "bucketArn", B = "{bucketArn#accountId}", C = { [aA]: false, [aB]: "String" }, D = { [aA]: true, "default": false, [aB]: "Boolean" }, E = { [aA]: false, [aB]: "Boolean" }, F = { [aF]: "OutpostId" }, G = { [aC]: [{ [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, { [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }, "aws-cn"] }], [h]: "Partition does not support FIPS", [aB]: h }, H = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, I = { [aC]: [{ [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, { [aD]: i, [aE]: [{ [aD]: d, [aE]: [{ [aF]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [aB]: h }, J = { [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, K = { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, L = { [aD]: d, [aE]: [{ [aF]: "AccountId" }] }, M = { [aF]: "AccountId" }, N = { [aC]: [L, { [aD]: i, [aE]: [{ [aD]: j, [aE]: [M, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, O = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, true] }, P = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: m }] }, Q = {}, R = { [h]: "Invalid region: region was not a valid DNS name.", [aB]: h }, S = { [h]: "A valid partition could not be determined", [aB]: h }, T = { [aF]: p }, U = { [aD]: i, [aE]: [{ [aD]: f, [aE]: [{ [aF]: r }, ""] }] }, V = { [aD]: d, [aE]: [{ [aF]: "UseArnRegion" }] }, W = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseArnRegion" }, false] }, X = { [aD]: g, [aE]: [T, "region"] }, Y = { [aD]: g, [aE]: [T, "accountId"] }, Z = { [aF]: y }, aa = { [aH]: [{ [aI]: "sigv4", [aJ]: "{accessPointArn#region}", [aK]: true, [aL]: m }] }, ab = { [aM]: [w], [aN]: ["{outpostId}"] }, ac = { [h]: "Invalid ARN: Expected a 4-component resource", [aB]: h }, ad = { [h]: "Invalid ARN: missing account ID", [aB]: h }, ae = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aB]: h }, af = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aB]: h }, ag = { [h]: "Invalid ARN: The Outpost Id was not set", [aB]: h }, ah = { [h]: "Invalid ARN: No ARN type specified", [aB]: h }, ai = { [aF]: A }, aj = { [aD]: g, [aE]: [ai, "region"] }, ak = { [aD]: g, [aE]: [ai, "accountId"] }, al = { [aH]: [{ [aI]: "sigv4", [aJ]: "{bucketArn#region}", [aK]: true, [aL]: m }] }, am = { [aM]: [B], [aN]: ["{outpostId}"] }, an = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: "s3" }] }, ao = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, false] }, ap = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, false] }, aq = [{ [aF]: "Region" }], ar = [{ [aD]: e, [aE]: aq, [aG]: "partitionResult" }], as = [{ [aD]: j, [aE]: [{ [aF]: "Region" }, true] }], at = [O], au = [{ [aD]: d, [aE]: [{ [aF]: "Endpoint" }] }, { [aD]: "parseURL", [aE]: [{ [aF]: "Endpoint" }], [aG]: "url" }], av = [H], aw = [{ [aF]: "AccessPointName" }], ax = [{ [aD]: j, [aE]: [{ [aF]: u }, false] }], ay = [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: v }, "name"] }, { [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }] }], az = [{ [aF]: "Bucket" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: C, UseFIPS: D, UseDualStack: D, Endpoint: C, AccountId: C, RequiresAccountId: E, OutpostId: C, Bucket: C, AccessPointName: C, UseArnRegion: E }, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: aq }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: [F] }], [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: j, [aE]: [F, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, { [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: au, endpoint: { url: k, properties: P, headers: Q }, [aB]: n }, { [aC]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }] }] }] }, R] }] }] }] }] }] }, S] }, { [aC]: [{ [aD]: d, [aE]: aw }, { [aD]: o, [aE]: aw, [aG]: p }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [T, s] }, m] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [X, l] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [X], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [X, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [Y, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [Y, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, w] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, z], [aG]: "accessPointName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "accesspoint"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: aa, headers: ab }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }] }] }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected an access point name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, { error: "Could not load partition for ARN region `{accessPointArn#region}`", [aB]: h }] }] }, S] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aC]: [{ [aD]: d, [aE]: az }, { [aD]: o, [aE]: az, [aG]: A }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [ai, s] }, m] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [aj, l] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [aj], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [aj, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [ak, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [ak, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, B] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, z], [aG]: "bucketName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "bucket"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: al, headers: am }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }] }] }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected a bucket name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, S] }] }, { error: "Could not load partition for ARN region `{bucketArn#region}`", [aB]: h }] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: au, [aB]: c, rules: [{ [aC]: at, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [aB]: h }, { [aB]: c, rules: [{ [aC]: [J, K, L], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: an, headers: Q }, [aB]: n }, { endpoint: { url: k, properties: an, headers: Q }, [aB]: n }] }] }, { [aB]: c, rules: [{ [aC]: [H, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, O], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }] }] }] }] }] }] }, R] }] }, S] }] }] }, { error: "Region must be set", [aB]: h }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const aA = "
|
|
2
|
-
const a = false, b = true, c = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", [aA]: c }, UseFIPS: { builtIn: "AWS::UseFIPS", required: b, default: a, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", [aA]: d }, UseDualStack: { builtIn: "AWS::UseDualStack", required: b, default: a, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", [aA]: d }, Endpoint: { builtIn: "SDK::Endpoint", required: a, documentation: "Override the endpoint used to send this request", [aA]: c }, AccountId: { required: a, documentation: "The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.", [aA]: c }, RequiresAccountId: { required: a, documentation: "Internal parameter for operations that require account id host prefix.", [aA]: d }, OutpostId: { required: a, documentation: "The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.", [aA]: c }, Bucket: { required: a, documentation: "The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.", [aA]: c }, AccessPointName: { required: a, documentation: "The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.", [aA]: c }, UseArnRegion: { builtIn: "AWS::S3Control::UseArnRegion", required: a, documentation: "When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.", [aA]: d } }, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: f, [aD]: aq }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: f, [aD]: [E] }], [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [F, { [aB]: ap, [aA]: e, rules: [H, { [aB]: ap, [aA]: e, rules: [M, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: k, [aD]: [{ [aC]: l, [aD]: [E, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: as, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: au, endpoint: { url: m, properties: O, headers: P }, [aA]: p }, { [aB]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: O, headers: P }, [aA]: p }, { [aB]: ap, endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: O, headers: P }, [aA]: p }] }] }] }, Q] }] }] }] }] }] }, R] }, { [aB]: [{ [aC]: f, [aD]: aw }, { [aC]: q, [aD]: aw, [aF]: r }], [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, s], [aF]: t }, T], [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [{ [aC]: i, [aD]: [S, u] }, o] }], [aA]: e, rules: [{ [aB]: at, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, v], [aF]: w }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ax, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [U, V, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [W, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: g, [aD]: [W], [aF]: x }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ay, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [W, b] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: k, [aD]: [{ [aC]: h, [aD]: [X, ""] }] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [X, a] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [K, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [L, y] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, z], [aF]: A }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [S, B], [aF]: "accessPointName" }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [Y, "accesspoint"] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: Z, headers: aa }, [aA]: p }, { [aB]: au, endpoint: { url: m, properties: Z, headers: aa }, [aA]: p }, { [aB]: ap, endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: Z, headers: aa }, [aA]: p }] }] }, { [aB]: ap, error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aA]: j }] }] }, { [aB]: ap, error: "Invalid ARN: expected an access point name", [aA]: j }] }] }, ab] }] }] }, { [aB]: ap, error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aA]: j }] }] }, ac] }] }, { [aB]: ap, error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aA]: j }] }] }, ad] }] }, { [aB]: ap, error: "Could not load partition for ARN region `{accessPointArn#region}`", [aA]: j }] }] }, R] }] }] }, ae] }] }, af] }] }] }, ag] }, { [aB]: [{ [aC]: f, [aD]: az }, { [aC]: q, [aD]: az, [aF]: C }], [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, s], [aF]: t }, T], [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [{ [aC]: i, [aD]: [ah, u] }, o] }], [aA]: e, rules: [{ [aB]: at, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, v], [aF]: w }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ax, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [U, V, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [ai, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: g, [aD]: [ai], [aF]: x }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: ay, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [ai, b] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: k, [aD]: [{ [aC]: h, [aD]: [aj, ""] }] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: l, [aD]: [aj, a] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [K, { [aC]: k, [aD]: [{ [aC]: h, [aD]: [L, D] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, z], [aF]: A }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: i, [aD]: [ah, B], [aF]: "bucketName" }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: [{ [aC]: h, [aD]: [Y, "bucket"] }], [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ak, headers: al }, [aA]: p }, { [aB]: au, endpoint: { url: m, properties: ak, headers: al }, [aA]: p }, { [aB]: ap, endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ak, headers: al }, [aA]: p }] }] }, { [aB]: ap, error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aA]: j }] }] }, { [aB]: ap, error: "Invalid ARN: expected a bucket name", [aA]: j }] }] }, ab] }] }] }, { [aB]: ap, error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aA]: j }] }] }, ac] }] }, { [aB]: ap, error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aA]: j }] }] }, ad] }] }, R] }] }, { [aB]: ap, error: "Could not load partition for ARN region `{bucketArn#region}`", [aA]: j }] }] }] }, ae] }] }, af] }] }] }, ag] }, { [aB]: ap, [aA]: e, rules: [{ [aB]: ar, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [{ [aB]: as, [aA]: e, rules: [{ [aB]: ap, [aA]: e, rules: [F, { [aB]: ap, [aA]: e, rules: [H, { [aB]: ap, [aA]: e, rules: [M, { [aB]: ap, [aA]: e, rules: [{ [aB]: au, [aA]: e, rules: [{ [aB]: at, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [aA]: j }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [I, J, K], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: am, headers: P }, [aA]: p }, { [aB]: ap, endpoint: { url: m, properties: am, headers: P }, [aA]: p }] }] }, { [aB]: ap, [aA]: e, rules: [{ [aB]: [G, N, I, J, K], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [G, N], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [G, an, I, J, K], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [G, an], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, N, I, J, K], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, N], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, an, I, J, K], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }, { [aB]: [ao, an], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: am, headers: P }, [aA]: p }] }] }] }] }] }] }, Q] }] }, R] }] }] }, { [aB]: ap, error: "Region must be set", [aA]: j }] }] };
|
|
1
|
+
const aA = "required", aB = "type", aC = "conditions", aD = "fn", aE = "argv", aF = "ref", aG = "assign", aH = "authSchemes", aI = "name", aJ = "signingRegion", aK = "disableDoubleEncoding", aL = "signingName", aM = "x-amz-account-id", aN = "x-amz-outpost-id";
|
|
2
|
+
const a = false, b = true, c = "tree", d = "isSet", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "{url#scheme}://{url#authority}{url#path}", l = "{Region}", m = "s3-outposts", n = "endpoint", o = "aws.parseArn", p = "accessPointArn", q = "resourceId[0]", r = "arnType", s = "service", t = "resourceId[1]", u = "outpostId", v = "arnPartition", w = "{accessPointArn#accountId}", x = "resourceId[2]", y = "outpostType", z = "resourceId[3]", A = "bucketArn", B = "{bucketArn#accountId}", C = { [aA]: false, [aB]: "String" }, D = { [aA]: true, "default": false, [aB]: "Boolean" }, E = { [aA]: false, [aB]: "Boolean" }, F = { [aF]: "OutpostId" }, G = { [aC]: [{ [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, { [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }, "aws-cn"] }], [h]: "Partition does not support FIPS", [aB]: h }, H = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, I = { [aC]: [{ [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, { [aD]: i, [aE]: [{ [aD]: d, [aE]: [{ [aF]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [aB]: h }, J = { [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, K = { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, L = { [aD]: d, [aE]: [{ [aF]: "AccountId" }] }, M = { [aF]: "AccountId" }, N = { [aC]: [L, { [aD]: i, [aE]: [{ [aD]: j, [aE]: [M, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, O = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, true] }, P = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: m }] }, Q = {}, R = { [h]: "Invalid region: region was not a valid DNS name.", [aB]: h }, S = { [h]: "A valid partition could not be determined", [aB]: h }, T = { [aF]: p }, U = { [aD]: i, [aE]: [{ [aD]: f, [aE]: [{ [aF]: r }, ""] }] }, V = { [aD]: d, [aE]: [{ [aF]: "UseArnRegion" }] }, W = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseArnRegion" }, false] }, X = { [aD]: g, [aE]: [T, "region"] }, Y = { [aD]: g, [aE]: [T, "accountId"] }, Z = { [aF]: y }, aa = { [aH]: [{ [aI]: "sigv4", [aJ]: "{accessPointArn#region}", [aK]: true, [aL]: m }] }, ab = { [aM]: [w], [aN]: ["{outpostId}"] }, ac = { [h]: "Invalid ARN: Expected a 4-component resource", [aB]: h }, ad = { [h]: "Invalid ARN: missing account ID", [aB]: h }, ae = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aB]: h }, af = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aB]: h }, ag = { [h]: "Invalid ARN: The Outpost Id was not set", [aB]: h }, ah = { [h]: "Invalid ARN: No ARN type specified", [aB]: h }, ai = { [aF]: A }, aj = { [aD]: g, [aE]: [ai, "region"] }, ak = { [aD]: g, [aE]: [ai, "accountId"] }, al = { [aH]: [{ [aI]: "sigv4", [aJ]: "{bucketArn#region}", [aK]: true, [aL]: m }] }, am = { [aM]: [B], [aN]: ["{outpostId}"] }, an = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: "s3" }] }, ao = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, false] }, ap = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, false] }, aq = [{ [aF]: "Region" }], ar = [{ [aD]: e, [aE]: aq, [aG]: "partitionResult" }], as = [{ [aD]: j, [aE]: [{ [aF]: "Region" }, true] }], at = [O], au = [{ [aD]: d, [aE]: [{ [aF]: "Endpoint" }] }, { [aD]: "parseURL", [aE]: [{ [aF]: "Endpoint" }], [aG]: "url" }], av = [H], aw = [{ [aF]: "AccessPointName" }], ax = [{ [aD]: j, [aE]: [{ [aF]: u }, false] }], ay = [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: v }, "name"] }, { [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }] }], az = [{ [aF]: "Bucket" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: C, UseFIPS: D, UseDualStack: D, Endpoint: C, AccountId: C, RequiresAccountId: E, OutpostId: C, Bucket: C, AccessPointName: C, UseArnRegion: E }, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: aq }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: [F] }], [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: j, [aE]: [F, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, { [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: au, endpoint: { url: k, properties: P, headers: Q }, [aB]: n }, { [aC]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }] }] }] }, R] }] }] }] }] }] }, S] }, { [aC]: [{ [aD]: d, [aE]: aw }, { [aD]: o, [aE]: aw, [aG]: p }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [T, s] }, m] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [X, l] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [X], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [X, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [Y, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [Y, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, w] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, z], [aG]: "accessPointName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "accesspoint"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: aa, headers: ab }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }] }] }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected an access point name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, { error: "Could not load partition for ARN region `{accessPointArn#region}`", [aB]: h }] }] }, S] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aC]: [{ [aD]: d, [aE]: az }, { [aD]: o, [aE]: az, [aG]: A }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [ai, s] }, m] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [aj, l] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [aj], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [aj, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [ak, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [ak, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, B] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, z], [aG]: "bucketName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "bucket"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: al, headers: am }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }] }] }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected a bucket name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, S] }] }, { error: "Could not load partition for ARN region `{bucketArn#region}`", [aB]: h }] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: au, [aB]: c, rules: [{ [aC]: at, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [aB]: h }, { [aB]: c, rules: [{ [aC]: [J, K, L], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: an, headers: Q }, [aB]: n }, { endpoint: { url: k, properties: an, headers: Q }, [aB]: n }] }] }, { [aB]: c, rules: [{ [aC]: [H, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, O], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }] }] }] }] }] }] }, R] }] }, S] }] }] }, { error: "Region must be set", [aB]: h }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.238.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",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
14
|
"test": "yarn test:unit",
|
|
15
|
-
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
15
|
+
"test:unit": "ts-mocha test/**/*.spec.ts",
|
|
16
|
+
"generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/s3-control.json --keepFiles)"
|
|
16
17
|
},
|
|
17
18
|
"main": "./dist-cjs/index.js",
|
|
18
19
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,9 +22,9 @@
|
|
|
21
22
|
"dependencies": {
|
|
22
23
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
24
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.238.0",
|
|
25
26
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.238.0",
|
|
27
28
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
28
29
|
"@aws-sdk/hash-blob-browser": "3.226.0",
|
|
29
30
|
"@aws-sdk/hash-node": "3.226.0",
|