@aws-sdk/client-s3-control 3.42.0 → 3.47.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/CHANGELOG.md +51 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +10 -77
- package/dist-cjs/protocols/Aws_restXml.js +25 -0
- 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 +4 -48
- package/dist-es/protocols/Aws_restXml.js +25 -0
- 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 +35 -87
- 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 +16 -53
- 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 +44 -50
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,57 @@
|
|
|
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.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **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))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **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))
|
|
28
|
+
* **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))
|
|
29
|
+
* 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))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **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))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
6
57
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
58
|
|
|
8
59
|
|
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 = 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) => ({
|
|
@@ -960,6 +911,12 @@ var StorageLensAwsOrg;
|
|
|
960
911
|
...obj,
|
|
961
912
|
});
|
|
962
913
|
})(StorageLensAwsOrg = exports.StorageLensAwsOrg || (exports.StorageLensAwsOrg = {}));
|
|
914
|
+
var CloudWatchMetrics;
|
|
915
|
+
(function (CloudWatchMetrics) {
|
|
916
|
+
CloudWatchMetrics.filterSensitiveLog = (obj) => ({
|
|
917
|
+
...obj,
|
|
918
|
+
});
|
|
919
|
+
})(CloudWatchMetrics = exports.CloudWatchMetrics || (exports.CloudWatchMetrics = {}));
|
|
963
920
|
var SSEKMS;
|
|
964
921
|
(function (SSEKMS) {
|
|
965
922
|
SSEKMS.filterSensitiveLog = (obj) => ({
|
|
@@ -1062,18 +1019,6 @@ var ListAccessPointsForObjectLambdaResult;
|
|
|
1062
1019
|
...obj,
|
|
1063
1020
|
});
|
|
1064
1021
|
})(ListAccessPointsForObjectLambdaResult = exports.ListAccessPointsForObjectLambdaResult || (exports.ListAccessPointsForObjectLambdaResult = {}));
|
|
1065
|
-
var InvalidNextTokenException;
|
|
1066
|
-
(function (InvalidNextTokenException) {
|
|
1067
|
-
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
1068
|
-
...obj,
|
|
1069
|
-
});
|
|
1070
|
-
})(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
|
|
1071
|
-
var InvalidRequestException;
|
|
1072
|
-
(function (InvalidRequestException) {
|
|
1073
|
-
InvalidRequestException.filterSensitiveLog = (obj) => ({
|
|
1074
|
-
...obj,
|
|
1075
|
-
});
|
|
1076
|
-
})(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
|
|
1077
1022
|
var ListJobsRequest;
|
|
1078
1023
|
(function (ListJobsRequest) {
|
|
1079
1024
|
ListJobsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1212,12 +1157,6 @@ var PutJobTaggingResult;
|
|
|
1212
1157
|
...obj,
|
|
1213
1158
|
});
|
|
1214
1159
|
})(PutJobTaggingResult = exports.PutJobTaggingResult || (exports.PutJobTaggingResult = {}));
|
|
1215
|
-
var TooManyTagsException;
|
|
1216
|
-
(function (TooManyTagsException) {
|
|
1217
|
-
TooManyTagsException.filterSensitiveLog = (obj) => ({
|
|
1218
|
-
...obj,
|
|
1219
|
-
});
|
|
1220
|
-
})(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
|
|
1221
1160
|
var PutMultiRegionAccessPointPolicyRequest;
|
|
1222
1161
|
(function (PutMultiRegionAccessPointPolicyRequest) {
|
|
1223
1162
|
PutMultiRegionAccessPointPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1266,12 +1205,6 @@ var UpdateJobPriorityResult;
|
|
|
1266
1205
|
...obj,
|
|
1267
1206
|
});
|
|
1268
1207
|
})(UpdateJobPriorityResult = exports.UpdateJobPriorityResult || (exports.UpdateJobPriorityResult = {}));
|
|
1269
|
-
var JobStatusException;
|
|
1270
|
-
(function (JobStatusException) {
|
|
1271
|
-
JobStatusException.filterSensitiveLog = (obj) => ({
|
|
1272
|
-
...obj,
|
|
1273
|
-
});
|
|
1274
|
-
})(JobStatusException = exports.JobStatusException || (exports.JobStatusException = {}));
|
|
1275
1208
|
var RequestedJobStatus;
|
|
1276
1209
|
(function (RequestedJobStatus) {
|
|
1277
1210
|
RequestedJobStatus["Cancelled"] = "Cancelled";
|
|
@@ -5218,6 +5218,14 @@ const serializeAws_restXmlBuckets = (input, context) => {
|
|
|
5218
5218
|
return node.withName("Arn");
|
|
5219
5219
|
});
|
|
5220
5220
|
};
|
|
5221
|
+
const serializeAws_restXmlCloudWatchMetrics = (input, context) => {
|
|
5222
|
+
const bodyNode = new xml_builder_1.XmlNode("CloudWatchMetrics");
|
|
5223
|
+
if (input.IsEnabled !== undefined && input.IsEnabled !== null) {
|
|
5224
|
+
const node = new xml_builder_1.XmlNode("IsEnabled").addChildNode(new xml_builder_1.XmlText(String(input.IsEnabled))).withName("IsEnabled");
|
|
5225
|
+
bodyNode.addChildNode(node);
|
|
5226
|
+
}
|
|
5227
|
+
return bodyNode;
|
|
5228
|
+
};
|
|
5221
5229
|
const serializeAws_restXmlCreateBucketConfiguration = (input, context) => {
|
|
5222
5230
|
const bodyNode = new xml_builder_1.XmlNode("CreateBucketConfiguration");
|
|
5223
5231
|
if (input.LocationConstraint !== undefined && input.LocationConstraint !== null) {
|
|
@@ -6273,6 +6281,10 @@ const serializeAws_restXmlStorageLensDataExport = (input, context) => {
|
|
|
6273
6281
|
const node = serializeAws_restXmlS3BucketDestination(input.S3BucketDestination, context).withName("S3BucketDestination");
|
|
6274
6282
|
bodyNode.addChildNode(node);
|
|
6275
6283
|
}
|
|
6284
|
+
if (input.CloudWatchMetrics !== undefined && input.CloudWatchMetrics !== null) {
|
|
6285
|
+
const node = serializeAws_restXmlCloudWatchMetrics(input.CloudWatchMetrics, context).withName("CloudWatchMetrics");
|
|
6286
|
+
bodyNode.addChildNode(node);
|
|
6287
|
+
}
|
|
6276
6288
|
return bodyNode;
|
|
6277
6289
|
};
|
|
6278
6290
|
const serializeAws_restXmlStorageLensDataExportEncryption = (input, context) => {
|
|
@@ -6547,6 +6559,15 @@ const deserializeAws_restXmlBuckets = (output, context) => {
|
|
|
6547
6559
|
return smithy_client_1.expectString(entry);
|
|
6548
6560
|
});
|
|
6549
6561
|
};
|
|
6562
|
+
const deserializeAws_restXmlCloudWatchMetrics = (output, context) => {
|
|
6563
|
+
const contents = {
|
|
6564
|
+
IsEnabled: undefined,
|
|
6565
|
+
};
|
|
6566
|
+
if (output["IsEnabled"] !== undefined) {
|
|
6567
|
+
contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
|
|
6568
|
+
}
|
|
6569
|
+
return contents;
|
|
6570
|
+
};
|
|
6550
6571
|
const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context) => {
|
|
6551
6572
|
const contents = {
|
|
6552
6573
|
Name: undefined,
|
|
@@ -7884,10 +7905,14 @@ const deserializeAws_restXmlStorageLensConfigurationList = (output, context) =>
|
|
|
7884
7905
|
const deserializeAws_restXmlStorageLensDataExport = (output, context) => {
|
|
7885
7906
|
const contents = {
|
|
7886
7907
|
S3BucketDestination: undefined,
|
|
7908
|
+
CloudWatchMetrics: undefined,
|
|
7887
7909
|
};
|
|
7888
7910
|
if (output["S3BucketDestination"] !== undefined) {
|
|
7889
7911
|
contents.S3BucketDestination = deserializeAws_restXmlS3BucketDestination(output["S3BucketDestination"], context);
|
|
7890
7912
|
}
|
|
7913
|
+
if (output["CloudWatchMetrics"] !== undefined) {
|
|
7914
|
+
contents.CloudWatchMetrics = deserializeAws_restXmlCloudWatchMetrics(output["CloudWatchMetrics"], context);
|
|
7915
|
+
}
|
|
7891
7916
|
return contents;
|
|
7892
7917
|
};
|
|
7893
7918
|
const deserializeAws_restXmlStorageLensDataExportEncryption = (output, context) => {
|
|
@@ -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)); };
|
|
@@ -685,6 +653,10 @@ export var StorageLensAwsOrg;
|
|
|
685
653
|
(function (StorageLensAwsOrg) {
|
|
686
654
|
StorageLensAwsOrg.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
687
655
|
})(StorageLensAwsOrg || (StorageLensAwsOrg = {}));
|
|
656
|
+
export var CloudWatchMetrics;
|
|
657
|
+
(function (CloudWatchMetrics) {
|
|
658
|
+
CloudWatchMetrics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
659
|
+
})(CloudWatchMetrics || (CloudWatchMetrics = {}));
|
|
688
660
|
export var SSEKMS;
|
|
689
661
|
(function (SSEKMS) {
|
|
690
662
|
SSEKMS.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -753,14 +725,6 @@ export var ListAccessPointsForObjectLambdaResult;
|
|
|
753
725
|
(function (ListAccessPointsForObjectLambdaResult) {
|
|
754
726
|
ListAccessPointsForObjectLambdaResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
755
727
|
})(ListAccessPointsForObjectLambdaResult || (ListAccessPointsForObjectLambdaResult = {}));
|
|
756
|
-
export var InvalidNextTokenException;
|
|
757
|
-
(function (InvalidNextTokenException) {
|
|
758
|
-
InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
759
|
-
})(InvalidNextTokenException || (InvalidNextTokenException = {}));
|
|
760
|
-
export var InvalidRequestException;
|
|
761
|
-
(function (InvalidRequestException) {
|
|
762
|
-
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
763
|
-
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
764
728
|
export var ListJobsRequest;
|
|
765
729
|
(function (ListJobsRequest) {
|
|
766
730
|
ListJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -856,10 +820,6 @@ export var PutJobTaggingResult;
|
|
|
856
820
|
(function (PutJobTaggingResult) {
|
|
857
821
|
PutJobTaggingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
858
822
|
})(PutJobTaggingResult || (PutJobTaggingResult = {}));
|
|
859
|
-
export var TooManyTagsException;
|
|
860
|
-
(function (TooManyTagsException) {
|
|
861
|
-
TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
862
|
-
})(TooManyTagsException || (TooManyTagsException = {}));
|
|
863
823
|
export var PutMultiRegionAccessPointPolicyRequest;
|
|
864
824
|
(function (PutMultiRegionAccessPointPolicyRequest) {
|
|
865
825
|
PutMultiRegionAccessPointPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -892,10 +852,6 @@ export var UpdateJobPriorityResult;
|
|
|
892
852
|
(function (UpdateJobPriorityResult) {
|
|
893
853
|
UpdateJobPriorityResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
894
854
|
})(UpdateJobPriorityResult || (UpdateJobPriorityResult = {}));
|
|
895
|
-
export var JobStatusException;
|
|
896
|
-
(function (JobStatusException) {
|
|
897
|
-
JobStatusException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
898
|
-
})(JobStatusException || (JobStatusException = {}));
|
|
899
855
|
export var RequestedJobStatus;
|
|
900
856
|
(function (RequestedJobStatus) {
|
|
901
857
|
RequestedJobStatus["Cancelled"] = "Cancelled";
|
|
@@ -6043,6 +6043,14 @@ var serializeAws_restXmlBuckets = function (input, context) {
|
|
|
6043
6043
|
return node.withName("Arn");
|
|
6044
6044
|
});
|
|
6045
6045
|
};
|
|
6046
|
+
var serializeAws_restXmlCloudWatchMetrics = function (input, context) {
|
|
6047
|
+
var bodyNode = new __XmlNode("CloudWatchMetrics");
|
|
6048
|
+
if (input.IsEnabled !== undefined && input.IsEnabled !== null) {
|
|
6049
|
+
var node = new __XmlNode("IsEnabled").addChildNode(new __XmlText(String(input.IsEnabled))).withName("IsEnabled");
|
|
6050
|
+
bodyNode.addChildNode(node);
|
|
6051
|
+
}
|
|
6052
|
+
return bodyNode;
|
|
6053
|
+
};
|
|
6046
6054
|
var serializeAws_restXmlCreateBucketConfiguration = function (input, context) {
|
|
6047
6055
|
var bodyNode = new __XmlNode("CreateBucketConfiguration");
|
|
6048
6056
|
if (input.LocationConstraint !== undefined && input.LocationConstraint !== null) {
|
|
@@ -7098,6 +7106,10 @@ var serializeAws_restXmlStorageLensDataExport = function (input, context) {
|
|
|
7098
7106
|
var node = serializeAws_restXmlS3BucketDestination(input.S3BucketDestination, context).withName("S3BucketDestination");
|
|
7099
7107
|
bodyNode.addChildNode(node);
|
|
7100
7108
|
}
|
|
7109
|
+
if (input.CloudWatchMetrics !== undefined && input.CloudWatchMetrics !== null) {
|
|
7110
|
+
var node = serializeAws_restXmlCloudWatchMetrics(input.CloudWatchMetrics, context).withName("CloudWatchMetrics");
|
|
7111
|
+
bodyNode.addChildNode(node);
|
|
7112
|
+
}
|
|
7101
7113
|
return bodyNode;
|
|
7102
7114
|
};
|
|
7103
7115
|
var serializeAws_restXmlStorageLensDataExportEncryption = function (input, context) {
|
|
@@ -7372,6 +7384,15 @@ var deserializeAws_restXmlBuckets = function (output, context) {
|
|
|
7372
7384
|
return __expectString(entry);
|
|
7373
7385
|
});
|
|
7374
7386
|
};
|
|
7387
|
+
var deserializeAws_restXmlCloudWatchMetrics = function (output, context) {
|
|
7388
|
+
var contents = {
|
|
7389
|
+
IsEnabled: undefined,
|
|
7390
|
+
};
|
|
7391
|
+
if (output["IsEnabled"] !== undefined) {
|
|
7392
|
+
contents.IsEnabled = __parseBoolean(output["IsEnabled"]);
|
|
7393
|
+
}
|
|
7394
|
+
return contents;
|
|
7395
|
+
};
|
|
7375
7396
|
var deserializeAws_restXmlCreateMultiRegionAccessPointInput = function (output, context) {
|
|
7376
7397
|
var contents = {
|
|
7377
7398
|
Name: undefined,
|
|
@@ -8705,10 +8726,14 @@ var deserializeAws_restXmlStorageLensConfigurationList = function (output, conte
|
|
|
8705
8726
|
var deserializeAws_restXmlStorageLensDataExport = function (output, context) {
|
|
8706
8727
|
var contents = {
|
|
8707
8728
|
S3BucketDestination: undefined,
|
|
8729
|
+
CloudWatchMetrics: undefined,
|
|
8708
8730
|
};
|
|
8709
8731
|
if (output["S3BucketDestination"] !== undefined) {
|
|
8710
8732
|
contents.S3BucketDestination = deserializeAws_restXmlS3BucketDestination(output["S3BucketDestination"], context);
|
|
8711
8733
|
}
|
|
8734
|
+
if (output["CloudWatchMetrics"] !== undefined) {
|
|
8735
|
+
contents.CloudWatchMetrics = deserializeAws_restXmlCloudWatchMetrics(output["CloudWatchMetrics"], context);
|
|
8736
|
+
}
|
|
8712
8737
|
return contents;
|
|
8713
8738
|
};
|
|
8714
8739
|
var deserializeAws_restXmlStorageLensDataExportEncryption = function (output, context) {
|
|
@@ -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
|
};
|