@aws-sdk/client-s3-control 3.957.0 → 3.958.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/README.md +1 -102
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +1691 -2521
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/commands/CreateAccessPointCommand.js +4 -1
- package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/CreateJobCommand.js +4 -1
- package/dist-es/commands/CreateStorageLensGroupCommand.js +4 -1
- package/dist-es/commands/DeleteAccessPointCommand.js +4 -1
- package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/DeleteAccessPointPolicyCommand.js +4 -1
- package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/DeleteAccessPointScopeCommand.js +4 -1
- package/dist-es/commands/DeleteBucketCommand.js +4 -1
- package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +4 -1
- package/dist-es/commands/DeleteBucketPolicyCommand.js +4 -1
- package/dist-es/commands/DeleteBucketReplicationCommand.js +4 -1
- package/dist-es/commands/DeleteBucketTaggingCommand.js +4 -1
- package/dist-es/commands/DeleteJobTaggingCommand.js +4 -1
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +4 -1
- package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +4 -1
- package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +4 -1
- package/dist-es/commands/DeleteStorageLensGroupCommand.js +4 -1
- package/dist-es/commands/DescribeJobCommand.js +4 -1
- package/dist-es/commands/GetAccessPointCommand.js +4 -1
- package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/GetAccessPointPolicyCommand.js +4 -1
- package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +4 -1
- package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/GetAccessPointScopeCommand.js +4 -1
- package/dist-es/commands/GetBucketCommand.js +4 -1
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +4 -1
- package/dist-es/commands/GetBucketPolicyCommand.js +4 -1
- package/dist-es/commands/GetBucketReplicationCommand.js +4 -1
- package/dist-es/commands/GetBucketTaggingCommand.js +4 -1
- package/dist-es/commands/GetBucketVersioningCommand.js +4 -1
- package/dist-es/commands/GetJobTaggingCommand.js +4 -1
- package/dist-es/commands/GetPublicAccessBlockCommand.js +4 -1
- package/dist-es/commands/GetStorageLensConfigurationCommand.js +4 -1
- package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +4 -1
- package/dist-es/commands/GetStorageLensGroupCommand.js +4 -1
- package/dist-es/commands/ListAccessPointsCommand.js +4 -1
- package/dist-es/commands/ListAccessPointsForDirectoryBucketsCommand.js +4 -1
- package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/ListJobsCommand.js +4 -1
- package/dist-es/commands/ListRegionalBucketsCommand.js +4 -1
- package/dist-es/commands/ListStorageLensConfigurationsCommand.js +4 -1
- package/dist-es/commands/ListStorageLensGroupsCommand.js +4 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -1
- package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/PutAccessPointPolicyCommand.js +4 -1
- package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +4 -1
- package/dist-es/commands/PutAccessPointScopeCommand.js +4 -1
- package/dist-es/commands/PutJobTaggingCommand.js +4 -1
- package/dist-es/commands/PutPublicAccessBlockCommand.js +4 -1
- package/dist-es/commands/PutStorageLensConfigurationCommand.js +4 -1
- package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +4 -1
- package/dist-es/commands/TagResourceCommand.js +4 -1
- package/dist-es/commands/UntagResourceCommand.js +4 -1
- package/dist-es/commands/UpdateJobPriorityCommand.js +4 -1
- package/dist-es/commands/UpdateJobStatusCommand.js +4 -1
- package/dist-es/commands/UpdateStorageLensGroupCommand.js +4 -1
- package/dist-es/pagination/index.js +2 -2
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +1444 -2454
- package/dist-types/pagination/index.d.ts +2 -2
- package/dist-types/ts3.4/pagination/index.d.ts +2 -2
- package/package.json +2 -2
|
@@ -12,7 +12,10 @@ export class ListStorageLensConfigurationsCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "ListStorageLensConfigurations", {})
|
|
18
21
|
.n("S3ControlClient", "ListStorageLensConfigurationsCommand")
|
|
@@ -12,7 +12,10 @@ export class ListStorageLensGroupsCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "ListStorageLensGroups", {})
|
|
18
21
|
.n("S3ControlClient", "ListStorageLensGroupsCommand")
|
|
@@ -13,7 +13,10 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
13
13
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
14
|
})
|
|
15
15
|
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
16
|
+
return [
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
getProcessArnablesPlugin(config),
|
|
19
|
+
];
|
|
17
20
|
})
|
|
18
21
|
.s("AWSS3ControlServiceV20180820", "ListTagsForResource", {})
|
|
19
22
|
.n("S3ControlClient", "ListTagsForResourceCommand")
|
|
@@ -12,7 +12,10 @@ export class PutAccessPointConfigurationForObjectLambdaCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "PutAccessPointConfigurationForObjectLambda", {})
|
|
18
21
|
.n("S3ControlClient", "PutAccessPointConfigurationForObjectLambdaCommand")
|
|
@@ -13,7 +13,10 @@ export class PutAccessPointPolicyCommand extends $Command
|
|
|
13
13
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
14
|
})
|
|
15
15
|
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
16
|
+
return [
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
getProcessArnablesPlugin(config),
|
|
19
|
+
];
|
|
17
20
|
})
|
|
18
21
|
.s("AWSS3ControlServiceV20180820", "PutAccessPointPolicy", {})
|
|
19
22
|
.n("S3ControlClient", "PutAccessPointPolicyCommand")
|
|
@@ -12,7 +12,10 @@ export class PutAccessPointPolicyForObjectLambdaCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "PutAccessPointPolicyForObjectLambda", {})
|
|
18
21
|
.n("S3ControlClient", "PutAccessPointPolicyForObjectLambdaCommand")
|
|
@@ -14,7 +14,10 @@ export class PutAccessPointScopeCommand extends $Command
|
|
|
14
14
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
15
|
})
|
|
16
16
|
.m(function (Command, cs, config, o) {
|
|
17
|
-
return [
|
|
17
|
+
return [
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getProcessArnablesPlugin(config),
|
|
20
|
+
];
|
|
18
21
|
})
|
|
19
22
|
.s("AWSS3ControlServiceV20180820", "PutAccessPointScope", {})
|
|
20
23
|
.n("S3ControlClient", "PutAccessPointScopeCommand")
|
|
@@ -12,7 +12,10 @@ export class PutJobTaggingCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "PutJobTagging", {})
|
|
18
21
|
.n("S3ControlClient", "PutJobTaggingCommand")
|
|
@@ -12,7 +12,10 @@ export class PutPublicAccessBlockCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "PutPublicAccessBlock", {})
|
|
18
21
|
.n("S3ControlClient", "PutPublicAccessBlockCommand")
|
|
@@ -12,7 +12,10 @@ export class PutStorageLensConfigurationCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "PutStorageLensConfiguration", {})
|
|
18
21
|
.n("S3ControlClient", "PutStorageLensConfigurationCommand")
|
|
@@ -12,7 +12,10 @@ export class PutStorageLensConfigurationTaggingCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "PutStorageLensConfigurationTagging", {})
|
|
18
21
|
.n("S3ControlClient", "PutStorageLensConfigurationTaggingCommand")
|
|
@@ -13,7 +13,10 @@ export class TagResourceCommand extends $Command
|
|
|
13
13
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
14
|
})
|
|
15
15
|
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
16
|
+
return [
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
getProcessArnablesPlugin(config),
|
|
19
|
+
];
|
|
17
20
|
})
|
|
18
21
|
.s("AWSS3ControlServiceV20180820", "TagResource", {})
|
|
19
22
|
.n("S3ControlClient", "TagResourceCommand")
|
|
@@ -13,7 +13,10 @@ export class UntagResourceCommand extends $Command
|
|
|
13
13
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
14
14
|
})
|
|
15
15
|
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
16
|
+
return [
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
getProcessArnablesPlugin(config),
|
|
19
|
+
];
|
|
17
20
|
})
|
|
18
21
|
.s("AWSS3ControlServiceV20180820", "UntagResource", {})
|
|
19
22
|
.n("S3ControlClient", "UntagResourceCommand")
|
|
@@ -12,7 +12,10 @@ export class UpdateJobPriorityCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "UpdateJobPriority", {})
|
|
18
21
|
.n("S3ControlClient", "UpdateJobPriorityCommand")
|
|
@@ -12,7 +12,10 @@ export class UpdateJobStatusCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "UpdateJobStatus", {})
|
|
18
21
|
.n("S3ControlClient", "UpdateJobStatusCommand")
|
|
@@ -12,7 +12,10 @@ export class UpdateStorageLensGroupCommand extends $Command
|
|
|
12
12
|
AccountId: { type: "contextParams", name: "AccountId" },
|
|
13
13
|
})
|
|
14
14
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
15
|
+
return [
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getProcessArnablesPlugin(config),
|
|
18
|
+
];
|
|
16
19
|
})
|
|
17
20
|
.s("AWSS3ControlServiceV20180820", "UpdateStorageLensGroup", {})
|
|
18
21
|
.n("S3ControlClient", "UpdateStorageLensGroupCommand")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAccessGrantsPaginator";
|
|
2
3
|
export * from "./ListAccessGrantsInstancesPaginator";
|
|
3
4
|
export * from "./ListAccessGrantsLocationsPaginator";
|
|
4
|
-
export * from "./
|
|
5
|
+
export * from "./ListAccessPointsPaginator";
|
|
5
6
|
export * from "./ListAccessPointsForDirectoryBucketsPaginator";
|
|
6
7
|
export * from "./ListAccessPointsForObjectLambdaPaginator";
|
|
7
|
-
export * from "./ListAccessPointsPaginator";
|
|
8
8
|
export * from "./ListCallerAccessGrantsPaginator";
|
|
9
9
|
export * from "./ListJobsPaginator";
|
|
10
10
|
export * from "./ListMultiRegionAccessPointsPaginator";
|
|
@@ -22,8 +22,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
27
26
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
28
27
|
md5: config?.md5 ?? Md5,
|
|
29
28
|
region: config?.region ?? invalidProvider("Region is missing"),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
4
|
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
|
|
5
|
-
import {
|
|
5
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
7
7
|
import { Hash } from "@smithy/hash-node";
|
|
8
8
|
import { fileStreamHasher as streamHasher } from "@smithy/hash-stream-node";
|
|
@@ -32,12 +32,10 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
32
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
33
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
34
34
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
35
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
37
36
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
37
|
md5: config?.md5 ?? Hash.bind(null, "md5"),
|
|
39
|
-
region: config?.region ??
|
|
40
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
41
39
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
42
40
|
retryMode: config?.retryMode ??
|
|
43
41
|
loadNodeConfig({
|