@aws-sdk/client-s3-control 3.840.0 → 3.844.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.
@@ -14,6 +14,7 @@ const cache = new util_endpoints_2.EndpointCache({
14
14
  "OutpostId",
15
15
  "Region",
16
16
  "RequiresAccountId",
17
+ "ResourceArn",
17
18
  "UseArnRegion",
18
19
  "UseDualStack",
19
20
  "UseFIPS",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
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 }] };
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]: "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
+ 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;
package/dist-cjs/index.js CHANGED
@@ -9456,6 +9456,7 @@ var import_middleware_sdk_s3_control76 = require("@aws-sdk/middleware-sdk-s3-con
9456
9456
  var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep({
9457
9457
  ...commonParams,
9458
9458
  RequiresAccountId: { type: "staticContextParams", value: true },
9459
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
9459
9460
  AccountId: { type: "contextParams", name: "AccountId" }
9460
9461
  }).m(function(Command, cs, config, o) {
9461
9462
  return [
@@ -9837,6 +9838,7 @@ var import_middleware_sdk_s3_control93 = require("@aws-sdk/middleware-sdk-s3-con
9837
9838
  var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep({
9838
9839
  ...commonParams,
9839
9840
  RequiresAccountId: { type: "staticContextParams", value: true },
9841
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
9840
9842
  AccountId: { type: "contextParams", name: "AccountId" }
9841
9843
  }).m(function(Command, cs, config, o) {
9842
9844
  return [
@@ -9858,6 +9860,7 @@ var import_middleware_sdk_s3_control94 = require("@aws-sdk/middleware-sdk-s3-con
9858
9860
  var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep({
9859
9861
  ...commonParams,
9860
9862
  RequiresAccountId: { type: "staticContextParams", value: true },
9863
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
9861
9864
  AccountId: { type: "contextParams", name: "AccountId" }
9862
9865
  }).m(function(Command, cs, config, o) {
9863
9866
  return [
@@ -10,6 +10,7 @@ export class ListTagsForResourceCommand extends $Command
10
10
  .ep({
11
11
  ...commonParams,
12
12
  RequiresAccountId: { type: "staticContextParams", value: true },
13
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
13
14
  AccountId: { type: "contextParams", name: "AccountId" },
14
15
  })
15
16
  .m(function (Command, cs, config, o) {
@@ -10,6 +10,7 @@ export class TagResourceCommand extends $Command
10
10
  .ep({
11
11
  ...commonParams,
12
12
  RequiresAccountId: { type: "staticContextParams", value: true },
13
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
13
14
  AccountId: { type: "contextParams", name: "AccountId" },
14
15
  })
15
16
  .m(function (Command, cs, config, o) {
@@ -10,6 +10,7 @@ export class UntagResourceCommand extends $Command
10
10
  .ep({
11
11
  ...commonParams,
12
12
  RequiresAccountId: { type: "staticContextParams", value: true },
13
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
13
14
  AccountId: { type: "contextParams", name: "AccountId" },
14
15
  })
15
16
  .m(function (Command, cs, config, o) {
@@ -11,6 +11,7 @@ const cache = new EndpointCache({
11
11
  "OutpostId",
12
12
  "Region",
13
13
  "RequiresAccountId",
14
+ "ResourceArn",
14
15
  "UseArnRegion",
15
16
  "UseDualStack",
16
17
  "UseFIPS",
@@ -1,4 +1,4 @@
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 }] };
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]: "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
+ 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;
@@ -27,18 +27,42 @@ declare const ListTagsForResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>This operation allows you to list all the Amazon Web Services resource tags for a specified resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. </p>
30
+ * <p>This operation allows you to list all of the tags for a specified resource. Each tag is a label consisting of a key and value. Tags can help you organize, track costs for, and control access to resources. </p>
31
+ * <note>
32
+ * <p>This operation is only supported for the following Amazon S3 resources:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory buckets</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">Storage Lens groups</a>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances, registered locations, and grants</a>.</p>
47
+ * </li>
48
+ * </ul>
49
+ * </note>
31
50
  * <dl>
32
51
  * <dt>Permissions</dt>
33
52
  * <dd>
34
- * <p>You must have the <code>s3:ListTagsForResource</code> permission to use this operation. </p>
53
+ * <p>For Storage Lens groups and S3 Access Grants, you must have the <code>s3:ListTagsForResource</code> permission to use this operation. </p>
54
+ * <p>For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
55
+ * </dd>
56
+ * <dt>Directory bucket permissions</dt>
57
+ * <dd>
58
+ * <p>For directory buckets, you must have the <code>s3express:ListTagsForResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
59
+ * </dd>
60
+ * <dt>HTTP Host header syntax</dt>
61
+ * <dd>
62
+ * <p>
63
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
35
64
  * </dd>
36
65
  * </dl>
37
- * <note>
38
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
39
- * </note>
40
- * <p>For more information about the required Storage Lens
41
- * Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
42
66
  * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
43
67
  * @example
44
68
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,18 +27,42 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> Creates a new Amazon Web Services resource tag or updates an existing resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource. </p>
30
+ * <p> Creates a new user-defined tag or updates an existing tag. Each tag is a label consisting of a key and value that is applied to your resource. Tags can help you organize, track costs for, and control access to your resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource. </p>
31
31
  * <note>
32
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
32
+ * <p>This operation is only supported for the following Amazon S3 resource:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory buckets</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances, registered locations, or grants</a>.</p>
47
+ * </li>
48
+ * </ul>
33
49
  * </note>
34
50
  * <dl>
35
51
  * <dt>Permissions</dt>
36
52
  * <dd>
37
- * <p>You must have the <code>s3:TagResource</code> permission to use this operation. </p>
53
+ * <p>For Storage Lens groups and S3 Access Grants, you must have the <code>s3:TagResource</code> permission to use this operation. </p>
54
+ * <p>For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
55
+ * </dd>
56
+ * <dt>Directory bucket permissions</dt>
57
+ * <dd>
58
+ * <p>For directory buckets, you must have the <code>s3express:TagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
59
+ * </dd>
60
+ * <dt>HTTP Host header syntax</dt>
61
+ * <dd>
62
+ * <p>
63
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
38
64
  * </dd>
39
65
  * </dl>
40
- * <p>For more information about the required Storage Lens
41
- * Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
42
66
  * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
43
67
  * @example
44
68
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,18 +27,42 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> This operation removes the specified Amazon Web Services resource tags from an S3 resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. </p>
30
+ * <p>This operation removes the specified user-defined tags from an S3 resource. You can pass one or more tag keys. </p>
31
31
  * <note>
32
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
32
+ * <p>This operation is only supported for the following Amazon S3 resources:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory buckets</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">Storage Lens groups</a>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances, registered locations, and grants</a>.</p>
47
+ * </li>
48
+ * </ul>
33
49
  * </note>
34
50
  * <dl>
35
51
  * <dt>Permissions</dt>
36
52
  * <dd>
37
- * <p>You must have the <code>s3:UntagResource</code> permission to use this operation. </p>
53
+ * <p>For Storage Lens groups and S3 Access Grants, you must have the <code>s3:UntagResource</code> permission to use this operation. </p>
54
+ * <p>For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
55
+ * </dd>
56
+ * <dt>Directory bucket permissions</dt>
57
+ * <dd>
58
+ * <p>For directory buckets, you must have the <code>s3express:UntagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
59
+ * </dd>
60
+ * <dt>HTTP Host header syntax</dt>
61
+ * <dd>
62
+ * <p>
63
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
38
64
  * </dd>
39
65
  * </dl>
40
- * <p>For more information about the required Storage
41
- * Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
42
66
  * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3
43
67
  * Tagging error codes</a>.</p>
44
68
  * @example
@@ -46,5 +46,6 @@ export interface EndpointParameters extends __EndpointParameters {
46
46
  Bucket?: string | undefined;
47
47
  AccessPointName?: string | undefined;
48
48
  UseArnRegion?: boolean | undefined;
49
+ ResourceArn?: string | undefined;
49
50
  UseS3ExpressControlEndpoint?: boolean | undefined;
50
51
  }
@@ -853,11 +853,8 @@ export declare const S3PrefixType: {
853
853
  export type S3PrefixType = (typeof S3PrefixType)[keyof typeof S3PrefixType];
854
854
  /**
855
855
  * <p>
856
- * An Amazon Web Services resource tag that's associated with your S3 resource. You can add tags to new objects when you upload them, or you can add object tags to existing objects.
856
+ * A key-value pair that you use to label your resources. You can add tags to new resources when you create them, or you can add tags to existing resources. Tags can help you organize, track costs for, and control access to resources.
857
857
  * </p>
858
- * <note>
859
- * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
860
- * </note>
861
858
  * @public
862
859
  */
863
860
  export interface Tag {
@@ -277,7 +277,7 @@ export interface ListTagsForResourceRequest {
277
277
  AccountId?: string | undefined;
278
278
  /**
279
279
  * <p>
280
- * The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
280
+ * The Amazon Resource Name (ARN) of the S3 resource that you want to list tags for. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
281
281
  * </p>
282
282
  * @public
283
283
  */
@@ -775,7 +775,7 @@ export interface TagResourceRequest {
775
775
  */
776
776
  AccountId?: string | undefined;
777
777
  /**
778
- * <p>The Amazon Resource Name (ARN) of the S3 resource that you're trying to add tags to. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
778
+ * <p>The Amazon Resource Name (ARN) of the S3 resource that you're applying tags to. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
779
779
  * @public
780
780
  */
781
781
  ResourceArn: string | undefined;
@@ -804,9 +804,7 @@ export interface UntagResourceRequest {
804
804
  */
805
805
  AccountId?: string | undefined;
806
806
  /**
807
- * <p>
808
- * The Amazon Resource Name (ARN) of the S3 resource that you're trying to remove the tags from.
809
- * </p>
807
+ * <p>The Amazon Resource Name (ARN) of the S3 resource that you're removing tags from. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
810
808
  * @public
811
809
  */
812
810
  ResourceArn: string | undefined;
@@ -59,5 +59,6 @@ export interface EndpointParameters extends __EndpointParameters {
59
59
  Bucket?: string | undefined;
60
60
  AccessPointName?: string | undefined;
61
61
  UseArnRegion?: boolean | undefined;
62
+ ResourceArn?: string | undefined;
62
63
  UseS3ExpressControlEndpoint?: boolean | undefined;
63
64
  }
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.840.0",
4
+ "version": "3.844.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,23 +22,23 @@
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.840.0",
26
- "@aws-sdk/credential-provider-node": "3.840.0",
25
+ "@aws-sdk/core": "3.844.0",
26
+ "@aws-sdk/credential-provider-node": "3.844.0",
27
27
  "@aws-sdk/middleware-bucket-endpoint": "3.840.0",
28
28
  "@aws-sdk/middleware-host-header": "3.840.0",
29
29
  "@aws-sdk/middleware-logger": "3.840.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
31
- "@aws-sdk/middleware-sdk-s3-control": "3.840.0",
32
- "@aws-sdk/middleware-user-agent": "3.840.0",
31
+ "@aws-sdk/middleware-sdk-s3-control": "3.844.0",
32
+ "@aws-sdk/middleware-user-agent": "3.844.0",
33
33
  "@aws-sdk/region-config-resolver": "3.840.0",
34
34
  "@aws-sdk/types": "3.840.0",
35
- "@aws-sdk/util-endpoints": "3.840.0",
35
+ "@aws-sdk/util-endpoints": "3.844.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.840.0",
37
- "@aws-sdk/util-user-agent-node": "3.840.0",
37
+ "@aws-sdk/util-user-agent-node": "3.844.0",
38
38
  "@aws-sdk/xml-builder": "3.821.0",
39
39
  "@smithy/config-resolver": "^4.1.4",
40
- "@smithy/core": "^3.6.0",
41
- "@smithy/fetch-http-handler": "^5.0.4",
40
+ "@smithy/core": "^3.7.0",
41
+ "@smithy/fetch-http-handler": "^5.1.0",
42
42
  "@smithy/hash-blob-browser": "^4.0.4",
43
43
  "@smithy/hash-node": "^4.0.4",
44
44
  "@smithy/hash-stream-node": "^4.0.4",
@@ -46,21 +46,21 @@
46
46
  "@smithy/md5-js": "^4.0.4",
47
47
  "@smithy/middleware-apply-body-checksum": "^4.1.2",
48
48
  "@smithy/middleware-content-length": "^4.0.4",
49
- "@smithy/middleware-endpoint": "^4.1.13",
50
- "@smithy/middleware-retry": "^4.1.14",
49
+ "@smithy/middleware-endpoint": "^4.1.14",
50
+ "@smithy/middleware-retry": "^4.1.15",
51
51
  "@smithy/middleware-serde": "^4.0.8",
52
52
  "@smithy/middleware-stack": "^4.0.4",
53
53
  "@smithy/node-config-provider": "^4.1.3",
54
- "@smithy/node-http-handler": "^4.0.6",
54
+ "@smithy/node-http-handler": "^4.1.0",
55
55
  "@smithy/protocol-http": "^5.1.2",
56
- "@smithy/smithy-client": "^4.4.5",
56
+ "@smithy/smithy-client": "^4.4.6",
57
57
  "@smithy/types": "^4.3.1",
58
58
  "@smithy/url-parser": "^4.0.4",
59
59
  "@smithy/util-base64": "^4.0.0",
60
60
  "@smithy/util-body-length-browser": "^4.0.0",
61
61
  "@smithy/util-body-length-node": "^4.0.0",
62
- "@smithy/util-defaults-mode-browser": "^4.0.21",
63
- "@smithy/util-defaults-mode-node": "^4.0.21",
62
+ "@smithy/util-defaults-mode-browser": "^4.0.22",
63
+ "@smithy/util-defaults-mode-node": "^4.0.22",
64
64
  "@smithy/util-endpoints": "^3.0.6",
65
65
  "@smithy/util-middleware": "^4.0.4",
66
66
  "@smithy/util-retry": "^4.0.6",