@aws-sdk/client-s3-control 3.43.0 → 3.47.1
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/CHANGELOG.md +48 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +4 -77
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -48
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/S3ControlClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +3 -75
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -48
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +45 -51
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-s3-control
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
36
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
37
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
6
54
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
55
|
|
|
8
56
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.S3Permission = exports.S3Grantee = exports.S3GranteeTypeIdentifier = exports.S3InitiateRestoreObjectOperation = exports.S3GlacierJobTier = exports.S3DeleteObjectTaggingOperation = exports.LambdaInvokeOperation = exports.JobManifest = exports.JobManifestSpec = exports.JobManifestFormat = exports.JobManifestFieldName = exports.JobManifestLocation = exports.
|
|
4
|
-
exports.JobFailure = exports.DescribeJobRequest = exports.DeleteStorageLensConfigurationTaggingResult = exports.DeleteStorageLensConfigurationTaggingRequest = exports.DeleteStorageLensConfigurationRequest = exports.DeletePublicAccessBlockRequest = exports.DeleteMultiRegionAccessPointResult = exports.DeleteMultiRegionAccessPointRequest = exports.
|
|
5
|
-
exports.GetMultiRegionAccessPointPolicyStatusResult = exports.GetMultiRegionAccessPointPolicyStatusRequest = exports.GetMultiRegionAccessPointPolicyResult = exports.MultiRegionAccessPointPolicyDocument = exports.ProposedMultiRegionAccessPointPolicy = exports.EstablishedMultiRegionAccessPointPolicy = exports.GetMultiRegionAccessPointPolicyRequest = exports.GetMultiRegionAccessPointResult = exports.MultiRegionAccessPointReport = exports.MultiRegionAccessPointStatus = exports.RegionReport = exports.GetMultiRegionAccessPointRequest = exports.GetJobTaggingResult = exports.GetJobTaggingRequest = exports.GetBucketTaggingResult = exports.GetBucketTaggingRequest = exports.GetBucketPolicyResult = exports.GetBucketPolicyRequest = exports.GetBucketLifecycleConfigurationResult = exports.LifecycleRule = exports.Transition = exports.NoncurrentVersionTransition = exports.NoncurrentVersionExpiration = exports.LifecycleRuleFilter = exports.LifecycleRuleAndOperator = exports.LifecycleExpiration = exports.GetBucketLifecycleConfigurationRequest = exports.GetBucketResult = exports.GetBucketRequest = exports.GetAccessPointPolicyStatusForObjectLambdaResult = exports.GetAccessPointPolicyStatusForObjectLambdaRequest = exports.GetAccessPointPolicyStatusResult = exports.PolicyStatus = exports.GetAccessPointPolicyStatusRequest = exports.GetAccessPointPolicyForObjectLambdaResult = exports.GetAccessPointPolicyForObjectLambdaRequest = exports.GetAccessPointPolicyResult = exports.GetAccessPointPolicyRequest = exports.GetAccessPointForObjectLambdaResult = exports.GetAccessPointForObjectLambdaRequest = exports.GetAccessPointConfigurationForObjectLambdaResult = exports.GetAccessPointConfigurationForObjectLambdaRequest = exports.GetAccessPointResult =
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateJobStatusResult = exports.UpdateJobStatusRequest = exports.RequestedJobStatus = exports.JobStatusException = exports.UpdateJobPriorityResult = exports.UpdateJobPriorityRequest = exports.PutStorageLensConfigurationTaggingResult = exports.PutStorageLensConfigurationTaggingRequest = exports.PutStorageLensConfigurationRequest = exports.PutPublicAccessBlockRequest = void 0;
|
|
3
|
+
exports.S3AccessControlList = exports.S3ObjectOwner = exports.S3Grant = exports.S3Permission = exports.S3Grantee = exports.S3GranteeTypeIdentifier = exports.S3InitiateRestoreObjectOperation = exports.S3GlacierJobTier = exports.S3DeleteObjectTaggingOperation = exports.LambdaInvokeOperation = exports.JobManifest = exports.JobManifestSpec = exports.JobManifestFormat = exports.JobManifestFieldName = exports.JobManifestLocation = exports.CreateBucketResult = exports.CreateBucketRequest = exports.CreateBucketConfiguration = exports.CreateAccessPointForObjectLambdaResult = exports.CreateAccessPointForObjectLambdaRequest = exports.ObjectLambdaConfiguration = exports.ObjectLambdaTransformationConfiguration = exports.ObjectLambdaContentTransformation = exports.ObjectLambdaTransformationConfigurationAction = exports.ObjectLambdaAllowedFeature = exports.CreateAccessPointResult = exports.CreateAccessPointRequest = exports.AwsLambdaTransformation = exports.AsyncOperation = exports.AsyncResponseDetails = exports.MultiRegionAccessPointsAsyncResponse = exports.MultiRegionAccessPointRegionalResponse = exports.AsyncRequestParameters = exports.PutMultiRegionAccessPointPolicyInput = exports.DeleteMultiRegionAccessPointInput = exports.CreateMultiRegionAccessPointInput = exports.Region = exports.PublicAccessBlockConfiguration = exports.AsyncOperationName = exports.AsyncErrorDetails = exports.AccountLevel = exports.BucketLevel = exports.PrefixLevel = exports.PrefixLevelStorageMetrics = exports.SelectionCriteria = exports.ActivityMetrics = exports.AccessPoint = exports.VpcConfiguration = exports.NetworkOrigin = exports.AbortIncompleteMultipartUpload = void 0;
|
|
4
|
+
exports.GetAccessPointRequest = exports.DescribeMultiRegionAccessPointOperationResult = exports.DescribeMultiRegionAccessPointOperationRequest = exports.DescribeJobResult = exports.JobDescriptor = exports.JobStatus = exports.JobProgressSummary = exports.JobFailure = exports.DescribeJobRequest = exports.DeleteStorageLensConfigurationTaggingResult = exports.DeleteStorageLensConfigurationTaggingRequest = exports.DeleteStorageLensConfigurationRequest = exports.DeletePublicAccessBlockRequest = exports.DeleteMultiRegionAccessPointResult = exports.DeleteMultiRegionAccessPointRequest = exports.DeleteJobTaggingResult = exports.DeleteJobTaggingRequest = exports.DeleteBucketTaggingRequest = exports.DeleteBucketPolicyRequest = exports.DeleteBucketLifecycleConfigurationRequest = exports.DeleteBucketRequest = exports.DeleteAccessPointPolicyForObjectLambdaRequest = exports.DeleteAccessPointPolicyRequest = exports.DeleteAccessPointForObjectLambdaRequest = exports.DeleteAccessPointRequest = exports.CreateMultiRegionAccessPointResult = exports.CreateMultiRegionAccessPointRequest = exports.CreateJobResult = exports.CreateJobRequest = exports.JobReport = exports.JobReportScope = exports.JobReportFormat = exports.JobOperation = exports.S3SetObjectTaggingOperation = exports.S3SetObjectRetentionOperation = exports.S3Retention = exports.S3ObjectLockRetentionMode = exports.S3SetObjectLegalHoldOperation = exports.S3ObjectLockLegalHold = exports.S3CopyObjectOperation = exports.S3StorageClass = exports.S3ObjectLockMode = exports.S3ObjectLockLegalHoldStatus = exports.S3Tag = exports.S3ObjectMetadata = exports.S3SSEAlgorithm = exports.S3MetadataDirective = exports.S3SetObjectAclOperation = exports.S3AccessControlPolicy = exports.S3CannedAccessControlList = void 0;
|
|
5
|
+
exports.SSES3 = exports.SSEKMS = exports.CloudWatchMetrics = exports.StorageLensAwsOrg = exports.GetStorageLensConfigurationRequest = exports.GetPublicAccessBlockRequest = exports.GetPublicAccessBlockOutput = exports.GetMultiRegionAccessPointPolicyStatusResult = exports.GetMultiRegionAccessPointPolicyStatusRequest = exports.GetMultiRegionAccessPointPolicyResult = exports.MultiRegionAccessPointPolicyDocument = exports.ProposedMultiRegionAccessPointPolicy = exports.EstablishedMultiRegionAccessPointPolicy = exports.GetMultiRegionAccessPointPolicyRequest = exports.GetMultiRegionAccessPointResult = exports.MultiRegionAccessPointReport = exports.MultiRegionAccessPointStatus = exports.RegionReport = exports.GetMultiRegionAccessPointRequest = exports.GetJobTaggingResult = exports.GetJobTaggingRequest = exports.GetBucketTaggingResult = exports.GetBucketTaggingRequest = exports.GetBucketPolicyResult = exports.GetBucketPolicyRequest = exports.GetBucketLifecycleConfigurationResult = exports.LifecycleRule = exports.Transition = exports.NoncurrentVersionTransition = exports.NoncurrentVersionExpiration = exports.LifecycleRuleFilter = exports.LifecycleRuleAndOperator = exports.LifecycleExpiration = exports.GetBucketLifecycleConfigurationRequest = exports.GetBucketResult = exports.GetBucketRequest = exports.GetAccessPointPolicyStatusForObjectLambdaResult = exports.GetAccessPointPolicyStatusForObjectLambdaRequest = exports.GetAccessPointPolicyStatusResult = exports.PolicyStatus = exports.GetAccessPointPolicyStatusRequest = exports.GetAccessPointPolicyForObjectLambdaResult = exports.GetAccessPointPolicyForObjectLambdaRequest = exports.GetAccessPointPolicyResult = exports.GetAccessPointPolicyRequest = exports.GetAccessPointForObjectLambdaResult = exports.GetAccessPointForObjectLambdaRequest = exports.GetAccessPointConfigurationForObjectLambdaResult = exports.GetAccessPointConfigurationForObjectLambdaRequest = exports.GetAccessPointResult = void 0;
|
|
6
|
+
exports.UpdateJobStatusResult = exports.UpdateJobStatusRequest = exports.RequestedJobStatus = exports.UpdateJobPriorityResult = exports.UpdateJobPriorityRequest = exports.PutStorageLensConfigurationTaggingResult = exports.PutStorageLensConfigurationTaggingRequest = exports.PutStorageLensConfigurationRequest = exports.PutPublicAccessBlockRequest = exports.PutMultiRegionAccessPointPolicyResult = exports.PutMultiRegionAccessPointPolicyRequest = exports.PutJobTaggingResult = exports.PutJobTaggingRequest = exports.PutBucketTaggingRequest = exports.Tagging = exports.PutBucketPolicyRequest = exports.PutBucketLifecycleConfigurationRequest = exports.LifecycleConfiguration = exports.PutAccessPointPolicyForObjectLambdaRequest = exports.PutAccessPointPolicyRequest = exports.PutAccessPointConfigurationForObjectLambdaRequest = exports.ListStorageLensConfigurationsResult = exports.ListStorageLensConfigurationEntry = exports.ListStorageLensConfigurationsRequest = exports.ListRegionalBucketsResult = exports.RegionalBucket = exports.ListRegionalBucketsRequest = exports.ListMultiRegionAccessPointsResult = exports.ListMultiRegionAccessPointsRequest = exports.ListJobsResult = exports.JobListDescriptor = exports.OperationName = exports.ListJobsRequest = exports.ListAccessPointsForObjectLambdaResult = exports.ObjectLambdaAccessPoint = exports.ListAccessPointsForObjectLambdaRequest = exports.ListAccessPointsResult = exports.ListAccessPointsRequest = exports.GetStorageLensConfigurationTaggingResult = exports.StorageLensTag = exports.GetStorageLensConfigurationTaggingRequest = exports.GetStorageLensConfigurationResult = exports.StorageLensConfiguration = exports.Include = exports._Exclude = exports.StorageLensDataExport = exports.S3BucketDestination = exports.StorageLensDataExportEncryption = void 0;
|
|
8
7
|
var AbortIncompleteMultipartUpload;
|
|
9
8
|
(function (AbortIncompleteMultipartUpload) {
|
|
10
9
|
AbortIncompleteMultipartUpload.filterSensitiveLog = (obj) => ({
|
|
@@ -208,18 +207,6 @@ var CreateAccessPointForObjectLambdaResult;
|
|
|
208
207
|
...obj,
|
|
209
208
|
});
|
|
210
209
|
})(CreateAccessPointForObjectLambdaResult = exports.CreateAccessPointForObjectLambdaResult || (exports.CreateAccessPointForObjectLambdaResult = {}));
|
|
211
|
-
var BucketAlreadyExists;
|
|
212
|
-
(function (BucketAlreadyExists) {
|
|
213
|
-
BucketAlreadyExists.filterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
});
|
|
216
|
-
})(BucketAlreadyExists = exports.BucketAlreadyExists || (exports.BucketAlreadyExists = {}));
|
|
217
|
-
var BucketAlreadyOwnedByYou;
|
|
218
|
-
(function (BucketAlreadyOwnedByYou) {
|
|
219
|
-
BucketAlreadyOwnedByYou.filterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
});
|
|
222
|
-
})(BucketAlreadyOwnedByYou = exports.BucketAlreadyOwnedByYou || (exports.BucketAlreadyOwnedByYou = {}));
|
|
223
210
|
var CreateBucketConfiguration;
|
|
224
211
|
(function (CreateBucketConfiguration) {
|
|
225
212
|
CreateBucketConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -238,12 +225,6 @@ var CreateBucketResult;
|
|
|
238
225
|
...obj,
|
|
239
226
|
});
|
|
240
227
|
})(CreateBucketResult = exports.CreateBucketResult || (exports.CreateBucketResult = {}));
|
|
241
|
-
var BadRequestException;
|
|
242
|
-
(function (BadRequestException) {
|
|
243
|
-
BadRequestException.filterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
});
|
|
246
|
-
})(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
|
|
247
228
|
var JobManifestLocation;
|
|
248
229
|
(function (JobManifestLocation) {
|
|
249
230
|
JobManifestLocation.filterSensitiveLog = (obj) => ({
|
|
@@ -472,24 +453,6 @@ var CreateJobResult;
|
|
|
472
453
|
...obj,
|
|
473
454
|
});
|
|
474
455
|
})(CreateJobResult = exports.CreateJobResult || (exports.CreateJobResult = {}));
|
|
475
|
-
var IdempotencyException;
|
|
476
|
-
(function (IdempotencyException) {
|
|
477
|
-
IdempotencyException.filterSensitiveLog = (obj) => ({
|
|
478
|
-
...obj,
|
|
479
|
-
});
|
|
480
|
-
})(IdempotencyException = exports.IdempotencyException || (exports.IdempotencyException = {}));
|
|
481
|
-
var InternalServiceException;
|
|
482
|
-
(function (InternalServiceException) {
|
|
483
|
-
InternalServiceException.filterSensitiveLog = (obj) => ({
|
|
484
|
-
...obj,
|
|
485
|
-
});
|
|
486
|
-
})(InternalServiceException = exports.InternalServiceException || (exports.InternalServiceException = {}));
|
|
487
|
-
var TooManyRequestsException;
|
|
488
|
-
(function (TooManyRequestsException) {
|
|
489
|
-
TooManyRequestsException.filterSensitiveLog = (obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
});
|
|
492
|
-
})(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
|
|
493
456
|
var CreateMultiRegionAccessPointRequest;
|
|
494
457
|
(function (CreateMultiRegionAccessPointRequest) {
|
|
495
458
|
CreateMultiRegionAccessPointRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -562,12 +525,6 @@ var DeleteJobTaggingResult;
|
|
|
562
525
|
...obj,
|
|
563
526
|
});
|
|
564
527
|
})(DeleteJobTaggingResult = exports.DeleteJobTaggingResult || (exports.DeleteJobTaggingResult = {}));
|
|
565
|
-
var NotFoundException;
|
|
566
|
-
(function (NotFoundException) {
|
|
567
|
-
NotFoundException.filterSensitiveLog = (obj) => ({
|
|
568
|
-
...obj,
|
|
569
|
-
});
|
|
570
|
-
})(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
|
|
571
528
|
var DeleteMultiRegionAccessPointRequest;
|
|
572
529
|
(function (DeleteMultiRegionAccessPointRequest) {
|
|
573
530
|
DeleteMultiRegionAccessPointRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -942,12 +899,6 @@ var GetPublicAccessBlockRequest;
|
|
|
942
899
|
...obj,
|
|
943
900
|
});
|
|
944
901
|
})(GetPublicAccessBlockRequest = exports.GetPublicAccessBlockRequest || (exports.GetPublicAccessBlockRequest = {}));
|
|
945
|
-
var NoSuchPublicAccessBlockConfiguration;
|
|
946
|
-
(function (NoSuchPublicAccessBlockConfiguration) {
|
|
947
|
-
NoSuchPublicAccessBlockConfiguration.filterSensitiveLog = (obj) => ({
|
|
948
|
-
...obj,
|
|
949
|
-
});
|
|
950
|
-
})(NoSuchPublicAccessBlockConfiguration = exports.NoSuchPublicAccessBlockConfiguration || (exports.NoSuchPublicAccessBlockConfiguration = {}));
|
|
951
902
|
var GetStorageLensConfigurationRequest;
|
|
952
903
|
(function (GetStorageLensConfigurationRequest) {
|
|
953
904
|
GetStorageLensConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1068,18 +1019,6 @@ var ListAccessPointsForObjectLambdaResult;
|
|
|
1068
1019
|
...obj,
|
|
1069
1020
|
});
|
|
1070
1021
|
})(ListAccessPointsForObjectLambdaResult = exports.ListAccessPointsForObjectLambdaResult || (exports.ListAccessPointsForObjectLambdaResult = {}));
|
|
1071
|
-
var InvalidNextTokenException;
|
|
1072
|
-
(function (InvalidNextTokenException) {
|
|
1073
|
-
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
1074
|
-
...obj,
|
|
1075
|
-
});
|
|
1076
|
-
})(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
|
|
1077
|
-
var InvalidRequestException;
|
|
1078
|
-
(function (InvalidRequestException) {
|
|
1079
|
-
InvalidRequestException.filterSensitiveLog = (obj) => ({
|
|
1080
|
-
...obj,
|
|
1081
|
-
});
|
|
1082
|
-
})(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
|
|
1083
1022
|
var ListJobsRequest;
|
|
1084
1023
|
(function (ListJobsRequest) {
|
|
1085
1024
|
ListJobsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1218,12 +1157,6 @@ var PutJobTaggingResult;
|
|
|
1218
1157
|
...obj,
|
|
1219
1158
|
});
|
|
1220
1159
|
})(PutJobTaggingResult = exports.PutJobTaggingResult || (exports.PutJobTaggingResult = {}));
|
|
1221
|
-
var TooManyTagsException;
|
|
1222
|
-
(function (TooManyTagsException) {
|
|
1223
|
-
TooManyTagsException.filterSensitiveLog = (obj) => ({
|
|
1224
|
-
...obj,
|
|
1225
|
-
});
|
|
1226
|
-
})(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
|
|
1227
1160
|
var PutMultiRegionAccessPointPolicyRequest;
|
|
1228
1161
|
(function (PutMultiRegionAccessPointPolicyRequest) {
|
|
1229
1162
|
PutMultiRegionAccessPointPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1272,12 +1205,6 @@ var UpdateJobPriorityResult;
|
|
|
1272
1205
|
...obj,
|
|
1273
1206
|
});
|
|
1274
1207
|
})(UpdateJobPriorityResult = exports.UpdateJobPriorityResult || (exports.UpdateJobPriorityResult = {}));
|
|
1275
|
-
var JobStatusException;
|
|
1276
|
-
(function (JobStatusException) {
|
|
1277
|
-
JobStatusException.filterSensitiveLog = (obj) => ({
|
|
1278
|
-
...obj,
|
|
1279
|
-
});
|
|
1280
|
-
})(JobStatusException = exports.JobStatusException || (exports.JobStatusException = {}));
|
|
1281
1208
|
var RequestedJobStatus;
|
|
1282
1209
|
(function (RequestedJobStatus) {
|
|
1283
1210
|
RequestedJobStatus["Cancelled"] = "Cancelled";
|
|
@@ -15,13 +15,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
15
15
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
16
16
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
22
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "browser",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -30,8 +35,8 @@ const getRuntimeConfig = (config) => {
|
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
36
|
md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : md5_js_1.Md5,
|
|
32
37
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
33
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
|
|
34
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() =>
|
|
38
|
+
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
39
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
35
40
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
36
41
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
|
|
37
42
|
streamHasher: (_o = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _o !== void 0 ? _o : hash_blob_browser_1.blobHasher,
|
|
@@ -17,14 +17,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
17
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
19
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
22
|
-
|
|
23
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
24
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
25
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
26
|
return {
|
|
25
27
|
...clientSharedValues,
|
|
26
28
|
...config,
|
|
27
29
|
runtime: "node",
|
|
30
|
+
defaultsMode,
|
|
28
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
29
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
30
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -33,8 +36,11 @@ const getRuntimeConfig = (config) => {
|
|
|
33
36
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
37
|
md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "md5"),
|
|
35
38
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
36
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
|
|
37
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(
|
|
39
|
+
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
|
|
41
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
|
+
}),
|
|
38
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
39
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
40
46
|
streamHasher: (_o = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _o !== void 0 ? _o : hash_stream_node_1.fileStreamHasher,
|
package/dist-es/endpoints.js
CHANGED
|
@@ -148,14 +148,6 @@ export var CreateAccessPointForObjectLambdaResult;
|
|
|
148
148
|
(function (CreateAccessPointForObjectLambdaResult) {
|
|
149
149
|
CreateAccessPointForObjectLambdaResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
150
|
})(CreateAccessPointForObjectLambdaResult || (CreateAccessPointForObjectLambdaResult = {}));
|
|
151
|
-
export var BucketAlreadyExists;
|
|
152
|
-
(function (BucketAlreadyExists) {
|
|
153
|
-
BucketAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
-
})(BucketAlreadyExists || (BucketAlreadyExists = {}));
|
|
155
|
-
export var BucketAlreadyOwnedByYou;
|
|
156
|
-
(function (BucketAlreadyOwnedByYou) {
|
|
157
|
-
BucketAlreadyOwnedByYou.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
158
|
-
})(BucketAlreadyOwnedByYou || (BucketAlreadyOwnedByYou = {}));
|
|
159
151
|
export var CreateBucketConfiguration;
|
|
160
152
|
(function (CreateBucketConfiguration) {
|
|
161
153
|
CreateBucketConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -168,10 +160,6 @@ export var CreateBucketResult;
|
|
|
168
160
|
(function (CreateBucketResult) {
|
|
169
161
|
CreateBucketResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
162
|
})(CreateBucketResult || (CreateBucketResult = {}));
|
|
171
|
-
export var BadRequestException;
|
|
172
|
-
(function (BadRequestException) {
|
|
173
|
-
BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
-
})(BadRequestException || (BadRequestException = {}));
|
|
175
163
|
export var JobManifestLocation;
|
|
176
164
|
(function (JobManifestLocation) {
|
|
177
165
|
JobManifestLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -352,18 +340,6 @@ export var CreateJobResult;
|
|
|
352
340
|
(function (CreateJobResult) {
|
|
353
341
|
CreateJobResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
354
342
|
})(CreateJobResult || (CreateJobResult = {}));
|
|
355
|
-
export var IdempotencyException;
|
|
356
|
-
(function (IdempotencyException) {
|
|
357
|
-
IdempotencyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
358
|
-
})(IdempotencyException || (IdempotencyException = {}));
|
|
359
|
-
export var InternalServiceException;
|
|
360
|
-
(function (InternalServiceException) {
|
|
361
|
-
InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
362
|
-
})(InternalServiceException || (InternalServiceException = {}));
|
|
363
|
-
export var TooManyRequestsException;
|
|
364
|
-
(function (TooManyRequestsException) {
|
|
365
|
-
TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
366
|
-
})(TooManyRequestsException || (TooManyRequestsException = {}));
|
|
367
343
|
export var CreateMultiRegionAccessPointRequest;
|
|
368
344
|
(function (CreateMultiRegionAccessPointRequest) {
|
|
369
345
|
CreateMultiRegionAccessPointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -412,10 +388,6 @@ export var DeleteJobTaggingResult;
|
|
|
412
388
|
(function (DeleteJobTaggingResult) {
|
|
413
389
|
DeleteJobTaggingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
414
390
|
})(DeleteJobTaggingResult || (DeleteJobTaggingResult = {}));
|
|
415
|
-
export var NotFoundException;
|
|
416
|
-
(function (NotFoundException) {
|
|
417
|
-
NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
418
|
-
})(NotFoundException || (NotFoundException = {}));
|
|
419
391
|
export var DeleteMultiRegionAccessPointRequest;
|
|
420
392
|
(function (DeleteMultiRegionAccessPointRequest) {
|
|
421
393
|
DeleteMultiRegionAccessPointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -673,10 +645,6 @@ export var GetPublicAccessBlockRequest;
|
|
|
673
645
|
(function (GetPublicAccessBlockRequest) {
|
|
674
646
|
GetPublicAccessBlockRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
675
647
|
})(GetPublicAccessBlockRequest || (GetPublicAccessBlockRequest = {}));
|
|
676
|
-
export var NoSuchPublicAccessBlockConfiguration;
|
|
677
|
-
(function (NoSuchPublicAccessBlockConfiguration) {
|
|
678
|
-
NoSuchPublicAccessBlockConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
679
|
-
})(NoSuchPublicAccessBlockConfiguration || (NoSuchPublicAccessBlockConfiguration = {}));
|
|
680
648
|
export var GetStorageLensConfigurationRequest;
|
|
681
649
|
(function (GetStorageLensConfigurationRequest) {
|
|
682
650
|
GetStorageLensConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -757,14 +725,6 @@ export var ListAccessPointsForObjectLambdaResult;
|
|
|
757
725
|
(function (ListAccessPointsForObjectLambdaResult) {
|
|
758
726
|
ListAccessPointsForObjectLambdaResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
759
727
|
})(ListAccessPointsForObjectLambdaResult || (ListAccessPointsForObjectLambdaResult = {}));
|
|
760
|
-
export var InvalidNextTokenException;
|
|
761
|
-
(function (InvalidNextTokenException) {
|
|
762
|
-
InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
763
|
-
})(InvalidNextTokenException || (InvalidNextTokenException = {}));
|
|
764
|
-
export var InvalidRequestException;
|
|
765
|
-
(function (InvalidRequestException) {
|
|
766
|
-
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
767
|
-
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
768
728
|
export var ListJobsRequest;
|
|
769
729
|
(function (ListJobsRequest) {
|
|
770
730
|
ListJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -860,10 +820,6 @@ export var PutJobTaggingResult;
|
|
|
860
820
|
(function (PutJobTaggingResult) {
|
|
861
821
|
PutJobTaggingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
862
822
|
})(PutJobTaggingResult || (PutJobTaggingResult = {}));
|
|
863
|
-
export var TooManyTagsException;
|
|
864
|
-
(function (TooManyTagsException) {
|
|
865
|
-
TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
866
|
-
})(TooManyTagsException || (TooManyTagsException = {}));
|
|
867
823
|
export var PutMultiRegionAccessPointPolicyRequest;
|
|
868
824
|
(function (PutMultiRegionAccessPointPolicyRequest) {
|
|
869
825
|
PutMultiRegionAccessPointPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -896,10 +852,6 @@ export var UpdateJobPriorityResult;
|
|
|
896
852
|
(function (UpdateJobPriorityResult) {
|
|
897
853
|
UpdateJobPriorityResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
898
854
|
})(UpdateJobPriorityResult || (UpdateJobPriorityResult = {}));
|
|
899
|
-
export var JobStatusException;
|
|
900
|
-
(function (JobStatusException) {
|
|
901
|
-
JobStatusException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
902
|
-
})(JobStatusException || (JobStatusException = {}));
|
|
903
855
|
export var RequestedJobStatus;
|
|
904
856
|
(function (RequestedJobStatus) {
|
|
905
857
|
RequestedJobStatus["Cancelled"] = "Cancelled";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser";
|
|
7
7
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
8
8
|
import { Md5 } from "@aws-sdk/md5-js";
|
|
@@ -12,8 +12,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Md5, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Md5, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, streamHasher: (_o = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _o !== void 0 ? _o : streamHasher, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
|
|
19
28
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { fileStreamHasher as streamHasher } from "@aws-sdk/hash-stream-node";
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
9
9
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
10
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
11
11
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
12
12
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
13
13
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
14
14
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
15
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import {
|
|
16
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
17
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
19
|
-
|
|
20
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
21
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
20
22
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Hash.bind(null, "md5"), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
23
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Hash.bind(null, "md5"), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
24
|
+
switch (_a.label) {
|
|
25
|
+
case 0: return [4, defaultConfigProvider()];
|
|
26
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
27
|
+
}
|
|
28
|
+
}); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, streamHasher: (_o = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _o !== void 0 ? _o : streamHasher, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
|
|
22
29
|
};
|
|
@@ -6,7 +6,7 @@ import { S3ControlInputConfig, S3ControlResolvedConfig } from "@aws-sdk/middlewa
|
|
|
6
6
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
11
|
import { Readable } from "stream";
|
|
12
12
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
@@ -180,6 +180,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
180
180
|
* @internal
|
|
181
181
|
*/
|
|
182
182
|
md5?: __HashConstructor;
|
|
183
|
+
/**
|
|
184
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
185
|
+
*/
|
|
186
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
183
187
|
}
|
|
184
188
|
declare type S3ControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & S3ControlInputConfig & UserAgentInputConfig;
|
|
185
189
|
/**
|
|
@@ -677,12 +677,6 @@ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer
|
|
|
677
677
|
name: "BucketAlreadyExists";
|
|
678
678
|
$fault: "client";
|
|
679
679
|
}
|
|
680
|
-
export declare namespace BucketAlreadyExists {
|
|
681
|
-
/**
|
|
682
|
-
* @internal
|
|
683
|
-
*/
|
|
684
|
-
const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
|
|
685
|
-
}
|
|
686
680
|
/**
|
|
687
681
|
* <p>The Outposts bucket you tried to create already exists, and you own it. </p>
|
|
688
682
|
*/
|
|
@@ -690,12 +684,6 @@ export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBea
|
|
|
690
684
|
name: "BucketAlreadyOwnedByYou";
|
|
691
685
|
$fault: "client";
|
|
692
686
|
}
|
|
693
|
-
export declare namespace BucketAlreadyOwnedByYou {
|
|
694
|
-
/**
|
|
695
|
-
* @internal
|
|
696
|
-
*/
|
|
697
|
-
const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
|
|
698
|
-
}
|
|
699
687
|
export declare type BucketCannedACL = "authenticated-read" | "private" | "public-read" | "public-read-write";
|
|
700
688
|
export declare type BucketLocationConstraint = "EU" | "ap-northeast-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "cn-north-1" | "eu-central-1" | "eu-west-1" | "sa-east-1" | "us-west-1" | "us-west-2";
|
|
701
689
|
/**
|
|
@@ -823,12 +811,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
823
811
|
$fault: "client";
|
|
824
812
|
Message?: string;
|
|
825
813
|
}
|
|
826
|
-
export declare namespace BadRequestException {
|
|
827
|
-
/**
|
|
828
|
-
* @internal
|
|
829
|
-
*/
|
|
830
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
831
|
-
}
|
|
832
814
|
/**
|
|
833
815
|
* <p>Contains the information required to locate a manifest object.</p>
|
|
834
816
|
*/
|
|
@@ -942,16 +924,16 @@ export declare enum S3GlacierJobTier {
|
|
|
942
924
|
*/
|
|
943
925
|
export interface S3InitiateRestoreObjectOperation {
|
|
944
926
|
/**
|
|
945
|
-
* <p>This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
|
|
927
|
+
* <p>This argument specifies how long the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive object remains available in Amazon S3.
|
|
946
928
|
* S3 Initiate Restore Object jobs that
|
|
947
|
-
* target S3 Glacier and S3 Glacier Deep Archive objects require <code>ExpirationInDays</code> set to 1
|
|
929
|
+
* target S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive objects require <code>ExpirationInDays</code> set to 1
|
|
948
930
|
* or greater.</p>
|
|
949
931
|
* <p>Conversely, do <i>not</i> set <code>ExpirationInDays</code> when
|
|
950
932
|
* creating S3 Initiate Restore Object jobs that target
|
|
951
933
|
* S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in
|
|
952
934
|
* S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so
|
|
953
935
|
* specifying <code>ExpirationInDays</code> results in restore request failure.</p>
|
|
954
|
-
* <p>S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class
|
|
936
|
+
* <p>S3 Batch Operations jobs can operate either on S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage class
|
|
955
937
|
* objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier
|
|
956
938
|
* objects, but not both types in the same job. If you need to restore objects of both types
|
|
957
939
|
* you <i>must</i> create separate Batch Operations jobs. </p>
|
|
@@ -1566,12 +1548,6 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
|
|
|
1566
1548
|
$fault: "client";
|
|
1567
1549
|
Message?: string;
|
|
1568
1550
|
}
|
|
1569
|
-
export declare namespace IdempotencyException {
|
|
1570
|
-
/**
|
|
1571
|
-
* @internal
|
|
1572
|
-
*/
|
|
1573
|
-
const filterSensitiveLog: (obj: IdempotencyException) => any;
|
|
1574
|
-
}
|
|
1575
1551
|
/**
|
|
1576
1552
|
* <p></p>
|
|
1577
1553
|
*/
|
|
@@ -1580,12 +1556,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
|
|
|
1580
1556
|
$fault: "server";
|
|
1581
1557
|
Message?: string;
|
|
1582
1558
|
}
|
|
1583
|
-
export declare namespace InternalServiceException {
|
|
1584
|
-
/**
|
|
1585
|
-
* @internal
|
|
1586
|
-
*/
|
|
1587
|
-
const filterSensitiveLog: (obj: InternalServiceException) => any;
|
|
1588
|
-
}
|
|
1589
1559
|
/**
|
|
1590
1560
|
* <p></p>
|
|
1591
1561
|
*/
|
|
@@ -1594,12 +1564,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
1594
1564
|
$fault: "client";
|
|
1595
1565
|
Message?: string;
|
|
1596
1566
|
}
|
|
1597
|
-
export declare namespace TooManyRequestsException {
|
|
1598
|
-
/**
|
|
1599
|
-
* @internal
|
|
1600
|
-
*/
|
|
1601
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
1602
|
-
}
|
|
1603
1567
|
export interface CreateMultiRegionAccessPointRequest {
|
|
1604
1568
|
/**
|
|
1605
1569
|
* <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own
|
|
@@ -1807,12 +1771,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
1807
1771
|
$fault: "client";
|
|
1808
1772
|
Message?: string;
|
|
1809
1773
|
}
|
|
1810
|
-
export declare namespace NotFoundException {
|
|
1811
|
-
/**
|
|
1812
|
-
* @internal
|
|
1813
|
-
*/
|
|
1814
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
1815
|
-
}
|
|
1816
1774
|
export interface DeleteMultiRegionAccessPointRequest {
|
|
1817
1775
|
/**
|
|
1818
1776
|
* <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
|
|
@@ -2994,12 +2952,6 @@ export interface NoSuchPublicAccessBlockConfiguration extends __SmithyException,
|
|
|
2994
2952
|
$fault: "client";
|
|
2995
2953
|
Message?: string;
|
|
2996
2954
|
}
|
|
2997
|
-
export declare namespace NoSuchPublicAccessBlockConfiguration {
|
|
2998
|
-
/**
|
|
2999
|
-
* @internal
|
|
3000
|
-
*/
|
|
3001
|
-
const filterSensitiveLog: (obj: NoSuchPublicAccessBlockConfiguration) => any;
|
|
3002
|
-
}
|
|
3003
2955
|
export interface GetStorageLensConfigurationRequest {
|
|
3004
2956
|
/**
|
|
3005
2957
|
* <p>The ID of the Amazon S3 Storage Lens configuration.</p>
|
|
@@ -3427,12 +3379,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
3427
3379
|
$fault: "client";
|
|
3428
3380
|
Message?: string;
|
|
3429
3381
|
}
|
|
3430
|
-
export declare namespace InvalidNextTokenException {
|
|
3431
|
-
/**
|
|
3432
|
-
* @internal
|
|
3433
|
-
*/
|
|
3434
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
3435
|
-
}
|
|
3436
3382
|
/**
|
|
3437
3383
|
* <p></p>
|
|
3438
3384
|
*/
|
|
@@ -3441,12 +3387,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
3441
3387
|
$fault: "client";
|
|
3442
3388
|
Message?: string;
|
|
3443
3389
|
}
|
|
3444
|
-
export declare namespace InvalidRequestException {
|
|
3445
|
-
/**
|
|
3446
|
-
* @internal
|
|
3447
|
-
*/
|
|
3448
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
3449
|
-
}
|
|
3450
3390
|
export interface ListJobsRequest {
|
|
3451
3391
|
/**
|
|
3452
3392
|
* <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
|
|
@@ -3921,12 +3861,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
|
|
|
3921
3861
|
$fault: "client";
|
|
3922
3862
|
Message?: string;
|
|
3923
3863
|
}
|
|
3924
|
-
export declare namespace TooManyTagsException {
|
|
3925
|
-
/**
|
|
3926
|
-
* @internal
|
|
3927
|
-
*/
|
|
3928
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
3929
|
-
}
|
|
3930
3864
|
export interface PutMultiRegionAccessPointPolicyRequest {
|
|
3931
3865
|
/**
|
|
3932
3866
|
* <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
|
|
@@ -4080,12 +4014,6 @@ export interface JobStatusException extends __SmithyException, $MetadataBearer {
|
|
|
4080
4014
|
$fault: "client";
|
|
4081
4015
|
Message?: string;
|
|
4082
4016
|
}
|
|
4083
|
-
export declare namespace JobStatusException {
|
|
4084
|
-
/**
|
|
4085
|
-
* @internal
|
|
4086
|
-
*/
|
|
4087
|
-
const filterSensitiveLog: (obj: JobStatusException) => any;
|
|
4088
|
-
}
|
|
4089
4017
|
export declare enum RequestedJobStatus {
|
|
4090
4018
|
Cancelled = "Cancelled",
|
|
4091
4019
|
Ready = "Ready"
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
3
3
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
8
8
|
runtime: string;
|
|
9
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
10
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
11
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
12
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -14,7 +15,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
18
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
19
20
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
20
21
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
3
3
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
4
4
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
5
5
|
/**
|
|
@@ -7,15 +7,16 @@ import { S3ControlClientConfig } from "./S3ControlClient";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
9
9
|
runtime: string;
|
|
10
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
10
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
11
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
12
13
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
13
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
14
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
15
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
15
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
16
17
|
md5: __HashConstructor;
|
|
17
18
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
19
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
19
20
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
21
|
sha256: __HashConstructor;
|
|
21
22
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
28
28
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
29
29
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
30
30
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
31
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
31
32
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
32
33
|
tls?: boolean | undefined;
|
|
33
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -6,7 +6,7 @@ import { S3ControlInputConfig, S3ControlResolvedConfig } from "@aws-sdk/middlewa
|
|
|
6
6
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
11
|
import { Readable } from "stream";
|
|
12
12
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
@@ -115,6 +115,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
115
115
|
streamHasher?: __StreamHasher<Readable> | __StreamHasher<Blob>;
|
|
116
116
|
|
|
117
117
|
md5?: __HashConstructor;
|
|
118
|
+
|
|
119
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
118
120
|
}
|
|
119
121
|
declare type S3ControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & S3ControlInputConfig & UserAgentInputConfig;
|
|
120
122
|
|
|
@@ -362,19 +362,11 @@ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer
|
|
|
362
362
|
name: "BucketAlreadyExists";
|
|
363
363
|
$fault: "client";
|
|
364
364
|
}
|
|
365
|
-
export declare namespace BucketAlreadyExists {
|
|
366
|
-
|
|
367
|
-
const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
|
|
368
|
-
}
|
|
369
365
|
|
|
370
366
|
export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBearer {
|
|
371
367
|
name: "BucketAlreadyOwnedByYou";
|
|
372
368
|
$fault: "client";
|
|
373
369
|
}
|
|
374
|
-
export declare namespace BucketAlreadyOwnedByYou {
|
|
375
|
-
|
|
376
|
-
const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
|
|
377
|
-
}
|
|
378
370
|
export declare type BucketCannedACL = "authenticated-read" | "private" | "public-read" | "public-read-write";
|
|
379
371
|
export declare type BucketLocationConstraint = "EU" | "ap-northeast-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "cn-north-1" | "eu-central-1" | "eu-west-1" | "sa-east-1" | "us-west-1" | "us-west-2";
|
|
380
372
|
|
|
@@ -428,10 +420,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
428
420
|
$fault: "client";
|
|
429
421
|
Message?: string;
|
|
430
422
|
}
|
|
431
|
-
export declare namespace BadRequestException {
|
|
432
|
-
|
|
433
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
434
|
-
}
|
|
435
423
|
|
|
436
424
|
export interface JobManifestLocation {
|
|
437
425
|
|
|
@@ -842,30 +830,18 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
|
|
|
842
830
|
$fault: "client";
|
|
843
831
|
Message?: string;
|
|
844
832
|
}
|
|
845
|
-
export declare namespace IdempotencyException {
|
|
846
|
-
|
|
847
|
-
const filterSensitiveLog: (obj: IdempotencyException) => any;
|
|
848
|
-
}
|
|
849
833
|
|
|
850
834
|
export interface InternalServiceException extends __SmithyException, $MetadataBearer {
|
|
851
835
|
name: "InternalServiceException";
|
|
852
836
|
$fault: "server";
|
|
853
837
|
Message?: string;
|
|
854
838
|
}
|
|
855
|
-
export declare namespace InternalServiceException {
|
|
856
|
-
|
|
857
|
-
const filterSensitiveLog: (obj: InternalServiceException) => any;
|
|
858
|
-
}
|
|
859
839
|
|
|
860
840
|
export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
|
|
861
841
|
name: "TooManyRequestsException";
|
|
862
842
|
$fault: "client";
|
|
863
843
|
Message?: string;
|
|
864
844
|
}
|
|
865
|
-
export declare namespace TooManyRequestsException {
|
|
866
|
-
|
|
867
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
868
|
-
}
|
|
869
845
|
export interface CreateMultiRegionAccessPointRequest {
|
|
870
846
|
|
|
871
847
|
AccountId?: string;
|
|
@@ -988,10 +964,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
988
964
|
$fault: "client";
|
|
989
965
|
Message?: string;
|
|
990
966
|
}
|
|
991
|
-
export declare namespace NotFoundException {
|
|
992
|
-
|
|
993
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
994
|
-
}
|
|
995
967
|
export interface DeleteMultiRegionAccessPointRequest {
|
|
996
968
|
|
|
997
969
|
AccountId?: string;
|
|
@@ -1651,10 +1623,6 @@ export interface NoSuchPublicAccessBlockConfiguration extends __SmithyException,
|
|
|
1651
1623
|
$fault: "client";
|
|
1652
1624
|
Message?: string;
|
|
1653
1625
|
}
|
|
1654
|
-
export declare namespace NoSuchPublicAccessBlockConfiguration {
|
|
1655
|
-
|
|
1656
|
-
const filterSensitiveLog: (obj: NoSuchPublicAccessBlockConfiguration) => any;
|
|
1657
|
-
}
|
|
1658
1626
|
export interface GetStorageLensConfigurationRequest {
|
|
1659
1627
|
|
|
1660
1628
|
ConfigId: string | undefined;
|
|
@@ -1887,20 +1855,12 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
1887
1855
|
$fault: "client";
|
|
1888
1856
|
Message?: string;
|
|
1889
1857
|
}
|
|
1890
|
-
export declare namespace InvalidNextTokenException {
|
|
1891
|
-
|
|
1892
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
1893
|
-
}
|
|
1894
1858
|
|
|
1895
1859
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
1896
1860
|
name: "InvalidRequestException";
|
|
1897
1861
|
$fault: "client";
|
|
1898
1862
|
Message?: string;
|
|
1899
1863
|
}
|
|
1900
|
-
export declare namespace InvalidRequestException {
|
|
1901
|
-
|
|
1902
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
1903
|
-
}
|
|
1904
1864
|
export interface ListJobsRequest {
|
|
1905
1865
|
|
|
1906
1866
|
AccountId?: string;
|
|
@@ -2172,10 +2132,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
|
|
|
2172
2132
|
$fault: "client";
|
|
2173
2133
|
Message?: string;
|
|
2174
2134
|
}
|
|
2175
|
-
export declare namespace TooManyTagsException {
|
|
2176
|
-
|
|
2177
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
2178
|
-
}
|
|
2179
2135
|
export interface PutMultiRegionAccessPointPolicyRequest {
|
|
2180
2136
|
|
|
2181
2137
|
AccountId?: string;
|
|
@@ -2266,10 +2222,6 @@ export interface JobStatusException extends __SmithyException, $MetadataBearer {
|
|
|
2266
2222
|
$fault: "client";
|
|
2267
2223
|
Message?: string;
|
|
2268
2224
|
}
|
|
2269
|
-
export declare namespace JobStatusException {
|
|
2270
|
-
|
|
2271
|
-
const filterSensitiveLog: (obj: JobStatusException) => any;
|
|
2272
|
-
}
|
|
2273
2225
|
export declare enum RequestedJobStatus {
|
|
2274
2226
|
Cancelled = "Cancelled",
|
|
2275
2227
|
Ready = "Ready"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
3
3
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
4
4
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
3
3
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
4
4
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
5
5
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
md5: __HashConstructor;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: __HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
26
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
27
27
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
28
28
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
29
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
31
|
tls?: boolean | undefined;
|
|
31
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
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.47.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*",
|
|
15
13
|
"test": "yarn test:unit",
|
|
16
14
|
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
17
15
|
},
|
|
@@ -22,59 +20,55 @@
|
|
|
22
20
|
"dependencies": {
|
|
23
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
24
22
|
"@aws-crypto/sha256-js": "2.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-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-retry": "3.
|
|
39
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-
|
|
55
|
-
"@aws-sdk/util-
|
|
56
|
-
"@aws-sdk/util-
|
|
57
|
-
"@aws-sdk/util-
|
|
58
|
-
"@aws-sdk/
|
|
23
|
+
"@aws-sdk/client-sts": "3.47.1",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.47.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.47.1",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.47.1",
|
|
27
|
+
"@aws-sdk/hash-blob-browser": "3.47.1",
|
|
28
|
+
"@aws-sdk/hash-node": "3.47.1",
|
|
29
|
+
"@aws-sdk/hash-stream-node": "3.47.1",
|
|
30
|
+
"@aws-sdk/invalid-dependency": "3.47.1",
|
|
31
|
+
"@aws-sdk/md5-js": "3.47.1",
|
|
32
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.47.1",
|
|
33
|
+
"@aws-sdk/middleware-content-length": "3.47.1",
|
|
34
|
+
"@aws-sdk/middleware-host-header": "3.47.1",
|
|
35
|
+
"@aws-sdk/middleware-logger": "3.47.1",
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.47.1",
|
|
37
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.47.1",
|
|
38
|
+
"@aws-sdk/middleware-serde": "3.47.1",
|
|
39
|
+
"@aws-sdk/middleware-signing": "3.47.1",
|
|
40
|
+
"@aws-sdk/middleware-stack": "3.47.1",
|
|
41
|
+
"@aws-sdk/middleware-user-agent": "3.47.1",
|
|
42
|
+
"@aws-sdk/node-config-provider": "3.47.1",
|
|
43
|
+
"@aws-sdk/node-http-handler": "3.47.1",
|
|
44
|
+
"@aws-sdk/protocol-http": "3.47.1",
|
|
45
|
+
"@aws-sdk/smithy-client": "3.47.1",
|
|
46
|
+
"@aws-sdk/types": "3.47.1",
|
|
47
|
+
"@aws-sdk/url-parser": "3.47.1",
|
|
48
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
49
|
+
"@aws-sdk/util-base64-node": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
51
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.1",
|
|
53
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.1",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.47.1",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.47.1",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.47.1",
|
|
58
|
+
"@aws-sdk/xml-builder": "3.47.1",
|
|
59
59
|
"entities": "2.2.0",
|
|
60
60
|
"fast-xml-parser": "3.19.0",
|
|
61
61
|
"tslib": "^2.3.0",
|
|
62
62
|
"uuid": "^8.3.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
65
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
66
66
|
"@types/mocha": "^8.0.4",
|
|
67
67
|
"@types/node": "^12.7.5",
|
|
68
|
-
"@types/uuid": "^8.3.0"
|
|
69
|
-
"downlevel-dts": "0.7.0",
|
|
70
|
-
"jest": "^26.1.0",
|
|
71
|
-
"rimraf": "^3.0.0",
|
|
72
|
-
"ts-jest": "^26.4.1",
|
|
73
|
-
"typedoc": "^0.19.2",
|
|
74
|
-
"typescript": "~4.3.5"
|
|
68
|
+
"@types/uuid": "^8.3.0"
|
|
75
69
|
},
|
|
76
70
|
"engines": {
|
|
77
|
-
"node": ">=
|
|
71
|
+
"node": ">=12.0.0"
|
|
78
72
|
},
|
|
79
73
|
"typesVersions": {
|
|
80
74
|
"<4.0": {
|