@aws-sdk/client-s3-control 3.211.0 → 3.213.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +16 -4
- package/dist-cjs/protocols/Aws_restXml.js +103 -8
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_restXml.js +103 -8
- package/dist-types/S3Control.d.ts +2 -2
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +115 -32
- package/dist-types/ts3.4/models/models_0.d.ts +24 -0
- package/package.json +33 -33
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VpcConfigurationFilterSensitiveLog = exports.AbortIncompleteMultipartUploadFilterSensitiveLog = exports.RequestedJobStatus = exports.JobStatusException = exports.TooManyTagsException = exports.MFADelete = exports.OperationName = exports.InvalidRequestException = exports.InvalidNextTokenException = exports.OutputSchemaVersion = exports.Format = exports.NoSuchPublicAccessBlockConfiguration = exports.MultiRegionAccessPointStatus = exports.BucketVersioningStatus = exports.MFADeleteStatus = exports.ExpirationStatus = exports.TransitionStorageClass = exports.JobStatus = exports.NotFoundException = exports.TooManyRequestsException = exports.InternalServiceException = exports.IdempotencyException = exports.JobReportScope = exports.JobReportFormat = exports.S3ObjectLockRetentionMode = exports.S3StorageClass = exports.S3ObjectLockMode = exports.S3ObjectLockLegalHoldStatus = exports.S3SSEAlgorithm = exports.S3MetadataDirective = exports.S3ChecksumAlgorithm = exports.S3CannedAccessControlList = exports.S3Permission = exports.S3GranteeTypeIdentifier = exports.S3GlacierJobTier = exports.JobManifestGenerator = exports.GeneratedManifestFormat = exports.ReplicationStatus = exports.JobManifestFormat = exports.JobManifestFieldName = exports.BadRequestException = exports.BucketLocationConstraint = exports.BucketCannedACL = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectLambdaContentTransformation = exports.ObjectLambdaTransformationConfigurationAction = exports.ObjectLambdaAllowedFeature = exports.AsyncOperationName = exports.NetworkOrigin = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateJobStatusResultFilterSensitiveLog = exports.UpdateJobStatusRequestFilterSensitiveLog = exports.UpdateJobPriorityResultFilterSensitiveLog = exports.UpdateJobPriorityRequestFilterSensitiveLog = exports.PutStorageLensConfigurationTaggingResultFilterSensitiveLog = exports.PutStorageLensConfigurationTaggingRequestFilterSensitiveLog = exports.PutStorageLensConfigurationRequestFilterSensitiveLog = exports.PutPublicAccessBlockRequestFilterSensitiveLog = exports.PutMultiRegionAccessPointPolicyResultFilterSensitiveLog = exports.PutMultiRegionAccessPointPolicyRequestFilterSensitiveLog = exports.PutJobTaggingResultFilterSensitiveLog = exports.PutJobTaggingRequestFilterSensitiveLog = exports.PutBucketVersioningRequestFilterSensitiveLog = exports.VersioningConfigurationFilterSensitiveLog = exports.PutBucketTaggingRequestFilterSensitiveLog = exports.TaggingFilterSensitiveLog = exports.PutBucketPolicyRequestFilterSensitiveLog = exports.PutBucketLifecycleConfigurationRequestFilterSensitiveLog = exports.LifecycleConfigurationFilterSensitiveLog = exports.PutAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog = exports.PutAccessPointPolicyRequestFilterSensitiveLog = exports.PutAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog = exports.ListStorageLensConfigurationsResultFilterSensitiveLog = exports.ListStorageLensConfigurationEntryFilterSensitiveLog = exports.ListStorageLensConfigurationsRequestFilterSensitiveLog = exports.ListRegionalBucketsResultFilterSensitiveLog = exports.RegionalBucketFilterSensitiveLog = exports.ListRegionalBucketsRequestFilterSensitiveLog = exports.ListMultiRegionAccessPointsResultFilterSensitiveLog = exports.ListMultiRegionAccessPointsRequestFilterSensitiveLog = exports.ListJobsResultFilterSensitiveLog = exports.JobListDescriptorFilterSensitiveLog = exports.ListJobsRequestFilterSensitiveLog = exports.ListAccessPointsForObjectLambdaResultFilterSensitiveLog = exports.ObjectLambdaAccessPointFilterSensitiveLog = exports.ListAccessPointsForObjectLambdaRequestFilterSensitiveLog = exports.ListAccessPointsResultFilterSensitiveLog = exports.ListAccessPointsRequestFilterSensitiveLog = void 0;
|
|
4
|
+
exports.S3AccessControlPolicyFilterSensitiveLog = exports.S3AccessControlListFilterSensitiveLog = exports.S3ObjectOwnerFilterSensitiveLog = exports.S3GrantFilterSensitiveLog = exports.S3GranteeFilterSensitiveLog = exports.S3InitiateRestoreObjectOperationFilterSensitiveLog = exports.S3DeleteObjectTaggingOperationFilterSensitiveLog = exports.LambdaInvokeOperationFilterSensitiveLog = exports.JobManifestGeneratorFilterSensitiveLog = exports.S3JobManifestGeneratorFilterSensitiveLog = exports.S3ManifestOutputLocationFilterSensitiveLog = exports.GeneratedManifestEncryptionFilterSensitiveLog = exports.SSES3EncryptionFilterSensitiveLog = exports.SSEKMSEncryptionFilterSensitiveLog = exports.JobManifestGeneratorFilterFilterSensitiveLog = exports.JobManifestFilterSensitiveLog = exports.JobManifestSpecFilterSensitiveLog = exports.JobManifestLocationFilterSensitiveLog = exports.CreateBucketResultFilterSensitiveLog = exports.CreateBucketRequestFilterSensitiveLog = exports.CreateBucketConfigurationFilterSensitiveLog = exports.CreateAccessPointForObjectLambdaResultFilterSensitiveLog = exports.CreateAccessPointForObjectLambdaRequestFilterSensitiveLog = exports.ObjectLambdaConfigurationFilterSensitiveLog = exports.ObjectLambdaTransformationConfigurationFilterSensitiveLog = exports.ObjectLambdaContentTransformationFilterSensitiveLog = exports.CreateAccessPointResultFilterSensitiveLog = exports.CreateAccessPointRequestFilterSensitiveLog = exports.AwsLambdaTransformationFilterSensitiveLog = exports.AsyncOperationFilterSensitiveLog = exports.AsyncResponseDetailsFilterSensitiveLog = exports.MultiRegionAccessPointsAsyncResponseFilterSensitiveLog = exports.MultiRegionAccessPointRegionalResponseFilterSensitiveLog = exports.AsyncRequestParametersFilterSensitiveLog = exports.PutMultiRegionAccessPointPolicyInputFilterSensitiveLog = exports.DeleteMultiRegionAccessPointInputFilterSensitiveLog = exports.CreateMultiRegionAccessPointInputFilterSensitiveLog = exports.RegionFilterSensitiveLog = exports.PublicAccessBlockConfigurationFilterSensitiveLog = exports.AsyncErrorDetailsFilterSensitiveLog = exports.AccountLevelFilterSensitiveLog = exports.BucketLevelFilterSensitiveLog = exports.PrefixLevelFilterSensitiveLog = exports.PrefixLevelStorageMetricsFilterSensitiveLog = exports.SelectionCriteriaFilterSensitiveLog = exports.DetailedStatusCodesMetricsFilterSensitiveLog = exports.AdvancedDataProtectionMetricsFilterSensitiveLog = exports.AdvancedCostOptimizationMetricsFilterSensitiveLog = exports.ActivityMetricsFilterSensitiveLog = exports.AccessPointFilterSensitiveLog = void 0;
|
|
5
|
+
exports.GetAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog = exports.GetAccessPointPolicyResultFilterSensitiveLog = exports.GetAccessPointPolicyRequestFilterSensitiveLog = exports.GetAccessPointForObjectLambdaResultFilterSensitiveLog = exports.GetAccessPointForObjectLambdaRequestFilterSensitiveLog = exports.GetAccessPointConfigurationForObjectLambdaResultFilterSensitiveLog = exports.GetAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog = exports.GetAccessPointResultFilterSensitiveLog = exports.GetAccessPointRequestFilterSensitiveLog = exports.DescribeMultiRegionAccessPointOperationResultFilterSensitiveLog = exports.DescribeMultiRegionAccessPointOperationRequestFilterSensitiveLog = exports.DescribeJobResultFilterSensitiveLog = exports.JobDescriptorFilterSensitiveLog = exports.JobProgressSummaryFilterSensitiveLog = exports.JobTimersFilterSensitiveLog = exports.S3GeneratedManifestDescriptorFilterSensitiveLog = exports.JobFailureFilterSensitiveLog = exports.DescribeJobRequestFilterSensitiveLog = exports.DeleteStorageLensConfigurationTaggingResultFilterSensitiveLog = exports.DeleteStorageLensConfigurationTaggingRequestFilterSensitiveLog = exports.DeleteStorageLensConfigurationRequestFilterSensitiveLog = exports.DeletePublicAccessBlockRequestFilterSensitiveLog = exports.DeleteMultiRegionAccessPointResultFilterSensitiveLog = exports.DeleteMultiRegionAccessPointRequestFilterSensitiveLog = exports.DeleteJobTaggingResultFilterSensitiveLog = exports.DeleteJobTaggingRequestFilterSensitiveLog = exports.DeleteBucketTaggingRequestFilterSensitiveLog = exports.DeleteBucketPolicyRequestFilterSensitiveLog = exports.DeleteBucketLifecycleConfigurationRequestFilterSensitiveLog = exports.DeleteBucketRequestFilterSensitiveLog = exports.DeleteAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog = exports.DeleteAccessPointPolicyRequestFilterSensitiveLog = exports.DeleteAccessPointForObjectLambdaRequestFilterSensitiveLog = exports.DeleteAccessPointRequestFilterSensitiveLog = exports.CreateMultiRegionAccessPointResultFilterSensitiveLog = exports.CreateMultiRegionAccessPointRequestFilterSensitiveLog = exports.CreateJobResultFilterSensitiveLog = exports.CreateJobRequestFilterSensitiveLog = exports.JobReportFilterSensitiveLog = exports.JobOperationFilterSensitiveLog = exports.S3ReplicateObjectOperationFilterSensitiveLog = exports.S3SetObjectTaggingOperationFilterSensitiveLog = exports.S3SetObjectRetentionOperationFilterSensitiveLog = exports.S3RetentionFilterSensitiveLog = exports.S3SetObjectLegalHoldOperationFilterSensitiveLog = exports.S3ObjectLockLegalHoldFilterSensitiveLog = exports.S3CopyObjectOperationFilterSensitiveLog = exports.S3TagFilterSensitiveLog = exports.S3ObjectMetadataFilterSensitiveLog = exports.S3SetObjectAclOperationFilterSensitiveLog = void 0;
|
|
6
|
+
exports.GetStorageLensConfigurationResultFilterSensitiveLog = exports.StorageLensConfigurationFilterSensitiveLog = exports.IncludeFilterSensitiveLog = exports._ExcludeFilterSensitiveLog = exports.StorageLensDataExportFilterSensitiveLog = exports.S3BucketDestinationFilterSensitiveLog = exports.StorageLensDataExportEncryptionFilterSensitiveLog = exports.SSES3FilterSensitiveLog = exports.SSEKMSFilterSensitiveLog = exports.CloudWatchMetricsFilterSensitiveLog = exports.StorageLensAwsOrgFilterSensitiveLog = exports.GetStorageLensConfigurationRequestFilterSensitiveLog = exports.GetPublicAccessBlockRequestFilterSensitiveLog = exports.GetPublicAccessBlockOutputFilterSensitiveLog = exports.GetMultiRegionAccessPointPolicyStatusResultFilterSensitiveLog = exports.GetMultiRegionAccessPointPolicyStatusRequestFilterSensitiveLog = exports.GetMultiRegionAccessPointPolicyResultFilterSensitiveLog = exports.MultiRegionAccessPointPolicyDocumentFilterSensitiveLog = exports.ProposedMultiRegionAccessPointPolicyFilterSensitiveLog = exports.EstablishedMultiRegionAccessPointPolicyFilterSensitiveLog = exports.GetMultiRegionAccessPointPolicyRequestFilterSensitiveLog = exports.GetMultiRegionAccessPointResultFilterSensitiveLog = exports.MultiRegionAccessPointReportFilterSensitiveLog = exports.RegionReportFilterSensitiveLog = exports.GetMultiRegionAccessPointRequestFilterSensitiveLog = exports.GetJobTaggingResultFilterSensitiveLog = exports.GetJobTaggingRequestFilterSensitiveLog = exports.GetBucketVersioningResultFilterSensitiveLog = exports.GetBucketVersioningRequestFilterSensitiveLog = exports.GetBucketTaggingResultFilterSensitiveLog = exports.GetBucketTaggingRequestFilterSensitiveLog = exports.GetBucketPolicyResultFilterSensitiveLog = exports.GetBucketPolicyRequestFilterSensitiveLog = exports.GetBucketLifecycleConfigurationResultFilterSensitiveLog = exports.LifecycleRuleFilterSensitiveLog = exports.TransitionFilterSensitiveLog = exports.NoncurrentVersionTransitionFilterSensitiveLog = exports.NoncurrentVersionExpirationFilterSensitiveLog = exports.LifecycleRuleFilterFilterSensitiveLog = exports.LifecycleRuleAndOperatorFilterSensitiveLog = exports.LifecycleExpirationFilterSensitiveLog = exports.GetBucketLifecycleConfigurationRequestFilterSensitiveLog = exports.GetBucketResultFilterSensitiveLog = exports.GetBucketRequestFilterSensitiveLog = exports.GetAccessPointPolicyStatusForObjectLambdaResultFilterSensitiveLog = exports.GetAccessPointPolicyStatusForObjectLambdaRequestFilterSensitiveLog = exports.GetAccessPointPolicyStatusResultFilterSensitiveLog = exports.PolicyStatusFilterSensitiveLog = exports.GetAccessPointPolicyStatusRequestFilterSensitiveLog = exports.GetAccessPointPolicyForObjectLambdaResultFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UpdateJobStatusResultFilterSensitiveLog = exports.UpdateJobStatusRequestFilterSensitiveLog = exports.UpdateJobPriorityResultFilterSensitiveLog = exports.UpdateJobPriorityRequestFilterSensitiveLog = exports.PutStorageLensConfigurationTaggingResultFilterSensitiveLog = exports.PutStorageLensConfigurationTaggingRequestFilterSensitiveLog = exports.PutStorageLensConfigurationRequestFilterSensitiveLog = exports.PutPublicAccessBlockRequestFilterSensitiveLog = exports.PutMultiRegionAccessPointPolicyResultFilterSensitiveLog = exports.PutMultiRegionAccessPointPolicyRequestFilterSensitiveLog = exports.PutJobTaggingResultFilterSensitiveLog = exports.PutJobTaggingRequestFilterSensitiveLog = exports.PutBucketVersioningRequestFilterSensitiveLog = exports.VersioningConfigurationFilterSensitiveLog = exports.PutBucketTaggingRequestFilterSensitiveLog = exports.TaggingFilterSensitiveLog = exports.PutBucketPolicyRequestFilterSensitiveLog = exports.PutBucketLifecycleConfigurationRequestFilterSensitiveLog = exports.LifecycleConfigurationFilterSensitiveLog = exports.PutAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog = exports.PutAccessPointPolicyRequestFilterSensitiveLog = exports.PutAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog = exports.ListStorageLensConfigurationsResultFilterSensitiveLog = exports.ListStorageLensConfigurationEntryFilterSensitiveLog = exports.ListStorageLensConfigurationsRequestFilterSensitiveLog = exports.ListRegionalBucketsResultFilterSensitiveLog = exports.RegionalBucketFilterSensitiveLog = exports.ListRegionalBucketsRequestFilterSensitiveLog = exports.ListMultiRegionAccessPointsResultFilterSensitiveLog = exports.ListMultiRegionAccessPointsRequestFilterSensitiveLog = exports.ListJobsResultFilterSensitiveLog = exports.JobListDescriptorFilterSensitiveLog = exports.ListJobsRequestFilterSensitiveLog = exports.ListAccessPointsForObjectLambdaResultFilterSensitiveLog = exports.ObjectLambdaAccessPointFilterSensitiveLog = exports.ListAccessPointsForObjectLambdaRequestFilterSensitiveLog = exports.ListAccessPointsResultFilterSensitiveLog = exports.ListAccessPointsRequestFilterSensitiveLog = exports.GetStorageLensConfigurationTaggingResultFilterSensitiveLog = exports.StorageLensTagFilterSensitiveLog = exports.GetStorageLensConfigurationTaggingRequestFilterSensitiveLog = void 0;
|
|
8
8
|
const S3ControlServiceException_1 = require("./S3ControlServiceException");
|
|
9
9
|
var NetworkOrigin;
|
|
10
10
|
(function (NetworkOrigin) {
|
|
@@ -432,6 +432,18 @@ const ActivityMetricsFilterSensitiveLog = (obj) => ({
|
|
|
432
432
|
...obj,
|
|
433
433
|
});
|
|
434
434
|
exports.ActivityMetricsFilterSensitiveLog = ActivityMetricsFilterSensitiveLog;
|
|
435
|
+
const AdvancedCostOptimizationMetricsFilterSensitiveLog = (obj) => ({
|
|
436
|
+
...obj,
|
|
437
|
+
});
|
|
438
|
+
exports.AdvancedCostOptimizationMetricsFilterSensitiveLog = AdvancedCostOptimizationMetricsFilterSensitiveLog;
|
|
439
|
+
const AdvancedDataProtectionMetricsFilterSensitiveLog = (obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
});
|
|
442
|
+
exports.AdvancedDataProtectionMetricsFilterSensitiveLog = AdvancedDataProtectionMetricsFilterSensitiveLog;
|
|
443
|
+
const DetailedStatusCodesMetricsFilterSensitiveLog = (obj) => ({
|
|
444
|
+
...obj,
|
|
445
|
+
});
|
|
446
|
+
exports.DetailedStatusCodesMetricsFilterSensitiveLog = DetailedStatusCodesMetricsFilterSensitiveLog;
|
|
435
447
|
const SelectionCriteriaFilterSensitiveLog = (obj) => ({
|
|
436
448
|
...obj,
|
|
437
449
|
});
|
|
@@ -4061,6 +4061,18 @@ const serializeAws_restXmlAccountLevel = (input, context) => {
|
|
|
4061
4061
|
const node = serializeAws_restXmlBucketLevel(input.BucketLevel, context).withName("BucketLevel");
|
|
4062
4062
|
bodyNode.addChildNode(node);
|
|
4063
4063
|
}
|
|
4064
|
+
if (input.AdvancedCostOptimizationMetrics != null) {
|
|
4065
|
+
const node = serializeAws_restXmlAdvancedCostOptimizationMetrics(input.AdvancedCostOptimizationMetrics, context).withName("AdvancedCostOptimizationMetrics");
|
|
4066
|
+
bodyNode.addChildNode(node);
|
|
4067
|
+
}
|
|
4068
|
+
if (input.AdvancedDataProtectionMetrics != null) {
|
|
4069
|
+
const node = serializeAws_restXmlAdvancedDataProtectionMetrics(input.AdvancedDataProtectionMetrics, context).withName("AdvancedDataProtectionMetrics");
|
|
4070
|
+
bodyNode.addChildNode(node);
|
|
4071
|
+
}
|
|
4072
|
+
if (input.DetailedStatusCodesMetrics != null) {
|
|
4073
|
+
const node = serializeAws_restXmlDetailedStatusCodesMetrics(input.DetailedStatusCodesMetrics, context).withName("DetailedStatusCodesMetrics");
|
|
4074
|
+
bodyNode.addChildNode(node);
|
|
4075
|
+
}
|
|
4064
4076
|
return bodyNode;
|
|
4065
4077
|
};
|
|
4066
4078
|
const serializeAws_restXmlActivityMetrics = (input, context) => {
|
|
@@ -4071,6 +4083,22 @@ const serializeAws_restXmlActivityMetrics = (input, context) => {
|
|
|
4071
4083
|
}
|
|
4072
4084
|
return bodyNode;
|
|
4073
4085
|
};
|
|
4086
|
+
const serializeAws_restXmlAdvancedCostOptimizationMetrics = (input, context) => {
|
|
4087
|
+
const bodyNode = new xml_builder_1.XmlNode("AdvancedCostOptimizationMetrics");
|
|
4088
|
+
if (input.IsEnabled != null) {
|
|
4089
|
+
const node = xml_builder_1.XmlNode.of("IsEnabled", String(input.IsEnabled)).withName("IsEnabled");
|
|
4090
|
+
bodyNode.addChildNode(node);
|
|
4091
|
+
}
|
|
4092
|
+
return bodyNode;
|
|
4093
|
+
};
|
|
4094
|
+
const serializeAws_restXmlAdvancedDataProtectionMetrics = (input, context) => {
|
|
4095
|
+
const bodyNode = new xml_builder_1.XmlNode("AdvancedDataProtectionMetrics");
|
|
4096
|
+
if (input.IsEnabled != null) {
|
|
4097
|
+
const node = xml_builder_1.XmlNode.of("IsEnabled", String(input.IsEnabled)).withName("IsEnabled");
|
|
4098
|
+
bodyNode.addChildNode(node);
|
|
4099
|
+
}
|
|
4100
|
+
return bodyNode;
|
|
4101
|
+
};
|
|
4074
4102
|
const serializeAws_restXmlAwsLambdaTransformation = (input, context) => {
|
|
4075
4103
|
const bodyNode = new xml_builder_1.XmlNode("AwsLambdaTransformation");
|
|
4076
4104
|
if (input.FunctionArn != null) {
|
|
@@ -4093,6 +4121,18 @@ const serializeAws_restXmlBucketLevel = (input, context) => {
|
|
|
4093
4121
|
const node = serializeAws_restXmlPrefixLevel(input.PrefixLevel, context).withName("PrefixLevel");
|
|
4094
4122
|
bodyNode.addChildNode(node);
|
|
4095
4123
|
}
|
|
4124
|
+
if (input.AdvancedCostOptimizationMetrics != null) {
|
|
4125
|
+
const node = serializeAws_restXmlAdvancedCostOptimizationMetrics(input.AdvancedCostOptimizationMetrics, context).withName("AdvancedCostOptimizationMetrics");
|
|
4126
|
+
bodyNode.addChildNode(node);
|
|
4127
|
+
}
|
|
4128
|
+
if (input.AdvancedDataProtectionMetrics != null) {
|
|
4129
|
+
const node = serializeAws_restXmlAdvancedDataProtectionMetrics(input.AdvancedDataProtectionMetrics, context).withName("AdvancedDataProtectionMetrics");
|
|
4130
|
+
bodyNode.addChildNode(node);
|
|
4131
|
+
}
|
|
4132
|
+
if (input.DetailedStatusCodesMetrics != null) {
|
|
4133
|
+
const node = serializeAws_restXmlDetailedStatusCodesMetrics(input.DetailedStatusCodesMetrics, context).withName("DetailedStatusCodesMetrics");
|
|
4134
|
+
bodyNode.addChildNode(node);
|
|
4135
|
+
}
|
|
4096
4136
|
return bodyNode;
|
|
4097
4137
|
};
|
|
4098
4138
|
const serializeAws_restXmlBuckets = (input, context) => {
|
|
@@ -4147,6 +4187,14 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointInput = (input, context) =
|
|
|
4147
4187
|
}
|
|
4148
4188
|
return bodyNode;
|
|
4149
4189
|
};
|
|
4190
|
+
const serializeAws_restXmlDetailedStatusCodesMetrics = (input, context) => {
|
|
4191
|
+
const bodyNode = new xml_builder_1.XmlNode("DetailedStatusCodesMetrics");
|
|
4192
|
+
if (input.IsEnabled != null) {
|
|
4193
|
+
const node = xml_builder_1.XmlNode.of("IsEnabled", String(input.IsEnabled)).withName("IsEnabled");
|
|
4194
|
+
bodyNode.addChildNode(node);
|
|
4195
|
+
}
|
|
4196
|
+
return bodyNode;
|
|
4197
|
+
};
|
|
4150
4198
|
const serializeAws_restXml_Exclude = (input, context) => {
|
|
4151
4199
|
const bodyNode = new xml_builder_1.XmlNode("Exclude");
|
|
4152
4200
|
if (input.Buckets != null) {
|
|
@@ -5361,6 +5409,9 @@ const deserializeAws_restXmlAccountLevel = (output, context) => {
|
|
|
5361
5409
|
const contents = {
|
|
5362
5410
|
ActivityMetrics: undefined,
|
|
5363
5411
|
BucketLevel: undefined,
|
|
5412
|
+
AdvancedCostOptimizationMetrics: undefined,
|
|
5413
|
+
AdvancedDataProtectionMetrics: undefined,
|
|
5414
|
+
DetailedStatusCodesMetrics: undefined,
|
|
5364
5415
|
};
|
|
5365
5416
|
if (output["ActivityMetrics"] !== undefined) {
|
|
5366
5417
|
contents.ActivityMetrics = deserializeAws_restXmlActivityMetrics(output["ActivityMetrics"], context);
|
|
@@ -5368,6 +5419,15 @@ const deserializeAws_restXmlAccountLevel = (output, context) => {
|
|
|
5368
5419
|
if (output["BucketLevel"] !== undefined) {
|
|
5369
5420
|
contents.BucketLevel = deserializeAws_restXmlBucketLevel(output["BucketLevel"], context);
|
|
5370
5421
|
}
|
|
5422
|
+
if (output["AdvancedCostOptimizationMetrics"] !== undefined) {
|
|
5423
|
+
contents.AdvancedCostOptimizationMetrics = deserializeAws_restXmlAdvancedCostOptimizationMetrics(output["AdvancedCostOptimizationMetrics"], context);
|
|
5424
|
+
}
|
|
5425
|
+
if (output["AdvancedDataProtectionMetrics"] !== undefined) {
|
|
5426
|
+
contents.AdvancedDataProtectionMetrics = deserializeAws_restXmlAdvancedDataProtectionMetrics(output["AdvancedDataProtectionMetrics"], context);
|
|
5427
|
+
}
|
|
5428
|
+
if (output["DetailedStatusCodesMetrics"] !== undefined) {
|
|
5429
|
+
contents.DetailedStatusCodesMetrics = deserializeAws_restXmlDetailedStatusCodesMetrics(output["DetailedStatusCodesMetrics"], context);
|
|
5430
|
+
}
|
|
5371
5431
|
return contents;
|
|
5372
5432
|
};
|
|
5373
5433
|
const deserializeAws_restXmlActivityMetrics = (output, context) => {
|
|
@@ -5379,6 +5439,24 @@ const deserializeAws_restXmlActivityMetrics = (output, context) => {
|
|
|
5379
5439
|
}
|
|
5380
5440
|
return contents;
|
|
5381
5441
|
};
|
|
5442
|
+
const deserializeAws_restXmlAdvancedCostOptimizationMetrics = (output, context) => {
|
|
5443
|
+
const contents = {
|
|
5444
|
+
IsEnabled: undefined,
|
|
5445
|
+
};
|
|
5446
|
+
if (output["IsEnabled"] !== undefined) {
|
|
5447
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
5448
|
+
}
|
|
5449
|
+
return contents;
|
|
5450
|
+
};
|
|
5451
|
+
const deserializeAws_restXmlAdvancedDataProtectionMetrics = (output, context) => {
|
|
5452
|
+
const contents = {
|
|
5453
|
+
IsEnabled: undefined,
|
|
5454
|
+
};
|
|
5455
|
+
if (output["IsEnabled"] !== undefined) {
|
|
5456
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
5457
|
+
}
|
|
5458
|
+
return contents;
|
|
5459
|
+
};
|
|
5382
5460
|
const deserializeAws_restXmlAsyncErrorDetails = (output, context) => {
|
|
5383
5461
|
const contents = {
|
|
5384
5462
|
Code: undefined,
|
|
@@ -5476,6 +5554,9 @@ const deserializeAws_restXmlBucketLevel = (output, context) => {
|
|
|
5476
5554
|
const contents = {
|
|
5477
5555
|
ActivityMetrics: undefined,
|
|
5478
5556
|
PrefixLevel: undefined,
|
|
5557
|
+
AdvancedCostOptimizationMetrics: undefined,
|
|
5558
|
+
AdvancedDataProtectionMetrics: undefined,
|
|
5559
|
+
DetailedStatusCodesMetrics: undefined,
|
|
5479
5560
|
};
|
|
5480
5561
|
if (output["ActivityMetrics"] !== undefined) {
|
|
5481
5562
|
contents.ActivityMetrics = deserializeAws_restXmlActivityMetrics(output["ActivityMetrics"], context);
|
|
@@ -5483,6 +5564,15 @@ const deserializeAws_restXmlBucketLevel = (output, context) => {
|
|
|
5483
5564
|
if (output["PrefixLevel"] !== undefined) {
|
|
5484
5565
|
contents.PrefixLevel = deserializeAws_restXmlPrefixLevel(output["PrefixLevel"], context);
|
|
5485
5566
|
}
|
|
5567
|
+
if (output["AdvancedCostOptimizationMetrics"] !== undefined) {
|
|
5568
|
+
contents.AdvancedCostOptimizationMetrics = deserializeAws_restXmlAdvancedCostOptimizationMetrics(output["AdvancedCostOptimizationMetrics"], context);
|
|
5569
|
+
}
|
|
5570
|
+
if (output["AdvancedDataProtectionMetrics"] !== undefined) {
|
|
5571
|
+
contents.AdvancedDataProtectionMetrics = deserializeAws_restXmlAdvancedDataProtectionMetrics(output["AdvancedDataProtectionMetrics"], context);
|
|
5572
|
+
}
|
|
5573
|
+
if (output["DetailedStatusCodesMetrics"] !== undefined) {
|
|
5574
|
+
contents.DetailedStatusCodesMetrics = deserializeAws_restXmlDetailedStatusCodesMetrics(output["DetailedStatusCodesMetrics"], context);
|
|
5575
|
+
}
|
|
5486
5576
|
return contents;
|
|
5487
5577
|
};
|
|
5488
5578
|
const deserializeAws_restXmlBuckets = (output, context) => {
|
|
@@ -5530,15 +5620,22 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context
|
|
|
5530
5620
|
}
|
|
5531
5621
|
return contents;
|
|
5532
5622
|
};
|
|
5623
|
+
const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
|
|
5624
|
+
const contents = {
|
|
5625
|
+
IsEnabled: undefined,
|
|
5626
|
+
};
|
|
5627
|
+
if (output["IsEnabled"] !== undefined) {
|
|
5628
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
5629
|
+
}
|
|
5630
|
+
return contents;
|
|
5631
|
+
};
|
|
5533
5632
|
const deserializeAws_restXmlEndpoints = (output, context) => {
|
|
5534
5633
|
return output.reduce((acc, pair) => {
|
|
5535
5634
|
if (pair["value"] === null) {
|
|
5536
5635
|
return acc;
|
|
5537
5636
|
}
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
[pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
|
|
5541
|
-
};
|
|
5637
|
+
acc[pair["key"]] = (0, smithy_client_1.expectString)(pair["value"]);
|
|
5638
|
+
return acc;
|
|
5542
5639
|
}, {});
|
|
5543
5640
|
};
|
|
5544
5641
|
const deserializeAws_restXmlEstablishedMultiRegionAccessPointPolicy = (output, context) => {
|
|
@@ -6865,10 +6962,8 @@ const deserializeAws_restXmlS3UserMetadata = (output, context) => {
|
|
|
6865
6962
|
if (pair["value"] === null) {
|
|
6866
6963
|
return acc;
|
|
6867
6964
|
}
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
[pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
|
|
6871
|
-
};
|
|
6965
|
+
acc[pair["key"]] = (0, smithy_client_1.expectString)(pair["value"]);
|
|
6966
|
+
return acc;
|
|
6872
6967
|
}, {});
|
|
6873
6968
|
};
|
|
6874
6969
|
const deserializeAws_restXmlSelectionCriteria = (output, context) => {
|
|
@@ -409,6 +409,15 @@ export const AccessPointFilterSensitiveLog = (obj) => ({
|
|
|
409
409
|
export const ActivityMetricsFilterSensitiveLog = (obj) => ({
|
|
410
410
|
...obj,
|
|
411
411
|
});
|
|
412
|
+
export const AdvancedCostOptimizationMetricsFilterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
});
|
|
415
|
+
export const AdvancedDataProtectionMetricsFilterSensitiveLog = (obj) => ({
|
|
416
|
+
...obj,
|
|
417
|
+
});
|
|
418
|
+
export const DetailedStatusCodesMetricsFilterSensitiveLog = (obj) => ({
|
|
419
|
+
...obj,
|
|
420
|
+
});
|
|
412
421
|
export const SelectionCriteriaFilterSensitiveLog = (obj) => ({
|
|
413
422
|
...obj,
|
|
414
423
|
});
|
|
@@ -3938,6 +3938,18 @@ const serializeAws_restXmlAccountLevel = (input, context) => {
|
|
|
3938
3938
|
const node = serializeAws_restXmlBucketLevel(input.BucketLevel, context).withName("BucketLevel");
|
|
3939
3939
|
bodyNode.addChildNode(node);
|
|
3940
3940
|
}
|
|
3941
|
+
if (input.AdvancedCostOptimizationMetrics != null) {
|
|
3942
|
+
const node = serializeAws_restXmlAdvancedCostOptimizationMetrics(input.AdvancedCostOptimizationMetrics, context).withName("AdvancedCostOptimizationMetrics");
|
|
3943
|
+
bodyNode.addChildNode(node);
|
|
3944
|
+
}
|
|
3945
|
+
if (input.AdvancedDataProtectionMetrics != null) {
|
|
3946
|
+
const node = serializeAws_restXmlAdvancedDataProtectionMetrics(input.AdvancedDataProtectionMetrics, context).withName("AdvancedDataProtectionMetrics");
|
|
3947
|
+
bodyNode.addChildNode(node);
|
|
3948
|
+
}
|
|
3949
|
+
if (input.DetailedStatusCodesMetrics != null) {
|
|
3950
|
+
const node = serializeAws_restXmlDetailedStatusCodesMetrics(input.DetailedStatusCodesMetrics, context).withName("DetailedStatusCodesMetrics");
|
|
3951
|
+
bodyNode.addChildNode(node);
|
|
3952
|
+
}
|
|
3941
3953
|
return bodyNode;
|
|
3942
3954
|
};
|
|
3943
3955
|
const serializeAws_restXmlActivityMetrics = (input, context) => {
|
|
@@ -3948,6 +3960,22 @@ const serializeAws_restXmlActivityMetrics = (input, context) => {
|
|
|
3948
3960
|
}
|
|
3949
3961
|
return bodyNode;
|
|
3950
3962
|
};
|
|
3963
|
+
const serializeAws_restXmlAdvancedCostOptimizationMetrics = (input, context) => {
|
|
3964
|
+
const bodyNode = new __XmlNode("AdvancedCostOptimizationMetrics");
|
|
3965
|
+
if (input.IsEnabled != null) {
|
|
3966
|
+
const node = __XmlNode.of("IsEnabled", String(input.IsEnabled)).withName("IsEnabled");
|
|
3967
|
+
bodyNode.addChildNode(node);
|
|
3968
|
+
}
|
|
3969
|
+
return bodyNode;
|
|
3970
|
+
};
|
|
3971
|
+
const serializeAws_restXmlAdvancedDataProtectionMetrics = (input, context) => {
|
|
3972
|
+
const bodyNode = new __XmlNode("AdvancedDataProtectionMetrics");
|
|
3973
|
+
if (input.IsEnabled != null) {
|
|
3974
|
+
const node = __XmlNode.of("IsEnabled", String(input.IsEnabled)).withName("IsEnabled");
|
|
3975
|
+
bodyNode.addChildNode(node);
|
|
3976
|
+
}
|
|
3977
|
+
return bodyNode;
|
|
3978
|
+
};
|
|
3951
3979
|
const serializeAws_restXmlAwsLambdaTransformation = (input, context) => {
|
|
3952
3980
|
const bodyNode = new __XmlNode("AwsLambdaTransformation");
|
|
3953
3981
|
if (input.FunctionArn != null) {
|
|
@@ -3970,6 +3998,18 @@ const serializeAws_restXmlBucketLevel = (input, context) => {
|
|
|
3970
3998
|
const node = serializeAws_restXmlPrefixLevel(input.PrefixLevel, context).withName("PrefixLevel");
|
|
3971
3999
|
bodyNode.addChildNode(node);
|
|
3972
4000
|
}
|
|
4001
|
+
if (input.AdvancedCostOptimizationMetrics != null) {
|
|
4002
|
+
const node = serializeAws_restXmlAdvancedCostOptimizationMetrics(input.AdvancedCostOptimizationMetrics, context).withName("AdvancedCostOptimizationMetrics");
|
|
4003
|
+
bodyNode.addChildNode(node);
|
|
4004
|
+
}
|
|
4005
|
+
if (input.AdvancedDataProtectionMetrics != null) {
|
|
4006
|
+
const node = serializeAws_restXmlAdvancedDataProtectionMetrics(input.AdvancedDataProtectionMetrics, context).withName("AdvancedDataProtectionMetrics");
|
|
4007
|
+
bodyNode.addChildNode(node);
|
|
4008
|
+
}
|
|
4009
|
+
if (input.DetailedStatusCodesMetrics != null) {
|
|
4010
|
+
const node = serializeAws_restXmlDetailedStatusCodesMetrics(input.DetailedStatusCodesMetrics, context).withName("DetailedStatusCodesMetrics");
|
|
4011
|
+
bodyNode.addChildNode(node);
|
|
4012
|
+
}
|
|
3973
4013
|
return bodyNode;
|
|
3974
4014
|
};
|
|
3975
4015
|
const serializeAws_restXmlBuckets = (input, context) => {
|
|
@@ -4024,6 +4064,14 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointInput = (input, context) =
|
|
|
4024
4064
|
}
|
|
4025
4065
|
return bodyNode;
|
|
4026
4066
|
};
|
|
4067
|
+
const serializeAws_restXmlDetailedStatusCodesMetrics = (input, context) => {
|
|
4068
|
+
const bodyNode = new __XmlNode("DetailedStatusCodesMetrics");
|
|
4069
|
+
if (input.IsEnabled != null) {
|
|
4070
|
+
const node = __XmlNode.of("IsEnabled", String(input.IsEnabled)).withName("IsEnabled");
|
|
4071
|
+
bodyNode.addChildNode(node);
|
|
4072
|
+
}
|
|
4073
|
+
return bodyNode;
|
|
4074
|
+
};
|
|
4027
4075
|
const serializeAws_restXml_Exclude = (input, context) => {
|
|
4028
4076
|
const bodyNode = new __XmlNode("Exclude");
|
|
4029
4077
|
if (input.Buckets != null) {
|
|
@@ -5238,6 +5286,9 @@ const deserializeAws_restXmlAccountLevel = (output, context) => {
|
|
|
5238
5286
|
const contents = {
|
|
5239
5287
|
ActivityMetrics: undefined,
|
|
5240
5288
|
BucketLevel: undefined,
|
|
5289
|
+
AdvancedCostOptimizationMetrics: undefined,
|
|
5290
|
+
AdvancedDataProtectionMetrics: undefined,
|
|
5291
|
+
DetailedStatusCodesMetrics: undefined,
|
|
5241
5292
|
};
|
|
5242
5293
|
if (output["ActivityMetrics"] !== undefined) {
|
|
5243
5294
|
contents.ActivityMetrics = deserializeAws_restXmlActivityMetrics(output["ActivityMetrics"], context);
|
|
@@ -5245,6 +5296,15 @@ const deserializeAws_restXmlAccountLevel = (output, context) => {
|
|
|
5245
5296
|
if (output["BucketLevel"] !== undefined) {
|
|
5246
5297
|
contents.BucketLevel = deserializeAws_restXmlBucketLevel(output["BucketLevel"], context);
|
|
5247
5298
|
}
|
|
5299
|
+
if (output["AdvancedCostOptimizationMetrics"] !== undefined) {
|
|
5300
|
+
contents.AdvancedCostOptimizationMetrics = deserializeAws_restXmlAdvancedCostOptimizationMetrics(output["AdvancedCostOptimizationMetrics"], context);
|
|
5301
|
+
}
|
|
5302
|
+
if (output["AdvancedDataProtectionMetrics"] !== undefined) {
|
|
5303
|
+
contents.AdvancedDataProtectionMetrics = deserializeAws_restXmlAdvancedDataProtectionMetrics(output["AdvancedDataProtectionMetrics"], context);
|
|
5304
|
+
}
|
|
5305
|
+
if (output["DetailedStatusCodesMetrics"] !== undefined) {
|
|
5306
|
+
contents.DetailedStatusCodesMetrics = deserializeAws_restXmlDetailedStatusCodesMetrics(output["DetailedStatusCodesMetrics"], context);
|
|
5307
|
+
}
|
|
5248
5308
|
return contents;
|
|
5249
5309
|
};
|
|
5250
5310
|
const deserializeAws_restXmlActivityMetrics = (output, context) => {
|
|
@@ -5256,6 +5316,24 @@ const deserializeAws_restXmlActivityMetrics = (output, context) => {
|
|
|
5256
5316
|
}
|
|
5257
5317
|
return contents;
|
|
5258
5318
|
};
|
|
5319
|
+
const deserializeAws_restXmlAdvancedCostOptimizationMetrics = (output, context) => {
|
|
5320
|
+
const contents = {
|
|
5321
|
+
IsEnabled: undefined,
|
|
5322
|
+
};
|
|
5323
|
+
if (output["IsEnabled"] !== undefined) {
|
|
5324
|
+
contents.IsEnabled = __parseBoolean(output["IsEnabled"]);
|
|
5325
|
+
}
|
|
5326
|
+
return contents;
|
|
5327
|
+
};
|
|
5328
|
+
const deserializeAws_restXmlAdvancedDataProtectionMetrics = (output, context) => {
|
|
5329
|
+
const contents = {
|
|
5330
|
+
IsEnabled: undefined,
|
|
5331
|
+
};
|
|
5332
|
+
if (output["IsEnabled"] !== undefined) {
|
|
5333
|
+
contents.IsEnabled = __parseBoolean(output["IsEnabled"]);
|
|
5334
|
+
}
|
|
5335
|
+
return contents;
|
|
5336
|
+
};
|
|
5259
5337
|
const deserializeAws_restXmlAsyncErrorDetails = (output, context) => {
|
|
5260
5338
|
const contents = {
|
|
5261
5339
|
Code: undefined,
|
|
@@ -5353,6 +5431,9 @@ const deserializeAws_restXmlBucketLevel = (output, context) => {
|
|
|
5353
5431
|
const contents = {
|
|
5354
5432
|
ActivityMetrics: undefined,
|
|
5355
5433
|
PrefixLevel: undefined,
|
|
5434
|
+
AdvancedCostOptimizationMetrics: undefined,
|
|
5435
|
+
AdvancedDataProtectionMetrics: undefined,
|
|
5436
|
+
DetailedStatusCodesMetrics: undefined,
|
|
5356
5437
|
};
|
|
5357
5438
|
if (output["ActivityMetrics"] !== undefined) {
|
|
5358
5439
|
contents.ActivityMetrics = deserializeAws_restXmlActivityMetrics(output["ActivityMetrics"], context);
|
|
@@ -5360,6 +5441,15 @@ const deserializeAws_restXmlBucketLevel = (output, context) => {
|
|
|
5360
5441
|
if (output["PrefixLevel"] !== undefined) {
|
|
5361
5442
|
contents.PrefixLevel = deserializeAws_restXmlPrefixLevel(output["PrefixLevel"], context);
|
|
5362
5443
|
}
|
|
5444
|
+
if (output["AdvancedCostOptimizationMetrics"] !== undefined) {
|
|
5445
|
+
contents.AdvancedCostOptimizationMetrics = deserializeAws_restXmlAdvancedCostOptimizationMetrics(output["AdvancedCostOptimizationMetrics"], context);
|
|
5446
|
+
}
|
|
5447
|
+
if (output["AdvancedDataProtectionMetrics"] !== undefined) {
|
|
5448
|
+
contents.AdvancedDataProtectionMetrics = deserializeAws_restXmlAdvancedDataProtectionMetrics(output["AdvancedDataProtectionMetrics"], context);
|
|
5449
|
+
}
|
|
5450
|
+
if (output["DetailedStatusCodesMetrics"] !== undefined) {
|
|
5451
|
+
contents.DetailedStatusCodesMetrics = deserializeAws_restXmlDetailedStatusCodesMetrics(output["DetailedStatusCodesMetrics"], context);
|
|
5452
|
+
}
|
|
5363
5453
|
return contents;
|
|
5364
5454
|
};
|
|
5365
5455
|
const deserializeAws_restXmlBuckets = (output, context) => {
|
|
@@ -5407,15 +5497,22 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context
|
|
|
5407
5497
|
}
|
|
5408
5498
|
return contents;
|
|
5409
5499
|
};
|
|
5500
|
+
const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
|
|
5501
|
+
const contents = {
|
|
5502
|
+
IsEnabled: undefined,
|
|
5503
|
+
};
|
|
5504
|
+
if (output["IsEnabled"] !== undefined) {
|
|
5505
|
+
contents.IsEnabled = __parseBoolean(output["IsEnabled"]);
|
|
5506
|
+
}
|
|
5507
|
+
return contents;
|
|
5508
|
+
};
|
|
5410
5509
|
const deserializeAws_restXmlEndpoints = (output, context) => {
|
|
5411
5510
|
return output.reduce((acc, pair) => {
|
|
5412
5511
|
if (pair["value"] === null) {
|
|
5413
5512
|
return acc;
|
|
5414
5513
|
}
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
[pair["key"]]: __expectString(pair["value"]),
|
|
5418
|
-
};
|
|
5514
|
+
acc[pair["key"]] = __expectString(pair["value"]);
|
|
5515
|
+
return acc;
|
|
5419
5516
|
}, {});
|
|
5420
5517
|
};
|
|
5421
5518
|
const deserializeAws_restXmlEstablishedMultiRegionAccessPointPolicy = (output, context) => {
|
|
@@ -6742,10 +6839,8 @@ const deserializeAws_restXmlS3UserMetadata = (output, context) => {
|
|
|
6742
6839
|
if (pair["value"] === null) {
|
|
6743
6840
|
return acc;
|
|
6744
6841
|
}
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
[pair["key"]]: __expectString(pair["value"]),
|
|
6748
|
-
};
|
|
6842
|
+
acc[pair["key"]] = __expectString(pair["value"]);
|
|
6843
|
+
return acc;
|
|
6749
6844
|
}, {});
|
|
6750
6845
|
};
|
|
6751
6846
|
const deserializeAws_restXmlSelectionCriteria = (output, context) => {
|
|
@@ -1150,7 +1150,7 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1150
1150
|
/**
|
|
1151
1151
|
* <p>Gets the Amazon S3 Storage Lens configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Assessing your storage
|
|
1152
1152
|
* activity and usage with Amazon S3 Storage Lens </a> in the
|
|
1153
|
-
*
|
|
1153
|
+
* <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1154
1154
|
* <note>
|
|
1155
1155
|
* <p>To use this action, you must have permission to perform the
|
|
1156
1156
|
* <code>s3:GetStorageLensConfiguration</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the
|
|
@@ -1726,7 +1726,7 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1726
1726
|
putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void): void;
|
|
1727
1727
|
/**
|
|
1728
1728
|
* <p>Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Working with
|
|
1729
|
-
*
|
|
1729
|
+
* Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1730
1730
|
* <note>
|
|
1731
1731
|
* <p>To use this action, you must have permission to perform the
|
|
1732
1732
|
* <code>s3:PutStorageLensConfiguration</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the
|
|
@@ -10,7 +10,7 @@ export interface GetStorageLensConfigurationCommandOutput extends GetStorageLens
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets the Amazon S3 Storage Lens configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Assessing your storage
|
|
12
12
|
* activity and usage with Amazon S3 Storage Lens </a> in the
|
|
13
|
-
*
|
|
13
|
+
* <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
14
14
|
* <note>
|
|
15
15
|
* <p>To use this action, you must have permission to perform the
|
|
16
16
|
* <code>s3:GetStorageLensConfiguration</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the
|
|
@@ -9,7 +9,7 @@ export interface PutStorageLensConfigurationCommandOutput extends __MetadataBear
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Working with
|
|
12
|
-
*
|
|
12
|
+
* Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
13
13
|
* <note>
|
|
14
14
|
* <p>To use this action, you must have permission to perform the
|
|
15
15
|
* <code>s3:PutStorageLensConfiguration</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the
|
|
@@ -63,11 +63,52 @@ export interface AccessPoint {
|
|
|
63
63
|
Alias?: string;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* <p>
|
|
66
|
+
* <p>The container element for Amazon S3 Storage Lens activity metrics. Activity metrics show details about
|
|
67
|
+
* how your storage is requested, such as requests (for example, All requests, Get requests,
|
|
68
|
+
* Put requests), bytes uploaded or downloaded, and errors.</p>
|
|
69
|
+
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
67
70
|
*/
|
|
68
71
|
export interface ActivityMetrics {
|
|
69
72
|
/**
|
|
70
|
-
* <p>A container
|
|
73
|
+
* <p>A container that indicates whether activity metrics are enabled.</p>
|
|
74
|
+
*/
|
|
75
|
+
IsEnabled?: boolean;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>The container element for Amazon S3 Storage Lens advanced cost-optimization metrics. Advanced
|
|
79
|
+
* cost-optimization metrics provide insights that you can use to manage and optimize your
|
|
80
|
+
* storage costs, for example, lifecycle rule counts for transitions, expirations, and
|
|
81
|
+
* incomplete multipart uploads.</p>
|
|
82
|
+
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
83
|
+
*/
|
|
84
|
+
export interface AdvancedCostOptimizationMetrics {
|
|
85
|
+
/**
|
|
86
|
+
* <p>A container that indicates whether advanced cost-optimization metrics are
|
|
87
|
+
* enabled.</p>
|
|
88
|
+
*/
|
|
89
|
+
IsEnabled?: boolean;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* <p>The container element for Amazon S3 Storage Lens advanced data-protection metrics. Advanced
|
|
93
|
+
* data-protection metrics provide insights that you can use to perform audits and protect
|
|
94
|
+
* your data, for example replication rule counts within and across Regions.</p>
|
|
95
|
+
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
96
|
+
*/
|
|
97
|
+
export interface AdvancedDataProtectionMetrics {
|
|
98
|
+
/**
|
|
99
|
+
* <p>A container that indicates whether advanced data-protection metrics are enabled.</p>
|
|
100
|
+
*/
|
|
101
|
+
IsEnabled?: boolean;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* <p>The container element for Amazon S3 Storage Lens detailed status code metrics. Detailed status
|
|
105
|
+
* code metrics generate metrics for HTTP status codes, such as <code>200 OK</code>, <code>403
|
|
106
|
+
* Forbidden</code>, <code>503 Service Unavailable</code> and others. </p>
|
|
107
|
+
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
108
|
+
*/
|
|
109
|
+
export interface DetailedStatusCodesMetrics {
|
|
110
|
+
/**
|
|
111
|
+
* <p>A container that indicates whether detailed status code metrics are enabled.</p>
|
|
71
112
|
*/
|
|
72
113
|
IsEnabled?: boolean;
|
|
73
114
|
}
|
|
@@ -114,30 +155,56 @@ export interface PrefixLevel {
|
|
|
114
155
|
StorageMetrics: PrefixLevelStorageMetrics | undefined;
|
|
115
156
|
}
|
|
116
157
|
/**
|
|
117
|
-
* <p>A container for the bucket-level configuration.</p>
|
|
158
|
+
* <p>A container for the bucket-level configuration for Amazon S3 Storage Lens.</p>
|
|
159
|
+
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
118
160
|
*/
|
|
119
161
|
export interface BucketLevel {
|
|
120
162
|
/**
|
|
121
|
-
* <p>A container for the bucket-level activity metrics for
|
|
163
|
+
* <p>A container for the bucket-level activity metrics for S3 Storage Lens.</p>
|
|
122
164
|
*/
|
|
123
165
|
ActivityMetrics?: ActivityMetrics;
|
|
124
166
|
/**
|
|
125
|
-
* <p>A container for the
|
|
167
|
+
* <p>A container for the prefix-level metrics for S3 Storage Lens. </p>
|
|
126
168
|
*/
|
|
127
169
|
PrefixLevel?: PrefixLevel;
|
|
170
|
+
/**
|
|
171
|
+
* <p>A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.</p>
|
|
172
|
+
*/
|
|
173
|
+
AdvancedCostOptimizationMetrics?: AdvancedCostOptimizationMetrics;
|
|
174
|
+
/**
|
|
175
|
+
* <p>A container for bucket-level advanced data-protection metrics for S3 Storage Lens.</p>
|
|
176
|
+
*/
|
|
177
|
+
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
178
|
+
/**
|
|
179
|
+
* <p>A container for bucket-level detailed status code metrics for S3 Storage Lens.</p>
|
|
180
|
+
*/
|
|
181
|
+
DetailedStatusCodesMetrics?: DetailedStatusCodesMetrics;
|
|
128
182
|
}
|
|
129
183
|
/**
|
|
130
|
-
* <p>A container for the account
|
|
184
|
+
* <p>A container for the account-level Amazon S3 Storage Lens configuration.</p>
|
|
185
|
+
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
131
186
|
*/
|
|
132
187
|
export interface AccountLevel {
|
|
133
188
|
/**
|
|
134
|
-
* <p>A container for
|
|
189
|
+
* <p>A container for S3 Storage Lens activity metrics.</p>
|
|
135
190
|
*/
|
|
136
191
|
ActivityMetrics?: ActivityMetrics;
|
|
137
192
|
/**
|
|
138
193
|
* <p>A container for the S3 Storage Lens bucket-level configuration.</p>
|
|
139
194
|
*/
|
|
140
195
|
BucketLevel: BucketLevel | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>A container for S3 Storage Lens advanced cost-optimization metrics.</p>
|
|
198
|
+
*/
|
|
199
|
+
AdvancedCostOptimizationMetrics?: AdvancedCostOptimizationMetrics;
|
|
200
|
+
/**
|
|
201
|
+
* <p>A container for S3 Storage Lens advanced data-protection metrics.</p>
|
|
202
|
+
*/
|
|
203
|
+
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
204
|
+
/**
|
|
205
|
+
* <p>A container for detailed status code metrics. </p>
|
|
206
|
+
*/
|
|
207
|
+
DetailedStatusCodesMetrics?: DetailedStatusCodesMetrics;
|
|
141
208
|
}
|
|
142
209
|
/**
|
|
143
210
|
* <p>Error details for the failed asynchronous operation.</p>
|
|
@@ -169,17 +236,18 @@ export declare enum AsyncOperationName {
|
|
|
169
236
|
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
|
|
170
237
|
* account. You can enable the configuration options in any combination. For more information
|
|
171
238
|
* about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
172
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
239
|
+
* <p>This data type is not supported for Amazon S3 on Outposts.</p>
|
|
173
240
|
*/
|
|
174
241
|
export interface PublicAccessBlockConfiguration {
|
|
175
242
|
/**
|
|
176
|
-
* <p>Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets
|
|
177
|
-
*
|
|
243
|
+
* <p>Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in
|
|
244
|
+
* this account. Setting this element to <code>TRUE</code> causes the following
|
|
178
245
|
* behavior:</p>
|
|
179
246
|
* <ul>
|
|
180
247
|
* <li>
|
|
181
|
-
* <p>
|
|
182
|
-
*
|
|
248
|
+
* <p>
|
|
249
|
+
* <code>PutBucketAcl</code> and <code>PutObjectAcl</code> calls fail if the
|
|
250
|
+
* specified ACL is public.</p>
|
|
183
251
|
* </li>
|
|
184
252
|
* <li>
|
|
185
253
|
* <p>PUT Object calls fail if the request includes a public ACL.</p>
|
|
@@ -189,24 +257,24 @@ export interface PublicAccessBlockConfiguration {
|
|
|
189
257
|
* </li>
|
|
190
258
|
* </ul>
|
|
191
259
|
* <p>Enabling this setting doesn't affect existing policies or ACLs.</p>
|
|
192
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
260
|
+
* <p>This property is not supported for Amazon S3 on Outposts.</p>
|
|
193
261
|
*/
|
|
194
262
|
BlockPublicAcls?: boolean;
|
|
195
263
|
/**
|
|
196
264
|
* <p>Specifies whether Amazon S3 should ignore public ACLs for buckets in this account. Setting
|
|
197
|
-
* this element to <code>TRUE</code> causes Amazon S3 to ignore all public ACLs on buckets in
|
|
198
|
-
*
|
|
265
|
+
* this element to <code>TRUE</code> causes Amazon S3 to ignore all public ACLs on buckets in this
|
|
266
|
+
* account and any objects that they contain. </p>
|
|
199
267
|
* <p>Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't
|
|
200
268
|
* prevent new public ACLs from being set.</p>
|
|
201
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
269
|
+
* <p>This property is not supported for Amazon S3 on Outposts.</p>
|
|
202
270
|
*/
|
|
203
271
|
IgnorePublicAcls?: boolean;
|
|
204
272
|
/**
|
|
205
273
|
* <p>Specifies whether Amazon S3 should block public bucket policies for buckets in this account.
|
|
206
|
-
* Setting this element to <code>TRUE</code> causes Amazon S3 to reject calls to PUT Bucket
|
|
207
|
-
*
|
|
274
|
+
* Setting this element to <code>TRUE</code> causes Amazon S3 to reject calls to PUT Bucket policy
|
|
275
|
+
* if the specified bucket policy allows public access. </p>
|
|
208
276
|
* <p>Enabling this setting doesn't affect existing bucket policies.</p>
|
|
209
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
277
|
+
* <p>This property is not supported for Amazon S3 on Outposts.</p>
|
|
210
278
|
*/
|
|
211
279
|
BlockPublicPolicy?: boolean;
|
|
212
280
|
/**
|
|
@@ -217,7 +285,7 @@ export interface PublicAccessBlockConfiguration {
|
|
|
217
285
|
* <p>Enabling this setting doesn't affect previously stored bucket policies, except that
|
|
218
286
|
* public and cross-account access within any public bucket policy, including non-public
|
|
219
287
|
* delegation to specific accounts, is blocked.</p>
|
|
220
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
288
|
+
* <p>This property is not supported for Amazon S3 on Outposts.</p>
|
|
221
289
|
*/
|
|
222
290
|
RestrictPublicBuckets?: boolean;
|
|
223
291
|
}
|
|
@@ -242,7 +310,7 @@ export interface CreateMultiRegionAccessPointInput {
|
|
|
242
310
|
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
|
|
243
311
|
* account. You can enable the configuration options in any combination. For more information
|
|
244
312
|
* about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
245
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
313
|
+
* <p>This data type is not supported for Amazon S3 on Outposts.</p>
|
|
246
314
|
*/
|
|
247
315
|
PublicAccessBlock?: PublicAccessBlockConfiguration;
|
|
248
316
|
/**
|
|
@@ -993,8 +1061,10 @@ export interface S3AccessControlPolicy {
|
|
|
993
1061
|
}
|
|
994
1062
|
/**
|
|
995
1063
|
* <p>Contains the configuration parameters for a Set Object ACL operation. S3 Batch Operations
|
|
996
|
-
* passes every object to the underlying
|
|
997
|
-
* parameters for this operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html">
|
|
1064
|
+
* passes every object to the underlying <code>PutObjectAcl</code> API. For more information
|
|
1065
|
+
* about the parameters for this operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html">
|
|
1066
|
+
* <code>PutObjectAcl</code>
|
|
1067
|
+
* </a>.</p>
|
|
998
1068
|
*/
|
|
999
1069
|
export interface S3SetObjectAclOperation {
|
|
1000
1070
|
/**
|
|
@@ -1066,15 +1136,15 @@ export interface S3ObjectMetadata {
|
|
|
1066
1136
|
SSEAlgorithm?: S3SSEAlgorithm | string;
|
|
1067
1137
|
}
|
|
1068
1138
|
/**
|
|
1069
|
-
* <p
|
|
1139
|
+
* <p>A container for a key-value name pair.</p>
|
|
1070
1140
|
*/
|
|
1071
1141
|
export interface S3Tag {
|
|
1072
1142
|
/**
|
|
1073
|
-
* <p
|
|
1143
|
+
* <p>Key of the tag</p>
|
|
1074
1144
|
*/
|
|
1075
1145
|
Key: string | undefined;
|
|
1076
1146
|
/**
|
|
1077
|
-
* <p
|
|
1147
|
+
* <p>Value of the tag</p>
|
|
1078
1148
|
*/
|
|
1079
1149
|
Value: string | undefined;
|
|
1080
1150
|
}
|
|
@@ -1103,8 +1173,9 @@ export declare enum S3StorageClass {
|
|
|
1103
1173
|
export interface S3CopyObjectOperation {
|
|
1104
1174
|
/**
|
|
1105
1175
|
* <p>Specifies the destination bucket ARN for the batch copy operation. For example, to copy
|
|
1106
|
-
* objects to a bucket named
|
|
1107
|
-
*
|
|
1176
|
+
* objects to a bucket named <code>destinationBucket</code>, set the
|
|
1177
|
+
* <code>TargetResource</code> property to
|
|
1178
|
+
* <code>arn:aws:s3:::destinationBucket</code>.</p>
|
|
1108
1179
|
*/
|
|
1109
1180
|
TargetResource?: string;
|
|
1110
1181
|
/**
|
|
@@ -1290,7 +1361,7 @@ export interface JobOperation {
|
|
|
1290
1361
|
*/
|
|
1291
1362
|
S3PutObjectCopy?: S3CopyObjectOperation;
|
|
1292
1363
|
/**
|
|
1293
|
-
* <p>Directs the specified job to run a
|
|
1364
|
+
* <p>Directs the specified job to run a <code>PutObjectAcl</code> call on every object in the
|
|
1294
1365
|
* manifest.</p>
|
|
1295
1366
|
*/
|
|
1296
1367
|
S3PutObjectAcl?: S3SetObjectAclOperation;
|
|
@@ -1899,7 +1970,7 @@ export interface GetAccessPointResult {
|
|
|
1899
1970
|
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
|
|
1900
1971
|
* account. You can enable the configuration options in any combination. For more information
|
|
1901
1972
|
* about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1902
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
1973
|
+
* <p>This data type is not supported for Amazon S3 on Outposts.</p>
|
|
1903
1974
|
*/
|
|
1904
1975
|
PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration;
|
|
1905
1976
|
/**
|
|
@@ -2132,7 +2203,7 @@ export interface LifecycleRuleFilter {
|
|
|
2132
2203
|
*/
|
|
2133
2204
|
Prefix?: string;
|
|
2134
2205
|
/**
|
|
2135
|
-
* <p
|
|
2206
|
+
* <p>A container for a key-value name pair.</p>
|
|
2136
2207
|
*/
|
|
2137
2208
|
Tag?: S3Tag;
|
|
2138
2209
|
/**
|
|
@@ -2411,7 +2482,7 @@ export interface MultiRegionAccessPointReport {
|
|
|
2411
2482
|
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
|
|
2412
2483
|
* account. You can enable the configuration options in any combination. For more information
|
|
2413
2484
|
* about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2414
|
-
* <p>This is not supported for Amazon S3 on Outposts.</p>
|
|
2485
|
+
* <p>This data type is not supported for Amazon S3 on Outposts.</p>
|
|
2415
2486
|
*/
|
|
2416
2487
|
PublicAccessBlock?: PublicAccessBlockConfiguration;
|
|
2417
2488
|
/**
|
|
@@ -3451,6 +3522,18 @@ export declare const AccessPointFilterSensitiveLog: (obj: AccessPoint) => any;
|
|
|
3451
3522
|
* @internal
|
|
3452
3523
|
*/
|
|
3453
3524
|
export declare const ActivityMetricsFilterSensitiveLog: (obj: ActivityMetrics) => any;
|
|
3525
|
+
/**
|
|
3526
|
+
* @internal
|
|
3527
|
+
*/
|
|
3528
|
+
export declare const AdvancedCostOptimizationMetricsFilterSensitiveLog: (obj: AdvancedCostOptimizationMetrics) => any;
|
|
3529
|
+
/**
|
|
3530
|
+
* @internal
|
|
3531
|
+
*/
|
|
3532
|
+
export declare const AdvancedDataProtectionMetricsFilterSensitiveLog: (obj: AdvancedDataProtectionMetrics) => any;
|
|
3533
|
+
/**
|
|
3534
|
+
* @internal
|
|
3535
|
+
*/
|
|
3536
|
+
export declare const DetailedStatusCodesMetricsFilterSensitiveLog: (obj: DetailedStatusCodesMetrics) => any;
|
|
3454
3537
|
/**
|
|
3455
3538
|
* @internal
|
|
3456
3539
|
*/
|
|
@@ -21,6 +21,15 @@ export interface AccessPoint {
|
|
|
21
21
|
export interface ActivityMetrics {
|
|
22
22
|
IsEnabled?: boolean;
|
|
23
23
|
}
|
|
24
|
+
export interface AdvancedCostOptimizationMetrics {
|
|
25
|
+
IsEnabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface AdvancedDataProtectionMetrics {
|
|
28
|
+
IsEnabled?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface DetailedStatusCodesMetrics {
|
|
31
|
+
IsEnabled?: boolean;
|
|
32
|
+
}
|
|
24
33
|
export interface SelectionCriteria {
|
|
25
34
|
Delimiter?: string;
|
|
26
35
|
MaxDepth?: number;
|
|
@@ -36,10 +45,16 @@ export interface PrefixLevel {
|
|
|
36
45
|
export interface BucketLevel {
|
|
37
46
|
ActivityMetrics?: ActivityMetrics;
|
|
38
47
|
PrefixLevel?: PrefixLevel;
|
|
48
|
+
AdvancedCostOptimizationMetrics?: AdvancedCostOptimizationMetrics;
|
|
49
|
+
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
50
|
+
DetailedStatusCodesMetrics?: DetailedStatusCodesMetrics;
|
|
39
51
|
}
|
|
40
52
|
export interface AccountLevel {
|
|
41
53
|
ActivityMetrics?: ActivityMetrics;
|
|
42
54
|
BucketLevel: BucketLevel | undefined;
|
|
55
|
+
AdvancedCostOptimizationMetrics?: AdvancedCostOptimizationMetrics;
|
|
56
|
+
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
57
|
+
DetailedStatusCodesMetrics?: DetailedStatusCodesMetrics;
|
|
43
58
|
}
|
|
44
59
|
export interface AsyncErrorDetails {
|
|
45
60
|
Code?: string;
|
|
@@ -1198,6 +1213,15 @@ export declare const AccessPointFilterSensitiveLog: (obj: AccessPoint) => any;
|
|
|
1198
1213
|
export declare const ActivityMetricsFilterSensitiveLog: (
|
|
1199
1214
|
obj: ActivityMetrics
|
|
1200
1215
|
) => any;
|
|
1216
|
+
export declare const AdvancedCostOptimizationMetricsFilterSensitiveLog: (
|
|
1217
|
+
obj: AdvancedCostOptimizationMetrics
|
|
1218
|
+
) => any;
|
|
1219
|
+
export declare const AdvancedDataProtectionMetricsFilterSensitiveLog: (
|
|
1220
|
+
obj: AdvancedDataProtectionMetrics
|
|
1221
|
+
) => any;
|
|
1222
|
+
export declare const DetailedStatusCodesMetricsFilterSensitiveLog: (
|
|
1223
|
+
obj: DetailedStatusCodesMetrics
|
|
1224
|
+
) => any;
|
|
1201
1225
|
export declare const SelectionCriteriaFilterSensitiveLog: (
|
|
1202
1226
|
obj: SelectionCriteria
|
|
1203
1227
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.213.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-blob-browser": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/hash-stream-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/md5-js": "3.
|
|
33
|
-
"@aws-sdk/middleware-apply-body-checksum": "3.
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.213.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
28
|
+
"@aws-sdk/hash-blob-browser": "3.212.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
30
|
+
"@aws-sdk/hash-stream-node": "3.212.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
32
|
+
"@aws-sdk/md5-js": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.212.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
49
|
+
"@aws-sdk/types": "3.212.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
51
51
|
"@aws-sdk/util-base64": "3.208.0",
|
|
52
52
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
54
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
55
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
56
|
-
"@aws-sdk/util-endpoints": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
55
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
56
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
59
59
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
60
60
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
61
61
|
"@aws-sdk/xml-builder": "3.201.0",
|