Initial
This commit is contained in:
8
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
generated
vendored
Normal file
8
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
||||
export { __ServiceException };
|
||||
export class S3ServiceException extends __ServiceException {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
Object.setPrototypeOf(this, S3ServiceException.prototype);
|
||||
}
|
||||
}
|
||||
2
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/index.js
generated
vendored
Normal file
2
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./models_0";
|
||||
export * from "./models_1";
|
||||
607
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js
generated
vendored
Normal file
607
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js
generated
vendored
Normal file
@@ -0,0 +1,607 @@
|
||||
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 {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "NoSuchUpload",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "NoSuchUpload";
|
||||
this.$fault = "client";
|
||||
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 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",
|
||||
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 {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "ObjectNotInActiveTierError",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "ObjectNotInActiveTierError";
|
||||
this.$fault = "client";
|
||||
Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype);
|
||||
}
|
||||
}
|
||||
export class BucketAlreadyExists extends __BaseException {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "BucketAlreadyExists",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "BucketAlreadyExists";
|
||||
this.$fault = "client";
|
||||
Object.setPrototypeOf(this, BucketAlreadyExists.prototype);
|
||||
}
|
||||
}
|
||||
export class BucketAlreadyOwnedByYou extends __BaseException {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "BucketAlreadyOwnedByYou",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "BucketAlreadyOwnedByYou";
|
||||
this.$fault = "client";
|
||||
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",
|
||||
};
|
||||
export const BucketType = {
|
||||
Directory: "Directory",
|
||||
};
|
||||
export const LocationType = {
|
||||
AvailabilityZone: "AvailabilityZone",
|
||||
};
|
||||
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",
|
||||
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_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",
|
||||
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 {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "NoSuchBucket",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "NoSuchBucket";
|
||||
this.$fault = "client";
|
||||
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 var LifecycleRuleFilter;
|
||||
(function (LifecycleRuleFilter) {
|
||||
LifecycleRuleFilter.visit = (value, visitor) => {
|
||||
if (value.Prefix !== undefined)
|
||||
return visitor.Prefix(value.Prefix);
|
||||
if (value.Tag !== undefined)
|
||||
return visitor.Tag(value.Tag);
|
||||
if (value.ObjectSizeGreaterThan !== undefined)
|
||||
return visitor.ObjectSizeGreaterThan(value.ObjectSizeGreaterThan);
|
||||
if (value.ObjectSizeLessThan !== undefined)
|
||||
return visitor.ObjectSizeLessThan(value.ObjectSizeLessThan);
|
||||
if (value.And !== undefined)
|
||||
return visitor.And(value.And);
|
||||
return visitor._(value.$unknown[0], value.$unknown[1]);
|
||||
};
|
||||
})(LifecycleRuleFilter || (LifecycleRuleFilter = {}));
|
||||
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 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 var ReplicationRuleFilter;
|
||||
(function (ReplicationRuleFilter) {
|
||||
ReplicationRuleFilter.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]);
|
||||
};
|
||||
})(ReplicationRuleFilter || (ReplicationRuleFilter = {}));
|
||||
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 {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "InvalidObjectState",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "InvalidObjectState";
|
||||
this.$fault = "client";
|
||||
Object.setPrototypeOf(this, InvalidObjectState.prototype);
|
||||
this.StorageClass = opts.StorageClass;
|
||||
this.AccessTier = opts.AccessTier;
|
||||
}
|
||||
}
|
||||
export class NoSuchKey extends __BaseException {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "NoSuchKey",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "NoSuchKey";
|
||||
this.$fault = "client";
|
||||
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 {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "NotFound",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "NotFound";
|
||||
this.$fault = "client";
|
||||
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.Credentials && { Credentials: SessionCredentialsFilterSensitiveLog(obj.Credentials) }),
|
||||
});
|
||||
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 }),
|
||||
});
|
||||
export const PutBucketEncryptionRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.ServerSideEncryptionConfiguration && {
|
||||
ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),
|
||||
}),
|
||||
});
|
||||
export const PutBucketInventoryConfigurationRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.InventoryConfiguration && {
|
||||
InventoryConfiguration: InventoryConfigurationFilterSensitiveLog(obj.InventoryConfiguration),
|
||||
}),
|
||||
});
|
||||
137
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js
generated
vendored
Normal file
137
resources/app/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js
generated
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
||||
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
||||
export const MFADelete = {
|
||||
Disabled: "Disabled",
|
||||
Enabled: "Enabled",
|
||||
};
|
||||
export class ObjectAlreadyInActiveTierError extends __BaseException {
|
||||
constructor(opts) {
|
||||
super({
|
||||
name: "ObjectAlreadyInActiveTierError",
|
||||
$fault: "client",
|
||||
...opts,
|
||||
});
|
||||
this.name = "ObjectAlreadyInActiveTierError";
|
||||
this.$fault = "client";
|
||||
Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype);
|
||||
}
|
||||
}
|
||||
export const Tier = {
|
||||
Bulk: "Bulk",
|
||||
Expedited: "Expedited",
|
||||
Standard: "Standard",
|
||||
};
|
||||
export const ExpressionType = {
|
||||
SQL: "SQL",
|
||||
};
|
||||
export const CompressionType = {
|
||||
BZIP2: "BZIP2",
|
||||
GZIP: "GZIP",
|
||||
NONE: "NONE",
|
||||
};
|
||||
export const FileHeaderInfo = {
|
||||
IGNORE: "IGNORE",
|
||||
NONE: "NONE",
|
||||
USE: "USE",
|
||||
};
|
||||
export const JSONType = {
|
||||
DOCUMENT: "DOCUMENT",
|
||||
LINES: "LINES",
|
||||
};
|
||||
export const QuoteFields = {
|
||||
ALWAYS: "ALWAYS",
|
||||
ASNEEDED: "ASNEEDED",
|
||||
};
|
||||
export const RestoreRequestType = {
|
||||
SELECT: "SELECT",
|
||||
};
|
||||
export var SelectObjectContentEventStream;
|
||||
(function (SelectObjectContentEventStream) {
|
||||
SelectObjectContentEventStream.visit = (value, visitor) => {
|
||||
if (value.Records !== undefined)
|
||||
return visitor.Records(value.Records);
|
||||
if (value.Stats !== undefined)
|
||||
return visitor.Stats(value.Stats);
|
||||
if (value.Progress !== undefined)
|
||||
return visitor.Progress(value.Progress);
|
||||
if (value.Cont !== undefined)
|
||||
return visitor.Cont(value.Cont);
|
||||
if (value.End !== undefined)
|
||||
return visitor.End(value.End);
|
||||
return visitor._(value.$unknown[0], value.$unknown[1]);
|
||||
};
|
||||
})(SelectObjectContentEventStream || (SelectObjectContentEventStream = {}));
|
||||
export const PutObjectOutputFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
||||
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
||||
});
|
||||
export const PutObjectRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
||||
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
||||
...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),
|
||||
});
|
||||
export const EncryptionFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.KMSKeyId && { KMSKeyId: SENSITIVE_STRING }),
|
||||
});
|
||||
export const S3LocationFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.Encryption && { Encryption: EncryptionFilterSensitiveLog(obj.Encryption) }),
|
||||
});
|
||||
export const OutputLocationFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.S3 && { S3: S3LocationFilterSensitiveLog(obj.S3) }),
|
||||
});
|
||||
export const RestoreRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.OutputLocation && { OutputLocation: OutputLocationFilterSensitiveLog(obj.OutputLocation) }),
|
||||
});
|
||||
export const RestoreObjectRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.RestoreRequest && { RestoreRequest: RestoreRequestFilterSensitiveLog(obj.RestoreRequest) }),
|
||||
});
|
||||
export const SelectObjectContentEventStreamFilterSensitiveLog = (obj) => {
|
||||
if (obj.Records !== undefined)
|
||||
return { Records: obj.Records };
|
||||
if (obj.Stats !== undefined)
|
||||
return { Stats: obj.Stats };
|
||||
if (obj.Progress !== undefined)
|
||||
return { Progress: obj.Progress };
|
||||
if (obj.Cont !== undefined)
|
||||
return { Cont: obj.Cont };
|
||||
if (obj.End !== undefined)
|
||||
return { End: obj.End };
|
||||
if (obj.$unknown !== undefined)
|
||||
return { [obj.$unknown[0]]: "UNKNOWN" };
|
||||
};
|
||||
export const SelectObjectContentOutputFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.Payload && { Payload: "STREAMING_CONTENT" }),
|
||||
});
|
||||
export const SelectObjectContentRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
||||
});
|
||||
export const UploadPartOutputFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
||||
});
|
||||
export const UploadPartRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
||||
});
|
||||
export const UploadPartCopyOutputFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
||||
});
|
||||
export const UploadPartCopyRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
||||
...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }),
|
||||
});
|
||||
export const WriteGetObjectResponseRequestFilterSensitiveLog = (obj) => ({
|
||||
...obj,
|
||||
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
||||
});
|
||||
Reference in New Issue
Block a user