Skip to content

Literals#

Index > S3 > Literals

Auto-generated documentation for S3 type annotations stubs module mypy-boto3-s3.

AnalyticsS3ExportFileFormatType#

# AnalyticsS3ExportFileFormatType usage example

from mypy_boto3_s3.literals import AnalyticsS3ExportFileFormatType

def get_value() -> AnalyticsS3ExportFileFormatType:
    return "CSV"
# AnalyticsS3ExportFileFormatType definition

AnalyticsS3ExportFileFormatType = Literal[
    "CSV",
]

ArchiveStatusType#

# ArchiveStatusType usage example

from mypy_boto3_s3.literals import ArchiveStatusType

def get_value() -> ArchiveStatusType:
    return "ARCHIVE_ACCESS"
# ArchiveStatusType definition

ArchiveStatusType = Literal[
    "ARCHIVE_ACCESS",
    "DEEP_ARCHIVE_ACCESS",
]

BucketAccelerateStatusType#

# BucketAccelerateStatusType usage example

from mypy_boto3_s3.literals import BucketAccelerateStatusType

def get_value() -> BucketAccelerateStatusType:
    return "Enabled"
# BucketAccelerateStatusType definition

BucketAccelerateStatusType = Literal[
    "Enabled",
    "Suspended",
]

BucketCannedACLType#

# BucketCannedACLType usage example

from mypy_boto3_s3.literals import BucketCannedACLType

def get_value() -> BucketCannedACLType:
    return "authenticated-read"
# BucketCannedACLType definition

BucketCannedACLType = Literal[
    "authenticated-read",
    "private",
    "public-read",
    "public-read-write",
]

BucketExistsWaiterName#

# BucketExistsWaiterName usage example

from mypy_boto3_s3.literals import BucketExistsWaiterName

def get_value() -> BucketExistsWaiterName:
    return "bucket_exists"
# BucketExistsWaiterName definition

BucketExistsWaiterName = Literal[
    "bucket_exists",
]

BucketLocationConstraintType#

# BucketLocationConstraintType usage example

from mypy_boto3_s3.literals import BucketLocationConstraintType

def get_value() -> BucketLocationConstraintType:
    return "EU"
# BucketLocationConstraintType definition

BucketLocationConstraintType = Literal[
    "af-south-1",
    "ap-east-1",
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-northeast-3",
    "ap-south-1",
    "ap-south-2",
    "ap-southeast-1",
    "ap-southeast-2",
    "ap-southeast-3",
    "ca-central-1",
    "cn-north-1",
    "cn-northwest-1",
    "EU",
    "eu-central-1",
    "eu-north-1",
    "eu-south-1",
    "eu-south-2",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "me-south-1",
    "sa-east-1",
    "us-east-2",
    "us-gov-east-1",
    "us-gov-west-1",
    "us-west-1",
    "us-west-2",
]

BucketLogsPermissionType#

# BucketLogsPermissionType usage example

from mypy_boto3_s3.literals import BucketLogsPermissionType

def get_value() -> BucketLogsPermissionType:
    return "FULL_CONTROL"
# BucketLogsPermissionType definition

BucketLogsPermissionType = Literal[
    "FULL_CONTROL",
    "READ",
    "WRITE",
]

BucketNotExistsWaiterName#

# BucketNotExistsWaiterName usage example

from mypy_boto3_s3.literals import BucketNotExistsWaiterName

def get_value() -> BucketNotExistsWaiterName:
    return "bucket_not_exists"
# BucketNotExistsWaiterName definition

BucketNotExistsWaiterName = Literal[
    "bucket_not_exists",
]

BucketTypeType#

# BucketTypeType usage example

from mypy_boto3_s3.literals import BucketTypeType

def get_value() -> BucketTypeType:
    return "Directory"
# BucketTypeType definition

BucketTypeType = Literal[
    "Directory",
]

BucketVersioningStatusType#

# BucketVersioningStatusType usage example

from mypy_boto3_s3.literals import BucketVersioningStatusType

def get_value() -> BucketVersioningStatusType:
    return "Enabled"
# BucketVersioningStatusType definition

BucketVersioningStatusType = Literal[
    "Enabled",
    "Suspended",
]

ChecksumAlgorithmType#

# ChecksumAlgorithmType usage example

from mypy_boto3_s3.literals import ChecksumAlgorithmType

def get_value() -> ChecksumAlgorithmType:
    return "CRC32"
# ChecksumAlgorithmType definition

ChecksumAlgorithmType = Literal[
    "CRC32",
    "CRC32C",
    "SHA1",
    "SHA256",
]

ChecksumModeType#

# ChecksumModeType usage example

from mypy_boto3_s3.literals import ChecksumModeType

def get_value() -> ChecksumModeType:
    return "ENABLED"
# ChecksumModeType definition

ChecksumModeType = Literal[
    "ENABLED",
]

CompressionTypeType#

# CompressionTypeType usage example

from mypy_boto3_s3.literals import CompressionTypeType

def get_value() -> CompressionTypeType:
    return "BZIP2"
# CompressionTypeType definition

CompressionTypeType = Literal[
    "BZIP2",
    "GZIP",
    "NONE",
]

DataRedundancyType#

# DataRedundancyType usage example

from mypy_boto3_s3.literals import DataRedundancyType

def get_value() -> DataRedundancyType:
    return "SingleAvailabilityZone"
# DataRedundancyType definition

DataRedundancyType = Literal[
    "SingleAvailabilityZone",
]

DeleteMarkerReplicationStatusType#

# DeleteMarkerReplicationStatusType usage example

from mypy_boto3_s3.literals import DeleteMarkerReplicationStatusType

def get_value() -> DeleteMarkerReplicationStatusType:
    return "Disabled"
# DeleteMarkerReplicationStatusType definition

DeleteMarkerReplicationStatusType = Literal[
    "Disabled",
    "Enabled",
]

EncodingTypeType#

# EncodingTypeType usage example

from mypy_boto3_s3.literals import EncodingTypeType

def get_value() -> EncodingTypeType:
    return "url"
# EncodingTypeType definition

EncodingTypeType = Literal[
    "url",
]

EventType#

# EventType usage example

from mypy_boto3_s3.literals import EventType

def get_value() -> EventType:
    return "s3:IntelligentTiering"
# EventType definition

EventType = Literal[
    "s3:IntelligentTiering",
    "s3:LifecycleExpiration:*",
    "s3:LifecycleExpiration:Delete",
    "s3:LifecycleExpiration:DeleteMarkerCreated",
    "s3:LifecycleTransition",
    "s3:ObjectAcl:Put",
    "s3:ObjectCreated:*",
    "s3:ObjectCreated:CompleteMultipartUpload",
    "s3:ObjectCreated:Copy",
    "s3:ObjectCreated:Post",
    "s3:ObjectCreated:Put",
    "s3:ObjectRemoved:*",
    "s3:ObjectRemoved:Delete",
    "s3:ObjectRemoved:DeleteMarkerCreated",
    "s3:ObjectRestore:*",
    "s3:ObjectRestore:Completed",
    "s3:ObjectRestore:Delete",
    "s3:ObjectRestore:Post",
    "s3:ObjectTagging:*",
    "s3:ObjectTagging:Delete",
    "s3:ObjectTagging:Put",
    "s3:ReducedRedundancyLostObject",
    "s3:Replication:*",
    "s3:Replication:OperationFailedReplication",
    "s3:Replication:OperationMissedThreshold",
    "s3:Replication:OperationNotTracked",
    "s3:Replication:OperationReplicatedAfterThreshold",
]

ExistingObjectReplicationStatusType#

# ExistingObjectReplicationStatusType usage example

from mypy_boto3_s3.literals import ExistingObjectReplicationStatusType

def get_value() -> ExistingObjectReplicationStatusType:
    return "Disabled"
# ExistingObjectReplicationStatusType definition

ExistingObjectReplicationStatusType = Literal[
    "Disabled",
    "Enabled",
]

ExpirationStatusType#

# ExpirationStatusType usage example

from mypy_boto3_s3.literals import ExpirationStatusType

def get_value() -> ExpirationStatusType:
    return "Disabled"
# ExpirationStatusType definition

ExpirationStatusType = Literal[
    "Disabled",
    "Enabled",
]

ExpressionTypeType#

# ExpressionTypeType usage example

from mypy_boto3_s3.literals import ExpressionTypeType

def get_value() -> ExpressionTypeType:
    return "SQL"
# ExpressionTypeType definition

ExpressionTypeType = Literal[
    "SQL",
]

FileHeaderInfoType#

# FileHeaderInfoType usage example

from mypy_boto3_s3.literals import FileHeaderInfoType

def get_value() -> FileHeaderInfoType:
    return "IGNORE"
# FileHeaderInfoType definition

FileHeaderInfoType = Literal[
    "IGNORE",
    "NONE",
    "USE",
]

FilterRuleNameType#

# FilterRuleNameType usage example

from mypy_boto3_s3.literals import FilterRuleNameType

def get_value() -> FilterRuleNameType:
    return "prefix"
# FilterRuleNameType definition

FilterRuleNameType = Literal[
    "prefix",
    "suffix",
]

IntelligentTieringAccessTierType#

# IntelligentTieringAccessTierType usage example

from mypy_boto3_s3.literals import IntelligentTieringAccessTierType

def get_value() -> IntelligentTieringAccessTierType:
    return "ARCHIVE_ACCESS"
# IntelligentTieringAccessTierType definition

IntelligentTieringAccessTierType = Literal[
    "ARCHIVE_ACCESS",
    "DEEP_ARCHIVE_ACCESS",
]

IntelligentTieringStatusType#

# IntelligentTieringStatusType usage example

from mypy_boto3_s3.literals import IntelligentTieringStatusType

def get_value() -> IntelligentTieringStatusType:
    return "Disabled"
# IntelligentTieringStatusType definition

IntelligentTieringStatusType = Literal[
    "Disabled",
    "Enabled",
]

InventoryFormatType#

# InventoryFormatType usage example

from mypy_boto3_s3.literals import InventoryFormatType

def get_value() -> InventoryFormatType:
    return "CSV"
# InventoryFormatType definition

InventoryFormatType = Literal[
    "CSV",
    "ORC",
    "Parquet",
]

InventoryFrequencyType#

# InventoryFrequencyType usage example

from mypy_boto3_s3.literals import InventoryFrequencyType

def get_value() -> InventoryFrequencyType:
    return "Daily"
# InventoryFrequencyType definition

InventoryFrequencyType = Literal[
    "Daily",
    "Weekly",
]

InventoryIncludedObjectVersionsType#

# InventoryIncludedObjectVersionsType usage example

from mypy_boto3_s3.literals import InventoryIncludedObjectVersionsType

def get_value() -> InventoryIncludedObjectVersionsType:
    return "All"
# InventoryIncludedObjectVersionsType definition

InventoryIncludedObjectVersionsType = Literal[
    "All",
    "Current",
]

InventoryOptionalFieldType#

# InventoryOptionalFieldType usage example

from mypy_boto3_s3.literals import InventoryOptionalFieldType

def get_value() -> InventoryOptionalFieldType:
    return "BucketKeyStatus"
# InventoryOptionalFieldType definition

InventoryOptionalFieldType = Literal[
    "BucketKeyStatus",
    "ChecksumAlgorithm",
    "EncryptionStatus",
    "ETag",
    "IntelligentTieringAccessTier",
    "IsMultipartUploaded",
    "LastModifiedDate",
    "ObjectAccessControlList",
    "ObjectLockLegalHoldStatus",
    "ObjectLockMode",
    "ObjectLockRetainUntilDate",
    "ObjectOwner",
    "ReplicationStatus",
    "Size",
    "StorageClass",
]

JSONTypeType#

# JSONTypeType usage example

from mypy_boto3_s3.literals import JSONTypeType

def get_value() -> JSONTypeType:
    return "DOCUMENT"
# JSONTypeType definition

JSONTypeType = Literal[
    "DOCUMENT",
    "LINES",
]

ListBucketsPaginatorName#

# ListBucketsPaginatorName usage example

from mypy_boto3_s3.literals import ListBucketsPaginatorName

def get_value() -> ListBucketsPaginatorName:
    return "list_buckets"
# ListBucketsPaginatorName definition

ListBucketsPaginatorName = Literal[
    "list_buckets",
]

ListDirectoryBucketsPaginatorName#

# ListDirectoryBucketsPaginatorName usage example

from mypy_boto3_s3.literals import ListDirectoryBucketsPaginatorName

def get_value() -> ListDirectoryBucketsPaginatorName:
    return "list_directory_buckets"
# ListDirectoryBucketsPaginatorName definition

ListDirectoryBucketsPaginatorName = Literal[
    "list_directory_buckets",
]

ListMultipartUploadsPaginatorName#

# ListMultipartUploadsPaginatorName usage example

from mypy_boto3_s3.literals import ListMultipartUploadsPaginatorName

def get_value() -> ListMultipartUploadsPaginatorName:
    return "list_multipart_uploads"
# ListMultipartUploadsPaginatorName definition

ListMultipartUploadsPaginatorName = Literal[
    "list_multipart_uploads",
]

ListObjectVersionsPaginatorName#

# ListObjectVersionsPaginatorName usage example

from mypy_boto3_s3.literals import ListObjectVersionsPaginatorName

def get_value() -> ListObjectVersionsPaginatorName:
    return "list_object_versions"
# ListObjectVersionsPaginatorName definition

ListObjectVersionsPaginatorName = Literal[
    "list_object_versions",
]

ListObjectsPaginatorName#

# ListObjectsPaginatorName usage example

from mypy_boto3_s3.literals import ListObjectsPaginatorName

def get_value() -> ListObjectsPaginatorName:
    return "list_objects"
# ListObjectsPaginatorName definition

ListObjectsPaginatorName = Literal[
    "list_objects",
]

ListObjectsV2PaginatorName#

# ListObjectsV2PaginatorName usage example

from mypy_boto3_s3.literals import ListObjectsV2PaginatorName

def get_value() -> ListObjectsV2PaginatorName:
    return "list_objects_v2"
# ListObjectsV2PaginatorName definition

ListObjectsV2PaginatorName = Literal[
    "list_objects_v2",
]

ListPartsPaginatorName#

# ListPartsPaginatorName usage example

from mypy_boto3_s3.literals import ListPartsPaginatorName

def get_value() -> ListPartsPaginatorName:
    return "list_parts"
# ListPartsPaginatorName definition

ListPartsPaginatorName = Literal[
    "list_parts",
]

LocationTypeType#

# LocationTypeType usage example

from mypy_boto3_s3.literals import LocationTypeType

def get_value() -> LocationTypeType:
    return "AvailabilityZone"
# LocationTypeType definition

LocationTypeType = Literal[
    "AvailabilityZone",
]

MFADeleteStatusType#

# MFADeleteStatusType usage example

from mypy_boto3_s3.literals import MFADeleteStatusType

def get_value() -> MFADeleteStatusType:
    return "Disabled"
# MFADeleteStatusType definition

MFADeleteStatusType = Literal[
    "Disabled",
    "Enabled",
]

MFADeleteType#

# MFADeleteType usage example

from mypy_boto3_s3.literals import MFADeleteType

def get_value() -> MFADeleteType:
    return "Disabled"
# MFADeleteType definition

MFADeleteType = Literal[
    "Disabled",
    "Enabled",
]

MetadataDirectiveType#

# MetadataDirectiveType usage example

from mypy_boto3_s3.literals import MetadataDirectiveType

def get_value() -> MetadataDirectiveType:
    return "COPY"
# MetadataDirectiveType definition

MetadataDirectiveType = Literal[
    "COPY",
    "REPLACE",
]

MetricsStatusType#

# MetricsStatusType usage example

from mypy_boto3_s3.literals import MetricsStatusType

def get_value() -> MetricsStatusType:
    return "Disabled"
# MetricsStatusType definition

MetricsStatusType = Literal[
    "Disabled",
    "Enabled",
]

ObjectAttributesType#

# ObjectAttributesType usage example

from mypy_boto3_s3.literals import ObjectAttributesType

def get_value() -> ObjectAttributesType:
    return "Checksum"
# ObjectAttributesType definition

ObjectAttributesType = Literal[
    "Checksum",
    "ETag",
    "ObjectParts",
    "ObjectSize",
    "StorageClass",
]

ObjectCannedACLType#

# ObjectCannedACLType usage example

from mypy_boto3_s3.literals import ObjectCannedACLType

def get_value() -> ObjectCannedACLType:
    return "authenticated-read"
# ObjectCannedACLType definition

ObjectCannedACLType = Literal[
    "authenticated-read",
    "aws-exec-read",
    "bucket-owner-full-control",
    "bucket-owner-read",
    "private",
    "public-read",
    "public-read-write",
]

ObjectExistsWaiterName#

# ObjectExistsWaiterName usage example

from mypy_boto3_s3.literals import ObjectExistsWaiterName

def get_value() -> ObjectExistsWaiterName:
    return "object_exists"
# ObjectExistsWaiterName definition

ObjectExistsWaiterName = Literal[
    "object_exists",
]

ObjectLockEnabledType#

# ObjectLockEnabledType usage example

from mypy_boto3_s3.literals import ObjectLockEnabledType

def get_value() -> ObjectLockEnabledType:
    return "Enabled"
# ObjectLockEnabledType definition

ObjectLockEnabledType = Literal[
    "Enabled",
]

ObjectLockLegalHoldStatusType#

# ObjectLockLegalHoldStatusType usage example

from mypy_boto3_s3.literals import ObjectLockLegalHoldStatusType

def get_value() -> ObjectLockLegalHoldStatusType:
    return "OFF"
# ObjectLockLegalHoldStatusType definition

ObjectLockLegalHoldStatusType = Literal[
    "OFF",
    "ON",
]

ObjectLockModeType#

# ObjectLockModeType usage example

from mypy_boto3_s3.literals import ObjectLockModeType

def get_value() -> ObjectLockModeType:
    return "COMPLIANCE"
# ObjectLockModeType definition

ObjectLockModeType = Literal[
    "COMPLIANCE",
    "GOVERNANCE",
]

ObjectLockRetentionModeType#

# ObjectLockRetentionModeType usage example

from mypy_boto3_s3.literals import ObjectLockRetentionModeType

def get_value() -> ObjectLockRetentionModeType:
    return "COMPLIANCE"
# ObjectLockRetentionModeType definition

ObjectLockRetentionModeType = Literal[
    "COMPLIANCE",
    "GOVERNANCE",
]

ObjectNotExistsWaiterName#

# ObjectNotExistsWaiterName usage example

from mypy_boto3_s3.literals import ObjectNotExistsWaiterName

def get_value() -> ObjectNotExistsWaiterName:
    return "object_not_exists"
# ObjectNotExistsWaiterName definition

ObjectNotExistsWaiterName = Literal[
    "object_not_exists",
]

ObjectOwnershipType#

# ObjectOwnershipType usage example

from mypy_boto3_s3.literals import ObjectOwnershipType

def get_value() -> ObjectOwnershipType:
    return "BucketOwnerEnforced"
# ObjectOwnershipType definition

ObjectOwnershipType = Literal[
    "BucketOwnerEnforced",
    "BucketOwnerPreferred",
    "ObjectWriter",
]

ObjectStorageClassType#

# ObjectStorageClassType usage example

from mypy_boto3_s3.literals import ObjectStorageClassType

def get_value() -> ObjectStorageClassType:
    return "DEEP_ARCHIVE"
# ObjectStorageClassType definition

ObjectStorageClassType = Literal[
    "DEEP_ARCHIVE",
    "EXPRESS_ONEZONE",
    "GLACIER",
    "GLACIER_IR",
    "INTELLIGENT_TIERING",
    "ONEZONE_IA",
    "OUTPOSTS",
    "REDUCED_REDUNDANCY",
    "SNOW",
    "STANDARD",
    "STANDARD_IA",
]

ObjectVersionStorageClassType#

# ObjectVersionStorageClassType usage example

from mypy_boto3_s3.literals import ObjectVersionStorageClassType

def get_value() -> ObjectVersionStorageClassType:
    return "STANDARD"
# ObjectVersionStorageClassType definition

ObjectVersionStorageClassType = Literal[
    "STANDARD",
]

OptionalObjectAttributesType#

# OptionalObjectAttributesType usage example

from mypy_boto3_s3.literals import OptionalObjectAttributesType

def get_value() -> OptionalObjectAttributesType:
    return "RestoreStatus"
# OptionalObjectAttributesType definition

OptionalObjectAttributesType = Literal[
    "RestoreStatus",
]

OwnerOverrideType#

# OwnerOverrideType usage example

from mypy_boto3_s3.literals import OwnerOverrideType

def get_value() -> OwnerOverrideType:
    return "Destination"
# OwnerOverrideType definition

OwnerOverrideType = Literal[
    "Destination",
]

PartitionDateSourceType#

# PartitionDateSourceType usage example

from mypy_boto3_s3.literals import PartitionDateSourceType

def get_value() -> PartitionDateSourceType:
    return "DeliveryTime"
# PartitionDateSourceType definition

PartitionDateSourceType = Literal[
    "DeliveryTime",
    "EventTime",
]

PayerType#

# PayerType usage example

from mypy_boto3_s3.literals import PayerType

def get_value() -> PayerType:
    return "BucketOwner"
# PayerType definition

PayerType = Literal[
    "BucketOwner",
    "Requester",
]

PermissionType#

# PermissionType usage example

from mypy_boto3_s3.literals import PermissionType

def get_value() -> PermissionType:
    return "FULL_CONTROL"
# PermissionType definition

PermissionType = Literal[
    "FULL_CONTROL",
    "READ",
    "READ_ACP",
    "WRITE",
    "WRITE_ACP",
]

ProtocolType#

# ProtocolType usage example

from mypy_boto3_s3.literals import ProtocolType

def get_value() -> ProtocolType:
    return "http"
# ProtocolType definition

ProtocolType = Literal[
    "http",
    "https",
]

QuoteFieldsType#

# QuoteFieldsType usage example

from mypy_boto3_s3.literals import QuoteFieldsType

def get_value() -> QuoteFieldsType:
    return "ALWAYS"
# QuoteFieldsType definition

QuoteFieldsType = Literal[
    "ALWAYS",
    "ASNEEDED",
]

ReplicaModificationsStatusType#

# ReplicaModificationsStatusType usage example

from mypy_boto3_s3.literals import ReplicaModificationsStatusType

def get_value() -> ReplicaModificationsStatusType:
    return "Disabled"
# ReplicaModificationsStatusType definition

ReplicaModificationsStatusType = Literal[
    "Disabled",
    "Enabled",
]

ReplicationRuleStatusType#

# ReplicationRuleStatusType usage example

from mypy_boto3_s3.literals import ReplicationRuleStatusType

def get_value() -> ReplicationRuleStatusType:
    return "Disabled"
# ReplicationRuleStatusType definition

ReplicationRuleStatusType = Literal[
    "Disabled",
    "Enabled",
]

ReplicationStatusType#

# ReplicationStatusType usage example

from mypy_boto3_s3.literals import ReplicationStatusType

def get_value() -> ReplicationStatusType:
    return "COMPLETE"
# ReplicationStatusType definition

ReplicationStatusType = Literal[
    "COMPLETE",
    "COMPLETED",
    "FAILED",
    "PENDING",
    "REPLICA",
]

ReplicationTimeStatusType#

# ReplicationTimeStatusType usage example

from mypy_boto3_s3.literals import ReplicationTimeStatusType

def get_value() -> ReplicationTimeStatusType:
    return "Disabled"
# ReplicationTimeStatusType definition

ReplicationTimeStatusType = Literal[
    "Disabled",
    "Enabled",
]

RequestChargedType#

# RequestChargedType usage example

from mypy_boto3_s3.literals import RequestChargedType

def get_value() -> RequestChargedType:
    return "requester"
# RequestChargedType definition

RequestChargedType = Literal[
    "requester",
]

RequestPayerType#

# RequestPayerType usage example

from mypy_boto3_s3.literals import RequestPayerType

def get_value() -> RequestPayerType:
    return "requester"
# RequestPayerType definition

RequestPayerType = Literal[
    "requester",
]

RestoreRequestTypeType#

# RestoreRequestTypeType usage example

from mypy_boto3_s3.literals import RestoreRequestTypeType

def get_value() -> RestoreRequestTypeType:
    return "SELECT"
# RestoreRequestTypeType definition

RestoreRequestTypeType = Literal[
    "SELECT",
]

ServerSideEncryptionType#

# ServerSideEncryptionType usage example

from mypy_boto3_s3.literals import ServerSideEncryptionType

def get_value() -> ServerSideEncryptionType:
    return "AES256"
# ServerSideEncryptionType definition

ServerSideEncryptionType = Literal[
    "AES256",
    "aws:kms",
    "aws:kms:dsse",
]

SessionModeType#

# SessionModeType usage example

from mypy_boto3_s3.literals import SessionModeType

def get_value() -> SessionModeType:
    return "ReadOnly"
# SessionModeType definition

SessionModeType = Literal[
    "ReadOnly",
    "ReadWrite",
]

SseKmsEncryptedObjectsStatusType#

# SseKmsEncryptedObjectsStatusType usage example

from mypy_boto3_s3.literals import SseKmsEncryptedObjectsStatusType

def get_value() -> SseKmsEncryptedObjectsStatusType:
    return "Disabled"
# SseKmsEncryptedObjectsStatusType definition

SseKmsEncryptedObjectsStatusType = Literal[
    "Disabled",
    "Enabled",
]

StorageClassAnalysisSchemaVersionType#

# StorageClassAnalysisSchemaVersionType usage example

from mypy_boto3_s3.literals import StorageClassAnalysisSchemaVersionType

def get_value() -> StorageClassAnalysisSchemaVersionType:
    return "V_1"
# StorageClassAnalysisSchemaVersionType definition

StorageClassAnalysisSchemaVersionType = Literal[
    "V_1",
]

StorageClassType#

# StorageClassType usage example

from mypy_boto3_s3.literals import StorageClassType

def get_value() -> StorageClassType:
    return "DEEP_ARCHIVE"
# StorageClassType definition

StorageClassType = Literal[
    "DEEP_ARCHIVE",
    "EXPRESS_ONEZONE",
    "GLACIER",
    "GLACIER_IR",
    "INTELLIGENT_TIERING",
    "ONEZONE_IA",
    "OUTPOSTS",
    "REDUCED_REDUNDANCY",
    "SNOW",
    "STANDARD",
    "STANDARD_IA",
]

TaggingDirectiveType#

# TaggingDirectiveType usage example

from mypy_boto3_s3.literals import TaggingDirectiveType

def get_value() -> TaggingDirectiveType:
    return "COPY"
# TaggingDirectiveType definition

TaggingDirectiveType = Literal[
    "COPY",
    "REPLACE",
]

TierType#

# TierType usage example

from mypy_boto3_s3.literals import TierType

def get_value() -> TierType:
    return "Bulk"
# TierType definition

TierType = Literal[
    "Bulk",
    "Expedited",
    "Standard",
]

TransitionDefaultMinimumObjectSizeType#

# TransitionDefaultMinimumObjectSizeType usage example

from mypy_boto3_s3.literals import TransitionDefaultMinimumObjectSizeType

def get_value() -> TransitionDefaultMinimumObjectSizeType:
    return "all_storage_classes_128K"
# TransitionDefaultMinimumObjectSizeType definition

TransitionDefaultMinimumObjectSizeType = Literal[
    "all_storage_classes_128K",
    "varies_by_storage_class",
]

TransitionStorageClassType#

# TransitionStorageClassType usage example

from mypy_boto3_s3.literals import TransitionStorageClassType

def get_value() -> TransitionStorageClassType:
    return "DEEP_ARCHIVE"
# TransitionStorageClassType definition

TransitionStorageClassType = Literal[
    "DEEP_ARCHIVE",
    "GLACIER",
    "GLACIER_IR",
    "INTELLIGENT_TIERING",
    "ONEZONE_IA",
    "STANDARD_IA",
]

TypeType#

# TypeType usage example

from mypy_boto3_s3.literals import TypeType

def get_value() -> TypeType:
    return "AmazonCustomerByEmail"
# TypeType definition

TypeType = Literal[
    "AmazonCustomerByEmail",
    "CanonicalUser",
    "Group",
]

S3ServiceName#

# S3ServiceName usage example

from mypy_boto3_s3.literals import S3ServiceName

def get_value() -> S3ServiceName:
    return "s3"
# S3ServiceName definition

S3ServiceName = Literal[
    "s3",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_s3.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
# ServiceName definition

ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appfabric",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "application-signals",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream",
    "appsync",
    "apptest",
    "arc-zonal-shift",
    "artifact",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "b2bi",
    "backup",
    "backup-gateway",
    "batch",
    "bcm-data-exports",
    "bedrock",
    "bedrock-agent",
    "bedrock-agent-runtime",
    "bedrock-runtime",
    "billing",
    "billingconductor",
    "braket",
    "budgets",
    "ce",
    "chatbot",
    "chime",
    "chime-sdk-identity",
    "chime-sdk-media-pipelines",
    "chime-sdk-meetings",
    "chime-sdk-messaging",
    "chime-sdk-voice",
    "cleanrooms",
    "cleanroomsml",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudfront-keyvaluestore",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudtrail-data",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "codecatalyst",
    "codecommit",
    "codeconnections",
    "codedeploy",
    "codeguru-reviewer",
    "codeguru-security",
    "codeguruprofiler",
    "codepipeline",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connectcampaigns",
    "connectcampaignsv2",
    "connectcases",
    "connectparticipant",
    "controlcatalog",
    "controltower",
    "cost-optimization-hub",
    "cur",
    "customer-profiles",
    "databrew",
    "dataexchange",
    "datapipeline",
    "datasync",
    "datazone",
    "dax",
    "deadline",
    "detective",
    "devicefarm",
    "devops-guru",
    "directconnect",
    "discovery",
    "dlm",
    "dms",
    "docdb",
    "docdb-elastic",
    "drs",
    "ds",
    "ds-data",
    "dynamodb",
    "dynamodbstreams",
    "ebs",
    "ec2",
    "ec2-instance-connect",
    "ecr",
    "ecr-public",
    "ecs",
    "efs",
    "eks",
    "eks-auth",
    "elastic-inference",
    "elasticache",
    "elasticbeanstalk",
    "elastictranscoder",
    "elb",
    "elbv2",
    "emr",
    "emr-containers",
    "emr-serverless",
    "entityresolution",
    "es",
    "events",
    "evidently",
    "finspace",
    "finspace-data",
    "firehose",
    "fis",
    "fms",
    "forecast",
    "forecastquery",
    "frauddetector",
    "freetier",
    "fsx",
    "gamelift",
    "geo-maps",
    "geo-places",
    "geo-routes",
    "glacier",
    "globalaccelerator",
    "glue",
    "grafana",
    "greengrass",
    "greengrassv2",
    "groundstation",
    "guardduty",
    "health",
    "healthlake",
    "iam",
    "identitystore",
    "imagebuilder",
    "importexport",
    "inspector",
    "inspector-scan",
    "inspector2",
    "internetmonitor",
    "iot",
    "iot-data",
    "iot-jobs-data",
    "iot1click-devices",
    "iot1click-projects",
    "iotanalytics",
    "iotdeviceadvisor",
    "iotevents",
    "iotevents-data",
    "iotfleethub",
    "iotfleetwise",
    "iotsecuretunneling",
    "iotsitewise",
    "iotthingsgraph",
    "iottwinmaker",
    "iotwireless",
    "ivs",
    "ivs-realtime",
    "ivschat",
    "kafka",
    "kafkaconnect",
    "kendra",
    "kendra-ranking",
    "keyspaces",
    "kinesis",
    "kinesis-video-archived-media",
    "kinesis-video-media",
    "kinesis-video-signaling",
    "kinesis-video-webrtc-storage",
    "kinesisanalytics",
    "kinesisanalyticsv2",
    "kinesisvideo",
    "kms",
    "lakeformation",
    "lambda",
    "launch-wizard",
    "lex-models",
    "lex-runtime",
    "lexv2-models",
    "lexv2-runtime",
    "license-manager",
    "license-manager-linux-subscriptions",
    "license-manager-user-subscriptions",
    "lightsail",
    "location",
    "logs",
    "lookoutequipment",
    "lookoutmetrics",
    "lookoutvision",
    "m2",
    "machinelearning",
    "macie2",
    "mailmanager",
    "managedblockchain",
    "managedblockchain-query",
    "marketplace-agreement",
    "marketplace-catalog",
    "marketplace-deployment",
    "marketplace-entitlement",
    "marketplace-reporting",
    "marketplacecommerceanalytics",
    "mediaconnect",
    "mediaconvert",
    "medialive",
    "mediapackage",
    "mediapackage-vod",
    "mediapackagev2",
    "mediastore",
    "mediastore-data",
    "mediatailor",
    "medical-imaging",
    "memorydb",
    "meteringmarketplace",
    "mgh",
    "mgn",
    "migration-hub-refactor-spaces",
    "migrationhub-config",
    "migrationhuborchestrator",
    "migrationhubstrategy",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "neptune-graph",
    "neptunedata",
    "network-firewall",
    "networkmanager",
    "networkmonitor",
    "oam",
    "omics",
    "opensearch",
    "opensearchserverless",
    "opsworks",
    "opsworkscm",
    "organizations",
    "osis",
    "outposts",
    "panorama",
    "partnercentral-selling",
    "payment-cryptography",
    "payment-cryptography-data",
    "pca-connector-ad",
    "pca-connector-scep",
    "pcs",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "pipes",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "qapps",
    "qbusiness",
    "qconnect",
    "qldb",
    "qldb-session",
    "quicksight",
    "ram",
    "rbin",
    "rds",
    "rds-data",
    "redshift",
    "redshift-data",
    "redshift-serverless",
    "rekognition",
    "repostspace",
    "resiliencehub",
    "resource-explorer-2",
    "resource-groups",
    "resourcegroupstaggingapi",
    "robomaker",
    "rolesanywhere",
    "route53",
    "route53-recovery-cluster",
    "route53-recovery-control-config",
    "route53-recovery-readiness",
    "route53domains",
    "route53profiles",
    "route53resolver",
    "rum",
    "s3",
    "s3control",
    "s3outposts",
    "sagemaker",
    "sagemaker-a2i-runtime",
    "sagemaker-edge",
    "sagemaker-featurestore-runtime",
    "sagemaker-geospatial",
    "sagemaker-metrics",
    "sagemaker-runtime",
    "savingsplans",
    "scheduler",
    "schemas",
    "sdb",
    "secretsmanager",
    "securityhub",
    "securitylake",
    "serverlessrepo",
    "service-quotas",
    "servicecatalog",
    "servicecatalog-appregistry",
    "servicediscovery",
    "ses",
    "sesv2",
    "shield",
    "signer",
    "simspaceweaver",
    "sms",
    "sms-voice",
    "snow-device-management",
    "snowball",
    "sns",
    "socialmessaging",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "ssm-quicksetup",
    "ssm-sap",
    "sso",
    "sso-admin",
    "sso-oidc",
    "stepfunctions",
    "storagegateway",
    "sts",
    "supplychain",
    "support",
    "support-app",
    "swf",
    "synthetics",
    "taxsettings",
    "textract",
    "timestream-influxdb",
    "timestream-query",
    "timestream-write",
    "tnb",
    "transcribe",
    "transfer",
    "translate",
    "trustedadvisor",
    "verifiedpermissions",
    "voice-id",
    "vpc-lattice",
    "waf",
    "waf-regional",
    "wafv2",
    "wellarchitected",
    "wisdom",
    "workdocs",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-thin-client",
    "workspaces-web",
    "xray",
]

ResourceServiceName#

# ResourceServiceName usage example

from mypy_boto3_s3.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
# ResourceServiceName definition

ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]

PaginatorName#

# PaginatorName usage example

from mypy_boto3_s3.literals import PaginatorName

def get_value() -> PaginatorName:
    return "list_buckets"
# PaginatorName definition

PaginatorName = Literal[
    "list_buckets",
    "list_directory_buckets",
    "list_multipart_uploads",
    "list_object_versions",
    "list_objects",
    "list_objects_v2",
    "list_parts",
]

WaiterName#

# WaiterName usage example

from mypy_boto3_s3.literals import WaiterName

def get_value() -> WaiterName:
    return "bucket_exists"
# WaiterName definition

WaiterName = Literal[
    "bucket_exists",
    "bucket_not_exists",
    "object_exists",
    "object_not_exists",
]

RegionName#

# RegionName usage example

from mypy_boto3_s3.literals import RegionName

def get_value() -> RegionName:
    return "af-south-1"
# RegionName definition

RegionName = Literal[
    "af-south-1",
    "ap-east-1",
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-northeast-3",
    "ap-south-1",
    "ap-south-2",
    "ap-southeast-1",
    "ap-southeast-2",
    "ap-southeast-3",
    "ap-southeast-4",
    "ap-southeast-5",
    "ca-central-1",
    "ca-west-1",
    "eu-central-1",
    "eu-central-2",
    "eu-north-1",
    "eu-south-1",
    "eu-south-2",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "il-central-1",
    "me-central-1",
    "me-south-1",
    "sa-east-1",
    "us-east-1",
    "us-east-2",
    "us-west-1",
    "us-west-2",
]