@aws-sdk/client-s3-control 3.840.0 → 3.842.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.
- package/dist-cjs/endpoint/endpointResolver.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +3 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
- package/dist-es/commands/TagResourceCommand.js +1 -0
- package/dist-es/commands/UntagResourceCommand.js +1 -0
- package/dist-es/endpoint/endpointResolver.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +31 -7
- package/dist-types/commands/TagResourceCommand.d.ts +29 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +29 -5
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1 -4
- package/dist-types/models/models_1.d.ts +3 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const ba = "required", bb = "type", bc = "conditions", bd = "fn", be = "argv", bf = "ref", bg = "assign", bh = "url", bi = "properties", bj = "authSchemes", bk = "disableDoubleEncoding", bl = "name", bm = "signingName", bn = "signingRegion", bo = "headers", bp = "x-amz-account-id", bq = "x-amz-outpost-id";
|
|
5
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "aws.parseArn", r = "resourceArn", s = "service", t = "s3express", u = "arnPartition", v = "{url#scheme}://{url#authority}", w = "substring", x = "accessPointSuffix", y = "s3expressAvailabilityZoneId", z = "s3expressAvailabilityZoneDelim", A = "accessPointArn", B = "resourceId[0]", C = "arnType", D = "resourceId[1]", E = "outpostId", F = "{accessPointArn#accountId}", G = "resourceId[2]", H = "outpostType", I = "resourceId[3]", J = "bucketArn", K = "{bucketArn#accountId}", L = { [ba]: false, [bb]: "String" }, M = { [ba]: true, "default": false, [bb]: "Boolean" }, N = { [ba]: false, [bb]: "Boolean" }, O = { [bf]: "Region" }, P = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, true] }, Q = { [bd]: e, [be]: [O], [bg]: "partitionResult" }, R = { [bd]: g, [be]: [{ [bf]: "partitionResult" }, "name"] }, S = { [bf]: "OutpostId" }, T = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, { [bd]: i, [be]: [{ [bd]: c, [be]: [{ [bf]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [bb]: h }, U = { [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, V = { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, W = { [bd]: c, [be]: [{ [bf]: "AccountId" }] }, X = { [bf]: "AccountId" }, Y = { [bc]: [W, { [bd]: i, [be]: [{ [bd]: j, [be]: [X, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }], [h]: k, [bb]: h }, aa = { [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, ab = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }, ac = { [bd]: "parseURL", [be]: [{ [bf]: "Endpoint" }], [bg]: "url" }, ad = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: n }] }, ae = {}, af = { [h]: "Invalid region: region was not a valid DNS name.", [bb]: h }, ag = { [bf]: r }, ah = { [bd]: g, [be]: [ag, "region"] }, ai = { [bd]: c, [be]: [{ [bf]: "UseArnRegion" }] }, aj = { [bd]: d, [be]: [{ [bf]: "UseArnRegion" }, false] }, ak = { [bc]: [ab], [h]: "S3Express does not support Dual-stack.", [bb]: h }, al = { [bc]: [aa, ac], [o]: { [bh]: v, [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, am = { [bc]: [P], [o]: { [bh]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, an = { [o]: { [bh]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, ao = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [bb]: h }, ap = { [bd]: c, [be]: [{ [bf]: "AccessPointName" }] }, aq = { [bf]: "AccessPointName" }, ar = { [bd]: f, [be]: [{ [bf]: z }, "--"] }, as = { [bf]: "UseS3ExpressControlEndpoint" }, at = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: "s3", [bn]: n }] }, au = { [bf]: A }, av = { [bd]: i, [be]: [{ [bd]: f, [be]: [{ [bf]: C }, ""] }] }, aw = { [bd]: g, [be]: [au, "region"] }, ax = { [bd]: g, [be]: [au, "accountId"] }, ay = { [bf]: H }, az = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{accessPointArn#region}" }] }, aA = { [bp]: [F], [bq]: ["{outpostId}"] }, aB = { [h]: "Invalid ARN: Expected a 4-component resource", [bb]: h }, aC = { [h]: "Invalid ARN: missing account ID", [bb]: h }, aD = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [bb]: h }, aE = { [h]: "Invalid ARN: The Outpost Id was not set", [bb]: h }, aF = { [h]: "Invalid ARN: No ARN type specified", [bb]: h }, aG = { [bf]: J }, aH = { [bd]: g, [be]: [aG, "region"] }, aI = { [bd]: g, [be]: [aG, "accountId"] }, aJ = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{bucketArn#region}" }] }, aK = { [bp]: [K], [bq]: ["{outpostId}"] }, aL = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, false] }, aM = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, false] }, aN = [O], aO = [Q], aP = [{ [bd]: j, [be]: [O, true] }], aQ = [aa, ac], aR = [P, ab], aS = [P], aT = [ab], aU = [{ [bf]: "ResourceArn" }], aV = [{ [bd]: f, [be]: [{ [bd]: g, [be]: [{ [bf]: u }, "name"] }, R] }], aW = [aq], aX = [am, an], aY = [{ [bd]: j, [be]: [{ [bf]: E }, false] }], aZ = [{ [bf]: "Bucket" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: L, UseFIPS: M, UseDualStack: M, Endpoint: L, AccountId: L, RequiresAccountId: N, OutpostId: L, Bucket: L, AccessPointName: L, UseArnRegion: N, ResourceArn: L, UseS3ExpressControlEndpoint: N }, rules: [{ [bc]: [{ [bd]: c, [be]: aN }], rules: [{ [bc]: [P, Q, { [bd]: f, [be]: [R, "aws-cn"] }], error: "Partition does not support FIPS", [bb]: h }, { [bc]: [{ [bd]: c, [be]: [S] }], rules: [{ [bc]: aO, rules: [T, Y, { [bc]: [{ [bd]: i, [be]: [{ [bd]: j, [be]: [S, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z, { [bc]: aP, rules: [{ [bc]: aQ, endpoint: { [bh]: l, [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aU }, { [bd]: q, [be]: aU, [bg]: r }, { [bd]: f, [be]: [{ [bd]: g, [be]: [ag, s] }, t] }], rules: [{ [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [ah], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [ah, n] }] }], error: "Invalid configuration: region from ARN `{resourceArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, Z, ak, al, am, an], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: w, [be]: [aq, 0, 7, b], [bg]: x }, { [bd]: f, [be]: [{ [bf]: x }, "--xa-s3"] }], rules: [{ [bc]: aO, rules: [Z, ak, al, { [bc]: [{ [bd]: w, [be]: [aq, 7, 15, b], [bg]: y }, { [bd]: w, [be]: [aq, 15, 17, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 16, b], [bg]: y }, { [bd]: w, [be]: [aq, 16, 18, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 20, b], [bg]: y }, { [bd]: w, [be]: [aq, 20, 22, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 21, b], [bg]: y }, { [bd]: w, [be]: [aq, 21, 23, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 27, b], [bg]: y }, { [bd]: w, [be]: [aq, 27, 29, b], [bg]: z }, ar], rules: aX, [bb]: p }, { error: "Unrecognized S3Express Access Point name format.", [bb]: h }], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: [as] }, { [bd]: d, [be]: [as, b] }], rules: [{ [bc]: aO, rules: [Z, ak, al, am, an], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: f, [be]: [O, "snow"] }, aa, ac], rules: [{ [bc]: aO, rules: [{ [bc]: aT, error: "S3 Snow does not support DualStack", [bb]: h }, { [bc]: aS, error: "S3 Snow does not support FIPS", [bb]: h }, { endpoint: { [bh]: v, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: q, [be]: aW, [bg]: A }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [au, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aw, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [aw], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aw, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [ax, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [ax, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, F] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [au, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, I], [bg]: "accessPointName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "accesspoint"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: az, [bo]: aA }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }], [bb]: p }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected an access point name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aZ }, { [bd]: q, [be]: aZ, [bg]: J }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [aG, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aH, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: [{ [bd]: e, [be]: [aH], [bg]: u }], rules: [{ [bc]: aO, rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aH, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [aI, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [aI, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, K] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [aG, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, I], [bg]: "bucketName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "bucket"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: aJ, [bo]: aK }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }], [bb]: p }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected a bucket name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: aO, rules: [{ [bc]: aP, rules: [T, Y, { [bc]: aQ, rules: [{ [bc]: aT, error: k, [bb]: h }, { [bc]: [U, V, W], endpoint: { [bh]: "{url#scheme}://{AccountId}.{url#authority}{url#path}", [bi]: at, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: l, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, { [bc]: [P, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL], endpoint: { [bh]: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab], endpoint: { [bh]: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL], endpoint: { [bh]: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { error: "Region must be set", [bb]: h }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -9456,6 +9456,7 @@ var import_middleware_sdk_s3_control76 = require("@aws-sdk/middleware-sdk-s3-con
|
|
|
9456
9456
|
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
9457
9457
|
...commonParams,
|
|
9458
9458
|
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
9459
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
9459
9460
|
AccountId: { type: "contextParams", name: "AccountId" }
|
|
9460
9461
|
}).m(function(Command, cs, config, o) {
|
|
9461
9462
|
return [
|
|
@@ -9837,6 +9838,7 @@ var import_middleware_sdk_s3_control93 = require("@aws-sdk/middleware-sdk-s3-con
|
|
|
9837
9838
|
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
9838
9839
|
...commonParams,
|
|
9839
9840
|
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
9841
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
9840
9842
|
AccountId: { type: "contextParams", name: "AccountId" }
|
|
9841
9843
|
}).m(function(Command, cs, config, o) {
|
|
9842
9844
|
return [
|
|
@@ -9858,6 +9860,7 @@ var import_middleware_sdk_s3_control94 = require("@aws-sdk/middleware-sdk-s3-con
|
|
|
9858
9860
|
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
9859
9861
|
...commonParams,
|
|
9860
9862
|
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
9863
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
9861
9864
|
AccountId: { type: "contextParams", name: "AccountId" }
|
|
9862
9865
|
}).m(function(Command, cs, config, o) {
|
|
9863
9866
|
return [
|
|
@@ -10,6 +10,7 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
10
10
|
.ep({
|
|
11
11
|
...commonParams,
|
|
12
12
|
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
13
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
13
14
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
15
|
})
|
|
15
16
|
.m(function (Command, cs, config, o) {
|
|
@@ -10,6 +10,7 @@ export class TagResourceCommand extends $Command
|
|
|
10
10
|
.ep({
|
|
11
11
|
...commonParams,
|
|
12
12
|
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
13
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
13
14
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
15
|
})
|
|
15
16
|
.m(function (Command, cs, config, o) {
|
|
@@ -10,6 +10,7 @@ export class UntagResourceCommand extends $Command
|
|
|
10
10
|
.ep({
|
|
11
11
|
...commonParams,
|
|
12
12
|
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
13
|
+
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
13
14
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
15
|
})
|
|
15
16
|
.m(function (Command, cs, config, o) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const ba = "required", bb = "type", bc = "conditions", bd = "fn", be = "argv", bf = "ref", bg = "assign", bh = "url", bi = "properties", bj = "authSchemes", bk = "disableDoubleEncoding", bl = "name", bm = "signingName", bn = "signingRegion", bo = "headers", bp = "x-amz-account-id", bq = "x-amz-outpost-id";
|
|
2
|
+
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "Invalid Configuration: DualStack and custom endpoint are not supported", l = "{url#scheme}://{url#authority}{url#path}", m = "s3-outposts", n = "{Region}", o = "endpoint", p = "tree", q = "aws.parseArn", r = "resourceArn", s = "service", t = "s3express", u = "arnPartition", v = "{url#scheme}://{url#authority}", w = "substring", x = "accessPointSuffix", y = "s3expressAvailabilityZoneId", z = "s3expressAvailabilityZoneDelim", A = "accessPointArn", B = "resourceId[0]", C = "arnType", D = "resourceId[1]", E = "outpostId", F = "{accessPointArn#accountId}", G = "resourceId[2]", H = "outpostType", I = "resourceId[3]", J = "bucketArn", K = "{bucketArn#accountId}", L = { [ba]: false, [bb]: "String" }, M = { [ba]: true, "default": false, [bb]: "Boolean" }, N = { [ba]: false, [bb]: "Boolean" }, O = { [bf]: "Region" }, P = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, true] }, Q = { [bd]: e, [be]: [O], [bg]: "partitionResult" }, R = { [bd]: g, [be]: [{ [bf]: "partitionResult" }, "name"] }, S = { [bf]: "OutpostId" }, T = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, { [bd]: i, [be]: [{ [bd]: c, [be]: [{ [bf]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [bb]: h }, U = { [bd]: c, [be]: [{ [bf]: "RequiresAccountId" }] }, V = { [bd]: d, [be]: [{ [bf]: "RequiresAccountId" }, true] }, W = { [bd]: c, [be]: [{ [bf]: "AccountId" }] }, X = { [bf]: "AccountId" }, Y = { [bc]: [W, { [bd]: i, [be]: [{ [bd]: j, [be]: [X, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z = { [bc]: [{ [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }], [h]: k, [bb]: h }, aa = { [bd]: c, [be]: [{ [bf]: "Endpoint" }] }, ab = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, true] }, ac = { [bd]: "parseURL", [be]: [{ [bf]: "Endpoint" }], [bg]: "url" }, ad = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: n }] }, ae = {}, af = { [h]: "Invalid region: region was not a valid DNS name.", [bb]: h }, ag = { [bf]: r }, ah = { [bd]: g, [be]: [ag, "region"] }, ai = { [bd]: c, [be]: [{ [bf]: "UseArnRegion" }] }, aj = { [bd]: d, [be]: [{ [bf]: "UseArnRegion" }, false] }, ak = { [bc]: [ab], [h]: "S3Express does not support Dual-stack.", [bb]: h }, al = { [bc]: [aa, ac], [o]: { [bh]: v, [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, am = { [bc]: [P], [o]: { [bh]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, an = { [o]: { [bh]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [bi]: { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: t, [bn]: n }] }, [bo]: {} }, [bb]: o }, ao = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [bb]: h }, ap = { [bd]: c, [be]: [{ [bf]: "AccessPointName" }] }, aq = { [bf]: "AccessPointName" }, ar = { [bd]: f, [be]: [{ [bf]: z }, "--"] }, as = { [bf]: "UseS3ExpressControlEndpoint" }, at = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: "s3", [bn]: n }] }, au = { [bf]: A }, av = { [bd]: i, [be]: [{ [bd]: f, [be]: [{ [bf]: C }, ""] }] }, aw = { [bd]: g, [be]: [au, "region"] }, ax = { [bd]: g, [be]: [au, "accountId"] }, ay = { [bf]: H }, az = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{accessPointArn#region}" }] }, aA = { [bp]: [F], [bq]: ["{outpostId}"] }, aB = { [h]: "Invalid ARN: Expected a 4-component resource", [bb]: h }, aC = { [h]: "Invalid ARN: missing account ID", [bb]: h }, aD = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [bb]: h }, aE = { [h]: "Invalid ARN: The Outpost Id was not set", [bb]: h }, aF = { [h]: "Invalid ARN: No ARN type specified", [bb]: h }, aG = { [bf]: J }, aH = { [bd]: g, [be]: [aG, "region"] }, aI = { [bd]: g, [be]: [aG, "accountId"] }, aJ = { [bj]: [{ [bk]: true, [bl]: "sigv4", [bm]: m, [bn]: "{bucketArn#region}" }] }, aK = { [bp]: [K], [bq]: ["{outpostId}"] }, aL = { [bd]: d, [be]: [{ [bf]: "UseDualStack" }, false] }, aM = { [bd]: d, [be]: [{ [bf]: "UseFIPS" }, false] }, aN = [O], aO = [Q], aP = [{ [bd]: j, [be]: [O, true] }], aQ = [aa, ac], aR = [P, ab], aS = [P], aT = [ab], aU = [{ [bf]: "ResourceArn" }], aV = [{ [bd]: f, [be]: [{ [bd]: g, [be]: [{ [bf]: u }, "name"] }, R] }], aW = [aq], aX = [am, an], aY = [{ [bd]: j, [be]: [{ [bf]: E }, false] }], aZ = [{ [bf]: "Bucket" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: L, UseFIPS: M, UseDualStack: M, Endpoint: L, AccountId: L, RequiresAccountId: N, OutpostId: L, Bucket: L, AccessPointName: L, UseArnRegion: N, ResourceArn: L, UseS3ExpressControlEndpoint: N }, rules: [{ [bc]: [{ [bd]: c, [be]: aN }], rules: [{ [bc]: [P, Q, { [bd]: f, [be]: [R, "aws-cn"] }], error: "Partition does not support FIPS", [bb]: h }, { [bc]: [{ [bd]: c, [be]: [S] }], rules: [{ [bc]: aO, rules: [T, Y, { [bc]: [{ [bd]: i, [be]: [{ [bd]: j, [be]: [S, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [bb]: h }, Z, { [bc]: aP, rules: [{ [bc]: aQ, endpoint: { [bh]: l, [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", [bi]: ad, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aU }, { [bd]: q, [be]: aU, [bg]: r }, { [bd]: f, [be]: [{ [bd]: g, [be]: [ag, s] }, t] }], rules: [{ [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [ah], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [ah, n] }] }], error: "Invalid configuration: region from ARN `{resourceArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, Z, ak, al, am, an], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: w, [be]: [aq, 0, 7, b], [bg]: x }, { [bd]: f, [be]: [{ [bf]: x }, "--xa-s3"] }], rules: [{ [bc]: aO, rules: [Z, ak, al, { [bc]: [{ [bd]: w, [be]: [aq, 7, 15, b], [bg]: y }, { [bd]: w, [be]: [aq, 15, 17, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 16, b], [bg]: y }, { [bd]: w, [be]: [aq, 16, 18, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 20, b], [bg]: y }, { [bd]: w, [be]: [aq, 20, 22, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 21, b], [bg]: y }, { [bd]: w, [be]: [aq, 21, 23, b], [bg]: z }, ar], rules: aX, [bb]: p }, { [bc]: [{ [bd]: w, [be]: [aq, 7, 27, b], [bg]: y }, { [bd]: w, [be]: [aq, 27, 29, b], [bg]: z }, ar], rules: aX, [bb]: p }, { error: "Unrecognized S3Express Access Point name format.", [bb]: h }], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: c, [be]: [as] }, { [bd]: d, [be]: [as, b] }], rules: [{ [bc]: aO, rules: [Z, ak, al, am, an], [bb]: p }], [bb]: p }, { [bc]: [{ [bd]: f, [be]: [O, "snow"] }, aa, ac], rules: [{ [bc]: aO, rules: [{ [bc]: aT, error: "S3 Snow does not support DualStack", [bb]: h }, { [bc]: aS, error: "S3 Snow does not support FIPS", [bb]: h }, { endpoint: { [bh]: v, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }], [bb]: p }, { [bc]: [ap, { [bd]: q, [be]: aW, [bg]: A }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [au, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aw, n] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: aO, rules: [{ [bc]: [{ [bd]: e, [be]: [aw], [bg]: u }], rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aw, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [ax, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [ax, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, F] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [au, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [au, I], [bg]: "accessPointName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "accesspoint"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: az, [bo]: aA }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", [bi]: az, [bo]: aA }, [bb]: o }], [bb]: p }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected an access point name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: [{ [bd]: c, [be]: aZ }, { [bd]: q, [be]: aZ, [bg]: J }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, B], [bg]: C }, av], rules: [{ [bc]: [{ [bd]: f, [be]: [{ [bd]: g, [be]: [aG, s] }, m] }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, D], [bg]: E }], rules: [{ [bc]: aY, rules: [Z, { [bc]: [ai, aj, { [bd]: i, [be]: [{ [bd]: f, [be]: [aH, n] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [bb]: h }, { [bc]: [{ [bd]: e, [be]: [aH], [bg]: u }], rules: [{ [bc]: aO, rules: [{ [bc]: aV, rules: [{ [bc]: [{ [bd]: j, [be]: [aH, b] }], rules: [{ [bc]: [{ [bd]: i, [be]: [{ [bd]: f, [be]: [aI, ""] }] }], rules: [{ [bc]: [{ [bd]: j, [be]: [aI, a] }], rules: [{ [bc]: [W, { [bd]: i, [be]: [{ [bd]: f, [be]: [X, K] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [bb]: h }, { [bc]: [{ [bd]: g, [be]: [aG, G], [bg]: H }], rules: [{ [bc]: [{ [bd]: g, [be]: [aG, I], [bg]: "bucketName" }], rules: [{ [bc]: [{ [bd]: f, [be]: [ay, "bucket"] }], rules: [{ [bc]: aR, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aS, endpoint: { [bh]: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aT, endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }, { [bc]: aQ, endpoint: { [bh]: l, [bi]: aJ, [bo]: aK }, [bb]: o }, { endpoint: { [bh]: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", [bi]: aJ, [bo]: aK }, [bb]: o }], [bb]: p }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [bb]: h }], [bb]: p }, { error: "Invalid ARN: expected a bucket name", [bb]: h }], [bb]: p }, aB], [bb]: p }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [bb]: h }], [bb]: p }, aC], [bb]: p }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [bb]: h }], [bb]: p }, ao], [bb]: p }], [bb]: p }], [bb]: p }, aD], [bb]: p }, aE], [bb]: p }], [bb]: p }, aF], [bb]: p }, { [bc]: aO, rules: [{ [bc]: aP, rules: [T, Y, { [bc]: aQ, rules: [{ [bc]: aT, error: k, [bb]: h }, { [bc]: [U, V, W], endpoint: { [bh]: "{url#scheme}://{AccountId}.{url#authority}{url#path}", [bi]: at, [bo]: ae }, [bb]: o }, { endpoint: { [bh]: l, [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, { [bc]: [P, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: aR, endpoint: { [bh]: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [P, aL], endpoint: { [bh]: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, ab], endpoint: { [bh]: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL, U, V, W], endpoint: { [bh]: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }, { [bc]: [aM, aL], endpoint: { [bh]: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", [bi]: at, [bo]: ae }, [bb]: o }], [bb]: p }, af], [bb]: p }], [bb]: p }, { error: "Region must be set", [bb]: h }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -27,18 +27,42 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation allows you to list all the
|
|
30
|
+
* <p>This operation allows you to list all of the tags for a specified resource. Each tag is a label consisting of a key and value. Tags can help you organize, track costs for, and control access to resources. </p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>This operation is only supported for the following Amazon S3 resources:</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory buckets</a>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">Storage Lens groups</a>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances, registered locations, and grants</a>.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* </ul>
|
|
49
|
+
* </note>
|
|
31
50
|
* <dl>
|
|
32
51
|
* <dt>Permissions</dt>
|
|
33
52
|
* <dd>
|
|
34
|
-
* <p>
|
|
53
|
+
* <p>For Storage Lens groups and S3 Access Grants, you must have the <code>s3:ListTagsForResource</code> permission to use this operation. </p>
|
|
54
|
+
* <p>For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
55
|
+
* </dd>
|
|
56
|
+
* <dt>Directory bucket permissions</dt>
|
|
57
|
+
* <dd>
|
|
58
|
+
* <p>For directory buckets, you must have the <code>s3express:ListTagsForResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
59
|
+
* </dd>
|
|
60
|
+
* <dt>HTTP Host header syntax</dt>
|
|
61
|
+
* <dd>
|
|
62
|
+
* <p>
|
|
63
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
35
64
|
* </dd>
|
|
36
65
|
* </dl>
|
|
37
|
-
* <note>
|
|
38
|
-
* <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
|
|
39
|
-
* </note>
|
|
40
|
-
* <p>For more information about the required Storage Lens
|
|
41
|
-
* Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
42
66
|
* <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
|
|
43
67
|
* @example
|
|
44
68
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,18 +27,42 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> Creates a new
|
|
30
|
+
* <p> Creates a new user-defined tag or updates an existing tag. Each tag is a label consisting of a key and value that is applied to your resource. Tags can help you organize, track costs for, and control access to your resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource. </p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>This operation is only supported for
|
|
32
|
+
* <p>This operation is only supported for the following Amazon S3 resource:</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory buckets</a>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances, registered locations, or grants</a>.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* </ul>
|
|
33
49
|
* </note>
|
|
34
50
|
* <dl>
|
|
35
51
|
* <dt>Permissions</dt>
|
|
36
52
|
* <dd>
|
|
37
|
-
* <p>
|
|
53
|
+
* <p>For Storage Lens groups and S3 Access Grants, you must have the <code>s3:TagResource</code> permission to use this operation. </p>
|
|
54
|
+
* <p>For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
55
|
+
* </dd>
|
|
56
|
+
* <dt>Directory bucket permissions</dt>
|
|
57
|
+
* <dd>
|
|
58
|
+
* <p>For directory buckets, you must have the <code>s3express:TagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
59
|
+
* </dd>
|
|
60
|
+
* <dt>HTTP Host header syntax</dt>
|
|
61
|
+
* <dd>
|
|
62
|
+
* <p>
|
|
63
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
38
64
|
* </dd>
|
|
39
65
|
* </dl>
|
|
40
|
-
* <p>For more information about the required Storage Lens
|
|
41
|
-
* Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
42
66
|
* <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
|
|
43
67
|
* @example
|
|
44
68
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,18 +27,42 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>This operation removes the specified user-defined tags from an S3 resource. You can pass one or more tag keys. </p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>This operation is only supported for
|
|
32
|
+
* <p>This operation is only supported for the following Amazon S3 resources:</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html">Directory buckets</a>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">Storage Lens groups</a>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants instances, registered locations, and grants</a>.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* </ul>
|
|
33
49
|
* </note>
|
|
34
50
|
* <dl>
|
|
35
51
|
* <dt>Permissions</dt>
|
|
36
52
|
* <dd>
|
|
37
|
-
* <p>
|
|
53
|
+
* <p>For Storage Lens groups and S3 Access Grants, you must have the <code>s3:UntagResource</code> permission to use this operation. </p>
|
|
54
|
+
* <p>For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
55
|
+
* </dd>
|
|
56
|
+
* <dt>Directory bucket permissions</dt>
|
|
57
|
+
* <dd>
|
|
58
|
+
* <p>For directory buckets, you must have the <code>s3express:UntagResource</code> permission to use this operation. For more information about directory buckets policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html">Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
59
|
+
* </dd>
|
|
60
|
+
* <dt>HTTP Host header syntax</dt>
|
|
61
|
+
* <dd>
|
|
62
|
+
* <p>
|
|
63
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
38
64
|
* </dd>
|
|
39
65
|
* </dl>
|
|
40
|
-
* <p>For more information about the required Storage
|
|
41
|
-
* Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
42
66
|
* <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3
|
|
43
67
|
* Tagging error codes</a>.</p>
|
|
44
68
|
* @example
|
|
@@ -46,5 +46,6 @@ export interface EndpointParameters extends __EndpointParameters {
|
|
|
46
46
|
Bucket?: string | undefined;
|
|
47
47
|
AccessPointName?: string | undefined;
|
|
48
48
|
UseArnRegion?: boolean | undefined;
|
|
49
|
+
ResourceArn?: string | undefined;
|
|
49
50
|
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
50
51
|
}
|
|
@@ -853,11 +853,8 @@ export declare const S3PrefixType: {
|
|
|
853
853
|
export type S3PrefixType = (typeof S3PrefixType)[keyof typeof S3PrefixType];
|
|
854
854
|
/**
|
|
855
855
|
* <p>
|
|
856
|
-
*
|
|
856
|
+
* A key-value pair that you use to label your resources. You can add tags to new resources when you create them, or you can add tags to existing resources. Tags can help you organize, track costs for, and control access to resources.
|
|
857
857
|
* </p>
|
|
858
|
-
* <note>
|
|
859
|
-
* <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens groups</a> and for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html">S3 Access Grants</a>. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant. </p>
|
|
860
|
-
* </note>
|
|
861
858
|
* @public
|
|
862
859
|
*/
|
|
863
860
|
export interface Tag {
|
|
@@ -277,7 +277,7 @@ export interface ListTagsForResourceRequest {
|
|
|
277
277
|
AccountId?: string | undefined;
|
|
278
278
|
/**
|
|
279
279
|
* <p>
|
|
280
|
-
* The Amazon Resource Name (ARN) of the S3 resource that you want to list
|
|
280
|
+
* The Amazon Resource Name (ARN) of the S3 resource that you want to list tags for. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
|
|
281
281
|
* </p>
|
|
282
282
|
* @public
|
|
283
283
|
*/
|
|
@@ -775,7 +775,7 @@ export interface TagResourceRequest {
|
|
|
775
775
|
*/
|
|
776
776
|
AccountId?: string | undefined;
|
|
777
777
|
/**
|
|
778
|
-
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're
|
|
778
|
+
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're applying tags to. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
|
|
779
779
|
* @public
|
|
780
780
|
*/
|
|
781
781
|
ResourceArn: string | undefined;
|
|
@@ -804,9 +804,7 @@ export interface UntagResourceRequest {
|
|
|
804
804
|
*/
|
|
805
805
|
AccountId?: string | undefined;
|
|
806
806
|
/**
|
|
807
|
-
* <p>
|
|
808
|
-
* The Amazon Resource Name (ARN) of the S3 resource that you're trying to remove the tags from.
|
|
809
|
-
* </p>
|
|
807
|
+
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're removing tags from. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
|
|
810
808
|
* @public
|
|
811
809
|
*/
|
|
812
810
|
ResourceArn: string | undefined;
|
|
@@ -59,5 +59,6 @@ export interface EndpointParameters extends __EndpointParameters {
|
|
|
59
59
|
Bucket?: string | undefined;
|
|
60
60
|
AccessPointName?: string | undefined;
|
|
61
61
|
UseArnRegion?: boolean | undefined;
|
|
62
|
+
ResourceArn?: string | undefined;
|
|
62
63
|
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
63
64
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.842.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3-control",
|