@aws-sdk/client-s3-control 3.806.0 → 3.810.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
|
|
5
|
-
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "substring", r = "accessPointSuffix", s = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const aV = "required", aW = "type", aX = "conditions", aY = "fn", aZ = "argv", ba = "ref", bb = "assign", bc = "url", bd = "properties", be = "authSchemes", bf = "disableDoubleEncoding", bg = "name", bh = "signingName", bi = "signingRegion", bj = "headers", bk = "x-amz-account-id", bl = "x-amz-outpost-id";
|
|
5
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "substring", r = "accessPointSuffix", s = "{url#scheme}://{url#authority}", t = "s3expressAvailabilityZoneId", u = "s3expressAvailabilityZoneDelim", v = "aws.parseArn", w = "accessPointArn", x = "resourceId[0]", y = "arnType", z = "service", A = "resourceId[1]", B = "outpostId", C = "arnPartition", D = "{accessPointArn#accountId}", E = "resourceId[2]", F = "outpostType", G = "resourceId[3]", H = "bucketArn", I = "{bucketArn#accountId}", J = { [aV]: false, [aW]: "String" }, K = { [aV]: true, "default": false, [aW]: "Boolean" }, L = { [aV]: false, [aW]: "Boolean" }, M = { [ba]: "Region" }, N = { [aY]: d, [aZ]: [{ [ba]: "UseFIPS" }, true] }, O = { [aY]: e, [aZ]: [M], [bb]: "partitionResult" }, P = { [aY]: g, [aZ]: [{ [ba]: "partitionResult" }, "name"] }, Q = { [ba]: "OutpostId" }, R = { [aX]: [{ [aY]: c, [aZ]: [{ [ba]: "RequiresAccountId" }] }, { [aY]: d, [aZ]: [{ [ba]: "RequiresAccountId" }, true] }, { [aY]: i, [aZ]: [{ [aY]: c, [aZ]: [{ [ba]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [aW]: h }, S = { [aY]: c, [aZ]: [{ [ba]: "RequiresAccountId" }] }, T = { [aY]: d, [aZ]: [{ [ba]: "RequiresAccountId" }, true] }, U = { [aY]: c, [aZ]: [{ [ba]: "AccountId" }] }, V = { [ba]: "AccountId" }, W = { [aX]: [U, { [aY]: i, [aZ]: [{ [aY]: j, [aZ]: [V, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aW]: h }, X = { [aX]: [{ [aY]: c, [aZ]: [{ [ba]: "Endpoint" }] }, { [aY]: d, [aZ]: [{ [ba]: "UseDualStack" }, true] }], [h]: k, [aW]: h }, Y = { [aY]: c, [aZ]: [{ [ba]: "Endpoint" }] }, Z = { [aY]: d, [aZ]: [{ [ba]: "UseDualStack" }, true] }, aa = { [aY]: "parseURL", [aZ]: [{ [ba]: "Endpoint" }], [bb]: "url" }, ab = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: m, [bi]: n }] }, ac = {}, ad = { [h]: "Invalid region: region was not a valid DNS name.", [aW]: h }, ae = { [aY]: c, [aZ]: [{ [ba]: "AccessPointName" }] }, af = { [ba]: "AccessPointName" }, ag = { [aX]: [Z], [h]: "S3Express does not support Dual-stack.", [aW]: h }, ah = { [aX]: [Y, aa], [o]: { [bc]: s, [bd]: { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3express", [bi]: n }] }, [bj]: {} }, [aW]: o }, ai = { [aY]: f, [aZ]: [{ [ba]: u }, "--"] }, aj = { [aX]: [N], [o]: { [bc]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3express", [bi]: n }] }, [bj]: {} }, [aW]: o }, ak = { [o]: { [bc]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [bd]: { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3express", [bi]: n }] }, [bj]: {} }, [aW]: o }, al = { [ba]: "UseS3ExpressControlEndpoint" }, am = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3", [bi]: n }] }, an = { [ba]: w }, ao = { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [{ [ba]: y }, ""] }] }, ap = { [aY]: c, [aZ]: [{ [ba]: "UseArnRegion" }] }, aq = { [aY]: d, [aZ]: [{ [ba]: "UseArnRegion" }, false] }, ar = { [aY]: g, [aZ]: [an, "region"] }, as = { [aY]: g, [aZ]: [an, "accountId"] }, at = { [ba]: F }, au = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: m, [bi]: "{accessPointArn#region}" }] }, av = { [bk]: [D], [bl]: ["{outpostId}"] }, aw = { [h]: "Invalid ARN: Expected a 4-component resource", [aW]: h }, ax = { [h]: "Invalid ARN: missing account ID", [aW]: h }, ay = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aW]: h }, az = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aW]: h }, aA = { [h]: "Invalid ARN: The Outpost Id was not set", [aW]: h }, aB = { [h]: "Invalid ARN: No ARN type specified", [aW]: h }, aC = { [ba]: H }, aD = { [aY]: g, [aZ]: [aC, "region"] }, aE = { [aY]: g, [aZ]: [aC, "accountId"] }, aF = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: m, [bi]: "{bucketArn#region}" }] }, aG = { [bk]: [I], [bl]: ["{outpostId}"] }, aH = { [aY]: d, [aZ]: [{ [ba]: "UseDualStack" }, false] }, aI = { [aY]: d, [aZ]: [{ [ba]: "UseFIPS" }, false] }, aJ = [M], aK = [O], aL = [{ [aY]: j, [aZ]: [M, true] }], aM = [Y, aa], aN = [N, Z], aO = [N], aP = [Z], aQ = [af], aR = [aj, ak], aS = [{ [aY]: j, [aZ]: [{ [ba]: B }, false] }], aT = [{ [aY]: f, [aZ]: [{ [aY]: g, [aZ]: [{ [ba]: C }, "name"] }, P] }], aU = [{ [ba]: "Bucket" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: J, UseFIPS: K, UseDualStack: K, Endpoint: J, AccountId: J, RequiresAccountId: L, OutpostId: J, Bucket: J, AccessPointName: J, UseArnRegion: L, UseS3ExpressControlEndpoint: L }, rules: [{ [aX]: [{ [aY]: c, [aZ]: aJ }], rules: [{ [aX]: [N, O, { [aY]: f, [aZ]: [P, "aws-cn"] }], error: "Partition does not support FIPS", [aW]: h }, { [aX]: [{ [aY]: c, [aZ]: [Q] }], rules: [{ [aX]: aK, rules: [R, W, { [aX]: [{ [aY]: i, [aZ]: [{ [aY]: j, [aZ]: [Q, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aW]: h }, X, { [aX]: aL, rules: [{ [aX]: aM, endpoint: { [bc]: l, [bd]: ab, [bj]: ac }, [aW]: o }, { [aX]: aN, endpoint: { [bc]: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }, { [aX]: aO, endpoint: { [bc]: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }, { [aX]: aP, endpoint: { [bc]: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }, { endpoint: { [bc]: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }], [aW]: p }, ad], [aW]: p }], [aW]: p }, { [aX]: [ae, { [aY]: q, [aZ]: [af, 0, 7, b], [bb]: r }, { [aY]: f, [aZ]: [{ [ba]: r }, "--xa-s3"] }], rules: [{ [aX]: aK, rules: [X, ag, ah, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 15, b], [bb]: t }, { [aY]: q, [aZ]: [af, 15, 17, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 16, b], [bb]: t }, { [aY]: q, [aZ]: [af, 16, 18, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 20, b], [bb]: t }, { [aY]: q, [aZ]: [af, 20, 22, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 21, b], [bb]: t }, { [aY]: q, [aZ]: [af, 21, 23, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 27, b], [bb]: t }, { [aY]: q, [aZ]: [af, 27, 29, b], [bb]: u }, ai], rules: aR, [aW]: p }, { error: "Unrecognized S3Express Access Point name format.", [aW]: h }], [aW]: p }], [aW]: p }, { [aX]: [{ [aY]: c, [aZ]: [al] }, { [aY]: d, [aZ]: [al, b] }], rules: [{ [aX]: aK, rules: [X, ag, ah, aj, ak], [aW]: p }], [aW]: p }, { [aX]: [{ [aY]: f, [aZ]: [M, "snow"] }, Y, aa], rules: [{ [aX]: aK, rules: [{ [aX]: aP, error: "S3 Snow does not support DualStack", [aW]: h }, { [aX]: aO, error: "S3 Snow does not support FIPS", [aW]: h }, { endpoint: { [bc]: s, [bd]: am, [bj]: ac }, [aW]: o }], [aW]: p }], [aW]: p }, { [aX]: [ae, { [aY]: v, [aZ]: aQ, [bb]: w }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [an, x], [bb]: y }, ao], rules: [{ [aX]: [{ [aY]: f, [aZ]: [{ [aY]: g, [aZ]: [an, z] }, m] }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [an, A], [bb]: B }], rules: [{ [aX]: aS, rules: [X, { [aX]: [ap, aq, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [ar, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aW]: h }, { [aX]: aK, rules: [{ [aX]: [{ [aY]: e, [aZ]: [ar], [bb]: C }], rules: [{ [aX]: aT, rules: [{ [aX]: [{ [aY]: j, [aZ]: [ar, b] }], rules: [{ [aX]: [{ [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [as, ""] }] }], rules: [{ [aX]: [{ [aY]: j, [aZ]: [as, a] }], rules: [{ [aX]: [U, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [V, D] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aW]: h }, { [aX]: [{ [aY]: g, [aZ]: [an, E], [bb]: F }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [an, G], [bb]: "accessPointName" }], rules: [{ [aX]: [{ [aY]: f, [aZ]: [at, "accesspoint"] }], rules: [{ [aX]: aN, endpoint: { [bc]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }, { [aX]: aO, endpoint: { [bc]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }, { [aX]: aP, endpoint: { [bc]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }, { [aX]: aM, endpoint: { [bc]: l, [bd]: au, [bj]: av }, [aW]: o }, { endpoint: { [bc]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }], [aW]: p }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aW]: h }], [aW]: p }, { error: "Invalid ARN: expected an access point name", [aW]: h }], [aW]: p }, aw], [aW]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aW]: h }], [aW]: p }, ax], [aW]: p }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aW]: h }], [aW]: p }, ay], [aW]: p }], [aW]: p }], [aW]: p }, az], [aW]: p }, aA], [aW]: p }], [aW]: p }, aB], [aW]: p }, { [aX]: [{ [aY]: c, [aZ]: aU }, { [aY]: v, [aZ]: aU, [bb]: H }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [aC, x], [bb]: y }, ao], rules: [{ [aX]: [{ [aY]: f, [aZ]: [{ [aY]: g, [aZ]: [aC, z] }, m] }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [aC, A], [bb]: B }], rules: [{ [aX]: aS, rules: [X, { [aX]: [ap, aq, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [aD, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aW]: h }, { [aX]: [{ [aY]: e, [aZ]: [aD], [bb]: C }], rules: [{ [aX]: aK, rules: [{ [aX]: aT, rules: [{ [aX]: [{ [aY]: j, [aZ]: [aD, b] }], rules: [{ [aX]: [{ [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [aE, ""] }] }], rules: [{ [aX]: [{ [aY]: j, [aZ]: [aE, a] }], rules: [{ [aX]: [U, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [V, I] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aW]: h }, { [aX]: [{ [aY]: g, [aZ]: [aC, E], [bb]: F }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [aC, G], [bb]: "bucketName" }], rules: [{ [aX]: [{ [aY]: f, [aZ]: [at, "bucket"] }], rules: [{ [aX]: aN, endpoint: { [bc]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }, { [aX]: aO, endpoint: { [bc]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }, { [aX]: aP, endpoint: { [bc]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }, { [aX]: aM, endpoint: { [bc]: l, [bd]: aF, [bj]: aG }, [aW]: o }, { endpoint: { [bc]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }], [aW]: p }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aW]: h }], [aW]: p }, { error: "Invalid ARN: expected a bucket name", [aW]: h }], [aW]: p }, aw], [aW]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aW]: h }], [aW]: p }, ax], [aW]: p }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aW]: h }], [aW]: p }, ay], [aW]: p }], [aW]: p }], [aW]: p }, az], [aW]: p }, aA], [aW]: p }], [aW]: p }, aB], [aW]: p }, { [aX]: aK, rules: [{ [aX]: aL, rules: [R, W, { [aX]: aM, rules: [{ [aX]: aP, error: k, [aW]: h }, { [aX]: [S, T, U], endpoint: { [bc]: "{url#scheme}://{AccountId}.{url#authority}{url#path}", [bd]: am, [bj]: ac }, [aW]: o }, { endpoint: { [bc]: l, [bd]: am, [bj]: ac }, [aW]: o }], [aW]: p }, { [aX]: [N, Z, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: aN, endpoint: { [bc]: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [N, aH, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [N, aH], endpoint: { [bc]: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, Z, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, Z], endpoint: { [bc]: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, aH, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, aH], endpoint: { [bc]: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }], [aW]: p }, ad], [aW]: p }], [aW]: p }, { error: "Region must be set", [aW]: h }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "substring", r = "accessPointSuffix", s = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const aV = "required", aW = "type", aX = "conditions", aY = "fn", aZ = "argv", ba = "ref", bb = "assign", bc = "url", bd = "properties", be = "authSchemes", bf = "disableDoubleEncoding", bg = "name", bh = "signingName", bi = "signingRegion", bj = "headers", bk = "x-amz-account-id", bl = "x-amz-outpost-id";
|
|
2
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "substring", r = "accessPointSuffix", s = "{url#scheme}://{url#authority}", t = "s3expressAvailabilityZoneId", u = "s3expressAvailabilityZoneDelim", v = "aws.parseArn", w = "accessPointArn", x = "resourceId[0]", y = "arnType", z = "service", A = "resourceId[1]", B = "outpostId", C = "arnPartition", D = "{accessPointArn#accountId}", E = "resourceId[2]", F = "outpostType", G = "resourceId[3]", H = "bucketArn", I = "{bucketArn#accountId}", J = { [aV]: false, [aW]: "String" }, K = { [aV]: true, "default": false, [aW]: "Boolean" }, L = { [aV]: false, [aW]: "Boolean" }, M = { [ba]: "Region" }, N = { [aY]: d, [aZ]: [{ [ba]: "UseFIPS" }, true] }, O = { [aY]: e, [aZ]: [M], [bb]: "partitionResult" }, P = { [aY]: g, [aZ]: [{ [ba]: "partitionResult" }, "name"] }, Q = { [ba]: "OutpostId" }, R = { [aX]: [{ [aY]: c, [aZ]: [{ [ba]: "RequiresAccountId" }] }, { [aY]: d, [aZ]: [{ [ba]: "RequiresAccountId" }, true] }, { [aY]: i, [aZ]: [{ [aY]: c, [aZ]: [{ [ba]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [aW]: h }, S = { [aY]: c, [aZ]: [{ [ba]: "RequiresAccountId" }] }, T = { [aY]: d, [aZ]: [{ [ba]: "RequiresAccountId" }, true] }, U = { [aY]: c, [aZ]: [{ [ba]: "AccountId" }] }, V = { [ba]: "AccountId" }, W = { [aX]: [U, { [aY]: i, [aZ]: [{ [aY]: j, [aZ]: [V, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aW]: h }, X = { [aX]: [{ [aY]: c, [aZ]: [{ [ba]: "Endpoint" }] }, { [aY]: d, [aZ]: [{ [ba]: "UseDualStack" }, true] }], [h]: k, [aW]: h }, Y = { [aY]: c, [aZ]: [{ [ba]: "Endpoint" }] }, Z = { [aY]: d, [aZ]: [{ [ba]: "UseDualStack" }, true] }, aa = { [aY]: "parseURL", [aZ]: [{ [ba]: "Endpoint" }], [bb]: "url" }, ab = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: m, [bi]: n }] }, ac = {}, ad = { [h]: "Invalid region: region was not a valid DNS name.", [aW]: h }, ae = { [aY]: c, [aZ]: [{ [ba]: "AccessPointName" }] }, af = { [ba]: "AccessPointName" }, ag = { [aX]: [Z], [h]: "S3Express does not support Dual-stack.", [aW]: h }, ah = { [aX]: [Y, aa], [o]: { [bc]: s, [bd]: { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3express", [bi]: n }] }, [bj]: {} }, [aW]: o }, ai = { [aY]: f, [aZ]: [{ [ba]: u }, "--"] }, aj = { [aX]: [N], [o]: { [bc]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3express", [bi]: n }] }, [bj]: {} }, [aW]: o }, ak = { [o]: { [bc]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [bd]: { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3express", [bi]: n }] }, [bj]: {} }, [aW]: o }, al = { [ba]: "UseS3ExpressControlEndpoint" }, am = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: "s3", [bi]: n }] }, an = { [ba]: w }, ao = { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [{ [ba]: y }, ""] }] }, ap = { [aY]: c, [aZ]: [{ [ba]: "UseArnRegion" }] }, aq = { [aY]: d, [aZ]: [{ [ba]: "UseArnRegion" }, false] }, ar = { [aY]: g, [aZ]: [an, "region"] }, as = { [aY]: g, [aZ]: [an, "accountId"] }, at = { [ba]: F }, au = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: m, [bi]: "{accessPointArn#region}" }] }, av = { [bk]: [D], [bl]: ["{outpostId}"] }, aw = { [h]: "Invalid ARN: Expected a 4-component resource", [aW]: h }, ax = { [h]: "Invalid ARN: missing account ID", [aW]: h }, ay = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aW]: h }, az = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aW]: h }, aA = { [h]: "Invalid ARN: The Outpost Id was not set", [aW]: h }, aB = { [h]: "Invalid ARN: No ARN type specified", [aW]: h }, aC = { [ba]: H }, aD = { [aY]: g, [aZ]: [aC, "region"] }, aE = { [aY]: g, [aZ]: [aC, "accountId"] }, aF = { [be]: [{ [bf]: true, [bg]: "sigv4", [bh]: m, [bi]: "{bucketArn#region}" }] }, aG = { [bk]: [I], [bl]: ["{outpostId}"] }, aH = { [aY]: d, [aZ]: [{ [ba]: "UseDualStack" }, false] }, aI = { [aY]: d, [aZ]: [{ [ba]: "UseFIPS" }, false] }, aJ = [M], aK = [O], aL = [{ [aY]: j, [aZ]: [M, true] }], aM = [Y, aa], aN = [N, Z], aO = [N], aP = [Z], aQ = [af], aR = [aj, ak], aS = [{ [aY]: j, [aZ]: [{ [ba]: B }, false] }], aT = [{ [aY]: f, [aZ]: [{ [aY]: g, [aZ]: [{ [ba]: C }, "name"] }, P] }], aU = [{ [ba]: "Bucket" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: J, UseFIPS: K, UseDualStack: K, Endpoint: J, AccountId: J, RequiresAccountId: L, OutpostId: J, Bucket: J, AccessPointName: J, UseArnRegion: L, UseS3ExpressControlEndpoint: L }, rules: [{ [aX]: [{ [aY]: c, [aZ]: aJ }], rules: [{ [aX]: [N, O, { [aY]: f, [aZ]: [P, "aws-cn"] }], error: "Partition does not support FIPS", [aW]: h }, { [aX]: [{ [aY]: c, [aZ]: [Q] }], rules: [{ [aX]: aK, rules: [R, W, { [aX]: [{ [aY]: i, [aZ]: [{ [aY]: j, [aZ]: [Q, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aW]: h }, X, { [aX]: aL, rules: [{ [aX]: aM, endpoint: { [bc]: l, [bd]: ab, [bj]: ac }, [aW]: o }, { [aX]: aN, endpoint: { [bc]: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }, { [aX]: aO, endpoint: { [bc]: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }, { [aX]: aP, endpoint: { [bc]: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }, { endpoint: { [bc]: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", [bd]: ab, [bj]: ac }, [aW]: o }], [aW]: p }, ad], [aW]: p }], [aW]: p }, { [aX]: [ae, { [aY]: q, [aZ]: [af, 0, 7, b], [bb]: r }, { [aY]: f, [aZ]: [{ [ba]: r }, "--xa-s3"] }], rules: [{ [aX]: aK, rules: [X, ag, ah, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 15, b], [bb]: t }, { [aY]: q, [aZ]: [af, 15, 17, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 16, b], [bb]: t }, { [aY]: q, [aZ]: [af, 16, 18, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 20, b], [bb]: t }, { [aY]: q, [aZ]: [af, 20, 22, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 21, b], [bb]: t }, { [aY]: q, [aZ]: [af, 21, 23, b], [bb]: u }, ai], rules: aR, [aW]: p }, { [aX]: [{ [aY]: q, [aZ]: [af, 7, 27, b], [bb]: t }, { [aY]: q, [aZ]: [af, 27, 29, b], [bb]: u }, ai], rules: aR, [aW]: p }, { error: "Unrecognized S3Express Access Point name format.", [aW]: h }], [aW]: p }], [aW]: p }, { [aX]: [{ [aY]: c, [aZ]: [al] }, { [aY]: d, [aZ]: [al, b] }], rules: [{ [aX]: aK, rules: [X, ag, ah, aj, ak], [aW]: p }], [aW]: p }, { [aX]: [{ [aY]: f, [aZ]: [M, "snow"] }, Y, aa], rules: [{ [aX]: aK, rules: [{ [aX]: aP, error: "S3 Snow does not support DualStack", [aW]: h }, { [aX]: aO, error: "S3 Snow does not support FIPS", [aW]: h }, { endpoint: { [bc]: s, [bd]: am, [bj]: ac }, [aW]: o }], [aW]: p }], [aW]: p }, { [aX]: [ae, { [aY]: v, [aZ]: aQ, [bb]: w }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [an, x], [bb]: y }, ao], rules: [{ [aX]: [{ [aY]: f, [aZ]: [{ [aY]: g, [aZ]: [an, z] }, m] }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [an, A], [bb]: B }], rules: [{ [aX]: aS, rules: [X, { [aX]: [ap, aq, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [ar, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aW]: h }, { [aX]: aK, rules: [{ [aX]: [{ [aY]: e, [aZ]: [ar], [bb]: C }], rules: [{ [aX]: aT, rules: [{ [aX]: [{ [aY]: j, [aZ]: [ar, b] }], rules: [{ [aX]: [{ [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [as, ""] }] }], rules: [{ [aX]: [{ [aY]: j, [aZ]: [as, a] }], rules: [{ [aX]: [U, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [V, D] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aW]: h }, { [aX]: [{ [aY]: g, [aZ]: [an, E], [bb]: F }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [an, G], [bb]: "accessPointName" }], rules: [{ [aX]: [{ [aY]: f, [aZ]: [at, "accesspoint"] }], rules: [{ [aX]: aN, endpoint: { [bc]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }, { [aX]: aO, endpoint: { [bc]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }, { [aX]: aP, endpoint: { [bc]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }, { [aX]: aM, endpoint: { [bc]: l, [bd]: au, [bj]: av }, [aW]: o }, { endpoint: { [bc]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bd]: au, [bj]: av }, [aW]: o }], [aW]: p }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aW]: h }], [aW]: p }, { error: "Invalid ARN: expected an access point name", [aW]: h }], [aW]: p }, aw], [aW]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aW]: h }], [aW]: p }, ax], [aW]: p }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aW]: h }], [aW]: p }, ay], [aW]: p }], [aW]: p }], [aW]: p }, az], [aW]: p }, aA], [aW]: p }], [aW]: p }, aB], [aW]: p }, { [aX]: [{ [aY]: c, [aZ]: aU }, { [aY]: v, [aZ]: aU, [bb]: H }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [aC, x], [bb]: y }, ao], rules: [{ [aX]: [{ [aY]: f, [aZ]: [{ [aY]: g, [aZ]: [aC, z] }, m] }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [aC, A], [bb]: B }], rules: [{ [aX]: aS, rules: [X, { [aX]: [ap, aq, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [aD, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aW]: h }, { [aX]: [{ [aY]: e, [aZ]: [aD], [bb]: C }], rules: [{ [aX]: aK, rules: [{ [aX]: aT, rules: [{ [aX]: [{ [aY]: j, [aZ]: [aD, b] }], rules: [{ [aX]: [{ [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [aE, ""] }] }], rules: [{ [aX]: [{ [aY]: j, [aZ]: [aE, a] }], rules: [{ [aX]: [U, { [aY]: i, [aZ]: [{ [aY]: f, [aZ]: [V, I] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aW]: h }, { [aX]: [{ [aY]: g, [aZ]: [aC, E], [bb]: F }], rules: [{ [aX]: [{ [aY]: g, [aZ]: [aC, G], [bb]: "bucketName" }], rules: [{ [aX]: [{ [aY]: f, [aZ]: [at, "bucket"] }], rules: [{ [aX]: aN, endpoint: { [bc]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }, { [aX]: aO, endpoint: { [bc]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }, { [aX]: aP, endpoint: { [bc]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }, { [aX]: aM, endpoint: { [bc]: l, [bd]: aF, [bj]: aG }, [aW]: o }, { endpoint: { [bc]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", [bd]: aF, [bj]: aG }, [aW]: o }], [aW]: p }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aW]: h }], [aW]: p }, { error: "Invalid ARN: expected a bucket name", [aW]: h }], [aW]: p }, aw], [aW]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aW]: h }], [aW]: p }, ax], [aW]: p }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aW]: h }], [aW]: p }, ay], [aW]: p }], [aW]: p }], [aW]: p }, az], [aW]: p }, aA], [aW]: p }], [aW]: p }, aB], [aW]: p }, { [aX]: aK, rules: [{ [aX]: aL, rules: [R, W, { [aX]: aM, rules: [{ [aX]: aP, error: k, [aW]: h }, { [aX]: [S, T, U], endpoint: { [bc]: "{url#scheme}://{AccountId}.{url#authority}{url#path}", [bd]: am, [bj]: ac }, [aW]: o }, { endpoint: { [bc]: l, [bd]: am, [bj]: ac }, [aW]: o }], [aW]: p }, { [aX]: [N, Z, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: aN, endpoint: { [bc]: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [N, aH, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [N, aH], endpoint: { [bc]: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, Z, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, Z], endpoint: { [bc]: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, aH, S, T, U], endpoint: { [bc]: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }, { [aX]: [aI, aH], endpoint: { [bc]: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", [bd]: am, [bj]: ac }, [aW]: o }], [aW]: p }, ad], [aW]: p }], [aW]: p }, { error: "Region must be set", [aW]: 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.810.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3-control",
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.810.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.810.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.804.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.804.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|
|
30
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.808.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.810.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.808.0",
|
|
33
33
|
"@aws-sdk/types": "3.804.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.808.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.804.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.810.0",
|
|
37
37
|
"@aws-sdk/xml-builder": "3.804.0",
|
|
38
|
-
"@smithy/config-resolver": "^4.1.
|
|
39
|
-
"@smithy/core": "^3.3.
|
|
38
|
+
"@smithy/config-resolver": "^4.1.2",
|
|
39
|
+
"@smithy/core": "^3.3.3",
|
|
40
40
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
41
41
|
"@smithy/hash-blob-browser": "^4.0.2",
|
|
42
42
|
"@smithy/hash-node": "^4.0.2",
|
|
@@ -45,22 +45,22 @@
|
|
|
45
45
|
"@smithy/md5-js": "^4.0.2",
|
|
46
46
|
"@smithy/middleware-apply-body-checksum": "^4.1.0",
|
|
47
47
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
49
|
-
"@smithy/middleware-retry": "^4.1.
|
|
50
|
-
"@smithy/middleware-serde": "^4.0.
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.1.6",
|
|
49
|
+
"@smithy/middleware-retry": "^4.1.7",
|
|
50
|
+
"@smithy/middleware-serde": "^4.0.5",
|
|
51
51
|
"@smithy/middleware-stack": "^4.0.2",
|
|
52
|
-
"@smithy/node-config-provider": "^4.1.
|
|
52
|
+
"@smithy/node-config-provider": "^4.1.1",
|
|
53
53
|
"@smithy/node-http-handler": "^4.0.4",
|
|
54
54
|
"@smithy/protocol-http": "^5.1.0",
|
|
55
|
-
"@smithy/smithy-client": "^4.2.
|
|
55
|
+
"@smithy/smithy-client": "^4.2.6",
|
|
56
56
|
"@smithy/types": "^4.2.0",
|
|
57
57
|
"@smithy/url-parser": "^4.0.2",
|
|
58
58
|
"@smithy/util-base64": "^4.0.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
63
|
-
"@smithy/util-endpoints": "^3.0.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.0.14",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.0.14",
|
|
63
|
+
"@smithy/util-endpoints": "^3.0.4",
|
|
64
64
|
"@smithy/util-middleware": "^4.0.2",
|
|
65
65
|
"@smithy/util-retry": "^4.0.3",
|
|
66
66
|
"@smithy/util-utf8": "^4.0.0",
|