593 lines
19 KiB
JavaScript
593 lines
19 KiB
JavaScript
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
export const RequestCharged = {
|
|
requester: "requester",
|
|
};
|
|
export const RequestPayer = {
|
|
requester: "requester",
|
|
};
|
|
export class NoSuchUpload extends __BaseException {
|
|
name = "NoSuchUpload";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "NoSuchUpload",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, NoSuchUpload.prototype);
|
|
}
|
|
}
|
|
export const BucketAccelerateStatus = {
|
|
Enabled: "Enabled",
|
|
Suspended: "Suspended",
|
|
};
|
|
export const Type = {
|
|
AmazonCustomerByEmail: "AmazonCustomerByEmail",
|
|
CanonicalUser: "CanonicalUser",
|
|
Group: "Group",
|
|
};
|
|
export const Permission = {
|
|
FULL_CONTROL: "FULL_CONTROL",
|
|
READ: "READ",
|
|
READ_ACP: "READ_ACP",
|
|
WRITE: "WRITE",
|
|
WRITE_ACP: "WRITE_ACP",
|
|
};
|
|
export const OwnerOverride = {
|
|
Destination: "Destination",
|
|
};
|
|
export const ChecksumType = {
|
|
COMPOSITE: "COMPOSITE",
|
|
FULL_OBJECT: "FULL_OBJECT",
|
|
};
|
|
export const ServerSideEncryption = {
|
|
AES256: "AES256",
|
|
aws_kms: "aws:kms",
|
|
aws_kms_dsse: "aws:kms:dsse",
|
|
};
|
|
export const ObjectCannedACL = {
|
|
authenticated_read: "authenticated-read",
|
|
aws_exec_read: "aws-exec-read",
|
|
bucket_owner_full_control: "bucket-owner-full-control",
|
|
bucket_owner_read: "bucket-owner-read",
|
|
private: "private",
|
|
public_read: "public-read",
|
|
public_read_write: "public-read-write",
|
|
};
|
|
export const ChecksumAlgorithm = {
|
|
CRC32: "CRC32",
|
|
CRC32C: "CRC32C",
|
|
CRC64NVME: "CRC64NVME",
|
|
SHA1: "SHA1",
|
|
SHA256: "SHA256",
|
|
};
|
|
export const MetadataDirective = {
|
|
COPY: "COPY",
|
|
REPLACE: "REPLACE",
|
|
};
|
|
export const ObjectLockLegalHoldStatus = {
|
|
OFF: "OFF",
|
|
ON: "ON",
|
|
};
|
|
export const ObjectLockMode = {
|
|
COMPLIANCE: "COMPLIANCE",
|
|
GOVERNANCE: "GOVERNANCE",
|
|
};
|
|
export const StorageClass = {
|
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
GLACIER: "GLACIER",
|
|
GLACIER_IR: "GLACIER_IR",
|
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
ONEZONE_IA: "ONEZONE_IA",
|
|
OUTPOSTS: "OUTPOSTS",
|
|
REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
|
|
SNOW: "SNOW",
|
|
STANDARD: "STANDARD",
|
|
STANDARD_IA: "STANDARD_IA",
|
|
};
|
|
export const TaggingDirective = {
|
|
COPY: "COPY",
|
|
REPLACE: "REPLACE",
|
|
};
|
|
export class ObjectNotInActiveTierError extends __BaseException {
|
|
name = "ObjectNotInActiveTierError";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ObjectNotInActiveTierError",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype);
|
|
}
|
|
}
|
|
export class BucketAlreadyExists extends __BaseException {
|
|
name = "BucketAlreadyExists";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "BucketAlreadyExists",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, BucketAlreadyExists.prototype);
|
|
}
|
|
}
|
|
export class BucketAlreadyOwnedByYou extends __BaseException {
|
|
name = "BucketAlreadyOwnedByYou";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "BucketAlreadyOwnedByYou",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);
|
|
}
|
|
}
|
|
export const BucketCannedACL = {
|
|
authenticated_read: "authenticated-read",
|
|
private: "private",
|
|
public_read: "public-read",
|
|
public_read_write: "public-read-write",
|
|
};
|
|
export const DataRedundancy = {
|
|
SingleAvailabilityZone: "SingleAvailabilityZone",
|
|
SingleLocalZone: "SingleLocalZone",
|
|
};
|
|
export const BucketType = {
|
|
Directory: "Directory",
|
|
};
|
|
export const LocationType = {
|
|
AvailabilityZone: "AvailabilityZone",
|
|
LocalZone: "LocalZone",
|
|
};
|
|
export const BucketLocationConstraint = {
|
|
EU: "EU",
|
|
af_south_1: "af-south-1",
|
|
ap_east_1: "ap-east-1",
|
|
ap_northeast_1: "ap-northeast-1",
|
|
ap_northeast_2: "ap-northeast-2",
|
|
ap_northeast_3: "ap-northeast-3",
|
|
ap_south_1: "ap-south-1",
|
|
ap_south_2: "ap-south-2",
|
|
ap_southeast_1: "ap-southeast-1",
|
|
ap_southeast_2: "ap-southeast-2",
|
|
ap_southeast_3: "ap-southeast-3",
|
|
ap_southeast_4: "ap-southeast-4",
|
|
ap_southeast_5: "ap-southeast-5",
|
|
ca_central_1: "ca-central-1",
|
|
cn_north_1: "cn-north-1",
|
|
cn_northwest_1: "cn-northwest-1",
|
|
eu_central_1: "eu-central-1",
|
|
eu_central_2: "eu-central-2",
|
|
eu_north_1: "eu-north-1",
|
|
eu_south_1: "eu-south-1",
|
|
eu_south_2: "eu-south-2",
|
|
eu_west_1: "eu-west-1",
|
|
eu_west_2: "eu-west-2",
|
|
eu_west_3: "eu-west-3",
|
|
il_central_1: "il-central-1",
|
|
me_central_1: "me-central-1",
|
|
me_south_1: "me-south-1",
|
|
sa_east_1: "sa-east-1",
|
|
us_east_2: "us-east-2",
|
|
us_gov_east_1: "us-gov-east-1",
|
|
us_gov_west_1: "us-gov-west-1",
|
|
us_west_1: "us-west-1",
|
|
us_west_2: "us-west-2",
|
|
};
|
|
export const ObjectOwnership = {
|
|
BucketOwnerEnforced: "BucketOwnerEnforced",
|
|
BucketOwnerPreferred: "BucketOwnerPreferred",
|
|
ObjectWriter: "ObjectWriter",
|
|
};
|
|
export const SessionMode = {
|
|
ReadOnly: "ReadOnly",
|
|
ReadWrite: "ReadWrite",
|
|
};
|
|
export class NoSuchBucket extends __BaseException {
|
|
name = "NoSuchBucket";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "NoSuchBucket",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, NoSuchBucket.prototype);
|
|
}
|
|
}
|
|
export var AnalyticsFilter;
|
|
(function (AnalyticsFilter) {
|
|
AnalyticsFilter.visit = (value, visitor) => {
|
|
if (value.Prefix !== undefined)
|
|
return visitor.Prefix(value.Prefix);
|
|
if (value.Tag !== undefined)
|
|
return visitor.Tag(value.Tag);
|
|
if (value.And !== undefined)
|
|
return visitor.And(value.And);
|
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
};
|
|
})(AnalyticsFilter || (AnalyticsFilter = {}));
|
|
export const AnalyticsS3ExportFileFormat = {
|
|
CSV: "CSV",
|
|
};
|
|
export const StorageClassAnalysisSchemaVersion = {
|
|
V_1: "V_1",
|
|
};
|
|
export const IntelligentTieringStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const IntelligentTieringAccessTier = {
|
|
ARCHIVE_ACCESS: "ARCHIVE_ACCESS",
|
|
DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS",
|
|
};
|
|
export const InventoryFormat = {
|
|
CSV: "CSV",
|
|
ORC: "ORC",
|
|
Parquet: "Parquet",
|
|
};
|
|
export const InventoryIncludedObjectVersions = {
|
|
All: "All",
|
|
Current: "Current",
|
|
};
|
|
export const InventoryOptionalField = {
|
|
BucketKeyStatus: "BucketKeyStatus",
|
|
ChecksumAlgorithm: "ChecksumAlgorithm",
|
|
ETag: "ETag",
|
|
EncryptionStatus: "EncryptionStatus",
|
|
IntelligentTieringAccessTier: "IntelligentTieringAccessTier",
|
|
IsMultipartUploaded: "IsMultipartUploaded",
|
|
LastModifiedDate: "LastModifiedDate",
|
|
ObjectAccessControlList: "ObjectAccessControlList",
|
|
ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus",
|
|
ObjectLockMode: "ObjectLockMode",
|
|
ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate",
|
|
ObjectOwner: "ObjectOwner",
|
|
ReplicationStatus: "ReplicationStatus",
|
|
Size: "Size",
|
|
StorageClass: "StorageClass",
|
|
};
|
|
export const InventoryFrequency = {
|
|
Daily: "Daily",
|
|
Weekly: "Weekly",
|
|
};
|
|
export const TransitionStorageClass = {
|
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
GLACIER: "GLACIER",
|
|
GLACIER_IR: "GLACIER_IR",
|
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
ONEZONE_IA: "ONEZONE_IA",
|
|
STANDARD_IA: "STANDARD_IA",
|
|
};
|
|
export const ExpirationStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const TransitionDefaultMinimumObjectSize = {
|
|
all_storage_classes_128K: "all_storage_classes_128K",
|
|
varies_by_storage_class: "varies_by_storage_class",
|
|
};
|
|
export const BucketLogsPermission = {
|
|
FULL_CONTROL: "FULL_CONTROL",
|
|
READ: "READ",
|
|
WRITE: "WRITE",
|
|
};
|
|
export const PartitionDateSource = {
|
|
DeliveryTime: "DeliveryTime",
|
|
EventTime: "EventTime",
|
|
};
|
|
export var MetricsFilter;
|
|
(function (MetricsFilter) {
|
|
MetricsFilter.visit = (value, visitor) => {
|
|
if (value.Prefix !== undefined)
|
|
return visitor.Prefix(value.Prefix);
|
|
if (value.Tag !== undefined)
|
|
return visitor.Tag(value.Tag);
|
|
if (value.AccessPointArn !== undefined)
|
|
return visitor.AccessPointArn(value.AccessPointArn);
|
|
if (value.And !== undefined)
|
|
return visitor.And(value.And);
|
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
};
|
|
})(MetricsFilter || (MetricsFilter = {}));
|
|
export const Event = {
|
|
s3_IntelligentTiering: "s3:IntelligentTiering",
|
|
s3_LifecycleExpiration_: "s3:LifecycleExpiration:*",
|
|
s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete",
|
|
s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated",
|
|
s3_LifecycleTransition: "s3:LifecycleTransition",
|
|
s3_ObjectAcl_Put: "s3:ObjectAcl:Put",
|
|
s3_ObjectCreated_: "s3:ObjectCreated:*",
|
|
s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload",
|
|
s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy",
|
|
s3_ObjectCreated_Post: "s3:ObjectCreated:Post",
|
|
s3_ObjectCreated_Put: "s3:ObjectCreated:Put",
|
|
s3_ObjectRemoved_: "s3:ObjectRemoved:*",
|
|
s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete",
|
|
s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated",
|
|
s3_ObjectRestore_: "s3:ObjectRestore:*",
|
|
s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed",
|
|
s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete",
|
|
s3_ObjectRestore_Post: "s3:ObjectRestore:Post",
|
|
s3_ObjectTagging_: "s3:ObjectTagging:*",
|
|
s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete",
|
|
s3_ObjectTagging_Put: "s3:ObjectTagging:Put",
|
|
s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject",
|
|
s3_Replication_: "s3:Replication:*",
|
|
s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication",
|
|
s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold",
|
|
s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked",
|
|
s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold",
|
|
};
|
|
export const FilterRuleName = {
|
|
prefix: "prefix",
|
|
suffix: "suffix",
|
|
};
|
|
export const DeleteMarkerReplicationStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const MetricsStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const ReplicationTimeStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const ExistingObjectReplicationStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const ReplicaModificationsStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const SseKmsEncryptedObjectsStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const ReplicationRuleStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const Payer = {
|
|
BucketOwner: "BucketOwner",
|
|
Requester: "Requester",
|
|
};
|
|
export const MFADeleteStatus = {
|
|
Disabled: "Disabled",
|
|
Enabled: "Enabled",
|
|
};
|
|
export const BucketVersioningStatus = {
|
|
Enabled: "Enabled",
|
|
Suspended: "Suspended",
|
|
};
|
|
export const Protocol = {
|
|
http: "http",
|
|
https: "https",
|
|
};
|
|
export const ReplicationStatus = {
|
|
COMPLETE: "COMPLETE",
|
|
COMPLETED: "COMPLETED",
|
|
FAILED: "FAILED",
|
|
PENDING: "PENDING",
|
|
REPLICA: "REPLICA",
|
|
};
|
|
export const ChecksumMode = {
|
|
ENABLED: "ENABLED",
|
|
};
|
|
export class InvalidObjectState extends __BaseException {
|
|
name = "InvalidObjectState";
|
|
$fault = "client";
|
|
StorageClass;
|
|
AccessTier;
|
|
constructor(opts) {
|
|
super({
|
|
name: "InvalidObjectState",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InvalidObjectState.prototype);
|
|
this.StorageClass = opts.StorageClass;
|
|
this.AccessTier = opts.AccessTier;
|
|
}
|
|
}
|
|
export class NoSuchKey extends __BaseException {
|
|
name = "NoSuchKey";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "NoSuchKey",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, NoSuchKey.prototype);
|
|
}
|
|
}
|
|
export const ObjectAttributes = {
|
|
CHECKSUM: "Checksum",
|
|
ETAG: "ETag",
|
|
OBJECT_PARTS: "ObjectParts",
|
|
OBJECT_SIZE: "ObjectSize",
|
|
STORAGE_CLASS: "StorageClass",
|
|
};
|
|
export const ObjectLockEnabled = {
|
|
Enabled: "Enabled",
|
|
};
|
|
export const ObjectLockRetentionMode = {
|
|
COMPLIANCE: "COMPLIANCE",
|
|
GOVERNANCE: "GOVERNANCE",
|
|
};
|
|
export class NotFound extends __BaseException {
|
|
name = "NotFound";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "NotFound",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, NotFound.prototype);
|
|
}
|
|
}
|
|
export const ArchiveStatus = {
|
|
ARCHIVE_ACCESS: "ARCHIVE_ACCESS",
|
|
DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS",
|
|
};
|
|
export const EncodingType = {
|
|
url: "url",
|
|
};
|
|
export const ObjectStorageClass = {
|
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
GLACIER: "GLACIER",
|
|
GLACIER_IR: "GLACIER_IR",
|
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
ONEZONE_IA: "ONEZONE_IA",
|
|
OUTPOSTS: "OUTPOSTS",
|
|
REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
|
|
SNOW: "SNOW",
|
|
STANDARD: "STANDARD",
|
|
STANDARD_IA: "STANDARD_IA",
|
|
};
|
|
export const OptionalObjectAttributes = {
|
|
RESTORE_STATUS: "RestoreStatus",
|
|
};
|
|
export const ObjectVersionStorageClass = {
|
|
STANDARD: "STANDARD",
|
|
};
|
|
export const CompleteMultipartUploadOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
});
|
|
export const CompleteMultipartUploadRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
});
|
|
export const CopyObjectOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
|
});
|
|
export const CopyObjectRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
|
...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }),
|
|
});
|
|
export const CreateMultipartUploadOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
|
});
|
|
export const CreateMultipartUploadRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
|
});
|
|
export const SessionCredentialsFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
|
|
...(obj.SessionToken && { SessionToken: SENSITIVE_STRING }),
|
|
});
|
|
export const CreateSessionOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
|
...(obj.Credentials && { Credentials: SessionCredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
});
|
|
export const CreateSessionRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
|
});
|
|
export const ServerSideEncryptionByDefaultFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.KMSMasterKeyID && { KMSMasterKeyID: SENSITIVE_STRING }),
|
|
});
|
|
export const ServerSideEncryptionRuleFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.ApplyServerSideEncryptionByDefault && {
|
|
ApplyServerSideEncryptionByDefault: ServerSideEncryptionByDefaultFilterSensitiveLog(obj.ApplyServerSideEncryptionByDefault),
|
|
}),
|
|
});
|
|
export const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.Rules && { Rules: obj.Rules.map((item) => ServerSideEncryptionRuleFilterSensitiveLog(item)) }),
|
|
});
|
|
export const GetBucketEncryptionOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.ServerSideEncryptionConfiguration && {
|
|
ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),
|
|
}),
|
|
});
|
|
export const SSEKMSFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.KeyId && { KeyId: SENSITIVE_STRING }),
|
|
});
|
|
export const InventoryEncryptionFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMS && { SSEKMS: SSEKMSFilterSensitiveLog(obj.SSEKMS) }),
|
|
});
|
|
export const InventoryS3BucketDestinationFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.Encryption && { Encryption: InventoryEncryptionFilterSensitiveLog(obj.Encryption) }),
|
|
});
|
|
export const InventoryDestinationFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.S3BucketDestination && {
|
|
S3BucketDestination: InventoryS3BucketDestinationFilterSensitiveLog(obj.S3BucketDestination),
|
|
}),
|
|
});
|
|
export const InventoryConfigurationFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.Destination && { Destination: InventoryDestinationFilterSensitiveLog(obj.Destination) }),
|
|
});
|
|
export const GetBucketInventoryConfigurationOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.InventoryConfiguration && {
|
|
InventoryConfiguration: InventoryConfigurationFilterSensitiveLog(obj.InventoryConfiguration),
|
|
}),
|
|
});
|
|
export const GetObjectOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
});
|
|
export const GetObjectRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
});
|
|
export const GetObjectAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
});
|
|
export const GetObjectTorrentOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
});
|
|
export const HeadObjectOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
});
|
|
export const HeadObjectRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
});
|
|
export const ListBucketInventoryConfigurationsOutputFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.InventoryConfigurationList && {
|
|
InventoryConfigurationList: obj.InventoryConfigurationList.map((item) => InventoryConfigurationFilterSensitiveLog(item)),
|
|
}),
|
|
});
|
|
export const ListPartsRequestFilterSensitiveLog = (obj) => ({
|
|
...obj,
|
|
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
});
|