@aws-sdk/client-s3 3.451.0 → 3.456.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 bJ = "required", bK = "type", bL = "conditions", bM = "fn", bN = "argv", bO = "ref", bP = "assign", bQ = "url", bR = "properties", bS = "authSchemes", bT = "disableDoubleEncoding", bU = "signingName", bV = "signingRegion", bW = "headers";
5
- const a = false, b = true, c = "isSet", d = "tree", e = "booleanEquals", f = "error", g = "aws.partition", h = "stringEquals", i = "getAttr", j = "name", k = "substring", l = "hardwareType", m = "regionPrefix", n = "bucketAliasSuffix", o = "outpostId", p = "isValidHostLabel", q = "not", r = "parseURL", s = "s3-outposts", t = "endpoint", u = "aws.isVirtualHostableS3Bucket", v = "s3", w = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", x = "{url#scheme}://{Bucket}.{url#authority}{url#path}", y = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", z = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", A = "aws.parseArn", B = "bucketArn", C = "arnType", D = "", E = "s3-object-lambda", F = "accesspoint", G = "accessPointName", H = "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", I = "mrapPartition", J = "outpostType", K = "arnPrefix", L = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", M = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", N = "{url#scheme}://{url#authority}{url#path}", O = "https://s3.{partitionResult#dnsSuffix}", P = { [bJ]: false, [bK]: "String" }, Q = { [bJ]: true, "default": false, [bK]: "Boolean" }, R = { [bJ]: false, [bK]: "Boolean" }, S = { [bM]: e, [bN]: [{ [bO]: "Accelerate" }, true] }, T = { [bM]: e, [bN]: [{ [bO]: "UseFIPS" }, true] }, U = { [bM]: e, [bN]: [{ [bO]: "UseDualStack" }, true] }, V = { [bM]: c, [bN]: [{ [bO]: "Endpoint" }] }, W = { [bM]: g, [bN]: [{ [bO]: "Region" }], [bP]: "partitionResult" }, X = { [bM]: h, [bN]: [{ [bM]: i, [bN]: [{ [bO]: "partitionResult" }, j] }, "aws-cn"] }, Y = { [bM]: c, [bN]: [{ [bO]: "Bucket" }] }, Z = { [bO]: "Bucket" }, aa = { [bO]: l }, ab = { [bL]: [{ [bM]: q, [bN]: [V] }], [f]: "Expected a endpoint to be specified but no endpoint was found", [bK]: f }, ac = { [bM]: q, [bN]: [V] }, ad = { [bM]: r, [bN]: [{ [bO]: "Endpoint" }], [bP]: "url" }, ae = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: s, [bV]: "{Region}" }] }, af = {}, ag = { [bM]: e, [bN]: [{ [bO]: "ForcePathStyle" }, false] }, ah = { [bO]: "ForcePathStyle" }, ai = { [bM]: e, [bN]: [{ [bO]: "Accelerate" }, false] }, aj = { [bM]: h, [bN]: [{ [bO]: "Region" }, "aws-global"] }, ak = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "us-east-1" }] }, al = { [bM]: q, [bN]: [aj] }, am = { [bM]: e, [bN]: [{ [bO]: "UseGlobalEndpoint" }, true] }, an = { [bQ]: "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, [bW]: {} }, ao = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, ap = { [bM]: e, [bN]: [{ [bO]: "UseGlobalEndpoint" }, false] }, aq = { [bM]: e, [bN]: [{ [bO]: "UseDualStack" }, false] }, ar = { [bQ]: "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, as = { [bM]: e, [bN]: [{ [bO]: "UseFIPS" }, false] }, at = { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, au = { [bQ]: "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, av = { [bM]: e, [bN]: [{ [bM]: i, [bN]: [{ [bO]: "url" }, "isIp"] }, true] }, aw = { [bO]: "url" }, ax = { [bM]: e, [bN]: [{ [bM]: i, [bN]: [aw, "isIp"] }, false] }, ay = { [bQ]: w, [bR]: ao, [bW]: {} }, az = { [bQ]: x, [bR]: ao, [bW]: {} }, aA = { [t]: az, [bK]: t }, aB = { [bQ]: y, [bR]: ao, [bW]: {} }, aC = { [bQ]: "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, aD = { [f]: "Invalid region: region was not a valid DNS name.", [bK]: f }, aE = { [bO]: B }, aF = { [bO]: C }, aG = { [bM]: i, [bN]: [aE, "service"] }, aH = { [bO]: G }, aI = { [bL]: [U], [f]: "S3 Object Lambda does not support Dual-stack", [bK]: f }, aJ = { [bL]: [S], [f]: "S3 Object Lambda does not support S3 Accelerate", [bK]: f }, aK = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "DisableAccessPoints" }] }, { [bM]: e, [bN]: [{ [bO]: "DisableAccessPoints" }, true] }], [f]: "Access points are not supported for this operation", [bK]: f }, aL = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "UseArnRegion" }] }, { [bM]: e, [bN]: [{ [bO]: "UseArnRegion" }, false] }, { [bM]: q, [bN]: [{ [bM]: h, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }, "{Region}"] }] }], [f]: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bK]: f }, aM = { [bM]: i, [bN]: [{ [bO]: "bucketPartition" }, j] }, aN = { [bM]: i, [bN]: [aE, "accountId"] }, aO = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: E, [bV]: "{bucketArn#region}" }] }, aP = { [f]: "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", [bK]: f }, aQ = { [f]: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bK]: f }, aR = { [f]: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bK]: f }, aS = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", [bK]: f }, aT = { [f]: "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", [bK]: f }, aU = { [f]: "Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided", [bK]: f }, aV = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "{bucketArn#region}" }] }, aW = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: s, [bV]: "{bucketArn#region}" }] }, aX = { [bM]: A, [bN]: [Z] }, aY = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, aZ = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, ba = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bb = { [bQ]: L, [bR]: ao, [bW]: {} }, bc = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bd = { [bO]: "UseObjectLambdaEndpoint" }, be = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: E, [bV]: "{Region}" }] }, bf = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bg = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bh = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bi = { [bQ]: N, [bR]: ao, [bW]: {} }, bj = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bk = [{ [bO]: "Region" }], bl = [{ [bO]: "Endpoint" }], bm = [Z], bn = [{ [bM]: p, [bN]: [{ [bO]: o }, false] }], bo = [{ [bM]: h, [bN]: [{ [bO]: m }, "beta"] }], bp = [V, ad], bq = [Y], br = [W], bs = [{ [bM]: p, [bN]: [{ [bO]: "Region" }, false] }], bt = [{ [bM]: h, [bN]: [{ [bO]: "Region" }, "us-east-1"] }], bu = [{ [bM]: h, [bN]: [aF, F] }], bv = [{ [bM]: i, [bN]: [aE, "resourceId[1]"], [bP]: G }, { [bM]: q, [bN]: [{ [bM]: h, [bN]: [aH, D] }] }], bw = [aE, "resourceId[1]"], bx = [U], by = [S], bz = [{ [bM]: q, [bN]: [{ [bM]: h, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }, D] }] }], bA = [{ [bM]: q, [bN]: [{ [bM]: c, [bN]: [{ [bM]: i, [bN]: [aE, "resourceId[2]"] }] }] }], bB = [aE, "resourceId[2]"], bC = [{ [bM]: g, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }], [bP]: "bucketPartition" }], bD = [{ [bM]: h, [bN]: [aM, { [bM]: i, [bN]: [{ [bO]: "partitionResult" }, j] }] }], bE = [{ [bM]: p, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }, true] }], bF = [{ [bM]: p, [bN]: [aN, false] }], bG = [{ [bM]: p, [bN]: [aH, false] }], bH = [T], bI = [{ [bM]: p, [bN]: [{ [bO]: "Region" }, true] }];
6
- const _data = { version: "1.0", parameters: { Bucket: P, Region: P, UseFIPS: Q, UseDualStack: Q, Endpoint: P, ForcePathStyle: Q, Accelerate: Q, UseGlobalEndpoint: Q, UseObjectLambdaEndpoint: R, DisableAccessPoints: R, DisableMultiRegionAccessPoints: Q, UseArnRegion: R }, rules: [{ [bL]: [{ [bM]: c, [bN]: bk }], [bK]: d, rules: [{ [bL]: [S, T], error: "Accelerate cannot be used with FIPS", [bK]: f }, { [bL]: [U, V], error: "Cannot set dual-stack in combination with a custom endpoint.", [bK]: f }, { [bL]: [V, T], error: "A custom endpoint cannot be combined with FIPS", [bK]: f }, { [bL]: [V, S], error: "A custom endpoint cannot be combined with S3 Accelerate", [bK]: f }, { [bL]: [T, W, X], error: "Partition does not support FIPS", [bK]: f }, { [bL]: [Y, { [bM]: k, [bN]: [Z, 49, 50, b], [bP]: l }, { [bM]: k, [bN]: [Z, 8, 12, b], [bP]: m }, { [bM]: k, [bN]: [Z, 0, 7, b], [bP]: n }, { [bM]: k, [bN]: [Z, 32, 49, b], [bP]: o }, { [bM]: g, [bN]: bk, [bP]: "regionPartition" }, { [bM]: h, [bN]: [{ [bO]: n }, "--op-s3"] }], [bK]: d, rules: [{ [bL]: bn, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aa, "e"] }], [bK]: d, rules: [{ [bL]: bo, [bK]: d, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.ec2.{url#authority}", [bR]: ae, [bW]: af }, [bK]: t }] }, { endpoint: { [bQ]: "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: t }] }, { [bL]: [{ [bM]: h, [bN]: [aa, "o"] }], [bK]: d, rules: [{ [bL]: bo, [bK]: d, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.{url#authority}", [bR]: ae, [bW]: af }, [bK]: t }] }, { endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: t }] }, { error: "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", [bK]: f }] }, { error: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", [bK]: f }] }, { [bL]: bq, [bK]: d, rules: [{ [bL]: [V, { [bM]: q, [bN]: [{ [bM]: c, [bN]: [{ [bM]: r, [bN]: bl }] }] }], error: "Custom endpoint `{Endpoint}` was not a valid URI", [bK]: f }, { [bL]: [ag, { [bM]: u, [bN]: [Z, a] }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bs, [bK]: d, rules: [{ [bL]: [S, X], error: "S3 Accelerate cannot be used in this region", [bK]: f }, { [bL]: [U, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, T, ai, ac, al, am], [bK]: d, rules: [{ endpoint: an, [bK]: t }] }, { [bL]: [U, T, ai, ac, al, ap], endpoint: an, [bK]: t }, { [bL]: [aq, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, T, ai, ac, al, am], [bK]: d, rules: [{ endpoint: ar, [bK]: t }] }, { [bL]: [aq, T, ai, ac, al, ap], endpoint: ar, [bK]: t }, { [bL]: [U, as, S, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, as, S, ac, al, am], [bK]: d, rules: [{ endpoint: at, [bK]: t }] }, { [bL]: [U, as, S, ac, al, ap], endpoint: at, [bK]: t }, { [bL]: [U, as, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, as, ai, ac, al, am], [bK]: d, rules: [{ endpoint: au, [bK]: t }] }, { [bL]: [U, as, ai, ac, al, ap], endpoint: au, [bK]: t }, { [bL]: [aq, as, ai, V, ad, av, aj], endpoint: { [bQ]: w, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, ai, V, ad, ax, aj], endpoint: { [bQ]: x, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, ai, V, ad, av, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: ay, [bK]: t }, { endpoint: ay, [bK]: t }] }, { [bL]: [aq, as, ai, V, ad, ax, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: az, [bK]: t }, aA] }, { [bL]: [aq, as, ai, V, ad, av, al, ap], endpoint: ay, [bK]: t }, { [bL]: [aq, as, ai, V, ad, ax, al, ap], endpoint: az, [bK]: t }, { [bL]: [aq, as, S, ac, aj], endpoint: { [bQ]: y, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, S, ac, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: aB, [bK]: t }, { endpoint: aB, [bK]: t }] }, { [bL]: [aq, as, S, ac, al, ap], endpoint: aB, [bK]: t }, { [bL]: [aq, as, ai, ac, aj], endpoint: { [bQ]: z, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, ai, ac, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: { [bQ]: z, [bR]: ao, [bW]: af }, [bK]: t }, { endpoint: aC, [bK]: t }] }, { [bL]: [aq, as, ai, ac, al, ap], endpoint: aC, [bK]: t }] }, aD] }] }, { [bL]: [V, ad, { [bM]: h, [bN]: [{ [bM]: i, [bN]: [aw, "scheme"] }, "http"] }, { [bM]: u, [bN]: [Z, b] }, ag, as, aq, ai], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bs, [bK]: d, rules: [aA] }, aD] }] }, { [bL]: [ag, { [bM]: A, [bN]: bm, [bP]: B }], [bK]: d, rules: [{ [bL]: [{ [bM]: i, [bN]: [aE, "resourceId[0]"], [bP]: C }, { [bM]: q, [bN]: [{ [bM]: h, [bN]: [aF, D] }] }], [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aG, E] }], [bK]: d, rules: [{ [bL]: bu, [bK]: d, rules: [{ [bL]: bv, [bK]: d, rules: [aI, aJ, { [bL]: bz, [bK]: d, rules: [aK, { [bL]: bA, [bK]: d, rules: [aL, { [bL]: bC, [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bD, [bK]: d, rules: [{ [bL]: bE, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aN, D] }], error: "Invalid ARN: Missing account id", [bK]: f }, { [bL]: bF, [bK]: d, rules: [{ [bL]: bG, [bK]: d, rules: [{ [bL]: bp, endpoint: { [bQ]: H, [bR]: aO, [bW]: af }, [bK]: t }, { [bL]: bH, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: t }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: t }] }, aP] }, aQ] }, aR] }, aS] }] }] }, aT] }, { error: "Invalid ARN: bucket ARN is missing a region", [bK]: f }] }, aU] }, { error: "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`", [bK]: f }] }, { [bL]: bu, [bK]: d, rules: [{ [bL]: bv, [bK]: d, rules: [{ [bL]: bz, [bK]: d, rules: [{ [bL]: bu, [bK]: d, rules: [{ [bL]: bz, [bK]: d, rules: [aK, { [bL]: bA, [bK]: d, rules: [aL, { [bL]: bC, [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aM, "{partitionResult#name}"] }], [bK]: d, rules: [{ [bL]: bE, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aG, v] }], [bK]: d, rules: [{ [bL]: bF, [bK]: d, rules: [{ [bL]: bG, [bK]: d, rules: [{ [bL]: by, error: "Access Points do not support S3 Accelerate", [bK]: f }, { [bL]: [T, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [T, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [as, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [as, aq, V, ad], endpoint: { [bQ]: H, [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [as, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }] }, aP] }, aQ] }, { error: "Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}", [bK]: f }] }, aR] }, aS] }] }] }, aT] }] }] }, { [bL]: [{ [bM]: p, [bN]: [aH, b] }], [bK]: d, rules: [{ [bL]: bx, error: "S3 MRAP does not support dual-stack", [bK]: f }, { [bL]: bH, error: "S3 MRAP does not support FIPS", [bK]: f }, { [bL]: by, error: "S3 MRAP does not support S3 Accelerate", [bK]: f }, { [bL]: [{ [bM]: e, [bN]: [{ [bO]: "DisableMultiRegionAccessPoints" }, b] }], error: "Invalid configuration: Multi-Region Access Point ARNs are disabled.", [bK]: f }, { [bL]: [{ [bM]: g, [bN]: bk, [bP]: I }], [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [{ [bM]: i, [bN]: [{ [bO]: I }, j] }, { [bM]: i, [bN]: [aE, "partition"] }] }], [bK]: d, rules: [{ endpoint: { [bQ]: "https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}", [bR]: { [bS]: [{ [bT]: b, name: "sigv4a", [bU]: v, signingRegionSet: ["*"] }] }, [bW]: af }, [bK]: t }] }, { error: "Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`", [bK]: f }] }] }, { error: "Invalid Access Point Name", [bK]: f }] }, aU] }, { [bL]: [{ [bM]: h, [bN]: [aG, s] }], [bK]: d, rules: [{ [bL]: bx, error: "S3 Outposts does not support Dual-stack", [bK]: f }, { [bL]: bH, error: "S3 Outposts does not support FIPS", [bK]: f }, { [bL]: by, error: "S3 Outposts does not support S3 Accelerate", [bK]: f }, { [bL]: [{ [bM]: c, [bN]: [{ [bM]: i, [bN]: [aE, "resourceId[4]"] }] }], error: "Invalid Arn: Outpost Access Point ARN contains sub resources", [bK]: f }, { [bL]: [{ [bM]: i, [bN]: bw, [bP]: o }], [bK]: d, rules: [{ [bL]: bn, [bK]: d, rules: [aL, { [bL]: bC, [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bD, [bK]: d, rules: [{ [bL]: bE, [bK]: d, rules: [{ [bL]: bF, [bK]: d, rules: [{ [bL]: [{ [bM]: i, [bN]: bB, [bP]: J }], [bK]: d, rules: [{ [bL]: [{ [bM]: i, [bN]: [aE, "resourceId[3]"], [bP]: G }], [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [{ [bO]: J }, F] }], [bK]: d, rules: [{ [bL]: bp, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}", [bR]: aW, [bW]: af }, [bK]: t }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aW, [bW]: af }, [bK]: t }] }, { error: "Expected an outpost type `accesspoint`, found {outpostType}", [bK]: f }] }, { error: "Invalid ARN: expected an access point name", [bK]: f }] }, { error: "Invalid ARN: Expected a 4-component resource", [bK]: f }] }, aQ] }, aR] }, aS] }] }] }, { error: "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`", [bK]: f }] }, { error: "Invalid ARN: The Outpost Id was not set", [bK]: f }] }, { error: "Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})", [bK]: f }] }, { error: "Invalid ARN: No ARN type specified", [bK]: f }] }, { [bL]: [{ [bM]: k, [bN]: [Z, 0, 4, a], [bP]: K }, { [bM]: h, [bN]: [{ [bO]: K }, "arn:"] }, { [bM]: q, [bN]: [{ [bM]: c, [bN]: [aX] }] }], error: "Invalid ARN: `{Bucket}` was not a valid ARN", [bK]: f }, { [bL]: [{ [bM]: e, [bN]: [ah, b] }, aX], error: "Path-style addressing cannot be used with ARN buckets", [bK]: f }, { [bL]: [{ [bM]: "uriEncode", [bN]: bm, [bP]: "uri_encoded_bucket" }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: [ai], [bK]: d, rules: [{ [bL]: [U, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, ac, T, al, am], [bK]: d, rules: [{ endpoint: aY, [bK]: t }] }, { [bL]: [U, ac, T, al, ap], endpoint: aY, [bK]: t }, { [bL]: [aq, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, ac, T, al, am], [bK]: d, rules: [{ endpoint: aZ, [bK]: t }] }, { [bL]: [aq, ac, T, al, ap], endpoint: aZ, [bK]: t }, { [bL]: [U, ac, as, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, ac, as, al, am], [bK]: d, rules: [{ endpoint: ba, [bK]: t }] }, { [bL]: [U, ac, as, al, ap], endpoint: ba, [bK]: t }, { [bL]: [aq, V, ad, as, aj], endpoint: { [bQ]: L, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, V, ad, as, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: bb, [bK]: t }, { endpoint: bb, [bK]: t }] }, { [bL]: [aq, V, ad, as, al, ap], endpoint: bb, [bK]: t }, { [bL]: [aq, ac, as, aj], endpoint: { [bQ]: M, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, ac, as, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: { [bQ]: M, [bR]: ao, [bW]: af }, [bK]: t }, { endpoint: bc, [bK]: t }] }, { [bL]: [aq, ac, as, al, ap], endpoint: bc, [bK]: t }] }, { error: "Path-style addressing cannot be used with S3 Accelerate", [bK]: f }] }] }] }, { [bL]: [{ [bM]: c, [bN]: [bd] }, { [bM]: e, [bN]: [bd, b] }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bI, [bK]: d, rules: [aI, aJ, { [bL]: bp, endpoint: { [bQ]: N, [bR]: be, [bW]: af }, [bK]: t }, { [bL]: bH, endpoint: { [bQ]: "https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: t }, { endpoint: { [bQ]: "https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: t }] }, aD] }] }, { [bL]: [{ [bM]: q, [bN]: bq }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bI, [bK]: d, rules: [{ [bL]: [T, U, ac, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [T, U, ac, al, am], [bK]: d, rules: [{ endpoint: bf, [bK]: t }] }, { [bL]: [T, U, ac, al, ap], endpoint: bf, [bK]: t }, { [bL]: [T, aq, ac, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [T, aq, ac, al, am], [bK]: d, rules: [{ endpoint: bg, [bK]: t }] }, { [bL]: [T, aq, ac, al, ap], endpoint: bg, [bK]: t }, { [bL]: [as, U, ac, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [as, U, ac, al, am], [bK]: d, rules: [{ endpoint: bh, [bK]: t }] }, { [bL]: [as, U, ac, al, ap], endpoint: bh, [bK]: t }, { [bL]: [as, aq, V, ad, aj], endpoint: { [bQ]: N, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [as, aq, V, ad, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: bi, [bK]: t }, { endpoint: bi, [bK]: t }] }, { [bL]: [as, aq, V, ad, al, ap], endpoint: bi, [bK]: t }, { [bL]: [as, aq, ac, aj], endpoint: { [bQ]: O, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [as, aq, ac, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: { [bQ]: O, [bR]: ao, [bW]: af }, [bK]: t }, { endpoint: bj, [bK]: t }] }, { [bL]: [as, aq, ac, al, ap], endpoint: bj, [bK]: t }] }, aD] }] }] }, { error: "A region must be set when sending requests to S3.", [bK]: f }] };
5
+ const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "aws.partition", g = "stringEquals", h = "getAttr", i = "name", j = "substring", k = "hardwareType", l = "regionPrefix", m = "bucketAliasSuffix", n = "outpostId", o = "isValidHostLabel", p = "not", q = "parseURL", r = "s3-outposts", s = "endpoint", t = "tree", u = "aws.isVirtualHostableS3Bucket", v = "s3", w = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", x = "{url#scheme}://{Bucket}.{url#authority}{url#path}", y = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", z = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", A = "aws.parseArn", B = "bucketArn", C = "arnType", D = "", E = "s3-object-lambda", F = "accesspoint", G = "accessPointName", H = "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", I = "mrapPartition", J = "outpostType", K = "arnPrefix", L = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", M = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", N = "{url#scheme}://{url#authority}{url#path}", O = "https://s3.{partitionResult#dnsSuffix}", P = { [bJ]: false, [bK]: "String" }, Q = { [bJ]: true, "default": false, [bK]: "Boolean" }, R = { [bJ]: false, [bK]: "Boolean" }, S = { [bM]: d, [bN]: [{ [bO]: "Accelerate" }, true] }, T = { [bM]: d, [bN]: [{ [bO]: "UseFIPS" }, true] }, U = { [bM]: d, [bN]: [{ [bO]: "UseDualStack" }, true] }, V = { [bM]: c, [bN]: [{ [bO]: "Endpoint" }] }, W = { [bM]: f, [bN]: [{ [bO]: "Region" }], [bP]: "partitionResult" }, X = { [bM]: g, [bN]: [{ [bM]: h, [bN]: [{ [bO]: "partitionResult" }, i] }, "aws-cn"] }, Y = { [bM]: c, [bN]: [{ [bO]: "Bucket" }] }, Z = { [bO]: "Bucket" }, aa = { [bO]: k }, ab = { [bL]: [{ [bM]: p, [bN]: [V] }], [e]: "Expected a endpoint to be specified but no endpoint was found", [bK]: e }, ac = { [bM]: p, [bN]: [V] }, ad = { [bM]: q, [bN]: [{ [bO]: "Endpoint" }], [bP]: "url" }, ae = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: r, [bV]: "{Region}" }] }, af = {}, ag = { [bM]: d, [bN]: [{ [bO]: "ForcePathStyle" }, false] }, ah = { [bO]: "ForcePathStyle" }, ai = { [bM]: d, [bN]: [{ [bO]: "Accelerate" }, false] }, aj = { [bM]: g, [bN]: [{ [bO]: "Region" }, "aws-global"] }, ak = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "us-east-1" }] }, al = { [bM]: p, [bN]: [aj] }, am = { [bM]: d, [bN]: [{ [bO]: "UseGlobalEndpoint" }, true] }, an = { [bQ]: "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, [bW]: {} }, ao = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, ap = { [bM]: d, [bN]: [{ [bO]: "UseGlobalEndpoint" }, false] }, aq = { [bM]: d, [bN]: [{ [bO]: "UseDualStack" }, false] }, ar = { [bQ]: "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, as = { [bM]: d, [bN]: [{ [bO]: "UseFIPS" }, false] }, at = { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, au = { [bQ]: "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, av = { [bM]: d, [bN]: [{ [bM]: h, [bN]: [{ [bO]: "url" }, "isIp"] }, true] }, aw = { [bO]: "url" }, ax = { [bM]: d, [bN]: [{ [bM]: h, [bN]: [aw, "isIp"] }, false] }, ay = { [bQ]: w, [bR]: ao, [bW]: {} }, az = { [bQ]: x, [bR]: ao, [bW]: {} }, aA = { [s]: az, [bK]: s }, aB = { [bQ]: y, [bR]: ao, [bW]: {} }, aC = { [bQ]: "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, aD = { [e]: "Invalid region: region was not a valid DNS name.", [bK]: e }, aE = { [bO]: B }, aF = { [bO]: C }, aG = { [bM]: h, [bN]: [aE, "service"] }, aH = { [bO]: G }, aI = { [bL]: [U], [e]: "S3 Object Lambda does not support Dual-stack", [bK]: e }, aJ = { [bL]: [S], [e]: "S3 Object Lambda does not support S3 Accelerate", [bK]: e }, aK = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "DisableAccessPoints" }] }, { [bM]: d, [bN]: [{ [bO]: "DisableAccessPoints" }, true] }], [e]: "Access points are not supported for this operation", [bK]: e }, aL = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "UseArnRegion" }] }, { [bM]: d, [bN]: [{ [bO]: "UseArnRegion" }, false] }, { [bM]: p, [bN]: [{ [bM]: g, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }, "{Region}"] }] }], [e]: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bK]: e }, aM = { [bM]: h, [bN]: [{ [bO]: "bucketPartition" }, i] }, aN = { [bM]: h, [bN]: [aE, "accountId"] }, aO = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: E, [bV]: "{bucketArn#region}" }] }, aP = { [e]: "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", [bK]: e }, aQ = { [e]: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bK]: e }, aR = { [e]: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bK]: e }, aS = { [e]: "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", [bK]: e }, aT = { [e]: "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", [bK]: e }, aU = { [e]: "Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided", [bK]: e }, aV = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "{bucketArn#region}" }] }, aW = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: r, [bV]: "{bucketArn#region}" }] }, aX = { [bM]: A, [bN]: [Z] }, aY = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, aZ = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, ba = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bb = { [bQ]: L, [bR]: ao, [bW]: {} }, bc = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bd = { [bO]: "UseObjectLambdaEndpoint" }, be = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: E, [bV]: "{Region}" }] }, bf = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bg = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bh = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bi = { [bQ]: N, [bR]: ao, [bW]: {} }, bj = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bk = [{ [bO]: "Region" }], bl = [{ [bO]: "Endpoint" }], bm = [Z], bn = [{ [bM]: o, [bN]: [{ [bO]: n }, false] }], bo = [{ [bM]: g, [bN]: [{ [bO]: l }, "beta"] }], bp = [V, ad], bq = [Y], br = [W], bs = [{ [bM]: o, [bN]: [{ [bO]: "Region" }, false] }], bt = [{ [bM]: g, [bN]: [{ [bO]: "Region" }, "us-east-1"] }], bu = [{ [bM]: g, [bN]: [aF, F] }], bv = [{ [bM]: h, [bN]: [aE, "resourceId[1]"], [bP]: G }, { [bM]: p, [bN]: [{ [bM]: g, [bN]: [aH, D] }] }], bw = [aE, "resourceId[1]"], bx = [U], by = [S], bz = [{ [bM]: p, [bN]: [{ [bM]: g, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }, D] }] }], bA = [{ [bM]: p, [bN]: [{ [bM]: c, [bN]: [{ [bM]: h, [bN]: [aE, "resourceId[2]"] }] }] }], bB = [aE, "resourceId[2]"], bC = [{ [bM]: f, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }], [bP]: "bucketPartition" }], bD = [{ [bM]: g, [bN]: [aM, { [bM]: h, [bN]: [{ [bO]: "partitionResult" }, i] }] }], bE = [{ [bM]: o, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }, true] }], bF = [{ [bM]: o, [bN]: [aN, false] }], bG = [{ [bM]: o, [bN]: [aH, false] }], bH = [T], bI = [{ [bM]: o, [bN]: [{ [bO]: "Region" }, true] }];
6
+ const _data = { version: "1.0", parameters: { Bucket: P, Region: P, UseFIPS: Q, UseDualStack: Q, Endpoint: P, ForcePathStyle: Q, Accelerate: Q, UseGlobalEndpoint: Q, UseObjectLambdaEndpoint: R, DisableAccessPoints: R, DisableMultiRegionAccessPoints: Q, UseArnRegion: R }, rules: [{ [bL]: [{ [bM]: c, [bN]: bk }], rules: [{ [bL]: [S, T], error: "Accelerate cannot be used with FIPS", [bK]: e }, { [bL]: [U, V], error: "Cannot set dual-stack in combination with a custom endpoint.", [bK]: e }, { [bL]: [V, T], error: "A custom endpoint cannot be combined with FIPS", [bK]: e }, { [bL]: [V, S], error: "A custom endpoint cannot be combined with S3 Accelerate", [bK]: e }, { [bL]: [T, W, X], error: "Partition does not support FIPS", [bK]: e }, { [bL]: [Y, { [bM]: j, [bN]: [Z, 49, 50, b], [bP]: k }, { [bM]: j, [bN]: [Z, 8, 12, b], [bP]: l }, { [bM]: j, [bN]: [Z, 0, 7, b], [bP]: m }, { [bM]: j, [bN]: [Z, 32, 49, b], [bP]: n }, { [bM]: f, [bN]: bk, [bP]: "regionPartition" }, { [bM]: g, [bN]: [{ [bO]: m }, "--op-s3"] }], rules: [{ [bL]: bn, rules: [{ [bL]: [{ [bM]: g, [bN]: [aa, "e"] }], rules: [{ [bL]: bo, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.ec2.{url#authority}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { endpoint: { [bQ]: "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { [bL]: [{ [bM]: g, [bN]: [aa, "o"] }], rules: [{ [bL]: bo, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.{url#authority}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { error: "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", [bK]: e }], [bK]: t }, { error: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", [bK]: e }], [bK]: t }, { [bL]: bq, rules: [{ [bL]: [V, { [bM]: p, [bN]: [{ [bM]: c, [bN]: [{ [bM]: q, [bN]: bl }] }] }], error: "Custom endpoint `{Endpoint}` was not a valid URI", [bK]: e }, { [bL]: [ag, { [bM]: u, [bN]: [Z, a] }], rules: [{ [bL]: br, rules: [{ [bL]: bs, rules: [{ [bL]: [S, X], error: "S3 Accelerate cannot be used in this region", [bK]: e }, { [bL]: [U, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, T, ai, ac, al, am], rules: [{ endpoint: an, [bK]: s }], [bK]: t }, { [bL]: [U, T, ai, ac, al, ap], endpoint: an, [bK]: s }, { [bL]: [aq, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, T, ai, ac, al, am], rules: [{ endpoint: ar, [bK]: s }], [bK]: t }, { [bL]: [aq, T, ai, ac, al, ap], endpoint: ar, [bK]: s }, { [bL]: [U, as, S, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, as, S, ac, al, am], rules: [{ endpoint: at, [bK]: s }], [bK]: t }, { [bL]: [U, as, S, ac, al, ap], endpoint: at, [bK]: s }, { [bL]: [U, as, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, as, ai, ac, al, am], rules: [{ endpoint: au, [bK]: s }], [bK]: t }, { [bL]: [U, as, ai, ac, al, ap], endpoint: au, [bK]: s }, { [bL]: [aq, as, ai, V, ad, av, aj], endpoint: { [bQ]: w, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, ai, V, ad, ax, aj], endpoint: { [bQ]: x, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, ai, V, ad, av, al, am], rules: [{ [bL]: bt, endpoint: ay, [bK]: s }, { endpoint: ay, [bK]: s }], [bK]: t }, { [bL]: [aq, as, ai, V, ad, ax, al, am], rules: [{ [bL]: bt, endpoint: az, [bK]: s }, aA], [bK]: t }, { [bL]: [aq, as, ai, V, ad, av, al, ap], endpoint: ay, [bK]: s }, { [bL]: [aq, as, ai, V, ad, ax, al, ap], endpoint: az, [bK]: s }, { [bL]: [aq, as, S, ac, aj], endpoint: { [bQ]: y, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, S, ac, al, am], rules: [{ [bL]: bt, endpoint: aB, [bK]: s }, { endpoint: aB, [bK]: s }], [bK]: t }, { [bL]: [aq, as, S, ac, al, ap], endpoint: aB, [bK]: s }, { [bL]: [aq, as, ai, ac, aj], endpoint: { [bQ]: z, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, ai, ac, al, am], rules: [{ [bL]: bt, endpoint: { [bQ]: z, [bR]: ao, [bW]: af }, [bK]: s }, { endpoint: aC, [bK]: s }], [bK]: t }, { [bL]: [aq, as, ai, ac, al, ap], endpoint: aC, [bK]: s }], [bK]: t }, aD], [bK]: t }], [bK]: t }, { [bL]: [V, ad, { [bM]: g, [bN]: [{ [bM]: h, [bN]: [aw, "scheme"] }, "http"] }, { [bM]: u, [bN]: [Z, b] }, ag, as, aq, ai], rules: [{ [bL]: br, rules: [{ [bL]: bs, rules: [aA], [bK]: t }, aD], [bK]: t }], [bK]: t }, { [bL]: [ag, { [bM]: A, [bN]: bm, [bP]: B }], rules: [{ [bL]: [{ [bM]: h, [bN]: [aE, "resourceId[0]"], [bP]: C }, { [bM]: p, [bN]: [{ [bM]: g, [bN]: [aF, D] }] }], rules: [{ [bL]: [{ [bM]: g, [bN]: [aG, E] }], rules: [{ [bL]: bu, rules: [{ [bL]: bv, rules: [aI, aJ, { [bL]: bz, rules: [aK, { [bL]: bA, rules: [aL, { [bL]: bC, rules: [{ [bL]: br, rules: [{ [bL]: bD, rules: [{ [bL]: bE, rules: [{ [bL]: [{ [bM]: g, [bN]: [aN, D] }], error: "Invalid ARN: Missing account id", [bK]: e }, { [bL]: bF, rules: [{ [bL]: bG, rules: [{ [bL]: bp, endpoint: { [bQ]: H, [bR]: aO, [bW]: af }, [bK]: s }, { [bL]: bH, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: s }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: s }], [bK]: t }, aP], [bK]: t }, aQ], [bK]: t }, aR], [bK]: t }, aS], [bK]: t }], [bK]: t }], [bK]: t }, aT], [bK]: t }, { error: "Invalid ARN: bucket ARN is missing a region", [bK]: e }], [bK]: t }, aU], [bK]: t }, { error: "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`", [bK]: e }], [bK]: t }, { [bL]: bu, rules: [{ [bL]: bv, rules: [{ [bL]: bz, rules: [{ [bL]: bu, rules: [{ [bL]: bz, rules: [aK, { [bL]: bA, rules: [aL, { [bL]: bC, rules: [{ [bL]: br, rules: [{ [bL]: [{ [bM]: g, [bN]: [aM, "{partitionResult#name}"] }], rules: [{ [bL]: bE, rules: [{ [bL]: [{ [bM]: g, [bN]: [aG, v] }], rules: [{ [bL]: bF, rules: [{ [bL]: bG, rules: [{ [bL]: by, error: "Access Points do not support S3 Accelerate", [bK]: e }, { [bL]: [T, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [T, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [as, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [as, aq, V, ad], endpoint: { [bQ]: H, [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [as, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }], [bK]: t }, aP], [bK]: t }, aQ], [bK]: t }, { error: "Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}", [bK]: e }], [bK]: t }, aR], [bK]: t }, aS], [bK]: t }], [bK]: t }], [bK]: t }, aT], [bK]: t }], [bK]: t }], [bK]: t }, { [bL]: [{ [bM]: o, [bN]: [aH, b] }], rules: [{ [bL]: bx, error: "S3 MRAP does not support dual-stack", [bK]: e }, { [bL]: bH, error: "S3 MRAP does not support FIPS", [bK]: e }, { [bL]: by, error: "S3 MRAP does not support S3 Accelerate", [bK]: e }, { [bL]: [{ [bM]: d, [bN]: [{ [bO]: "DisableMultiRegionAccessPoints" }, b] }], error: "Invalid configuration: Multi-Region Access Point ARNs are disabled.", [bK]: e }, { [bL]: [{ [bM]: f, [bN]: bk, [bP]: I }], rules: [{ [bL]: [{ [bM]: g, [bN]: [{ [bM]: h, [bN]: [{ [bO]: I }, i] }, { [bM]: h, [bN]: [aE, "partition"] }] }], rules: [{ endpoint: { [bQ]: "https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}", [bR]: { [bS]: [{ [bT]: b, name: "sigv4a", [bU]: v, signingRegionSet: ["*"] }] }, [bW]: af }, [bK]: s }], [bK]: t }, { error: "Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`", [bK]: e }], [bK]: t }], [bK]: t }, { error: "Invalid Access Point Name", [bK]: e }], [bK]: t }, aU], [bK]: t }, { [bL]: [{ [bM]: g, [bN]: [aG, r] }], rules: [{ [bL]: bx, error: "S3 Outposts does not support Dual-stack", [bK]: e }, { [bL]: bH, error: "S3 Outposts does not support FIPS", [bK]: e }, { [bL]: by, error: "S3 Outposts does not support S3 Accelerate", [bK]: e }, { [bL]: [{ [bM]: c, [bN]: [{ [bM]: h, [bN]: [aE, "resourceId[4]"] }] }], error: "Invalid Arn: Outpost Access Point ARN contains sub resources", [bK]: e }, { [bL]: [{ [bM]: h, [bN]: bw, [bP]: n }], rules: [{ [bL]: bn, rules: [aL, { [bL]: bC, rules: [{ [bL]: br, rules: [{ [bL]: bD, rules: [{ [bL]: bE, rules: [{ [bL]: bF, rules: [{ [bL]: [{ [bM]: h, [bN]: bB, [bP]: J }], rules: [{ [bL]: [{ [bM]: h, [bN]: [aE, "resourceId[3]"], [bP]: G }], rules: [{ [bL]: [{ [bM]: g, [bN]: [{ [bO]: J }, F] }], rules: [{ [bL]: bp, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}", [bR]: aW, [bW]: af }, [bK]: s }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aW, [bW]: af }, [bK]: s }], [bK]: t }, { error: "Expected an outpost type `accesspoint`, found {outpostType}", [bK]: e }], [bK]: t }, { error: "Invalid ARN: expected an access point name", [bK]: e }], [bK]: t }, { error: "Invalid ARN: Expected a 4-component resource", [bK]: e }], [bK]: t }, aQ], [bK]: t }, aR], [bK]: t }, aS], [bK]: t }], [bK]: t }], [bK]: t }, { error: "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`", [bK]: e }], [bK]: t }, { error: "Invalid ARN: The Outpost Id was not set", [bK]: e }], [bK]: t }, { error: "Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})", [bK]: e }], [bK]: t }, { error: "Invalid ARN: No ARN type specified", [bK]: e }], [bK]: t }, { [bL]: [{ [bM]: j, [bN]: [Z, 0, 4, a], [bP]: K }, { [bM]: g, [bN]: [{ [bO]: K }, "arn:"] }, { [bM]: p, [bN]: [{ [bM]: c, [bN]: [aX] }] }], error: "Invalid ARN: `{Bucket}` was not a valid ARN", [bK]: e }, { [bL]: [{ [bM]: d, [bN]: [ah, b] }, aX], error: "Path-style addressing cannot be used with ARN buckets", [bK]: e }, { [bL]: [{ [bM]: "uriEncode", [bN]: bm, [bP]: "uri_encoded_bucket" }], rules: [{ [bL]: br, rules: [{ [bL]: [ai], rules: [{ [bL]: [U, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, ac, T, al, am], rules: [{ endpoint: aY, [bK]: s }], [bK]: t }, { [bL]: [U, ac, T, al, ap], endpoint: aY, [bK]: s }, { [bL]: [aq, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, ac, T, al, am], rules: [{ endpoint: aZ, [bK]: s }], [bK]: t }, { [bL]: [aq, ac, T, al, ap], endpoint: aZ, [bK]: s }, { [bL]: [U, ac, as, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, ac, as, al, am], rules: [{ endpoint: ba, [bK]: s }], [bK]: t }, { [bL]: [U, ac, as, al, ap], endpoint: ba, [bK]: s }, { [bL]: [aq, V, ad, as, aj], endpoint: { [bQ]: L, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, V, ad, as, al, am], rules: [{ [bL]: bt, endpoint: bb, [bK]: s }, { endpoint: bb, [bK]: s }], [bK]: t }, { [bL]: [aq, V, ad, as, al, ap], endpoint: bb, [bK]: s }, { [bL]: [aq, ac, as, aj], endpoint: { [bQ]: M, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, ac, as, al, am], rules: [{ [bL]: bt, endpoint: { [bQ]: M, [bR]: ao, [bW]: af }, [bK]: s }, { endpoint: bc, [bK]: s }], [bK]: t }, { [bL]: [aq, ac, as, al, ap], endpoint: bc, [bK]: s }], [bK]: t }, { error: "Path-style addressing cannot be used with S3 Accelerate", [bK]: e }], [bK]: t }], [bK]: t }], [bK]: t }, { [bL]: [{ [bM]: c, [bN]: [bd] }, { [bM]: d, [bN]: [bd, b] }], rules: [{ [bL]: br, rules: [{ [bL]: bI, rules: [aI, aJ, { [bL]: bp, endpoint: { [bQ]: N, [bR]: be, [bW]: af }, [bK]: s }, { [bL]: bH, endpoint: { [bQ]: "https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: s }, { endpoint: { [bQ]: "https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: s }], [bK]: t }, aD], [bK]: t }], [bK]: t }, { [bL]: [{ [bM]: p, [bN]: bq }], rules: [{ [bL]: br, rules: [{ [bL]: bI, rules: [{ [bL]: [T, U, ac, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [T, U, ac, al, am], rules: [{ endpoint: bf, [bK]: s }], [bK]: t }, { [bL]: [T, U, ac, al, ap], endpoint: bf, [bK]: s }, { [bL]: [T, aq, ac, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [T, aq, ac, al, am], rules: [{ endpoint: bg, [bK]: s }], [bK]: t }, { [bL]: [T, aq, ac, al, ap], endpoint: bg, [bK]: s }, { [bL]: [as, U, ac, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [as, U, ac, al, am], rules: [{ endpoint: bh, [bK]: s }], [bK]: t }, { [bL]: [as, U, ac, al, ap], endpoint: bh, [bK]: s }, { [bL]: [as, aq, V, ad, aj], endpoint: { [bQ]: N, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [as, aq, V, ad, al, am], rules: [{ [bL]: bt, endpoint: bi, [bK]: s }, { endpoint: bi, [bK]: s }], [bK]: t }, { [bL]: [as, aq, V, ad, al, ap], endpoint: bi, [bK]: s }, { [bL]: [as, aq, ac, aj], endpoint: { [bQ]: O, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [as, aq, ac, al, am], rules: [{ [bL]: bt, endpoint: { [bQ]: O, [bR]: ao, [bW]: af }, [bK]: s }, { endpoint: bj, [bK]: s }], [bK]: t }, { [bL]: [as, aq, ac, al, ap], endpoint: bj, [bK]: s }], [bK]: t }, aD], [bK]: t }], [bK]: t }], [bK]: t }, { error: "A region must be set when sending requests to S3.", [bK]: e }] };
7
7
  exports.ruleSet = _data;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicationStatus = exports.Protocol = exports.BucketVersioningStatus = exports.MFADeleteStatus = exports.Payer = exports.ReplicationRuleStatus = exports.SseKmsEncryptedObjectsStatus = exports.ReplicaModificationsStatus = exports.ReplicationRuleFilter = exports.ExistingObjectReplicationStatus = exports.ReplicationTimeStatus = exports.MetricsStatus = exports.DeleteMarkerReplicationStatus = exports.FilterRuleName = exports.Event = exports.MetricsFilter = exports.BucketLogsPermission = exports.ExpirationStatus = exports.TransitionStorageClass = exports.LifecycleRuleFilter = exports.InventoryFrequency = exports.InventoryOptionalField = exports.InventoryIncludedObjectVersions = exports.InventoryFormat = exports.IntelligentTieringAccessTier = exports.IntelligentTieringStatus = exports.StorageClassAnalysisSchemaVersion = exports.AnalyticsS3ExportFileFormat = exports.AnalyticsFilter = exports.ObjectOwnership = exports.BucketLocationConstraint = exports.BucketCannedACL = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.TaggingDirective = exports.StorageClass = exports.ObjectLockMode = exports.ObjectLockLegalHoldStatus = exports.MetadataDirective = exports.ChecksumAlgorithm = exports.ObjectCannedACL = exports.ServerSideEncryption = exports.OwnerOverride = exports.Permission = exports.Type = exports.BucketAccelerateStatus = exports.NoSuchUpload = exports.RequestPayer = exports.RequestCharged = void 0;
4
- exports.PutObjectRequestFilterSensitiveLog = exports.PutObjectOutputFilterSensitiveLog = exports.PutBucketInventoryConfigurationRequestFilterSensitiveLog = exports.PutBucketEncryptionRequestFilterSensitiveLog = exports.ListPartsRequestFilterSensitiveLog = exports.ListBucketInventoryConfigurationsOutputFilterSensitiveLog = exports.HeadObjectRequestFilterSensitiveLog = exports.HeadObjectOutputFilterSensitiveLog = exports.GetObjectTorrentOutputFilterSensitiveLog = exports.GetObjectAttributesRequestFilterSensitiveLog = exports.GetObjectRequestFilterSensitiveLog = exports.GetObjectOutputFilterSensitiveLog = exports.GetBucketInventoryConfigurationOutputFilterSensitiveLog = exports.InventoryConfigurationFilterSensitiveLog = exports.InventoryDestinationFilterSensitiveLog = exports.InventoryS3BucketDestinationFilterSensitiveLog = exports.InventoryEncryptionFilterSensitiveLog = exports.SSEKMSFilterSensitiveLog = exports.GetBucketEncryptionOutputFilterSensitiveLog = exports.ServerSideEncryptionConfigurationFilterSensitiveLog = exports.ServerSideEncryptionRuleFilterSensitiveLog = exports.ServerSideEncryptionByDefaultFilterSensitiveLog = exports.CreateMultipartUploadRequestFilterSensitiveLog = exports.CreateMultipartUploadOutputFilterSensitiveLog = exports.CopyObjectRequestFilterSensitiveLog = exports.CopyObjectOutputFilterSensitiveLog = exports.CompleteMultipartUploadRequestFilterSensitiveLog = exports.CompleteMultipartUploadOutputFilterSensitiveLog = exports.MFADelete = exports.ObjectVersionStorageClass = exports.NoSuchBucket = exports.OptionalObjectAttributes = exports.ObjectStorageClass = exports.EncodingType = exports.ArchiveStatus = exports.NotFound = exports.ObjectLockRetentionMode = exports.ObjectLockEnabled = exports.ObjectAttributes = exports.NoSuchKey = exports.InvalidObjectState = exports.ChecksumMode = void 0;
3
+ exports.Protocol = exports.BucketVersioningStatus = exports.MFADeleteStatus = exports.Payer = exports.ReplicationRuleStatus = exports.SseKmsEncryptedObjectsStatus = exports.ReplicaModificationsStatus = exports.ReplicationRuleFilter = exports.ExistingObjectReplicationStatus = exports.ReplicationTimeStatus = exports.MetricsStatus = exports.DeleteMarkerReplicationStatus = exports.FilterRuleName = exports.Event = exports.MetricsFilter = exports.PartitionDateSource = exports.BucketLogsPermission = exports.ExpirationStatus = exports.TransitionStorageClass = exports.LifecycleRuleFilter = exports.InventoryFrequency = exports.InventoryOptionalField = exports.InventoryIncludedObjectVersions = exports.InventoryFormat = exports.IntelligentTieringAccessTier = exports.IntelligentTieringStatus = exports.StorageClassAnalysisSchemaVersion = exports.AnalyticsS3ExportFileFormat = exports.AnalyticsFilter = exports.ObjectOwnership = exports.BucketLocationConstraint = exports.BucketCannedACL = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.TaggingDirective = exports.StorageClass = exports.ObjectLockMode = exports.ObjectLockLegalHoldStatus = exports.MetadataDirective = exports.ChecksumAlgorithm = exports.ObjectCannedACL = exports.ServerSideEncryption = exports.OwnerOverride = exports.Permission = exports.Type = exports.BucketAccelerateStatus = exports.NoSuchUpload = exports.RequestPayer = exports.RequestCharged = void 0;
4
+ exports.PutObjectRequestFilterSensitiveLog = exports.PutObjectOutputFilterSensitiveLog = exports.PutBucketInventoryConfigurationRequestFilterSensitiveLog = exports.PutBucketEncryptionRequestFilterSensitiveLog = exports.ListPartsRequestFilterSensitiveLog = exports.ListBucketInventoryConfigurationsOutputFilterSensitiveLog = exports.HeadObjectRequestFilterSensitiveLog = exports.HeadObjectOutputFilterSensitiveLog = exports.GetObjectTorrentOutputFilterSensitiveLog = exports.GetObjectAttributesRequestFilterSensitiveLog = exports.GetObjectRequestFilterSensitiveLog = exports.GetObjectOutputFilterSensitiveLog = exports.GetBucketInventoryConfigurationOutputFilterSensitiveLog = exports.InventoryConfigurationFilterSensitiveLog = exports.InventoryDestinationFilterSensitiveLog = exports.InventoryS3BucketDestinationFilterSensitiveLog = exports.InventoryEncryptionFilterSensitiveLog = exports.SSEKMSFilterSensitiveLog = exports.GetBucketEncryptionOutputFilterSensitiveLog = exports.ServerSideEncryptionConfigurationFilterSensitiveLog = exports.ServerSideEncryptionRuleFilterSensitiveLog = exports.ServerSideEncryptionByDefaultFilterSensitiveLog = exports.CreateMultipartUploadRequestFilterSensitiveLog = exports.CreateMultipartUploadOutputFilterSensitiveLog = exports.CopyObjectRequestFilterSensitiveLog = exports.CopyObjectOutputFilterSensitiveLog = exports.CompleteMultipartUploadRequestFilterSensitiveLog = exports.CompleteMultipartUploadOutputFilterSensitiveLog = exports.MFADelete = exports.ObjectVersionStorageClass = exports.NoSuchBucket = exports.OptionalObjectAttributes = exports.ObjectStorageClass = exports.EncodingType = exports.ArchiveStatus = exports.NotFound = exports.ObjectLockRetentionMode = exports.ObjectLockEnabled = exports.ObjectAttributes = exports.NoSuchKey = exports.InvalidObjectState = exports.ChecksumMode = exports.ReplicationStatus = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const S3ServiceException_1 = require("./S3ServiceException");
7
7
  exports.RequestCharged = {
@@ -259,6 +259,10 @@ exports.BucketLogsPermission = {
259
259
  READ: "READ",
260
260
  WRITE: "WRITE",
261
261
  };
262
+ exports.PartitionDateSource = {
263
+ DeliveryTime: "DeliveryTime",
264
+ EventTime: "EventTime",
265
+ };
262
266
  var MetricsFilter;
263
267
  (function (MetricsFilter) {
264
268
  MetricsFilter.visit = (value, visitor) => {
@@ -7119,6 +7119,10 @@ const se_LoggingEnabled = (input, context) => {
7119
7119
  const node = xml_builder_1.XmlNode.of("TargetPrefix", input.TargetPrefix).withName("TargetPrefix");
7120
7120
  bodyNode.addChildNode(node);
7121
7121
  }
7122
+ if (input.TargetObjectKeyFormat != null) {
7123
+ const node = se_TargetObjectKeyFormat(input.TargetObjectKeyFormat, context).withName("TargetObjectKeyFormat");
7124
+ bodyNode.addChildNode(node);
7125
+ }
7122
7126
  return bodyNode;
7123
7127
  };
7124
7128
  const se_MetadataEntry = (input, context) => {
@@ -7406,6 +7410,14 @@ const se_ParquetInput = (input, context) => {
7406
7410
  const bodyNode = new xml_builder_1.XmlNode("ParquetInput");
7407
7411
  return bodyNode;
7408
7412
  };
7413
+ const se_PartitionedPrefix = (input, context) => {
7414
+ const bodyNode = new xml_builder_1.XmlNode("PartitionedPrefix");
7415
+ if (input.PartitionDateSource != null) {
7416
+ const node = xml_builder_1.XmlNode.of("PartitionDateSource", input.PartitionDateSource).withName("PartitionDateSource");
7417
+ bodyNode.addChildNode(node);
7418
+ }
7419
+ return bodyNode;
7420
+ };
7409
7421
  const se_PublicAccessBlockConfiguration = (input, context) => {
7410
7422
  const bodyNode = new xml_builder_1.XmlNode("PublicAccessBlockConfiguration");
7411
7423
  if (input.BlockPublicAcls != null) {
@@ -7821,6 +7833,10 @@ const se_ServerSideEncryptionRules = (input, context) => {
7821
7833
  return node.withName("member");
7822
7834
  });
7823
7835
  };
7836
+ const se_SimplePrefix = (input, context) => {
7837
+ const bodyNode = new xml_builder_1.XmlNode("SimplePrefix");
7838
+ return bodyNode;
7839
+ };
7824
7840
  const se_SourceSelectionCriteria = (input, context) => {
7825
7841
  const bodyNode = new xml_builder_1.XmlNode("SourceSelectionCriteria");
7826
7842
  if (input.SseKmsEncryptedObjects != null) {
@@ -7928,6 +7944,18 @@ const se_TargetGrants = (input, context) => {
7928
7944
  return node.withName("Grant");
7929
7945
  });
7930
7946
  };
7947
+ const se_TargetObjectKeyFormat = (input, context) => {
7948
+ const bodyNode = new xml_builder_1.XmlNode("TargetObjectKeyFormat");
7949
+ if (input.SimplePrefix != null) {
7950
+ const node = se_SimplePrefix(input.SimplePrefix, context).withName("SimplePrefix");
7951
+ bodyNode.addChildNode(node);
7952
+ }
7953
+ if (input.PartitionedPrefix != null) {
7954
+ const node = se_PartitionedPrefix(input.PartitionedPrefix, context).withName("PartitionedPrefix");
7955
+ bodyNode.addChildNode(node);
7956
+ }
7957
+ return bodyNode;
7958
+ };
7931
7959
  const se_Tiering = (input, context) => {
7932
7960
  const bodyNode = new xml_builder_1.XmlNode("Tiering");
7933
7961
  if (input.Days != null) {
@@ -8856,6 +8884,9 @@ const de_LoggingEnabled = (output, context) => {
8856
8884
  if (output["TargetPrefix"] !== undefined) {
8857
8885
  contents.TargetPrefix = (0, smithy_client_1.expectString)(output["TargetPrefix"]);
8858
8886
  }
8887
+ if (output["TargetObjectKeyFormat"] !== undefined) {
8888
+ contents.TargetObjectKeyFormat = de_TargetObjectKeyFormat(output["TargetObjectKeyFormat"], context);
8889
+ }
8859
8890
  return contents;
8860
8891
  };
8861
8892
  const de_Metrics = (output, context) => {
@@ -9195,6 +9226,13 @@ const de_Part = (output, context) => {
9195
9226
  }
9196
9227
  return contents;
9197
9228
  };
9229
+ const de_PartitionedPrefix = (output, context) => {
9230
+ const contents = {};
9231
+ if (output["PartitionDateSource"] !== undefined) {
9232
+ contents.PartitionDateSource = (0, smithy_client_1.expectString)(output["PartitionDateSource"]);
9233
+ }
9234
+ return contents;
9235
+ };
9198
9236
  const de_Parts = (output, context) => {
9199
9237
  return (output || [])
9200
9238
  .filter((e) => e != null)
@@ -9482,6 +9520,10 @@ const de_ServerSideEncryptionRules = (output, context) => {
9482
9520
  return de_ServerSideEncryptionRule(entry, context);
9483
9521
  });
9484
9522
  };
9523
+ const de_SimplePrefix = (output, context) => {
9524
+ const contents = {};
9525
+ return contents;
9526
+ };
9485
9527
  const de_SourceSelectionCriteria = (output, context) => {
9486
9528
  const contents = {};
9487
9529
  if (output["SseKmsEncryptedObjects"] !== undefined) {
@@ -9574,6 +9616,16 @@ const de_TargetGrants = (output, context) => {
9574
9616
  return de_TargetGrant(entry, context);
9575
9617
  });
9576
9618
  };
9619
+ const de_TargetObjectKeyFormat = (output, context) => {
9620
+ const contents = {};
9621
+ if (output["SimplePrefix"] !== undefined) {
9622
+ contents.SimplePrefix = de_SimplePrefix(output["SimplePrefix"], context);
9623
+ }
9624
+ if (output["PartitionedPrefix"] !== undefined) {
9625
+ contents.PartitionedPrefix = de_PartitionedPrefix(output["PartitionedPrefix"], context);
9626
+ }
9627
+ return contents;
9628
+ };
9577
9629
  const de_Tiering = (output, context) => {
9578
9630
  const contents = {};
9579
9631
  if (output["Days"] !== undefined) {
@@ -1,4 +1,4 @@
1
1
  const bJ = "required", bK = "type", bL = "conditions", bM = "fn", bN = "argv", bO = "ref", bP = "assign", bQ = "url", bR = "properties", bS = "authSchemes", bT = "disableDoubleEncoding", bU = "signingName", bV = "signingRegion", bW = "headers";
2
- const a = false, b = true, c = "isSet", d = "tree", e = "booleanEquals", f = "error", g = "aws.partition", h = "stringEquals", i = "getAttr", j = "name", k = "substring", l = "hardwareType", m = "regionPrefix", n = "bucketAliasSuffix", o = "outpostId", p = "isValidHostLabel", q = "not", r = "parseURL", s = "s3-outposts", t = "endpoint", u = "aws.isVirtualHostableS3Bucket", v = "s3", w = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", x = "{url#scheme}://{Bucket}.{url#authority}{url#path}", y = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", z = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", A = "aws.parseArn", B = "bucketArn", C = "arnType", D = "", E = "s3-object-lambda", F = "accesspoint", G = "accessPointName", H = "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", I = "mrapPartition", J = "outpostType", K = "arnPrefix", L = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", M = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", N = "{url#scheme}://{url#authority}{url#path}", O = "https://s3.{partitionResult#dnsSuffix}", P = { [bJ]: false, [bK]: "String" }, Q = { [bJ]: true, "default": false, [bK]: "Boolean" }, R = { [bJ]: false, [bK]: "Boolean" }, S = { [bM]: e, [bN]: [{ [bO]: "Accelerate" }, true] }, T = { [bM]: e, [bN]: [{ [bO]: "UseFIPS" }, true] }, U = { [bM]: e, [bN]: [{ [bO]: "UseDualStack" }, true] }, V = { [bM]: c, [bN]: [{ [bO]: "Endpoint" }] }, W = { [bM]: g, [bN]: [{ [bO]: "Region" }], [bP]: "partitionResult" }, X = { [bM]: h, [bN]: [{ [bM]: i, [bN]: [{ [bO]: "partitionResult" }, j] }, "aws-cn"] }, Y = { [bM]: c, [bN]: [{ [bO]: "Bucket" }] }, Z = { [bO]: "Bucket" }, aa = { [bO]: l }, ab = { [bL]: [{ [bM]: q, [bN]: [V] }], [f]: "Expected a endpoint to be specified but no endpoint was found", [bK]: f }, ac = { [bM]: q, [bN]: [V] }, ad = { [bM]: r, [bN]: [{ [bO]: "Endpoint" }], [bP]: "url" }, ae = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: s, [bV]: "{Region}" }] }, af = {}, ag = { [bM]: e, [bN]: [{ [bO]: "ForcePathStyle" }, false] }, ah = { [bO]: "ForcePathStyle" }, ai = { [bM]: e, [bN]: [{ [bO]: "Accelerate" }, false] }, aj = { [bM]: h, [bN]: [{ [bO]: "Region" }, "aws-global"] }, ak = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "us-east-1" }] }, al = { [bM]: q, [bN]: [aj] }, am = { [bM]: e, [bN]: [{ [bO]: "UseGlobalEndpoint" }, true] }, an = { [bQ]: "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, [bW]: {} }, ao = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, ap = { [bM]: e, [bN]: [{ [bO]: "UseGlobalEndpoint" }, false] }, aq = { [bM]: e, [bN]: [{ [bO]: "UseDualStack" }, false] }, ar = { [bQ]: "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, as = { [bM]: e, [bN]: [{ [bO]: "UseFIPS" }, false] }, at = { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, au = { [bQ]: "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, av = { [bM]: e, [bN]: [{ [bM]: i, [bN]: [{ [bO]: "url" }, "isIp"] }, true] }, aw = { [bO]: "url" }, ax = { [bM]: e, [bN]: [{ [bM]: i, [bN]: [aw, "isIp"] }, false] }, ay = { [bQ]: w, [bR]: ao, [bW]: {} }, az = { [bQ]: x, [bR]: ao, [bW]: {} }, aA = { [t]: az, [bK]: t }, aB = { [bQ]: y, [bR]: ao, [bW]: {} }, aC = { [bQ]: "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, aD = { [f]: "Invalid region: region was not a valid DNS name.", [bK]: f }, aE = { [bO]: B }, aF = { [bO]: C }, aG = { [bM]: i, [bN]: [aE, "service"] }, aH = { [bO]: G }, aI = { [bL]: [U], [f]: "S3 Object Lambda does not support Dual-stack", [bK]: f }, aJ = { [bL]: [S], [f]: "S3 Object Lambda does not support S3 Accelerate", [bK]: f }, aK = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "DisableAccessPoints" }] }, { [bM]: e, [bN]: [{ [bO]: "DisableAccessPoints" }, true] }], [f]: "Access points are not supported for this operation", [bK]: f }, aL = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "UseArnRegion" }] }, { [bM]: e, [bN]: [{ [bO]: "UseArnRegion" }, false] }, { [bM]: q, [bN]: [{ [bM]: h, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }, "{Region}"] }] }], [f]: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bK]: f }, aM = { [bM]: i, [bN]: [{ [bO]: "bucketPartition" }, j] }, aN = { [bM]: i, [bN]: [aE, "accountId"] }, aO = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: E, [bV]: "{bucketArn#region}" }] }, aP = { [f]: "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", [bK]: f }, aQ = { [f]: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bK]: f }, aR = { [f]: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bK]: f }, aS = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", [bK]: f }, aT = { [f]: "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", [bK]: f }, aU = { [f]: "Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided", [bK]: f }, aV = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: v, [bV]: "{bucketArn#region}" }] }, aW = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: s, [bV]: "{bucketArn#region}" }] }, aX = { [bM]: A, [bN]: [Z] }, aY = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, aZ = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, ba = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bb = { [bQ]: L, [bR]: ao, [bW]: {} }, bc = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bd = { [bO]: "UseObjectLambdaEndpoint" }, be = { [bS]: [{ [bT]: true, [j]: "sigv4", [bU]: E, [bV]: "{Region}" }] }, bf = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bg = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bh = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bi = { [bQ]: N, [bR]: ao, [bW]: {} }, bj = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bk = [{ [bO]: "Region" }], bl = [{ [bO]: "Endpoint" }], bm = [Z], bn = [{ [bM]: p, [bN]: [{ [bO]: o }, false] }], bo = [{ [bM]: h, [bN]: [{ [bO]: m }, "beta"] }], bp = [V, ad], bq = [Y], br = [W], bs = [{ [bM]: p, [bN]: [{ [bO]: "Region" }, false] }], bt = [{ [bM]: h, [bN]: [{ [bO]: "Region" }, "us-east-1"] }], bu = [{ [bM]: h, [bN]: [aF, F] }], bv = [{ [bM]: i, [bN]: [aE, "resourceId[1]"], [bP]: G }, { [bM]: q, [bN]: [{ [bM]: h, [bN]: [aH, D] }] }], bw = [aE, "resourceId[1]"], bx = [U], by = [S], bz = [{ [bM]: q, [bN]: [{ [bM]: h, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }, D] }] }], bA = [{ [bM]: q, [bN]: [{ [bM]: c, [bN]: [{ [bM]: i, [bN]: [aE, "resourceId[2]"] }] }] }], bB = [aE, "resourceId[2]"], bC = [{ [bM]: g, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }], [bP]: "bucketPartition" }], bD = [{ [bM]: h, [bN]: [aM, { [bM]: i, [bN]: [{ [bO]: "partitionResult" }, j] }] }], bE = [{ [bM]: p, [bN]: [{ [bM]: i, [bN]: [aE, "region"] }, true] }], bF = [{ [bM]: p, [bN]: [aN, false] }], bG = [{ [bM]: p, [bN]: [aH, false] }], bH = [T], bI = [{ [bM]: p, [bN]: [{ [bO]: "Region" }, true] }];
3
- const _data = { version: "1.0", parameters: { Bucket: P, Region: P, UseFIPS: Q, UseDualStack: Q, Endpoint: P, ForcePathStyle: Q, Accelerate: Q, UseGlobalEndpoint: Q, UseObjectLambdaEndpoint: R, DisableAccessPoints: R, DisableMultiRegionAccessPoints: Q, UseArnRegion: R }, rules: [{ [bL]: [{ [bM]: c, [bN]: bk }], [bK]: d, rules: [{ [bL]: [S, T], error: "Accelerate cannot be used with FIPS", [bK]: f }, { [bL]: [U, V], error: "Cannot set dual-stack in combination with a custom endpoint.", [bK]: f }, { [bL]: [V, T], error: "A custom endpoint cannot be combined with FIPS", [bK]: f }, { [bL]: [V, S], error: "A custom endpoint cannot be combined with S3 Accelerate", [bK]: f }, { [bL]: [T, W, X], error: "Partition does not support FIPS", [bK]: f }, { [bL]: [Y, { [bM]: k, [bN]: [Z, 49, 50, b], [bP]: l }, { [bM]: k, [bN]: [Z, 8, 12, b], [bP]: m }, { [bM]: k, [bN]: [Z, 0, 7, b], [bP]: n }, { [bM]: k, [bN]: [Z, 32, 49, b], [bP]: o }, { [bM]: g, [bN]: bk, [bP]: "regionPartition" }, { [bM]: h, [bN]: [{ [bO]: n }, "--op-s3"] }], [bK]: d, rules: [{ [bL]: bn, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aa, "e"] }], [bK]: d, rules: [{ [bL]: bo, [bK]: d, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.ec2.{url#authority}", [bR]: ae, [bW]: af }, [bK]: t }] }, { endpoint: { [bQ]: "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: t }] }, { [bL]: [{ [bM]: h, [bN]: [aa, "o"] }], [bK]: d, rules: [{ [bL]: bo, [bK]: d, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.{url#authority}", [bR]: ae, [bW]: af }, [bK]: t }] }, { endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: t }] }, { error: "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", [bK]: f }] }, { error: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", [bK]: f }] }, { [bL]: bq, [bK]: d, rules: [{ [bL]: [V, { [bM]: q, [bN]: [{ [bM]: c, [bN]: [{ [bM]: r, [bN]: bl }] }] }], error: "Custom endpoint `{Endpoint}` was not a valid URI", [bK]: f }, { [bL]: [ag, { [bM]: u, [bN]: [Z, a] }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bs, [bK]: d, rules: [{ [bL]: [S, X], error: "S3 Accelerate cannot be used in this region", [bK]: f }, { [bL]: [U, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, T, ai, ac, al, am], [bK]: d, rules: [{ endpoint: an, [bK]: t }] }, { [bL]: [U, T, ai, ac, al, ap], endpoint: an, [bK]: t }, { [bL]: [aq, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, T, ai, ac, al, am], [bK]: d, rules: [{ endpoint: ar, [bK]: t }] }, { [bL]: [aq, T, ai, ac, al, ap], endpoint: ar, [bK]: t }, { [bL]: [U, as, S, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, as, S, ac, al, am], [bK]: d, rules: [{ endpoint: at, [bK]: t }] }, { [bL]: [U, as, S, ac, al, ap], endpoint: at, [bK]: t }, { [bL]: [U, as, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, as, ai, ac, al, am], [bK]: d, rules: [{ endpoint: au, [bK]: t }] }, { [bL]: [U, as, ai, ac, al, ap], endpoint: au, [bK]: t }, { [bL]: [aq, as, ai, V, ad, av, aj], endpoint: { [bQ]: w, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, ai, V, ad, ax, aj], endpoint: { [bQ]: x, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, ai, V, ad, av, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: ay, [bK]: t }, { endpoint: ay, [bK]: t }] }, { [bL]: [aq, as, ai, V, ad, ax, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: az, [bK]: t }, aA] }, { [bL]: [aq, as, ai, V, ad, av, al, ap], endpoint: ay, [bK]: t }, { [bL]: [aq, as, ai, V, ad, ax, al, ap], endpoint: az, [bK]: t }, { [bL]: [aq, as, S, ac, aj], endpoint: { [bQ]: y, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, S, ac, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: aB, [bK]: t }, { endpoint: aB, [bK]: t }] }, { [bL]: [aq, as, S, ac, al, ap], endpoint: aB, [bK]: t }, { [bL]: [aq, as, ai, ac, aj], endpoint: { [bQ]: z, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, as, ai, ac, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: { [bQ]: z, [bR]: ao, [bW]: af }, [bK]: t }, { endpoint: aC, [bK]: t }] }, { [bL]: [aq, as, ai, ac, al, ap], endpoint: aC, [bK]: t }] }, aD] }] }, { [bL]: [V, ad, { [bM]: h, [bN]: [{ [bM]: i, [bN]: [aw, "scheme"] }, "http"] }, { [bM]: u, [bN]: [Z, b] }, ag, as, aq, ai], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bs, [bK]: d, rules: [aA] }, aD] }] }, { [bL]: [ag, { [bM]: A, [bN]: bm, [bP]: B }], [bK]: d, rules: [{ [bL]: [{ [bM]: i, [bN]: [aE, "resourceId[0]"], [bP]: C }, { [bM]: q, [bN]: [{ [bM]: h, [bN]: [aF, D] }] }], [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aG, E] }], [bK]: d, rules: [{ [bL]: bu, [bK]: d, rules: [{ [bL]: bv, [bK]: d, rules: [aI, aJ, { [bL]: bz, [bK]: d, rules: [aK, { [bL]: bA, [bK]: d, rules: [aL, { [bL]: bC, [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bD, [bK]: d, rules: [{ [bL]: bE, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aN, D] }], error: "Invalid ARN: Missing account id", [bK]: f }, { [bL]: bF, [bK]: d, rules: [{ [bL]: bG, [bK]: d, rules: [{ [bL]: bp, endpoint: { [bQ]: H, [bR]: aO, [bW]: af }, [bK]: t }, { [bL]: bH, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: t }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: t }] }, aP] }, aQ] }, aR] }, aS] }] }] }, aT] }, { error: "Invalid ARN: bucket ARN is missing a region", [bK]: f }] }, aU] }, { error: "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`", [bK]: f }] }, { [bL]: bu, [bK]: d, rules: [{ [bL]: bv, [bK]: d, rules: [{ [bL]: bz, [bK]: d, rules: [{ [bL]: bu, [bK]: d, rules: [{ [bL]: bz, [bK]: d, rules: [aK, { [bL]: bA, [bK]: d, rules: [aL, { [bL]: bC, [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aM, "{partitionResult#name}"] }], [bK]: d, rules: [{ [bL]: bE, [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [aG, v] }], [bK]: d, rules: [{ [bL]: bF, [bK]: d, rules: [{ [bL]: bG, [bK]: d, rules: [{ [bL]: by, error: "Access Points do not support S3 Accelerate", [bK]: f }, { [bL]: [T, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [T, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [as, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [as, aq, V, ad], endpoint: { [bQ]: H, [bR]: aV, [bW]: af }, [bK]: t }, { [bL]: [as, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: t }] }, aP] }, aQ] }, { error: "Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}", [bK]: f }] }, aR] }, aS] }] }] }, aT] }] }] }, { [bL]: [{ [bM]: p, [bN]: [aH, b] }], [bK]: d, rules: [{ [bL]: bx, error: "S3 MRAP does not support dual-stack", [bK]: f }, { [bL]: bH, error: "S3 MRAP does not support FIPS", [bK]: f }, { [bL]: by, error: "S3 MRAP does not support S3 Accelerate", [bK]: f }, { [bL]: [{ [bM]: e, [bN]: [{ [bO]: "DisableMultiRegionAccessPoints" }, b] }], error: "Invalid configuration: Multi-Region Access Point ARNs are disabled.", [bK]: f }, { [bL]: [{ [bM]: g, [bN]: bk, [bP]: I }], [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [{ [bM]: i, [bN]: [{ [bO]: I }, j] }, { [bM]: i, [bN]: [aE, "partition"] }] }], [bK]: d, rules: [{ endpoint: { [bQ]: "https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}", [bR]: { [bS]: [{ [bT]: b, name: "sigv4a", [bU]: v, signingRegionSet: ["*"] }] }, [bW]: af }, [bK]: t }] }, { error: "Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`", [bK]: f }] }] }, { error: "Invalid Access Point Name", [bK]: f }] }, aU] }, { [bL]: [{ [bM]: h, [bN]: [aG, s] }], [bK]: d, rules: [{ [bL]: bx, error: "S3 Outposts does not support Dual-stack", [bK]: f }, { [bL]: bH, error: "S3 Outposts does not support FIPS", [bK]: f }, { [bL]: by, error: "S3 Outposts does not support S3 Accelerate", [bK]: f }, { [bL]: [{ [bM]: c, [bN]: [{ [bM]: i, [bN]: [aE, "resourceId[4]"] }] }], error: "Invalid Arn: Outpost Access Point ARN contains sub resources", [bK]: f }, { [bL]: [{ [bM]: i, [bN]: bw, [bP]: o }], [bK]: d, rules: [{ [bL]: bn, [bK]: d, rules: [aL, { [bL]: bC, [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bD, [bK]: d, rules: [{ [bL]: bE, [bK]: d, rules: [{ [bL]: bF, [bK]: d, rules: [{ [bL]: [{ [bM]: i, [bN]: bB, [bP]: J }], [bK]: d, rules: [{ [bL]: [{ [bM]: i, [bN]: [aE, "resourceId[3]"], [bP]: G }], [bK]: d, rules: [{ [bL]: [{ [bM]: h, [bN]: [{ [bO]: J }, F] }], [bK]: d, rules: [{ [bL]: bp, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}", [bR]: aW, [bW]: af }, [bK]: t }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aW, [bW]: af }, [bK]: t }] }, { error: "Expected an outpost type `accesspoint`, found {outpostType}", [bK]: f }] }, { error: "Invalid ARN: expected an access point name", [bK]: f }] }, { error: "Invalid ARN: Expected a 4-component resource", [bK]: f }] }, aQ] }, aR] }, aS] }] }] }, { error: "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`", [bK]: f }] }, { error: "Invalid ARN: The Outpost Id was not set", [bK]: f }] }, { error: "Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})", [bK]: f }] }, { error: "Invalid ARN: No ARN type specified", [bK]: f }] }, { [bL]: [{ [bM]: k, [bN]: [Z, 0, 4, a], [bP]: K }, { [bM]: h, [bN]: [{ [bO]: K }, "arn:"] }, { [bM]: q, [bN]: [{ [bM]: c, [bN]: [aX] }] }], error: "Invalid ARN: `{Bucket}` was not a valid ARN", [bK]: f }, { [bL]: [{ [bM]: e, [bN]: [ah, b] }, aX], error: "Path-style addressing cannot be used with ARN buckets", [bK]: f }, { [bL]: [{ [bM]: "uriEncode", [bN]: bm, [bP]: "uri_encoded_bucket" }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: [ai], [bK]: d, rules: [{ [bL]: [U, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, ac, T, al, am], [bK]: d, rules: [{ endpoint: aY, [bK]: t }] }, { [bL]: [U, ac, T, al, ap], endpoint: aY, [bK]: t }, { [bL]: [aq, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, ac, T, al, am], [bK]: d, rules: [{ endpoint: aZ, [bK]: t }] }, { [bL]: [aq, ac, T, al, ap], endpoint: aZ, [bK]: t }, { [bL]: [U, ac, as, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [U, ac, as, al, am], [bK]: d, rules: [{ endpoint: ba, [bK]: t }] }, { [bL]: [U, ac, as, al, ap], endpoint: ba, [bK]: t }, { [bL]: [aq, V, ad, as, aj], endpoint: { [bQ]: L, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, V, ad, as, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: bb, [bK]: t }, { endpoint: bb, [bK]: t }] }, { [bL]: [aq, V, ad, as, al, ap], endpoint: bb, [bK]: t }, { [bL]: [aq, ac, as, aj], endpoint: { [bQ]: M, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [aq, ac, as, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: { [bQ]: M, [bR]: ao, [bW]: af }, [bK]: t }, { endpoint: bc, [bK]: t }] }, { [bL]: [aq, ac, as, al, ap], endpoint: bc, [bK]: t }] }, { error: "Path-style addressing cannot be used with S3 Accelerate", [bK]: f }] }] }] }, { [bL]: [{ [bM]: c, [bN]: [bd] }, { [bM]: e, [bN]: [bd, b] }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bI, [bK]: d, rules: [aI, aJ, { [bL]: bp, endpoint: { [bQ]: N, [bR]: be, [bW]: af }, [bK]: t }, { [bL]: bH, endpoint: { [bQ]: "https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: t }, { endpoint: { [bQ]: "https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: t }] }, aD] }] }, { [bL]: [{ [bM]: q, [bN]: bq }], [bK]: d, rules: [{ [bL]: br, [bK]: d, rules: [{ [bL]: bI, [bK]: d, rules: [{ [bL]: [T, U, ac, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [T, U, ac, al, am], [bK]: d, rules: [{ endpoint: bf, [bK]: t }] }, { [bL]: [T, U, ac, al, ap], endpoint: bf, [bK]: t }, { [bL]: [T, aq, ac, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [T, aq, ac, al, am], [bK]: d, rules: [{ endpoint: bg, [bK]: t }] }, { [bL]: [T, aq, ac, al, ap], endpoint: bg, [bK]: t }, { [bL]: [as, U, ac, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [as, U, ac, al, am], [bK]: d, rules: [{ endpoint: bh, [bK]: t }] }, { [bL]: [as, U, ac, al, ap], endpoint: bh, [bK]: t }, { [bL]: [as, aq, V, ad, aj], endpoint: { [bQ]: N, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [as, aq, V, ad, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: bi, [bK]: t }, { endpoint: bi, [bK]: t }] }, { [bL]: [as, aq, V, ad, al, ap], endpoint: bi, [bK]: t }, { [bL]: [as, aq, ac, aj], endpoint: { [bQ]: O, [bR]: ak, [bW]: af }, [bK]: t }, { [bL]: [as, aq, ac, al, am], [bK]: d, rules: [{ [bL]: bt, endpoint: { [bQ]: O, [bR]: ao, [bW]: af }, [bK]: t }, { endpoint: bj, [bK]: t }] }, { [bL]: [as, aq, ac, al, ap], endpoint: bj, [bK]: t }] }, aD] }] }] }, { error: "A region must be set when sending requests to S3.", [bK]: f }] };
2
+ const a = false, b = true, c = "isSet", d = "booleanEquals", e = "error", f = "aws.partition", g = "stringEquals", h = "getAttr", i = "name", j = "substring", k = "hardwareType", l = "regionPrefix", m = "bucketAliasSuffix", n = "outpostId", o = "isValidHostLabel", p = "not", q = "parseURL", r = "s3-outposts", s = "endpoint", t = "tree", u = "aws.isVirtualHostableS3Bucket", v = "s3", w = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", x = "{url#scheme}://{Bucket}.{url#authority}{url#path}", y = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", z = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", A = "aws.parseArn", B = "bucketArn", C = "arnType", D = "", E = "s3-object-lambda", F = "accesspoint", G = "accessPointName", H = "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", I = "mrapPartition", J = "outpostType", K = "arnPrefix", L = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", M = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", N = "{url#scheme}://{url#authority}{url#path}", O = "https://s3.{partitionResult#dnsSuffix}", P = { [bJ]: false, [bK]: "String" }, Q = { [bJ]: true, "default": false, [bK]: "Boolean" }, R = { [bJ]: false, [bK]: "Boolean" }, S = { [bM]: d, [bN]: [{ [bO]: "Accelerate" }, true] }, T = { [bM]: d, [bN]: [{ [bO]: "UseFIPS" }, true] }, U = { [bM]: d, [bN]: [{ [bO]: "UseDualStack" }, true] }, V = { [bM]: c, [bN]: [{ [bO]: "Endpoint" }] }, W = { [bM]: f, [bN]: [{ [bO]: "Region" }], [bP]: "partitionResult" }, X = { [bM]: g, [bN]: [{ [bM]: h, [bN]: [{ [bO]: "partitionResult" }, i] }, "aws-cn"] }, Y = { [bM]: c, [bN]: [{ [bO]: "Bucket" }] }, Z = { [bO]: "Bucket" }, aa = { [bO]: k }, ab = { [bL]: [{ [bM]: p, [bN]: [V] }], [e]: "Expected a endpoint to be specified but no endpoint was found", [bK]: e }, ac = { [bM]: p, [bN]: [V] }, ad = { [bM]: q, [bN]: [{ [bO]: "Endpoint" }], [bP]: "url" }, ae = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: r, [bV]: "{Region}" }] }, af = {}, ag = { [bM]: d, [bN]: [{ [bO]: "ForcePathStyle" }, false] }, ah = { [bO]: "ForcePathStyle" }, ai = { [bM]: d, [bN]: [{ [bO]: "Accelerate" }, false] }, aj = { [bM]: g, [bN]: [{ [bO]: "Region" }, "aws-global"] }, ak = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "us-east-1" }] }, al = { [bM]: p, [bN]: [aj] }, am = { [bM]: d, [bN]: [{ [bO]: "UseGlobalEndpoint" }, true] }, an = { [bQ]: "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, [bW]: {} }, ao = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "{Region}" }] }, ap = { [bM]: d, [bN]: [{ [bO]: "UseGlobalEndpoint" }, false] }, aq = { [bM]: d, [bN]: [{ [bO]: "UseDualStack" }, false] }, ar = { [bQ]: "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, as = { [bM]: d, [bN]: [{ [bO]: "UseFIPS" }, false] }, at = { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, au = { [bQ]: "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, av = { [bM]: d, [bN]: [{ [bM]: h, [bN]: [{ [bO]: "url" }, "isIp"] }, true] }, aw = { [bO]: "url" }, ax = { [bM]: d, [bN]: [{ [bM]: h, [bN]: [aw, "isIp"] }, false] }, ay = { [bQ]: w, [bR]: ao, [bW]: {} }, az = { [bQ]: x, [bR]: ao, [bW]: {} }, aA = { [s]: az, [bK]: s }, aB = { [bQ]: y, [bR]: ao, [bW]: {} }, aC = { [bQ]: "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, aD = { [e]: "Invalid region: region was not a valid DNS name.", [bK]: e }, aE = { [bO]: B }, aF = { [bO]: C }, aG = { [bM]: h, [bN]: [aE, "service"] }, aH = { [bO]: G }, aI = { [bL]: [U], [e]: "S3 Object Lambda does not support Dual-stack", [bK]: e }, aJ = { [bL]: [S], [e]: "S3 Object Lambda does not support S3 Accelerate", [bK]: e }, aK = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "DisableAccessPoints" }] }, { [bM]: d, [bN]: [{ [bO]: "DisableAccessPoints" }, true] }], [e]: "Access points are not supported for this operation", [bK]: e }, aL = { [bL]: [{ [bM]: c, [bN]: [{ [bO]: "UseArnRegion" }] }, { [bM]: d, [bN]: [{ [bO]: "UseArnRegion" }, false] }, { [bM]: p, [bN]: [{ [bM]: g, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }, "{Region}"] }] }], [e]: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bK]: e }, aM = { [bM]: h, [bN]: [{ [bO]: "bucketPartition" }, i] }, aN = { [bM]: h, [bN]: [aE, "accountId"] }, aO = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: E, [bV]: "{bucketArn#region}" }] }, aP = { [e]: "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", [bK]: e }, aQ = { [e]: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bK]: e }, aR = { [e]: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bK]: e }, aS = { [e]: "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", [bK]: e }, aT = { [e]: "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", [bK]: e }, aU = { [e]: "Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided", [bK]: e }, aV = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: v, [bV]: "{bucketArn#region}" }] }, aW = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: r, [bV]: "{bucketArn#region}" }] }, aX = { [bM]: A, [bN]: [Z] }, aY = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, aZ = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, ba = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bb = { [bQ]: L, [bR]: ao, [bW]: {} }, bc = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ao, [bW]: {} }, bd = { [bO]: "UseObjectLambdaEndpoint" }, be = { [bS]: [{ [bT]: true, [i]: "sigv4", [bU]: E, [bV]: "{Region}" }] }, bf = { [bQ]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bg = { [bQ]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bh = { [bQ]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bi = { [bQ]: N, [bR]: ao, [bW]: {} }, bj = { [bQ]: "https://s3.{Region}.{partitionResult#dnsSuffix}", [bR]: ao, [bW]: {} }, bk = [{ [bO]: "Region" }], bl = [{ [bO]: "Endpoint" }], bm = [Z], bn = [{ [bM]: o, [bN]: [{ [bO]: n }, false] }], bo = [{ [bM]: g, [bN]: [{ [bO]: l }, "beta"] }], bp = [V, ad], bq = [Y], br = [W], bs = [{ [bM]: o, [bN]: [{ [bO]: "Region" }, false] }], bt = [{ [bM]: g, [bN]: [{ [bO]: "Region" }, "us-east-1"] }], bu = [{ [bM]: g, [bN]: [aF, F] }], bv = [{ [bM]: h, [bN]: [aE, "resourceId[1]"], [bP]: G }, { [bM]: p, [bN]: [{ [bM]: g, [bN]: [aH, D] }] }], bw = [aE, "resourceId[1]"], bx = [U], by = [S], bz = [{ [bM]: p, [bN]: [{ [bM]: g, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }, D] }] }], bA = [{ [bM]: p, [bN]: [{ [bM]: c, [bN]: [{ [bM]: h, [bN]: [aE, "resourceId[2]"] }] }] }], bB = [aE, "resourceId[2]"], bC = [{ [bM]: f, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }], [bP]: "bucketPartition" }], bD = [{ [bM]: g, [bN]: [aM, { [bM]: h, [bN]: [{ [bO]: "partitionResult" }, i] }] }], bE = [{ [bM]: o, [bN]: [{ [bM]: h, [bN]: [aE, "region"] }, true] }], bF = [{ [bM]: o, [bN]: [aN, false] }], bG = [{ [bM]: o, [bN]: [aH, false] }], bH = [T], bI = [{ [bM]: o, [bN]: [{ [bO]: "Region" }, true] }];
3
+ const _data = { version: "1.0", parameters: { Bucket: P, Region: P, UseFIPS: Q, UseDualStack: Q, Endpoint: P, ForcePathStyle: Q, Accelerate: Q, UseGlobalEndpoint: Q, UseObjectLambdaEndpoint: R, DisableAccessPoints: R, DisableMultiRegionAccessPoints: Q, UseArnRegion: R }, rules: [{ [bL]: [{ [bM]: c, [bN]: bk }], rules: [{ [bL]: [S, T], error: "Accelerate cannot be used with FIPS", [bK]: e }, { [bL]: [U, V], error: "Cannot set dual-stack in combination with a custom endpoint.", [bK]: e }, { [bL]: [V, T], error: "A custom endpoint cannot be combined with FIPS", [bK]: e }, { [bL]: [V, S], error: "A custom endpoint cannot be combined with S3 Accelerate", [bK]: e }, { [bL]: [T, W, X], error: "Partition does not support FIPS", [bK]: e }, { [bL]: [Y, { [bM]: j, [bN]: [Z, 49, 50, b], [bP]: k }, { [bM]: j, [bN]: [Z, 8, 12, b], [bP]: l }, { [bM]: j, [bN]: [Z, 0, 7, b], [bP]: m }, { [bM]: j, [bN]: [Z, 32, 49, b], [bP]: n }, { [bM]: f, [bN]: bk, [bP]: "regionPartition" }, { [bM]: g, [bN]: [{ [bO]: m }, "--op-s3"] }], rules: [{ [bL]: bn, rules: [{ [bL]: [{ [bM]: g, [bN]: [aa, "e"] }], rules: [{ [bL]: bo, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.ec2.{url#authority}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { endpoint: { [bQ]: "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { [bL]: [{ [bM]: g, [bN]: [aa, "o"] }], rules: [{ [bL]: bo, rules: [ab, { [bL]: bp, endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.{url#authority}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { endpoint: { [bQ]: "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [bR]: ae, [bW]: af }, [bK]: s }], [bK]: t }, { error: "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", [bK]: e }], [bK]: t }, { error: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", [bK]: e }], [bK]: t }, { [bL]: bq, rules: [{ [bL]: [V, { [bM]: p, [bN]: [{ [bM]: c, [bN]: [{ [bM]: q, [bN]: bl }] }] }], error: "Custom endpoint `{Endpoint}` was not a valid URI", [bK]: e }, { [bL]: [ag, { [bM]: u, [bN]: [Z, a] }], rules: [{ [bL]: br, rules: [{ [bL]: bs, rules: [{ [bL]: [S, X], error: "S3 Accelerate cannot be used in this region", [bK]: e }, { [bL]: [U, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, T, ai, ac, al, am], rules: [{ endpoint: an, [bK]: s }], [bK]: t }, { [bL]: [U, T, ai, ac, al, ap], endpoint: an, [bK]: s }, { [bL]: [aq, T, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, T, ai, ac, al, am], rules: [{ endpoint: ar, [bK]: s }], [bK]: t }, { [bL]: [aq, T, ai, ac, al, ap], endpoint: ar, [bK]: s }, { [bL]: [U, as, S, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, as, S, ac, al, am], rules: [{ endpoint: at, [bK]: s }], [bK]: t }, { [bL]: [U, as, S, ac, al, ap], endpoint: at, [bK]: s }, { [bL]: [U, as, ai, ac, aj], endpoint: { [bQ]: "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, as, ai, ac, al, am], rules: [{ endpoint: au, [bK]: s }], [bK]: t }, { [bL]: [U, as, ai, ac, al, ap], endpoint: au, [bK]: s }, { [bL]: [aq, as, ai, V, ad, av, aj], endpoint: { [bQ]: w, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, ai, V, ad, ax, aj], endpoint: { [bQ]: x, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, ai, V, ad, av, al, am], rules: [{ [bL]: bt, endpoint: ay, [bK]: s }, { endpoint: ay, [bK]: s }], [bK]: t }, { [bL]: [aq, as, ai, V, ad, ax, al, am], rules: [{ [bL]: bt, endpoint: az, [bK]: s }, aA], [bK]: t }, { [bL]: [aq, as, ai, V, ad, av, al, ap], endpoint: ay, [bK]: s }, { [bL]: [aq, as, ai, V, ad, ax, al, ap], endpoint: az, [bK]: s }, { [bL]: [aq, as, S, ac, aj], endpoint: { [bQ]: y, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, S, ac, al, am], rules: [{ [bL]: bt, endpoint: aB, [bK]: s }, { endpoint: aB, [bK]: s }], [bK]: t }, { [bL]: [aq, as, S, ac, al, ap], endpoint: aB, [bK]: s }, { [bL]: [aq, as, ai, ac, aj], endpoint: { [bQ]: z, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, as, ai, ac, al, am], rules: [{ [bL]: bt, endpoint: { [bQ]: z, [bR]: ao, [bW]: af }, [bK]: s }, { endpoint: aC, [bK]: s }], [bK]: t }, { [bL]: [aq, as, ai, ac, al, ap], endpoint: aC, [bK]: s }], [bK]: t }, aD], [bK]: t }], [bK]: t }, { [bL]: [V, ad, { [bM]: g, [bN]: [{ [bM]: h, [bN]: [aw, "scheme"] }, "http"] }, { [bM]: u, [bN]: [Z, b] }, ag, as, aq, ai], rules: [{ [bL]: br, rules: [{ [bL]: bs, rules: [aA], [bK]: t }, aD], [bK]: t }], [bK]: t }, { [bL]: [ag, { [bM]: A, [bN]: bm, [bP]: B }], rules: [{ [bL]: [{ [bM]: h, [bN]: [aE, "resourceId[0]"], [bP]: C }, { [bM]: p, [bN]: [{ [bM]: g, [bN]: [aF, D] }] }], rules: [{ [bL]: [{ [bM]: g, [bN]: [aG, E] }], rules: [{ [bL]: bu, rules: [{ [bL]: bv, rules: [aI, aJ, { [bL]: bz, rules: [aK, { [bL]: bA, rules: [aL, { [bL]: bC, rules: [{ [bL]: br, rules: [{ [bL]: bD, rules: [{ [bL]: bE, rules: [{ [bL]: [{ [bM]: g, [bN]: [aN, D] }], error: "Invalid ARN: Missing account id", [bK]: e }, { [bL]: bF, rules: [{ [bL]: bG, rules: [{ [bL]: bp, endpoint: { [bQ]: H, [bR]: aO, [bW]: af }, [bK]: s }, { [bL]: bH, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: s }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aO, [bW]: af }, [bK]: s }], [bK]: t }, aP], [bK]: t }, aQ], [bK]: t }, aR], [bK]: t }, aS], [bK]: t }], [bK]: t }], [bK]: t }, aT], [bK]: t }, { error: "Invalid ARN: bucket ARN is missing a region", [bK]: e }], [bK]: t }, aU], [bK]: t }, { error: "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`", [bK]: e }], [bK]: t }, { [bL]: bu, rules: [{ [bL]: bv, rules: [{ [bL]: bz, rules: [{ [bL]: bu, rules: [{ [bL]: bz, rules: [aK, { [bL]: bA, rules: [aL, { [bL]: bC, rules: [{ [bL]: br, rules: [{ [bL]: [{ [bM]: g, [bN]: [aM, "{partitionResult#name}"] }], rules: [{ [bL]: bE, rules: [{ [bL]: [{ [bM]: g, [bN]: [aG, v] }], rules: [{ [bL]: bF, rules: [{ [bL]: bG, rules: [{ [bL]: by, error: "Access Points do not support S3 Accelerate", [bK]: e }, { [bL]: [T, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [T, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [as, U], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [as, aq, V, ad], endpoint: { [bQ]: H, [bR]: aV, [bW]: af }, [bK]: s }, { [bL]: [as, aq], endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aV, [bW]: af }, [bK]: s }], [bK]: t }, aP], [bK]: t }, aQ], [bK]: t }, { error: "Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}", [bK]: e }], [bK]: t }, aR], [bK]: t }, aS], [bK]: t }], [bK]: t }], [bK]: t }, aT], [bK]: t }], [bK]: t }], [bK]: t }, { [bL]: [{ [bM]: o, [bN]: [aH, b] }], rules: [{ [bL]: bx, error: "S3 MRAP does not support dual-stack", [bK]: e }, { [bL]: bH, error: "S3 MRAP does not support FIPS", [bK]: e }, { [bL]: by, error: "S3 MRAP does not support S3 Accelerate", [bK]: e }, { [bL]: [{ [bM]: d, [bN]: [{ [bO]: "DisableMultiRegionAccessPoints" }, b] }], error: "Invalid configuration: Multi-Region Access Point ARNs are disabled.", [bK]: e }, { [bL]: [{ [bM]: f, [bN]: bk, [bP]: I }], rules: [{ [bL]: [{ [bM]: g, [bN]: [{ [bM]: h, [bN]: [{ [bO]: I }, i] }, { [bM]: h, [bN]: [aE, "partition"] }] }], rules: [{ endpoint: { [bQ]: "https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}", [bR]: { [bS]: [{ [bT]: b, name: "sigv4a", [bU]: v, signingRegionSet: ["*"] }] }, [bW]: af }, [bK]: s }], [bK]: t }, { error: "Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`", [bK]: e }], [bK]: t }], [bK]: t }, { error: "Invalid Access Point Name", [bK]: e }], [bK]: t }, aU], [bK]: t }, { [bL]: [{ [bM]: g, [bN]: [aG, r] }], rules: [{ [bL]: bx, error: "S3 Outposts does not support Dual-stack", [bK]: e }, { [bL]: bH, error: "S3 Outposts does not support FIPS", [bK]: e }, { [bL]: by, error: "S3 Outposts does not support S3 Accelerate", [bK]: e }, { [bL]: [{ [bM]: c, [bN]: [{ [bM]: h, [bN]: [aE, "resourceId[4]"] }] }], error: "Invalid Arn: Outpost Access Point ARN contains sub resources", [bK]: e }, { [bL]: [{ [bM]: h, [bN]: bw, [bP]: n }], rules: [{ [bL]: bn, rules: [aL, { [bL]: bC, rules: [{ [bL]: br, rules: [{ [bL]: bD, rules: [{ [bL]: bE, rules: [{ [bL]: bF, rules: [{ [bL]: [{ [bM]: h, [bN]: bB, [bP]: J }], rules: [{ [bL]: [{ [bM]: h, [bN]: [aE, "resourceId[3]"], [bP]: G }], rules: [{ [bL]: [{ [bM]: g, [bN]: [{ [bO]: J }, F] }], rules: [{ [bL]: bp, endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}", [bR]: aW, [bW]: af }, [bK]: s }, { endpoint: { [bQ]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}", [bR]: aW, [bW]: af }, [bK]: s }], [bK]: t }, { error: "Expected an outpost type `accesspoint`, found {outpostType}", [bK]: e }], [bK]: t }, { error: "Invalid ARN: expected an access point name", [bK]: e }], [bK]: t }, { error: "Invalid ARN: Expected a 4-component resource", [bK]: e }], [bK]: t }, aQ], [bK]: t }, aR], [bK]: t }, aS], [bK]: t }], [bK]: t }], [bK]: t }, { error: "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`", [bK]: e }], [bK]: t }, { error: "Invalid ARN: The Outpost Id was not set", [bK]: e }], [bK]: t }, { error: "Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})", [bK]: e }], [bK]: t }, { error: "Invalid ARN: No ARN type specified", [bK]: e }], [bK]: t }, { [bL]: [{ [bM]: j, [bN]: [Z, 0, 4, a], [bP]: K }, { [bM]: g, [bN]: [{ [bO]: K }, "arn:"] }, { [bM]: p, [bN]: [{ [bM]: c, [bN]: [aX] }] }], error: "Invalid ARN: `{Bucket}` was not a valid ARN", [bK]: e }, { [bL]: [{ [bM]: d, [bN]: [ah, b] }, aX], error: "Path-style addressing cannot be used with ARN buckets", [bK]: e }, { [bL]: [{ [bM]: "uriEncode", [bN]: bm, [bP]: "uri_encoded_bucket" }], rules: [{ [bL]: br, rules: [{ [bL]: [ai], rules: [{ [bL]: [U, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, ac, T, al, am], rules: [{ endpoint: aY, [bK]: s }], [bK]: t }, { [bL]: [U, ac, T, al, ap], endpoint: aY, [bK]: s }, { [bL]: [aq, ac, T, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, ac, T, al, am], rules: [{ endpoint: aZ, [bK]: s }], [bK]: t }, { [bL]: [aq, ac, T, al, ap], endpoint: aZ, [bK]: s }, { [bL]: [U, ac, as, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [U, ac, as, al, am], rules: [{ endpoint: ba, [bK]: s }], [bK]: t }, { [bL]: [U, ac, as, al, ap], endpoint: ba, [bK]: s }, { [bL]: [aq, V, ad, as, aj], endpoint: { [bQ]: L, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, V, ad, as, al, am], rules: [{ [bL]: bt, endpoint: bb, [bK]: s }, { endpoint: bb, [bK]: s }], [bK]: t }, { [bL]: [aq, V, ad, as, al, ap], endpoint: bb, [bK]: s }, { [bL]: [aq, ac, as, aj], endpoint: { [bQ]: M, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [aq, ac, as, al, am], rules: [{ [bL]: bt, endpoint: { [bQ]: M, [bR]: ao, [bW]: af }, [bK]: s }, { endpoint: bc, [bK]: s }], [bK]: t }, { [bL]: [aq, ac, as, al, ap], endpoint: bc, [bK]: s }], [bK]: t }, { error: "Path-style addressing cannot be used with S3 Accelerate", [bK]: e }], [bK]: t }], [bK]: t }], [bK]: t }, { [bL]: [{ [bM]: c, [bN]: [bd] }, { [bM]: d, [bN]: [bd, b] }], rules: [{ [bL]: br, rules: [{ [bL]: bI, rules: [aI, aJ, { [bL]: bp, endpoint: { [bQ]: N, [bR]: be, [bW]: af }, [bK]: s }, { [bL]: bH, endpoint: { [bQ]: "https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: s }, { endpoint: { [bQ]: "https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}", [bR]: be, [bW]: af }, [bK]: s }], [bK]: t }, aD], [bK]: t }], [bK]: t }, { [bL]: [{ [bM]: p, [bN]: bq }], rules: [{ [bL]: br, rules: [{ [bL]: bI, rules: [{ [bL]: [T, U, ac, aj], endpoint: { [bQ]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [T, U, ac, al, am], rules: [{ endpoint: bf, [bK]: s }], [bK]: t }, { [bL]: [T, U, ac, al, ap], endpoint: bf, [bK]: s }, { [bL]: [T, aq, ac, aj], endpoint: { [bQ]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [T, aq, ac, al, am], rules: [{ endpoint: bg, [bK]: s }], [bK]: t }, { [bL]: [T, aq, ac, al, ap], endpoint: bg, [bK]: s }, { [bL]: [as, U, ac, aj], endpoint: { [bQ]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [as, U, ac, al, am], rules: [{ endpoint: bh, [bK]: s }], [bK]: t }, { [bL]: [as, U, ac, al, ap], endpoint: bh, [bK]: s }, { [bL]: [as, aq, V, ad, aj], endpoint: { [bQ]: N, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [as, aq, V, ad, al, am], rules: [{ [bL]: bt, endpoint: bi, [bK]: s }, { endpoint: bi, [bK]: s }], [bK]: t }, { [bL]: [as, aq, V, ad, al, ap], endpoint: bi, [bK]: s }, { [bL]: [as, aq, ac, aj], endpoint: { [bQ]: O, [bR]: ak, [bW]: af }, [bK]: s }, { [bL]: [as, aq, ac, al, am], rules: [{ [bL]: bt, endpoint: { [bQ]: O, [bR]: ao, [bW]: af }, [bK]: s }, { endpoint: bj, [bK]: s }], [bK]: t }, { [bL]: [as, aq, ac, al, ap], endpoint: bj, [bK]: s }], [bK]: t }, aD], [bK]: t }], [bK]: t }], [bK]: t }, { error: "A region must be set when sending requests to S3.", [bK]: e }] };
4
4
  export const ruleSet = _data;
@@ -251,6 +251,10 @@ export const BucketLogsPermission = {
251
251
  READ: "READ",
252
252
  WRITE: "WRITE",
253
253
  };
254
+ export const PartitionDateSource = {
255
+ DeliveryTime: "DeliveryTime",
256
+ EventTime: "EventTime",
257
+ };
254
258
  export var MetricsFilter;
255
259
  (function (MetricsFilter) {
256
260
  MetricsFilter.visit = (value, visitor) => {
@@ -6927,6 +6927,10 @@ const se_LoggingEnabled = (input, context) => {
6927
6927
  const node = __XmlNode.of("TargetPrefix", input.TargetPrefix).withName("TargetPrefix");
6928
6928
  bodyNode.addChildNode(node);
6929
6929
  }
6930
+ if (input.TargetObjectKeyFormat != null) {
6931
+ const node = se_TargetObjectKeyFormat(input.TargetObjectKeyFormat, context).withName("TargetObjectKeyFormat");
6932
+ bodyNode.addChildNode(node);
6933
+ }
6930
6934
  return bodyNode;
6931
6935
  };
6932
6936
  const se_MetadataEntry = (input, context) => {
@@ -7214,6 +7218,14 @@ const se_ParquetInput = (input, context) => {
7214
7218
  const bodyNode = new __XmlNode("ParquetInput");
7215
7219
  return bodyNode;
7216
7220
  };
7221
+ const se_PartitionedPrefix = (input, context) => {
7222
+ const bodyNode = new __XmlNode("PartitionedPrefix");
7223
+ if (input.PartitionDateSource != null) {
7224
+ const node = __XmlNode.of("PartitionDateSource", input.PartitionDateSource).withName("PartitionDateSource");
7225
+ bodyNode.addChildNode(node);
7226
+ }
7227
+ return bodyNode;
7228
+ };
7217
7229
  const se_PublicAccessBlockConfiguration = (input, context) => {
7218
7230
  const bodyNode = new __XmlNode("PublicAccessBlockConfiguration");
7219
7231
  if (input.BlockPublicAcls != null) {
@@ -7629,6 +7641,10 @@ const se_ServerSideEncryptionRules = (input, context) => {
7629
7641
  return node.withName("member");
7630
7642
  });
7631
7643
  };
7644
+ const se_SimplePrefix = (input, context) => {
7645
+ const bodyNode = new __XmlNode("SimplePrefix");
7646
+ return bodyNode;
7647
+ };
7632
7648
  const se_SourceSelectionCriteria = (input, context) => {
7633
7649
  const bodyNode = new __XmlNode("SourceSelectionCriteria");
7634
7650
  if (input.SseKmsEncryptedObjects != null) {
@@ -7736,6 +7752,18 @@ const se_TargetGrants = (input, context) => {
7736
7752
  return node.withName("Grant");
7737
7753
  });
7738
7754
  };
7755
+ const se_TargetObjectKeyFormat = (input, context) => {
7756
+ const bodyNode = new __XmlNode("TargetObjectKeyFormat");
7757
+ if (input.SimplePrefix != null) {
7758
+ const node = se_SimplePrefix(input.SimplePrefix, context).withName("SimplePrefix");
7759
+ bodyNode.addChildNode(node);
7760
+ }
7761
+ if (input.PartitionedPrefix != null) {
7762
+ const node = se_PartitionedPrefix(input.PartitionedPrefix, context).withName("PartitionedPrefix");
7763
+ bodyNode.addChildNode(node);
7764
+ }
7765
+ return bodyNode;
7766
+ };
7739
7767
  const se_Tiering = (input, context) => {
7740
7768
  const bodyNode = new __XmlNode("Tiering");
7741
7769
  if (input.Days != null) {
@@ -8664,6 +8692,9 @@ const de_LoggingEnabled = (output, context) => {
8664
8692
  if (output["TargetPrefix"] !== undefined) {
8665
8693
  contents.TargetPrefix = __expectString(output["TargetPrefix"]);
8666
8694
  }
8695
+ if (output["TargetObjectKeyFormat"] !== undefined) {
8696
+ contents.TargetObjectKeyFormat = de_TargetObjectKeyFormat(output["TargetObjectKeyFormat"], context);
8697
+ }
8667
8698
  return contents;
8668
8699
  };
8669
8700
  const de_Metrics = (output, context) => {
@@ -9003,6 +9034,13 @@ const de_Part = (output, context) => {
9003
9034
  }
9004
9035
  return contents;
9005
9036
  };
9037
+ const de_PartitionedPrefix = (output, context) => {
9038
+ const contents = {};
9039
+ if (output["PartitionDateSource"] !== undefined) {
9040
+ contents.PartitionDateSource = __expectString(output["PartitionDateSource"]);
9041
+ }
9042
+ return contents;
9043
+ };
9006
9044
  const de_Parts = (output, context) => {
9007
9045
  return (output || [])
9008
9046
  .filter((e) => e != null)
@@ -9290,6 +9328,10 @@ const de_ServerSideEncryptionRules = (output, context) => {
9290
9328
  return de_ServerSideEncryptionRule(entry, context);
9291
9329
  });
9292
9330
  };
9331
+ const de_SimplePrefix = (output, context) => {
9332
+ const contents = {};
9333
+ return contents;
9334
+ };
9293
9335
  const de_SourceSelectionCriteria = (output, context) => {
9294
9336
  const contents = {};
9295
9337
  if (output["SseKmsEncryptedObjects"] !== undefined) {
@@ -9382,6 +9424,16 @@ const de_TargetGrants = (output, context) => {
9382
9424
  return de_TargetGrant(entry, context);
9383
9425
  });
9384
9426
  };
9427
+ const de_TargetObjectKeyFormat = (output, context) => {
9428
+ const contents = {};
9429
+ if (output["SimplePrefix"] !== undefined) {
9430
+ contents.SimplePrefix = de_SimplePrefix(output["SimplePrefix"], context);
9431
+ }
9432
+ if (output["PartitionedPrefix"] !== undefined) {
9433
+ contents.PartitionedPrefix = de_PartitionedPrefix(output["PartitionedPrefix"], context);
9434
+ }
9435
+ return contents;
9436
+ };
9385
9437
  const de_Tiering = (output, context) => {
9386
9438
  const contents = {};
9387
9439
  if (output["Days"] !== undefined) {
@@ -181,39 +181,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
181
181
  * @throws {@link S3ServiceException}
182
182
  * <p>Base exception class for all service exceptions from S3 service.</p>
183
183
  *
184
- * @example To create a bucket
184
+ * @example To create a bucket in a specific region
185
185
  * ```javascript
186
- * // The following example creates a bucket.
186
+ * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
187
187
  * const input = {
188
- * "Bucket": "examplebucket"
188
+ * "Bucket": "examplebucket",
189
+ * "CreateBucketConfiguration": {
190
+ * "LocationConstraint": "eu-west-1"
191
+ * }
189
192
  * };
190
193
  * const command = new CreateBucketCommand(input);
191
194
  * const response = await client.send(command);
192
195
  * /* response ==
193
196
  * {
194
- * "Location": "/examplebucket"
197
+ * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
195
198
  * }
196
199
  * *\/
197
- * // example id: to-create-a-bucket--1472851826060
200
+ * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
198
201
  * ```
199
202
  *
200
- * @example To create a bucket in a specific region
203
+ * @example To create a bucket
201
204
  * ```javascript
202
- * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
205
+ * // The following example creates a bucket.
203
206
  * const input = {
204
- * "Bucket": "examplebucket",
205
- * "CreateBucketConfiguration": {
206
- * "LocationConstraint": "eu-west-1"
207
- * }
207
+ * "Bucket": "examplebucket"
208
208
  * };
209
209
  * const command = new CreateBucketCommand(input);
210
210
  * const response = await client.send(command);
211
211
  * /* response ==
212
212
  * {
213
- * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
213
+ * "Location": "/examplebucket"
214
214
  * }
215
215
  * *\/
216
- * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
216
+ * // example id: to-create-a-bucket--1472851826060
217
217
  * ```
218
218
  *
219
219
  */
@@ -72,39 +72,39 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
72
72
  * @throws {@link S3ServiceException}
73
73
  * <p>Base exception class for all service exceptions from S3 service.</p>
74
74
  *
75
- * @example To remove tag set from an object version
75
+ * @example To remove tag set from an object
76
76
  * ```javascript
77
- * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
77
+ * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
78
78
  * const input = {
79
79
  * "Bucket": "examplebucket",
80
- * "Key": "HappyFace.jpg",
81
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
80
+ * "Key": "HappyFace.jpg"
82
81
  * };
83
82
  * const command = new DeleteObjectTaggingCommand(input);
84
83
  * const response = await client.send(command);
85
84
  * /* response ==
86
85
  * {
87
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
86
+ * "VersionId": "null"
88
87
  * }
89
88
  * *\/
90
- * // example id: to-remove-tag-set-from-an-object-version-1483145285913
89
+ * // example id: to-remove-tag-set-from-an-object-1483145342862
91
90
  * ```
92
91
  *
93
- * @example To remove tag set from an object
92
+ * @example To remove tag set from an object version
94
93
  * ```javascript
95
- * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
94
+ * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
96
95
  * const input = {
97
96
  * "Bucket": "examplebucket",
98
- * "Key": "HappyFace.jpg"
97
+ * "Key": "HappyFace.jpg",
98
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
99
99
  * };
100
100
  * const command = new DeleteObjectTaggingCommand(input);
101
101
  * const response = await client.send(command);
102
102
  * /* response ==
103
103
  * {
104
- * "VersionId": "null"
104
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
105
105
  * }
106
106
  * *\/
107
- * // example id: to-remove-tag-set-from-an-object-1483145342862
107
+ * // example id: to-remove-tag-set-from-an-object-version-1483145285913
108
108
  * ```
109
109
  *
110
110
  */
@@ -66,6 +66,12 @@ export interface GetBucketLoggingCommandOutput extends GetBucketLoggingOutput, _
66
66
  * // },
67
67
  * // ],
68
68
  * // TargetPrefix: "STRING_VALUE", // required
69
+ * // TargetObjectKeyFormat: { // TargetObjectKeyFormat
70
+ * // SimplePrefix: {},
71
+ * // PartitionedPrefix: { // PartitionedPrefix
72
+ * // PartitionDateSource: "EventTime" || "DeliveryTime",
73
+ * // },
74
+ * // },
69
75
  * // },
70
76
  * // };
71
77
  *