@aws-sdk/client-s3-control 3.256.0 → 3.258.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/commands/GetBucketVersioningCommand.js +3 -0
- package/dist-cjs/commands/PutBucketVersioningCommand.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/commands/GetBucketVersioningCommand.js +3 -0
- package/dist-es/commands/PutBucketVersioningCommand.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/S3Control.d.ts +0 -32
- package/dist-types/commands/CreateBucketCommand.d.ts +0 -1
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +0 -1
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +0 -1
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +0 -6
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -3
- package/dist-types/commands/GetAccessPointCommand.d.ts +0 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -5
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +0 -6
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +0 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +35 -36
|
@@ -14,6 +14,9 @@ class GetBucketVersioningCommand extends smithy_client_1.Command {
|
|
|
14
14
|
}
|
|
15
15
|
static getEndpointParameterInstructions() {
|
|
16
16
|
return {
|
|
17
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
18
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
19
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
20
|
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
21
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
22
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
@@ -15,6 +15,9 @@ class PutBucketVersioningCommand extends smithy_client_1.Command {
|
|
|
15
15
|
}
|
|
16
16
|
static getEndpointParameterInstructions() {
|
|
17
17
|
return {
|
|
18
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
19
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
20
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
18
21
|
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
22
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
20
23
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const aA = "required", aB = "type", aC = "conditions", aD = "fn", aE = "argv", aF = "ref", aG = "assign", aH = "authSchemes", aI = "name", aJ = "
|
|
5
|
-
const a = false, b = true, c = "tree", d = "isSet", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "{url#scheme}://{url#authority}{url#path}", l = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: C, UseFIPS: D, UseDualStack: D, Endpoint: C, AccountId: C, RequiresAccountId: E, OutpostId: C, Bucket: C, AccessPointName: C, UseArnRegion: E }, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: aq }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: [F] }], [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: j, [aE]: [F, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, { [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: au, endpoint: { url: k, properties: P, headers: Q }, [aB]: n }, { [aC]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }] }] }] }, R] }] }] }] }] }] }, S] }, { [aC]: [{ [aD]: d, [aE]: aw }, { [aD]: o, [aE]: aw, [aG]: p }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [T, s] },
|
|
4
|
+
const aA = "required", aB = "type", aC = "conditions", aD = "fn", aE = "argv", aF = "ref", aG = "assign", aH = "authSchemes", aI = "name", aJ = "signingName", aK = "disableDoubleEncoding", aL = "signingRegion", aM = "x-amz-account-id", aN = "x-amz-outpost-id";
|
|
5
|
+
const a = false, b = true, c = "tree", d = "isSet", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "{url#scheme}://{url#authority}{url#path}", l = "s3-outposts", m = "{Region}", n = "endpoint", o = "aws.parseArn", p = "accessPointArn", q = "resourceId[0]", r = "arnType", s = "service", t = "resourceId[1]", u = "outpostId", v = "arnPartition", w = "{accessPointArn#accountId}", x = "resourceId[2]", y = "outpostType", z = "resourceId[3]", A = "bucketArn", B = "{bucketArn#accountId}", C = { [aA]: false, [aB]: "String" }, D = { [aA]: true, "default": false, [aB]: "Boolean" }, E = { [aA]: false, [aB]: "Boolean" }, F = { [aF]: "OutpostId" }, G = { [aC]: [{ [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, { [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }, "aws-cn"] }], [h]: "Partition does not support FIPS", [aB]: h }, H = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, I = { [aC]: [{ [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, { [aD]: i, [aE]: [{ [aD]: d, [aE]: [{ [aF]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [aB]: h }, J = { [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, K = { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, L = { [aD]: d, [aE]: [{ [aF]: "AccountId" }] }, M = { [aF]: "AccountId" }, N = { [aC]: [L, { [aD]: i, [aE]: [{ [aD]: j, [aE]: [M, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, O = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, true] }, P = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: m }] }, Q = {}, R = { [h]: "Invalid region: region was not a valid DNS name.", [aB]: h }, S = { [h]: "A valid partition could not be determined", [aB]: h }, T = { [aF]: p }, U = { [aD]: i, [aE]: [{ [aD]: f, [aE]: [{ [aF]: r }, ""] }] }, V = { [aD]: d, [aE]: [{ [aF]: "UseArnRegion" }] }, W = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseArnRegion" }, false] }, X = { [aD]: g, [aE]: [T, "region"] }, Y = { [aD]: g, [aE]: [T, "accountId"] }, Z = { [aF]: y }, aa = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: "{accessPointArn#region}" }] }, ab = { [aM]: [w], [aN]: ["{outpostId}"] }, ac = { [h]: "Invalid ARN: Expected a 4-component resource", [aB]: h }, ad = { [h]: "Invalid ARN: missing account ID", [aB]: h }, ae = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aB]: h }, af = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aB]: h }, ag = { [h]: "Invalid ARN: The Outpost Id was not set", [aB]: h }, ah = { [h]: "Invalid ARN: No ARN type specified", [aB]: h }, ai = { [aF]: A }, aj = { [aD]: g, [aE]: [ai, "region"] }, ak = { [aD]: g, [aE]: [ai, "accountId"] }, al = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: "{bucketArn#region}" }] }, am = { [aM]: [B], [aN]: ["{outpostId}"] }, an = { [aH]: [{ [aI]: "sigv4", [aJ]: "s3", [aK]: true, [aL]: m }] }, ao = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, false] }, ap = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, false] }, aq = [{ [aF]: "Region" }], ar = [{ [aD]: e, [aE]: aq, [aG]: "partitionResult" }], as = [{ [aD]: j, [aE]: [{ [aF]: "Region" }, true] }], at = [O], au = [{ [aD]: d, [aE]: [{ [aF]: "Endpoint" }] }, { [aD]: "parseURL", [aE]: [{ [aF]: "Endpoint" }], [aG]: "url" }], av = [H], aw = [{ [aF]: "AccessPointName" }], ax = [{ [aD]: j, [aE]: [{ [aF]: u }, false] }], ay = [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: v }, "name"] }, { [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }] }], az = [{ [aF]: "Bucket" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: C, UseFIPS: D, UseDualStack: D, Endpoint: C, AccountId: C, RequiresAccountId: E, OutpostId: C, Bucket: C, AccessPointName: C, UseArnRegion: E }, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: aq }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: [F] }], [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: j, [aE]: [F, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, { [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: au, endpoint: { url: k, properties: P, headers: Q }, [aB]: n }, { [aC]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }] }] }] }, R] }] }] }] }] }] }, S] }, { [aC]: [{ [aD]: d, [aE]: aw }, { [aD]: o, [aE]: aw, [aG]: p }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [T, s] }, l] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [X, m] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [X], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [X, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [Y, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [Y, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, w] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, z], [aG]: "accessPointName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "accesspoint"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: aa, headers: ab }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }] }] }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected an access point name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, { error: "Could not load partition for ARN region `{accessPointArn#region}`", [aB]: h }] }] }, S] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aC]: [{ [aD]: d, [aE]: az }, { [aD]: o, [aE]: az, [aG]: A }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [ai, s] }, l] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [aj, m] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [aj], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [aj, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [ak, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [ak, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, B] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, z], [aG]: "bucketName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "bucket"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: al, headers: am }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }] }] }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected a bucket name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, S] }] }, { error: "Could not load partition for ARN region `{bucketArn#region}`", [aB]: h }] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: au, [aB]: c, rules: [{ [aC]: at, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [aB]: h }, { [aB]: c, rules: [{ [aC]: [J, K, L], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: an, headers: Q }, [aB]: n }, { endpoint: { url: k, properties: an, headers: Q }, [aB]: n }] }] }, { [aB]: c, rules: [{ [aC]: [H, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, O], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }] }] }] }] }] }] }, R] }] }, S] }] }] }, { error: "Region must be set", [aB]: h }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -12,7 +12,6 @@ const md5_js_1 = require("@aws-sdk/md5-js");
|
|
|
12
12
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
13
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
14
14
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
15
|
-
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
16
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
18
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
@@ -39,8 +38,6 @@ const getRuntimeConfig = (config) => {
|
|
|
39
38
|
streamHasher: config?.streamHasher ?? hash_blob_browser_1.blobHasher,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
42
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
43
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
44
41
|
};
|
|
45
42
|
};
|
|
46
43
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -14,7 +14,6 @@ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
16
16
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
17
|
-
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
@@ -47,8 +46,6 @@ const getRuntimeConfig = (config) => {
|
|
|
47
46
|
streamHasher: config?.streamHasher ?? hash_stream_node_1.fileStreamHasher,
|
|
48
47
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
49
48
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
50
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
51
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
52
49
|
};
|
|
53
50
|
};
|
|
54
51
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
7
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
8
9
|
const getRuntimeConfig = (config) => ({
|
|
9
10
|
apiVersion: "2018-08-20",
|
|
@@ -15,5 +16,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
15
16
|
serviceId: config?.serviceId ?? "S3 Control",
|
|
16
17
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
17
18
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
19
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
20
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
18
21
|
});
|
|
19
22
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -11,6 +11,9 @@ export class GetBucketVersioningCommand extends $Command {
|
|
|
11
11
|
}
|
|
12
12
|
static getEndpointParameterInstructions() {
|
|
13
13
|
return {
|
|
14
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
14
17
|
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
15
18
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
16
19
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
@@ -12,6 +12,9 @@ export class PutBucketVersioningCommand extends $Command {
|
|
|
12
12
|
}
|
|
13
13
|
static getEndpointParameterInstructions() {
|
|
14
14
|
return {
|
|
15
|
+
RequiresAccountId: { type: "staticContextParams", value: true },
|
|
16
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
17
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
15
18
|
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
19
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
20
|
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const aA = "required", aB = "type", aC = "conditions", aD = "fn", aE = "argv", aF = "ref", aG = "assign", aH = "authSchemes", aI = "name", aJ = "
|
|
2
|
-
const a = false, b = true, c = "tree", d = "isSet", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "{url#scheme}://{url#authority}{url#path}", l = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: C, UseFIPS: D, UseDualStack: D, Endpoint: C, AccountId: C, RequiresAccountId: E, OutpostId: C, Bucket: C, AccessPointName: C, UseArnRegion: E }, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: aq }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: [F] }], [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: j, [aE]: [F, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, { [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: au, endpoint: { url: k, properties: P, headers: Q }, [aB]: n }, { [aC]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }] }] }] }, R] }] }] }] }] }] }, S] }, { [aC]: [{ [aD]: d, [aE]: aw }, { [aD]: o, [aE]: aw, [aG]: p }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [T, s] },
|
|
1
|
+
const aA = "required", aB = "type", aC = "conditions", aD = "fn", aE = "argv", aF = "ref", aG = "assign", aH = "authSchemes", aI = "name", aJ = "signingName", aK = "disableDoubleEncoding", aL = "signingRegion", aM = "x-amz-account-id", aN = "x-amz-outpost-id";
|
|
2
|
+
const a = false, b = true, c = "tree", d = "isSet", e = "aws.partition", f = "stringEquals", g = "getAttr", h = "error", i = "not", j = "isValidHostLabel", k = "{url#scheme}://{url#authority}{url#path}", l = "s3-outposts", m = "{Region}", n = "endpoint", o = "aws.parseArn", p = "accessPointArn", q = "resourceId[0]", r = "arnType", s = "service", t = "resourceId[1]", u = "outpostId", v = "arnPartition", w = "{accessPointArn#accountId}", x = "resourceId[2]", y = "outpostType", z = "resourceId[3]", A = "bucketArn", B = "{bucketArn#accountId}", C = { [aA]: false, [aB]: "String" }, D = { [aA]: true, "default": false, [aB]: "Boolean" }, E = { [aA]: false, [aB]: "Boolean" }, F = { [aF]: "OutpostId" }, G = { [aC]: [{ [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, { [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }, "aws-cn"] }], [h]: "Partition does not support FIPS", [aB]: h }, H = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, true] }, I = { [aC]: [{ [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, { [aD]: i, [aE]: [{ [aD]: d, [aE]: [{ [aF]: "AccountId" }] }] }], [h]: "AccountId is required but not set", [aB]: h }, J = { [aD]: d, [aE]: [{ [aF]: "RequiresAccountId" }] }, K = { [aD]: "booleanEquals", [aE]: [{ [aF]: "RequiresAccountId" }, true] }, L = { [aD]: d, [aE]: [{ [aF]: "AccountId" }] }, M = { [aF]: "AccountId" }, N = { [aC]: [L, { [aD]: i, [aE]: [{ [aD]: j, [aE]: [M, false] }] }], [h]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, O = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, true] }, P = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: m }] }, Q = {}, R = { [h]: "Invalid region: region was not a valid DNS name.", [aB]: h }, S = { [h]: "A valid partition could not be determined", [aB]: h }, T = { [aF]: p }, U = { [aD]: i, [aE]: [{ [aD]: f, [aE]: [{ [aF]: r }, ""] }] }, V = { [aD]: d, [aE]: [{ [aF]: "UseArnRegion" }] }, W = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseArnRegion" }, false] }, X = { [aD]: g, [aE]: [T, "region"] }, Y = { [aD]: g, [aE]: [T, "accountId"] }, Z = { [aF]: y }, aa = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: "{accessPointArn#region}" }] }, ab = { [aM]: [w], [aN]: ["{outpostId}"] }, ac = { [h]: "Invalid ARN: Expected a 4-component resource", [aB]: h }, ad = { [h]: "Invalid ARN: missing account ID", [aB]: h }, ae = { [h]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aB]: h }, af = { [h]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aB]: h }, ag = { [h]: "Invalid ARN: The Outpost Id was not set", [aB]: h }, ah = { [h]: "Invalid ARN: No ARN type specified", [aB]: h }, ai = { [aF]: A }, aj = { [aD]: g, [aE]: [ai, "region"] }, ak = { [aD]: g, [aE]: [ai, "accountId"] }, al = { [aH]: [{ [aI]: "sigv4", [aJ]: l, [aK]: true, [aL]: "{bucketArn#region}" }] }, am = { [aM]: [B], [aN]: ["{outpostId}"] }, an = { [aH]: [{ [aI]: "sigv4", [aJ]: "s3", [aK]: true, [aL]: m }] }, ao = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseDualStack" }, false] }, ap = { [aD]: "booleanEquals", [aE]: [{ [aF]: "UseFIPS" }, false] }, aq = [{ [aF]: "Region" }], ar = [{ [aD]: e, [aE]: aq, [aG]: "partitionResult" }], as = [{ [aD]: j, [aE]: [{ [aF]: "Region" }, true] }], at = [O], au = [{ [aD]: d, [aE]: [{ [aF]: "Endpoint" }] }, { [aD]: "parseURL", [aE]: [{ [aF]: "Endpoint" }], [aG]: "url" }], av = [H], aw = [{ [aF]: "AccessPointName" }], ax = [{ [aD]: j, [aE]: [{ [aF]: u }, false] }], ay = [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [{ [aF]: v }, "name"] }, { [aD]: g, [aE]: [{ [aF]: "partitionResult" }, "name"] }] }], az = [{ [aF]: "Bucket" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: C, UseFIPS: D, UseDualStack: D, Endpoint: C, AccountId: C, RequiresAccountId: E, OutpostId: C, Bucket: C, AccessPointName: C, UseArnRegion: E }, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: aq }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: d, [aE]: [F] }], [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: j, [aE]: [F, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aB]: h }, { [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outposts do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: au, endpoint: { url: k, properties: P, headers: Q }, [aB]: n }, { [aC]: av, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: P, headers: Q }, [aB]: n }] }] }] }, R] }] }] }] }] }] }, S] }, { [aC]: [{ [aD]: d, [aE]: aw }, { [aD]: o, [aE]: aw, [aG]: p }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [T, s] }, l] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost Access Points do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [X, m] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [X], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [X, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [Y, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [Y, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, w] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [T, z], [aG]: "accessPointName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "accesspoint"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: aa, headers: ab }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: aa, headers: ab }, [aB]: n }] }] }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected an access point name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, { error: "Could not load partition for ARN region `{accessPointArn#region}`", [aB]: h }] }] }, S] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aC]: [{ [aD]: d, [aE]: az }, { [aD]: o, [aE]: az, [aG]: A }], [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, q], [aG]: r }, U], [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [{ [aD]: g, [aE]: [ai, s] }, l] }], [aB]: c, rules: [{ [aC]: at, error: "Invalid configuration: Outpost buckets do not support dual-stack", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, t], [aG]: u }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ax, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [V, W, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [aj, m] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: e, [aE]: [aj], [aG]: v }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: ay, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [aj, b] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: i, [aE]: [{ [aD]: f, [aE]: [ak, ""] }] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: j, [aE]: [ak, a] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [L, { [aD]: i, [aE]: [{ [aD]: f, [aE]: [M, B] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aB]: h }, { [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, x], [aG]: y }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: g, [aE]: [ai, z], [aG]: "bucketName" }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: [{ [aD]: f, [aE]: [Z, "bucket"] }], [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: av, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }, { [aC]: au, endpoint: { url: k, properties: al, headers: am }, [aB]: n }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: al, headers: am }, [aB]: n }] }] }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aB]: h }] }] }, { error: "Invalid ARN: expected a bucket name", [aB]: h }] }] }, ac] }] }] }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aB]: h }] }] }, ad] }] }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aB]: h }] }] }, ae] }] }, S] }] }, { error: "Could not load partition for ARN region `{bucketArn#region}`", [aB]: h }] }] }] }, af] }] }, ag] }] }] }, ah] }, { [aB]: c, rules: [{ [aC]: ar, [aB]: c, rules: [{ [aB]: c, rules: [{ [aC]: as, [aB]: c, rules: [{ [aB]: c, rules: [G, { [aB]: c, rules: [I, { [aB]: c, rules: [N, { [aB]: c, rules: [{ [aC]: au, [aB]: c, rules: [{ [aC]: at, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [aB]: h }, { [aB]: c, rules: [{ [aC]: [J, K, L], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: an, headers: Q }, [aB]: n }, { endpoint: { url: k, properties: an, headers: Q }, [aB]: n }] }] }, { [aB]: c, rules: [{ [aC]: [H, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, O], endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [H, ao], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, O], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao, J, K, L], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }, { [aC]: [ap, ao], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: an, headers: Q }, [aB]: n }] }] }] }] }] }] }, R] }] }, S] }] }] }, { error: "Region must be set", [aB]: h }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -8,7 +8,6 @@ import { Md5 } from "@aws-sdk/md5-js";
|
|
|
8
8
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
9
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
12
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
13
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -35,7 +34,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
34
|
streamHasher: config?.streamHasher ?? streamHasher,
|
|
36
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
37
36
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -10,7 +10,6 @@ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/nod
|
|
|
10
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
11
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
14
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
15
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -43,7 +42,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
43
42
|
streamHasher: config?.streamHasher ?? streamHasher,
|
|
44
43
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
44
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
47
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
48
45
|
};
|
|
49
46
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
4
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
6
|
export const getRuntimeConfig = (config) => ({
|
|
6
7
|
apiVersion: "2018-08-20",
|
|
@@ -12,4 +13,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
12
13
|
serviceId: config?.serviceId ?? "S3 Control",
|
|
13
14
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
14
15
|
urlParser: config?.urlParser ?? parseUrl,
|
|
16
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
17
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
15
18
|
});
|
|
@@ -153,7 +153,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
153
153
|
* <p>For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts
|
|
154
154
|
* endpoint hostname prefix and <code>x-amz-outpost-id</code> in your API request, see the
|
|
155
155
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples">Examples</a> section.</p>
|
|
156
|
-
*
|
|
157
156
|
* <p>The following actions are related to <code>CreateBucket</code> for
|
|
158
157
|
* Amazon S3 on Outposts:</p>
|
|
159
158
|
* <ul>
|
|
@@ -265,7 +264,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
265
264
|
createMultiRegionAccessPoint(args: CreateMultiRegionAccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultiRegionAccessPointCommandOutput) => void): void;
|
|
266
265
|
/**
|
|
267
266
|
* <p>Deletes the specified access point.</p>
|
|
268
|
-
*
|
|
269
267
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html#API_control_DeleteAccessPoint_Examples">Examples</a> section.</p>
|
|
270
268
|
* <p>The following actions are related to <code>DeleteAccessPoint</code>:</p>
|
|
271
269
|
* <ul>
|
|
@@ -404,7 +402,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
404
402
|
* owner has this permission and the Outposts bucket owner can grant this permission to
|
|
405
403
|
* others.</p>
|
|
406
404
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
407
|
-
*
|
|
408
405
|
* <p>For more information about object expiration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions">Elements to Describe Lifecycle Actions</a>.</p>
|
|
409
406
|
* <p>Related actions include:</p>
|
|
410
407
|
* <ul>
|
|
@@ -435,24 +432,18 @@ export declare class S3Control extends S3ControlClient {
|
|
|
435
432
|
* and belong to the bucket owner's account to use this action. For more information, see
|
|
436
433
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using
|
|
437
434
|
* Amazon S3 on Outposts</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
438
|
-
*
|
|
439
435
|
* <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
440
436
|
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
441
437
|
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
442
438
|
* Allowed</code> error. </p>
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
439
|
* <important>
|
|
446
440
|
* <p>As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
447
441
|
* always use this action, even if the policy explicitly denies the root user the ability
|
|
448
442
|
* to perform this action.</p>
|
|
449
443
|
* </important>
|
|
450
|
-
*
|
|
451
444
|
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
452
445
|
* Policies</a>. </p>
|
|
453
|
-
*
|
|
454
446
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples">Examples</a> section.</p>
|
|
455
|
-
*
|
|
456
447
|
* <p>The following actions are related to <code>DeleteBucketPolicy</code>:</p>
|
|
457
448
|
* <ul>
|
|
458
449
|
* <li>
|
|
@@ -477,13 +468,10 @@ export declare class S3Control extends S3ControlClient {
|
|
|
477
468
|
* </note>
|
|
478
469
|
* <p>Deletes the tags from the Outposts bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using
|
|
479
470
|
* Amazon S3 on Outposts</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
480
|
-
*
|
|
481
471
|
* <p>To use this action, you must have permission to perform the
|
|
482
472
|
* <code>PutBucketTagging</code> action. By default, the bucket owner has this permission
|
|
483
473
|
* and can grant this permission to others. </p>
|
|
484
|
-
*
|
|
485
474
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples">Examples</a> section.</p>
|
|
486
|
-
*
|
|
487
475
|
* <p>The following actions are related to <code>DeleteBucketTagging</code>:</p>
|
|
488
476
|
* <ul>
|
|
489
477
|
* <li>
|
|
@@ -682,7 +670,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
682
670
|
/**
|
|
683
671
|
* <p>Returns configuration information about the specified access point.</p>
|
|
684
672
|
* <p></p>
|
|
685
|
-
*
|
|
686
673
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples">Examples</a> section.</p>
|
|
687
674
|
* <p>The following actions are related to <code>GetAccessPoint</code>:</p>
|
|
688
675
|
* <ul>
|
|
@@ -842,15 +829,12 @@ export declare class S3Control extends S3ControlClient {
|
|
|
842
829
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> and for
|
|
843
830
|
* information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html"> Object Lifecycle
|
|
844
831
|
* Management</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
845
|
-
*
|
|
846
832
|
* <p>To use this action, you must have permission to perform the
|
|
847
833
|
* <code>s3-outposts:GetLifecycleConfiguration</code> action. The Outposts bucket owner
|
|
848
834
|
* has this permission, by default. The bucket owner can grant this permission to others. For
|
|
849
835
|
* more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
850
836
|
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
851
|
-
*
|
|
852
837
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
853
|
-
*
|
|
854
838
|
* <p>
|
|
855
839
|
* <code>GetBucketLifecycleConfiguration</code> has the following special error:</p>
|
|
856
840
|
* <ul>
|
|
@@ -900,23 +884,18 @@ export declare class S3Control extends S3ControlClient {
|
|
|
900
884
|
* bucket, the calling identity must have the <code>GetBucketPolicy</code> permissions on the
|
|
901
885
|
* specified bucket and belong to the bucket owner's account in order to use this
|
|
902
886
|
* action.</p>
|
|
903
|
-
*
|
|
904
887
|
* <p>Only users from Outposts bucket owner account with the right permissions can perform
|
|
905
888
|
* actions on an Outposts bucket. If you don't have <code>s3-outposts:GetBucketPolicy</code>
|
|
906
889
|
* permissions or you're not using an identity that belongs to the bucket owner's account,
|
|
907
890
|
* Amazon S3 returns a <code>403 Access Denied</code> error.</p>
|
|
908
|
-
*
|
|
909
891
|
* <important>
|
|
910
892
|
* <p>As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
911
893
|
* always use this action, even if the policy explicitly denies the root user the ability
|
|
912
894
|
* to perform this action.</p>
|
|
913
895
|
* </important>
|
|
914
|
-
*
|
|
915
896
|
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
916
897
|
* Policies</a>.</p>
|
|
917
|
-
*
|
|
918
898
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples">Examples</a> section.</p>
|
|
919
|
-
*
|
|
920
899
|
* <p>The following actions are related to <code>GetBucketPolicy</code>:</p>
|
|
921
900
|
* <ul>
|
|
922
901
|
* <li>
|
|
@@ -950,7 +929,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
950
929
|
* <p>To use this action, you must have permission to perform the
|
|
951
930
|
* <code>GetBucketTagging</code> action. By default, the bucket owner has this permission
|
|
952
931
|
* and can grant this permission to others.</p>
|
|
953
|
-
*
|
|
954
932
|
* <p>
|
|
955
933
|
* <code>GetBucketTagging</code> has the following special error:</p>
|
|
956
934
|
* <ul>
|
|
@@ -965,7 +943,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
965
943
|
* </li>
|
|
966
944
|
* </ul>
|
|
967
945
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples">Examples</a> section.</p>
|
|
968
|
-
*
|
|
969
946
|
* <p>The following actions are related to <code>GetBucketTagging</code>:</p>
|
|
970
947
|
* <ul>
|
|
971
948
|
* <li>
|
|
@@ -1464,24 +1441,18 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1464
1441
|
* Outposts bucket, the calling identity must have the <code>PutBucketPolicy</code>
|
|
1465
1442
|
* permissions on the specified Outposts bucket and belong to the bucket owner's account in
|
|
1466
1443
|
* order to use this action.</p>
|
|
1467
|
-
*
|
|
1468
1444
|
* <p>If you don't have <code>PutBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
1469
1445
|
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
1470
1446
|
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
1471
1447
|
* Allowed</code> error.</p>
|
|
1472
|
-
*
|
|
1473
1448
|
* <important>
|
|
1474
1449
|
* <p> As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
1475
1450
|
* always use this action, even if the policy explicitly denies the root user the ability
|
|
1476
1451
|
* to perform this action. </p>
|
|
1477
1452
|
* </important>
|
|
1478
|
-
*
|
|
1479
|
-
*
|
|
1480
1453
|
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
1481
1454
|
* Policies</a>.</p>
|
|
1482
|
-
*
|
|
1483
1455
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples">Examples</a> section.</p>
|
|
1484
|
-
*
|
|
1485
1456
|
* <p>The following actions are related to <code>PutBucketPolicy</code>:</p>
|
|
1486
1457
|
* <ul>
|
|
1487
1458
|
* <li>
|
|
@@ -1513,7 +1484,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1513
1484
|
* name, and then organize your billing information to see the total cost of that application
|
|
1514
1485
|
* across several services. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Cost allocation and
|
|
1515
1486
|
* tagging</a>.</p>
|
|
1516
|
-
*
|
|
1517
1487
|
* <note>
|
|
1518
1488
|
* <p>Within a bucket, if you add a tag that has the same key as an existing tag, the new
|
|
1519
1489
|
* value overwrites the old value. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html"> Using cost allocation in Amazon S3
|
|
@@ -1524,7 +1494,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1524
1494
|
* permission by default and can grant this permission to others. For more information about
|
|
1525
1495
|
* permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources"> Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
1526
1496
|
* access permissions to your Amazon S3 resources</a>.</p>
|
|
1527
|
-
*
|
|
1528
1497
|
* <p>
|
|
1529
1498
|
* <code>PutBucketTagging</code> has the following special errors:</p>
|
|
1530
1499
|
* <ul>
|
|
@@ -1572,7 +1541,6 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1572
1541
|
* </li>
|
|
1573
1542
|
* </ul>
|
|
1574
1543
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples">Examples</a> section.</p>
|
|
1575
|
-
*
|
|
1576
1544
|
* <p>The following actions are related to <code>PutBucketTagging</code>:</p>
|
|
1577
1545
|
* <ul>
|
|
1578
1546
|
* <li>
|
|
@@ -33,7 +33,6 @@ export interface CreateBucketCommandOutput extends CreateBucketResult, __Metadat
|
|
|
33
33
|
* <p>For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts
|
|
34
34
|
* endpoint hostname prefix and <code>x-amz-outpost-id</code> in your API request, see the
|
|
35
35
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples">Examples</a> section.</p>
|
|
36
|
-
*
|
|
37
36
|
* <p>The following actions are related to <code>CreateBucket</code> for
|
|
38
37
|
* Amazon S3 on Outposts:</p>
|
|
39
38
|
* <ul>
|
|
@@ -9,7 +9,6 @@ export interface DeleteAccessPointCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the specified access point.</p>
|
|
12
|
-
*
|
|
13
12
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html#API_control_DeleteAccessPoint_Examples">Examples</a> section.</p>
|
|
14
13
|
* <p>The following actions are related to <code>DeleteAccessPoint</code>:</p>
|
|
15
14
|
* <ul>
|
|
@@ -23,7 +23,6 @@ export interface DeleteBucketLifecycleConfigurationCommandOutput extends __Metad
|
|
|
23
23
|
* owner has this permission and the Outposts bucket owner can grant this permission to
|
|
24
24
|
* others.</p>
|
|
25
25
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
26
|
-
*
|
|
27
26
|
* <p>For more information about object expiration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions">Elements to Describe Lifecycle Actions</a>.</p>
|
|
28
27
|
* <p>Related actions include:</p>
|
|
29
28
|
* <ul>
|
|
@@ -19,24 +19,18 @@ export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
* and belong to the bucket owner's account to use this action. For more information, see
|
|
20
20
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using
|
|
21
21
|
* Amazon S3 on Outposts</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
22
|
-
*
|
|
23
22
|
* <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
24
23
|
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
25
24
|
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
26
25
|
* Allowed</code> error. </p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
26
|
* <important>
|
|
30
27
|
* <p>As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
31
28
|
* always use this action, even if the policy explicitly denies the root user the ability
|
|
32
29
|
* to perform this action.</p>
|
|
33
30
|
* </important>
|
|
34
|
-
*
|
|
35
31
|
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
36
32
|
* Policies</a>. </p>
|
|
37
|
-
*
|
|
38
33
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples">Examples</a> section.</p>
|
|
39
|
-
*
|
|
40
34
|
* <p>The following actions are related to <code>DeleteBucketPolicy</code>:</p>
|
|
41
35
|
* <ul>
|
|
42
36
|
* <li>
|
|
@@ -14,13 +14,10 @@ export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
14
14
|
* </note>
|
|
15
15
|
* <p>Deletes the tags from the Outposts bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using
|
|
16
16
|
* Amazon S3 on Outposts</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
17
|
-
*
|
|
18
17
|
* <p>To use this action, you must have permission to perform the
|
|
19
18
|
* <code>PutBucketTagging</code> action. By default, the bucket owner has this permission
|
|
20
19
|
* and can grant this permission to others. </p>
|
|
21
|
-
*
|
|
22
20
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples">Examples</a> section.</p>
|
|
23
|
-
*
|
|
24
21
|
* <p>The following actions are related to <code>DeleteBucketTagging</code>:</p>
|
|
25
22
|
* <ul>
|
|
26
23
|
* <li>
|
|
@@ -10,7 +10,6 @@ export interface GetAccessPointCommandOutput extends GetAccessPointResult, __Met
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns configuration information about the specified access point.</p>
|
|
12
12
|
* <p></p>
|
|
13
|
-
*
|
|
14
13
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples">Examples</a> section.</p>
|
|
15
14
|
* <p>The following actions are related to <code>GetAccessPoint</code>:</p>
|
|
16
15
|
* <ul>
|
|
@@ -17,15 +17,12 @@ export interface GetBucketLifecycleConfigurationCommandOutput extends GetBucketL
|
|
|
17
17
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> and for
|
|
18
18
|
* information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html"> Object Lifecycle
|
|
19
19
|
* Management</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
20
|
-
*
|
|
21
20
|
* <p>To use this action, you must have permission to perform the
|
|
22
21
|
* <code>s3-outposts:GetLifecycleConfiguration</code> action. The Outposts bucket owner
|
|
23
22
|
* has this permission, by default. The bucket owner can grant this permission to others. For
|
|
24
23
|
* more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
25
24
|
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
26
|
-
*
|
|
27
25
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
28
|
-
*
|
|
29
26
|
* <p>
|
|
30
27
|
* <code>GetBucketLifecycleConfiguration</code> has the following special error:</p>
|
|
31
28
|
* <ul>
|
|
@@ -19,23 +19,18 @@ export interface GetBucketPolicyCommandOutput extends GetBucketPolicyResult, __M
|
|
|
19
19
|
* bucket, the calling identity must have the <code>GetBucketPolicy</code> permissions on the
|
|
20
20
|
* specified bucket and belong to the bucket owner's account in order to use this
|
|
21
21
|
* action.</p>
|
|
22
|
-
*
|
|
23
22
|
* <p>Only users from Outposts bucket owner account with the right permissions can perform
|
|
24
23
|
* actions on an Outposts bucket. If you don't have <code>s3-outposts:GetBucketPolicy</code>
|
|
25
24
|
* permissions or you're not using an identity that belongs to the bucket owner's account,
|
|
26
25
|
* Amazon S3 returns a <code>403 Access Denied</code> error.</p>
|
|
27
|
-
*
|
|
28
26
|
* <important>
|
|
29
27
|
* <p>As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
30
28
|
* always use this action, even if the policy explicitly denies the root user the ability
|
|
31
29
|
* to perform this action.</p>
|
|
32
30
|
* </important>
|
|
33
|
-
*
|
|
34
31
|
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
35
32
|
* Policies</a>.</p>
|
|
36
|
-
*
|
|
37
33
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples">Examples</a> section.</p>
|
|
38
|
-
*
|
|
39
34
|
* <p>The following actions are related to <code>GetBucketPolicy</code>:</p>
|
|
40
35
|
* <ul>
|
|
41
36
|
* <li>
|
|
@@ -18,7 +18,6 @@ export interface GetBucketTaggingCommandOutput extends GetBucketTaggingResult, _
|
|
|
18
18
|
* <p>To use this action, you must have permission to perform the
|
|
19
19
|
* <code>GetBucketTagging</code> action. By default, the bucket owner has this permission
|
|
20
20
|
* and can grant this permission to others.</p>
|
|
21
|
-
*
|
|
22
21
|
* <p>
|
|
23
22
|
* <code>GetBucketTagging</code> has the following special error:</p>
|
|
24
23
|
* <ul>
|
|
@@ -33,7 +32,6 @@ export interface GetBucketTaggingCommandOutput extends GetBucketTaggingResult, _
|
|
|
33
32
|
* </li>
|
|
34
33
|
* </ul>
|
|
35
34
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples">Examples</a> section.</p>
|
|
36
|
-
*
|
|
37
35
|
* <p>The following actions are related to <code>GetBucketTagging</code>:</p>
|
|
38
36
|
* <ul>
|
|
39
37
|
* <li>
|
|
@@ -19,24 +19,18 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
* Outposts bucket, the calling identity must have the <code>PutBucketPolicy</code>
|
|
20
20
|
* permissions on the specified Outposts bucket and belong to the bucket owner's account in
|
|
21
21
|
* order to use this action.</p>
|
|
22
|
-
*
|
|
23
22
|
* <p>If you don't have <code>PutBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
24
23
|
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
25
24
|
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
26
25
|
* Allowed</code> error.</p>
|
|
27
|
-
*
|
|
28
26
|
* <important>
|
|
29
27
|
* <p> As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
30
28
|
* always use this action, even if the policy explicitly denies the root user the ability
|
|
31
29
|
* to perform this action. </p>
|
|
32
30
|
* </important>
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
31
|
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
36
32
|
* Policies</a>.</p>
|
|
37
|
-
*
|
|
38
33
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples">Examples</a> section.</p>
|
|
39
|
-
*
|
|
40
34
|
* <p>The following actions are related to <code>PutBucketPolicy</code>:</p>
|
|
41
35
|
* <ul>
|
|
42
36
|
* <li>
|
|
@@ -21,7 +21,6 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
* name, and then organize your billing information to see the total cost of that application
|
|
22
22
|
* across several services. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Cost allocation and
|
|
23
23
|
* tagging</a>.</p>
|
|
24
|
-
*
|
|
25
24
|
* <note>
|
|
26
25
|
* <p>Within a bucket, if you add a tag that has the same key as an existing tag, the new
|
|
27
26
|
* value overwrites the old value. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html"> Using cost allocation in Amazon S3
|
|
@@ -32,7 +31,6 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
32
31
|
* permission by default and can grant this permission to others. For more information about
|
|
33
32
|
* permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources"> Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
34
33
|
* access permissions to your Amazon S3 resources</a>.</p>
|
|
35
|
-
*
|
|
36
34
|
* <p>
|
|
37
35
|
* <code>PutBucketTagging</code> has the following special errors:</p>
|
|
38
36
|
* <ul>
|
|
@@ -80,7 +78,6 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
80
78
|
* </li>
|
|
81
79
|
* </ul>
|
|
82
80
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples">Examples</a> section.</p>
|
|
83
|
-
*
|
|
84
81
|
* <p>The following actions are related to <code>PutBucketTagging</code>:</p>
|
|
85
82
|
* <ul>
|
|
86
83
|
* <li>
|
|
@@ -20,12 +20,12 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
20
20
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
24
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
25
23
|
apiVersion: string;
|
|
26
24
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
27
25
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
28
26
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
27
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
28
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
logger: import("@aws-sdk/types").Logger;
|
|
31
31
|
serviceId: string;
|
|
@@ -21,12 +21,12 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
21
21
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
22
22
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
24
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
24
|
apiVersion: string;
|
|
27
25
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
28
26
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
29
27
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
28
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
29
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
30
30
|
disableHostPrefix: boolean;
|
|
31
31
|
logger: import("@aws-sdk/types").Logger;
|
|
32
32
|
serviceId: string;
|
|
@@ -14,4 +14,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
14
14
|
serviceId: string;
|
|
15
15
|
signingEscapePath: boolean;
|
|
16
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
19
|
};
|
|
@@ -31,12 +31,12 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
31
31
|
| import("@aws-sdk/types").StreamHasher<Blob>;
|
|
32
32
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
33
33
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
34
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
34
|
apiVersion: string;
|
|
37
35
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
38
36
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
39
37
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
38
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
39
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
40
40
|
disableHostPrefix: boolean;
|
|
41
41
|
logger: import("@aws-sdk/types").Logger;
|
|
42
42
|
serviceId: string;
|
|
@@ -32,12 +32,12 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
32
32
|
| import("@aws-sdk/types").StreamHasher<Blob>;
|
|
33
33
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
34
34
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
35
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
36
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
37
35
|
apiVersion: string;
|
|
38
36
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
39
37
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
40
38
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
39
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
40
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
41
41
|
disableHostPrefix: boolean;
|
|
42
42
|
logger: import("@aws-sdk/types").Logger;
|
|
43
43
|
serviceId: string;
|
|
@@ -14,4 +14,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
14
14
|
serviceId: string;
|
|
15
15
|
signingEscapePath: boolean;
|
|
16
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
19
|
};
|
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.258.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,44 +22,43 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/config-resolver": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
29
|
-
"@aws-sdk/hash-blob-browser": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/hash-stream-node": "3.
|
|
32
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
33
|
-
"@aws-sdk/md5-js": "3.
|
|
34
|
-
"@aws-sdk/middleware-apply-body-checksum": "3.
|
|
35
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
36
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
40
|
-
"@aws-sdk/middleware-retry": "3.
|
|
41
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
42
|
-
"@aws-sdk/middleware-serde": "3.
|
|
43
|
-
"@aws-sdk/middleware-signing": "3.
|
|
44
|
-
"@aws-sdk/middleware-stack": "3.
|
|
45
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
46
|
-
"@aws-sdk/node-config-provider": "3.
|
|
47
|
-
"@aws-sdk/node-http-handler": "3.
|
|
48
|
-
"@aws-sdk/protocol-http": "3.
|
|
49
|
-
"@aws-sdk/smithy-client": "3.
|
|
50
|
-
"@aws-sdk/types": "3.
|
|
51
|
-
"@aws-sdk/url-parser": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.258.0",
|
|
26
|
+
"@aws-sdk/config-resolver": "3.257.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.258.0",
|
|
28
|
+
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
29
|
+
"@aws-sdk/hash-blob-browser": "3.257.0",
|
|
30
|
+
"@aws-sdk/hash-node": "3.257.0",
|
|
31
|
+
"@aws-sdk/hash-stream-node": "3.257.0",
|
|
32
|
+
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
33
|
+
"@aws-sdk/md5-js": "3.258.0",
|
|
34
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.257.0",
|
|
35
|
+
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
36
|
+
"@aws-sdk/middleware-endpoint": "3.257.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.257.0",
|
|
39
|
+
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|
|
40
|
+
"@aws-sdk/middleware-retry": "3.257.0",
|
|
41
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.257.0",
|
|
42
|
+
"@aws-sdk/middleware-serde": "3.257.0",
|
|
43
|
+
"@aws-sdk/middleware-signing": "3.257.0",
|
|
44
|
+
"@aws-sdk/middleware-stack": "3.257.0",
|
|
45
|
+
"@aws-sdk/middleware-user-agent": "3.257.0",
|
|
46
|
+
"@aws-sdk/node-config-provider": "3.257.0",
|
|
47
|
+
"@aws-sdk/node-http-handler": "3.257.0",
|
|
48
|
+
"@aws-sdk/protocol-http": "3.257.0",
|
|
49
|
+
"@aws-sdk/smithy-client": "3.257.0",
|
|
50
|
+
"@aws-sdk/types": "3.257.0",
|
|
51
|
+
"@aws-sdk/url-parser": "3.257.0",
|
|
52
52
|
"@aws-sdk/util-base64": "3.208.0",
|
|
53
53
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
54
54
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
55
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
56
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
57
|
-
"@aws-sdk/util-endpoints": "3.
|
|
58
|
-
"@aws-sdk/util-retry": "3.
|
|
59
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
60
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
61
|
-
"@aws-sdk/util-utf8
|
|
62
|
-
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
55
|
+
"@aws-sdk/util-defaults-mode-browser": "3.257.0",
|
|
56
|
+
"@aws-sdk/util-defaults-mode-node": "3.257.0",
|
|
57
|
+
"@aws-sdk/util-endpoints": "3.257.0",
|
|
58
|
+
"@aws-sdk/util-retry": "3.257.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
60
|
+
"@aws-sdk/util-user-agent-node": "3.257.0",
|
|
61
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
63
62
|
"@aws-sdk/xml-builder": "3.201.0",
|
|
64
63
|
"fast-xml-parser": "4.0.11",
|
|
65
64
|
"tslib": "^2.3.1",
|