@aws-sdk/client-s3-control 3.490.0 → 3.491.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 aC = "required", aD = "type", aE = "conditions", aF = "fn", aG = "argv", aH = "ref", aI = "assign", aJ = "authSchemes", aK = "disableDoubleEncoding", aL = "name", aM = "signingName", aN = "signingRegion", aO = "x-amz-account-id", aP = "x-amz-outpost-id";
5
- const a = false, b = true, c = "isSet", d = "stringEquals", e = "aws.partition", f = "error", g = "{Region}", h = "endpoint", i = "tree", j = "getAttr", k = "not", l = "isValidHostLabel", m = "{url#scheme}://{url#authority}{url#path}", n = "s3-outposts", 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 = { [aC]: false, [aD]: "String" }, D = { [aC]: true, "default": false, [aD]: "Boolean" }, E = { [aC]: false, [aD]: "Boolean" }, F = { [aH]: "Region" }, G = { [aF]: c, [aG]: [{ [aH]: "Endpoint" }] }, H = { [aF]: "parseURL", [aG]: [{ [aH]: "Endpoint" }], [aI]: "url" }, I = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseDualStack" }, true] }, J = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseFIPS" }, true] }, K = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: "s3", [aN]: g }] }, L = {}, M = { [aH]: "OutpostId" }, N = { [aE]: [J, { [aF]: d, [aG]: [{ [aF]: j, [aG]: [{ [aH]: "partitionResult" }, "name"] }, "aws-cn"] }], [f]: "Partition does not support FIPS", [aD]: f }, O = { [aE]: [{ [aF]: c, [aG]: [{ [aH]: "RequiresAccountId" }] }, { [aF]: "booleanEquals", [aG]: [{ [aH]: "RequiresAccountId" }, true] }, { [aF]: k, [aG]: [{ [aF]: c, [aG]: [{ [aH]: "AccountId" }] }] }], [f]: "AccountId is required but not set", [aD]: f }, P = { [aF]: c, [aG]: [{ [aH]: "RequiresAccountId" }] }, Q = { [aF]: "booleanEquals", [aG]: [{ [aH]: "RequiresAccountId" }, true] }, R = { [aF]: c, [aG]: [{ [aH]: "AccountId" }] }, S = { [aH]: "AccountId" }, T = { [aE]: [R, { [aF]: k, [aG]: [{ [aF]: l, [aG]: [S, false] }] }], [f]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aD]: f }, U = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: n, [aN]: g }] }, V = { [f]: "Invalid region: region was not a valid DNS name.", [aD]: f }, W = { [aH]: p }, X = { [aF]: k, [aG]: [{ [aF]: d, [aG]: [{ [aH]: r }, ""] }] }, Y = { [aF]: c, [aG]: [{ [aH]: "UseArnRegion" }] }, Z = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseArnRegion" }, false] }, aa = { [aF]: j, [aG]: [W, "region"] }, ab = { [aF]: j, [aG]: [W, "accountId"] }, ac = { [aH]: y }, ad = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: n, [aN]: "{accessPointArn#region}" }] }, ae = { [aO]: [w], [aP]: ["{outpostId}"] }, af = { [f]: "Invalid ARN: Expected a 4-component resource", [aD]: f }, ag = { [f]: "Invalid ARN: missing account ID", [aD]: f }, ah = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aD]: f }, ai = { [f]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aD]: f }, aj = { [f]: "Invalid ARN: The Outpost Id was not set", [aD]: f }, ak = { [f]: "Invalid ARN: No ARN type specified", [aD]: f }, al = { [aH]: A }, am = { [aF]: j, [aG]: [al, "region"] }, an = { [aF]: j, [aG]: [al, "accountId"] }, ao = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: n, [aN]: "{bucketArn#region}" }] }, ap = { [aO]: [B], [aP]: ["{outpostId}"] }, aq = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseDualStack" }, false] }, ar = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseFIPS" }, false] }, as = [F], at = [{ [aF]: e, [aG]: [F], [aI]: "partitionResult" }], au = [I], av = [J], aw = [{ [aF]: l, [aG]: [F, true] }], ax = [G, H], ay = [{ [aH]: "AccessPointName" }], az = [{ [aF]: l, [aG]: [{ [aH]: u }, false] }], aA = [{ [aF]: d, [aG]: [{ [aF]: j, [aG]: [{ [aH]: v }, "name"] }, { [aF]: j, [aG]: [{ [aH]: "partitionResult" }, "name"] }] }], aB = [{ [aH]: "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: [{ [aE]: [{ [aF]: c, [aG]: as }], rules: [{ [aE]: [{ [aF]: d, [aG]: [F, "snow"] }, G, H], rules: [{ [aE]: at, rules: [{ [aE]: au, error: "S3 Snow does not support DualStack", [aD]: f }, { [aE]: av, error: "S3 Snow does not support FIPS", [aD]: f }, { endpoint: { url: "{url#scheme}://{url#authority}", properties: K, headers: L }, [aD]: h }], [aD]: i }], [aD]: i }, { [aE]: [{ [aF]: c, [aG]: [M] }], rules: [{ [aE]: at, rules: [N, O, T, { [aE]: [{ [aF]: k, [aG]: [{ [aF]: l, [aG]: [M, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aD]: f }, { [aE]: aw, rules: [{ [aE]: au, error: "Invalid configuration: Outposts do not support dual-stack", [aD]: f }, { [aE]: ax, endpoint: { url: m, properties: U, headers: L }, [aD]: h }, { [aE]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: U, headers: L }, [aD]: h }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: U, headers: L }, [aD]: h }], [aD]: i }, V], [aD]: i }], [aD]: i }, { [aE]: [{ [aF]: c, [aG]: ay }, { [aF]: o, [aG]: ay, [aI]: p }], rules: [{ [aE]: [{ [aF]: j, [aG]: [W, q], [aI]: r }, X], rules: [{ [aE]: [{ [aF]: d, [aG]: [{ [aF]: j, [aG]: [W, s] }, n] }], rules: [{ [aE]: au, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [W, t], [aI]: u }], rules: [{ [aE]: az, rules: [{ [aE]: [Y, Z, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [aa, g] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aD]: f }, { [aE]: at, rules: [{ [aE]: [{ [aF]: e, [aG]: [aa], [aI]: v }], rules: [{ [aE]: aA, rules: [{ [aE]: [{ [aF]: l, [aG]: [aa, b] }], rules: [{ [aE]: [{ [aF]: k, [aG]: [{ [aF]: d, [aG]: [ab, ""] }] }], rules: [{ [aE]: [{ [aF]: l, [aG]: [ab, a] }], rules: [{ [aE]: [R, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [S, w] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [W, x], [aI]: y }], rules: [{ [aE]: [{ [aF]: j, [aG]: [W, z], [aI]: "accessPointName" }], rules: [{ [aE]: [{ [aF]: d, [aG]: [ac, "accesspoint"] }], rules: [{ [aE]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: ad, headers: ae }, [aD]: h }, { [aE]: ax, endpoint: { url: m, properties: ad, headers: ae }, [aD]: h }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: ad, headers: ae }, [aD]: h }], [aD]: i }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aD]: f }], [aD]: i }, { error: "Invalid ARN: expected an access point name", [aD]: f }], [aD]: i }, af], [aD]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aD]: f }], [aD]: i }, ag], [aD]: i }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aD]: f }], [aD]: i }, ah], [aD]: i }], [aD]: i }], [aD]: i }, ai], [aD]: i }, aj], [aD]: i }], [aD]: i }, ak], [aD]: i }, { [aE]: [{ [aF]: c, [aG]: aB }, { [aF]: o, [aG]: aB, [aI]: A }], rules: [{ [aE]: [{ [aF]: j, [aG]: [al, q], [aI]: r }, X], rules: [{ [aE]: [{ [aF]: d, [aG]: [{ [aF]: j, [aG]: [al, s] }, n] }], rules: [{ [aE]: au, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [al, t], [aI]: u }], rules: [{ [aE]: az, rules: [{ [aE]: [Y, Z, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [am, g] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aD]: f }, { [aE]: [{ [aF]: e, [aG]: [am], [aI]: v }], rules: [{ [aE]: at, rules: [{ [aE]: aA, rules: [{ [aE]: [{ [aF]: l, [aG]: [am, b] }], rules: [{ [aE]: [{ [aF]: k, [aG]: [{ [aF]: d, [aG]: [an, ""] }] }], rules: [{ [aE]: [{ [aF]: l, [aG]: [an, a] }], rules: [{ [aE]: [R, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [S, B] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [al, x], [aI]: y }], rules: [{ [aE]: [{ [aF]: j, [aG]: [al, z], [aI]: "bucketName" }], rules: [{ [aE]: [{ [aF]: d, [aG]: [ac, "bucket"] }], rules: [{ [aE]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ao, headers: ap }, [aD]: h }, { [aE]: ax, endpoint: { url: m, properties: ao, headers: ap }, [aD]: h }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ao, headers: ap }, [aD]: h }], [aD]: i }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aD]: f }], [aD]: i }, { error: "Invalid ARN: expected a bucket name", [aD]: f }], [aD]: i }, af], [aD]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aD]: f }], [aD]: i }, ag], [aD]: i }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aD]: f }], [aD]: i }, ah], [aD]: i }], [aD]: i }], [aD]: i }, ai], [aD]: i }, aj], [aD]: i }], [aD]: i }, ak], [aD]: i }, { [aE]: at, rules: [{ [aE]: aw, rules: [N, O, T, { [aE]: ax, rules: [{ [aE]: au, error: "Invalid Configuration: DualStack and custom endpoint are not supported", [aD]: f }, { [aE]: [P, Q, R], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: K, headers: L }, [aD]: h }, { endpoint: { url: m, properties: K, headers: L }, [aD]: h }], [aD]: i }, { [aE]: [J, I, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [J, I], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [J, aq, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [J, aq], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, I, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, I], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, aq, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, aq], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }], [aD]: i }, V], [aD]: i }], [aD]: i }, { error: "Region must be set", [aD]: f }] };
4
+ const aF = "required", aG = "type", aH = "conditions", aI = "fn", aJ = "argv", aK = "ref", aL = "assign", aM = "authSchemes", aN = "disableDoubleEncoding", aO = "name", aP = "signingName", aQ = "signingRegion", aR = "x-amz-account-id", aS = "x-amz-outpost-id";
5
+ const a = false, b = true, c = "isSet", d = "stringEquals", e = "aws.partition", f = "error", g = "{Region}", h = "endpoint", i = "tree", j = "getAttr", k = "not", l = "isValidHostLabel", m = "Invalid Configuration: DualStack and custom endpoint are not supported", n = "{url#scheme}://{url#authority}{url#path}", o = "s3-outposts", p = "aws.parseArn", q = "accessPointArn", r = "resourceId[0]", s = "arnType", t = "service", u = "resourceId[1]", v = "outpostId", w = "arnPartition", x = "{accessPointArn#accountId}", y = "resourceId[2]", z = "outpostType", A = "resourceId[3]", B = "bucketArn", C = "{bucketArn#accountId}", D = { [aF]: false, [aG]: "String" }, E = { [aF]: true, "default": false, [aG]: "Boolean" }, F = { [aF]: false, [aG]: "Boolean" }, G = { [aK]: "Region" }, H = { [aI]: c, [aJ]: [{ [aK]: "Endpoint" }] }, I = { [aI]: "parseURL", [aJ]: [{ [aK]: "Endpoint" }], [aL]: "url" }, J = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseDualStack" }, true] }, K = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseFIPS" }, true] }, L = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: "s3", [aQ]: g }] }, M = {}, N = { [aK]: "OutpostId" }, O = { [aH]: [K, { [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [{ [aK]: "partitionResult" }, "name"] }, "aws-cn"] }], [f]: "Partition does not support FIPS", [aG]: f }, P = { [aH]: [{ [aI]: c, [aJ]: [{ [aK]: "RequiresAccountId" }] }, { [aI]: "booleanEquals", [aJ]: [{ [aK]: "RequiresAccountId" }, true] }, { [aI]: k, [aJ]: [{ [aI]: c, [aJ]: [{ [aK]: "AccountId" }] }] }], [f]: "AccountId is required but not set", [aG]: f }, Q = { [aI]: c, [aJ]: [{ [aK]: "RequiresAccountId" }] }, R = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "RequiresAccountId" }, true] }, S = { [aI]: c, [aJ]: [{ [aK]: "AccountId" }] }, T = { [aK]: "AccountId" }, U = { [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: l, [aJ]: [T, false] }] }], [f]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aG]: f }, V = { [aH]: [H, J], [f]: m, [aG]: f }, W = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: g }] }, X = { [f]: "Invalid region: region was not a valid DNS name.", [aG]: f }, Y = { [aK]: q }, Z = { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [{ [aK]: s }, ""] }] }, aa = { [aI]: c, [aJ]: [{ [aK]: "UseArnRegion" }] }, ab = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseArnRegion" }, false] }, ac = { [aI]: j, [aJ]: [Y, "region"] }, ad = { [aI]: j, [aJ]: [Y, "accountId"] }, ae = { [aK]: z }, af = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: "{accessPointArn#region}" }] }, ag = { [aR]: [x], [aS]: ["{outpostId}"] }, ah = { [f]: "Invalid ARN: Expected a 4-component resource", [aG]: f }, ai = { [f]: "Invalid ARN: missing account ID", [aG]: f }, aj = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aG]: f }, ak = { [f]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aG]: f }, al = { [f]: "Invalid ARN: The Outpost Id was not set", [aG]: f }, am = { [f]: "Invalid ARN: No ARN type specified", [aG]: f }, an = { [aK]: B }, ao = { [aI]: j, [aJ]: [an, "region"] }, ap = { [aI]: j, [aJ]: [an, "accountId"] }, aq = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: "{bucketArn#region}" }] }, ar = { [aR]: [C], [aS]: ["{outpostId}"] }, as = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseDualStack" }, false] }, at = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseFIPS" }, false] }, au = [G], av = [{ [aI]: e, [aJ]: [G], [aL]: "partitionResult" }], aw = [J], ax = [K], ay = [{ [aI]: l, [aJ]: [G, true] }], az = [H, I], aA = [K, J], aB = [{ [aK]: "AccessPointName" }], aC = [{ [aI]: l, [aJ]: [{ [aK]: v }, false] }], aD = [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [{ [aK]: w }, "name"] }, { [aI]: j, [aJ]: [{ [aK]: "partitionResult" }, "name"] }] }], aE = [{ [aK]: "Bucket" }];
6
+ const _data = { version: "1.0", parameters: { Region: D, UseFIPS: E, UseDualStack: E, Endpoint: D, AccountId: D, RequiresAccountId: F, OutpostId: D, Bucket: D, AccessPointName: D, UseArnRegion: F }, rules: [{ [aH]: [{ [aI]: c, [aJ]: au }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [G, "snow"] }, H, I], rules: [{ [aH]: av, rules: [{ [aH]: aw, error: "S3 Snow does not support DualStack", [aG]: f }, { [aH]: ax, error: "S3 Snow does not support FIPS", [aG]: f }, { endpoint: { url: "{url#scheme}://{url#authority}", properties: L, headers: M }, [aG]: h }], [aG]: i }], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: [N] }], rules: [{ [aH]: av, rules: [O, P, U, { [aH]: [{ [aI]: k, [aJ]: [{ [aI]: l, [aJ]: [N, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aG]: f }, V, { [aH]: ay, rules: [{ [aH]: az, endpoint: { url: n, properties: W, headers: M }, [aG]: h }, { [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", properties: W, headers: M }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: W, headers: M }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", properties: W, headers: M }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: W, headers: M }, [aG]: h }], [aG]: i }, X], [aG]: i }], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: aB }, { [aI]: p, [aJ]: aB, [aL]: q }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, r], [aL]: s }, Z], rules: [{ [aH]: [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [Y, t] }, o] }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, u], [aL]: v }], rules: [{ [aH]: aC, rules: [V, { [aH]: [aa, ab, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ac, g] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aG]: f }, { [aH]: av, rules: [{ [aH]: [{ [aI]: e, [aJ]: [ac], [aL]: w }], rules: [{ [aH]: aD, rules: [{ [aH]: [{ [aI]: l, [aJ]: [ac, b] }], rules: [{ [aH]: [{ [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ad, ""] }] }], rules: [{ [aH]: [{ [aI]: l, [aJ]: [ad, a] }], rules: [{ [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [T, x] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aG]: f }, { [aH]: [{ [aI]: j, [aJ]: [Y, y], [aL]: z }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, A], [aL]: "accessPointName" }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [ae, "accesspoint"] }], rules: [{ [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: az, endpoint: { url: n, properties: af, headers: ag }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: af, headers: ag }, [aG]: h }], [aG]: i }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aG]: f }], [aG]: i }, { error: "Invalid ARN: expected an access point name", [aG]: f }], [aG]: i }, ah], [aG]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aG]: f }], [aG]: i }, ai], [aG]: i }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aG]: f }], [aG]: i }, aj], [aG]: i }], [aG]: i }], [aG]: i }, ak], [aG]: i }, al], [aG]: i }], [aG]: i }, am], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: aE }, { [aI]: p, [aJ]: aE, [aL]: B }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, r], [aL]: s }, Z], rules: [{ [aH]: [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [an, t] }, o] }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, u], [aL]: v }], rules: [{ [aH]: aC, rules: [V, { [aH]: [aa, ab, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ao, g] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aG]: f }, { [aH]: [{ [aI]: e, [aJ]: [ao], [aL]: w }], rules: [{ [aH]: av, rules: [{ [aH]: aD, rules: [{ [aH]: [{ [aI]: l, [aJ]: [ao, b] }], rules: [{ [aH]: [{ [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ap, ""] }] }], rules: [{ [aH]: [{ [aI]: l, [aJ]: [ap, a] }], rules: [{ [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [T, C] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aG]: f }, { [aH]: [{ [aI]: j, [aJ]: [an, y], [aL]: z }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, A], [aL]: "bucketName" }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [ae, "bucket"] }], rules: [{ [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: az, endpoint: { url: n, properties: aq, headers: ar }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: aq, headers: ar }, [aG]: h }], [aG]: i }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aG]: f }], [aG]: i }, { error: "Invalid ARN: expected a bucket name", [aG]: f }], [aG]: i }, ah], [aG]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aG]: f }], [aG]: i }, ai], [aG]: i }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aG]: f }], [aG]: i }, aj], [aG]: i }], [aG]: i }], [aG]: i }, ak], [aG]: i }, al], [aG]: i }], [aG]: i }, am], [aG]: i }, { [aH]: av, rules: [{ [aH]: ay, rules: [O, P, U, { [aH]: az, rules: [{ [aH]: aw, error: m, [aG]: f }, { [aH]: [Q, R, S], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: L, headers: M }, [aG]: h }, { endpoint: { url: n, properties: L, headers: M }, [aG]: h }], [aG]: i }, { [aH]: [K, J, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: aA, endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [K, as, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [K, as], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, J, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, J], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, as, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, as], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }], [aG]: i }, X], [aG]: i }], [aG]: i }, { error: "Region must be set", [aG]: f }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const aC = "required", aD = "type", aE = "conditions", aF = "fn", aG = "argv", aH = "ref", aI = "assign", aJ = "authSchemes", aK = "disableDoubleEncoding", aL = "name", aM = "signingName", aN = "signingRegion", aO = "x-amz-account-id", aP = "x-amz-outpost-id";
2
- const a = false, b = true, c = "isSet", d = "stringEquals", e = "aws.partition", f = "error", g = "{Region}", h = "endpoint", i = "tree", j = "getAttr", k = "not", l = "isValidHostLabel", m = "{url#scheme}://{url#authority}{url#path}", n = "s3-outposts", 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 = { [aC]: false, [aD]: "String" }, D = { [aC]: true, "default": false, [aD]: "Boolean" }, E = { [aC]: false, [aD]: "Boolean" }, F = { [aH]: "Region" }, G = { [aF]: c, [aG]: [{ [aH]: "Endpoint" }] }, H = { [aF]: "parseURL", [aG]: [{ [aH]: "Endpoint" }], [aI]: "url" }, I = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseDualStack" }, true] }, J = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseFIPS" }, true] }, K = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: "s3", [aN]: g }] }, L = {}, M = { [aH]: "OutpostId" }, N = { [aE]: [J, { [aF]: d, [aG]: [{ [aF]: j, [aG]: [{ [aH]: "partitionResult" }, "name"] }, "aws-cn"] }], [f]: "Partition does not support FIPS", [aD]: f }, O = { [aE]: [{ [aF]: c, [aG]: [{ [aH]: "RequiresAccountId" }] }, { [aF]: "booleanEquals", [aG]: [{ [aH]: "RequiresAccountId" }, true] }, { [aF]: k, [aG]: [{ [aF]: c, [aG]: [{ [aH]: "AccountId" }] }] }], [f]: "AccountId is required but not set", [aD]: f }, P = { [aF]: c, [aG]: [{ [aH]: "RequiresAccountId" }] }, Q = { [aF]: "booleanEquals", [aG]: [{ [aH]: "RequiresAccountId" }, true] }, R = { [aF]: c, [aG]: [{ [aH]: "AccountId" }] }, S = { [aH]: "AccountId" }, T = { [aE]: [R, { [aF]: k, [aG]: [{ [aF]: l, [aG]: [S, false] }] }], [f]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aD]: f }, U = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: n, [aN]: g }] }, V = { [f]: "Invalid region: region was not a valid DNS name.", [aD]: f }, W = { [aH]: p }, X = { [aF]: k, [aG]: [{ [aF]: d, [aG]: [{ [aH]: r }, ""] }] }, Y = { [aF]: c, [aG]: [{ [aH]: "UseArnRegion" }] }, Z = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseArnRegion" }, false] }, aa = { [aF]: j, [aG]: [W, "region"] }, ab = { [aF]: j, [aG]: [W, "accountId"] }, ac = { [aH]: y }, ad = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: n, [aN]: "{accessPointArn#region}" }] }, ae = { [aO]: [w], [aP]: ["{outpostId}"] }, af = { [f]: "Invalid ARN: Expected a 4-component resource", [aD]: f }, ag = { [f]: "Invalid ARN: missing account ID", [aD]: f }, ah = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aD]: f }, ai = { [f]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aD]: f }, aj = { [f]: "Invalid ARN: The Outpost Id was not set", [aD]: f }, ak = { [f]: "Invalid ARN: No ARN type specified", [aD]: f }, al = { [aH]: A }, am = { [aF]: j, [aG]: [al, "region"] }, an = { [aF]: j, [aG]: [al, "accountId"] }, ao = { [aJ]: [{ [aK]: true, [aL]: "sigv4", [aM]: n, [aN]: "{bucketArn#region}" }] }, ap = { [aO]: [B], [aP]: ["{outpostId}"] }, aq = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseDualStack" }, false] }, ar = { [aF]: "booleanEquals", [aG]: [{ [aH]: "UseFIPS" }, false] }, as = [F], at = [{ [aF]: e, [aG]: [F], [aI]: "partitionResult" }], au = [I], av = [J], aw = [{ [aF]: l, [aG]: [F, true] }], ax = [G, H], ay = [{ [aH]: "AccessPointName" }], az = [{ [aF]: l, [aG]: [{ [aH]: u }, false] }], aA = [{ [aF]: d, [aG]: [{ [aF]: j, [aG]: [{ [aH]: v }, "name"] }, { [aF]: j, [aG]: [{ [aH]: "partitionResult" }, "name"] }] }], aB = [{ [aH]: "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: [{ [aE]: [{ [aF]: c, [aG]: as }], rules: [{ [aE]: [{ [aF]: d, [aG]: [F, "snow"] }, G, H], rules: [{ [aE]: at, rules: [{ [aE]: au, error: "S3 Snow does not support DualStack", [aD]: f }, { [aE]: av, error: "S3 Snow does not support FIPS", [aD]: f }, { endpoint: { url: "{url#scheme}://{url#authority}", properties: K, headers: L }, [aD]: h }], [aD]: i }], [aD]: i }, { [aE]: [{ [aF]: c, [aG]: [M] }], rules: [{ [aE]: at, rules: [N, O, T, { [aE]: [{ [aF]: k, [aG]: [{ [aF]: l, [aG]: [M, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aD]: f }, { [aE]: aw, rules: [{ [aE]: au, error: "Invalid configuration: Outposts do not support dual-stack", [aD]: f }, { [aE]: ax, endpoint: { url: m, properties: U, headers: L }, [aD]: h }, { [aE]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: U, headers: L }, [aD]: h }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: U, headers: L }, [aD]: h }], [aD]: i }, V], [aD]: i }], [aD]: i }, { [aE]: [{ [aF]: c, [aG]: ay }, { [aF]: o, [aG]: ay, [aI]: p }], rules: [{ [aE]: [{ [aF]: j, [aG]: [W, q], [aI]: r }, X], rules: [{ [aE]: [{ [aF]: d, [aG]: [{ [aF]: j, [aG]: [W, s] }, n] }], rules: [{ [aE]: au, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [W, t], [aI]: u }], rules: [{ [aE]: az, rules: [{ [aE]: [Y, Z, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [aa, g] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aD]: f }, { [aE]: at, rules: [{ [aE]: [{ [aF]: e, [aG]: [aa], [aI]: v }], rules: [{ [aE]: aA, rules: [{ [aE]: [{ [aF]: l, [aG]: [aa, b] }], rules: [{ [aE]: [{ [aF]: k, [aG]: [{ [aF]: d, [aG]: [ab, ""] }] }], rules: [{ [aE]: [{ [aF]: l, [aG]: [ab, a] }], rules: [{ [aE]: [R, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [S, w] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [W, x], [aI]: y }], rules: [{ [aE]: [{ [aF]: j, [aG]: [W, z], [aI]: "accessPointName" }], rules: [{ [aE]: [{ [aF]: d, [aG]: [ac, "accesspoint"] }], rules: [{ [aE]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: ad, headers: ae }, [aD]: h }, { [aE]: ax, endpoint: { url: m, properties: ad, headers: ae }, [aD]: h }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: ad, headers: ae }, [aD]: h }], [aD]: i }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aD]: f }], [aD]: i }, { error: "Invalid ARN: expected an access point name", [aD]: f }], [aD]: i }, af], [aD]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aD]: f }], [aD]: i }, ag], [aD]: i }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aD]: f }], [aD]: i }, ah], [aD]: i }], [aD]: i }], [aD]: i }, ai], [aD]: i }, aj], [aD]: i }], [aD]: i }, ak], [aD]: i }, { [aE]: [{ [aF]: c, [aG]: aB }, { [aF]: o, [aG]: aB, [aI]: A }], rules: [{ [aE]: [{ [aF]: j, [aG]: [al, q], [aI]: r }, X], rules: [{ [aE]: [{ [aF]: d, [aG]: [{ [aF]: j, [aG]: [al, s] }, n] }], rules: [{ [aE]: au, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [al, t], [aI]: u }], rules: [{ [aE]: az, rules: [{ [aE]: [Y, Z, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [am, g] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aD]: f }, { [aE]: [{ [aF]: e, [aG]: [am], [aI]: v }], rules: [{ [aE]: at, rules: [{ [aE]: aA, rules: [{ [aE]: [{ [aF]: l, [aG]: [am, b] }], rules: [{ [aE]: [{ [aF]: k, [aG]: [{ [aF]: d, [aG]: [an, ""] }] }], rules: [{ [aE]: [{ [aF]: l, [aG]: [an, a] }], rules: [{ [aE]: [R, { [aF]: k, [aG]: [{ [aF]: d, [aG]: [S, B] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aD]: f }, { [aE]: [{ [aF]: j, [aG]: [al, x], [aI]: y }], rules: [{ [aE]: [{ [aF]: j, [aG]: [al, z], [aI]: "bucketName" }], rules: [{ [aE]: [{ [aF]: d, [aG]: [ac, "bucket"] }], rules: [{ [aE]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ao, headers: ap }, [aD]: h }, { [aE]: ax, endpoint: { url: m, properties: ao, headers: ap }, [aD]: h }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: ao, headers: ap }, [aD]: h }], [aD]: i }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aD]: f }], [aD]: i }, { error: "Invalid ARN: expected a bucket name", [aD]: f }], [aD]: i }, af], [aD]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aD]: f }], [aD]: i }, ag], [aD]: i }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aD]: f }], [aD]: i }, ah], [aD]: i }], [aD]: i }], [aD]: i }, ai], [aD]: i }, aj], [aD]: i }], [aD]: i }, ak], [aD]: i }, { [aE]: at, rules: [{ [aE]: aw, rules: [N, O, T, { [aE]: ax, rules: [{ [aE]: au, error: "Invalid Configuration: DualStack and custom endpoint are not supported", [aD]: f }, { [aE]: [P, Q, R], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: K, headers: L }, [aD]: h }, { endpoint: { url: m, properties: K, headers: L }, [aD]: h }], [aD]: i }, { [aE]: [J, I, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [J, I], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [J, aq, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [J, aq], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, I, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, I], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, aq, P, Q, R], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }, { [aE]: [ar, aq], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: K, headers: L }, [aD]: h }], [aD]: i }, V], [aD]: i }], [aD]: i }, { error: "Region must be set", [aD]: f }] };
1
+ const aF = "required", aG = "type", aH = "conditions", aI = "fn", aJ = "argv", aK = "ref", aL = "assign", aM = "authSchemes", aN = "disableDoubleEncoding", aO = "name", aP = "signingName", aQ = "signingRegion", aR = "x-amz-account-id", aS = "x-amz-outpost-id";
2
+ const a = false, b = true, c = "isSet", d = "stringEquals", e = "aws.partition", f = "error", g = "{Region}", h = "endpoint", i = "tree", j = "getAttr", k = "not", l = "isValidHostLabel", m = "Invalid Configuration: DualStack and custom endpoint are not supported", n = "{url#scheme}://{url#authority}{url#path}", o = "s3-outposts", p = "aws.parseArn", q = "accessPointArn", r = "resourceId[0]", s = "arnType", t = "service", u = "resourceId[1]", v = "outpostId", w = "arnPartition", x = "{accessPointArn#accountId}", y = "resourceId[2]", z = "outpostType", A = "resourceId[3]", B = "bucketArn", C = "{bucketArn#accountId}", D = { [aF]: false, [aG]: "String" }, E = { [aF]: true, "default": false, [aG]: "Boolean" }, F = { [aF]: false, [aG]: "Boolean" }, G = { [aK]: "Region" }, H = { [aI]: c, [aJ]: [{ [aK]: "Endpoint" }] }, I = { [aI]: "parseURL", [aJ]: [{ [aK]: "Endpoint" }], [aL]: "url" }, J = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseDualStack" }, true] }, K = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseFIPS" }, true] }, L = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: "s3", [aQ]: g }] }, M = {}, N = { [aK]: "OutpostId" }, O = { [aH]: [K, { [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [{ [aK]: "partitionResult" }, "name"] }, "aws-cn"] }], [f]: "Partition does not support FIPS", [aG]: f }, P = { [aH]: [{ [aI]: c, [aJ]: [{ [aK]: "RequiresAccountId" }] }, { [aI]: "booleanEquals", [aJ]: [{ [aK]: "RequiresAccountId" }, true] }, { [aI]: k, [aJ]: [{ [aI]: c, [aJ]: [{ [aK]: "AccountId" }] }] }], [f]: "AccountId is required but not set", [aG]: f }, Q = { [aI]: c, [aJ]: [{ [aK]: "RequiresAccountId" }] }, R = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "RequiresAccountId" }, true] }, S = { [aI]: c, [aJ]: [{ [aK]: "AccountId" }] }, T = { [aK]: "AccountId" }, U = { [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: l, [aJ]: [T, false] }] }], [f]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aG]: f }, V = { [aH]: [H, J], [f]: m, [aG]: f }, W = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: g }] }, X = { [f]: "Invalid region: region was not a valid DNS name.", [aG]: f }, Y = { [aK]: q }, Z = { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [{ [aK]: s }, ""] }] }, aa = { [aI]: c, [aJ]: [{ [aK]: "UseArnRegion" }] }, ab = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseArnRegion" }, false] }, ac = { [aI]: j, [aJ]: [Y, "region"] }, ad = { [aI]: j, [aJ]: [Y, "accountId"] }, ae = { [aK]: z }, af = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: "{accessPointArn#region}" }] }, ag = { [aR]: [x], [aS]: ["{outpostId}"] }, ah = { [f]: "Invalid ARN: Expected a 4-component resource", [aG]: f }, ai = { [f]: "Invalid ARN: missing account ID", [aG]: f }, aj = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aG]: f }, ak = { [f]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aG]: f }, al = { [f]: "Invalid ARN: The Outpost Id was not set", [aG]: f }, am = { [f]: "Invalid ARN: No ARN type specified", [aG]: f }, an = { [aK]: B }, ao = { [aI]: j, [aJ]: [an, "region"] }, ap = { [aI]: j, [aJ]: [an, "accountId"] }, aq = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: "{bucketArn#region}" }] }, ar = { [aR]: [C], [aS]: ["{outpostId}"] }, as = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseDualStack" }, false] }, at = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseFIPS" }, false] }, au = [G], av = [{ [aI]: e, [aJ]: [G], [aL]: "partitionResult" }], aw = [J], ax = [K], ay = [{ [aI]: l, [aJ]: [G, true] }], az = [H, I], aA = [K, J], aB = [{ [aK]: "AccessPointName" }], aC = [{ [aI]: l, [aJ]: [{ [aK]: v }, false] }], aD = [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [{ [aK]: w }, "name"] }, { [aI]: j, [aJ]: [{ [aK]: "partitionResult" }, "name"] }] }], aE = [{ [aK]: "Bucket" }];
3
+ const _data = { version: "1.0", parameters: { Region: D, UseFIPS: E, UseDualStack: E, Endpoint: D, AccountId: D, RequiresAccountId: F, OutpostId: D, Bucket: D, AccessPointName: D, UseArnRegion: F }, rules: [{ [aH]: [{ [aI]: c, [aJ]: au }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [G, "snow"] }, H, I], rules: [{ [aH]: av, rules: [{ [aH]: aw, error: "S3 Snow does not support DualStack", [aG]: f }, { [aH]: ax, error: "S3 Snow does not support FIPS", [aG]: f }, { endpoint: { url: "{url#scheme}://{url#authority}", properties: L, headers: M }, [aG]: h }], [aG]: i }], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: [N] }], rules: [{ [aH]: av, rules: [O, P, U, { [aH]: [{ [aI]: k, [aJ]: [{ [aI]: l, [aJ]: [N, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aG]: f }, V, { [aH]: ay, rules: [{ [aH]: az, endpoint: { url: n, properties: W, headers: M }, [aG]: h }, { [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", properties: W, headers: M }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: W, headers: M }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", properties: W, headers: M }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: W, headers: M }, [aG]: h }], [aG]: i }, X], [aG]: i }], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: aB }, { [aI]: p, [aJ]: aB, [aL]: q }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, r], [aL]: s }, Z], rules: [{ [aH]: [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [Y, t] }, o] }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, u], [aL]: v }], rules: [{ [aH]: aC, rules: [V, { [aH]: [aa, ab, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ac, g] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aG]: f }, { [aH]: av, rules: [{ [aH]: [{ [aI]: e, [aJ]: [ac], [aL]: w }], rules: [{ [aH]: aD, rules: [{ [aH]: [{ [aI]: l, [aJ]: [ac, b] }], rules: [{ [aH]: [{ [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ad, ""] }] }], rules: [{ [aH]: [{ [aI]: l, [aJ]: [ad, a] }], rules: [{ [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [T, x] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aG]: f }, { [aH]: [{ [aI]: j, [aJ]: [Y, y], [aL]: z }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, A], [aL]: "accessPointName" }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [ae, "accesspoint"] }], rules: [{ [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: az, endpoint: { url: n, properties: af, headers: ag }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: af, headers: ag }, [aG]: h }], [aG]: i }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aG]: f }], [aG]: i }, { error: "Invalid ARN: expected an access point name", [aG]: f }], [aG]: i }, ah], [aG]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aG]: f }], [aG]: i }, ai], [aG]: i }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aG]: f }], [aG]: i }, aj], [aG]: i }], [aG]: i }], [aG]: i }, ak], [aG]: i }, al], [aG]: i }], [aG]: i }, am], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: aE }, { [aI]: p, [aJ]: aE, [aL]: B }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, r], [aL]: s }, Z], rules: [{ [aH]: [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [an, t] }, o] }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, u], [aL]: v }], rules: [{ [aH]: aC, rules: [V, { [aH]: [aa, ab, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ao, g] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aG]: f }, { [aH]: [{ [aI]: e, [aJ]: [ao], [aL]: w }], rules: [{ [aH]: av, rules: [{ [aH]: aD, rules: [{ [aH]: [{ [aI]: l, [aJ]: [ao, b] }], rules: [{ [aH]: [{ [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ap, ""] }] }], rules: [{ [aH]: [{ [aI]: l, [aJ]: [ap, a] }], rules: [{ [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [T, C] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aG]: f }, { [aH]: [{ [aI]: j, [aJ]: [an, y], [aL]: z }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, A], [aL]: "bucketName" }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [ae, "bucket"] }], rules: [{ [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: az, endpoint: { url: n, properties: aq, headers: ar }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: aq, headers: ar }, [aG]: h }], [aG]: i }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aG]: f }], [aG]: i }, { error: "Invalid ARN: expected a bucket name", [aG]: f }], [aG]: i }, ah], [aG]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aG]: f }], [aG]: i }, ai], [aG]: i }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aG]: f }], [aG]: i }, aj], [aG]: i }], [aG]: i }], [aG]: i }, ak], [aG]: i }, al], [aG]: i }], [aG]: i }, am], [aG]: i }, { [aH]: av, rules: [{ [aH]: ay, rules: [O, P, U, { [aH]: az, rules: [{ [aH]: aw, error: m, [aG]: f }, { [aH]: [Q, R, S], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: L, headers: M }, [aG]: h }, { endpoint: { url: n, properties: L, headers: M }, [aG]: h }], [aG]: i }, { [aH]: [K, J, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: aA, endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [K, as, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [K, as], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, J, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, J], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, as, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, as], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }], [aG]: i }, X], [aG]: i }], [aG]: i }, { error: "Region must be set", [aG]: f }] };
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.490.0",
4
+ "version": "3.491.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",