@aws-sdk/client-s3-control 3.490.0 → 3.495.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/S3Control.js +1 -195
- package/dist-cjs/S3ControlClient.js +1 -59
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
- package/dist-cjs/commands/AssociateAccessGrantsIdentityCenterCommand.js +1 -34
- package/dist-cjs/commands/CreateAccessGrantCommand.js +1 -34
- package/dist-cjs/commands/CreateAccessGrantsInstanceCommand.js +1 -34
- package/dist-cjs/commands/CreateAccessGrantsLocationCommand.js +1 -34
- package/dist-cjs/commands/CreateAccessPointCommand.js +1 -33
- package/dist-cjs/commands/CreateAccessPointForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/CreateBucketCommand.js +1 -34
- package/dist-cjs/commands/CreateJobCommand.js +1 -32
- package/dist-cjs/commands/CreateMultiRegionAccessPointCommand.js +1 -34
- package/dist-cjs/commands/CreateStorageLensGroupCommand.js +1 -32
- package/dist-cjs/commands/DeleteAccessGrantCommand.js +1 -34
- package/dist-cjs/commands/DeleteAccessGrantsInstanceCommand.js +1 -34
- package/dist-cjs/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.js +1 -34
- package/dist-cjs/commands/DeleteAccessGrantsLocationCommand.js +1 -34
- package/dist-cjs/commands/DeleteAccessPointCommand.js +1 -33
- package/dist-cjs/commands/DeleteAccessPointForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/DeleteAccessPointPolicyCommand.js +1 -33
- package/dist-cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/DeleteBucketCommand.js +1 -33
- package/dist-cjs/commands/DeleteBucketLifecycleConfigurationCommand.js +1 -33
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +1 -33
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +1 -33
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +1 -33
- package/dist-cjs/commands/DeleteJobTaggingCommand.js +1 -32
- package/dist-cjs/commands/DeleteMultiRegionAccessPointCommand.js +1 -34
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +1 -32
- package/dist-cjs/commands/DeleteStorageLensConfigurationCommand.js +1 -32
- package/dist-cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js +1 -32
- package/dist-cjs/commands/DeleteStorageLensGroupCommand.js +1 -32
- package/dist-cjs/commands/DescribeJobCommand.js +1 -32
- package/dist-cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js +1 -34
- package/dist-cjs/commands/DissociateAccessGrantsIdentityCenterCommand.js +1 -34
- package/dist-cjs/commands/GetAccessGrantCommand.js +1 -34
- package/dist-cjs/commands/GetAccessGrantsInstanceCommand.js +1 -34
- package/dist-cjs/commands/GetAccessGrantsInstanceForPrefixCommand.js +1 -34
- package/dist-cjs/commands/GetAccessGrantsInstanceResourcePolicyCommand.js +1 -34
- package/dist-cjs/commands/GetAccessGrantsLocationCommand.js +1 -34
- package/dist-cjs/commands/GetAccessPointCommand.js +1 -33
- package/dist-cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/GetAccessPointForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/GetAccessPointPolicyCommand.js +1 -33
- package/dist-cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/GetAccessPointPolicyStatusCommand.js +1 -33
- package/dist-cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/GetBucketCommand.js +1 -33
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +1 -33
- package/dist-cjs/commands/GetBucketPolicyCommand.js +1 -33
- package/dist-cjs/commands/GetBucketReplicationCommand.js +1 -33
- package/dist-cjs/commands/GetBucketTaggingCommand.js +1 -33
- package/dist-cjs/commands/GetBucketVersioningCommand.js +1 -33
- package/dist-cjs/commands/GetDataAccessCommand.js +1 -35
- package/dist-cjs/commands/GetJobTaggingCommand.js +1 -32
- package/dist-cjs/commands/GetMultiRegionAccessPointCommand.js +1 -34
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyCommand.js +1 -34
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +1 -34
- package/dist-cjs/commands/GetMultiRegionAccessPointRoutesCommand.js +1 -34
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +1 -32
- package/dist-cjs/commands/GetStorageLensConfigurationCommand.js +1 -32
- package/dist-cjs/commands/GetStorageLensConfigurationTaggingCommand.js +1 -32
- package/dist-cjs/commands/GetStorageLensGroupCommand.js +1 -32
- package/dist-cjs/commands/ListAccessGrantsCommand.js +1 -34
- package/dist-cjs/commands/ListAccessGrantsInstancesCommand.js +1 -34
- package/dist-cjs/commands/ListAccessGrantsLocationsCommand.js +1 -34
- package/dist-cjs/commands/ListAccessPointsCommand.js +1 -33
- package/dist-cjs/commands/ListAccessPointsForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/ListJobsCommand.js +1 -32
- package/dist-cjs/commands/ListMultiRegionAccessPointsCommand.js +1 -34
- package/dist-cjs/commands/ListRegionalBucketsCommand.js +1 -33
- package/dist-cjs/commands/ListStorageLensConfigurationsCommand.js +1 -32
- package/dist-cjs/commands/ListStorageLensGroupsCommand.js +1 -32
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -32
- package/dist-cjs/commands/PutAccessGrantsInstanceResourcePolicyCommand.js +1 -34
- package/dist-cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/PutAccessPointPolicyCommand.js +1 -33
- package/dist-cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js +1 -32
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +1 -35
- package/dist-cjs/commands/PutBucketPolicyCommand.js +1 -35
- package/dist-cjs/commands/PutBucketReplicationCommand.js +1 -35
- package/dist-cjs/commands/PutBucketTaggingCommand.js +1 -35
- package/dist-cjs/commands/PutBucketVersioningCommand.js +1 -35
- package/dist-cjs/commands/PutJobTaggingCommand.js +1 -32
- package/dist-cjs/commands/PutMultiRegionAccessPointPolicyCommand.js +1 -34
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +1 -32
- package/dist-cjs/commands/PutStorageLensConfigurationCommand.js +1 -32
- package/dist-cjs/commands/PutStorageLensConfigurationTaggingCommand.js +1 -32
- package/dist-cjs/commands/SubmitMultiRegionAccessPointRoutesCommand.js +1 -34
- package/dist-cjs/commands/TagResourceCommand.js +1 -32
- package/dist-cjs/commands/UntagResourceCommand.js +1 -32
- package/dist-cjs/commands/UpdateAccessGrantsLocationCommand.js +1 -34
- package/dist-cjs/commands/UpdateJobPriorityCommand.js +1 -32
- package/dist-cjs/commands/UpdateJobStatusCommand.js +1 -32
- package/dist-cjs/commands/UpdateStorageLensGroupCommand.js +1 -32
- package/dist-cjs/commands/index.js +1 -95
- package/dist-cjs/endpoint/EndpointParameters.js +1 -19
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +12279 -11
- package/dist-cjs/models/S3ControlServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -5
- package/dist-cjs/models/models_0.js +1 -421
- package/dist-cjs/models/models_1.js +1 -40
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAccessGrantsInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAccessGrantsLocationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAccessGrantsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAccessPointsForObjectLambdaPaginator.js +1 -7
- package/dist-cjs/pagination/ListAccessPointsPaginator.js +1 -7
- package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMultiRegionAccessPointsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRegionalBucketsPaginator.js +1 -7
- package/dist-cjs/pagination/ListStorageLensConfigurationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListStorageLensGroupsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -14
- package/dist-cjs/protocols/Aws_restXml.js +1 -9417
- package/dist-cjs/runtimeExtensions.js +1 -25
- package/dist-es/endpoint/ruleset.js +3 -3
- package/package.json +46 -46
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
-
const asPartial = (t) => t;
|
|
9
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
10
|
-
const extensionConfiguration = {
|
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
|
15
|
-
};
|
|
16
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
17
|
-
return {
|
|
18
|
-
...runtimeConfig,
|
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = false, b = true, c = "isSet", d = "stringEquals", e = "aws.partition", f = "error", g = "{Region}", h = "endpoint", i = "tree", j = "getAttr", k = "not", l = "isValidHostLabel", m = "{url#scheme}://{url#authority}{url#path}",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const aF = "required", aG = "type", aH = "conditions", aI = "fn", aJ = "argv", aK = "ref", aL = "assign", aM = "authSchemes", aN = "disableDoubleEncoding", aO = "name", aP = "signingName", aQ = "signingRegion", aR = "x-amz-account-id", aS = "x-amz-outpost-id";
|
|
2
|
+
const a = false, b = true, c = "isSet", d = "stringEquals", e = "aws.partition", f = "error", g = "{Region}", h = "endpoint", i = "tree", j = "getAttr", k = "not", l = "isValidHostLabel", m = "Invalid Configuration: DualStack and custom endpoint are not supported", n = "{url#scheme}://{url#authority}{url#path}", o = "s3-outposts", p = "aws.parseArn", q = "accessPointArn", r = "resourceId[0]", s = "arnType", t = "service", u = "resourceId[1]", v = "outpostId", w = "arnPartition", x = "{accessPointArn#accountId}", y = "resourceId[2]", z = "outpostType", A = "resourceId[3]", B = "bucketArn", C = "{bucketArn#accountId}", D = { [aF]: false, [aG]: "String" }, E = { [aF]: true, "default": false, [aG]: "Boolean" }, F = { [aF]: false, [aG]: "Boolean" }, G = { [aK]: "Region" }, H = { [aI]: c, [aJ]: [{ [aK]: "Endpoint" }] }, I = { [aI]: "parseURL", [aJ]: [{ [aK]: "Endpoint" }], [aL]: "url" }, J = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseDualStack" }, true] }, K = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseFIPS" }, true] }, L = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: "s3", [aQ]: g }] }, M = {}, N = { [aK]: "OutpostId" }, O = { [aH]: [K, { [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [{ [aK]: "partitionResult" }, "name"] }, "aws-cn"] }], [f]: "Partition does not support FIPS", [aG]: f }, P = { [aH]: [{ [aI]: c, [aJ]: [{ [aK]: "RequiresAccountId" }] }, { [aI]: "booleanEquals", [aJ]: [{ [aK]: "RequiresAccountId" }, true] }, { [aI]: k, [aJ]: [{ [aI]: c, [aJ]: [{ [aK]: "AccountId" }] }] }], [f]: "AccountId is required but not set", [aG]: f }, Q = { [aI]: c, [aJ]: [{ [aK]: "RequiresAccountId" }] }, R = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "RequiresAccountId" }, true] }, S = { [aI]: c, [aJ]: [{ [aK]: "AccountId" }] }, T = { [aK]: "AccountId" }, U = { [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: l, [aJ]: [T, false] }] }], [f]: "AccountId must only contain a-z, A-Z, 0-9 and `-`.", [aG]: f }, V = { [aH]: [H, J], [f]: m, [aG]: f }, W = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: g }] }, X = { [f]: "Invalid region: region was not a valid DNS name.", [aG]: f }, Y = { [aK]: q }, Z = { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [{ [aK]: s }, ""] }] }, aa = { [aI]: c, [aJ]: [{ [aK]: "UseArnRegion" }] }, ab = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseArnRegion" }, false] }, ac = { [aI]: j, [aJ]: [Y, "region"] }, ad = { [aI]: j, [aJ]: [Y, "accountId"] }, ae = { [aK]: z }, af = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: "{accessPointArn#region}" }] }, ag = { [aR]: [x], [aS]: ["{outpostId}"] }, ah = { [f]: "Invalid ARN: Expected a 4-component resource", [aG]: f }, ai = { [f]: "Invalid ARN: missing account ID", [aG]: f }, aj = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", [aG]: f }, ak = { [f]: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", [aG]: f }, al = { [f]: "Invalid ARN: The Outpost Id was not set", [aG]: f }, am = { [f]: "Invalid ARN: No ARN type specified", [aG]: f }, an = { [aK]: B }, ao = { [aI]: j, [aJ]: [an, "region"] }, ap = { [aI]: j, [aJ]: [an, "accountId"] }, aq = { [aM]: [{ [aN]: true, [aO]: "sigv4", [aP]: o, [aQ]: "{bucketArn#region}" }] }, ar = { [aR]: [C], [aS]: ["{outpostId}"] }, as = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseDualStack" }, false] }, at = { [aI]: "booleanEquals", [aJ]: [{ [aK]: "UseFIPS" }, false] }, au = [G], av = [{ [aI]: e, [aJ]: [G], [aL]: "partitionResult" }], aw = [J], ax = [K], ay = [{ [aI]: l, [aJ]: [G, true] }], az = [H, I], aA = [K, J], aB = [{ [aK]: "AccessPointName" }], aC = [{ [aI]: l, [aJ]: [{ [aK]: v }, false] }], aD = [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [{ [aK]: w }, "name"] }, { [aI]: j, [aJ]: [{ [aK]: "partitionResult" }, "name"] }] }], aE = [{ [aK]: "Bucket" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: D, UseFIPS: E, UseDualStack: E, Endpoint: D, AccountId: D, RequiresAccountId: F, OutpostId: D, Bucket: D, AccessPointName: D, UseArnRegion: F }, rules: [{ [aH]: [{ [aI]: c, [aJ]: au }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [G, "snow"] }, H, I], rules: [{ [aH]: av, rules: [{ [aH]: aw, error: "S3 Snow does not support DualStack", [aG]: f }, { [aH]: ax, error: "S3 Snow does not support FIPS", [aG]: f }, { endpoint: { url: "{url#scheme}://{url#authority}", properties: L, headers: M }, [aG]: h }], [aG]: i }], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: [N] }], rules: [{ [aH]: av, rules: [O, P, U, { [aH]: [{ [aI]: k, [aJ]: [{ [aI]: l, [aJ]: [N, a] }] }], error: "OutpostId must only contain a-z, A-Z, 0-9 and `-`.", [aG]: f }, V, { [aH]: ay, rules: [{ [aH]: az, endpoint: { url: n, properties: W, headers: M }, [aG]: h }, { [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}", properties: W, headers: M }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}", properties: W, headers: M }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}", properties: W, headers: M }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{Region}.{partitionResult#dnsSuffix}", properties: W, headers: M }, [aG]: h }], [aG]: i }, X], [aG]: i }], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: aB }, { [aI]: p, [aJ]: aB, [aL]: q }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, r], [aL]: s }, Z], rules: [{ [aH]: [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [Y, t] }, o] }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, u], [aL]: v }], rules: [{ [aH]: aC, rules: [V, { [aH]: [aa, ab, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ac, g] }] }], error: "Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aG]: f }, { [aH]: av, rules: [{ [aH]: [{ [aI]: e, [aJ]: [ac], [aL]: w }], rules: [{ [aH]: aD, rules: [{ [aH]: [{ [aI]: l, [aJ]: [ac, b] }], rules: [{ [aH]: [{ [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ad, ""] }] }], rules: [{ [aH]: [{ [aI]: l, [aJ]: [ad, a] }], rules: [{ [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [T, x] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)", [aG]: f }, { [aH]: [{ [aI]: j, [aJ]: [Y, y], [aL]: z }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [Y, A], [aL]: "accessPointName" }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [ae, "accesspoint"] }], rules: [{ [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}", properties: af, headers: ag }, [aG]: h }, { [aH]: az, endpoint: { url: n, properties: af, headers: ag }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}", properties: af, headers: ag }, [aG]: h }], [aG]: i }, { error: "Expected an outpost type `accesspoint`, found `{outpostType}`", [aG]: f }], [aG]: i }, { error: "Invalid ARN: expected an access point name", [aG]: f }], [aG]: i }, ah], [aG]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", [aG]: f }], [aG]: i }, ai], [aG]: i }, { error: "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", [aG]: f }], [aG]: i }, aj], [aG]: i }], [aG]: i }], [aG]: i }, ak], [aG]: i }, al], [aG]: i }], [aG]: i }, am], [aG]: i }, { [aH]: [{ [aI]: c, [aJ]: aE }, { [aI]: p, [aJ]: aE, [aL]: B }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, r], [aL]: s }, Z], rules: [{ [aH]: [{ [aI]: d, [aJ]: [{ [aI]: j, [aJ]: [an, t] }, o] }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, u], [aL]: v }], rules: [{ [aH]: aC, rules: [V, { [aH]: [aa, ab, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ao, g] }] }], error: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [aG]: f }, { [aH]: [{ [aI]: e, [aJ]: [ao], [aL]: w }], rules: [{ [aH]: av, rules: [{ [aH]: aD, rules: [{ [aH]: [{ [aI]: l, [aJ]: [ao, b] }], rules: [{ [aH]: [{ [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [ap, ""] }] }], rules: [{ [aH]: [{ [aI]: l, [aJ]: [ap, a] }], rules: [{ [aH]: [S, { [aI]: k, [aJ]: [{ [aI]: d, [aJ]: [T, C] }] }], error: "Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)", [aG]: f }, { [aH]: [{ [aI]: j, [aJ]: [an, y], [aL]: z }], rules: [{ [aH]: [{ [aI]: j, [aJ]: [an, A], [aL]: "bucketName" }], rules: [{ [aH]: [{ [aI]: d, [aJ]: [ae, "bucket"] }], rules: [{ [aH]: aA, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: ax, endpoint: { url: "https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: aw, endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}", properties: aq, headers: ar }, [aG]: h }, { [aH]: az, endpoint: { url: n, properties: aq, headers: ar }, [aG]: h }, { endpoint: { url: "https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}", properties: aq, headers: ar }, [aG]: h }], [aG]: i }, { error: "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", [aG]: f }], [aG]: i }, { error: "Invalid ARN: expected a bucket name", [aG]: f }], [aG]: i }, ah], [aG]: i }, { error: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [aG]: f }], [aG]: i }, ai], [aG]: i }, { error: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [aG]: f }], [aG]: i }, aj], [aG]: i }], [aG]: i }], [aG]: i }, ak], [aG]: i }, al], [aG]: i }], [aG]: i }, am], [aG]: i }, { [aH]: av, rules: [{ [aH]: ay, rules: [O, P, U, { [aH]: az, rules: [{ [aH]: aw, error: m, [aG]: f }, { [aH]: [Q, R, S], endpoint: { url: "{url#scheme}://{AccountId}.{url#authority}{url#path}", properties: L, headers: M }, [aG]: h }, { endpoint: { url: n, properties: L, headers: M }, [aG]: h }], [aG]: i }, { [aH]: [K, J, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: aA, endpoint: { url: "https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [K, as, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [K, as], endpoint: { url: "https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, J, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, J], endpoint: { url: "https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, as, Q, R, S], endpoint: { url: "https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }, { [aH]: [at, as], endpoint: { url: "https://s3-control.{Region}.{partitionResult#dnsSuffix}", properties: L, headers: M }, [aG]: h }], [aG]: i }, X], [aG]: i }], [aG]: i }, { error: "Region must be set", [aG]: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-s3-control",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -22,55 +22,55 @@
|
|
|
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/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@aws-sdk/xml-builder": "3.
|
|
39
|
-
"@smithy/config-resolver": "^2.0
|
|
40
|
-
"@smithy/core": "^1.
|
|
41
|
-
"@smithy/fetch-http-handler": "^2.
|
|
42
|
-
"@smithy/hash-blob-browser": "^2.0
|
|
43
|
-
"@smithy/hash-node": "^2.0
|
|
44
|
-
"@smithy/hash-stream-node": "^2.0
|
|
45
|
-
"@smithy/invalid-dependency": "^2.0
|
|
46
|
-
"@smithy/md5-js": "^2.0
|
|
47
|
-
"@smithy/middleware-apply-body-checksum": "^2.0
|
|
48
|
-
"@smithy/middleware-content-length": "^2.0
|
|
49
|
-
"@smithy/middleware-endpoint": "^2.
|
|
50
|
-
"@smithy/middleware-retry": "^2.0
|
|
51
|
-
"@smithy/middleware-serde": "^2.0
|
|
52
|
-
"@smithy/middleware-stack": "^2.0
|
|
53
|
-
"@smithy/node-config-provider": "^2.
|
|
54
|
-
"@smithy/node-http-handler": "^2.
|
|
55
|
-
"@smithy/protocol-http": "^3.0
|
|
56
|
-
"@smithy/smithy-client": "^2.
|
|
57
|
-
"@smithy/types": "^2.
|
|
58
|
-
"@smithy/url-parser": "^2.0
|
|
59
|
-
"@smithy/util-base64": "^2.0
|
|
60
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
61
|
-
"@smithy/util-body-length-node": "^2.
|
|
62
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
63
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
64
|
-
"@smithy/util-endpoints": "^1.0
|
|
65
|
-
"@smithy/util-middleware": "^2.0
|
|
66
|
-
"@smithy/util-retry": "^2.0
|
|
67
|
-
"@smithy/util-utf8": "^2.0
|
|
25
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
26
|
+
"@aws-sdk/core": "3.495.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
31
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.495.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
34
|
+
"@aws-sdk/types": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
38
|
+
"@aws-sdk/xml-builder": "3.495.0",
|
|
39
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
40
|
+
"@smithy/core": "^1.3.0",
|
|
41
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
42
|
+
"@smithy/hash-blob-browser": "^2.1.0",
|
|
43
|
+
"@smithy/hash-node": "^2.1.0",
|
|
44
|
+
"@smithy/hash-stream-node": "^2.1.0",
|
|
45
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
46
|
+
"@smithy/md5-js": "^2.1.0",
|
|
47
|
+
"@smithy/middleware-apply-body-checksum": "^2.1.0",
|
|
48
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
49
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
50
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
51
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
52
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
53
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
54
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
55
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
56
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
57
|
+
"@smithy/types": "^2.9.0",
|
|
58
|
+
"@smithy/url-parser": "^2.1.0",
|
|
59
|
+
"@smithy/util-base64": "^2.1.0",
|
|
60
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
61
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
62
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
63
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
64
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
65
|
+
"@smithy/util-middleware": "^2.1.0",
|
|
66
|
+
"@smithy/util-retry": "^2.1.0",
|
|
67
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
68
68
|
"fast-xml-parser": "4.2.5",
|
|
69
69
|
"tslib": "^2.5.0",
|
|
70
70
|
"uuid": "^8.3.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
73
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
74
74
|
"@tsconfig/node14": "1.0.3",
|
|
75
75
|
"@types/mocha": "^8.0.4",
|
|
76
76
|
"@types/node": "^14.14.31",
|