@aws-sdk/client-s3-control 3.918.0 → 3.919.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.
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const ba = "required", bb = "type", bc = "conditions", bd = "fn", be = "argv", bf = "ref", bg = "assign", bh = "url", bi = "properties", bj = "authSchemes", bk = "disableDoubleEncoding", bl = "name", bm = "signingName", bn = "signingRegion", bo = "headers", bp = "x-amz-account-id", bq = "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 = "aws.parseArn", r = "resourceArn", s = "service", t = "s3express", u = "arnPartition", v = "{url#scheme}://{url#authority}", w = "substring", x = "accessPointSuffix", y = "s3expressAvailabilityZoneId", z = "s3expressAvailabilityZoneDelim", A = "accessPointArn", B = "resourceId[0]", C = "arnType", D = "resourceId[1]", E = "outpostId", F = "{accessPointArn#accountId}", G = "resourceId[2]", H = "outpostType", I = "resourceId[3]", J = "bucketArn", K = "{bucketArn#accountId}", L = { [ba]: false, [bb]: "
|
|
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 = "aws.parseArn", r = "resourceArn", s = "service", t = "s3express", u = "arnPartition", v = "{url#scheme}://{url#authority}", w = "substring", x = "accessPointSuffix", y = "s3expressAvailabilityZoneId", z = "s3expressAvailabilityZoneDelim", A = "accessPointArn", B = "resourceId[0]", C = "arnType", D = "resourceId[1]", E = "outpostId", F = "{accessPointArn#accountId}", G = "resourceId[2]", H = "outpostType", I = "resourceId[3]", J = "bucketArn", K = "{bucketArn#accountId}", L = { [ba]: false, [bb]: "string" }, M = { [ba]: true, "default": false, [bb]: "boolean" }, N = { [ba]: false, [bb]: "boolean" }, O = { [bf]: "Region" }, P = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, true] }, Q = { [bd]: e, [be]: [O], [bg]: "partitionResult" }, R = { [bd]: g, [be]: [{ [bf]: "partitionResult" }, "name"] }, S = { [bf]: "OutpostId" }, T = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, { [bd]: i, [be]: [{ [bd]: c, [be]: [{ [bf]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [bb]: h }, U = { [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, V = { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, W = { [bd]: c, [be]: [{ [bf]: "AccountId" }] }, X = { [bf]: "AccountId" }, Y = { [bc]: [W, { [bd]: i, [be]: [{ [bd]: j, [be]: [X, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }], [h]: k, [bb]: h }, aa = { [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, ab = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }, ac = { [bd]: "parseURL", [be]: [{ [bf]: "Endpoint" }], [bg]: "url" }, ad = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: n }] }, ae = {}, af = { [h]: "Invalid region: region was not a valid DNS name.", [bb]: h }, ag = { [bf]: r }, ah = { [bd]: g, [be]: [ag, "region"] }, ai = { [bd]: c, [be]: [{ [bf]: "UseArnRegion" }] }, aj = { [bd]: d, [be]: [{ [bf]: "UseArnRegion" }, false] }, ak = { [bc]: [ab], [h]: "S3Express does not support Dual-stack.", [bb]: h }, al = { [bc]: [aa, ac], [o]: { [bh]: v, [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, am = { [bc]: [P], [o]: { [bh]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, an = { [o]: { [bh]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, ao = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [bb]: h }, ap = { [bd]: c, [be]: [{ [bf]: "AccessPointName" }] }, aq = { [bf]: "AccessPointName" }, ar = { [bd]: f, [be]: [{ [bf]: z }, "--"] }, as = { [bf]: "UseS3ExpressControlEndpoint" }, at = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: "s3", [bn]: n }] }, au = { [bf]: A }, av = { [bd]: i, [be]: [{ [bd]: f, [be]: [{ [bf]: C }, ""] }] }, aw = { [bd]: g, [be]: [au, "region"] }, ax = { [bd]: g, [be]: [au, "accountId"] }, ay = { [bf]: H }, az = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{accessPointArn#region}" }] }, aA = { [bp]: [F], [bq]: ["{outpostId}"] }, aB = { [h]: "Invalid ARN: Expected a 4-component resource", [bb]: h }, aC = { [h]: "Invalid ARN: missing account ID", [bb]: h }, aD = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [bb]: h }, aE = { [h]: "Invalid ARN: The Outpost Id was not set", [bb]: h }, aF = { [h]: "Invalid ARN: No ARN type specified", [bb]: h }, aG = { [bf]: J }, aH = { [bd]: g, [be]: [aG, "region"] }, aI = { [bd]: g, [be]: [aG, "accountId"] }, aJ = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{bucketArn#region}" }] }, aK = { [bp]: [K], [bq]: ["{outpostId}"] }, aL = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, false] }, aM = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, false] }, aN = [O], aO = [Q], aP = [{ [bd]: j, [be]: [O, true] }], aQ = [aa, ac], aR = [P, ab], aS = [P], aT = [ab], aU = [{ [bf]: "ResourceArn" }], aV = [{ [bd]: f, [be]: [{ [bd]: g, [be]: [{ [bf]: u }, "name"] }, R] }], aW = [aq], aX = [am, an], aY = [{ [bd]: j, [be]: [{ [bf]: E }, false] }], aZ = [{ [bf]: "Bucket" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: L, UseFIPS: M, UseDualStack: M, Endpoint: L, AccountId: L, RequiresAccountId: N, OutpostId: L, Bucket: L, AccessPointName: L, UseArnRegion: N, ResourceArn: L, UseS3ExpressControlEndpoint: N }, rules: [{ [bc]: [{ [bd]: c, [be]: aN }], rules: [{ [bc]: [P, Q, { [bd]: f, [be]: [R, "aws-cn"] }], error: "Partition does not support FIPS", [bb]: h }, { [bc]: [{ [bd]: c, [be]: [S] }], rules: [{ [bc]: aO, rules: [T, Y, { [bc]: [{ [bd]: i, [be]: [{ [bd]: j, [be]: [S, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z, { [bc]: aP, rules: [{ [bc]: aQ, endpoint: { [bh]: l, [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aU }, { [bd]: q, [be]: aU, [bg]: r }, { [bd]: f, [be]: [{ [bd]: g, [be]: [ag, s] }, t] }], rules: [{ [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [ah], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [ah, n] }] }], error: "Invalid configuration: region from ARN `{resourceArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, Z, ak, al, am, an], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: w, [be]: [aq, 0, 7, b], [bg]: x }, { [bd]: f, [be]: [{ [bf]: x }, "--xa-s3"] }], rules: [{ [bc]: aO, rules: [Z, ak, al, { [bc]: [{ [bd]: w, [be]: [aq, 7, 15, b], [bg]: y }, { [bd]: w, [be]: [aq, 15, 17, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 16, b], [bg]: y }, { [bd]: w, [be]: [aq, 16, 18, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 20, b], [bg]: y }, { [bd]: w, [be]: [aq, 20, 22, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 21, b], [bg]: y }, { [bd]: w, [be]: [aq, 21, 23, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 27, b], [bg]: y }, { [bd]: w, [be]: [aq, 27, 29, b], [bg]: z }, ar], rules: aX, [bb]: p }, { error: "Unrecognized S3Express Access Point name format.", [bb]: h }], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: [as] }, { [bd]: d, [be]: [as, b] }], rules: [{ [bc]: aO, rules: [Z, ak, al, am, an], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: f, [be]: [O, "snow"] }, aa, ac], rules: [{ [bc]: aO, rules: [{ [bc]: aT, error: "S3 Snow does not support DualStack", [bb]: h }, { [bc]: aS, error: "S3 Snow does not support FIPS", [bb]: h }, { endpoint: { [bh]: v, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: q, [be]: aW, [bg]: A }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [au, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aw, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [aw], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aw, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [ax, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [ax, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, F] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [au, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, I], [bg]: "accessPointName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "accesspoint"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: az, [bo]: aA }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }], [bb]: p }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected an access point name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aZ }, { [bd]: q, [be]: aZ, [bg]: J }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [aG, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aH, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: [{ [bd]: e, [be]: [aH], [bg]: u }], rules: [{ [bc]: aO, rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aH, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [aI, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [aI, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, K] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [aG, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, I], [bg]: "bucketName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "bucket"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: aJ, [bo]: aK }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }], [bb]: p }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected a bucket name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: aO, rules: [{ [bc]: aP, rules: [T, Y, { [bc]: aQ, rules: [{ [bc]: aT, error: k, [bb]: h }, { [bc]: [U, V, W], endpoint: { [bh]: "{url#scheme}://{AccountId}.{url#authority}{url#path}", [bi]: at, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: l, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, { [bc]: [P, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL], endpoint: { [bh]: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab], endpoint: { [bh]: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL], endpoint: { [bh]: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { error: "Region must be set", [bb]: h }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const ba = "required", bb = "type", bc = "conditions", bd = "fn", be = "argv", bf = "ref", bg = "assign", bh = "url", bi = "properties", bj = "authSchemes", bk = "disableDoubleEncoding", bl = "name", bm = "signingName", bn = "signingRegion", bo = "headers", bp = "x-amz-account-id", bq = "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 = "aws.parseArn", r = "resourceArn", s = "service", t = "s3express", u = "arnPartition", v = "{url#scheme}://{url#authority}", w = "substring", x = "accessPointSuffix", y = "s3expressAvailabilityZoneId", z = "s3expressAvailabilityZoneDelim", A = "accessPointArn", B = "resourceId[0]", C = "arnType", D = "resourceId[1]", E = "outpostId", F = "{accessPointArn#accountId}", G = "resourceId[2]", H = "outpostType", I = "resourceId[3]", J = "bucketArn", K = "{bucketArn#accountId}", L = { [ba]: false, [bb]: "
|
|
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 = "aws.parseArn", r = "resourceArn", s = "service", t = "s3express", u = "arnPartition", v = "{url#scheme}://{url#authority}", w = "substring", x = "accessPointSuffix", y = "s3expressAvailabilityZoneId", z = "s3expressAvailabilityZoneDelim", A = "accessPointArn", B = "resourceId[0]", C = "arnType", D = "resourceId[1]", E = "outpostId", F = "{accessPointArn#accountId}", G = "resourceId[2]", H = "outpostType", I = "resourceId[3]", J = "bucketArn", K = "{bucketArn#accountId}", L = { [ba]: false, [bb]: "string" }, M = { [ba]: true, "default": false, [bb]: "boolean" }, N = { [ba]: false, [bb]: "boolean" }, O = { [bf]: "Region" }, P = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, true] }, Q = { [bd]: e, [be]: [O], [bg]: "partitionResult" }, R = { [bd]: g, [be]: [{ [bf]: "partitionResult" }, "name"] }, S = { [bf]: "OutpostId" }, T = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, { [bd]: i, [be]: [{ [bd]: c, [be]: [{ [bf]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [bb]: h }, U = { [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, V = { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, W = { [bd]: c, [be]: [{ [bf]: "AccountId" }] }, X = { [bf]: "AccountId" }, Y = { [bc]: [W, { [bd]: i, [be]: [{ [bd]: j, [be]: [X, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }], [h]: k, [bb]: h }, aa = { [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, ab = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }, ac = { [bd]: "parseURL", [be]: [{ [bf]: "Endpoint" }], [bg]: "url" }, ad = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: n }] }, ae = {}, af = { [h]: "Invalid region: region was not a valid DNS name.", [bb]: h }, ag = { [bf]: r }, ah = { [bd]: g, [be]: [ag, "region"] }, ai = { [bd]: c, [be]: [{ [bf]: "UseArnRegion" }] }, aj = { [bd]: d, [be]: [{ [bf]: "UseArnRegion" }, false] }, ak = { [bc]: [ab], [h]: "S3Express does not support Dual-stack.", [bb]: h }, al = { [bc]: [aa, ac], [o]: { [bh]: v, [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, am = { [bc]: [P], [o]: { [bh]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, an = { [o]: { [bh]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, ao = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [bb]: h }, ap = { [bd]: c, [be]: [{ [bf]: "AccessPointName" }] }, aq = { [bf]: "AccessPointName" }, ar = { [bd]: f, [be]: [{ [bf]: z }, "--"] }, as = { [bf]: "UseS3ExpressControlEndpoint" }, at = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: "s3", [bn]: n }] }, au = { [bf]: A }, av = { [bd]: i, [be]: [{ [bd]: f, [be]: [{ [bf]: C }, ""] }] }, aw = { [bd]: g, [be]: [au, "region"] }, ax = { [bd]: g, [be]: [au, "accountId"] }, ay = { [bf]: H }, az = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{accessPointArn#region}" }] }, aA = { [bp]: [F], [bq]: ["{outpostId}"] }, aB = { [h]: "Invalid ARN: Expected a 4-component resource", [bb]: h }, aC = { [h]: "Invalid ARN: missing account ID", [bb]: h }, aD = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [bb]: h }, aE = { [h]: "Invalid ARN: The Outpost Id was not set", [bb]: h }, aF = { [h]: "Invalid ARN: No ARN type specified", [bb]: h }, aG = { [bf]: J }, aH = { [bd]: g, [be]: [aG, "region"] }, aI = { [bd]: g, [be]: [aG, "accountId"] }, aJ = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{bucketArn#region}" }] }, aK = { [bp]: [K], [bq]: ["{outpostId}"] }, aL = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, false] }, aM = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, false] }, aN = [O], aO = [Q], aP = [{ [bd]: j, [be]: [O, true] }], aQ = [aa, ac], aR = [P, ab], aS = [P], aT = [ab], aU = [{ [bf]: "ResourceArn" }], aV = [{ [bd]: f, [be]: [{ [bd]: g, [be]: [{ [bf]: u }, "name"] }, R] }], aW = [aq], aX = [am, an], aY = [{ [bd]: j, [be]: [{ [bf]: E }, false] }], aZ = [{ [bf]: "Bucket" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: L, UseFIPS: M, UseDualStack: M, Endpoint: L, AccountId: L, RequiresAccountId: N, OutpostId: L, Bucket: L, AccessPointName: L, UseArnRegion: N, ResourceArn: L, UseS3ExpressControlEndpoint: N }, rules: [{ [bc]: [{ [bd]: c, [be]: aN }], rules: [{ [bc]: [P, Q, { [bd]: f, [be]: [R, "aws-cn"] }], error: "Partition does not support FIPS", [bb]: h }, { [bc]: [{ [bd]: c, [be]: [S] }], rules: [{ [bc]: aO, rules: [T, Y, { [bc]: [{ [bd]: i, [be]: [{ [bd]: j, [be]: [S, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z, { [bc]: aP, rules: [{ [bc]: aQ, endpoint: { [bh]: l, [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aU }, { [bd]: q, [be]: aU, [bg]: r }, { [bd]: f, [be]: [{ [bd]: g, [be]: [ag, s] }, t] }], rules: [{ [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [ah], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [ah, n] }] }], error: "Invalid configuration: region from ARN `{resourceArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, Z, ak, al, am, an], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: w, [be]: [aq, 0, 7, b], [bg]: x }, { [bd]: f, [be]: [{ [bf]: x }, "--xa-s3"] }], rules: [{ [bc]: aO, rules: [Z, ak, al, { [bc]: [{ [bd]: w, [be]: [aq, 7, 15, b], [bg]: y }, { [bd]: w, [be]: [aq, 15, 17, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 16, b], [bg]: y }, { [bd]: w, [be]: [aq, 16, 18, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 20, b], [bg]: y }, { [bd]: w, [be]: [aq, 20, 22, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 21, b], [bg]: y }, { [bd]: w, [be]: [aq, 21, 23, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 27, b], [bg]: y }, { [bd]: w, [be]: [aq, 27, 29, b], [bg]: z }, ar], rules: aX, [bb]: p }, { error: "Unrecognized S3Express Access Point name format.", [bb]: h }], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: [as] }, { [bd]: d, [be]: [as, b] }], rules: [{ [bc]: aO, rules: [Z, ak, al, am, an], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: f, [be]: [O, "snow"] }, aa, ac], rules: [{ [bc]: aO, rules: [{ [bc]: aT, error: "S3 Snow does not support DualStack", [bb]: h }, { [bc]: aS, error: "S3 Snow does not support FIPS", [bb]: h }, { endpoint: { [bh]: v, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: q, [be]: aW, [bg]: A }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [au, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aw, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [aw], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aw, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [ax, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [ax, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, F] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [au, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, I], [bg]: "accessPointName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "accesspoint"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: az, [bo]: aA }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }], [bb]: p }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected an access point name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aZ }, { [bd]: q, [be]: aZ, [bg]: J }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [aG, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aH, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: [{ [bd]: e, [be]: [aH], [bg]: u }], rules: [{ [bc]: aO, rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aH, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [aI, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [aI, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, K] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [aG, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, I], [bg]: "bucketName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "bucket"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: aJ, [bo]: aK }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }], [bb]: p }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected a bucket name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: aO, rules: [{ [bc]: aP, rules: [T, Y, { [bc]: aQ, rules: [{ [bc]: aT, error: k, [bb]: h }, { [bc]: [U, V, W], endpoint: { [bh]: "{url#scheme}://{AccountId}.{url#authority}{url#path}", [bi]: at, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: l, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, { [bc]: [P, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL], endpoint: { [bh]: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab], endpoint: { [bh]: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL], endpoint: { [bh]: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { error: "Region must be set", [bb]: 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.919.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",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.916.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.919.0",
|
|
27
27
|
"@aws-sdk/middleware-bucket-endpoint": "3.914.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.914.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.914.0",
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.919.0",
|
|
31
31
|
"@aws-sdk/middleware-sdk-s3-control": "3.916.0",
|
|
32
32
|
"@aws-sdk/middleware-user-agent": "3.916.0",
|
|
33
33
|
"@aws-sdk/region-config-resolver": "3.914.0",
|