| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types
Contents
- Service Configuration
- Errors
- Re-exported Types
- AnalyticsS3ExportFileFormat
- ArchiveStatus
- BucketAccelerateStatus
- BucketCannedACL
- BucketLogsPermission
- BucketVersioningStatus
- ChecksumAlgorithm
- ChecksumMode
- CompressionType
- DeleteMarkerReplicationStatus
- EncodingType
- Event
- ExistingObjectReplicationStatus
- ExpirationStatus
- ExpressionType
- FileHeaderInfo
- FilterRuleName
- IntelligentTieringAccessTier
- IntelligentTieringStatus
- InventoryFormat
- InventoryFrequency
- InventoryIncludedObjectVersions
- InventoryOptionalField
- JSONType
- MFADelete
- MFADeleteStatus
- MetadataDirective
- MetricsStatus
- ObjectAttributes
- ObjectCannedACL
- ObjectLockEnabled
- ObjectLockLegalHoldStatus
- ObjectLockMode
- ObjectLockRetentionMode
- ObjectOwnership
- ObjectStorageClass
- ObjectVersionStorageClass
- OwnerOverride
- Payer
- Permission
- Protocol
- QuoteFields
- ReplicaModificationsStatus
- ReplicationRuleStatus
- ReplicationStatus
- ReplicationTimeStatus
- RequestCharged
- RequestPayer
- RestoreRequestType
- ServerSideEncryption
- SseKmsEncryptedObjectsStatus
- StorageClass
- StorageClassAnalysisSchemaVersion
- TaggingDirective
- Tier
- TransitionStorageClass
- Type
- AbortIncompleteMultipartUpload
- AccelerateConfiguration
- AccessControlPolicy
- AccessControlTranslation
- AnalyticsAndOperator
- AnalyticsConfiguration
- AnalyticsExportDestination
- AnalyticsFilter
- AnalyticsS3BucketDestination
- Bucket
- BucketLifecycleConfiguration
- BucketLoggingStatus
- CORSConfiguration
- CORSRule
- CSVInput
- CSVOutput
- Checksum
- CommonPrefix
- CompletedMultipartUpload
- CompletedPart
- Condition
- ContinuationEvent
- CopyObjectResult
- CopyPartResult
- CreateBucketConfiguration
- DefaultRetention
- Delete
- DeleteMarkerEntry
- DeleteMarkerReplication
- DeletedObject
- Destination
- Encryption
- EncryptionConfiguration
- EndEvent
- ErrorDocument
- EventBridgeConfiguration
- ExistingObjectReplication
- FilterRule
- GetObjectAttributesParts
- GlacierJobParameters
- Grant
- Grantee
- IndexDocument
- Initiator
- InputSerialization
- IntelligentTieringAndOperator
- IntelligentTieringConfiguration
- IntelligentTieringFilter
- InventoryConfiguration
- InventoryDestination
- InventoryEncryption
- InventoryFilter
- InventoryS3BucketDestination
- InventorySchedule
- JSONInput
- JSONOutput
- LambdaFunctionConfiguration
- LifecycleExpiration
- LifecycleRule
- LifecycleRuleAndOperator
- LifecycleRuleFilter
- LoggingEnabled
- MetadataEntry
- Metrics
- MetricsAndOperator
- MetricsConfiguration
- MetricsFilter
- MultipartUpload
- NoncurrentVersionExpiration
- NoncurrentVersionTransition
- NotificationConfiguration
- NotificationConfigurationFilter
- Object
- ObjectIdentifier
- ObjectLockConfiguration
- ObjectLockLegalHold
- ObjectLockRetention
- ObjectLockRule
- ObjectPart
- ObjectVersion
- OutputLocation
- OutputSerialization
- Owner
- OwnershipControls
- OwnershipControlsRule
- ParquetInput
- Part
- PolicyStatus
- Progress
- ProgressEvent
- PublicAccessBlockConfiguration
- QueueConfiguration
- RecordsEvent
- Redirect
- RedirectAllRequestsTo
- ReplicaModifications
- ReplicationConfiguration
- ReplicationRule
- ReplicationRuleAndOperator
- ReplicationRuleFilter
- ReplicationTime
- ReplicationTimeValue
- RequestPaymentConfiguration
- RequestProgress
- RestoreRequest
- RoutingRule
- S3KeyFilter
- S3Location
- S3ServiceError
- SSEKMS
- SSES3
- ScanRange
- SelectObjectContentEventStream
- SelectParameters
- ServerSideEncryptionByDefault
- ServerSideEncryptionConfiguration
- ServerSideEncryptionRule
- SourceSelectionCriteria
- SseKmsEncryptedObjects
- Stats
- StatsEvent
- StorageClassAnalysis
- StorageClassAnalysisDataExport
- Tag
- Tagging
- TargetGrant
- Tiering
- TopicConfiguration
- Transition
- VersioningConfiguration
- WebsiteConfiguration
Description
Synopsis
- defaultService :: Service
- _BucketAlreadyExists :: AsError a => Fold a ServiceError
- _BucketAlreadyOwnedByYou :: AsError a => Fold a ServiceError
- _InvalidObjectState :: AsError a => Fold a ServiceError
- _NoSuchBucket :: AsError a => Fold a ServiceError
- _NoSuchKey :: AsError a => Fold a ServiceError
- _NoSuchUpload :: AsError a => Fold a ServiceError
- _ObjectAlreadyInActiveTierError :: AsError a => Fold a ServiceError
- _ObjectNotInActiveTierError :: AsError a => Fold a ServiceError
- module Amazonka.S3.Internal
- newtype AnalyticsS3ExportFileFormat where
- newtype ArchiveStatus where
- ArchiveStatus' { }
- pattern ArchiveStatus_ARCHIVE_ACCESS :: ArchiveStatus
- pattern ArchiveStatus_DEEP_ARCHIVE_ACCESS :: ArchiveStatus
- newtype BucketAccelerateStatus where
- newtype BucketCannedACL where
- BucketCannedACL' { }
- pattern BucketCannedACL_Authenticated_read :: BucketCannedACL
- pattern BucketCannedACL_Private :: BucketCannedACL
- pattern BucketCannedACL_Public_read :: BucketCannedACL
- pattern BucketCannedACL_Public_read_write :: BucketCannedACL
- newtype BucketLogsPermission where
- newtype BucketVersioningStatus where
- newtype ChecksumAlgorithm where
- ChecksumAlgorithm' { }
- pattern ChecksumAlgorithm_CRC32 :: ChecksumAlgorithm
- pattern ChecksumAlgorithm_CRC32C :: ChecksumAlgorithm
- pattern ChecksumAlgorithm_SHA1 :: ChecksumAlgorithm
- pattern ChecksumAlgorithm_SHA256 :: ChecksumAlgorithm
- newtype ChecksumMode where
- ChecksumMode' { }
- pattern ChecksumMode_ENABLED :: ChecksumMode
- newtype CompressionType where
- CompressionType' { }
- pattern CompressionType_BZIP2 :: CompressionType
- pattern CompressionType_GZIP :: CompressionType
- pattern CompressionType_NONE :: CompressionType
- newtype DeleteMarkerReplicationStatus where
- newtype EncodingType where
- EncodingType' { }
- pattern EncodingType_Url :: EncodingType
- newtype Event where
- Event' { }
- pattern Event_S3_IntelligentTiering :: Event
- pattern Event_S3_LifecycleExpiration_Delete :: Event
- pattern Event_S3_LifecycleExpiration_DeleteMarkerCreated :: Event
- pattern Event_S3_LifecycleExpiration__ :: Event
- pattern Event_S3_LifecycleTransition :: Event
- pattern Event_S3_ObjectAcl_Put :: Event
- pattern Event_S3_ObjectCreated_CompleteMultipartUpload :: Event
- pattern Event_S3_ObjectCreated_Copy :: Event
- pattern Event_S3_ObjectCreated_Post :: Event
- pattern Event_S3_ObjectCreated_Put :: Event
- pattern Event_S3_ObjectCreated__ :: Event
- pattern Event_S3_ObjectRemoved_Delete :: Event
- pattern Event_S3_ObjectRemoved_DeleteMarkerCreated :: Event
- pattern Event_S3_ObjectRemoved__ :: Event
- pattern Event_S3_ObjectRestore_Completed :: Event
- pattern Event_S3_ObjectRestore_Delete :: Event
- pattern Event_S3_ObjectRestore_Post :: Event
- pattern Event_S3_ObjectRestore__ :: Event
- pattern Event_S3_ObjectTagging_Delete :: Event
- pattern Event_S3_ObjectTagging_Put :: Event
- pattern Event_S3_ObjectTagging__ :: Event
- pattern Event_S3_ReducedRedundancyLostObject :: Event
- pattern Event_S3_Replication_OperationFailedReplication :: Event
- pattern Event_S3_Replication_OperationMissedThreshold :: Event
- pattern Event_S3_Replication_OperationNotTracked :: Event
- pattern Event_S3_Replication_OperationReplicatedAfterThreshold :: Event
- pattern Event_S3_Replication__ :: Event
- newtype ExistingObjectReplicationStatus where
- newtype ExpirationStatus where
- ExpirationStatus' { }
- pattern ExpirationStatus_Disabled :: ExpirationStatus
- pattern ExpirationStatus_Enabled :: ExpirationStatus
- newtype ExpressionType where
- ExpressionType' { }
- pattern ExpressionType_SQL :: ExpressionType
- newtype FileHeaderInfo where
- FileHeaderInfo' { }
- pattern FileHeaderInfo_IGNORE :: FileHeaderInfo
- pattern FileHeaderInfo_NONE :: FileHeaderInfo
- pattern FileHeaderInfo_USE :: FileHeaderInfo
- newtype FilterRuleName where
- FilterRuleName' { }
- pattern FilterRuleName_Prefix :: FilterRuleName
- pattern FilterRuleName_Suffix :: FilterRuleName
- newtype IntelligentTieringAccessTier where
- newtype IntelligentTieringStatus where
- newtype InventoryFormat where
- InventoryFormat' { }
- pattern InventoryFormat_CSV :: InventoryFormat
- pattern InventoryFormat_ORC :: InventoryFormat
- pattern InventoryFormat_Parquet :: InventoryFormat
- newtype InventoryFrequency where
- InventoryFrequency' { }
- pattern InventoryFrequency_Daily :: InventoryFrequency
- pattern InventoryFrequency_Weekly :: InventoryFrequency
- newtype InventoryIncludedObjectVersions where
- newtype InventoryOptionalField where
- InventoryOptionalField' { }
- pattern InventoryOptionalField_BucketKeyStatus :: InventoryOptionalField
- pattern InventoryOptionalField_ChecksumAlgorithm :: InventoryOptionalField
- pattern InventoryOptionalField_ETag :: InventoryOptionalField
- pattern InventoryOptionalField_EncryptionStatus :: InventoryOptionalField
- pattern InventoryOptionalField_IntelligentTieringAccessTier :: InventoryOptionalField
- pattern InventoryOptionalField_IsMultipartUploaded :: InventoryOptionalField
- pattern InventoryOptionalField_LastModifiedDate :: InventoryOptionalField
- pattern InventoryOptionalField_ObjectLockLegalHoldStatus :: InventoryOptionalField
- pattern InventoryOptionalField_ObjectLockMode :: InventoryOptionalField
- pattern InventoryOptionalField_ObjectLockRetainUntilDate :: InventoryOptionalField
- pattern InventoryOptionalField_ReplicationStatus :: InventoryOptionalField
- pattern InventoryOptionalField_Size :: InventoryOptionalField
- pattern InventoryOptionalField_StorageClass :: InventoryOptionalField
- newtype JSONType where
- JSONType' {
- fromJSONType :: Text
- pattern JSONType_DOCUMENT :: JSONType
- pattern JSONType_LINES :: JSONType
- JSONType' {
- newtype MFADelete where
- MFADelete' { }
- pattern MFADelete_Disabled :: MFADelete
- pattern MFADelete_Enabled :: MFADelete
- newtype MFADeleteStatus where
- MFADeleteStatus' { }
- pattern MFADeleteStatus_Disabled :: MFADeleteStatus
- pattern MFADeleteStatus_Enabled :: MFADeleteStatus
- newtype MetadataDirective where
- MetadataDirective' { }
- pattern MetadataDirective_COPY :: MetadataDirective
- pattern MetadataDirective_REPLACE :: MetadataDirective
- newtype MetricsStatus where
- MetricsStatus' { }
- pattern MetricsStatus_Disabled :: MetricsStatus
- pattern MetricsStatus_Enabled :: MetricsStatus
- newtype ObjectAttributes where
- ObjectAttributes' { }
- pattern ObjectAttributes_Checksum :: ObjectAttributes
- pattern ObjectAttributes_ETag :: ObjectAttributes
- pattern ObjectAttributes_ObjectParts :: ObjectAttributes
- pattern ObjectAttributes_ObjectSize :: ObjectAttributes
- pattern ObjectAttributes_StorageClass :: ObjectAttributes
- newtype ObjectCannedACL where
- ObjectCannedACL' { }
- pattern ObjectCannedACL_Authenticated_read :: ObjectCannedACL
- pattern ObjectCannedACL_Aws_exec_read :: ObjectCannedACL
- pattern ObjectCannedACL_Bucket_owner_full_control :: ObjectCannedACL
- pattern ObjectCannedACL_Bucket_owner_read :: ObjectCannedACL
- pattern ObjectCannedACL_Private :: ObjectCannedACL
- pattern ObjectCannedACL_Public_read :: ObjectCannedACL
- pattern ObjectCannedACL_Public_read_write :: ObjectCannedACL
- newtype ObjectLockEnabled where
- newtype ObjectLockLegalHoldStatus where
- newtype ObjectLockMode where
- ObjectLockMode' { }
- pattern ObjectLockMode_COMPLIANCE :: ObjectLockMode
- pattern ObjectLockMode_GOVERNANCE :: ObjectLockMode
- newtype ObjectLockRetentionMode where
- newtype ObjectOwnership where
- newtype ObjectStorageClass where
- ObjectStorageClass' { }
- pattern ObjectStorageClass_GLACIER :: ObjectStorageClass
- pattern ObjectStorageClass_INTELLIGENT_TIERING :: ObjectStorageClass
- pattern ObjectStorageClass_REDUCED_REDUNDANCY :: ObjectStorageClass
- pattern ObjectStorageClass_STANDARD :: ObjectStorageClass
- pattern ObjectStorageClass_STANDARD_IA :: ObjectStorageClass
- newtype ObjectVersionStorageClass where
- newtype OwnerOverride where
- OwnerOverride' { }
- pattern OwnerOverride_Destination :: OwnerOverride
- newtype Payer where
- Payer' { }
- pattern Payer_BucketOwner :: Payer
- pattern Payer_Requester :: Payer
- newtype Permission where
- Permission' { }
- pattern Permission_FULL_CONTROL :: Permission
- pattern Permission_READ :: Permission
- pattern Permission_READ_ACP :: Permission
- pattern Permission_WRITE :: Permission
- pattern Permission_WRITE_ACP :: Permission
- newtype Protocol where
- Protocol' {
- fromProtocol :: Text
- pattern Protocol_Http :: Protocol
- pattern Protocol_Https :: Protocol
- Protocol' {
- newtype QuoteFields where
- QuoteFields' { }
- pattern QuoteFields_ALWAYS :: QuoteFields
- pattern QuoteFields_ASNEEDED :: QuoteFields
- newtype ReplicaModificationsStatus where
- newtype ReplicationRuleStatus where
- newtype ReplicationStatus where
- ReplicationStatus' { }
- pattern ReplicationStatus_COMPLETED :: ReplicationStatus
- pattern ReplicationStatus_FAILED :: ReplicationStatus
- pattern ReplicationStatus_PENDING :: ReplicationStatus
- pattern ReplicationStatus_REPLICA :: ReplicationStatus
- newtype ReplicationTimeStatus where
- newtype RequestCharged where
- RequestCharged' { }
- pattern RequestCharged_Requester :: RequestCharged
- newtype RequestPayer where
- RequestPayer' { }
- pattern RequestPayer_Requester :: RequestPayer
- newtype RestoreRequestType where
- newtype ServerSideEncryption where
- newtype SseKmsEncryptedObjectsStatus where
- newtype StorageClass where
- StorageClass' { }
- pattern StorageClass_DEEP_ARCHIVE :: StorageClass
- pattern StorageClass_GLACIER :: StorageClass
- pattern StorageClass_GLACIER_IR :: StorageClass
- pattern StorageClass_INTELLIGENT_TIERING :: StorageClass
- pattern StorageClass_ONEZONE_IA :: StorageClass
- pattern StorageClass_OUTPOSTS :: StorageClass
- pattern StorageClass_REDUCED_REDUNDANCY :: StorageClass
- pattern StorageClass_STANDARD :: StorageClass
- pattern StorageClass_STANDARD_IA :: StorageClass
- newtype StorageClassAnalysisSchemaVersion where
- newtype TaggingDirective where
- TaggingDirective' { }
- pattern TaggingDirective_COPY :: TaggingDirective
- pattern TaggingDirective_REPLACE :: TaggingDirective
- newtype Tier where
- Tier' { }
- pattern Tier_Bulk :: Tier
- pattern Tier_Expedited :: Tier
- pattern Tier_Standard :: Tier
- newtype TransitionStorageClass where
- TransitionStorageClass' { }
- pattern TransitionStorageClass_DEEP_ARCHIVE :: TransitionStorageClass
- pattern TransitionStorageClass_GLACIER :: TransitionStorageClass
- pattern TransitionStorageClass_GLACIER_IR :: TransitionStorageClass
- pattern TransitionStorageClass_INTELLIGENT_TIERING :: TransitionStorageClass
- pattern TransitionStorageClass_ONEZONE_IA :: TransitionStorageClass
- pattern TransitionStorageClass_STANDARD_IA :: TransitionStorageClass
- newtype Type where
- Type' { }
- pattern Type_AmazonCustomerByEmail :: Type
- pattern Type_CanonicalUser :: Type
- pattern Type_Group :: Type
- data AbortIncompleteMultipartUpload = AbortIncompleteMultipartUpload' {}
- newAbortIncompleteMultipartUpload :: AbortIncompleteMultipartUpload
- abortIncompleteMultipartUpload_daysAfterInitiation :: Lens' AbortIncompleteMultipartUpload (Maybe Int)
- data AccelerateConfiguration = AccelerateConfiguration' {}
- newAccelerateConfiguration :: AccelerateConfiguration
- accelerateConfiguration_status :: Lens' AccelerateConfiguration (Maybe BucketAccelerateStatus)
- data AccessControlPolicy = AccessControlPolicy' {}
- newAccessControlPolicy :: AccessControlPolicy
- accessControlPolicy_grants :: Lens' AccessControlPolicy (Maybe [Grant])
- accessControlPolicy_owner :: Lens' AccessControlPolicy (Maybe Owner)
- data AccessControlTranslation = AccessControlTranslation' {}
- newAccessControlTranslation :: OwnerOverride -> AccessControlTranslation
- accessControlTranslation_owner :: Lens' AccessControlTranslation OwnerOverride
- data AnalyticsAndOperator = AnalyticsAndOperator' {}
- newAnalyticsAndOperator :: AnalyticsAndOperator
- analyticsAndOperator_prefix :: Lens' AnalyticsAndOperator (Maybe Text)
- analyticsAndOperator_tags :: Lens' AnalyticsAndOperator (Maybe [Tag])
- data AnalyticsConfiguration = AnalyticsConfiguration' {}
- newAnalyticsConfiguration :: Text -> StorageClassAnalysis -> AnalyticsConfiguration
- analyticsConfiguration_filter :: Lens' AnalyticsConfiguration (Maybe AnalyticsFilter)
- analyticsConfiguration_id :: Lens' AnalyticsConfiguration Text
- analyticsConfiguration_storageClassAnalysis :: Lens' AnalyticsConfiguration StorageClassAnalysis
- data AnalyticsExportDestination = AnalyticsExportDestination' {}
- newAnalyticsExportDestination :: AnalyticsS3BucketDestination -> AnalyticsExportDestination
- analyticsExportDestination_s3BucketDestination :: Lens' AnalyticsExportDestination AnalyticsS3BucketDestination
- data AnalyticsFilter = AnalyticsFilter' {}
- newAnalyticsFilter :: AnalyticsFilter
- analyticsFilter_and :: Lens' AnalyticsFilter (Maybe AnalyticsAndOperator)
- analyticsFilter_prefix :: Lens' AnalyticsFilter (Maybe Text)
- analyticsFilter_tag :: Lens' AnalyticsFilter (Maybe Tag)
- data AnalyticsS3BucketDestination = AnalyticsS3BucketDestination' {}
- newAnalyticsS3BucketDestination :: AnalyticsS3ExportFileFormat -> BucketName -> AnalyticsS3BucketDestination
- analyticsS3BucketDestination_bucketAccountId :: Lens' AnalyticsS3BucketDestination (Maybe Text)
- analyticsS3BucketDestination_prefix :: Lens' AnalyticsS3BucketDestination (Maybe Text)
- analyticsS3BucketDestination_format :: Lens' AnalyticsS3BucketDestination AnalyticsS3ExportFileFormat
- analyticsS3BucketDestination_bucket :: Lens' AnalyticsS3BucketDestination BucketName
- data Bucket = Bucket' {}
- newBucket :: UTCTime -> BucketName -> Bucket
- bucket_creationDate :: Lens' Bucket UTCTime
- bucket_name :: Lens' Bucket BucketName
- data BucketLifecycleConfiguration = BucketLifecycleConfiguration' {
- rules :: [LifecycleRule]
- newBucketLifecycleConfiguration :: BucketLifecycleConfiguration
- bucketLifecycleConfiguration_rules :: Lens' BucketLifecycleConfiguration [LifecycleRule]
- data BucketLoggingStatus = BucketLoggingStatus' {}
- newBucketLoggingStatus :: BucketLoggingStatus
- bucketLoggingStatus_loggingEnabled :: Lens' BucketLoggingStatus (Maybe LoggingEnabled)
- data CORSConfiguration = CORSConfiguration' {}
- newCORSConfiguration :: CORSConfiguration
- cORSConfiguration_cORSRules :: Lens' CORSConfiguration [CORSRule]
- data CORSRule = CORSRule' {
- allowedHeaders :: Maybe [Text]
- exposeHeaders :: Maybe [Text]
- id :: Maybe Text
- maxAgeSeconds :: Maybe Int
- allowedMethods :: [Text]
- allowedOrigins :: [Text]
- newCORSRule :: CORSRule
- cORSRule_allowedHeaders :: Lens' CORSRule (Maybe [Text])
- cORSRule_exposeHeaders :: Lens' CORSRule (Maybe [Text])
- cORSRule_id :: Lens' CORSRule (Maybe Text)
- cORSRule_maxAgeSeconds :: Lens' CORSRule (Maybe Int)
- cORSRule_allowedMethods :: Lens' CORSRule [Text]
- cORSRule_allowedOrigins :: Lens' CORSRule [Text]
- data CSVInput = CSVInput' {}
- newCSVInput :: CSVInput
- cSVInput_allowQuotedRecordDelimiter :: Lens' CSVInput (Maybe Bool)
- cSVInput_comments :: Lens' CSVInput (Maybe Text)
- cSVInput_fieldDelimiter :: Lens' CSVInput (Maybe Text)
- cSVInput_fileHeaderInfo :: Lens' CSVInput (Maybe FileHeaderInfo)
- cSVInput_quoteCharacter :: Lens' CSVInput (Maybe Text)
- cSVInput_quoteEscapeCharacter :: Lens' CSVInput (Maybe Text)
- cSVInput_recordDelimiter :: Lens' CSVInput (Maybe Text)
- data CSVOutput = CSVOutput' {}
- newCSVOutput :: CSVOutput
- cSVOutput_fieldDelimiter :: Lens' CSVOutput (Maybe Text)
- cSVOutput_quoteCharacter :: Lens' CSVOutput (Maybe Text)
- cSVOutput_quoteEscapeCharacter :: Lens' CSVOutput (Maybe Text)
- cSVOutput_quoteFields :: Lens' CSVOutput (Maybe QuoteFields)
- cSVOutput_recordDelimiter :: Lens' CSVOutput (Maybe Text)
- data Checksum = Checksum' {}
- newChecksum :: Checksum
- checksum_checksumCRC32 :: Lens' Checksum (Maybe Text)
- checksum_checksumCRC32C :: Lens' Checksum (Maybe Text)
- checksum_checksumSHA1 :: Lens' Checksum (Maybe Text)
- checksum_checksumSHA256 :: Lens' Checksum (Maybe Text)
- data CommonPrefix = CommonPrefix' {}
- newCommonPrefix :: CommonPrefix
- commonPrefix_prefix :: Lens' CommonPrefix (Maybe Text)
- data CompletedMultipartUpload = CompletedMultipartUpload' {
- parts :: Maybe (NonEmpty CompletedPart)
- newCompletedMultipartUpload :: CompletedMultipartUpload
- completedMultipartUpload_parts :: Lens' CompletedMultipartUpload (Maybe (NonEmpty CompletedPart))
- data CompletedPart = CompletedPart' {
- checksumCRC32 :: Maybe Text
- checksumCRC32C :: Maybe Text
- checksumSHA1 :: Maybe Text
- checksumSHA256 :: Maybe Text
- partNumber :: Int
- eTag :: ETag
- newCompletedPart :: Int -> ETag -> CompletedPart
- completedPart_checksumCRC32 :: Lens' CompletedPart (Maybe Text)
- completedPart_checksumCRC32C :: Lens' CompletedPart (Maybe Text)
- completedPart_checksumSHA1 :: Lens' CompletedPart (Maybe Text)
- completedPart_checksumSHA256 :: Lens' CompletedPart (Maybe Text)
- completedPart_partNumber :: Lens' CompletedPart Int
- completedPart_eTag :: Lens' CompletedPart ETag
- data Condition = Condition' {}
- newCondition :: Condition
- condition_httpErrorCodeReturnedEquals :: Lens' Condition (Maybe Text)
- condition_keyPrefixEquals :: Lens' Condition (Maybe Text)
- data ContinuationEvent = ContinuationEvent' {
- newContinuationEvent :: ContinuationEvent
- data CopyObjectResult = CopyObjectResult' {}
- newCopyObjectResult :: CopyObjectResult
- copyObjectResult_checksumCRC32 :: Lens' CopyObjectResult (Maybe Text)
- copyObjectResult_checksumCRC32C :: Lens' CopyObjectResult (Maybe Text)
- copyObjectResult_checksumSHA1 :: Lens' CopyObjectResult (Maybe Text)
- copyObjectResult_checksumSHA256 :: Lens' CopyObjectResult (Maybe Text)
- copyObjectResult_eTag :: Lens' CopyObjectResult (Maybe ETag)
- copyObjectResult_lastModified :: Lens' CopyObjectResult (Maybe UTCTime)
- data CopyPartResult = CopyPartResult' {}
- newCopyPartResult :: CopyPartResult
- copyPartResult_checksumCRC32 :: Lens' CopyPartResult (Maybe Text)
- copyPartResult_checksumCRC32C :: Lens' CopyPartResult (Maybe Text)
- copyPartResult_checksumSHA1 :: Lens' CopyPartResult (Maybe Text)
- copyPartResult_checksumSHA256 :: Lens' CopyPartResult (Maybe Text)
- copyPartResult_eTag :: Lens' CopyPartResult (Maybe ETag)
- copyPartResult_lastModified :: Lens' CopyPartResult (Maybe UTCTime)
- data CreateBucketConfiguration = CreateBucketConfiguration' {}
- newCreateBucketConfiguration :: CreateBucketConfiguration
- createBucketConfiguration_locationConstraint :: Lens' CreateBucketConfiguration (Maybe LocationConstraint)
- data DefaultRetention = DefaultRetention' {}
- newDefaultRetention :: DefaultRetention
- defaultRetention_days :: Lens' DefaultRetention (Maybe Int)
- defaultRetention_mode :: Lens' DefaultRetention (Maybe ObjectLockRetentionMode)
- defaultRetention_years :: Lens' DefaultRetention (Maybe Int)
- data Delete = Delete' {
- quiet :: Maybe Bool
- objects :: [ObjectIdentifier]
- newDelete :: Delete
- delete_quiet :: Lens' Delete (Maybe Bool)
- delete_objects :: Lens' Delete [ObjectIdentifier]
- data DeleteMarkerEntry = DeleteMarkerEntry' {}
- newDeleteMarkerEntry :: DeleteMarkerEntry
- deleteMarkerEntry_isLatest :: Lens' DeleteMarkerEntry (Maybe Bool)
- deleteMarkerEntry_key :: Lens' DeleteMarkerEntry (Maybe ObjectKey)
- deleteMarkerEntry_lastModified :: Lens' DeleteMarkerEntry (Maybe UTCTime)
- deleteMarkerEntry_owner :: Lens' DeleteMarkerEntry (Maybe Owner)
- deleteMarkerEntry_versionId :: Lens' DeleteMarkerEntry (Maybe ObjectVersionId)
- data DeleteMarkerReplication = DeleteMarkerReplication' {}
- newDeleteMarkerReplication :: DeleteMarkerReplication
- deleteMarkerReplication_status :: Lens' DeleteMarkerReplication (Maybe DeleteMarkerReplicationStatus)
- data DeletedObject = DeletedObject' {}
- newDeletedObject :: DeletedObject
- deletedObject_deleteMarker :: Lens' DeletedObject (Maybe Bool)
- deletedObject_deleteMarkerVersionId :: Lens' DeletedObject (Maybe Text)
- deletedObject_key :: Lens' DeletedObject (Maybe ObjectKey)
- deletedObject_versionId :: Lens' DeletedObject (Maybe ObjectVersionId)
- data Destination = Destination' {}
- newDestination :: BucketName -> Destination
- destination_accessControlTranslation :: Lens' Destination (Maybe AccessControlTranslation)
- destination_account :: Lens' Destination (Maybe Text)
- destination_encryptionConfiguration :: Lens' Destination (Maybe EncryptionConfiguration)
- destination_metrics :: Lens' Destination (Maybe Metrics)
- destination_replicationTime :: Lens' Destination (Maybe ReplicationTime)
- destination_storageClass :: Lens' Destination (Maybe StorageClass)
- destination_bucket :: Lens' Destination BucketName
- data Encryption = Encryption' {}
- newEncryption :: ServerSideEncryption -> Encryption
- encryption_kmsContext :: Lens' Encryption (Maybe Text)
- encryption_kmsKeyId :: Lens' Encryption (Maybe Text)
- encryption_encryptionType :: Lens' Encryption ServerSideEncryption
- data EncryptionConfiguration = EncryptionConfiguration' {}
- newEncryptionConfiguration :: EncryptionConfiguration
- encryptionConfiguration_replicaKmsKeyID :: Lens' EncryptionConfiguration (Maybe Text)
- data EndEvent = EndEvent' {
- newEndEvent :: EndEvent
- data ErrorDocument = ErrorDocument' {}
- newErrorDocument :: ObjectKey -> ErrorDocument
- errorDocument_key :: Lens' ErrorDocument ObjectKey
- data EventBridgeConfiguration = EventBridgeConfiguration' {
- newEventBridgeConfiguration :: EventBridgeConfiguration
- data ExistingObjectReplication = ExistingObjectReplication' {}
- newExistingObjectReplication :: ExistingObjectReplicationStatus -> ExistingObjectReplication
- existingObjectReplication_status :: Lens' ExistingObjectReplication ExistingObjectReplicationStatus
- data FilterRule = FilterRule' {}
- newFilterRule :: FilterRule
- filterRule_name :: Lens' FilterRule (Maybe FilterRuleName)
- filterRule_value :: Lens' FilterRule (Maybe Text)
- data GetObjectAttributesParts = GetObjectAttributesParts' {}
- newGetObjectAttributesParts :: GetObjectAttributesParts
- getObjectAttributesParts_isTruncated :: Lens' GetObjectAttributesParts (Maybe Bool)
- getObjectAttributesParts_maxParts :: Lens' GetObjectAttributesParts (Maybe Int)
- getObjectAttributesParts_nextPartNumberMarker :: Lens' GetObjectAttributesParts (Maybe Int)
- getObjectAttributesParts_partNumberMarker :: Lens' GetObjectAttributesParts (Maybe Int)
- getObjectAttributesParts_parts :: Lens' GetObjectAttributesParts (Maybe [ObjectPart])
- getObjectAttributesParts_totalPartsCount :: Lens' GetObjectAttributesParts (Maybe Int)
- data GlacierJobParameters = GlacierJobParameters' {}
- newGlacierJobParameters :: Tier -> GlacierJobParameters
- glacierJobParameters_tier :: Lens' GlacierJobParameters Tier
- data Grant = Grant' {}
- newGrant :: Grant
- grant_grantee :: Lens' Grant (Maybe Grantee)
- grant_permission :: Lens' Grant (Maybe Permission)
- data Grantee = Grantee' {}
- newGrantee :: Type -> Grantee
- grantee_displayName :: Lens' Grantee (Maybe Text)
- grantee_emailAddress :: Lens' Grantee (Maybe Text)
- grantee_id :: Lens' Grantee (Maybe Text)
- grantee_uri :: Lens' Grantee (Maybe Text)
- grantee_type :: Lens' Grantee Type
- data IndexDocument = IndexDocument' {}
- newIndexDocument :: Text -> IndexDocument
- indexDocument_suffix :: Lens' IndexDocument Text
- data Initiator = Initiator' {}
- newInitiator :: Initiator
- initiator_displayName :: Lens' Initiator (Maybe Text)
- initiator_id :: Lens' Initiator (Maybe Text)
- data InputSerialization = InputSerialization' {}
- newInputSerialization :: InputSerialization
- inputSerialization_csv :: Lens' InputSerialization (Maybe CSVInput)
- inputSerialization_compressionType :: Lens' InputSerialization (Maybe CompressionType)
- inputSerialization_json :: Lens' InputSerialization (Maybe JSONInput)
- inputSerialization_parquet :: Lens' InputSerialization (Maybe ParquetInput)
- data IntelligentTieringAndOperator = IntelligentTieringAndOperator' {}
- newIntelligentTieringAndOperator :: IntelligentTieringAndOperator
- intelligentTieringAndOperator_prefix :: Lens' IntelligentTieringAndOperator (Maybe Text)
- intelligentTieringAndOperator_tags :: Lens' IntelligentTieringAndOperator (Maybe [Tag])
- data IntelligentTieringConfiguration = IntelligentTieringConfiguration' {}
- newIntelligentTieringConfiguration :: Text -> IntelligentTieringStatus -> IntelligentTieringConfiguration
- intelligentTieringConfiguration_filter :: Lens' IntelligentTieringConfiguration (Maybe IntelligentTieringFilter)
- intelligentTieringConfiguration_id :: Lens' IntelligentTieringConfiguration Text
- intelligentTieringConfiguration_status :: Lens' IntelligentTieringConfiguration IntelligentTieringStatus
- intelligentTieringConfiguration_tierings :: Lens' IntelligentTieringConfiguration [Tiering]
- data IntelligentTieringFilter = IntelligentTieringFilter' {}
- newIntelligentTieringFilter :: IntelligentTieringFilter
- intelligentTieringFilter_and :: Lens' IntelligentTieringFilter (Maybe IntelligentTieringAndOperator)
- intelligentTieringFilter_prefix :: Lens' IntelligentTieringFilter (Maybe Text)
- intelligentTieringFilter_tag :: Lens' IntelligentTieringFilter (Maybe Tag)
- data InventoryConfiguration = InventoryConfiguration' {}
- newInventoryConfiguration :: InventoryDestination -> Bool -> Text -> InventoryIncludedObjectVersions -> InventorySchedule -> InventoryConfiguration
- inventoryConfiguration_filter :: Lens' InventoryConfiguration (Maybe InventoryFilter)
- inventoryConfiguration_optionalFields :: Lens' InventoryConfiguration (Maybe [InventoryOptionalField])
- inventoryConfiguration_destination :: Lens' InventoryConfiguration InventoryDestination
- inventoryConfiguration_isEnabled :: Lens' InventoryConfiguration Bool
- inventoryConfiguration_id :: Lens' InventoryConfiguration Text
- inventoryConfiguration_includedObjectVersions :: Lens' InventoryConfiguration InventoryIncludedObjectVersions
- inventoryConfiguration_schedule :: Lens' InventoryConfiguration InventorySchedule
- data InventoryDestination = InventoryDestination' {}
- newInventoryDestination :: InventoryS3BucketDestination -> InventoryDestination
- inventoryDestination_s3BucketDestination :: Lens' InventoryDestination InventoryS3BucketDestination
- data InventoryEncryption = InventoryEncryption' {}
- newInventoryEncryption :: InventoryEncryption
- inventoryEncryption_ssekms :: Lens' InventoryEncryption (Maybe SSEKMS)
- inventoryEncryption_sses3 :: Lens' InventoryEncryption (Maybe SSES3)
- data InventoryFilter = InventoryFilter' {}
- newInventoryFilter :: Text -> InventoryFilter
- inventoryFilter_prefix :: Lens' InventoryFilter Text
- data InventoryS3BucketDestination = InventoryS3BucketDestination' {}
- newInventoryS3BucketDestination :: BucketName -> InventoryFormat -> InventoryS3BucketDestination
- inventoryS3BucketDestination_accountId :: Lens' InventoryS3BucketDestination (Maybe Text)
- inventoryS3BucketDestination_encryption :: Lens' InventoryS3BucketDestination (Maybe InventoryEncryption)
- inventoryS3BucketDestination_prefix :: Lens' InventoryS3BucketDestination (Maybe Text)
- inventoryS3BucketDestination_bucket :: Lens' InventoryS3BucketDestination BucketName
- inventoryS3BucketDestination_format :: Lens' InventoryS3BucketDestination InventoryFormat
- data InventorySchedule = InventorySchedule' {}
- newInventorySchedule :: InventoryFrequency -> InventorySchedule
- inventorySchedule_frequency :: Lens' InventorySchedule InventoryFrequency
- data JSONInput = JSONInput' {}
- newJSONInput :: JSONInput
- jSONInput_type :: Lens' JSONInput (Maybe JSONType)
- data JSONOutput = JSONOutput' {}
- newJSONOutput :: JSONOutput
- jSONOutput_recordDelimiter :: Lens' JSONOutput (Maybe Text)
- data LambdaFunctionConfiguration = LambdaFunctionConfiguration' {}
- newLambdaFunctionConfiguration :: Text -> LambdaFunctionConfiguration
- lambdaFunctionConfiguration_filter :: Lens' LambdaFunctionConfiguration (Maybe NotificationConfigurationFilter)
- lambdaFunctionConfiguration_id :: Lens' LambdaFunctionConfiguration (Maybe Text)
- lambdaFunctionConfiguration_lambdaFunctionArn :: Lens' LambdaFunctionConfiguration Text
- lambdaFunctionConfiguration_events :: Lens' LambdaFunctionConfiguration [Event]
- data LifecycleExpiration = LifecycleExpiration' {}
- newLifecycleExpiration :: LifecycleExpiration
- lifecycleExpiration_date :: Lens' LifecycleExpiration (Maybe UTCTime)
- lifecycleExpiration_days :: Lens' LifecycleExpiration (Maybe Int)
- lifecycleExpiration_expiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool)
- data LifecycleRule = LifecycleRule' {
- abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUpload
- expiration :: Maybe LifecycleExpiration
- filter' :: Maybe LifecycleRuleFilter
- id :: Maybe Text
- noncurrentVersionExpiration :: Maybe NoncurrentVersionExpiration
- noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransition]
- prefix :: Maybe Text
- transitions :: Maybe [Transition]
- status :: ExpirationStatus
- newLifecycleRule :: ExpirationStatus -> LifecycleRule
- lifecycleRule_abortIncompleteMultipartUpload :: Lens' LifecycleRule (Maybe AbortIncompleteMultipartUpload)
- lifecycleRule_expiration :: Lens' LifecycleRule (Maybe LifecycleExpiration)
- lifecycleRule_filter :: Lens' LifecycleRule (Maybe LifecycleRuleFilter)
- lifecycleRule_id :: Lens' LifecycleRule (Maybe Text)
- lifecycleRule_noncurrentVersionExpiration :: Lens' LifecycleRule (Maybe NoncurrentVersionExpiration)
- lifecycleRule_noncurrentVersionTransitions :: Lens' LifecycleRule (Maybe [NoncurrentVersionTransition])
- lifecycleRule_prefix :: Lens' LifecycleRule (Maybe Text)
- lifecycleRule_transitions :: Lens' LifecycleRule (Maybe [Transition])
- lifecycleRule_status :: Lens' LifecycleRule ExpirationStatus
- data LifecycleRuleAndOperator = LifecycleRuleAndOperator' {}
- newLifecycleRuleAndOperator :: LifecycleRuleAndOperator
- lifecycleRuleAndOperator_objectSizeGreaterThan :: Lens' LifecycleRuleAndOperator (Maybe Integer)
- lifecycleRuleAndOperator_objectSizeLessThan :: Lens' LifecycleRuleAndOperator (Maybe Integer)
- lifecycleRuleAndOperator_prefix :: Lens' LifecycleRuleAndOperator (Maybe Text)
- lifecycleRuleAndOperator_tags :: Lens' LifecycleRuleAndOperator (Maybe [Tag])
- data LifecycleRuleFilter = LifecycleRuleFilter' {}
- newLifecycleRuleFilter :: LifecycleRuleFilter
- lifecycleRuleFilter_and :: Lens' LifecycleRuleFilter (Maybe LifecycleRuleAndOperator)
- lifecycleRuleFilter_objectSizeGreaterThan :: Lens' LifecycleRuleFilter (Maybe Integer)
- lifecycleRuleFilter_objectSizeLessThan :: Lens' LifecycleRuleFilter (Maybe Integer)
- lifecycleRuleFilter_prefix :: Lens' LifecycleRuleFilter (Maybe Text)
- lifecycleRuleFilter_tag :: Lens' LifecycleRuleFilter (Maybe Tag)
- data LoggingEnabled = LoggingEnabled' {
- targetGrants :: Maybe [TargetGrant]
- targetBucket :: Text
- targetPrefix :: Text
- newLoggingEnabled :: Text -> Text -> LoggingEnabled
- loggingEnabled_targetGrants :: Lens' LoggingEnabled (Maybe [TargetGrant])
- loggingEnabled_targetBucket :: Lens' LoggingEnabled Text
- loggingEnabled_targetPrefix :: Lens' LoggingEnabled Text
- data MetadataEntry = MetadataEntry' {}
- newMetadataEntry :: MetadataEntry
- metadataEntry_name :: Lens' MetadataEntry (Maybe Text)
- metadataEntry_value :: Lens' MetadataEntry (Maybe Text)
- data Metrics = Metrics' {}
- newMetrics :: MetricsStatus -> Metrics
- metrics_eventThreshold :: Lens' Metrics (Maybe ReplicationTimeValue)
- metrics_status :: Lens' Metrics MetricsStatus
- data MetricsAndOperator = MetricsAndOperator' {}
- newMetricsAndOperator :: MetricsAndOperator
- metricsAndOperator_accessPointArn :: Lens' MetricsAndOperator (Maybe Text)
- metricsAndOperator_prefix :: Lens' MetricsAndOperator (Maybe Text)
- metricsAndOperator_tags :: Lens' MetricsAndOperator (Maybe [Tag])
- data MetricsConfiguration = MetricsConfiguration' {
- filter' :: Maybe MetricsFilter
- id :: Text
- newMetricsConfiguration :: Text -> MetricsConfiguration
- metricsConfiguration_filter :: Lens' MetricsConfiguration (Maybe MetricsFilter)
- metricsConfiguration_id :: Lens' MetricsConfiguration Text
- data MetricsFilter = MetricsFilter' {}
- newMetricsFilter :: MetricsFilter
- metricsFilter_accessPointArn :: Lens' MetricsFilter (Maybe Text)
- metricsFilter_and :: Lens' MetricsFilter (Maybe MetricsAndOperator)
- metricsFilter_prefix :: Lens' MetricsFilter (Maybe Text)
- metricsFilter_tag :: Lens' MetricsFilter (Maybe Tag)
- data MultipartUpload = MultipartUpload' {}
- newMultipartUpload :: MultipartUpload
- multipartUpload_checksumAlgorithm :: Lens' MultipartUpload (Maybe ChecksumAlgorithm)
- multipartUpload_initiated :: Lens' MultipartUpload (Maybe UTCTime)
- multipartUpload_initiator :: Lens' MultipartUpload (Maybe Initiator)
- multipartUpload_key :: Lens' MultipartUpload (Maybe ObjectKey)
- multipartUpload_owner :: Lens' MultipartUpload (Maybe Owner)
- multipartUpload_storageClass :: Lens' MultipartUpload (Maybe StorageClass)
- multipartUpload_uploadId :: Lens' MultipartUpload (Maybe Text)
- data NoncurrentVersionExpiration = NoncurrentVersionExpiration' {}
- newNoncurrentVersionExpiration :: Int -> NoncurrentVersionExpiration
- noncurrentVersionExpiration_newerNoncurrentVersions :: Lens' NoncurrentVersionExpiration (Maybe Int)
- noncurrentVersionExpiration_noncurrentDays :: Lens' NoncurrentVersionExpiration Int
- data NoncurrentVersionTransition = NoncurrentVersionTransition' {}
- newNoncurrentVersionTransition :: Int -> TransitionStorageClass -> NoncurrentVersionTransition
- noncurrentVersionTransition_newerNoncurrentVersions :: Lens' NoncurrentVersionTransition (Maybe Int)
- noncurrentVersionTransition_noncurrentDays :: Lens' NoncurrentVersionTransition Int
- noncurrentVersionTransition_storageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass
- data NotificationConfiguration = NotificationConfiguration' {}
- newNotificationConfiguration :: NotificationConfiguration
- notificationConfiguration_eventBridgeConfiguration :: Lens' NotificationConfiguration (Maybe EventBridgeConfiguration)
- notificationConfiguration_lambdaFunctionConfigurations :: Lens' NotificationConfiguration (Maybe [LambdaFunctionConfiguration])
- notificationConfiguration_queueConfigurations :: Lens' NotificationConfiguration (Maybe [QueueConfiguration])
- notificationConfiguration_topicConfigurations :: Lens' NotificationConfiguration (Maybe [TopicConfiguration])
- data NotificationConfigurationFilter = NotificationConfigurationFilter' {
- key :: Maybe S3KeyFilter
- newNotificationConfigurationFilter :: NotificationConfigurationFilter
- notificationConfigurationFilter_key :: Lens' NotificationConfigurationFilter (Maybe S3KeyFilter)
- data Object = Object' {}
- newObject :: ETag -> Integer -> ObjectKey -> ObjectStorageClass -> UTCTime -> Object
- object_checksumAlgorithm :: Lens' Object (Maybe [ChecksumAlgorithm])
- object_owner :: Lens' Object (Maybe Owner)
- object_eTag :: Lens' Object ETag
- object_size :: Lens' Object Integer
- object_key :: Lens' Object ObjectKey
- object_storageClass :: Lens' Object ObjectStorageClass
- object_lastModified :: Lens' Object UTCTime
- data ObjectIdentifier = ObjectIdentifier' {}
- newObjectIdentifier :: ObjectKey -> ObjectIdentifier
- objectIdentifier_versionId :: Lens' ObjectIdentifier (Maybe ObjectVersionId)
- objectIdentifier_key :: Lens' ObjectIdentifier ObjectKey
- data ObjectLockConfiguration = ObjectLockConfiguration' {}
- newObjectLockConfiguration :: ObjectLockConfiguration
- objectLockConfiguration_objectLockEnabled :: Lens' ObjectLockConfiguration (Maybe ObjectLockEnabled)
- objectLockConfiguration_rule :: Lens' ObjectLockConfiguration (Maybe ObjectLockRule)
- data ObjectLockLegalHold = ObjectLockLegalHold' {}
- newObjectLockLegalHold :: ObjectLockLegalHold
- objectLockLegalHold_status :: Lens' ObjectLockLegalHold (Maybe ObjectLockLegalHoldStatus)
- data ObjectLockRetention = ObjectLockRetention' {}
- newObjectLockRetention :: ObjectLockRetention
- objectLockRetention_mode :: Lens' ObjectLockRetention (Maybe ObjectLockRetentionMode)
- objectLockRetention_retainUntilDate :: Lens' ObjectLockRetention (Maybe UTCTime)
- data ObjectLockRule = ObjectLockRule' {}
- newObjectLockRule :: ObjectLockRule
- objectLockRule_defaultRetention :: Lens' ObjectLockRule (Maybe DefaultRetention)
- data ObjectPart = ObjectPart' {}
- newObjectPart :: ObjectPart
- objectPart_checksumCRC32 :: Lens' ObjectPart (Maybe Text)
- objectPart_checksumCRC32C :: Lens' ObjectPart (Maybe Text)
- objectPart_checksumSHA1 :: Lens' ObjectPart (Maybe Text)
- objectPart_checksumSHA256 :: Lens' ObjectPart (Maybe Text)
- objectPart_partNumber :: Lens' ObjectPart (Maybe Int)
- objectPart_size :: Lens' ObjectPart (Maybe Integer)
- data ObjectVersion = ObjectVersion' {}
- newObjectVersion :: ObjectVersion
- objectVersion_checksumAlgorithm :: Lens' ObjectVersion (Maybe [ChecksumAlgorithm])
- objectVersion_eTag :: Lens' ObjectVersion (Maybe ETag)
- objectVersion_isLatest :: Lens' ObjectVersion (Maybe Bool)
- objectVersion_key :: Lens' ObjectVersion (Maybe ObjectKey)
- objectVersion_lastModified :: Lens' ObjectVersion (Maybe UTCTime)
- objectVersion_owner :: Lens' ObjectVersion (Maybe Owner)
- objectVersion_size :: Lens' ObjectVersion (Maybe Integer)
- objectVersion_storageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass)
- objectVersion_versionId :: Lens' ObjectVersion (Maybe ObjectVersionId)
- data OutputLocation = OutputLocation' {
- s3 :: Maybe S3Location
- newOutputLocation :: OutputLocation
- outputLocation_s3 :: Lens' OutputLocation (Maybe S3Location)
- data OutputSerialization = OutputSerialization' {}
- newOutputSerialization :: OutputSerialization
- outputSerialization_csv :: Lens' OutputSerialization (Maybe CSVOutput)
- outputSerialization_json :: Lens' OutputSerialization (Maybe JSONOutput)
- data Owner = Owner' {}
- newOwner :: Owner
- owner_displayName :: Lens' Owner (Maybe Text)
- owner_id :: Lens' Owner (Maybe Text)
- data OwnershipControls = OwnershipControls' {}
- newOwnershipControls :: OwnershipControls
- ownershipControls_rules :: Lens' OwnershipControls [OwnershipControlsRule]
- data OwnershipControlsRule = OwnershipControlsRule' {}
- newOwnershipControlsRule :: ObjectOwnership -> OwnershipControlsRule
- ownershipControlsRule_objectOwnership :: Lens' OwnershipControlsRule ObjectOwnership
- data ParquetInput = ParquetInput' {
- newParquetInput :: ParquetInput
- data Part = Part' {
- checksumCRC32 :: Maybe Text
- checksumCRC32C :: Maybe Text
- checksumSHA1 :: Maybe Text
- checksumSHA256 :: Maybe Text
- eTag :: Maybe ETag
- lastModified :: Maybe RFC822
- partNumber :: Maybe Int
- size :: Maybe Integer
- newPart :: Part
- part_checksumCRC32 :: Lens' Part (Maybe Text)
- part_checksumCRC32C :: Lens' Part (Maybe Text)
- part_checksumSHA1 :: Lens' Part (Maybe Text)
- part_checksumSHA256 :: Lens' Part (Maybe Text)
- part_eTag :: Lens' Part (Maybe ETag)
- part_lastModified :: Lens' Part (Maybe UTCTime)
- part_partNumber :: Lens' Part (Maybe Int)
- part_size :: Lens' Part (Maybe Integer)
- data PolicyStatus = PolicyStatus' {}
- newPolicyStatus :: PolicyStatus
- policyStatus_isPublic :: Lens' PolicyStatus (Maybe Bool)
- data Progress = Progress' {}
- newProgress :: Progress
- progress_bytesProcessed :: Lens' Progress (Maybe Integer)
- progress_bytesReturned :: Lens' Progress (Maybe Integer)
- progress_bytesScanned :: Lens' Progress (Maybe Integer)
- data ProgressEvent = ProgressEvent' {}
- newProgressEvent :: ProgressEvent
- progressEvent_details :: Lens' ProgressEvent (Maybe Progress)
- data PublicAccessBlockConfiguration = PublicAccessBlockConfiguration' {}
- newPublicAccessBlockConfiguration :: PublicAccessBlockConfiguration
- publicAccessBlockConfiguration_blockPublicAcls :: Lens' PublicAccessBlockConfiguration (Maybe Bool)
- publicAccessBlockConfiguration_blockPublicPolicy :: Lens' PublicAccessBlockConfiguration (Maybe Bool)
- publicAccessBlockConfiguration_ignorePublicAcls :: Lens' PublicAccessBlockConfiguration (Maybe Bool)
- publicAccessBlockConfiguration_restrictPublicBuckets :: Lens' PublicAccessBlockConfiguration (Maybe Bool)
- data QueueConfiguration = QueueConfiguration' {}
- newQueueConfiguration :: Text -> QueueConfiguration
- queueConfiguration_filter :: Lens' QueueConfiguration (Maybe NotificationConfigurationFilter)
- queueConfiguration_id :: Lens' QueueConfiguration (Maybe Text)
- queueConfiguration_queueArn :: Lens' QueueConfiguration Text
- queueConfiguration_events :: Lens' QueueConfiguration [Event]
- data RecordsEvent = RecordsEvent' {}
- newRecordsEvent :: RecordsEvent
- recordsEvent_payload :: Lens' RecordsEvent (Maybe ByteString)
- data Redirect = Redirect' {}
- newRedirect :: Redirect
- redirect_hostName :: Lens' Redirect (Maybe Text)
- redirect_httpRedirectCode :: Lens' Redirect (Maybe Text)
- redirect_protocol :: Lens' Redirect (Maybe Protocol)
- redirect_replaceKeyPrefixWith :: Lens' Redirect (Maybe Text)
- redirect_replaceKeyWith :: Lens' Redirect (Maybe Text)
- data RedirectAllRequestsTo = RedirectAllRequestsTo' {}
- newRedirectAllRequestsTo :: Text -> RedirectAllRequestsTo
- redirectAllRequestsTo_protocol :: Lens' RedirectAllRequestsTo (Maybe Protocol)
- redirectAllRequestsTo_hostName :: Lens' RedirectAllRequestsTo Text
- data ReplicaModifications = ReplicaModifications' {}
- newReplicaModifications :: ReplicaModificationsStatus -> ReplicaModifications
- replicaModifications_status :: Lens' ReplicaModifications ReplicaModificationsStatus
- data ReplicationConfiguration = ReplicationConfiguration' {
- role' :: Text
- rules :: [ReplicationRule]
- newReplicationConfiguration :: Text -> ReplicationConfiguration
- replicationConfiguration_role :: Lens' ReplicationConfiguration Text
- replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule]
- data ReplicationRule = ReplicationRule' {
- deleteMarkerReplication :: Maybe DeleteMarkerReplication
- existingObjectReplication :: Maybe ExistingObjectReplication
- filter' :: Maybe ReplicationRuleFilter
- id :: Maybe Text
- prefix :: Maybe Text
- priority :: Maybe Int
- sourceSelectionCriteria :: Maybe SourceSelectionCriteria
- status :: ReplicationRuleStatus
- destination :: Destination
- newReplicationRule :: ReplicationRuleStatus -> Destination -> ReplicationRule
- replicationRule_deleteMarkerReplication :: Lens' ReplicationRule (Maybe DeleteMarkerReplication)
- replicationRule_existingObjectReplication :: Lens' ReplicationRule (Maybe ExistingObjectReplication)
- replicationRule_filter :: Lens' ReplicationRule (Maybe ReplicationRuleFilter)
- replicationRule_id :: Lens' ReplicationRule (Maybe Text)
- replicationRule_prefix :: Lens' ReplicationRule (Maybe Text)
- replicationRule_priority :: Lens' ReplicationRule (Maybe Int)
- replicationRule_sourceSelectionCriteria :: Lens' ReplicationRule (Maybe SourceSelectionCriteria)
- replicationRule_status :: Lens' ReplicationRule ReplicationRuleStatus
- replicationRule_destination :: Lens' ReplicationRule Destination
- data ReplicationRuleAndOperator = ReplicationRuleAndOperator' {}
- newReplicationRuleAndOperator :: ReplicationRuleAndOperator
- replicationRuleAndOperator_prefix :: Lens' ReplicationRuleAndOperator (Maybe Text)
- replicationRuleAndOperator_tags :: Lens' ReplicationRuleAndOperator (Maybe [Tag])
- data ReplicationRuleFilter = ReplicationRuleFilter' {}
- newReplicationRuleFilter :: ReplicationRuleFilter
- replicationRuleFilter_and :: Lens' ReplicationRuleFilter (Maybe ReplicationRuleAndOperator)
- replicationRuleFilter_prefix :: Lens' ReplicationRuleFilter (Maybe Text)
- replicationRuleFilter_tag :: Lens' ReplicationRuleFilter (Maybe Tag)
- data ReplicationTime = ReplicationTime' {}
- newReplicationTime :: ReplicationTimeStatus -> ReplicationTimeValue -> ReplicationTime
- replicationTime_status :: Lens' ReplicationTime ReplicationTimeStatus
- replicationTime_time :: Lens' ReplicationTime ReplicationTimeValue
- data ReplicationTimeValue = ReplicationTimeValue' {}
- newReplicationTimeValue :: ReplicationTimeValue
- replicationTimeValue_minutes :: Lens' ReplicationTimeValue (Maybe Int)
- data RequestPaymentConfiguration = RequestPaymentConfiguration' {}
- newRequestPaymentConfiguration :: Payer -> RequestPaymentConfiguration
- requestPaymentConfiguration_payer :: Lens' RequestPaymentConfiguration Payer
- data RequestProgress = RequestProgress' {}
- newRequestProgress :: RequestProgress
- requestProgress_enabled :: Lens' RequestProgress (Maybe Bool)
- data RestoreRequest = RestoreRequest' {}
- newRestoreRequest :: RestoreRequest
- restoreRequest_days :: Lens' RestoreRequest (Maybe Int)
- restoreRequest_description :: Lens' RestoreRequest (Maybe Text)
- restoreRequest_glacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters)
- restoreRequest_outputLocation :: Lens' RestoreRequest (Maybe OutputLocation)
- restoreRequest_selectParameters :: Lens' RestoreRequest (Maybe SelectParameters)
- restoreRequest_tier :: Lens' RestoreRequest (Maybe Tier)
- restoreRequest_type :: Lens' RestoreRequest (Maybe RestoreRequestType)
- data RoutingRule = RoutingRule' {}
- newRoutingRule :: Redirect -> RoutingRule
- routingRule_condition :: Lens' RoutingRule (Maybe Condition)
- routingRule_redirect :: Lens' RoutingRule Redirect
- data S3KeyFilter = S3KeyFilter' {
- filterRules :: Maybe [FilterRule]
- newS3KeyFilter :: S3KeyFilter
- s3KeyFilter_filterRules :: Lens' S3KeyFilter (Maybe [FilterRule])
- data S3Location = S3Location' {}
- newS3Location :: BucketName -> Text -> S3Location
- s3Location_accessControlList :: Lens' S3Location (Maybe [Grant])
- s3Location_cannedACL :: Lens' S3Location (Maybe ObjectCannedACL)
- s3Location_encryption :: Lens' S3Location (Maybe Encryption)
- s3Location_storageClass :: Lens' S3Location (Maybe StorageClass)
- s3Location_tagging :: Lens' S3Location (Maybe Tagging)
- s3Location_userMetadata :: Lens' S3Location (Maybe [MetadataEntry])
- s3Location_bucketName :: Lens' S3Location BucketName
- s3Location_prefix :: Lens' S3Location Text
- data S3ServiceError = S3ServiceError' {}
- newS3ServiceError :: S3ServiceError
- s3ServiceError_code :: Lens' S3ServiceError (Maybe Text)
- s3ServiceError_key :: Lens' S3ServiceError (Maybe ObjectKey)
- s3ServiceError_message :: Lens' S3ServiceError (Maybe Text)
- s3ServiceError_versionId :: Lens' S3ServiceError (Maybe ObjectVersionId)
- data SSEKMS = SSEKMS' {}
- newSSEKMS :: Text -> SSEKMS
- ssekms_keyId :: Lens' SSEKMS Text
- data SSES3 = SSES3' {
- newSSES3 :: SSES3
- data ScanRange = ScanRange' {}
- newScanRange :: ScanRange
- scanRange_end :: Lens' ScanRange (Maybe Integer)
- scanRange_start :: Lens' ScanRange (Maybe Integer)
- data SelectObjectContentEventStream = SelectObjectContentEventStream' {}
- newSelectObjectContentEventStream :: SelectObjectContentEventStream
- selectObjectContentEventStream_cont :: Lens' SelectObjectContentEventStream (Maybe ContinuationEvent)
- selectObjectContentEventStream_end :: Lens' SelectObjectContentEventStream (Maybe EndEvent)
- selectObjectContentEventStream_progress :: Lens' SelectObjectContentEventStream (Maybe ProgressEvent)
- selectObjectContentEventStream_records :: Lens' SelectObjectContentEventStream (Maybe RecordsEvent)
- selectObjectContentEventStream_stats :: Lens' SelectObjectContentEventStream (Maybe StatsEvent)
- data SelectParameters = SelectParameters' {}
- newSelectParameters :: InputSerialization -> ExpressionType -> Text -> OutputSerialization -> SelectParameters
- selectParameters_inputSerialization :: Lens' SelectParameters InputSerialization
- selectParameters_expressionType :: Lens' SelectParameters ExpressionType
- selectParameters_expression :: Lens' SelectParameters Text
- selectParameters_outputSerialization :: Lens' SelectParameters OutputSerialization
- data ServerSideEncryptionByDefault = ServerSideEncryptionByDefault' {}
- newServerSideEncryptionByDefault :: ServerSideEncryption -> ServerSideEncryptionByDefault
- serverSideEncryptionByDefault_kmsMasterKeyID :: Lens' ServerSideEncryptionByDefault (Maybe Text)
- serverSideEncryptionByDefault_sSEAlgorithm :: Lens' ServerSideEncryptionByDefault ServerSideEncryption
- data ServerSideEncryptionConfiguration = ServerSideEncryptionConfiguration' {}
- newServerSideEncryptionConfiguration :: ServerSideEncryptionConfiguration
- serverSideEncryptionConfiguration_rules :: Lens' ServerSideEncryptionConfiguration [ServerSideEncryptionRule]
- data ServerSideEncryptionRule = ServerSideEncryptionRule' {}
- newServerSideEncryptionRule :: ServerSideEncryptionRule
- serverSideEncryptionRule_applyServerSideEncryptionByDefault :: Lens' ServerSideEncryptionRule (Maybe ServerSideEncryptionByDefault)
- serverSideEncryptionRule_bucketKeyEnabled :: Lens' ServerSideEncryptionRule (Maybe Bool)
- data SourceSelectionCriteria = SourceSelectionCriteria' {}
- newSourceSelectionCriteria :: SourceSelectionCriteria
- sourceSelectionCriteria_replicaModifications :: Lens' SourceSelectionCriteria (Maybe ReplicaModifications)
- sourceSelectionCriteria_sseKmsEncryptedObjects :: Lens' SourceSelectionCriteria (Maybe SseKmsEncryptedObjects)
- data SseKmsEncryptedObjects = SseKmsEncryptedObjects' {}
- newSseKmsEncryptedObjects :: SseKmsEncryptedObjectsStatus -> SseKmsEncryptedObjects
- sseKmsEncryptedObjects_status :: Lens' SseKmsEncryptedObjects SseKmsEncryptedObjectsStatus
- data Stats = Stats' {}
- newStats :: Stats
- stats_bytesProcessed :: Lens' Stats (Maybe Integer)
- stats_bytesReturned :: Lens' Stats (Maybe Integer)
- stats_bytesScanned :: Lens' Stats (Maybe Integer)
- data StatsEvent = StatsEvent' {}
- newStatsEvent :: StatsEvent
- statsEvent_details :: Lens' StatsEvent (Maybe Stats)
- data StorageClassAnalysis = StorageClassAnalysis' {}
- newStorageClassAnalysis :: StorageClassAnalysis
- storageClassAnalysis_dataExport :: Lens' StorageClassAnalysis (Maybe StorageClassAnalysisDataExport)
- data StorageClassAnalysisDataExport = StorageClassAnalysisDataExport' {}
- newStorageClassAnalysisDataExport :: StorageClassAnalysisSchemaVersion -> AnalyticsExportDestination -> StorageClassAnalysisDataExport
- storageClassAnalysisDataExport_outputSchemaVersion :: Lens' StorageClassAnalysisDataExport StorageClassAnalysisSchemaVersion
- storageClassAnalysisDataExport_destination :: Lens' StorageClassAnalysisDataExport AnalyticsExportDestination
- data Tag = Tag' {}
- newTag :: ObjectKey -> Text -> Tag
- tag_key :: Lens' Tag ObjectKey
- tag_value :: Lens' Tag Text
- data Tagging = Tagging' {}
- newTagging :: Tagging
- tagging_tagSet :: Lens' Tagging [Tag]
- data TargetGrant = TargetGrant' {}
- newTargetGrant :: TargetGrant
- targetGrant_grantee :: Lens' TargetGrant (Maybe Grantee)
- targetGrant_permission :: Lens' TargetGrant (Maybe BucketLogsPermission)
- data Tiering = Tiering' {}
- newTiering :: Int -> IntelligentTieringAccessTier -> Tiering
- tiering_days :: Lens' Tiering Int
- tiering_accessTier :: Lens' Tiering IntelligentTieringAccessTier
- data TopicConfiguration = TopicConfiguration' {}
- newTopicConfiguration :: Text -> TopicConfiguration
- topicConfiguration_filter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter)
- topicConfiguration_id :: Lens' TopicConfiguration (Maybe Text)
- topicConfiguration_topicArn :: Lens' TopicConfiguration Text
- topicConfiguration_events :: Lens' TopicConfiguration [Event]
- data Transition = Transition' {}
- newTransition :: Transition
- transition_date :: Lens' Transition (Maybe UTCTime)
- transition_days :: Lens' Transition (Maybe Int)
- transition_storageClass :: Lens' Transition (Maybe TransitionStorageClass)
- data VersioningConfiguration = VersioningConfiguration' {}
- newVersioningConfiguration :: VersioningConfiguration
- versioningConfiguration_mfaDelete :: Lens' VersioningConfiguration (Maybe MFADelete)
- versioningConfiguration_status :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus)
- data WebsiteConfiguration = WebsiteConfiguration' {}
- newWebsiteConfiguration :: WebsiteConfiguration
- websiteConfiguration_errorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument)
- websiteConfiguration_indexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument)
- websiteConfiguration_redirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo)
- websiteConfiguration_routingRules :: Lens' WebsiteConfiguration (Maybe [RoutingRule])
Service Configuration
defaultService :: Service Source #
API version 2006-03-01 of the Amazon Simple Storage Service SDK configuration.
Errors
_BucketAlreadyExists :: AsError a => Fold a ServiceError Source #
The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again.
_BucketAlreadyOwnedByYou :: AsError a => Fold a ServiceError Source #
The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
_InvalidObjectState :: AsError a => Fold a ServiceError Source #
Object is archived and inaccessible until restored.
_NoSuchBucket :: AsError a => Fold a ServiceError Source #
The specified bucket does not exist.
_NoSuchKey :: AsError a => Fold a ServiceError Source #
The specified key does not exist.
_NoSuchUpload :: AsError a => Fold a ServiceError Source #
The specified multipart upload does not exist.
_ObjectAlreadyInActiveTierError :: AsError a => Fold a ServiceError Source #
This action is not allowed against this storage tier.
_ObjectNotInActiveTierError :: AsError a => Fold a ServiceError Source #
The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier.
Re-exported Types
module Amazonka.S3.Internal
AnalyticsS3ExportFileFormat
newtype AnalyticsS3ExportFileFormat Source #
Constructors
| AnalyticsS3ExportFileFormat' | |
Fields | |
Bundled Patterns
| pattern AnalyticsS3ExportFileFormat_CSV :: AnalyticsS3ExportFileFormat |
Instances
ArchiveStatus
newtype ArchiveStatus Source #
Constructors
| ArchiveStatus' | |
Fields | |
Bundled Patterns
| pattern ArchiveStatus_ARCHIVE_ACCESS :: ArchiveStatus | |
| pattern ArchiveStatus_DEEP_ARCHIVE_ACCESS :: ArchiveStatus |
Instances
BucketAccelerateStatus
newtype BucketAccelerateStatus Source #
Constructors
| BucketAccelerateStatus' | |
Fields | |
Bundled Patterns
| pattern BucketAccelerateStatus_Enabled :: BucketAccelerateStatus | |
| pattern BucketAccelerateStatus_Suspended :: BucketAccelerateStatus |
Instances
BucketCannedACL
newtype BucketCannedACL Source #
Constructors
| BucketCannedACL' | |
Fields | |
Bundled Patterns
| pattern BucketCannedACL_Authenticated_read :: BucketCannedACL | |
| pattern BucketCannedACL_Private :: BucketCannedACL | |
| pattern BucketCannedACL_Public_read :: BucketCannedACL | |
| pattern BucketCannedACL_Public_read_write :: BucketCannedACL |
Instances
BucketLogsPermission
newtype BucketLogsPermission Source #
Constructors
| BucketLogsPermission' | |
Fields | |
Bundled Patterns
| pattern BucketLogsPermission_FULL_CONTROL :: BucketLogsPermission | |
| pattern BucketLogsPermission_READ :: BucketLogsPermission | |
| pattern BucketLogsPermission_WRITE :: BucketLogsPermission |
Instances
BucketVersioningStatus
newtype BucketVersioningStatus Source #
Constructors
| BucketVersioningStatus' | |
Fields | |
Bundled Patterns
| pattern BucketVersioningStatus_Enabled :: BucketVersioningStatus | |
| pattern BucketVersioningStatus_Suspended :: BucketVersioningStatus |
Instances
ChecksumAlgorithm
newtype ChecksumAlgorithm Source #
Constructors
| ChecksumAlgorithm' | |
Fields | |
Bundled Patterns
| pattern ChecksumAlgorithm_CRC32 :: ChecksumAlgorithm | |
| pattern ChecksumAlgorithm_CRC32C :: ChecksumAlgorithm | |
| pattern ChecksumAlgorithm_SHA1 :: ChecksumAlgorithm | |
| pattern ChecksumAlgorithm_SHA256 :: ChecksumAlgorithm |
Instances
ChecksumMode
newtype ChecksumMode Source #
Constructors
| ChecksumMode' | |
Fields | |
Bundled Patterns
| pattern ChecksumMode_ENABLED :: ChecksumMode |
Instances
CompressionType
newtype CompressionType Source #
Constructors
| CompressionType' | |
Fields | |
Bundled Patterns
| pattern CompressionType_BZIP2 :: CompressionType | |
| pattern CompressionType_GZIP :: CompressionType | |
| pattern CompressionType_NONE :: CompressionType |
Instances
DeleteMarkerReplicationStatus
newtype DeleteMarkerReplicationStatus Source #
Constructors
| DeleteMarkerReplicationStatus' | |
Fields | |
Bundled Patterns
| pattern DeleteMarkerReplicationStatus_Disabled :: DeleteMarkerReplicationStatus | |
| pattern DeleteMarkerReplicationStatus_Enabled :: DeleteMarkerReplicationStatus |
Instances
EncodingType
newtype EncodingType Source #
Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.
Constructors
| EncodingType' | |
Fields | |
Bundled Patterns
| pattern EncodingType_Url :: EncodingType |
Instances
Event
The bucket event for which to send notifications.
Bundled Patterns
Instances
ExistingObjectReplicationStatus
newtype ExistingObjectReplicationStatus Source #
Constructors
| ExistingObjectReplicationStatus' | |
Fields | |
Bundled Patterns
| pattern ExistingObjectReplicationStatus_Disabled :: ExistingObjectReplicationStatus | |
| pattern ExistingObjectReplicationStatus_Enabled :: ExistingObjectReplicationStatus |
Instances
ExpirationStatus
newtype ExpirationStatus Source #
Constructors
| ExpirationStatus' | |
Fields | |
Bundled Patterns
| pattern ExpirationStatus_Disabled :: ExpirationStatus | |
| pattern ExpirationStatus_Enabled :: ExpirationStatus |
Instances
ExpressionType
newtype ExpressionType Source #
Constructors
| ExpressionType' | |
Fields | |
Bundled Patterns
| pattern ExpressionType_SQL :: ExpressionType |
Instances
FileHeaderInfo
newtype FileHeaderInfo Source #
Constructors
| FileHeaderInfo' | |
Fields | |
Bundled Patterns
| pattern FileHeaderInfo_IGNORE :: FileHeaderInfo | |
| pattern FileHeaderInfo_NONE :: FileHeaderInfo | |
| pattern FileHeaderInfo_USE :: FileHeaderInfo |
Instances
FilterRuleName
newtype FilterRuleName Source #
Constructors
| FilterRuleName' | |
Fields | |
Bundled Patterns
| pattern FilterRuleName_Prefix :: FilterRuleName | |
| pattern FilterRuleName_Suffix :: FilterRuleName |
Instances
IntelligentTieringAccessTier
newtype IntelligentTieringAccessTier Source #
Constructors
| IntelligentTieringAccessTier' | |
Fields | |
Bundled Patterns
| pattern IntelligentTieringAccessTier_ARCHIVE_ACCESS :: IntelligentTieringAccessTier | |
| pattern IntelligentTieringAccessTier_DEEP_ARCHIVE_ACCESS :: IntelligentTieringAccessTier |
Instances
IntelligentTieringStatus
newtype IntelligentTieringStatus Source #
Constructors
| IntelligentTieringStatus' | |
Fields | |
Bundled Patterns
| pattern IntelligentTieringStatus_Disabled :: IntelligentTieringStatus | |
| pattern IntelligentTieringStatus_Enabled :: IntelligentTieringStatus |
Instances
InventoryFormat
newtype InventoryFormat Source #
Constructors
| InventoryFormat' | |
Fields | |
Bundled Patterns
| pattern InventoryFormat_CSV :: InventoryFormat | |
| pattern InventoryFormat_ORC :: InventoryFormat | |
| pattern InventoryFormat_Parquet :: InventoryFormat |
Instances
InventoryFrequency
newtype InventoryFrequency Source #
Constructors
| InventoryFrequency' | |
Fields | |
Bundled Patterns
| pattern InventoryFrequency_Daily :: InventoryFrequency | |
| pattern InventoryFrequency_Weekly :: InventoryFrequency |
Instances
InventoryIncludedObjectVersions
newtype InventoryIncludedObjectVersions Source #
Constructors
| InventoryIncludedObjectVersions' | |
Fields | |
Bundled Patterns
| pattern InventoryIncludedObjectVersions_All :: InventoryIncludedObjectVersions | |
| pattern InventoryIncludedObjectVersions_Current :: InventoryIncludedObjectVersions |
Instances
InventoryOptionalField
newtype InventoryOptionalField Source #
Constructors
| InventoryOptionalField' | |
Fields | |
Bundled Patterns
Instances
JSONType
Constructors
| JSONType' | |
Fields
| |
Bundled Patterns
| pattern JSONType_DOCUMENT :: JSONType | |
| pattern JSONType_LINES :: JSONType |
Instances
MFADelete
Constructors
| MFADelete' | |
Fields | |
Bundled Patterns
| pattern MFADelete_Disabled :: MFADelete | |
| pattern MFADelete_Enabled :: MFADelete |
Instances
MFADeleteStatus
newtype MFADeleteStatus Source #
Constructors
| MFADeleteStatus' | |
Fields | |
Bundled Patterns
| pattern MFADeleteStatus_Disabled :: MFADeleteStatus | |
| pattern MFADeleteStatus_Enabled :: MFADeleteStatus |
Instances
MetadataDirective
newtype MetadataDirective Source #
Constructors
| MetadataDirective' | |
Fields | |
Bundled Patterns
| pattern MetadataDirective_COPY :: MetadataDirective | |
| pattern MetadataDirective_REPLACE :: MetadataDirective |
Instances
MetricsStatus
newtype MetricsStatus Source #
Constructors
| MetricsStatus' | |
Fields | |
Bundled Patterns
| pattern MetricsStatus_Disabled :: MetricsStatus | |
| pattern MetricsStatus_Enabled :: MetricsStatus |
Instances
ObjectAttributes
newtype ObjectAttributes Source #
Constructors
| ObjectAttributes' | |
Fields | |
Bundled Patterns
| pattern ObjectAttributes_Checksum :: ObjectAttributes | |
| pattern ObjectAttributes_ETag :: ObjectAttributes | |
| pattern ObjectAttributes_ObjectParts :: ObjectAttributes | |
| pattern ObjectAttributes_ObjectSize :: ObjectAttributes | |
| pattern ObjectAttributes_StorageClass :: ObjectAttributes |
Instances
ObjectCannedACL
newtype ObjectCannedACL Source #
Constructors
| ObjectCannedACL' | |
Fields | |
Bundled Patterns
| pattern ObjectCannedACL_Authenticated_read :: ObjectCannedACL | |
| pattern ObjectCannedACL_Aws_exec_read :: ObjectCannedACL | |
| pattern ObjectCannedACL_Bucket_owner_full_control :: ObjectCannedACL | |
| pattern ObjectCannedACL_Bucket_owner_read :: ObjectCannedACL | |
| pattern ObjectCannedACL_Private :: ObjectCannedACL | |
| pattern ObjectCannedACL_Public_read :: ObjectCannedACL | |
| pattern ObjectCannedACL_Public_read_write :: ObjectCannedACL |
Instances
ObjectLockEnabled
newtype ObjectLockEnabled Source #
Constructors
| ObjectLockEnabled' | |
Fields | |
Bundled Patterns
| pattern ObjectLockEnabled_Enabled :: ObjectLockEnabled |
Instances
ObjectLockLegalHoldStatus
newtype ObjectLockLegalHoldStatus Source #
Constructors
| ObjectLockLegalHoldStatus' | |
Fields | |
Bundled Patterns
| pattern ObjectLockLegalHoldStatus_OFF :: ObjectLockLegalHoldStatus | |
| pattern ObjectLockLegalHoldStatus_ON :: ObjectLockLegalHoldStatus |
Instances
ObjectLockMode
newtype ObjectLockMode Source #
Constructors
| ObjectLockMode' | |
Fields | |
Bundled Patterns
| pattern ObjectLockMode_COMPLIANCE :: ObjectLockMode | |
| pattern ObjectLockMode_GOVERNANCE :: ObjectLockMode |
Instances
ObjectLockRetentionMode
newtype ObjectLockRetentionMode Source #
Constructors
| ObjectLockRetentionMode' | |
Fields | |
Bundled Patterns
| pattern ObjectLockRetentionMode_COMPLIANCE :: ObjectLockRetentionMode | |
| pattern ObjectLockRetentionMode_GOVERNANCE :: ObjectLockRetentionMode |
Instances
ObjectOwnership
newtype ObjectOwnership Source #
The container element for object ownership for a bucket's ownership controls.
BucketOwnerPreferred - Objects uploaded to the bucket change ownership
to the bucket owner if the objects are uploaded with the
bucket-owner-full-control canned ACL.
ObjectWriter - The uploading account will own the object if the object
is uploaded with the bucket-owner-full-control canned ACL.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no
longer affect permissions. The bucket owner automatically owns and has
full control over every object in the bucket. The bucket only accepts
PUT requests that don't specify an ACL or bucket owner full control
ACLs, such as the bucket-owner-full-control canned ACL or an
equivalent form of this ACL expressed in the XML format.
Constructors
| ObjectOwnership' | |
Fields | |
Bundled Patterns
| pattern ObjectOwnership_BucketOwnerEnforced :: ObjectOwnership | |
| pattern ObjectOwnership_BucketOwnerPreferred :: ObjectOwnership | |
| pattern ObjectOwnership_ObjectWriter :: ObjectOwnership |
Instances
ObjectStorageClass
newtype ObjectStorageClass Source #
Constructors
| ObjectStorageClass' | |
Fields | |
Bundled Patterns
| pattern ObjectStorageClass_GLACIER :: ObjectStorageClass | |
| pattern ObjectStorageClass_INTELLIGENT_TIERING :: ObjectStorageClass | |
| pattern ObjectStorageClass_REDUCED_REDUNDANCY :: ObjectStorageClass | |
| pattern ObjectStorageClass_STANDARD :: ObjectStorageClass | |
| pattern ObjectStorageClass_STANDARD_IA :: ObjectStorageClass |
Instances
ObjectVersionStorageClass
newtype ObjectVersionStorageClass Source #
Constructors
| ObjectVersionStorageClass' | |
Fields | |
Bundled Patterns
| pattern ObjectVersionStorageClass_STANDARD :: ObjectVersionStorageClass |
Instances
OwnerOverride
newtype OwnerOverride Source #
Constructors
| OwnerOverride' | |
Fields | |
Bundled Patterns
| pattern OwnerOverride_Destination :: OwnerOverride |
Instances
Payer
Bundled Patterns
| pattern Payer_BucketOwner :: Payer | |
| pattern Payer_Requester :: Payer |
Instances
Permission
newtype Permission Source #
Constructors
| Permission' | |
Fields | |
Bundled Patterns
| pattern Permission_FULL_CONTROL :: Permission | |
| pattern Permission_READ :: Permission | |
| pattern Permission_READ_ACP :: Permission | |
| pattern Permission_WRITE :: Permission | |
| pattern Permission_WRITE_ACP :: Permission |
Instances
Protocol
Constructors
| Protocol' | |
Fields
| |
Bundled Patterns
| pattern Protocol_Http :: Protocol | |
| pattern Protocol_Https :: Protocol |
Instances
QuoteFields
newtype QuoteFields Source #
Constructors
| QuoteFields' | |
Fields | |
Bundled Patterns
| pattern QuoteFields_ALWAYS :: QuoteFields | |
| pattern QuoteFields_ASNEEDED :: QuoteFields |
Instances
ReplicaModificationsStatus
newtype ReplicaModificationsStatus Source #
Constructors
| ReplicaModificationsStatus' | |
Fields | |
Bundled Patterns
| pattern ReplicaModificationsStatus_Disabled :: ReplicaModificationsStatus | |
| pattern ReplicaModificationsStatus_Enabled :: ReplicaModificationsStatus |
Instances
ReplicationRuleStatus
newtype ReplicationRuleStatus Source #
Constructors
| ReplicationRuleStatus' | |
Fields | |
Bundled Patterns
| pattern ReplicationRuleStatus_Disabled :: ReplicationRuleStatus | |
| pattern ReplicationRuleStatus_Enabled :: ReplicationRuleStatus |
Instances
ReplicationStatus
newtype ReplicationStatus Source #
Constructors
| ReplicationStatus' | |
Fields | |
Bundled Patterns
| pattern ReplicationStatus_COMPLETED :: ReplicationStatus | |
| pattern ReplicationStatus_FAILED :: ReplicationStatus | |
| pattern ReplicationStatus_PENDING :: ReplicationStatus | |
| pattern ReplicationStatus_REPLICA :: ReplicationStatus |
Instances
ReplicationTimeStatus
newtype ReplicationTimeStatus Source #
Constructors
| ReplicationTimeStatus' | |
Fields | |
Bundled Patterns
| pattern ReplicationTimeStatus_Disabled :: ReplicationTimeStatus | |
| pattern ReplicationTimeStatus_Enabled :: ReplicationTimeStatus |
Instances
RequestCharged
newtype RequestCharged Source #
If present, indicates that the requester was successfully charged for the request.
Constructors
| RequestCharged' | |
Fields | |
Bundled Patterns
| pattern RequestCharged_Requester :: RequestCharged |
Instances
RequestPayer
newtype RequestPayer Source #
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
Constructors
| RequestPayer' | |
Fields | |
Bundled Patterns
| pattern RequestPayer_Requester :: RequestPayer |
Instances
RestoreRequestType
newtype RestoreRequestType Source #
Constructors
| RestoreRequestType' | |
Fields | |
Bundled Patterns
| pattern RestoreRequestType_SELECT :: RestoreRequestType |
Instances
ServerSideEncryption
newtype ServerSideEncryption Source #
Constructors
| ServerSideEncryption' | |
Fields | |
Bundled Patterns
| pattern ServerSideEncryption_AES256 :: ServerSideEncryption | |
| pattern ServerSideEncryption_Aws_kms :: ServerSideEncryption |
Instances
SseKmsEncryptedObjectsStatus
newtype SseKmsEncryptedObjectsStatus Source #
Constructors
| SseKmsEncryptedObjectsStatus' | |
Fields | |
Bundled Patterns
| pattern SseKmsEncryptedObjectsStatus_Disabled :: SseKmsEncryptedObjectsStatus | |
| pattern SseKmsEncryptedObjectsStatus_Enabled :: SseKmsEncryptedObjectsStatus |
Instances
StorageClass
newtype StorageClass Source #
Constructors
| StorageClass' | |
Fields | |
Bundled Patterns
| pattern StorageClass_DEEP_ARCHIVE :: StorageClass | |
| pattern StorageClass_GLACIER :: StorageClass | |
| pattern StorageClass_GLACIER_IR :: StorageClass | |
| pattern StorageClass_INTELLIGENT_TIERING :: StorageClass | |
| pattern StorageClass_ONEZONE_IA :: StorageClass | |
| pattern StorageClass_OUTPOSTS :: StorageClass | |
| pattern StorageClass_REDUCED_REDUNDANCY :: StorageClass | |
| pattern StorageClass_STANDARD :: StorageClass | |
| pattern StorageClass_STANDARD_IA :: StorageClass |
Instances
StorageClassAnalysisSchemaVersion
newtype StorageClassAnalysisSchemaVersion Source #
Constructors
| StorageClassAnalysisSchemaVersion' | |
Bundled Patterns
| pattern StorageClassAnalysisSchemaVersion_V_1 :: StorageClassAnalysisSchemaVersion |
Instances
TaggingDirective
newtype TaggingDirective Source #
Constructors
| TaggingDirective' | |
Fields | |
Bundled Patterns
| pattern TaggingDirective_COPY :: TaggingDirective | |
| pattern TaggingDirective_REPLACE :: TaggingDirective |
Instances
Tier
Bundled Patterns
| pattern Tier_Bulk :: Tier | |
| pattern Tier_Expedited :: Tier | |
| pattern Tier_Standard :: Tier |
Instances
TransitionStorageClass
newtype TransitionStorageClass Source #
Constructors
| TransitionStorageClass' | |
Fields | |
Bundled Patterns
Instances
Type
Bundled Patterns
| pattern Type_AmazonCustomerByEmail :: Type | |
| pattern Type_CanonicalUser :: Type | |
| pattern Type_Group :: Type |
Instances
AbortIncompleteMultipartUpload
data AbortIncompleteMultipartUpload Source #
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the Amazon S3 User Guide.
See: newAbortIncompleteMultipartUpload smart constructor.
Constructors
| AbortIncompleteMultipartUpload' | |
Fields
| |
Instances
newAbortIncompleteMultipartUpload :: AbortIncompleteMultipartUpload Source #
Create a value of AbortIncompleteMultipartUpload with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:daysAfterInitiation:AbortIncompleteMultipartUpload', abortIncompleteMultipartUpload_daysAfterInitiation - Specifies the number of days after which Amazon S3 aborts an incomplete
multipart upload.
abortIncompleteMultipartUpload_daysAfterInitiation :: Lens' AbortIncompleteMultipartUpload (Maybe Int) Source #
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.
AccelerateConfiguration
data AccelerateConfiguration Source #
Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see Amazon S3 Transfer Acceleration in the Amazon S3 User Guide.
See: newAccelerateConfiguration smart constructor.
Constructors
| AccelerateConfiguration' | |
Fields
| |
Instances
newAccelerateConfiguration :: AccelerateConfiguration Source #
Create a value of AccelerateConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:AccelerateConfiguration', accelerateConfiguration_status - Specifies the transfer acceleration status of the bucket.
accelerateConfiguration_status :: Lens' AccelerateConfiguration (Maybe BucketAccelerateStatus) Source #
Specifies the transfer acceleration status of the bucket.
AccessControlPolicy
data AccessControlPolicy Source #
Contains the elements that set the ACL permissions for an object per grantee.
See: newAccessControlPolicy smart constructor.
Constructors
| AccessControlPolicy' | |
Instances
newAccessControlPolicy :: AccessControlPolicy Source #
Create a value of AccessControlPolicy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:grants:AccessControlPolicy', accessControlPolicy_grants - A list of grants.
$sel:owner:AccessControlPolicy', accessControlPolicy_owner - Container for the bucket owner's display name and ID.
accessControlPolicy_grants :: Lens' AccessControlPolicy (Maybe [Grant]) Source #
A list of grants.
accessControlPolicy_owner :: Lens' AccessControlPolicy (Maybe Owner) Source #
Container for the bucket owner's display name and ID.
AccessControlTranslation
data AccessControlTranslation Source #
A container for information about access control for replicas.
See: newAccessControlTranslation smart constructor.
Constructors
| AccessControlTranslation' | |
Fields
| |
Instances
newAccessControlTranslation Source #
Create a value of AccessControlTranslation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:owner:AccessControlTranslation', accessControlTranslation_owner - Specifies the replica ownership. For default and valid values, see
PUT bucket replication
in the Amazon S3 API Reference.
accessControlTranslation_owner :: Lens' AccessControlTranslation OwnerOverride Source #
Specifies the replica ownership. For default and valid values, see PUT bucket replication in the Amazon S3 API Reference.
AnalyticsAndOperator
data AnalyticsAndOperator Source #
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.
See: newAnalyticsAndOperator smart constructor.
Constructors
| AnalyticsAndOperator' | |
Instances
newAnalyticsAndOperator :: AnalyticsAndOperator Source #
Create a value of AnalyticsAndOperator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:AnalyticsAndOperator', analyticsAndOperator_prefix - The prefix to use when evaluating an AND predicate: The prefix that an
object must have to be included in the metrics results.
$sel:tags:AnalyticsAndOperator', analyticsAndOperator_tags - The list of tags to use when evaluating an AND predicate.
analyticsAndOperator_prefix :: Lens' AnalyticsAndOperator (Maybe Text) Source #
The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.
analyticsAndOperator_tags :: Lens' AnalyticsAndOperator (Maybe [Tag]) Source #
The list of tags to use when evaluating an AND predicate.
AnalyticsConfiguration
data AnalyticsConfiguration Source #
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
See: newAnalyticsConfiguration smart constructor.
Constructors
| AnalyticsConfiguration' | |
Fields
| |
Instances
newAnalyticsConfiguration Source #
Arguments
| :: Text | |
| -> StorageClassAnalysis | |
| -> AnalyticsConfiguration |
Create a value of AnalyticsConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':AnalyticsConfiguration', analyticsConfiguration_filter - The filter used to describe a set of objects for analyses. A filter must
have exactly one prefix, one tag, or one conjunction
(AnalyticsAndOperator). If no filter is provided, all objects will be
considered in any analysis.
$sel:id:AnalyticsConfiguration', analyticsConfiguration_id - The ID that identifies the analytics configuration.
$sel:storageClassAnalysis:AnalyticsConfiguration', analyticsConfiguration_storageClassAnalysis - Contains data related to access patterns to be collected and made
available to analyze the tradeoffs between different storage classes.
analyticsConfiguration_filter :: Lens' AnalyticsConfiguration (Maybe AnalyticsFilter) Source #
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
analyticsConfiguration_id :: Lens' AnalyticsConfiguration Text Source #
The ID that identifies the analytics configuration.
analyticsConfiguration_storageClassAnalysis :: Lens' AnalyticsConfiguration StorageClassAnalysis Source #
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
AnalyticsExportDestination
data AnalyticsExportDestination Source #
Where to publish the analytics results.
See: newAnalyticsExportDestination smart constructor.
Constructors
| AnalyticsExportDestination' | |
Fields
| |
Instances
newAnalyticsExportDestination Source #
Arguments
| :: AnalyticsS3BucketDestination | |
| -> AnalyticsExportDestination |
Create a value of AnalyticsExportDestination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3BucketDestination:AnalyticsExportDestination', analyticsExportDestination_s3BucketDestination - A destination signifying output to an S3 bucket.
analyticsExportDestination_s3BucketDestination :: Lens' AnalyticsExportDestination AnalyticsS3BucketDestination Source #
A destination signifying output to an S3 bucket.
AnalyticsFilter
data AnalyticsFilter Source #
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
See: newAnalyticsFilter smart constructor.
Constructors
| AnalyticsFilter' | |
Fields
| |
Instances
newAnalyticsFilter :: AnalyticsFilter Source #
Create a value of AnalyticsFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:and:AnalyticsFilter', analyticsFilter_and - A conjunction (logical AND) of predicates, which is used in evaluating
an analytics filter. The operator must have at least two predicates.
AnalyticsFilter, analyticsFilter_prefix - The prefix to use when evaluating an analytics filter.
$sel:tag:AnalyticsFilter', analyticsFilter_tag - The tag to use when evaluating an analytics filter.
analyticsFilter_and :: Lens' AnalyticsFilter (Maybe AnalyticsAndOperator) Source #
A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
analyticsFilter_prefix :: Lens' AnalyticsFilter (Maybe Text) Source #
The prefix to use when evaluating an analytics filter.
analyticsFilter_tag :: Lens' AnalyticsFilter (Maybe Tag) Source #
The tag to use when evaluating an analytics filter.
AnalyticsS3BucketDestination
data AnalyticsS3BucketDestination Source #
Contains information about where to publish the analytics results.
See: newAnalyticsS3BucketDestination smart constructor.
Constructors
| AnalyticsS3BucketDestination' | |
Fields
| |
Instances
newAnalyticsS3BucketDestination Source #
Arguments
| :: AnalyticsS3ExportFileFormat | |
| -> BucketName | |
| -> AnalyticsS3BucketDestination |
Create a value of AnalyticsS3BucketDestination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bucketAccountId:AnalyticsS3BucketDestination', analyticsS3BucketDestination_bucketAccountId - The account ID that owns the destination S3 bucket. If no account ID is
provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
$sel:prefix:AnalyticsS3BucketDestination', analyticsS3BucketDestination_prefix - The prefix to use when exporting data. The prefix is prepended to all
results.
$sel:format:AnalyticsS3BucketDestination', analyticsS3BucketDestination_format - Specifies the file format used when exporting data to Amazon S3.
$sel:bucket:AnalyticsS3BucketDestination', analyticsS3BucketDestination_bucket - The Amazon Resource Name (ARN) of the bucket to which data is exported.
analyticsS3BucketDestination_bucketAccountId :: Lens' AnalyticsS3BucketDestination (Maybe Text) Source #
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
analyticsS3BucketDestination_prefix :: Lens' AnalyticsS3BucketDestination (Maybe Text) Source #
The prefix to use when exporting data. The prefix is prepended to all results.
analyticsS3BucketDestination_format :: Lens' AnalyticsS3BucketDestination AnalyticsS3ExportFileFormat Source #
Specifies the file format used when exporting data to Amazon S3.
analyticsS3BucketDestination_bucket :: Lens' AnalyticsS3BucketDestination BucketName Source #
The Amazon Resource Name (ARN) of the bucket to which data is exported.
Bucket
In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is globally unique, and the namespace is shared by all Amazon Web Services accounts.
See: newBucket smart constructor.
Constructors
| Bucket' | |
Fields
| |
Instances
| FromXML Bucket Source # | |
| Generic Bucket Source # | |
| Read Bucket Source # | |
| Show Bucket Source # | |
| NFData Bucket Source # | |
Defined in Amazonka.S3.Types.Bucket | |
| Eq Bucket Source # | |
| Hashable Bucket Source # | |
Defined in Amazonka.S3.Types.Bucket | |
| type Rep Bucket Source # | |
Defined in Amazonka.S3.Types.Bucket type Rep Bucket = D1 ('MetaData "Bucket" "Amazonka.S3.Types.Bucket" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Bucket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BucketName))) | |
Arguments
| :: UTCTime | |
| -> BucketName | |
| -> Bucket |
Create a value of Bucket with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationDate:Bucket', bucket_creationDate - Date the bucket was created. This date can change when making changes to
your bucket, such as editing its bucket policy.
$sel:name:Bucket', bucket_name - The name of the bucket.
bucket_creationDate :: Lens' Bucket UTCTime Source #
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
bucket_name :: Lens' Bucket BucketName Source #
The name of the bucket.
BucketLifecycleConfiguration
data BucketLifecycleConfiguration Source #
Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see Object Lifecycle Management in the Amazon S3 User Guide.
See: newBucketLifecycleConfiguration smart constructor.
Constructors
| BucketLifecycleConfiguration' | |
Fields
| |
Instances
newBucketLifecycleConfiguration :: BucketLifecycleConfiguration Source #
Create a value of BucketLifecycleConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rules:BucketLifecycleConfiguration', bucketLifecycleConfiguration_rules - A lifecycle rule for individual objects in an Amazon S3 bucket.
bucketLifecycleConfiguration_rules :: Lens' BucketLifecycleConfiguration [LifecycleRule] Source #
A lifecycle rule for individual objects in an Amazon S3 bucket.
BucketLoggingStatus
data BucketLoggingStatus Source #
Container for logging status information.
See: newBucketLoggingStatus smart constructor.
Constructors
| BucketLoggingStatus' | |
Fields | |
Instances
newBucketLoggingStatus :: BucketLoggingStatus Source #
Create a value of BucketLoggingStatus with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:loggingEnabled:BucketLoggingStatus', bucketLoggingStatus_loggingEnabled - Undocumented member.
bucketLoggingStatus_loggingEnabled :: Lens' BucketLoggingStatus (Maybe LoggingEnabled) Source #
Undocumented member.
CORSConfiguration
data CORSConfiguration Source #
Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.
See: newCORSConfiguration smart constructor.
Constructors
| CORSConfiguration' | |
Instances
newCORSConfiguration :: CORSConfiguration Source #
Create a value of CORSConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cORSRules:CORSConfiguration', cORSConfiguration_cORSRules - A set of origins and methods (cross-origin access that you want to
allow). You can add up to 100 rules to the configuration.
cORSConfiguration_cORSRules :: Lens' CORSConfiguration [CORSRule] Source #
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
CORSRule
Specifies a cross-origin access rule for an Amazon S3 bucket.
See: newCORSRule smart constructor.
Constructors
| CORSRule' | |
Fields
| |
Instances
newCORSRule :: CORSRule Source #
Create a value of CORSRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedHeaders:CORSRule', cORSRule_allowedHeaders - Headers that are specified in the Access-Control-Request-Headers
header. These headers are allowed in a preflight OPTIONS request. In
response to any preflight OPTIONS request, Amazon S3 returns any
requested headers that are allowed.
$sel:exposeHeaders:CORSRule', cORSRule_exposeHeaders - One or more headers in the response that you want customers to be able
to access from their applications (for example, from a JavaScript
XMLHttpRequest object).
$sel:id:CORSRule', cORSRule_id - Unique identifier for the rule. The value cannot be longer than 255
characters.
$sel:maxAgeSeconds:CORSRule', cORSRule_maxAgeSeconds - The time in seconds that your browser is to cache the preflight response
for the specified resource.
$sel:allowedMethods:CORSRule', cORSRule_allowedMethods - An HTTP method that you allow the origin to execute. Valid values are
GET, PUT, HEAD, POST, and DELETE.
$sel:allowedOrigins:CORSRule', cORSRule_allowedOrigins - One or more origins you want customers to be able to access the bucket
from.
cORSRule_allowedHeaders :: Lens' CORSRule (Maybe [Text]) Source #
Headers that are specified in the Access-Control-Request-Headers
header. These headers are allowed in a preflight OPTIONS request. In
response to any preflight OPTIONS request, Amazon S3 returns any
requested headers that are allowed.
cORSRule_exposeHeaders :: Lens' CORSRule (Maybe [Text]) Source #
One or more headers in the response that you want customers to be able
to access from their applications (for example, from a JavaScript
XMLHttpRequest object).
cORSRule_id :: Lens' CORSRule (Maybe Text) Source #
Unique identifier for the rule. The value cannot be longer than 255 characters.
cORSRule_maxAgeSeconds :: Lens' CORSRule (Maybe Int) Source #
The time in seconds that your browser is to cache the preflight response for the specified resource.
cORSRule_allowedMethods :: Lens' CORSRule [Text] Source #
An HTTP method that you allow the origin to execute. Valid values are
GET, PUT, HEAD, POST, and DELETE.
cORSRule_allowedOrigins :: Lens' CORSRule [Text] Source #
One or more origins you want customers to be able to access the bucket from.
CSVInput
Describes how an uncompressed comma-separated values (CSV)-formatted input object is formatted.
See: newCSVInput smart constructor.
Constructors
| CSVInput' | |
Fields
| |
Instances
newCSVInput :: CSVInput Source #
Create a value of CSVInput with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowQuotedRecordDelimiter:CSVInput', cSVInput_allowQuotedRecordDelimiter - Specifies that CSV field values may contain quoted record delimiters and
such records should be allowed. Default value is FALSE. Setting this
value to TRUE may lower performance.
$sel:comments:CSVInput', cSVInput_comments - A single character used to indicate that a row should be ignored when
the character is present at the start of that row. You can specify any
character to indicate a comment line.
$sel:fieldDelimiter:CSVInput', cSVInput_fieldDelimiter - A single character used to separate individual fields in a record. You
can specify an arbitrary delimiter.
$sel:fileHeaderInfo:CSVInput', cSVInput_fileHeaderInfo - Describes the first line of input. Valid values are:
NONE: First line is not a header.IGNORE: First line is a header, but you can't use the header values to indicate the column in an expression. You can use column position (such as _1, _2, …) to indicate the column (SELECT s._1 FROM OBJECT s).Use: First line is a header, and you can use the header value to identify a column in an expression (SELECT "name" FROM OBJECT).
$sel:quoteCharacter:CSVInput', cSVInput_quoteCharacter - A single character used for escaping when the field delimiter is part of
the value. For example, if the value is a, b, Amazon S3 wraps this
field value in quotation marks, as follows: " a , b ".
Type: String
Default: "
Ancestors: CSV
$sel:quoteEscapeCharacter:CSVInput', cSVInput_quoteEscapeCharacter - A single character used for escaping the quotation mark character inside
an already escaped value. For example, the value """ a , b """
is parsed as " a , b ".
$sel:recordDelimiter:CSVInput', cSVInput_recordDelimiter - A single character used to separate individual records in the input.
Instead of the default value, you can specify an arbitrary delimiter.
cSVInput_allowQuotedRecordDelimiter :: Lens' CSVInput (Maybe Bool) Source #
Specifies that CSV field values may contain quoted record delimiters and such records should be allowed. Default value is FALSE. Setting this value to TRUE may lower performance.
cSVInput_comments :: Lens' CSVInput (Maybe Text) Source #
A single character used to indicate that a row should be ignored when the character is present at the start of that row. You can specify any character to indicate a comment line.
cSVInput_fieldDelimiter :: Lens' CSVInput (Maybe Text) Source #
A single character used to separate individual fields in a record. You can specify an arbitrary delimiter.
cSVInput_fileHeaderInfo :: Lens' CSVInput (Maybe FileHeaderInfo) Source #
Describes the first line of input. Valid values are:
NONE: First line is not a header.IGNORE: First line is a header, but you can't use the header values to indicate the column in an expression. You can use column position (such as _1, _2, …) to indicate the column (SELECT s._1 FROM OBJECT s).Use: First line is a header, and you can use the header value to identify a column in an expression (SELECT "name" FROM OBJECT).
cSVInput_quoteCharacter :: Lens' CSVInput (Maybe Text) Source #
A single character used for escaping when the field delimiter is part of
the value. For example, if the value is a, b, Amazon S3 wraps this
field value in quotation marks, as follows: " a , b ".
Type: String
Default: "
Ancestors: CSV
cSVInput_quoteEscapeCharacter :: Lens' CSVInput (Maybe Text) Source #
A single character used for escaping the quotation mark character inside
an already escaped value. For example, the value """ a , b """
is parsed as " a , b ".
cSVInput_recordDelimiter :: Lens' CSVInput (Maybe Text) Source #
A single character used to separate individual records in the input. Instead of the default value, you can specify an arbitrary delimiter.
CSVOutput
Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.
See: newCSVOutput smart constructor.
Constructors
| CSVOutput' | |
Fields
| |
Instances
newCSVOutput :: CSVOutput Source #
Create a value of CSVOutput with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fieldDelimiter:CSVOutput', cSVOutput_fieldDelimiter - The value used to separate individual fields in a record. You can
specify an arbitrary delimiter.
$sel:quoteCharacter:CSVOutput', cSVOutput_quoteCharacter - A single character used for escaping when the field delimiter is part of
the value. For example, if the value is a, b, Amazon S3 wraps this
field value in quotation marks, as follows: " a , b ".
$sel:quoteEscapeCharacter:CSVOutput', cSVOutput_quoteEscapeCharacter - The single character used for escaping the quote character inside an
already escaped value.
$sel:quoteFields:CSVOutput', cSVOutput_quoteFields - Indicates whether to use quotation marks around output fields.
ALWAYS: Always use quotation marks for output fields.ASNEEDED: Use quotation marks for output fields when needed.
$sel:recordDelimiter:CSVOutput', cSVOutput_recordDelimiter - A single character used to separate individual records in the output.
Instead of the default value, you can specify an arbitrary delimiter.
cSVOutput_fieldDelimiter :: Lens' CSVOutput (Maybe Text) Source #
The value used to separate individual fields in a record. You can specify an arbitrary delimiter.
cSVOutput_quoteCharacter :: Lens' CSVOutput (Maybe Text) Source #
A single character used for escaping when the field delimiter is part of
the value. For example, if the value is a, b, Amazon S3 wraps this
field value in quotation marks, as follows: " a , b ".
cSVOutput_quoteEscapeCharacter :: Lens' CSVOutput (Maybe Text) Source #
The single character used for escaping the quote character inside an already escaped value.
cSVOutput_quoteFields :: Lens' CSVOutput (Maybe QuoteFields) Source #
Indicates whether to use quotation marks around output fields.
ALWAYS: Always use quotation marks for output fields.ASNEEDED: Use quotation marks for output fields when needed.
cSVOutput_recordDelimiter :: Lens' CSVOutput (Maybe Text) Source #
A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.
Checksum
Contains all the possible checksum or digest values for an object.
See: newChecksum smart constructor.
Constructors
| Checksum' | |
Fields
| |
Instances
| FromXML Checksum Source # | |
| Generic Checksum Source # | |
| Read Checksum Source # | |
| Show Checksum Source # | |
| NFData Checksum Source # | |
Defined in Amazonka.S3.Types.Checksum | |
| Eq Checksum Source # | |
| Hashable Checksum Source # | |
Defined in Amazonka.S3.Types.Checksum | |
| type Rep Checksum Source # | |
Defined in Amazonka.S3.Types.Checksum type Rep Checksum = D1 ('MetaData "Checksum" "Amazonka.S3.Types.Checksum" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Checksum'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "checksumCRC32") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "checksumCRC32C") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "checksumSHA1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "checksumSHA256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |
newChecksum :: Checksum Source #
Create a value of Checksum with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumCRC32:Checksum', checksum_checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumCRC32C:Checksum', checksum_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA1:Checksum', checksum_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA256:Checksum', checksum_checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
checksum_checksumCRC32 :: Lens' Checksum (Maybe Text) Source #
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_checksumCRC32C :: Lens' Checksum (Maybe Text) Source #
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_checksumSHA1 :: Lens' Checksum (Maybe Text) Source #
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_checksumSHA256 :: Lens' Checksum (Maybe Text) Source #
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
CommonPrefix
data CommonPrefix Source #
Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.
See: newCommonPrefix smart constructor.
Constructors
| CommonPrefix' | |
Instances
newCommonPrefix :: CommonPrefix Source #
Create a value of CommonPrefix with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:CommonPrefix', commonPrefix_prefix - Container for the specified common prefix.
commonPrefix_prefix :: Lens' CommonPrefix (Maybe Text) Source #
Container for the specified common prefix.
CompletedMultipartUpload
data CompletedMultipartUpload Source #
The container for the completed multipart upload details.
See: newCompletedMultipartUpload smart constructor.
Constructors
| CompletedMultipartUpload' | |
Fields
| |
Instances
newCompletedMultipartUpload :: CompletedMultipartUpload Source #
Create a value of CompletedMultipartUpload with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:parts:CompletedMultipartUpload', completedMultipartUpload_parts - Array of CompletedPart data types.
If you do not supply a valid Part with your request, the service sends
back an HTTP 400 response.
completedMultipartUpload_parts :: Lens' CompletedMultipartUpload (Maybe (NonEmpty CompletedPart)) Source #
Array of CompletedPart data types.
If you do not supply a valid Part with your request, the service sends
back an HTTP 400 response.
CompletedPart
data CompletedPart Source #
Details of the parts that were uploaded.
See: newCompletedPart smart constructor.
Constructors
| CompletedPart' | |
Fields
| |
Instances
Create a value of CompletedPart with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumCRC32:CompletedPart', completedPart_checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumCRC32C:CompletedPart', completedPart_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA1:CompletedPart', completedPart_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA256:CompletedPart', completedPart_checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:partNumber:CompletedPart', completedPart_partNumber - Part number that identifies the part. This is a positive integer between
1 and 10,000.
$sel:eTag:CompletedPart', completedPart_eTag - Entity tag returned when the part was uploaded.
completedPart_checksumCRC32 :: Lens' CompletedPart (Maybe Text) Source #
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
completedPart_checksumCRC32C :: Lens' CompletedPart (Maybe Text) Source #
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
completedPart_checksumSHA1 :: Lens' CompletedPart (Maybe Text) Source #
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
completedPart_checksumSHA256 :: Lens' CompletedPart (Maybe Text) Source #
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
completedPart_partNumber :: Lens' CompletedPart Int Source #
Part number that identifies the part. This is a positive integer between 1 and 10,000.
completedPart_eTag :: Lens' CompletedPart ETag Source #
Entity tag returned when the part was uploaded.
Condition
A container for describing a condition that must be met for the
specified redirect to apply. For example, 1. If request is for pages in
the /docs folder, redirect to the /documents folder. 2. If request
results in HTTP error 4xx, redirect request to another host where you
might process the error.
See: newCondition smart constructor.
Constructors
| Condition' | |
Fields
| |
Instances
| FromXML Condition Source # | |
| ToXML Condition Source # | |
Defined in Amazonka.S3.Types.Condition | |
| Generic Condition Source # | |
| Read Condition Source # | |
| Show Condition Source # | |
| NFData Condition Source # | |
Defined in Amazonka.S3.Types.Condition | |
| Eq Condition Source # | |
| Hashable Condition Source # | |
Defined in Amazonka.S3.Types.Condition | |
| type Rep Condition Source # | |
Defined in Amazonka.S3.Types.Condition type Rep Condition = D1 ('MetaData "Condition" "Amazonka.S3.Types.Condition" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Condition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpErrorCodeReturnedEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyPrefixEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newCondition :: Condition Source #
Create a value of Condition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpErrorCodeReturnedEquals:Condition', condition_httpErrorCodeReturnedEquals - The HTTP error code when the redirect is applied. In the event of an
error, if the error code equals this value, then the specified redirect
is applied. Required when parent element Condition is specified and
sibling KeyPrefixEquals is not specified. If both are specified, then
both must be true for the redirect to be applied.
$sel:keyPrefixEquals:Condition', condition_keyPrefixEquals - The object key name prefix when the redirect is applied. For example, to
redirect requests for ExamplePage.html, the key prefix will be
ExamplePage.html. To redirect request for all pages with the prefix
docs/, the key prefix will be /docs, which identifies all objects
in the docs/ folder. Required when the parent element Condition is
specified and sibling HttpErrorCodeReturnedEquals is not specified. If
both conditions are specified, both must be true for the redirect to be
applied.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
condition_httpErrorCodeReturnedEquals :: Lens' Condition (Maybe Text) Source #
The HTTP error code when the redirect is applied. In the event of an
error, if the error code equals this value, then the specified redirect
is applied. Required when parent element Condition is specified and
sibling KeyPrefixEquals is not specified. If both are specified, then
both must be true for the redirect to be applied.
condition_keyPrefixEquals :: Lens' Condition (Maybe Text) Source #
The object key name prefix when the redirect is applied. For example, to
redirect requests for ExamplePage.html, the key prefix will be
ExamplePage.html. To redirect request for all pages with the prefix
docs/, the key prefix will be /docs, which identifies all objects
in the docs/ folder. Required when the parent element Condition is
specified and sibling HttpErrorCodeReturnedEquals is not specified. If
both conditions are specified, both must be true for the redirect to be
applied.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
ContinuationEvent
data ContinuationEvent Source #
See: newContinuationEvent smart constructor.
Constructors
| ContinuationEvent' | |
Instances
newContinuationEvent :: ContinuationEvent Source #
Create a value of ContinuationEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CopyObjectResult
data CopyObjectResult Source #
Container for all response elements.
See: newCopyObjectResult smart constructor.
Constructors
| CopyObjectResult' | |
Fields
| |
Instances
newCopyObjectResult :: CopyObjectResult Source #
Create a value of CopyObjectResult with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumCRC32:CopyObjectResult', copyObjectResult_checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumCRC32C:CopyObjectResult', copyObjectResult_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA1:CopyObjectResult', copyObjectResult_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA256:CopyObjectResult', copyObjectResult_checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:eTag:CopyObjectResult', copyObjectResult_eTag - Returns the ETag of the new object. The ETag reflects only changes to
the contents of an object, not its metadata.
$sel:lastModified:CopyObjectResult', copyObjectResult_lastModified - Creation date of the object.
copyObjectResult_checksumCRC32 :: Lens' CopyObjectResult (Maybe Text) Source #
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyObjectResult_checksumCRC32C :: Lens' CopyObjectResult (Maybe Text) Source #
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyObjectResult_checksumSHA1 :: Lens' CopyObjectResult (Maybe Text) Source #
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyObjectResult_checksumSHA256 :: Lens' CopyObjectResult (Maybe Text) Source #
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyObjectResult_eTag :: Lens' CopyObjectResult (Maybe ETag) Source #
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
copyObjectResult_lastModified :: Lens' CopyObjectResult (Maybe UTCTime) Source #
Creation date of the object.
CopyPartResult
data CopyPartResult Source #
Container for all response elements.
See: newCopyPartResult smart constructor.
Constructors
| CopyPartResult' | |
Fields
| |
Instances
newCopyPartResult :: CopyPartResult Source #
Create a value of CopyPartResult with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumCRC32:CopyPartResult', copyPartResult_checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumCRC32C:CopyPartResult', copyPartResult_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA1:CopyPartResult', copyPartResult_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA256:CopyPartResult', copyPartResult_checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:eTag:CopyPartResult', copyPartResult_eTag - Entity tag of the object.
$sel:lastModified:CopyPartResult', copyPartResult_lastModified - Date and time at which the object was uploaded.
copyPartResult_checksumCRC32 :: Lens' CopyPartResult (Maybe Text) Source #
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyPartResult_checksumCRC32C :: Lens' CopyPartResult (Maybe Text) Source #
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyPartResult_checksumSHA1 :: Lens' CopyPartResult (Maybe Text) Source #
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyPartResult_checksumSHA256 :: Lens' CopyPartResult (Maybe Text) Source #
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
copyPartResult_eTag :: Lens' CopyPartResult (Maybe ETag) Source #
Entity tag of the object.
copyPartResult_lastModified :: Lens' CopyPartResult (Maybe UTCTime) Source #
Date and time at which the object was uploaded.
CreateBucketConfiguration
data CreateBucketConfiguration Source #
The configuration information for the bucket.
See: newCreateBucketConfiguration smart constructor.
Constructors
| CreateBucketConfiguration' | |
Fields
| |
Instances
newCreateBucketConfiguration :: CreateBucketConfiguration Source #
Create a value of CreateBucketConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locationConstraint:CreateBucketConfiguration', createBucketConfiguration_locationConstraint - Specifies the Region where the bucket will be created. If you don't
specify a Region, the bucket is created in the US East (N. Virginia)
Region (us-east-1).
createBucketConfiguration_locationConstraint :: Lens' CreateBucketConfiguration (Maybe LocationConstraint) Source #
Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
DefaultRetention
data DefaultRetention Source #
The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.
- The
DefaultRetentionsettings require both a mode and a period. - The
DefaultRetentionperiod can be eitherDaysorYearsbut you must select one. You cannot specifyDaysandYearsat the same time.
See: newDefaultRetention smart constructor.
Constructors
| DefaultRetention' | |
Fields
| |
Instances
newDefaultRetention :: DefaultRetention Source #
Create a value of DefaultRetention with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:days:DefaultRetention', defaultRetention_days - The number of days that you want to specify for the default retention
period. Must be used with Mode.
$sel:mode:DefaultRetention', defaultRetention_mode - The default Object Lock retention mode you want to apply to new objects
placed in the specified bucket. Must be used with either Days or
Years.
$sel:years:DefaultRetention', defaultRetention_years - The number of years that you want to specify for the default retention
period. Must be used with Mode.
defaultRetention_days :: Lens' DefaultRetention (Maybe Int) Source #
The number of days that you want to specify for the default retention
period. Must be used with Mode.
defaultRetention_mode :: Lens' DefaultRetention (Maybe ObjectLockRetentionMode) Source #
The default Object Lock retention mode you want to apply to new objects
placed in the specified bucket. Must be used with either Days or
Years.
defaultRetention_years :: Lens' DefaultRetention (Maybe Int) Source #
The number of years that you want to specify for the default retention
period. Must be used with Mode.
Delete
Container for the objects to delete.
See: newDelete smart constructor.
Constructors
| Delete' | |
Fields
| |
Instances
| ToXML Delete Source # | |
Defined in Amazonka.S3.Types.Delete | |
| Generic Delete Source # | |
| Read Delete Source # | |
| Show Delete Source # | |
| NFData Delete Source # | |
Defined in Amazonka.S3.Types.Delete | |
| Eq Delete Source # | |
| Hashable Delete Source # | |
Defined in Amazonka.S3.Types.Delete | |
| type Rep Delete Source # | |
Defined in Amazonka.S3.Types.Delete type Rep Delete = D1 ('MetaData "Delete" "Amazonka.S3.Types.Delete" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Delete'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quiet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "objects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ObjectIdentifier]))) | |
Create a value of Delete with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quiet:Delete', delete_quiet - Element to enable quiet mode for the request. When you add this element,
you must set its value to true.
$sel:objects:Delete', delete_objects - The objects to delete.
delete_quiet :: Lens' Delete (Maybe Bool) Source #
Element to enable quiet mode for the request. When you add this element, you must set its value to true.
delete_objects :: Lens' Delete [ObjectIdentifier] Source #
The objects to delete.
DeleteMarkerEntry
data DeleteMarkerEntry Source #
Information about the delete marker.
See: newDeleteMarkerEntry smart constructor.
Constructors
| DeleteMarkerEntry' | |
Fields
| |
Instances
newDeleteMarkerEntry :: DeleteMarkerEntry Source #
Create a value of DeleteMarkerEntry with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:isLatest:DeleteMarkerEntry', deleteMarkerEntry_isLatest - Specifies whether the object is (true) or is not (false) the latest
version of an object.
$sel:key:DeleteMarkerEntry', deleteMarkerEntry_key - The object key.
$sel:lastModified:DeleteMarkerEntry', deleteMarkerEntry_lastModified - Date and time the object was last modified.
$sel:owner:DeleteMarkerEntry', deleteMarkerEntry_owner - The account that created the delete marker.>
$sel:versionId:DeleteMarkerEntry', deleteMarkerEntry_versionId - Version ID of an object.
deleteMarkerEntry_isLatest :: Lens' DeleteMarkerEntry (Maybe Bool) Source #
Specifies whether the object is (true) or is not (false) the latest version of an object.
deleteMarkerEntry_key :: Lens' DeleteMarkerEntry (Maybe ObjectKey) Source #
The object key.
deleteMarkerEntry_lastModified :: Lens' DeleteMarkerEntry (Maybe UTCTime) Source #
Date and time the object was last modified.
deleteMarkerEntry_owner :: Lens' DeleteMarkerEntry (Maybe Owner) Source #
The account that created the delete marker.>
deleteMarkerEntry_versionId :: Lens' DeleteMarkerEntry (Maybe ObjectVersionId) Source #
Version ID of an object.
DeleteMarkerReplication
data DeleteMarkerReplication Source #
Specifies whether Amazon S3 replicates delete markers. If you specify a
Filter in your replication configuration, you must also include a
DeleteMarkerReplication element. If your Filter includes a Tag
element, the DeleteMarkerReplication Status must be set to Disabled,
because Amazon S3 does not support replicating delete markers for
tag-based rules. For an example configuration, see
Basic Rule Configuration.
For more information about delete marker replication, see Basic Rule Configuration.
If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see Backward Compatibility.
See: newDeleteMarkerReplication smart constructor.
Constructors
| DeleteMarkerReplication' | |
Fields
| |
Instances
newDeleteMarkerReplication :: DeleteMarkerReplication Source #
Create a value of DeleteMarkerReplication with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:DeleteMarkerReplication', deleteMarkerReplication_status - Indicates whether to replicate delete markers.
Indicates whether to replicate delete markers.
deleteMarkerReplication_status :: Lens' DeleteMarkerReplication (Maybe DeleteMarkerReplicationStatus) Source #
Indicates whether to replicate delete markers.
Indicates whether to replicate delete markers.
DeletedObject
data DeletedObject Source #
Information about the deleted object.
See: newDeletedObject smart constructor.
Constructors
| DeletedObject' | |
Fields
| |
Instances
newDeletedObject :: DeletedObject Source #
Create a value of DeletedObject with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deleteMarker:DeletedObject', deletedObject_deleteMarker - Specifies whether the versioned object that was permanently deleted was
(true) or was not (false) a delete marker. In a simple DELETE, this
header indicates whether (true) or not (false) a delete marker was
created.
$sel:deleteMarkerVersionId:DeletedObject', deletedObject_deleteMarkerVersionId - The version ID of the delete marker created as a result of the DELETE
operation. If you delete a specific object version, the value returned
by this header is the version ID of the object version deleted.
$sel:key:DeletedObject', deletedObject_key - The name of the deleted object.
$sel:versionId:DeletedObject', deletedObject_versionId - The version ID of the deleted object.
deletedObject_deleteMarker :: Lens' DeletedObject (Maybe Bool) Source #
Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.
deletedObject_deleteMarkerVersionId :: Lens' DeletedObject (Maybe Text) Source #
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
deletedObject_key :: Lens' DeletedObject (Maybe ObjectKey) Source #
The name of the deleted object.
deletedObject_versionId :: Lens' DeletedObject (Maybe ObjectVersionId) Source #
The version ID of the deleted object.
Destination
data Destination Source #
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
See: newDestination smart constructor.
Constructors
| Destination' | |
Fields
| |
Instances
Arguments
| :: BucketName | |
| -> Destination |
Create a value of Destination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessControlTranslation:Destination', destination_accessControlTranslation - Specify this only in a cross-account scenario (where source and
destination bucket owners are not the same), and you want to change
replica ownership to the Amazon Web Services account that owns the
destination bucket. If this is not specified in the replication
configuration, the replicas are owned by same Amazon Web Services
account that owns the source object.
$sel:account:Destination', destination_account - Destination bucket owner account ID. In a cross-account scenario, if you
direct Amazon S3 to change replica ownership to the Amazon Web Services
account that owns the destination bucket by specifying the
AccessControlTranslation property, this is the account ID of the
destination bucket owner. For more information, see
Replication Additional Configuration: Changing the Replica Owner
in the Amazon S3 User Guide.
$sel:encryptionConfiguration:Destination', destination_encryptionConfiguration - A container that provides information about encryption. If
SourceSelectionCriteria is specified, you must specify this element.
$sel:metrics:Destination', destination_metrics - A container specifying replication metrics-related settings enabling
replication metrics and events.
$sel:replicationTime:Destination', destination_replicationTime - A container specifying S3 Replication Time Control (S3 RTC), including
whether S3 RTC is enabled and the time when all objects and operations
on objects must be replicated. Must be specified together with a
Metrics block.
$sel:storageClass:Destination', destination_storageClass - The storage class to use when replicating objects, such as S3 Standard
or reduced redundancy. By default, Amazon S3 uses the storage class of
the source object to create the object replica.
For valid values, see the StorageClass element of the
PUT Bucket replication
action in the Amazon S3 API Reference.
$sel:bucket:Destination', destination_bucket - The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to
store the results.
destination_accessControlTranslation :: Lens' Destination (Maybe AccessControlTranslation) Source #
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
destination_account :: Lens' Destination (Maybe Text) Source #
Destination bucket owner account ID. In a cross-account scenario, if you
direct Amazon S3 to change replica ownership to the Amazon Web Services
account that owns the destination bucket by specifying the
AccessControlTranslation property, this is the account ID of the
destination bucket owner. For more information, see
Replication Additional Configuration: Changing the Replica Owner
in the Amazon S3 User Guide.
destination_encryptionConfiguration :: Lens' Destination (Maybe EncryptionConfiguration) Source #
A container that provides information about encryption. If
SourceSelectionCriteria is specified, you must specify this element.
destination_metrics :: Lens' Destination (Maybe Metrics) Source #
A container specifying replication metrics-related settings enabling replication metrics and events.
destination_replicationTime :: Lens' Destination (Maybe ReplicationTime) Source #
A container specifying S3 Replication Time Control (S3 RTC), including
whether S3 RTC is enabled and the time when all objects and operations
on objects must be replicated. Must be specified together with a
Metrics block.
destination_storageClass :: Lens' Destination (Maybe StorageClass) Source #
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass element of the
PUT Bucket replication
action in the Amazon S3 API Reference.
destination_bucket :: Lens' Destination BucketName Source #
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
Encryption
data Encryption Source #
Contains the type of server-side encryption used.
See: newEncryption smart constructor.
Constructors
| Encryption' | |
Fields
| |
Instances
Create a value of Encryption with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsContext:Encryption', encryption_kmsContext - If the encryption type is aws:kms, this optional value can be used to
specify the encryption context for the restore results.
$sel:kmsKeyId:Encryption', encryption_kmsKeyId - If the encryption type is aws:kms, this optional value specifies the
ID of the symmetric customer managed key to use for encryption of job
results. Amazon S3 only supports symmetric keys. For more information,
see
Using symmetric and asymmetric keys
in the Amazon Web Services Key Management Service Developer Guide.
$sel:encryptionType:Encryption', encryption_encryptionType - The server-side encryption algorithm used when storing job results in
Amazon S3 (for example, AES256, aws:kms).
encryption_kmsContext :: Lens' Encryption (Maybe Text) Source #
If the encryption type is aws:kms, this optional value can be used to
specify the encryption context for the restore results.
encryption_kmsKeyId :: Lens' Encryption (Maybe Text) Source #
If the encryption type is aws:kms, this optional value specifies the
ID of the symmetric customer managed key to use for encryption of job
results. Amazon S3 only supports symmetric keys. For more information,
see
Using symmetric and asymmetric keys
in the Amazon Web Services Key Management Service Developer Guide.
encryption_encryptionType :: Lens' Encryption ServerSideEncryption Source #
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
EncryptionConfiguration
data EncryptionConfiguration Source #
Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
See: newEncryptionConfiguration smart constructor.
Constructors
| EncryptionConfiguration' | |
Fields
| |
Instances
newEncryptionConfiguration :: EncryptionConfiguration Source #
Create a value of EncryptionConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:replicaKmsKeyID:EncryptionConfiguration', encryptionConfiguration_replicaKmsKeyID - Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon
Web Services KMS key stored in Amazon Web Services Key Management
Service (KMS) for the destination bucket. Amazon S3 uses this key to
encrypt replica objects. Amazon S3 only supports symmetric, customer
managed KMS keys. For more information, see
Using symmetric and asymmetric keys
in the Amazon Web Services Key Management Service Developer Guide.
encryptionConfiguration_replicaKmsKeyID :: Lens' EncryptionConfiguration (Maybe Text) Source #
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric, customer managed KMS keys. For more information, see Using symmetric and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
EndEvent
A message that indicates the request is complete and no more messages
will be sent. You should not assume that the request is complete until
the client receives an EndEvent.
See: newEndEvent smart constructor.
Constructors
| EndEvent' | |
newEndEvent :: EndEvent Source #
Create a value of EndEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ErrorDocument
data ErrorDocument Source #
The error information.
See: newErrorDocument smart constructor.
Constructors
| ErrorDocument' | |
Fields
| |
Instances
Arguments
| :: ObjectKey | |
| -> ErrorDocument |
Create a value of ErrorDocument with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:ErrorDocument', errorDocument_key - The object key name to use when a 4XX class error occurs.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
errorDocument_key :: Lens' ErrorDocument ObjectKey Source #
The object key name to use when a 4XX class error occurs.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
EventBridgeConfiguration
data EventBridgeConfiguration Source #
A container for specifying the configuration for Amazon EventBridge.
See: newEventBridgeConfiguration smart constructor.
Constructors
| EventBridgeConfiguration' | |
Instances
newEventBridgeConfiguration :: EventBridgeConfiguration Source #
Create a value of EventBridgeConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ExistingObjectReplication
data ExistingObjectReplication Source #
Optional configuration to replicate existing source bucket objects. For more information, see Replicating Existing Objects in the Amazon S3 User Guide.
See: newExistingObjectReplication smart constructor.
Constructors
| ExistingObjectReplication' | |
Fields | |
Instances
newExistingObjectReplication Source #
Arguments
| :: ExistingObjectReplicationStatus | |
| -> ExistingObjectReplication |
Create a value of ExistingObjectReplication with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ExistingObjectReplication', existingObjectReplication_status -
existingObjectReplication_status :: Lens' ExistingObjectReplication ExistingObjectReplicationStatus Source #
FilterRule
data FilterRule Source #
Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.
See: newFilterRule smart constructor.
Constructors
| FilterRule' | |
Fields
| |
Instances
newFilterRule :: FilterRule Source #
Create a value of FilterRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:FilterRule', filterRule_name - The object key name prefix or suffix identifying one or more objects to
which the filtering rule applies. The maximum length is 1,024
characters. Overlapping prefixes and suffixes are not supported. For
more information, see
Configuring Event Notifications
in the Amazon S3 User Guide.
$sel:value:FilterRule', filterRule_value - The value that the filter searches for in object key names.
filterRule_name :: Lens' FilterRule (Maybe FilterRuleName) Source #
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.
filterRule_value :: Lens' FilterRule (Maybe Text) Source #
The value that the filter searches for in object key names.
GetObjectAttributesParts
data GetObjectAttributesParts Source #
A collection of parts associated with a multipart upload.
See: newGetObjectAttributesParts smart constructor.
Constructors
| GetObjectAttributesParts' | |
Fields
| |
Instances
newGetObjectAttributesParts :: GetObjectAttributesParts Source #
Create a value of GetObjectAttributesParts with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:isTruncated:GetObjectAttributesParts', getObjectAttributesParts_isTruncated - Indicates whether the returned list of parts is truncated. A value of
true indicates that the list was truncated. A list can be truncated if
the number of parts exceeds the limit returned in the MaxParts
element.
$sel:maxParts:GetObjectAttributesParts', getObjectAttributesParts_maxParts - The maximum number of parts allowed in the response.
$sel:nextPartNumberMarker:GetObjectAttributesParts', getObjectAttributesParts_nextPartNumberMarker - When a list is truncated, this element specifies the last part in the
list, as well as the value to use for the PartNumberMarker request
parameter in a subsequent request.
$sel:partNumberMarker:GetObjectAttributesParts', getObjectAttributesParts_partNumberMarker - The marker for the current part.
$sel:parts:GetObjectAttributesParts', getObjectAttributesParts_parts - A container for elements related to a particular part. A response can
contain zero or more Parts elements.
$sel:totalPartsCount:GetObjectAttributesParts', getObjectAttributesParts_totalPartsCount - The total number of parts.
getObjectAttributesParts_isTruncated :: Lens' GetObjectAttributesParts (Maybe Bool) Source #
Indicates whether the returned list of parts is truncated. A value of
true indicates that the list was truncated. A list can be truncated if
the number of parts exceeds the limit returned in the MaxParts
element.
getObjectAttributesParts_maxParts :: Lens' GetObjectAttributesParts (Maybe Int) Source #
The maximum number of parts allowed in the response.
getObjectAttributesParts_nextPartNumberMarker :: Lens' GetObjectAttributesParts (Maybe Int) Source #
When a list is truncated, this element specifies the last part in the
list, as well as the value to use for the PartNumberMarker request
parameter in a subsequent request.
getObjectAttributesParts_partNumberMarker :: Lens' GetObjectAttributesParts (Maybe Int) Source #
The marker for the current part.
getObjectAttributesParts_parts :: Lens' GetObjectAttributesParts (Maybe [ObjectPart]) Source #
A container for elements related to a particular part. A response can
contain zero or more Parts elements.
getObjectAttributesParts_totalPartsCount :: Lens' GetObjectAttributesParts (Maybe Int) Source #
The total number of parts.
GlacierJobParameters
data GlacierJobParameters Source #
Container for S3 Glacier job parameters.
See: newGlacierJobParameters smart constructor.
Constructors
| GlacierJobParameters' | |
Instances
newGlacierJobParameters Source #
Arguments
| :: Tier | |
| -> GlacierJobParameters |
Create a value of GlacierJobParameters with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tier:GlacierJobParameters', glacierJobParameters_tier - Retrieval tier at which the restore will be processed.
glacierJobParameters_tier :: Lens' GlacierJobParameters Tier Source #
Retrieval tier at which the restore will be processed.
Grant
Container for grant information.
See: newGrant smart constructor.
Constructors
| Grant' | |
Fields
| |
Instances
| FromXML Grant Source # | |
| ToXML Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
| Generic Grant Source # | |
| Read Grant Source # | |
| Show Grant Source # | |
| NFData Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
| Eq Grant Source # | |
| Hashable Grant Source # | |
Defined in Amazonka.S3.Types.Grant | |
| type Rep Grant Source # | |
Defined in Amazonka.S3.Types.Grant type Rep Grant = D1 ('MetaData "Grant" "Amazonka.S3.Types.Grant" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Grant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Grantee)) :*: S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Permission)))) | |
Create a value of Grant with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:grantee:Grant', grant_grantee - The person being granted permissions.
$sel:permission:Grant', grant_permission - Specifies the permission given to the grantee.
grant_permission :: Lens' Grant (Maybe Permission) Source #
Specifies the permission given to the grantee.
Grantee
Container for the person being granted permissions.
See: newGrantee smart constructor.
Constructors
| Grantee' | |
Fields
| |
Instances
Create a value of Grantee with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:displayName:Grantee', grantee_displayName - Screen name of the grantee.
$sel:emailAddress:Grantee', grantee_emailAddress - Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
- US East (N. Virginia)
- US West (N. California)
- US West (Oregon)
- Asia Pacific (Singapore)
- Asia Pacific (Sydney)
- Asia Pacific (Tokyo)
- Europe (Ireland)
- South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
$sel:id:Grantee', grantee_id - The canonical user ID of the grantee.
$sel:uri:Grantee', grantee_uri - URI of the grantee group.
$sel:type':Grantee', grantee_type - Type of grantee
grantee_emailAddress :: Lens' Grantee (Maybe Text) Source #
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
- US East (N. Virginia)
- US West (N. California)
- US West (Oregon)
- Asia Pacific (Singapore)
- Asia Pacific (Sydney)
- Asia Pacific (Tokyo)
- Europe (Ireland)
- South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
IndexDocument
data IndexDocument Source #
Container for the Suffix element.
See: newIndexDocument smart constructor.
Constructors
| IndexDocument' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> IndexDocument |
Create a value of IndexDocument with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:suffix:IndexDocument', indexDocument_suffix - A suffix that is appended to a request that is for a directory on the
website endpoint (for example,if the suffix is index.html and you make a
request to samplebucket/images/ the data that is returned will be for
the object with the key name images/index.html) The suffix must not be
empty and must not include a slash character.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
indexDocument_suffix :: Lens' IndexDocument Text Source #
A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
Initiator
Container element that identifies who initiated the multipart upload.
See: newInitiator smart constructor.
Constructors
| Initiator' | |
Instances
| FromXML Initiator Source # | |
| Generic Initiator Source # | |
| Read Initiator Source # | |
| Show Initiator Source # | |
| NFData Initiator Source # | |
Defined in Amazonka.S3.Types.Initiator | |
| Eq Initiator Source # | |
| Hashable Initiator Source # | |
Defined in Amazonka.S3.Types.Initiator | |
| type Rep Initiator Source # | |
Defined in Amazonka.S3.Types.Initiator type Rep Initiator = D1 ('MetaData "Initiator" "Amazonka.S3.Types.Initiator" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Initiator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newInitiator :: Initiator Source #
Create a value of Initiator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:displayName:Initiator', initiator_displayName - Name of the Principal.
$sel:id:Initiator', initiator_id - If the principal is an Amazon Web Services account, it provides the
Canonical User ID. If the principal is an IAM User, it provides a user
ARN value.
initiator_id :: Lens' Initiator (Maybe Text) Source #
If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.
InputSerialization
data InputSerialization Source #
Describes the serialization format of the object.
See: newInputSerialization smart constructor.
Constructors
| InputSerialization' | |
Fields
| |
Instances
newInputSerialization :: InputSerialization Source #
Create a value of InputSerialization with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:csv:InputSerialization', inputSerialization_csv - Describes the serialization of a CSV-encoded object.
$sel:compressionType:InputSerialization', inputSerialization_compressionType - Specifies object's compression format. Valid values: NONE, GZIP, BZIP2.
Default Value: NONE.
$sel:json:InputSerialization', inputSerialization_json - Specifies JSON as object's input serialization format.
$sel:parquet:InputSerialization', inputSerialization_parquet - Specifies Parquet as object's input serialization format.
inputSerialization_csv :: Lens' InputSerialization (Maybe CSVInput) Source #
Describes the serialization of a CSV-encoded object.
inputSerialization_compressionType :: Lens' InputSerialization (Maybe CompressionType) Source #
Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.
inputSerialization_json :: Lens' InputSerialization (Maybe JSONInput) Source #
Specifies JSON as object's input serialization format.
inputSerialization_parquet :: Lens' InputSerialization (Maybe ParquetInput) Source #
Specifies Parquet as object's input serialization format.
IntelligentTieringAndOperator
data IntelligentTieringAndOperator Source #
A container for specifying S3 Intelligent-Tiering filters. The filters determine the subset of objects to which the rule applies.
See: newIntelligentTieringAndOperator smart constructor.
Constructors
| IntelligentTieringAndOperator' | |
Instances
newIntelligentTieringAndOperator :: IntelligentTieringAndOperator Source #
Create a value of IntelligentTieringAndOperator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:IntelligentTieringAndOperator', intelligentTieringAndOperator_prefix - An object key name prefix that identifies the subset of objects to which
the configuration applies.
$sel:tags:IntelligentTieringAndOperator', intelligentTieringAndOperator_tags - All of these tags must exist in the object's tag set in order for the
configuration to apply.
intelligentTieringAndOperator_prefix :: Lens' IntelligentTieringAndOperator (Maybe Text) Source #
An object key name prefix that identifies the subset of objects to which the configuration applies.
intelligentTieringAndOperator_tags :: Lens' IntelligentTieringAndOperator (Maybe [Tag]) Source #
All of these tags must exist in the object's tag set in order for the configuration to apply.
IntelligentTieringConfiguration
data IntelligentTieringConfiguration Source #
Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
For information about the S3 Intelligent-Tiering storage class, see Storage class for automatically optimizing frequently and infrequently accessed objects.
See: newIntelligentTieringConfiguration smart constructor.
Constructors
| IntelligentTieringConfiguration' | |
Fields
| |
Instances
newIntelligentTieringConfiguration Source #
Arguments
| :: Text | |
| -> IntelligentTieringStatus | |
| -> IntelligentTieringConfiguration |
Create a value of IntelligentTieringConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':IntelligentTieringConfiguration', intelligentTieringConfiguration_filter - Specifies a bucket filter. The configuration only includes objects that
meet the filter's criteria.
$sel:id:IntelligentTieringConfiguration', intelligentTieringConfiguration_id - The ID used to identify the S3 Intelligent-Tiering configuration.
$sel:status:IntelligentTieringConfiguration', intelligentTieringConfiguration_status - Specifies the status of the configuration.
$sel:tierings:IntelligentTieringConfiguration', intelligentTieringConfiguration_tierings - Specifies the S3 Intelligent-Tiering storage class tier of the
configuration.
intelligentTieringConfiguration_filter :: Lens' IntelligentTieringConfiguration (Maybe IntelligentTieringFilter) Source #
Specifies a bucket filter. The configuration only includes objects that meet the filter's criteria.
intelligentTieringConfiguration_id :: Lens' IntelligentTieringConfiguration Text Source #
The ID used to identify the S3 Intelligent-Tiering configuration.
intelligentTieringConfiguration_status :: Lens' IntelligentTieringConfiguration IntelligentTieringStatus Source #
Specifies the status of the configuration.
intelligentTieringConfiguration_tierings :: Lens' IntelligentTieringConfiguration [Tiering] Source #
Specifies the S3 Intelligent-Tiering storage class tier of the configuration.
IntelligentTieringFilter
data IntelligentTieringFilter Source #
The Filter is used to identify objects that the S3 Intelligent-Tiering
configuration applies to.
See: newIntelligentTieringFilter smart constructor.
Constructors
| IntelligentTieringFilter' | |
Fields
| |
Instances
newIntelligentTieringFilter :: IntelligentTieringFilter Source #
Create a value of IntelligentTieringFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:and:IntelligentTieringFilter', intelligentTieringFilter_and - A conjunction (logical AND) of predicates, which is used in evaluating a
metrics filter. The operator must have at least two predicates, and an
object must match all of the predicates in order for the filter to
apply.
IntelligentTieringFilter, intelligentTieringFilter_prefix - An object key name prefix that identifies the subset of objects to which
the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:tag:IntelligentTieringFilter', intelligentTieringFilter_tag - Undocumented member.
intelligentTieringFilter_and :: Lens' IntelligentTieringFilter (Maybe IntelligentTieringAndOperator) Source #
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
intelligentTieringFilter_prefix :: Lens' IntelligentTieringFilter (Maybe Text) Source #
An object key name prefix that identifies the subset of objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
intelligentTieringFilter_tag :: Lens' IntelligentTieringFilter (Maybe Tag) Source #
Undocumented member.
InventoryConfiguration
data InventoryConfiguration Source #
Specifies the inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.
See: newInventoryConfiguration smart constructor.
Constructors
| InventoryConfiguration' | |
Fields
| |
Instances
newInventoryConfiguration Source #
Arguments
| :: InventoryDestination | |
| -> Bool | |
| -> Text | |
| -> InventoryIncludedObjectVersions | |
| -> InventorySchedule | |
| -> InventoryConfiguration |
Create a value of InventoryConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':InventoryConfiguration', inventoryConfiguration_filter - Specifies an inventory filter. The inventory only includes objects that
meet the filter's criteria.
$sel:optionalFields:InventoryConfiguration', inventoryConfiguration_optionalFields - Contains the optional fields that are included in the inventory results.
$sel:destination:InventoryConfiguration', inventoryConfiguration_destination - Contains information about where to publish the inventory results.
$sel:isEnabled:InventoryConfiguration', inventoryConfiguration_isEnabled - Specifies whether the inventory is enabled or disabled. If set to
True, an inventory list is generated. If set to False, no inventory
list is generated.
$sel:id:InventoryConfiguration', inventoryConfiguration_id - The ID used to identify the inventory configuration.
$sel:includedObjectVersions:InventoryConfiguration', inventoryConfiguration_includedObjectVersions - Object versions to include in the inventory list. If set to All, the
list includes all the object versions, which adds the version-related
fields VersionId, IsLatest, and DeleteMarker to the list. If set
to Current, the list does not contain these version-related fields.
$sel:schedule:InventoryConfiguration', inventoryConfiguration_schedule - Specifies the schedule for generating inventory results.
inventoryConfiguration_filter :: Lens' InventoryConfiguration (Maybe InventoryFilter) Source #
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
inventoryConfiguration_optionalFields :: Lens' InventoryConfiguration (Maybe [InventoryOptionalField]) Source #
Contains the optional fields that are included in the inventory results.
inventoryConfiguration_destination :: Lens' InventoryConfiguration InventoryDestination Source #
Contains information about where to publish the inventory results.
inventoryConfiguration_isEnabled :: Lens' InventoryConfiguration Bool Source #
Specifies whether the inventory is enabled or disabled. If set to
True, an inventory list is generated. If set to False, no inventory
list is generated.
inventoryConfiguration_id :: Lens' InventoryConfiguration Text Source #
The ID used to identify the inventory configuration.
inventoryConfiguration_includedObjectVersions :: Lens' InventoryConfiguration InventoryIncludedObjectVersions Source #
Object versions to include in the inventory list. If set to All, the
list includes all the object versions, which adds the version-related
fields VersionId, IsLatest, and DeleteMarker to the list. If set
to Current, the list does not contain these version-related fields.
inventoryConfiguration_schedule :: Lens' InventoryConfiguration InventorySchedule Source #
Specifies the schedule for generating inventory results.
InventoryDestination
data InventoryDestination Source #
Specifies the inventory configuration for an Amazon S3 bucket.
See: newInventoryDestination smart constructor.
Constructors
| InventoryDestination' | |
Fields
| |
Instances
newInventoryDestination Source #
Arguments
| :: InventoryS3BucketDestination | |
| -> InventoryDestination |
Create a value of InventoryDestination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3BucketDestination:InventoryDestination', inventoryDestination_s3BucketDestination - Contains the bucket name, file format, bucket owner (optional), and
prefix (optional) where inventory results are published.
inventoryDestination_s3BucketDestination :: Lens' InventoryDestination InventoryS3BucketDestination Source #
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
InventoryEncryption
data InventoryEncryption Source #
Contains the type of server-side encryption used to encrypt the inventory results.
See: newInventoryEncryption smart constructor.
Constructors
| InventoryEncryption' | |
Instances
newInventoryEncryption :: InventoryEncryption Source #
Create a value of InventoryEncryption with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ssekms:InventoryEncryption', inventoryEncryption_ssekms - Specifies the use of SSE-KMS to encrypt delivered inventory reports.
$sel:sses3:InventoryEncryption', inventoryEncryption_sses3 - Specifies the use of SSE-S3 to encrypt delivered inventory reports.
inventoryEncryption_ssekms :: Lens' InventoryEncryption (Maybe SSEKMS) Source #
Specifies the use of SSE-KMS to encrypt delivered inventory reports.
inventoryEncryption_sses3 :: Lens' InventoryEncryption (Maybe SSES3) Source #
Specifies the use of SSE-S3 to encrypt delivered inventory reports.
InventoryFilter
data InventoryFilter Source #
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
See: newInventoryFilter smart constructor.
Constructors
| InventoryFilter' | |
Instances
Arguments
| :: Text | |
| -> InventoryFilter |
Create a value of InventoryFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:InventoryFilter', inventoryFilter_prefix - The prefix that an object must have to be included in the inventory
results.
inventoryFilter_prefix :: Lens' InventoryFilter Text Source #
The prefix that an object must have to be included in the inventory results.
InventoryS3BucketDestination
data InventoryS3BucketDestination Source #
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
See: newInventoryS3BucketDestination smart constructor.
Constructors
| InventoryS3BucketDestination' | |
Fields
| |
Instances
newInventoryS3BucketDestination Source #
Arguments
| :: BucketName | |
| -> InventoryFormat | |
| -> InventoryS3BucketDestination |
Create a value of InventoryS3BucketDestination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:InventoryS3BucketDestination', inventoryS3BucketDestination_accountId - The account ID that owns the destination S3 bucket. If no account ID is
provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
$sel:encryption:InventoryS3BucketDestination', inventoryS3BucketDestination_encryption - Contains the type of server-side encryption used to encrypt the
inventory results.
$sel:prefix:InventoryS3BucketDestination', inventoryS3BucketDestination_prefix - The prefix that is prepended to all inventory results.
$sel:bucket:InventoryS3BucketDestination', inventoryS3BucketDestination_bucket - The Amazon Resource Name (ARN) of the bucket where inventory results
will be published.
$sel:format:InventoryS3BucketDestination', inventoryS3BucketDestination_format - Specifies the output format of the inventory results.
inventoryS3BucketDestination_accountId :: Lens' InventoryS3BucketDestination (Maybe Text) Source #
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
inventoryS3BucketDestination_encryption :: Lens' InventoryS3BucketDestination (Maybe InventoryEncryption) Source #
Contains the type of server-side encryption used to encrypt the inventory results.
inventoryS3BucketDestination_prefix :: Lens' InventoryS3BucketDestination (Maybe Text) Source #
The prefix that is prepended to all inventory results.
inventoryS3BucketDestination_bucket :: Lens' InventoryS3BucketDestination BucketName Source #
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
inventoryS3BucketDestination_format :: Lens' InventoryS3BucketDestination InventoryFormat Source #
Specifies the output format of the inventory results.
InventorySchedule
data InventorySchedule Source #
Specifies the schedule for generating inventory results.
See: newInventorySchedule smart constructor.
Constructors
| InventorySchedule' | |
Fields
| |
Instances
Create a value of InventorySchedule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:frequency:InventorySchedule', inventorySchedule_frequency - Specifies how frequently inventory results are produced.
inventorySchedule_frequency :: Lens' InventorySchedule InventoryFrequency Source #
Specifies how frequently inventory results are produced.
JSONInput
Specifies JSON as object's input serialization format.
See: newJSONInput smart constructor.
Constructors
| JSONInput' | |
Instances
| ToXML JSONInput Source # | |
Defined in Amazonka.S3.Types.JSONInput | |
| Generic JSONInput Source # | |
| Read JSONInput Source # | |
| Show JSONInput Source # | |
| NFData JSONInput Source # | |
Defined in Amazonka.S3.Types.JSONInput | |
| Eq JSONInput Source # | |
| Hashable JSONInput Source # | |
Defined in Amazonka.S3.Types.JSONInput | |
| type Rep JSONInput Source # | |
Defined in Amazonka.S3.Types.JSONInput | |
newJSONInput :: JSONInput Source #
Create a value of JSONInput with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':JSONInput', jSONInput_type - The type of JSON. Valid values: Document, Lines.
jSONInput_type :: Lens' JSONInput (Maybe JSONType) Source #
The type of JSON. Valid values: Document, Lines.
JSONOutput
data JSONOutput Source #
Specifies JSON as request's output serialization format.
See: newJSONOutput smart constructor.
Constructors
| JSONOutput' | |
Fields
| |
Instances
newJSONOutput :: JSONOutput Source #
Create a value of JSONOutput with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recordDelimiter:JSONOutput', jSONOutput_recordDelimiter - The value used to separate individual records in the output. If no value
is specified, Amazon S3 uses a newline character ('\n').
jSONOutput_recordDelimiter :: Lens' JSONOutput (Maybe Text) Source #
The value used to separate individual records in the output. If no value is specified, Amazon S3 uses a newline character ('\n').
LambdaFunctionConfiguration
data LambdaFunctionConfiguration Source #
A container for specifying the configuration for Lambda notifications.
See: newLambdaFunctionConfiguration smart constructor.
Constructors
| LambdaFunctionConfiguration' | |
Fields
| |
Instances
newLambdaFunctionConfiguration Source #
Create a value of LambdaFunctionConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':LambdaFunctionConfiguration', lambdaFunctionConfiguration_filter - Undocumented member.
$sel:id:LambdaFunctionConfiguration', lambdaFunctionConfiguration_id - Undocumented member.
$sel:lambdaFunctionArn:LambdaFunctionConfiguration', lambdaFunctionConfiguration_lambdaFunctionArn - The Amazon Resource Name (ARN) of the Lambda function that Amazon S3
invokes when the specified event type occurs.
$sel:events:LambdaFunctionConfiguration', lambdaFunctionConfiguration_events - The Amazon S3 bucket event for which to invoke the Lambda function. For
more information, see
Supported Event Types
in the Amazon S3 User Guide.
lambdaFunctionConfiguration_filter :: Lens' LambdaFunctionConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
lambdaFunctionConfiguration_id :: Lens' LambdaFunctionConfiguration (Maybe Text) Source #
Undocumented member.
lambdaFunctionConfiguration_lambdaFunctionArn :: Lens' LambdaFunctionConfiguration Text Source #
The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event type occurs.
lambdaFunctionConfiguration_events :: Lens' LambdaFunctionConfiguration [Event] Source #
The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.
LifecycleExpiration
data LifecycleExpiration Source #
Container for the expiration for the lifecycle of the object.
See: newLifecycleExpiration smart constructor.
Constructors
| LifecycleExpiration' | |
Fields
| |
Instances
newLifecycleExpiration :: LifecycleExpiration Source #
Create a value of LifecycleExpiration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:date:LifecycleExpiration', lifecycleExpiration_date - Indicates at what date the object is to be moved or deleted. Should be
in GMT ISO 8601 Format.
$sel:days:LifecycleExpiration', lifecycleExpiration_days - Indicates the lifetime, in days, of the objects that are subject to the
rule. The value must be a non-zero positive integer.
$sel:expiredObjectDeleteMarker:LifecycleExpiration', lifecycleExpiration_expiredObjectDeleteMarker - Indicates whether Amazon S3 will remove a delete marker with no
noncurrent versions. If set to true, the delete marker will be expired;
if set to false the policy takes no action. This cannot be specified
with Days or Date in a Lifecycle Expiration Policy.
lifecycleExpiration_date :: Lens' LifecycleExpiration (Maybe UTCTime) Source #
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
lifecycleExpiration_days :: Lens' LifecycleExpiration (Maybe Int) Source #
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
lifecycleExpiration_expiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool) Source #
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
LifecycleRule
data LifecycleRule Source #
A lifecycle rule for individual objects in an Amazon S3 bucket.
See: newLifecycleRule smart constructor.
Constructors
| LifecycleRule' | |
Fields
| |
Instances
Arguments
| :: ExpirationStatus | |
| -> LifecycleRule |
Create a value of LifecycleRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:abortIncompleteMultipartUpload:LifecycleRule', lifecycleRule_abortIncompleteMultipartUpload - Undocumented member.
$sel:expiration:LifecycleRule', lifecycleRule_expiration - Specifies the expiration for the lifecycle of the object in the form of
date, days and, whether the object has a delete marker.
$sel:filter':LifecycleRule', lifecycleRule_filter - The Filter is used to identify objects that a Lifecycle Rule applies
to. A Filter must have exactly one of Prefix, Tag, or And
specified. Filter is required if the LifecycleRule does not contain
a Prefix element.
$sel:id:LifecycleRule', lifecycleRule_id - Unique identifier for the rule. The value cannot be longer than 255
characters.
$sel:noncurrentVersionExpiration:LifecycleRule', lifecycleRule_noncurrentVersionExpiration - Undocumented member.
$sel:noncurrentVersionTransitions:LifecycleRule', lifecycleRule_noncurrentVersionTransitions - Specifies the transition rule for the lifecycle rule that describes when
noncurrent objects transition to a specific storage class. If your
bucket is versioning-enabled (or versioning is suspended), you can set
this action to request that Amazon S3 transition noncurrent object
versions to a specific storage class at a set period in the object's
lifetime.
LifecycleRule, lifecycleRule_prefix - Prefix identifying one or more objects to which the rule applies. This
is no longer used; use Filter instead.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:transitions:LifecycleRule', lifecycleRule_transitions - Specifies when an Amazon S3 object transitions to a specified storage
class.
$sel:status:LifecycleRule', lifecycleRule_status - If 'Enabled', the rule is currently being applied. If 'Disabled',
the rule is not currently being applied.
lifecycleRule_abortIncompleteMultipartUpload :: Lens' LifecycleRule (Maybe AbortIncompleteMultipartUpload) Source #
Undocumented member.
lifecycleRule_expiration :: Lens' LifecycleRule (Maybe LifecycleExpiration) Source #
Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.
lifecycleRule_filter :: Lens' LifecycleRule (Maybe LifecycleRuleFilter) Source #
The Filter is used to identify objects that a Lifecycle Rule applies
to. A Filter must have exactly one of Prefix, Tag, or And
specified. Filter is required if the LifecycleRule does not contain
a Prefix element.
lifecycleRule_id :: Lens' LifecycleRule (Maybe Text) Source #
Unique identifier for the rule. The value cannot be longer than 255 characters.
lifecycleRule_noncurrentVersionExpiration :: Lens' LifecycleRule (Maybe NoncurrentVersionExpiration) Source #
Undocumented member.
lifecycleRule_noncurrentVersionTransitions :: Lens' LifecycleRule (Maybe [NoncurrentVersionTransition]) Source #
Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime.
lifecycleRule_prefix :: Lens' LifecycleRule (Maybe Text) Source #
Prefix identifying one or more objects to which the rule applies. This
is no longer used; use Filter instead.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
lifecycleRule_transitions :: Lens' LifecycleRule (Maybe [Transition]) Source #
Specifies when an Amazon S3 object transitions to a specified storage class.
lifecycleRule_status :: Lens' LifecycleRule ExpirationStatus Source #
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.
LifecycleRuleAndOperator
data LifecycleRuleAndOperator Source #
This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.
See: newLifecycleRuleAndOperator smart constructor.
Constructors
| LifecycleRuleAndOperator' | |
Fields
| |
Instances
newLifecycleRuleAndOperator :: LifecycleRuleAndOperator Source #
Create a value of LifecycleRuleAndOperator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:objectSizeGreaterThan:LifecycleRuleAndOperator', lifecycleRuleAndOperator_objectSizeGreaterThan - Minimum object size to which the rule applies.
$sel:objectSizeLessThan:LifecycleRuleAndOperator', lifecycleRuleAndOperator_objectSizeLessThan - Maximum object size to which the rule applies.
$sel:prefix:LifecycleRuleAndOperator', lifecycleRuleAndOperator_prefix - Prefix identifying one or more objects to which the rule applies.
$sel:tags:LifecycleRuleAndOperator', lifecycleRuleAndOperator_tags - All of these tags must exist in the object's tag set in order for the
rule to apply.
lifecycleRuleAndOperator_objectSizeGreaterThan :: Lens' LifecycleRuleAndOperator (Maybe Integer) Source #
Minimum object size to which the rule applies.
lifecycleRuleAndOperator_objectSizeLessThan :: Lens' LifecycleRuleAndOperator (Maybe Integer) Source #
Maximum object size to which the rule applies.
lifecycleRuleAndOperator_prefix :: Lens' LifecycleRuleAndOperator (Maybe Text) Source #
Prefix identifying one or more objects to which the rule applies.
lifecycleRuleAndOperator_tags :: Lens' LifecycleRuleAndOperator (Maybe [Tag]) Source #
All of these tags must exist in the object's tag set in order for the rule to apply.
LifecycleRuleFilter
data LifecycleRuleFilter Source #
The Filter is used to identify objects that a Lifecycle Rule applies
to. A Filter must have exactly one of Prefix, Tag, or And
specified.
See: newLifecycleRuleFilter smart constructor.
Constructors
| LifecycleRuleFilter' | |
Fields
| |
Instances
newLifecycleRuleFilter :: LifecycleRuleFilter Source #
Create a value of LifecycleRuleFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:and:LifecycleRuleFilter', lifecycleRuleFilter_and - Undocumented member.
LifecycleRuleFilter, lifecycleRuleFilter_objectSizeGreaterThan - Minimum object size to which the rule applies.
LifecycleRuleFilter, lifecycleRuleFilter_objectSizeLessThan - Maximum object size to which the rule applies.
LifecycleRuleFilter, lifecycleRuleFilter_prefix - Prefix identifying one or more objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:tag:LifecycleRuleFilter', lifecycleRuleFilter_tag - This tag must exist in the object's tag set in order for the rule to
apply.
lifecycleRuleFilter_and :: Lens' LifecycleRuleFilter (Maybe LifecycleRuleAndOperator) Source #
Undocumented member.
lifecycleRuleFilter_objectSizeGreaterThan :: Lens' LifecycleRuleFilter (Maybe Integer) Source #
Minimum object size to which the rule applies.
lifecycleRuleFilter_objectSizeLessThan :: Lens' LifecycleRuleFilter (Maybe Integer) Source #
Maximum object size to which the rule applies.
lifecycleRuleFilter_prefix :: Lens' LifecycleRuleFilter (Maybe Text) Source #
Prefix identifying one or more objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
lifecycleRuleFilter_tag :: Lens' LifecycleRuleFilter (Maybe Tag) Source #
This tag must exist in the object's tag set in order for the rule to apply.
LoggingEnabled
data LoggingEnabled Source #
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
See: newLoggingEnabled smart constructor.
Constructors
| LoggingEnabled' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> LoggingEnabled |
Create a value of LoggingEnabled with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetGrants:LoggingEnabled', loggingEnabled_targetGrants - Container for granting information.
Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions for server access log delivery in the Amazon S3 User Guide.
$sel:targetBucket:LoggingEnabled', loggingEnabled_targetBucket - Specifies the bucket where you want Amazon S3 to store server access
logs. You can have your logs delivered to any bucket that you own,
including the same bucket that is being logged. You can also configure
multiple buckets to deliver their logs to the same target bucket. In
this case, you should choose a different TargetPrefix for each source
bucket so that the delivered log files can be distinguished by key.
$sel:targetPrefix:LoggingEnabled', loggingEnabled_targetPrefix - A prefix for all log object keys. If you store log files from multiple
Amazon S3 buckets in a single bucket, you can use a prefix to
distinguish which log files came from which bucket.
loggingEnabled_targetGrants :: Lens' LoggingEnabled (Maybe [TargetGrant]) Source #
Container for granting information.
Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions for server access log delivery in the Amazon S3 User Guide.
loggingEnabled_targetBucket :: Lens' LoggingEnabled Text Source #
Specifies the bucket where you want Amazon S3 to store server access
logs. You can have your logs delivered to any bucket that you own,
including the same bucket that is being logged. You can also configure
multiple buckets to deliver their logs to the same target bucket. In
this case, you should choose a different TargetPrefix for each source
bucket so that the delivered log files can be distinguished by key.
loggingEnabled_targetPrefix :: Lens' LoggingEnabled Text Source #
A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket.
MetadataEntry
data MetadataEntry Source #
A metadata key-value pair to store with an object.
See: newMetadataEntry smart constructor.
Constructors
| MetadataEntry' | |
Instances
newMetadataEntry :: MetadataEntry Source #
Create a value of MetadataEntry with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:MetadataEntry', metadataEntry_name - Name of the Object.
$sel:value:MetadataEntry', metadataEntry_value - Value of the Object.
metadataEntry_name :: Lens' MetadataEntry (Maybe Text) Source #
Name of the Object.
metadataEntry_value :: Lens' MetadataEntry (Maybe Text) Source #
Value of the Object.
Metrics
A container specifying replication metrics-related settings enabling replication metrics and events.
See: newMetrics smart constructor.
Constructors
| Metrics' | |
Fields
| |
Instances
| FromXML Metrics Source # | |
| ToXML Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
| Generic Metrics Source # | |
| Read Metrics Source # | |
| Show Metrics Source # | |
| NFData Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
| Eq Metrics Source # | |
| Hashable Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
| type Rep Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics type Rep Metrics = D1 ('MetaData "Metrics" "Amazonka.S3.Types.Metrics" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Metrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationTimeValue)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricsStatus))) | |
Arguments
| :: MetricsStatus | |
| -> Metrics |
Create a value of Metrics with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventThreshold:Metrics', metrics_eventThreshold - A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event.
$sel:status:Metrics', metrics_status - Specifies whether the replication metrics are enabled.
metrics_eventThreshold :: Lens' Metrics (Maybe ReplicationTimeValue) Source #
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event.
metrics_status :: Lens' Metrics MetricsStatus Source #
Specifies whether the replication metrics are enabled.
MetricsAndOperator
data MetricsAndOperator Source #
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
See: newMetricsAndOperator smart constructor.
Constructors
| MetricsAndOperator' | |
Instances
newMetricsAndOperator :: MetricsAndOperator Source #
Create a value of MetricsAndOperator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointArn:MetricsAndOperator', metricsAndOperator_accessPointArn - The access point ARN used when evaluating an AND predicate.
$sel:prefix:MetricsAndOperator', metricsAndOperator_prefix - The prefix used when evaluating an AND predicate.
$sel:tags:MetricsAndOperator', metricsAndOperator_tags - The list of tags used when evaluating an AND predicate.
metricsAndOperator_accessPointArn :: Lens' MetricsAndOperator (Maybe Text) Source #
The access point ARN used when evaluating an AND predicate.
metricsAndOperator_prefix :: Lens' MetricsAndOperator (Maybe Text) Source #
The prefix used when evaluating an AND predicate.
metricsAndOperator_tags :: Lens' MetricsAndOperator (Maybe [Tag]) Source #
The list of tags used when evaluating an AND predicate.
MetricsConfiguration
data MetricsConfiguration Source #
Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.
See: newMetricsConfiguration smart constructor.
Constructors
| MetricsConfiguration' | |
Fields
| |
Instances
newMetricsConfiguration Source #
Arguments
| :: Text | |
| -> MetricsConfiguration |
Create a value of MetricsConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':MetricsConfiguration', metricsConfiguration_filter - Specifies a metrics configuration filter. The metrics configuration will
only include objects that meet the filter's criteria. A filter must be
a prefix, an object tag, an access point ARN, or a conjunction
(MetricsAndOperator).
$sel:id:MetricsConfiguration', metricsConfiguration_id - The ID used to identify the metrics configuration.
metricsConfiguration_filter :: Lens' MetricsConfiguration (Maybe MetricsFilter) Source #
Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).
metricsConfiguration_id :: Lens' MetricsConfiguration Text Source #
The ID used to identify the metrics configuration.
MetricsFilter
data MetricsFilter Source #
Specifies a metrics configuration filter. The metrics configuration only includes objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
See: newMetricsFilter smart constructor.
Constructors
| MetricsFilter' | |
Fields
| |
Instances
newMetricsFilter :: MetricsFilter Source #
Create a value of MetricsFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
MetricsFilter, metricsFilter_accessPointArn - The access point ARN used when evaluating a metrics filter.
$sel:and:MetricsFilter', metricsFilter_and - A conjunction (logical AND) of predicates, which is used in evaluating a
metrics filter. The operator must have at least two predicates, and an
object must match all of the predicates in order for the filter to
apply.
MetricsFilter, metricsFilter_prefix - The prefix used when evaluating a metrics filter.
$sel:tag:MetricsFilter', metricsFilter_tag - The tag used when evaluating a metrics filter.
metricsFilter_accessPointArn :: Lens' MetricsFilter (Maybe Text) Source #
The access point ARN used when evaluating a metrics filter.
metricsFilter_and :: Lens' MetricsFilter (Maybe MetricsAndOperator) Source #
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
metricsFilter_prefix :: Lens' MetricsFilter (Maybe Text) Source #
The prefix used when evaluating a metrics filter.
metricsFilter_tag :: Lens' MetricsFilter (Maybe Tag) Source #
The tag used when evaluating a metrics filter.
MultipartUpload
data MultipartUpload Source #
Container for the MultipartUpload for the Amazon S3 object.
See: newMultipartUpload smart constructor.
Constructors
| MultipartUpload' | |
Fields
| |
Instances
newMultipartUpload :: MultipartUpload Source #
Create a value of MultipartUpload with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumAlgorithm:MultipartUpload', multipartUpload_checksumAlgorithm - The algorithm that was used to create a checksum of the object.
$sel:initiated:MultipartUpload', multipartUpload_initiated - Date and time at which the multipart upload was initiated.
$sel:initiator:MultipartUpload', multipartUpload_initiator - Identifies who initiated the multipart upload.
$sel:key:MultipartUpload', multipartUpload_key - Key of the object for which the multipart upload was initiated.
$sel:owner:MultipartUpload', multipartUpload_owner - Specifies the owner of the object that is part of the multipart upload.
$sel:storageClass:MultipartUpload', multipartUpload_storageClass - The class of storage used to store the object.
$sel:uploadId:MultipartUpload', multipartUpload_uploadId - Upload ID that identifies the multipart upload.
multipartUpload_checksumAlgorithm :: Lens' MultipartUpload (Maybe ChecksumAlgorithm) Source #
The algorithm that was used to create a checksum of the object.
multipartUpload_initiated :: Lens' MultipartUpload (Maybe UTCTime) Source #
Date and time at which the multipart upload was initiated.
multipartUpload_initiator :: Lens' MultipartUpload (Maybe Initiator) Source #
Identifies who initiated the multipart upload.
multipartUpload_key :: Lens' MultipartUpload (Maybe ObjectKey) Source #
Key of the object for which the multipart upload was initiated.
multipartUpload_owner :: Lens' MultipartUpload (Maybe Owner) Source #
Specifies the owner of the object that is part of the multipart upload.
multipartUpload_storageClass :: Lens' MultipartUpload (Maybe StorageClass) Source #
The class of storage used to store the object.
multipartUpload_uploadId :: Lens' MultipartUpload (Maybe Text) Source #
Upload ID that identifies the multipart upload.
NoncurrentVersionExpiration
data NoncurrentVersionExpiration Source #
Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.
See: newNoncurrentVersionExpiration smart constructor.
Constructors
| NoncurrentVersionExpiration' | |
Fields
| |
Instances
newNoncurrentVersionExpiration Source #
Create a value of NoncurrentVersionExpiration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:newerNoncurrentVersions':NoncurrentVersionExpiration', noncurrentVersionExpiration_newerNoncurrentVersions - Specifies how many noncurrent versions Amazon S3 will retain. If there
are this many more recent noncurrent versions, Amazon S3 will take the
associated action. For more information about noncurrent versions, see
Lifecycle configuration elements
in the Amazon S3 User Guide.
$sel:noncurrentDays:NoncurrentVersionExpiration', noncurrentVersionExpiration_noncurrentDays - Specifies the number of days an object is noncurrent before Amazon S3
can perform the associated action. The value must be a non-zero positive
integer. For information about the noncurrent days calculations, see
How Amazon S3 Calculates When an Object Became Noncurrent
in the Amazon S3 User Guide.
noncurrentVersionExpiration_newerNoncurrentVersions :: Lens' NoncurrentVersionExpiration (Maybe Int) Source #
Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.
noncurrentVersionExpiration_noncurrentDays :: Lens' NoncurrentVersionExpiration Int Source #
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide.
NoncurrentVersionTransition
data NoncurrentVersionTransition Source #
Container for the transition rule that describes when noncurrent objects
transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING,
GLACIER_IR, GLACIER, or DEEP_ARCHIVE storage class. If your bucket
is versioning-enabled (or versioning is suspended), you can set this
action to request that Amazon S3 transition noncurrent object versions
to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER_IR,
GLACIER, or DEEP_ARCHIVE storage class at a specific period in the
object's lifetime.
See: newNoncurrentVersionTransition smart constructor.
Constructors
| NoncurrentVersionTransition' | |
Fields
| |
Instances
newNoncurrentVersionTransition Source #
Arguments
| :: Int | |
| -> TransitionStorageClass | |
| -> NoncurrentVersionTransition |
Create a value of NoncurrentVersionTransition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:newerNoncurrentVersions':NoncurrentVersionTransition', noncurrentVersionTransition_newerNoncurrentVersions - Specifies how many noncurrent versions Amazon S3 will retain. If there
are this many more recent noncurrent versions, Amazon S3 will take the
associated action. For more information about noncurrent versions, see
Lifecycle configuration elements
in the Amazon S3 User Guide.
$sel:noncurrentDays:NoncurrentVersionTransition', noncurrentVersionTransition_noncurrentDays - Specifies the number of days an object is noncurrent before Amazon S3
can perform the associated action. For information about the noncurrent
days calculations, see
How Amazon S3 Calculates How Long an Object Has Been Noncurrent
in the Amazon S3 User Guide.
$sel:storageClass:NoncurrentVersionTransition', noncurrentVersionTransition_storageClass - The class of storage used to store the object.
noncurrentVersionTransition_newerNoncurrentVersions :: Lens' NoncurrentVersionTransition (Maybe Int) Source #
Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.
noncurrentVersionTransition_noncurrentDays :: Lens' NoncurrentVersionTransition Int Source #
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.
noncurrentVersionTransition_storageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass Source #
The class of storage used to store the object.
NotificationConfiguration
data NotificationConfiguration Source #
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
See: newNotificationConfiguration smart constructor.
Constructors
| NotificationConfiguration' | |
Fields
| |
Instances
newNotificationConfiguration :: NotificationConfiguration Source #
Create a value of NotificationConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventBridgeConfiguration:NotificationConfiguration', notificationConfiguration_eventBridgeConfiguration - Enables delivery of events to Amazon EventBridge.
$sel:lambdaFunctionConfigurations:NotificationConfiguration', notificationConfiguration_lambdaFunctionConfigurations - Describes the Lambda functions to invoke and the events for which to
invoke them.
$sel:queueConfigurations:NotificationConfiguration', notificationConfiguration_queueConfigurations - The Amazon Simple Queue Service queues to publish messages to and the
events for which to publish messages.
$sel:topicConfigurations:NotificationConfiguration', notificationConfiguration_topicConfigurations - The topic to which notifications are sent and the events for which
notifications are generated.
notificationConfiguration_eventBridgeConfiguration :: Lens' NotificationConfiguration (Maybe EventBridgeConfiguration) Source #
Enables delivery of events to Amazon EventBridge.
notificationConfiguration_lambdaFunctionConfigurations :: Lens' NotificationConfiguration (Maybe [LambdaFunctionConfiguration]) Source #
Describes the Lambda functions to invoke and the events for which to invoke them.
notificationConfiguration_queueConfigurations :: Lens' NotificationConfiguration (Maybe [QueueConfiguration]) Source #
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
notificationConfiguration_topicConfigurations :: Lens' NotificationConfiguration (Maybe [TopicConfiguration]) Source #
The topic to which notifications are sent and the events for which notifications are generated.
NotificationConfigurationFilter
data NotificationConfigurationFilter Source #
Specifies object key name filtering rules. For information about key name filtering, see Configuring Event Notifications in the Amazon S3 User Guide.
See: newNotificationConfigurationFilter smart constructor.
Constructors
| NotificationConfigurationFilter' | |
Fields
| |
Instances
newNotificationConfigurationFilter :: NotificationConfigurationFilter Source #
Create a value of NotificationConfigurationFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:NotificationConfigurationFilter', notificationConfigurationFilter_key - Undocumented member.
notificationConfigurationFilter_key :: Lens' NotificationConfigurationFilter (Maybe S3KeyFilter) Source #
Undocumented member.
Object
An object consists of data and its descriptive metadata.
See: newObject smart constructor.
Constructors
| Object' | |
Fields
| |
Instances
Create a value of Object with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumAlgorithm:Object', object_checksumAlgorithm - The algorithm that was used to create a checksum of the object.
$sel:owner:Object', object_owner - The owner of the object
$sel:eTag:Object', object_eTag - The entity tag is a hash of the object. The ETag reflects changes only
to the contents of an object, not its metadata. The ETag may or may not
be an MD5 digest of the object data. Whether or not it is depends on how
the object was created and how it is encrypted as described below:
- Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of their object data.
- Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their object data.
- If an object is created by either the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, regardless of the method of encryption. If an object is larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a Multipart Upload, and therefore the ETag will not be an MD5 digest.
$sel:size:Object', object_size - Size in bytes of the object
$sel:key:Object', object_key - The name that you assign to an object. You use the object key to
retrieve the object.
$sel:storageClass:Object', object_storageClass - The class of storage used to store the object.
$sel:lastModified:Object', object_lastModified - Creation date of the object.
object_checksumAlgorithm :: Lens' Object (Maybe [ChecksumAlgorithm]) Source #
The algorithm that was used to create a checksum of the object.
object_eTag :: Lens' Object ETag Source #
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below:
- Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of their object data.
- Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their object data.
- If an object is created by either the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, regardless of the method of encryption. If an object is larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a Multipart Upload, and therefore the ETag will not be an MD5 digest.
object_key :: Lens' Object ObjectKey Source #
The name that you assign to an object. You use the object key to retrieve the object.
object_storageClass :: Lens' Object ObjectStorageClass Source #
The class of storage used to store the object.
ObjectIdentifier
data ObjectIdentifier Source #
Object Identifier is unique value to identify objects.
See: newObjectIdentifier smart constructor.
Constructors
| ObjectIdentifier' | |
Fields
| |
Instances
Arguments
| :: ObjectKey | |
| -> ObjectIdentifier |
Create a value of ObjectIdentifier with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:versionId:ObjectIdentifier', objectIdentifier_versionId - VersionId for the specific version of the object to delete.
$sel:key:ObjectIdentifier', objectIdentifier_key - Key name of the object.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
objectIdentifier_versionId :: Lens' ObjectIdentifier (Maybe ObjectVersionId) Source #
VersionId for the specific version of the object to delete.
objectIdentifier_key :: Lens' ObjectIdentifier ObjectKey Source #
Key name of the object.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
ObjectLockConfiguration
data ObjectLockConfiguration Source #
The container element for Object Lock configuration parameters.
See: newObjectLockConfiguration smart constructor.
Constructors
| ObjectLockConfiguration' | |
Fields
| |
Instances
newObjectLockConfiguration :: ObjectLockConfiguration Source #
Create a value of ObjectLockConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:objectLockEnabled:ObjectLockConfiguration', objectLockConfiguration_objectLockEnabled - Indicates whether this bucket has an Object Lock configuration enabled.
Enable ObjectLockEnabled when you apply ObjectLockConfiguration to a
bucket.
$sel:rule:ObjectLockConfiguration', objectLockConfiguration_rule - Specifies the Object Lock rule for the specified object. Enable the this
rule when you apply ObjectLockConfiguration to a bucket. Bucket
settings require both a mode and a period. The period can be either
Days or Years but you must select one. You cannot specify Days and
Years at the same time.
objectLockConfiguration_objectLockEnabled :: Lens' ObjectLockConfiguration (Maybe ObjectLockEnabled) Source #
Indicates whether this bucket has an Object Lock configuration enabled.
Enable ObjectLockEnabled when you apply ObjectLockConfiguration to a
bucket.
objectLockConfiguration_rule :: Lens' ObjectLockConfiguration (Maybe ObjectLockRule) Source #
Specifies the Object Lock rule for the specified object. Enable the this
rule when you apply ObjectLockConfiguration to a bucket. Bucket
settings require both a mode and a period. The period can be either
Days or Years but you must select one. You cannot specify Days and
Years at the same time.
ObjectLockLegalHold
data ObjectLockLegalHold Source #
A legal hold configuration for an object.
See: newObjectLockLegalHold smart constructor.
Constructors
| ObjectLockLegalHold' | |
Fields
| |
Instances
newObjectLockLegalHold :: ObjectLockLegalHold Source #
Create a value of ObjectLockLegalHold with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ObjectLockLegalHold', objectLockLegalHold_status - Indicates whether the specified object has a legal hold in place.
objectLockLegalHold_status :: Lens' ObjectLockLegalHold (Maybe ObjectLockLegalHoldStatus) Source #
Indicates whether the specified object has a legal hold in place.
ObjectLockRetention
data ObjectLockRetention Source #
A Retention configuration for an object.
See: newObjectLockRetention smart constructor.
Constructors
| ObjectLockRetention' | |
Fields
| |
Instances
newObjectLockRetention :: ObjectLockRetention Source #
Create a value of ObjectLockRetention with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mode:ObjectLockRetention', objectLockRetention_mode - Indicates the Retention mode for the specified object.
$sel:retainUntilDate:ObjectLockRetention', objectLockRetention_retainUntilDate - The date on which this Object Lock Retention will expire.
objectLockRetention_mode :: Lens' ObjectLockRetention (Maybe ObjectLockRetentionMode) Source #
Indicates the Retention mode for the specified object.
objectLockRetention_retainUntilDate :: Lens' ObjectLockRetention (Maybe UTCTime) Source #
The date on which this Object Lock Retention will expire.
ObjectLockRule
data ObjectLockRule Source #
The container element for an Object Lock rule.
See: newObjectLockRule smart constructor.
Constructors
| ObjectLockRule' | |
Fields
| |
Instances
newObjectLockRule :: ObjectLockRule Source #
Create a value of ObjectLockRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultRetention:ObjectLockRule', objectLockRule_defaultRetention - The default Object Lock retention mode and period that you want to apply
to new objects placed in the specified bucket. Bucket settings require
both a mode and a period. The period can be either Days or Years but
you must select one. You cannot specify Days and Years at the same
time.
objectLockRule_defaultRetention :: Lens' ObjectLockRule (Maybe DefaultRetention) Source #
The default Object Lock retention mode and period that you want to apply
to new objects placed in the specified bucket. Bucket settings require
both a mode and a period. The period can be either Days or Years but
you must select one. You cannot specify Days and Years at the same
time.
ObjectPart
data ObjectPart Source #
A container for elements related to an individual part.
See: newObjectPart smart constructor.
Constructors
| ObjectPart' | |
Fields
| |
Instances
newObjectPart :: ObjectPart Source #
Create a value of ObjectPart with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumCRC32:ObjectPart', objectPart_checksumCRC32 - This header can be used as a data integrity check to verify that the
data received is the same data that was originally sent. This header
specifies the base64-encoded, 32-bit CRC32 checksum of the object. For
more information, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumCRC32C:ObjectPart', objectPart_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA1:ObjectPart', objectPart_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA256:ObjectPart', objectPart_checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:partNumber:ObjectPart', objectPart_partNumber - The part number identifying the part. This value is a positive integer
between 1 and 10,000.
$sel:size:ObjectPart', objectPart_size - The size of the uploaded part in bytes.
objectPart_checksumCRC32 :: Lens' ObjectPart (Maybe Text) Source #
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
objectPart_checksumCRC32C :: Lens' ObjectPart (Maybe Text) Source #
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
objectPart_checksumSHA1 :: Lens' ObjectPart (Maybe Text) Source #
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
objectPart_checksumSHA256 :: Lens' ObjectPart (Maybe Text) Source #
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
objectPart_partNumber :: Lens' ObjectPart (Maybe Int) Source #
The part number identifying the part. This value is a positive integer between 1 and 10,000.
objectPart_size :: Lens' ObjectPart (Maybe Integer) Source #
The size of the uploaded part in bytes.
ObjectVersion
data ObjectVersion Source #
The version of an object.
See: newObjectVersion smart constructor.
Constructors
| ObjectVersion' | |
Fields
| |
Instances
newObjectVersion :: ObjectVersion Source #
Create a value of ObjectVersion with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumAlgorithm:ObjectVersion', objectVersion_checksumAlgorithm - The algorithm that was used to create a checksum of the object.
$sel:eTag:ObjectVersion', objectVersion_eTag - The entity tag is an MD5 hash of that version of the object.
$sel:isLatest:ObjectVersion', objectVersion_isLatest - Specifies whether the object is (true) or is not (false) the latest
version of an object.
$sel:key:ObjectVersion', objectVersion_key - The object key.
$sel:lastModified:ObjectVersion', objectVersion_lastModified - Date and time the object was last modified.
$sel:owner:ObjectVersion', objectVersion_owner - Specifies the owner of the object.
$sel:size:ObjectVersion', objectVersion_size - Size in bytes of the object.
$sel:storageClass:ObjectVersion', objectVersion_storageClass - The class of storage used to store the object.
$sel:versionId:ObjectVersion', objectVersion_versionId - Version ID of an object.
objectVersion_checksumAlgorithm :: Lens' ObjectVersion (Maybe [ChecksumAlgorithm]) Source #
The algorithm that was used to create a checksum of the object.
objectVersion_eTag :: Lens' ObjectVersion (Maybe ETag) Source #
The entity tag is an MD5 hash of that version of the object.
objectVersion_isLatest :: Lens' ObjectVersion (Maybe Bool) Source #
Specifies whether the object is (true) or is not (false) the latest version of an object.
objectVersion_key :: Lens' ObjectVersion (Maybe ObjectKey) Source #
The object key.
objectVersion_lastModified :: Lens' ObjectVersion (Maybe UTCTime) Source #
Date and time the object was last modified.
objectVersion_owner :: Lens' ObjectVersion (Maybe Owner) Source #
Specifies the owner of the object.
objectVersion_size :: Lens' ObjectVersion (Maybe Integer) Source #
Size in bytes of the object.
objectVersion_storageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass) Source #
The class of storage used to store the object.
objectVersion_versionId :: Lens' ObjectVersion (Maybe ObjectVersionId) Source #
Version ID of an object.
OutputLocation
data OutputLocation Source #
Describes the location where the restore job's output is stored.
See: newOutputLocation smart constructor.
Constructors
| OutputLocation' | |
Fields
| |
Instances
newOutputLocation :: OutputLocation Source #
Create a value of OutputLocation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3:OutputLocation', outputLocation_s3 - Describes an S3 location that will receive the results of the restore
request.
outputLocation_s3 :: Lens' OutputLocation (Maybe S3Location) Source #
Describes an S3 location that will receive the results of the restore request.
OutputSerialization
data OutputSerialization Source #
Describes how results of the Select job are serialized.
See: newOutputSerialization smart constructor.
Constructors
| OutputSerialization' | |
Instances
newOutputSerialization :: OutputSerialization Source #
Create a value of OutputSerialization with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:csv:OutputSerialization', outputSerialization_csv - Describes the serialization of CSV-encoded Select results.
$sel:json:OutputSerialization', outputSerialization_json - Specifies JSON as request's output serialization format.
outputSerialization_csv :: Lens' OutputSerialization (Maybe CSVOutput) Source #
Describes the serialization of CSV-encoded Select results.
outputSerialization_json :: Lens' OutputSerialization (Maybe JSONOutput) Source #
Specifies JSON as request's output serialization format.
Owner
Container for the owner's display name and ID.
See: newOwner smart constructor.
Constructors
| Owner' | |
Instances
| FromXML Owner Source # | |
| ToXML Owner Source # | |
Defined in Amazonka.S3.Types.Owner | |
| Generic Owner Source # | |
| Read Owner Source # | |
| Show Owner Source # | |
| NFData Owner Source # | |
Defined in Amazonka.S3.Types.Owner | |
| Eq Owner Source # | |
| Hashable Owner Source # | |
Defined in Amazonka.S3.Types.Owner | |
| type Rep Owner Source # | |
Defined in Amazonka.S3.Types.Owner type Rep Owner = D1 ('MetaData "Owner" "Amazonka.S3.Types.Owner" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Owner'" 'PrefixI 'True) (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
Create a value of Owner with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:displayName:Owner', owner_displayName - Container for the display name of the owner.
$sel:id:Owner', owner_id - Container for the ID of the owner.
OwnershipControls
data OwnershipControls Source #
The container element for a bucket's ownership controls.
See: newOwnershipControls smart constructor.
Constructors
| OwnershipControls' | |
Fields
| |
Instances
newOwnershipControls :: OwnershipControls Source #
Create a value of OwnershipControls with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rules:OwnershipControls', ownershipControls_rules - The container element for an ownership control rule.
ownershipControls_rules :: Lens' OwnershipControls [OwnershipControlsRule] Source #
The container element for an ownership control rule.
OwnershipControlsRule
data OwnershipControlsRule Source #
The container element for an ownership control rule.
See: newOwnershipControlsRule smart constructor.
Constructors
| OwnershipControlsRule' | |
Fields | |
Instances
newOwnershipControlsRule Source #
Create a value of OwnershipControlsRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:objectOwnership:OwnershipControlsRule', ownershipControlsRule_objectOwnership - Undocumented member.
ownershipControlsRule_objectOwnership :: Lens' OwnershipControlsRule ObjectOwnership Source #
Undocumented member.
ParquetInput
data ParquetInput Source #
Container for Parquet.
See: newParquetInput smart constructor.
Constructors
| ParquetInput' | |
Instances
| ToXML ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput Methods toXML :: ParquetInput -> XML # | |
| Generic ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput Associated Types type Rep ParquetInput :: Type -> Type # | |
| Read ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput Methods readsPrec :: Int -> ReadS ParquetInput # readList :: ReadS [ParquetInput] # | |
| Show ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput Methods showsPrec :: Int -> ParquetInput -> ShowS # show :: ParquetInput -> String # showList :: [ParquetInput] -> ShowS # | |
| NFData ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput Methods rnf :: ParquetInput -> () # | |
| Eq ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput | |
| Hashable ParquetInput Source # | |
Defined in Amazonka.S3.Types.ParquetInput | |
| type Rep ParquetInput Source # | |
newParquetInput :: ParquetInput Source #
Create a value of ParquetInput with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Part
Container for elements related to a part.
See: newPart smart constructor.
Constructors
| Part' | |
Fields
| |
Instances
Create a value of Part with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checksumCRC32:Part', part_checksumCRC32 - This header can be used as a data integrity check to verify that the
data received is the same data that was originally sent. This header
specifies the base64-encoded, 32-bit CRC32 checksum of the object. For
more information, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumCRC32C:Part', part_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA1:Part', part_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only
be present if it was uploaded with the object. With multipart uploads,
this may not be a checksum value of the object. For more information
about how checksums are calculated with multipart uploads, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:checksumSHA256:Part', part_checksumSHA256 - This header can be used as a data integrity check to verify that the
data received is the same data that was originally sent. This header
specifies the base64-encoded, 256-bit SHA-256 digest of the object. For
more information, see
Checking object integrity
in the Amazon S3 User Guide.
$sel:eTag:Part', part_eTag - Entity tag returned when the part was uploaded.
$sel:lastModified:Part', part_lastModified - Date and time at which the part was uploaded.
$sel:partNumber:Part', part_partNumber - Part number identifying the part. This is a positive integer between 1
and 10,000.
$sel:size:Part', part_size - Size in bytes of the uploaded part data.
part_checksumCRC32 :: Lens' Part (Maybe Text) Source #
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
part_checksumCRC32C :: Lens' Part (Maybe Text) Source #
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
part_checksumSHA1 :: Lens' Part (Maybe Text) Source #
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
part_checksumSHA256 :: Lens' Part (Maybe Text) Source #
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
part_lastModified :: Lens' Part (Maybe UTCTime) Source #
Date and time at which the part was uploaded.
part_partNumber :: Lens' Part (Maybe Int) Source #
Part number identifying the part. This is a positive integer between 1 and 10,000.
PolicyStatus
data PolicyStatus Source #
The container element for a bucket's policy status.
See: newPolicyStatus smart constructor.
Constructors
| PolicyStatus' | |
Instances
newPolicyStatus :: PolicyStatus Source #
Create a value of PolicyStatus with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:isPublic:PolicyStatus', policyStatus_isPublic - The policy status for this bucket. TRUE indicates that this bucket is
public. FALSE indicates that the bucket is not public.
policyStatus_isPublic :: Lens' PolicyStatus (Maybe Bool) Source #
The policy status for this bucket. TRUE indicates that this bucket is
public. FALSE indicates that the bucket is not public.
Progress
This data type contains information about progress of an operation.
See: newProgress smart constructor.
Constructors
| Progress' | |
Fields
| |
Instances
| FromXML Progress Source # | |
| Generic Progress Source # | |
| Read Progress Source # | |
| Show Progress Source # | |
| NFData Progress Source # | |
Defined in Amazonka.S3.Types.Progress | |
| Eq Progress Source # | |
| Hashable Progress Source # | |
Defined in Amazonka.S3.Types.Progress | |
| type Rep Progress Source # | |
Defined in Amazonka.S3.Types.Progress type Rep Progress = D1 ('MetaData "Progress" "Amazonka.S3.Types.Progress" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Progress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytesProcessed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "bytesReturned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "bytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) | |
newProgress :: Progress Source #
Create a value of Progress with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bytesProcessed:Progress', progress_bytesProcessed - The current number of uncompressed object bytes processed.
$sel:bytesReturned:Progress', progress_bytesReturned - The current number of bytes of records payload data returned.
$sel:bytesScanned:Progress', progress_bytesScanned - The current number of object bytes scanned.
progress_bytesProcessed :: Lens' Progress (Maybe Integer) Source #
The current number of uncompressed object bytes processed.
progress_bytesReturned :: Lens' Progress (Maybe Integer) Source #
The current number of bytes of records payload data returned.
progress_bytesScanned :: Lens' Progress (Maybe Integer) Source #
The current number of object bytes scanned.
ProgressEvent
data ProgressEvent Source #
This data type contains information about the progress event of an operation.
See: newProgressEvent smart constructor.
Constructors
| ProgressEvent' | |
Instances
newProgressEvent :: ProgressEvent Source #
Create a value of ProgressEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:ProgressEvent', progressEvent_details - The Progress event details.
progressEvent_details :: Lens' ProgressEvent (Maybe Progress) Source #
The Progress event details.
PublicAccessBlockConfiguration
data PublicAccessBlockConfiguration Source #
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.
See: newPublicAccessBlockConfiguration smart constructor.
Constructors
| PublicAccessBlockConfiguration' | |
Fields
| |
Instances
newPublicAccessBlockConfiguration :: PublicAccessBlockConfiguration Source #
Create a value of PublicAccessBlockConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:blockPublicAcls:PublicAccessBlockConfiguration', publicAccessBlockConfiguration_blockPublicAcls - Specifies whether Amazon S3 should block public access control lists
(ACLs) for this bucket and objects in this bucket. Setting this element
to TRUE causes the following behavior:
- PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is public.
- PUT Object calls fail if the request includes a public ACL.
- PUT Bucket calls fail if the request includes a public ACL.
Enabling this setting doesn't affect existing policies or ACLs.
$sel:blockPublicPolicy:PublicAccessBlockConfiguration', publicAccessBlockConfiguration_blockPublicPolicy - Specifies whether Amazon S3 should block public bucket policies for this
bucket. Setting this element to TRUE causes Amazon S3 to reject calls
to PUT Bucket policy if the specified bucket policy allows public
access.
Enabling this setting doesn't affect existing bucket policies.
$sel:ignorePublicAcls:PublicAccessBlockConfiguration', publicAccessBlockConfiguration_ignorePublicAcls - Specifies whether Amazon S3 should ignore public ACLs for this bucket
and objects in this bucket. Setting this element to TRUE causes Amazon
S3 to ignore all public ACLs on this bucket and objects in this bucket.
Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set.
$sel:restrictPublicBuckets:PublicAccessBlockConfiguration', publicAccessBlockConfiguration_restrictPublicBuckets - Specifies whether Amazon S3 should restrict public bucket policies for
this bucket. Setting this element to TRUE restricts access to this
bucket to only Amazon Web Service principals and authorized users within
this account if the bucket has a public policy.
Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.
publicAccessBlockConfiguration_blockPublicAcls :: Lens' PublicAccessBlockConfiguration (Maybe Bool) Source #
Specifies whether Amazon S3 should block public access control lists
(ACLs) for this bucket and objects in this bucket. Setting this element
to TRUE causes the following behavior:
- PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is public.
- PUT Object calls fail if the request includes a public ACL.
- PUT Bucket calls fail if the request includes a public ACL.
Enabling this setting doesn't affect existing policies or ACLs.
publicAccessBlockConfiguration_blockPublicPolicy :: Lens' PublicAccessBlockConfiguration (Maybe Bool) Source #
Specifies whether Amazon S3 should block public bucket policies for this
bucket. Setting this element to TRUE causes Amazon S3 to reject calls
to PUT Bucket policy if the specified bucket policy allows public
access.
Enabling this setting doesn't affect existing bucket policies.
publicAccessBlockConfiguration_ignorePublicAcls :: Lens' PublicAccessBlockConfiguration (Maybe Bool) Source #
Specifies whether Amazon S3 should ignore public ACLs for this bucket
and objects in this bucket. Setting this element to TRUE causes Amazon
S3 to ignore all public ACLs on this bucket and objects in this bucket.
Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set.
publicAccessBlockConfiguration_restrictPublicBuckets :: Lens' PublicAccessBlockConfiguration (Maybe Bool) Source #
Specifies whether Amazon S3 should restrict public bucket policies for
this bucket. Setting this element to TRUE restricts access to this
bucket to only Amazon Web Service principals and authorized users within
this account if the bucket has a public policy.
Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.
QueueConfiguration
data QueueConfiguration Source #
Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.
See: newQueueConfiguration smart constructor.
Constructors
| QueueConfiguration' | |
Fields | |
Instances
newQueueConfiguration Source #
Arguments
| :: Text | |
| -> QueueConfiguration |
Create a value of QueueConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':QueueConfiguration', queueConfiguration_filter - Undocumented member.
$sel:id:QueueConfiguration', queueConfiguration_id - Undocumented member.
$sel:queueArn:QueueConfiguration', queueConfiguration_queueArn - The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon
S3 publishes a message when it detects events of the specified type.
$sel:events:QueueConfiguration', queueConfiguration_events - A collection of bucket events for which to send notifications
queueConfiguration_filter :: Lens' QueueConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
queueConfiguration_id :: Lens' QueueConfiguration (Maybe Text) Source #
Undocumented member.
queueConfiguration_queueArn :: Lens' QueueConfiguration Text Source #
The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type.
queueConfiguration_events :: Lens' QueueConfiguration [Event] Source #
A collection of bucket events for which to send notifications
RecordsEvent
data RecordsEvent Source #
The container for the records event.
See: newRecordsEvent smart constructor.
Constructors
| RecordsEvent' | |
Instances
newRecordsEvent :: RecordsEvent Source #
Create a value of RecordsEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:payload:RecordsEvent', recordsEvent_payload - The byte array of partial, one or more result records.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
recordsEvent_payload :: Lens' RecordsEvent (Maybe ByteString) Source #
The byte array of partial, one or more result records.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
Redirect
Specifies how requests are redirected. In the event of an error, you can specify a different error code to return.
See: newRedirect smart constructor.
Constructors
| Redirect' | |
Fields
| |
Instances
newRedirect :: Redirect Source #
Create a value of Redirect with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hostName:Redirect', redirect_hostName - The host name to use in the redirect request.
$sel:httpRedirectCode:Redirect', redirect_httpRedirectCode - The HTTP redirect code to use on the response. Not required if one of
the siblings is present.
$sel:protocol:Redirect', redirect_protocol - Protocol to use when redirecting requests. The default is the protocol
that is used in the original request.
$sel:replaceKeyPrefixWith:Redirect', redirect_replaceKeyPrefixWith - The object key prefix to use in the redirect request. For example, to
redirect requests for all pages with prefix docs/ (objects in the
docs/ folder) to documents/, you can set a condition block with
KeyPrefixEquals set to docs/ and in the Redirect set
ReplaceKeyPrefixWith to /documents. Not required if one of the
siblings is present. Can be present only if ReplaceKeyWith is not
provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:replaceKeyWith:Redirect', redirect_replaceKeyWith - The specific object key to use in the redirect request. For example,
redirect request to error.html. Not required if one of the siblings is
present. Can be present only if ReplaceKeyPrefixWith is not provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
redirect_hostName :: Lens' Redirect (Maybe Text) Source #
The host name to use in the redirect request.
redirect_httpRedirectCode :: Lens' Redirect (Maybe Text) Source #
The HTTP redirect code to use on the response. Not required if one of the siblings is present.
redirect_protocol :: Lens' Redirect (Maybe Protocol) Source #
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
redirect_replaceKeyPrefixWith :: Lens' Redirect (Maybe Text) Source #
The object key prefix to use in the redirect request. For example, to
redirect requests for all pages with prefix docs/ (objects in the
docs/ folder) to documents/, you can set a condition block with
KeyPrefixEquals set to docs/ and in the Redirect set
ReplaceKeyPrefixWith to /documents. Not required if one of the
siblings is present. Can be present only if ReplaceKeyWith is not
provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
redirect_replaceKeyWith :: Lens' Redirect (Maybe Text) Source #
The specific object key to use in the redirect request. For example,
redirect request to error.html. Not required if one of the siblings is
present. Can be present only if ReplaceKeyPrefixWith is not provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
RedirectAllRequestsTo
data RedirectAllRequestsTo Source #
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
See: newRedirectAllRequestsTo smart constructor.
Constructors
| RedirectAllRequestsTo' | |
Instances
newRedirectAllRequestsTo Source #
Create a value of RedirectAllRequestsTo with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:protocol:RedirectAllRequestsTo', redirectAllRequestsTo_protocol - Protocol to use when redirecting requests. The default is the protocol
that is used in the original request.
$sel:hostName:RedirectAllRequestsTo', redirectAllRequestsTo_hostName - Name of the host where requests are redirected.
redirectAllRequestsTo_protocol :: Lens' RedirectAllRequestsTo (Maybe Protocol) Source #
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
redirectAllRequestsTo_hostName :: Lens' RedirectAllRequestsTo Text Source #
Name of the host where requests are redirected.
ReplicaModifications
data ReplicaModifications Source #
A filter that you can specify for selection for modifications on
replicas. Amazon S3 doesn't replicate replica modifications by default.
In the latest version of replication configuration (when Filter is
specified), you can specify this element and set the status to Enabled
to replicate modifications on replicas.
If you don't specify the Filter element, Amazon S3 assumes that the
replication configuration is the earlier version, V1. In the earlier
version, this element is not allowed.
See: newReplicaModifications smart constructor.
Constructors
| ReplicaModifications' | |
Fields
| |
Instances
newReplicaModifications Source #
Create a value of ReplicaModifications with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ReplicaModifications', replicaModifications_status - Specifies whether Amazon S3 replicates modifications on replicas.
replicaModifications_status :: Lens' ReplicaModifications ReplicaModificationsStatus Source #
Specifies whether Amazon S3 replicates modifications on replicas.
ReplicationConfiguration
data ReplicationConfiguration Source #
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
See: newReplicationConfiguration smart constructor.
Constructors
| ReplicationConfiguration' | |
Fields
| |
Instances
newReplicationConfiguration Source #
Create a value of ReplicationConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:role':ReplicationConfiguration', replicationConfiguration_role - The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) role that Amazon S3 assumes when replicating objects. For more
information, see
How to Set Up Replication
in the Amazon S3 User Guide.
$sel:rules:ReplicationConfiguration', replicationConfiguration_rules - A container for one or more replication rules. A replication
configuration must have at least one rule and can contain a maximum of
1,000 rules.
replicationConfiguration_role :: Lens' ReplicationConfiguration Text Source #
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.
replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule] Source #
A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
ReplicationRule
data ReplicationRule Source #
Specifies which Amazon S3 objects to replicate and where to store the replicas.
See: newReplicationRule smart constructor.
Constructors
| ReplicationRule' | |
Fields
| |
Instances
Arguments
| :: ReplicationRuleStatus | |
| -> Destination | |
| -> ReplicationRule |
Create a value of ReplicationRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deleteMarkerReplication:ReplicationRule', replicationRule_deleteMarkerReplication - Undocumented member.
$sel:existingObjectReplication:ReplicationRule', replicationRule_existingObjectReplication -
$sel:filter':ReplicationRule', replicationRule_filter - Undocumented member.
$sel:id:ReplicationRule', replicationRule_id - A unique identifier for the rule. The maximum value is 255 characters.
ReplicationRule, replicationRule_prefix - An object key name prefix that identifies the object or objects to which
the rule applies. The maximum prefix length is 1,024 characters. To
include all objects in a bucket, specify an empty string.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:priority:ReplicationRule', replicationRule_priority - The priority indicates which rule has precedence whenever two or more
replication rules conflict. Amazon S3 will attempt to replicate objects
according to all replication rules. However, if there are two or more
rules with the same destination bucket, then objects will be replicated
according to the rule with the highest priority. The higher the number,
the higher the priority.
For more information, see Replication in the Amazon S3 User Guide.
$sel:sourceSelectionCriteria:ReplicationRule', replicationRule_sourceSelectionCriteria - A container that describes additional filters for identifying the source
objects that you want to replicate. You can choose to enable or disable
the replication of these objects. Currently, Amazon S3 supports only the
filter that you can specify for objects created with server-side
encryption using a customer managed key stored in Amazon Web Services
Key Management Service (SSE-KMS).
ReplicationRule, replicationRule_status - Specifies whether the rule is enabled.
$sel:destination:ReplicationRule', replicationRule_destination - A container for information about the replication destination and its
configurations including enabling the S3 Replication Time Control (S3
RTC).
replicationRule_deleteMarkerReplication :: Lens' ReplicationRule (Maybe DeleteMarkerReplication) Source #
Undocumented member.
replicationRule_existingObjectReplication :: Lens' ReplicationRule (Maybe ExistingObjectReplication) Source #
replicationRule_filter :: Lens' ReplicationRule (Maybe ReplicationRuleFilter) Source #
Undocumented member.
replicationRule_id :: Lens' ReplicationRule (Maybe Text) Source #
A unique identifier for the rule. The maximum value is 255 characters.
replicationRule_prefix :: Lens' ReplicationRule (Maybe Text) Source #
An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
replicationRule_priority :: Lens' ReplicationRule (Maybe Int) Source #
The priority indicates which rule has precedence whenever two or more replication rules conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority.
For more information, see Replication in the Amazon S3 User Guide.
replicationRule_sourceSelectionCriteria :: Lens' ReplicationRule (Maybe SourceSelectionCriteria) Source #
A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service (SSE-KMS).
replicationRule_status :: Lens' ReplicationRule ReplicationRuleStatus Source #
Specifies whether the rule is enabled.
replicationRule_destination :: Lens' ReplicationRule Destination Source #
A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).
ReplicationRuleAndOperator
data ReplicationRuleAndOperator Source #
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
- If you specify both a
Prefixand aTagfilter, wrap these filters in anAndtag. - If you specify a filter based on multiple tags, wrap the
Tagelements in anAndtag.
See: newReplicationRuleAndOperator smart constructor.
Constructors
| ReplicationRuleAndOperator' | |
Instances
newReplicationRuleAndOperator :: ReplicationRuleAndOperator Source #
Create a value of ReplicationRuleAndOperator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:ReplicationRuleAndOperator', replicationRuleAndOperator_prefix - An object key name prefix that identifies the subset of objects to which
the rule applies.
$sel:tags:ReplicationRuleAndOperator', replicationRuleAndOperator_tags - An array of tags containing key and value pairs.
replicationRuleAndOperator_prefix :: Lens' ReplicationRuleAndOperator (Maybe Text) Source #
An object key name prefix that identifies the subset of objects to which the rule applies.
replicationRuleAndOperator_tags :: Lens' ReplicationRuleAndOperator (Maybe [Tag]) Source #
An array of tags containing key and value pairs.
ReplicationRuleFilter
data ReplicationRuleFilter Source #
A filter that identifies the subset of objects to which the replication
rule applies. A Filter must specify exactly one Prefix, Tag, or an
And child element.
See: newReplicationRuleFilter smart constructor.
Constructors
| ReplicationRuleFilter' | |
Fields
| |
Instances
newReplicationRuleFilter :: ReplicationRuleFilter Source #
Create a value of ReplicationRuleFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:and:ReplicationRuleFilter', replicationRuleFilter_and - A container for specifying rule filters. The filters determine the
subset of objects to which the rule applies. This element is required
only if you specify more than one filter. For example:
- If you specify both a
Prefixand aTagfilter, wrap these filters in anAndtag. - If you specify a filter based on multiple tags, wrap the
Tagelements in anAndtag.
ReplicationRuleFilter, replicationRuleFilter_prefix - An object key name prefix that identifies the subset of objects to which
the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:tag:ReplicationRuleFilter', replicationRuleFilter_tag - A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.
replicationRuleFilter_and :: Lens' ReplicationRuleFilter (Maybe ReplicationRuleAndOperator) Source #
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example:
- If you specify both a
Prefixand aTagfilter, wrap these filters in anAndtag. - If you specify a filter based on multiple tags, wrap the
Tagelements in anAndtag.
replicationRuleFilter_prefix :: Lens' ReplicationRuleFilter (Maybe Text) Source #
An object key name prefix that identifies the subset of objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
replicationRuleFilter_tag :: Lens' ReplicationRuleFilter (Maybe Tag) Source #
A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.
ReplicationTime
data ReplicationTime Source #
A container specifying S3 Replication Time Control (S3 RTC) related
information, including whether S3 RTC is enabled and the time when all
objects and operations on objects must be replicated. Must be specified
together with a Metrics block.
See: newReplicationTime smart constructor.
Constructors
| ReplicationTime' | |
Fields
| |
Instances
Arguments
| :: ReplicationTimeStatus | |
| -> ReplicationTimeValue | |
| -> ReplicationTime |
Create a value of ReplicationTime with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ReplicationTime', replicationTime_status - Specifies whether the replication time is enabled.
$sel:time:ReplicationTime', replicationTime_time - A container specifying the time by which replication should be complete
for all objects and operations on objects.
replicationTime_status :: Lens' ReplicationTime ReplicationTimeStatus Source #
Specifies whether the replication time is enabled.
replicationTime_time :: Lens' ReplicationTime ReplicationTimeValue Source #
A container specifying the time by which replication should be complete for all objects and operations on objects.
ReplicationTimeValue
data ReplicationTimeValue Source #
A container specifying the time value for S3 Replication Time Control
(S3 RTC) and replication metrics EventThreshold.
See: newReplicationTimeValue smart constructor.
Constructors
| ReplicationTimeValue' | |
Instances
newReplicationTimeValue :: ReplicationTimeValue Source #
Create a value of ReplicationTimeValue with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:minutes:ReplicationTimeValue', replicationTimeValue_minutes - Contains an integer specifying time in minutes.
Valid value: 15
replicationTimeValue_minutes :: Lens' ReplicationTimeValue (Maybe Int) Source #
Contains an integer specifying time in minutes.
Valid value: 15
RequestPaymentConfiguration
data RequestPaymentConfiguration Source #
Container for Payer.
See: newRequestPaymentConfiguration smart constructor.
Constructors
| RequestPaymentConfiguration' | |
Instances
newRequestPaymentConfiguration Source #
Create a value of RequestPaymentConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:payer:RequestPaymentConfiguration', requestPaymentConfiguration_payer - Specifies who pays for the download and request fees.
requestPaymentConfiguration_payer :: Lens' RequestPaymentConfiguration Payer Source #
Specifies who pays for the download and request fees.
RequestProgress
data RequestProgress Source #
Container for specifying if periodic QueryProgress messages should be
sent.
See: newRequestProgress smart constructor.
Constructors
| RequestProgress' | |
Instances
newRequestProgress :: RequestProgress Source #
Create a value of RequestProgress with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:RequestProgress', requestProgress_enabled - Specifies whether periodic QueryProgress frames should be sent. Valid
values: TRUE, FALSE. Default value: FALSE.
requestProgress_enabled :: Lens' RequestProgress (Maybe Bool) Source #
Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE, FALSE. Default value: FALSE.
RestoreRequest
data RestoreRequest Source #
Container for restore job parameters.
See: newRestoreRequest smart constructor.
Constructors
| RestoreRequest' | |
Fields
| |
Instances
newRestoreRequest :: RestoreRequest Source #
Create a value of RestoreRequest with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:days:RestoreRequest', restoreRequest_days - Lifetime of the active copy in days. Do not use with restores that
specify OutputLocation.
The Days element is required for regular restores, and must not be provided for select requests.
$sel:description:RestoreRequest', restoreRequest_description - The optional description for the job.
$sel:glacierJobParameters:RestoreRequest', restoreRequest_glacierJobParameters - S3 Glacier related parameters pertaining to this job. Do not use with
restores that specify OutputLocation.
$sel:outputLocation:RestoreRequest', restoreRequest_outputLocation - Describes the location where the restore job's output is stored.
$sel:selectParameters:RestoreRequest', restoreRequest_selectParameters - Describes the parameters for Select job types.
RestoreRequest, restoreRequest_tier - Retrieval tier at which the restore will be processed.
$sel:type':RestoreRequest', restoreRequest_type - Type of restore request.
restoreRequest_days :: Lens' RestoreRequest (Maybe Int) Source #
Lifetime of the active copy in days. Do not use with restores that
specify OutputLocation.
The Days element is required for regular restores, and must not be provided for select requests.
restoreRequest_description :: Lens' RestoreRequest (Maybe Text) Source #
The optional description for the job.
restoreRequest_glacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters) Source #
S3 Glacier related parameters pertaining to this job. Do not use with
restores that specify OutputLocation.
restoreRequest_outputLocation :: Lens' RestoreRequest (Maybe OutputLocation) Source #
Describes the location where the restore job's output is stored.
restoreRequest_selectParameters :: Lens' RestoreRequest (Maybe SelectParameters) Source #
Describes the parameters for Select job types.
restoreRequest_tier :: Lens' RestoreRequest (Maybe Tier) Source #
Retrieval tier at which the restore will be processed.
restoreRequest_type :: Lens' RestoreRequest (Maybe RestoreRequestType) Source #
Type of restore request.
RoutingRule
data RoutingRule Source #
Specifies the redirect behavior and when a redirect is applied. For more information about routing rules, see Configuring advanced conditional redirects in the Amazon S3 User Guide.
See: newRoutingRule smart constructor.
Constructors
| RoutingRule' | |
Fields
| |
Instances
Arguments
| :: Redirect | |
| -> RoutingRule |
Create a value of RoutingRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:condition:RoutingRule', routingRule_condition - A container for describing a condition that must be met for the
specified redirect to apply. For example, 1. If request is for pages in
the /docs folder, redirect to the /documents folder. 2. If request
results in HTTP error 4xx, redirect request to another host where you
might process the error.
$sel:redirect:RoutingRule', routingRule_redirect - Container for redirect information. You can redirect requests to another
host, to another page, or with another protocol. In the event of an
error, you can specify a different error code to return.
routingRule_condition :: Lens' RoutingRule (Maybe Condition) Source #
A container for describing a condition that must be met for the
specified redirect to apply. For example, 1. If request is for pages in
the /docs folder, redirect to the /documents folder. 2. If request
results in HTTP error 4xx, redirect request to another host where you
might process the error.
routingRule_redirect :: Lens' RoutingRule Redirect Source #
Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can specify a different error code to return.
S3KeyFilter
data S3KeyFilter Source #
A container for object key name prefix and suffix filtering rules.
See: newS3KeyFilter smart constructor.
Constructors
| S3KeyFilter' | |
Fields
| |
Instances
newS3KeyFilter :: S3KeyFilter Source #
Create a value of S3KeyFilter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filterRules:S3KeyFilter', s3KeyFilter_filterRules - Undocumented member.
s3KeyFilter_filterRules :: Lens' S3KeyFilter (Maybe [FilterRule]) Source #
Undocumented member.
S3Location
data S3Location Source #
Describes an Amazon S3 location that will receive the results of the restore request.
See: newS3Location smart constructor.
Constructors
| S3Location' | |
Fields
| |
Instances
Create a value of S3Location with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessControlList:S3Location', s3Location_accessControlList - A list of grants that control access to the staged results.
$sel:cannedACL:S3Location', s3Location_cannedACL - The canned ACL to apply to the restore results.
$sel:encryption:S3Location', s3Location_encryption - Undocumented member.
$sel:storageClass:S3Location', s3Location_storageClass - The class of storage used to store the restore results.
$sel:tagging:S3Location', s3Location_tagging - The tag-set that is applied to the restore results.
$sel:userMetadata:S3Location', s3Location_userMetadata - A list of metadata to store with the restore results in S3.
$sel:bucketName:S3Location', s3Location_bucketName - The name of the bucket where the restore results will be placed.
$sel:prefix:S3Location', s3Location_prefix - The prefix that is prepended to the restore results for this request.
s3Location_accessControlList :: Lens' S3Location (Maybe [Grant]) Source #
A list of grants that control access to the staged results.
s3Location_cannedACL :: Lens' S3Location (Maybe ObjectCannedACL) Source #
The canned ACL to apply to the restore results.
s3Location_encryption :: Lens' S3Location (Maybe Encryption) Source #
Undocumented member.
s3Location_storageClass :: Lens' S3Location (Maybe StorageClass) Source #
The class of storage used to store the restore results.
s3Location_tagging :: Lens' S3Location (Maybe Tagging) Source #
The tag-set that is applied to the restore results.
s3Location_userMetadata :: Lens' S3Location (Maybe [MetadataEntry]) Source #
A list of metadata to store with the restore results in S3.
s3Location_bucketName :: Lens' S3Location BucketName Source #
The name of the bucket where the restore results will be placed.
s3Location_prefix :: Lens' S3Location Text Source #
The prefix that is prepended to the restore results for this request.
S3ServiceError
data S3ServiceError Source #
Container for all error elements.
See: newS3ServiceError smart constructor.
Constructors
| S3ServiceError' | |
Fields
| |
Instances
newS3ServiceError :: S3ServiceError Source #
Create a value of S3ServiceError with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:S3ServiceError', s3ServiceError_code - The error code is a string that uniquely identifies an error condition.
It is meant to be read and understood by programs that detect and handle
errors by type.
Amazon S3 error codes
- Code: AccessDenied
- Description: Access Denied
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: AccountProblem
- Description: There is a problem with your Amazon Web Services account that prevents the action from completing successfully. Contact Amazon Web Services Support for further assistance.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: AllAccessDisabled
- Description: All access to this Amazon S3 resource has been disabled. Contact Amazon Web Services Support for further assistance.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: AmbiguousGrantByEmailAddress
- Description: The email address you provided is associated with more than one account.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: AuthorizationHeaderMalformed
- Description: The authorization header you provided is invalid.
- HTTP Status Code: 400 Bad Request
- HTTP Status Code: N/A
- Code: BadDigest
- Description: The Content-MD5 you specified did not match what we received.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: BucketAlreadyExists
- Description: The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: BucketAlreadyOwnedByYou
- Description: The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
- Code: 409 Conflict (in all Regions except the North Virginia Region)
- SOAP Fault Code Prefix: Client
- Code: BucketNotEmpty
- Description: The bucket you tried to delete is not empty.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: CredentialsNotSupported
- Description: This request does not support credentials.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: CrossLocationLoggingProhibited
- Description: Cross-location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another location.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: EntityTooSmall
- Description: Your proposed upload is smaller than the minimum allowed object size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: EntityTooLarge
- Description: Your proposed upload exceeds the maximum allowed object size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: ExpiredToken
- Description: The provided token has expired.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: IllegalVersioningConfigurationException
- Description: Indicates that the versioning configuration specified in the request is invalid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: IncompleteBody
- Description: You did not provide the number of bytes specified by the Content-Length HTTP header
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: IncorrectNumberOfFilesInPostRequest
- Description: POST requires exactly one file upload per request.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InlineDataTooLarge
- Description: Inline data exceeds the maximum allowed size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InternalError
- Description: We encountered an internal error. Please try again.
- HTTP Status Code: 500 Internal Server Error
- SOAP Fault Code Prefix: Server
- Code: InvalidAccessKeyId
- Description: The Amazon Web Services access key ID you provided does not exist in our records.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidAddressingHeader
- Description: You must specify the Anonymous role.
- HTTP Status Code: N/A
- SOAP Fault Code Prefix: Client
- Code: InvalidArgument
- Description: Invalid Argument
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidBucketName
- Description: The specified bucket is not valid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidBucketState
- Description: The request is not valid with the current state of the bucket.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: InvalidDigest
- Description: The Content-MD5 you specified is not valid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidEncryptionAlgorithmError
- Description: The encryption request you specified is not valid. The valid value is AES256.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidLocationConstraint
- Description: The specified location constraint is not valid. For more information about Regions, see How to Select a Region for Your Buckets.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidObjectState
- Description: The action is not valid for the current state of the object.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidPart
- Description: One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidPartOrder
- Description: The list of parts was not in ascending order. Parts list must be specified in order by part number.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidPayer
- Description: All access to this object has been disabled. Please contact Amazon Web Services Support for further assistance.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidPolicyDocument
- Description: The content of the form does not meet the conditions specified in the policy document.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidRange
- Description: The requested range cannot be satisfied.
- HTTP Status Code: 416 Requested Range Not Satisfiable
- SOAP Fault Code Prefix: Client
- Code: InvalidRequest
- Description: Please use
AWS4-HMAC-SHA256. - HTTP Status Code: 400 Bad Request
- Code: N/A
- Description: Please use
- Code: InvalidRequest
- Description: SOAP requests must be made over an HTTPS connection.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration is not supported for buckets with non-DNS compliant names.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration is not supported for buckets with periods (.) in their names.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Accelerate endpoint only supports virtual style requests.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Accelerate is not configured on this bucket.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Accelerate is disabled on this bucket.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration is not supported on this bucket. Contact Amazon Web Services Support for more information.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration cannot be enabled on this bucket. Contact Amazon Web Services Support for more information.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidSecurity
- Description: The provided security credentials are not valid.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidSOAPRequest
- Description: The SOAP request body is invalid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidStorageClass
- Description: The storage class you specified is not valid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidTargetBucketForLogging
- Description: The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidToken
- Description: The provided token is malformed or otherwise invalid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidURI
- Description: Couldn't parse the specified URI.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: KeyTooLongError
- Description: Your key is too long.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MalformedACLError
- Description: The XML you provided was not well-formed or did not validate against our published schema.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MalformedPOSTRequest
- Description: The body of your POST request is not well-formed multipart/form-data.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MalformedXML
- Description: This happens when the user sends malformed XML (XML that doesn't conform to the published XSD) for the configuration. The error message is, "The XML you provided was not well-formed or did not validate against our published schema."
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MaxMessageLengthExceeded
- Description: Your request was too big.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MaxPostPreDataLengthExceededError
- Description: Your POST request fields preceding the upload file were too large.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MetadataTooLarge
- Description: Your metadata headers exceed the maximum allowed metadata size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MethodNotAllowed
- Description: The specified method is not allowed against this resource.
- HTTP Status Code: 405 Method Not Allowed
- SOAP Fault Code Prefix: Client
- Code: MissingAttachment
- Description: A SOAP attachment was expected, but none were found.
- HTTP Status Code: N/A
- SOAP Fault Code Prefix: Client
- Code: MissingContentLength
- Description: You must provide the Content-Length HTTP header.
- HTTP Status Code: 411 Length Required
- SOAP Fault Code Prefix: Client
- Code: MissingRequestBodyError
- Description: This happens when the user sends an empty XML document as a request. The error message is, "Request body is empty."
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MissingSecurityElement
- Description: The SOAP 1.1 request is missing a security element.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MissingSecurityHeader
- Description: Your request is missing a required header.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: NoLoggingStatusForKey
- Description: There is no such thing as a logging status subresource for a key.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: NoSuchBucket
- Description: The specified bucket does not exist.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchBucketPolicy
- Description: The specified bucket does not have a bucket policy.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchKey
- Description: The specified key does not exist.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchLifecycleConfiguration
- Description: The lifecycle configuration does not exist.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchUpload
- Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchVersion
- Description: Indicates that the version ID specified in the request does not match an existing version.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NotImplemented
- Description: A header you provided implies functionality that is not implemented.
- HTTP Status Code: 501 Not Implemented
- SOAP Fault Code Prefix: Server
- Code: NotSignedUp
- Description: Your account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: Amazon S3
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: OperationAborted
- Description: A conflicting conditional action is currently in progress against this resource. Try again.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: PermanentRedirect
- Description: The bucket you are attempting to access must be addressed using the specified endpoint. Send all future requests to this endpoint.
- HTTP Status Code: 301 Moved Permanently
- SOAP Fault Code Prefix: Client
- Code: PreconditionFailed
- Description: At least one of the preconditions you specified did not hold.
- HTTP Status Code: 412 Precondition Failed
- SOAP Fault Code Prefix: Client
- Code: Redirect
- Description: Temporary redirect.
- HTTP Status Code: 307 Moved Temporarily
- SOAP Fault Code Prefix: Client
- Code: RestoreAlreadyInProgress
- Description: Object restore is already in progress.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: RequestIsNotMultiPartContent
- Description: Bucket POST must be of the enclosure-type multipart/form-data.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: RequestTimeout
- Description: Your socket connection to the server was not read from or written to within the timeout period.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: RequestTimeTooSkewed
- Description: The difference between the request time and the server's time is too large.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: RequestTorrentOfBucketError
- Description: Requesting the torrent file of a bucket is not permitted.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: SignatureDoesNotMatch
- Description: The request signature we calculated does not match the signature you provided. Check your Amazon Web Services secret access key and signing method. For more information, see REST Authentication and SOAP Authentication for details.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: ServiceUnavailable
- Description: Reduce your request rate.
- HTTP Status Code: 503 Service Unavailable
- SOAP Fault Code Prefix: Server
- Code: SlowDown
- Description: Reduce your request rate.
- HTTP Status Code: 503 Slow Down
- SOAP Fault Code Prefix: Server
- Code: TemporaryRedirect
- Description: You are being redirected to the bucket while DNS updates.
- HTTP Status Code: 307 Moved Temporarily
- SOAP Fault Code Prefix: Client
- Code: TokenRefreshRequired
- Description: The provided token must be refreshed.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: TooManyBuckets
- Description: You have attempted to create more buckets than allowed.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: UnexpectedContent
- Description: This request does not support content.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: UnresolvableGrantByEmailAddress
- Description: The email address you provided does not match any account on record.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: UserKeyMustBeSpecified
- Description: The bucket POST must contain the specified field name. If it is specified, check the order of the fields.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
$sel:key:S3ServiceError', s3ServiceError_key - The error key.
$sel:message:S3ServiceError', s3ServiceError_message - The error message contains a generic description of the error condition
in English. It is intended for a human audience. Simple programs display
the message directly to the end user if they encounter an error
condition they don't know how or don't care to handle. Sophisticated
programs with more exhaustive error handling and proper
internationalization are more likely to ignore the error message.
$sel:versionId:S3ServiceError', s3ServiceError_versionId - The version ID of the error.
s3ServiceError_code :: Lens' S3ServiceError (Maybe Text) Source #
The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.
Amazon S3 error codes
- Code: AccessDenied
- Description: Access Denied
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: AccountProblem
- Description: There is a problem with your Amazon Web Services account that prevents the action from completing successfully. Contact Amazon Web Services Support for further assistance.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: AllAccessDisabled
- Description: All access to this Amazon S3 resource has been disabled. Contact Amazon Web Services Support for further assistance.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: AmbiguousGrantByEmailAddress
- Description: The email address you provided is associated with more than one account.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: AuthorizationHeaderMalformed
- Description: The authorization header you provided is invalid.
- HTTP Status Code: 400 Bad Request
- HTTP Status Code: N/A
- Code: BadDigest
- Description: The Content-MD5 you specified did not match what we received.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: BucketAlreadyExists
- Description: The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: BucketAlreadyOwnedByYou
- Description: The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
- Code: 409 Conflict (in all Regions except the North Virginia Region)
- SOAP Fault Code Prefix: Client
- Code: BucketNotEmpty
- Description: The bucket you tried to delete is not empty.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: CredentialsNotSupported
- Description: This request does not support credentials.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: CrossLocationLoggingProhibited
- Description: Cross-location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another location.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: EntityTooSmall
- Description: Your proposed upload is smaller than the minimum allowed object size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: EntityTooLarge
- Description: Your proposed upload exceeds the maximum allowed object size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: ExpiredToken
- Description: The provided token has expired.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: IllegalVersioningConfigurationException
- Description: Indicates that the versioning configuration specified in the request is invalid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: IncompleteBody
- Description: You did not provide the number of bytes specified by the Content-Length HTTP header
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: IncorrectNumberOfFilesInPostRequest
- Description: POST requires exactly one file upload per request.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InlineDataTooLarge
- Description: Inline data exceeds the maximum allowed size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InternalError
- Description: We encountered an internal error. Please try again.
- HTTP Status Code: 500 Internal Server Error
- SOAP Fault Code Prefix: Server
- Code: InvalidAccessKeyId
- Description: The Amazon Web Services access key ID you provided does not exist in our records.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidAddressingHeader
- Description: You must specify the Anonymous role.
- HTTP Status Code: N/A
- SOAP Fault Code Prefix: Client
- Code: InvalidArgument
- Description: Invalid Argument
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidBucketName
- Description: The specified bucket is not valid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidBucketState
- Description: The request is not valid with the current state of the bucket.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: InvalidDigest
- Description: The Content-MD5 you specified is not valid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidEncryptionAlgorithmError
- Description: The encryption request you specified is not valid. The valid value is AES256.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidLocationConstraint
- Description: The specified location constraint is not valid. For more information about Regions, see How to Select a Region for Your Buckets.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidObjectState
- Description: The action is not valid for the current state of the object.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidPart
- Description: One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidPartOrder
- Description: The list of parts was not in ascending order. Parts list must be specified in order by part number.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidPayer
- Description: All access to this object has been disabled. Please contact Amazon Web Services Support for further assistance.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidPolicyDocument
- Description: The content of the form does not meet the conditions specified in the policy document.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidRange
- Description: The requested range cannot be satisfied.
- HTTP Status Code: 416 Requested Range Not Satisfiable
- SOAP Fault Code Prefix: Client
- Code: InvalidRequest
- Description: Please use
AWS4-HMAC-SHA256. - HTTP Status Code: 400 Bad Request
- Code: N/A
- Description: Please use
- Code: InvalidRequest
- Description: SOAP requests must be made over an HTTPS connection.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration is not supported for buckets with non-DNS compliant names.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration is not supported for buckets with periods (.) in their names.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Accelerate endpoint only supports virtual style requests.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Accelerate is not configured on this bucket.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Accelerate is disabled on this bucket.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration is not supported on this bucket. Contact Amazon Web Services Support for more information.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidRequest
- Description: Amazon S3 Transfer Acceleration cannot be enabled on this bucket. Contact Amazon Web Services Support for more information.
- HTTP Status Code: 400 Bad Request
- Code: N/A
- Code: InvalidSecurity
- Description: The provided security credentials are not valid.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: InvalidSOAPRequest
- Description: The SOAP request body is invalid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidStorageClass
- Description: The storage class you specified is not valid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidTargetBucketForLogging
- Description: The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidToken
- Description: The provided token is malformed or otherwise invalid.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: InvalidURI
- Description: Couldn't parse the specified URI.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: KeyTooLongError
- Description: Your key is too long.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MalformedACLError
- Description: The XML you provided was not well-formed or did not validate against our published schema.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MalformedPOSTRequest
- Description: The body of your POST request is not well-formed multipart/form-data.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MalformedXML
- Description: This happens when the user sends malformed XML (XML that doesn't conform to the published XSD) for the configuration. The error message is, "The XML you provided was not well-formed or did not validate against our published schema."
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MaxMessageLengthExceeded
- Description: Your request was too big.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MaxPostPreDataLengthExceededError
- Description: Your POST request fields preceding the upload file were too large.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MetadataTooLarge
- Description: Your metadata headers exceed the maximum allowed metadata size.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MethodNotAllowed
- Description: The specified method is not allowed against this resource.
- HTTP Status Code: 405 Method Not Allowed
- SOAP Fault Code Prefix: Client
- Code: MissingAttachment
- Description: A SOAP attachment was expected, but none were found.
- HTTP Status Code: N/A
- SOAP Fault Code Prefix: Client
- Code: MissingContentLength
- Description: You must provide the Content-Length HTTP header.
- HTTP Status Code: 411 Length Required
- SOAP Fault Code Prefix: Client
- Code: MissingRequestBodyError
- Description: This happens when the user sends an empty XML document as a request. The error message is, "Request body is empty."
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MissingSecurityElement
- Description: The SOAP 1.1 request is missing a security element.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: MissingSecurityHeader
- Description: Your request is missing a required header.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: NoLoggingStatusForKey
- Description: There is no such thing as a logging status subresource for a key.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: NoSuchBucket
- Description: The specified bucket does not exist.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchBucketPolicy
- Description: The specified bucket does not have a bucket policy.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchKey
- Description: The specified key does not exist.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchLifecycleConfiguration
- Description: The lifecycle configuration does not exist.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchUpload
- Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NoSuchVersion
- Description: Indicates that the version ID specified in the request does not match an existing version.
- HTTP Status Code: 404 Not Found
- SOAP Fault Code Prefix: Client
- Code: NotImplemented
- Description: A header you provided implies functionality that is not implemented.
- HTTP Status Code: 501 Not Implemented
- SOAP Fault Code Prefix: Server
- Code: NotSignedUp
- Description: Your account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: Amazon S3
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: OperationAborted
- Description: A conflicting conditional action is currently in progress against this resource. Try again.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: PermanentRedirect
- Description: The bucket you are attempting to access must be addressed using the specified endpoint. Send all future requests to this endpoint.
- HTTP Status Code: 301 Moved Permanently
- SOAP Fault Code Prefix: Client
- Code: PreconditionFailed
- Description: At least one of the preconditions you specified did not hold.
- HTTP Status Code: 412 Precondition Failed
- SOAP Fault Code Prefix: Client
- Code: Redirect
- Description: Temporary redirect.
- HTTP Status Code: 307 Moved Temporarily
- SOAP Fault Code Prefix: Client
- Code: RestoreAlreadyInProgress
- Description: Object restore is already in progress.
- HTTP Status Code: 409 Conflict
- SOAP Fault Code Prefix: Client
- Code: RequestIsNotMultiPartContent
- Description: Bucket POST must be of the enclosure-type multipart/form-data.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: RequestTimeout
- Description: Your socket connection to the server was not read from or written to within the timeout period.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: RequestTimeTooSkewed
- Description: The difference between the request time and the server's time is too large.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: RequestTorrentOfBucketError
- Description: Requesting the torrent file of a bucket is not permitted.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: SignatureDoesNotMatch
- Description: The request signature we calculated does not match the signature you provided. Check your Amazon Web Services secret access key and signing method. For more information, see REST Authentication and SOAP Authentication for details.
- HTTP Status Code: 403 Forbidden
- SOAP Fault Code Prefix: Client
- Code: ServiceUnavailable
- Description: Reduce your request rate.
- HTTP Status Code: 503 Service Unavailable
- SOAP Fault Code Prefix: Server
- Code: SlowDown
- Description: Reduce your request rate.
- HTTP Status Code: 503 Slow Down
- SOAP Fault Code Prefix: Server
- Code: TemporaryRedirect
- Description: You are being redirected to the bucket while DNS updates.
- HTTP Status Code: 307 Moved Temporarily
- SOAP Fault Code Prefix: Client
- Code: TokenRefreshRequired
- Description: The provided token must be refreshed.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: TooManyBuckets
- Description: You have attempted to create more buckets than allowed.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: UnexpectedContent
- Description: This request does not support content.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: UnresolvableGrantByEmailAddress
- Description: The email address you provided does not match any account on record.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
- Code: UserKeyMustBeSpecified
- Description: The bucket POST must contain the specified field name. If it is specified, check the order of the fields.
- HTTP Status Code: 400 Bad Request
- SOAP Fault Code Prefix: Client
s3ServiceError_key :: Lens' S3ServiceError (Maybe ObjectKey) Source #
The error key.
s3ServiceError_message :: Lens' S3ServiceError (Maybe Text) Source #
The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.
s3ServiceError_versionId :: Lens' S3ServiceError (Maybe ObjectVersionId) Source #
The version ID of the error.
SSEKMS
Specifies the use of SSE-KMS to encrypt delivered inventory reports.
See: newSSEKMS smart constructor.
Constructors
| SSEKMS' | |
Instances
| FromXML SSEKMS Source # | |
| ToXML SSEKMS Source # | |
Defined in Amazonka.S3.Types.SSEKMS | |
| Generic SSEKMS Source # | |
| Show SSEKMS Source # | |
| NFData SSEKMS Source # | |
Defined in Amazonka.S3.Types.SSEKMS | |
| Eq SSEKMS Source # | |
| Hashable SSEKMS Source # | |
Defined in Amazonka.S3.Types.SSEKMS | |
| type Rep SSEKMS Source # | |
Defined in Amazonka.S3.Types.SSEKMS | |
Create a value of SSEKMS with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:keyId:SSEKMS', ssekms_keyId - Specifies the ID of the Amazon Web Services Key Management Service
(Amazon Web Services KMS) symmetric customer managed key to use for
encrypting inventory reports.
ssekms_keyId :: Lens' SSEKMS Text Source #
Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key to use for encrypting inventory reports.
SSES3
Specifies the use of SSE-S3 to encrypt delivered inventory reports.
See: newSSES3 smart constructor.
Constructors
| SSES3' | |
Instances
Create a value of SSES3 with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ScanRange
Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
See: newScanRange smart constructor.
Constructors
| ScanRange' | |
Fields
| |
Instances
| ToXML ScanRange Source # | |
Defined in Amazonka.S3.Types.ScanRange | |
| Generic ScanRange Source # | |
| Read ScanRange Source # | |
| Show ScanRange Source # | |
| NFData ScanRange Source # | |
Defined in Amazonka.S3.Types.ScanRange | |
| Eq ScanRange Source # | |
| Hashable ScanRange Source # | |
Defined in Amazonka.S3.Types.ScanRange | |
| type Rep ScanRange Source # | |
Defined in Amazonka.S3.Types.ScanRange type Rep ScanRange = D1 ('MetaData "ScanRange" "Amazonka.S3.Types.ScanRange" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "ScanRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) | |
newScanRange :: ScanRange Source #
Create a value of ScanRange with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:end:ScanRange', scanRange_end - Specifies the end of the byte range. This parameter is optional. Valid
values: non-negative integers. The default value is one less than the
size of the object being queried. If only the End parameter is supplied,
it is interpreted to mean scan the last N bytes of the file. For
example, <scanrange><end>50</end></scanrange> means scan the
last 50 bytes.
$sel:start:ScanRange', scanRange_start - Specifies the start of the byte range. This parameter is optional. Valid
values: non-negative integers. The default value is 0. If only start
is supplied, it means scan from that point to the end of the file. For
example, <scanrange><start>50</start></scanrange> means scan
from byte 50 until the end of the file.
scanRange_end :: Lens' ScanRange (Maybe Integer) Source #
Specifies the end of the byte range. This parameter is optional. Valid
values: non-negative integers. The default value is one less than the
size of the object being queried. If only the End parameter is supplied,
it is interpreted to mean scan the last N bytes of the file. For
example, <scanrange><end>50</end></scanrange> means scan the
last 50 bytes.
scanRange_start :: Lens' ScanRange (Maybe Integer) Source #
Specifies the start of the byte range. This parameter is optional. Valid
values: non-negative integers. The default value is 0. If only start
is supplied, it means scan from that point to the end of the file. For
example, <scanrange><start>50</start></scanrange> means scan
from byte 50 until the end of the file.
SelectObjectContentEventStream
data SelectObjectContentEventStream Source #
The container for selecting objects from a content event stream.
See: newSelectObjectContentEventStream smart constructor.
Constructors
| SelectObjectContentEventStream' | |
Fields
| |
Instances
newSelectObjectContentEventStream :: SelectObjectContentEventStream Source #
Create a value of SelectObjectContentEventStream with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cont:SelectObjectContentEventStream', selectObjectContentEventStream_cont - The Continuation Event.
$sel:end:SelectObjectContentEventStream', selectObjectContentEventStream_end - The End Event.
$sel:progress:SelectObjectContentEventStream', selectObjectContentEventStream_progress - The Progress Event.
$sel:records:SelectObjectContentEventStream', selectObjectContentEventStream_records - The Records Event.
$sel:stats:SelectObjectContentEventStream', selectObjectContentEventStream_stats - The Stats Event.
selectObjectContentEventStream_cont :: Lens' SelectObjectContentEventStream (Maybe ContinuationEvent) Source #
The Continuation Event.
selectObjectContentEventStream_end :: Lens' SelectObjectContentEventStream (Maybe EndEvent) Source #
The End Event.
selectObjectContentEventStream_progress :: Lens' SelectObjectContentEventStream (Maybe ProgressEvent) Source #
The Progress Event.
selectObjectContentEventStream_records :: Lens' SelectObjectContentEventStream (Maybe RecordsEvent) Source #
The Records Event.
selectObjectContentEventStream_stats :: Lens' SelectObjectContentEventStream (Maybe StatsEvent) Source #
The Stats Event.
SelectParameters
data SelectParameters Source #
Describes the parameters for Select job types.
See: newSelectParameters smart constructor.
Constructors
| SelectParameters' | |
Fields
| |
Instances
Arguments
| :: InputSerialization | |
| -> ExpressionType | |
| -> Text | |
| -> OutputSerialization | |
| -> SelectParameters |
Create a value of SelectParameters with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:inputSerialization:SelectParameters', selectParameters_inputSerialization - Describes the serialization format of the object.
$sel:expressionType:SelectParameters', selectParameters_expressionType - The type of the provided expression (for example, SQL).
$sel:expression:SelectParameters', selectParameters_expression - The expression that is used to query the object.
$sel:outputSerialization:SelectParameters', selectParameters_outputSerialization - Describes how the results of the Select job are serialized.
selectParameters_inputSerialization :: Lens' SelectParameters InputSerialization Source #
Describes the serialization format of the object.
selectParameters_expressionType :: Lens' SelectParameters ExpressionType Source #
The type of the provided expression (for example, SQL).
selectParameters_expression :: Lens' SelectParameters Text Source #
The expression that is used to query the object.
selectParameters_outputSerialization :: Lens' SelectParameters OutputSerialization Source #
Describes how the results of the Select job are serialized.
ServerSideEncryptionByDefault
data ServerSideEncryptionByDefault Source #
Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see PUT Bucket encryption in the Amazon S3 API Reference.
See: newServerSideEncryptionByDefault smart constructor.
Constructors
| ServerSideEncryptionByDefault' | |
Fields
| |
Instances
newServerSideEncryptionByDefault Source #
Arguments
| :: ServerSideEncryption | |
| -> ServerSideEncryptionByDefault |
Create a value of ServerSideEncryptionByDefault with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsMasterKeyID:ServerSideEncryptionByDefault', serverSideEncryptionByDefault_kmsMasterKeyID - Amazon Web Services Key Management Service (KMS) customer Amazon Web
Services KMS key ID to use for the default encryption. This parameter is
allowed if and only if SSEAlgorithm is set to aws:kms.
You can specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if you are using encryption with cross-account or Amazon Web Services service operations you must use a fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations.
For example:
- Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab - Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Amazon S3 only supports symmetric KMS keys and not asymmetric KMS keys. For more information, see Using symmetric and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
$sel:sSEAlgorithm:ServerSideEncryptionByDefault', serverSideEncryptionByDefault_sSEAlgorithm - Server-side encryption algorithm to use for the default encryption.
serverSideEncryptionByDefault_kmsMasterKeyID :: Lens' ServerSideEncryptionByDefault (Maybe Text) Source #
Amazon Web Services Key Management Service (KMS) customer Amazon Web
Services KMS key ID to use for the default encryption. This parameter is
allowed if and only if SSEAlgorithm is set to aws:kms.
You can specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if you are using encryption with cross-account or Amazon Web Services service operations you must use a fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations.
For example:
- Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab - Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Amazon S3 only supports symmetric KMS keys and not asymmetric KMS keys. For more information, see Using symmetric and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
serverSideEncryptionByDefault_sSEAlgorithm :: Lens' ServerSideEncryptionByDefault ServerSideEncryption Source #
Server-side encryption algorithm to use for the default encryption.
ServerSideEncryptionConfiguration
data ServerSideEncryptionConfiguration Source #
Specifies the default server-side-encryption configuration.
See: newServerSideEncryptionConfiguration smart constructor.
Constructors
| ServerSideEncryptionConfiguration' | |
Fields
| |
Instances
newServerSideEncryptionConfiguration :: ServerSideEncryptionConfiguration Source #
Create a value of ServerSideEncryptionConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rules:ServerSideEncryptionConfiguration', serverSideEncryptionConfiguration_rules - Container for information about a particular server-side encryption
configuration rule.
serverSideEncryptionConfiguration_rules :: Lens' ServerSideEncryptionConfiguration [ServerSideEncryptionRule] Source #
Container for information about a particular server-side encryption configuration rule.
ServerSideEncryptionRule
data ServerSideEncryptionRule Source #
Specifies the default server-side encryption configuration.
See: newServerSideEncryptionRule smart constructor.
Constructors
| ServerSideEncryptionRule' | |
Fields
| |
Instances
newServerSideEncryptionRule :: ServerSideEncryptionRule Source #
Create a value of ServerSideEncryptionRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applyServerSideEncryptionByDefault:ServerSideEncryptionRule', serverSideEncryptionRule_applyServerSideEncryptionByDefault - Specifies the default server-side encryption to apply to new objects in
the bucket. If a PUT Object request doesn't specify any server-side
encryption, this default encryption will be applied.
$sel:bucketKeyEnabled:ServerSideEncryptionRule', serverSideEncryptionRule_bucketKeyEnabled - Specifies whether Amazon S3 should use an S3 Bucket Key with server-side
encryption using KMS (SSE-KMS) for new objects in the bucket. Existing
objects are not affected. Setting the BucketKeyEnabled element to
true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket
Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
serverSideEncryptionRule_applyServerSideEncryptionByDefault :: Lens' ServerSideEncryptionRule (Maybe ServerSideEncryptionByDefault) Source #
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
serverSideEncryptionRule_bucketKeyEnabled :: Lens' ServerSideEncryptionRule (Maybe Bool) Source #
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side
encryption using KMS (SSE-KMS) for new objects in the bucket. Existing
objects are not affected. Setting the BucketKeyEnabled element to
true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket
Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
SourceSelectionCriteria
data SourceSelectionCriteria Source #
A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service (SSE-KMS).
See: newSourceSelectionCriteria smart constructor.
Constructors
| SourceSelectionCriteria' | |
Fields
| |
Instances
newSourceSelectionCriteria :: SourceSelectionCriteria Source #
Create a value of SourceSelectionCriteria with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:replicaModifications:SourceSelectionCriteria', sourceSelectionCriteria_replicaModifications - A filter that you can specify for selections for modifications on
replicas. Amazon S3 doesn't replicate replica modifications by default.
In the latest version of replication configuration (when Filter is
specified), you can specify this element and set the status to Enabled
to replicate modifications on replicas.
If you don't specify the Filter element, Amazon S3 assumes that the
replication configuration is the earlier version, V1. In the earlier
version, this element is not allowed
$sel:sseKmsEncryptedObjects:SourceSelectionCriteria', sourceSelectionCriteria_sseKmsEncryptedObjects - A container for filter information for the selection of Amazon S3
objects encrypted with Amazon Web Services KMS. If you include
SourceSelectionCriteria in the replication configuration, this element
is required.
sourceSelectionCriteria_replicaModifications :: Lens' SourceSelectionCriteria (Maybe ReplicaModifications) Source #
A filter that you can specify for selections for modifications on
replicas. Amazon S3 doesn't replicate replica modifications by default.
In the latest version of replication configuration (when Filter is
specified), you can specify this element and set the status to Enabled
to replicate modifications on replicas.
If you don't specify the Filter element, Amazon S3 assumes that the
replication configuration is the earlier version, V1. In the earlier
version, this element is not allowed
sourceSelectionCriteria_sseKmsEncryptedObjects :: Lens' SourceSelectionCriteria (Maybe SseKmsEncryptedObjects) Source #
A container for filter information for the selection of Amazon S3
objects encrypted with Amazon Web Services KMS. If you include
SourceSelectionCriteria in the replication configuration, this element
is required.
SseKmsEncryptedObjects
data SseKmsEncryptedObjects Source #
A container for filter information for the selection of S3 objects encrypted with Amazon Web Services KMS.
See: newSseKmsEncryptedObjects smart constructor.
Constructors
| SseKmsEncryptedObjects' | |
Fields
| |
Instances
newSseKmsEncryptedObjects Source #
Arguments
| :: SseKmsEncryptedObjectsStatus | |
| -> SseKmsEncryptedObjects |
Create a value of SseKmsEncryptedObjects with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:SseKmsEncryptedObjects', sseKmsEncryptedObjects_status - Specifies whether Amazon S3 replicates objects created with server-side
encryption using an Amazon Web Services KMS key stored in Amazon Web
Services Key Management Service.
sseKmsEncryptedObjects_status :: Lens' SseKmsEncryptedObjects SseKmsEncryptedObjectsStatus Source #
Specifies whether Amazon S3 replicates objects created with server-side encryption using an Amazon Web Services KMS key stored in Amazon Web Services Key Management Service.
Stats
Container for the stats details.
See: newStats smart constructor.
Constructors
| Stats' | |
Fields
| |
Instances
| FromXML Stats Source # | |
| Generic Stats Source # | |
| Read Stats Source # | |
| Show Stats Source # | |
| NFData Stats Source # | |
Defined in Amazonka.S3.Types.Stats | |
| Eq Stats Source # | |
| Hashable Stats Source # | |
Defined in Amazonka.S3.Types.Stats | |
| type Rep Stats Source # | |
Defined in Amazonka.S3.Types.Stats type Rep Stats = D1 ('MetaData "Stats" "Amazonka.S3.Types.Stats" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Stats'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytesProcessed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "bytesReturned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "bytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) | |
Create a value of Stats with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bytesProcessed:Stats', stats_bytesProcessed - The total number of uncompressed object bytes processed.
$sel:bytesReturned:Stats', stats_bytesReturned - The total number of bytes of records payload data returned.
$sel:bytesScanned:Stats', stats_bytesScanned - The total number of object bytes scanned.
stats_bytesProcessed :: Lens' Stats (Maybe Integer) Source #
The total number of uncompressed object bytes processed.
stats_bytesReturned :: Lens' Stats (Maybe Integer) Source #
The total number of bytes of records payload data returned.
StatsEvent
data StatsEvent Source #
Container for the Stats Event.
See: newStatsEvent smart constructor.
Constructors
| StatsEvent' | |
Instances
newStatsEvent :: StatsEvent Source #
Create a value of StatsEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:StatsEvent', statsEvent_details - The Stats event details.
statsEvent_details :: Lens' StatsEvent (Maybe Stats) Source #
The Stats event details.
StorageClassAnalysis
data StorageClassAnalysis Source #
Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.
See: newStorageClassAnalysis smart constructor.
Constructors
| StorageClassAnalysis' | |
Fields
| |
Instances
newStorageClassAnalysis :: StorageClassAnalysis Source #
Create a value of StorageClassAnalysis with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dataExport:StorageClassAnalysis', storageClassAnalysis_dataExport - Specifies how data related to the storage class analysis for an Amazon
S3 bucket should be exported.
storageClassAnalysis_dataExport :: Lens' StorageClassAnalysis (Maybe StorageClassAnalysisDataExport) Source #
Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
StorageClassAnalysisDataExport
data StorageClassAnalysisDataExport Source #
Container for data related to the storage class analysis for an Amazon S3 bucket for export.
See: newStorageClassAnalysisDataExport smart constructor.
Constructors
| StorageClassAnalysisDataExport' | |
Fields
| |
Instances
newStorageClassAnalysisDataExport Source #
Arguments
| :: StorageClassAnalysisSchemaVersion | |
| -> AnalyticsExportDestination | |
| -> StorageClassAnalysisDataExport |
Create a value of StorageClassAnalysisDataExport with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:outputSchemaVersion:StorageClassAnalysisDataExport', storageClassAnalysisDataExport_outputSchemaVersion - The version of the output schema to use when exporting data. Must be
V_1.
$sel:destination:StorageClassAnalysisDataExport', storageClassAnalysisDataExport_destination - The place to store the data for an analysis.
storageClassAnalysisDataExport_outputSchemaVersion :: Lens' StorageClassAnalysisDataExport StorageClassAnalysisSchemaVersion Source #
The version of the output schema to use when exporting data. Must be
V_1.
storageClassAnalysisDataExport_destination :: Lens' StorageClassAnalysisDataExport AnalyticsExportDestination Source #
The place to store the data for an analysis.
Tag
A container of a key value name pair.
See: newTag smart constructor.
Instances
| FromXML Tag Source # | |
| ToXML Tag Source # | |
Defined in Amazonka.S3.Types.Tag | |
| Generic Tag Source # | |
| Read Tag Source # | |
| Show Tag Source # | |
| NFData Tag Source # | |
Defined in Amazonka.S3.Types.Tag | |
| Eq Tag Source # | |
| Hashable Tag Source # | |
Defined in Amazonka.S3.Types.Tag | |
| type Rep Tag Source # | |
Defined in Amazonka.S3.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.S3.Types.Tag" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectKey) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Tag with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:Tag', tag_key - Name of the object key.
$sel:value:Tag', tag_value - Value of the tag.
Tagging
Container for TagSet elements.
See: newTagging smart constructor.
Instances
| ToXML Tagging Source # | |
Defined in Amazonka.S3.Types.Tagging | |
| Generic Tagging Source # | |
| Read Tagging Source # | |
| Show Tagging Source # | |
| NFData Tagging Source # | |
Defined in Amazonka.S3.Types.Tagging | |
| Eq Tagging Source # | |
| Hashable Tagging Source # | |
Defined in Amazonka.S3.Types.Tagging | |
| type Rep Tagging Source # | |
Defined in Amazonka.S3.Types.Tagging | |
newTagging :: Tagging Source #
Create a value of Tagging with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagSet:Tagging', tagging_tagSet - A collection for a set of tags
TargetGrant
data TargetGrant Source #
Container for granting information.
Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions server access log delivery in the Amazon S3 User Guide.
See: newTargetGrant smart constructor.
Constructors
| TargetGrant' | |
Fields
| |
Instances
newTargetGrant :: TargetGrant Source #
Create a value of TargetGrant with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:grantee:TargetGrant', targetGrant_grantee - Container for the person being granted permissions.
$sel:permission:TargetGrant', targetGrant_permission - Logging permissions assigned to the grantee for the bucket.
targetGrant_grantee :: Lens' TargetGrant (Maybe Grantee) Source #
Container for the person being granted permissions.
targetGrant_permission :: Lens' TargetGrant (Maybe BucketLogsPermission) Source #
Logging permissions assigned to the grantee for the bucket.
Tiering
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead.
See: newTiering smart constructor.
Constructors
| Tiering' | |
Fields
| |
Instances
| FromXML Tiering Source # | |
| ToXML Tiering Source # | |
Defined in Amazonka.S3.Types.Tiering | |
| Generic Tiering Source # | |
| Read Tiering Source # | |
| Show Tiering Source # | |
| NFData Tiering Source # | |
Defined in Amazonka.S3.Types.Tiering | |
| Eq Tiering Source # | |
| Hashable Tiering Source # | |
Defined in Amazonka.S3.Types.Tiering | |
| type Rep Tiering Source # | |
Defined in Amazonka.S3.Types.Tiering type Rep Tiering = D1 ('MetaData "Tiering" "Amazonka.S3.Types.Tiering" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Tiering'" 'PrefixI 'True) (S1 ('MetaSel ('Just "days") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accessTier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IntelligentTieringAccessTier))) | |
Create a value of Tiering with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:days:Tiering', tiering_days - The number of consecutive days of no access after which an object will
be eligible to be transitioned to the corresponding tier. The minimum
number of days specified for Archive Access tier must be at least 90
days and Deep Archive Access tier must be at least 180 days. The maximum
can be up to 2 years (730 days).
$sel:accessTier:Tiering', tiering_accessTier - S3 Intelligent-Tiering access tier. See
Storage class for automatically optimizing frequently and infrequently accessed objects
for a list of access tiers in the S3 Intelligent-Tiering storage class.
tiering_days :: Lens' Tiering Int Source #
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
tiering_accessTier :: Lens' Tiering IntelligentTieringAccessTier Source #
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
TopicConfiguration
data TopicConfiguration Source #
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.
See: newTopicConfiguration smart constructor.
Constructors
| TopicConfiguration' | |
Fields
| |
Instances
newTopicConfiguration Source #
Arguments
| :: Text | |
| -> TopicConfiguration |
Create a value of TopicConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':TopicConfiguration', topicConfiguration_filter - Undocumented member.
$sel:id:TopicConfiguration', topicConfiguration_id - Undocumented member.
$sel:topicArn:TopicConfiguration', topicConfiguration_topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon
S3 publishes a message when it detects events of the specified type.
$sel:events:TopicConfiguration', topicConfiguration_events - The Amazon S3 bucket event about which to send notifications. For more
information, see
Supported Event Types
in the Amazon S3 User Guide.
topicConfiguration_filter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
topicConfiguration_id :: Lens' TopicConfiguration (Maybe Text) Source #
Undocumented member.
topicConfiguration_topicArn :: Lens' TopicConfiguration Text Source #
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
topicConfiguration_events :: Lens' TopicConfiguration [Event] Source #
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
Transition
data Transition Source #
Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide.
See: newTransition smart constructor.
Constructors
| Transition' | |
Fields
| |
Instances
newTransition :: Transition Source #
Create a value of Transition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:date:Transition', transition_date - Indicates when objects are transitioned to the specified storage class.
The date value must be in ISO 8601 format. The time is always midnight
UTC.
$sel:days:Transition', transition_days - Indicates the number of days after creation when objects are
transitioned to the specified storage class. The value must be a
positive integer.
$sel:storageClass:Transition', transition_storageClass - The storage class to which you want the object to transition.
transition_date :: Lens' Transition (Maybe UTCTime) Source #
Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.
transition_days :: Lens' Transition (Maybe Int) Source #
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
transition_storageClass :: Lens' Transition (Maybe TransitionStorageClass) Source #
The storage class to which you want the object to transition.
VersioningConfiguration
data VersioningConfiguration Source #
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon S3 API Reference.
See: newVersioningConfiguration smart constructor.
Constructors
| VersioningConfiguration' | |
Fields
| |
Instances
newVersioningConfiguration :: VersioningConfiguration Source #
Create a value of VersioningConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mfaDelete:VersioningConfiguration', versioningConfiguration_mfaDelete - Specifies whether MFA delete is enabled in the bucket versioning
configuration. This element is only returned if the bucket has been
configured with MFA delete. If the bucket has never been so configured,
this element is not returned.
$sel:status:VersioningConfiguration', versioningConfiguration_status - The versioning state of the bucket.
versioningConfiguration_mfaDelete :: Lens' VersioningConfiguration (Maybe MFADelete) Source #
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
versioningConfiguration_status :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus) Source #
The versioning state of the bucket.
WebsiteConfiguration
data WebsiteConfiguration Source #
Specifies website configuration parameters for an Amazon S3 bucket.
See: newWebsiteConfiguration smart constructor.
Constructors
| WebsiteConfiguration' | |
Fields
| |
Instances
newWebsiteConfiguration :: WebsiteConfiguration Source #
Create a value of WebsiteConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorDocument:WebsiteConfiguration', websiteConfiguration_errorDocument - The name of the error document for the website.
$sel:indexDocument:WebsiteConfiguration', websiteConfiguration_indexDocument - The name of the index document for the website.
$sel:redirectAllRequestsTo:WebsiteConfiguration', websiteConfiguration_redirectAllRequestsTo - The redirect behavior for every request to this bucket's website
endpoint.
If you specify this property, you can't specify any other property.
$sel:routingRules:WebsiteConfiguration', websiteConfiguration_routingRules - Rules that define when a redirect is applied and the redirect behavior.
websiteConfiguration_errorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument) Source #
The name of the error document for the website.
websiteConfiguration_indexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument) Source #
The name of the index document for the website.
websiteConfiguration_redirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo) Source #
The redirect behavior for every request to this bucket's website endpoint.
If you specify this property, you can't specify any other property.
websiteConfiguration_routingRules :: Lens' WebsiteConfiguration (Maybe [RoutingRule]) Source #
Rules that define when a redirect is applied and the redirect behavior.