Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.S3.Types
Contents
- Service Configuration
- Errors
- Re-exported Types
- Bucket Location
- Object Key
- Website Endpoints
- AnalyticsS3ExportFileFormat
- BucketAccelerateStatus
- BucketCannedACL
- BucketLogsPermission
- BucketVersioningStatus
- EncodingType
- Event
- ExpirationStatus
- FilterRuleName
- InventoryFormat
- InventoryFrequency
- InventoryIncludedObjectVersions
- InventoryOptionalField
- MFADelete
- MFADeleteStatus
- MetadataDirective
- ObjectCannedACL
- ObjectStorageClass
- ObjectVersionStorageClass
- OwnerOverride
- Payer
- Permission
- Protocol
- ReplicationRuleStatus
- ReplicationStatus
- RequestCharged
- RequestPayer
- ServerSideEncryption
- SseKMSEncryptedObjectsStatus
- StorageClass
- StorageClassAnalysisSchemaVersion
- TaggingDirective
- Tier
- TransitionStorageClass
- Type
- AbortIncompleteMultipartUpload
- AccelerateConfiguration
- AccessControlPolicy
- AccessControlTranslation
- AnalyticsAndOperator
- AnalyticsConfiguration
- AnalyticsExportDestination
- AnalyticsFilter
- AnalyticsS3BucketDestination
- Bucket
- BucketLifecycleConfiguration
- BucketLoggingStatus
- CORSConfiguration
- CORSRule
- CommonPrefix
- CompletedMultipartUpload
- CompletedPart
- Condition
- CopyObjectResult
- CopyPartResult
- CreateBucketConfiguration
- Delete
- DeleteMarkerEntry
- DeletedObject
- Destination
- EncryptionConfiguration
- ErrorDocument
- FilterRule
- GlacierJobParameters
- Grant
- Grantee
- IndexDocument
- Initiator
- InventoryConfiguration
- InventoryDestination
- InventoryEncryption
- InventoryFilter
- InventoryS3BucketDestination
- InventorySchedule
- LambdaFunctionConfiguration
- LifecycleExpiration
- LifecycleRule
- LifecycleRuleAndOperator
- LifecycleRuleFilter
- LoggingEnabled
- MetricsAndOperator
- MetricsConfiguration
- MetricsFilter
- MultipartUpload
- NoncurrentVersionExpiration
- NoncurrentVersionTransition
- NotificationConfiguration
- NotificationConfigurationFilter
- Object
- ObjectIdentifier
- ObjectVersion
- Owner
- Part
- QueueConfiguration
- Redirect
- RedirectAllRequestsTo
- ReplicationConfiguration
- ReplicationRule
- RequestPaymentConfiguration
- RestoreRequest
- RoutingRule
- S3KeyFilter
- S3ServiceError
- SSEKMS
- SSES3
- ServerSideEncryptionByDefault
- ServerSideEncryptionConfiguration
- ServerSideEncryptionRule
- SourceSelectionCriteria
- SseKMSEncryptedObjects
- StorageClassAnalysis
- StorageClassAnalysisDataExport
- Tag
- Tagging
- TargetGrant
- TopicConfiguration
- Transition
- VersioningConfiguration
- WebsiteConfiguration
Description
- s3 :: Service
- _BucketAlreadyOwnedByYou :: AsError a => Getting (First ServiceError) a ServiceError
- _ObjectAlreadyInActiveTierError :: AsError a => Getting (First ServiceError) a ServiceError
- _BucketAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _ObjectNotInActiveTierError :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchUpload :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchBucket :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchKey :: AsError a => Getting (First ServiceError) a ServiceError
- data Region :: *
- newtype BucketName = BucketName Text
- newtype ETag = ETag ByteString
- newtype ObjectVersionId = ObjectVersionId Text
- newtype LocationConstraint = LocationConstraint {}
- _LocationConstraint :: Iso' LocationConstraint Region
- type Delimiter = Char
- newtype ObjectKey = ObjectKey Text
- _ObjectKey :: Iso' ObjectKey Text
- keyPrefix :: Delimiter -> Traversal' ObjectKey Text
- keyName :: Delimiter -> Traversal' ObjectKey Text
- keyComponents :: Delimiter -> IndexedTraversal' Int ObjectKey Text
- getWebsiteEndpoint :: Region -> Text
- data AnalyticsS3ExportFileFormat = CSV
- data BucketAccelerateStatus
- data BucketCannedACL
- data BucketLogsPermission
- = FullControl
- | Read
- | Write
- data BucketVersioningStatus
- data EncodingType = URL
- data Event
- data ExpirationStatus
- data FilterRuleName
- data InventoryFormat = IFCSV
- data InventoryFrequency
- data InventoryIncludedObjectVersions
- data InventoryOptionalField
- data MFADelete
- data MFADeleteStatus
- data MetadataDirective
- data ObjectCannedACL
- data ObjectStorageClass
- data ObjectVersionStorageClass = OVSCStandard
- data OwnerOverride = Destination
- data Payer
- data Permission
- = PFullControl
- | PRead
- | PReadAcp
- | PWrite
- | PWriteAcp
- data Protocol
- data ReplicationRuleStatus
- data ReplicationStatus
- data RequestCharged = RCRequester
- data RequestPayer = RPRequester
- data ServerSideEncryption
- data SseKMSEncryptedObjectsStatus
- data StorageClass
- data StorageClassAnalysisSchemaVersion = V1
- data TaggingDirective
- data Tier
- = TBulk
- | TExpedited
- | TStandard
- data TransitionStorageClass
- data Type
- data AbortIncompleteMultipartUpload
- abortIncompleteMultipartUpload :: AbortIncompleteMultipartUpload
- aimuDaysAfterInitiation :: Lens' AbortIncompleteMultipartUpload (Maybe Int)
- data AccelerateConfiguration
- accelerateConfiguration :: AccelerateConfiguration
- acStatus :: Lens' AccelerateConfiguration (Maybe BucketAccelerateStatus)
- data AccessControlPolicy
- accessControlPolicy :: AccessControlPolicy
- acpGrants :: Lens' AccessControlPolicy [Grant]
- acpOwner :: Lens' AccessControlPolicy (Maybe Owner)
- data AccessControlTranslation
- accessControlTranslation :: OwnerOverride -> AccessControlTranslation
- actOwner :: Lens' AccessControlTranslation OwnerOverride
- data AnalyticsAndOperator
- analyticsAndOperator :: AnalyticsAndOperator
- aaoPrefix :: Lens' AnalyticsAndOperator (Maybe Text)
- aaoTags :: Lens' AnalyticsAndOperator [Tag]
- data AnalyticsConfiguration
- analyticsConfiguration :: Text -> StorageClassAnalysis -> AnalyticsConfiguration
- acFilter :: Lens' AnalyticsConfiguration (Maybe AnalyticsFilter)
- acId :: Lens' AnalyticsConfiguration Text
- acStorageClassAnalysis :: Lens' AnalyticsConfiguration StorageClassAnalysis
- data AnalyticsExportDestination
- analyticsExportDestination :: AnalyticsS3BucketDestination -> AnalyticsExportDestination
- aedS3BucketDestination :: Lens' AnalyticsExportDestination AnalyticsS3BucketDestination
- data AnalyticsFilter
- analyticsFilter :: AnalyticsFilter
- afTag :: Lens' AnalyticsFilter (Maybe Tag)
- afPrefix :: Lens' AnalyticsFilter (Maybe Text)
- afAnd :: Lens' AnalyticsFilter (Maybe AnalyticsAndOperator)
- data AnalyticsS3BucketDestination
- analyticsS3BucketDestination :: AnalyticsS3ExportFileFormat -> BucketName -> AnalyticsS3BucketDestination
- asbdBucketAccountId :: Lens' AnalyticsS3BucketDestination (Maybe Text)
- asbdPrefix :: Lens' AnalyticsS3BucketDestination (Maybe Text)
- asbdFormat :: Lens' AnalyticsS3BucketDestination AnalyticsS3ExportFileFormat
- asbdBucket :: Lens' AnalyticsS3BucketDestination BucketName
- data Bucket
- bucket :: UTCTime -> BucketName -> Bucket
- bCreationDate :: Lens' Bucket UTCTime
- bName :: Lens' Bucket BucketName
- data BucketLifecycleConfiguration
- bucketLifecycleConfiguration :: BucketLifecycleConfiguration
- blcRules :: Lens' BucketLifecycleConfiguration [LifecycleRule]
- data BucketLoggingStatus
- bucketLoggingStatus :: BucketLoggingStatus
- blsLoggingEnabled :: Lens' BucketLoggingStatus (Maybe LoggingEnabled)
- data CORSConfiguration
- corsConfiguration :: CORSConfiguration
- ccCORSRules :: Lens' CORSConfiguration [CORSRule]
- data CORSRule
- corsRule :: CORSRule
- crMaxAgeSeconds :: Lens' CORSRule (Maybe Int)
- crAllowedHeaders :: Lens' CORSRule [Text]
- crExposeHeaders :: Lens' CORSRule [Text]
- crAllowedMethods :: Lens' CORSRule [Text]
- crAllowedOrigins :: Lens' CORSRule [Text]
- data CommonPrefix
- commonPrefix :: CommonPrefix
- cpPrefix :: Lens' CommonPrefix (Maybe Text)
- data CompletedMultipartUpload
- completedMultipartUpload :: CompletedMultipartUpload
- cmuParts :: Lens' CompletedMultipartUpload (Maybe (NonEmpty CompletedPart))
- data CompletedPart
- completedPart :: Int -> ETag -> CompletedPart
- cpPartNumber :: Lens' CompletedPart Int
- cpETag :: Lens' CompletedPart ETag
- data Condition
- condition :: Condition
- cKeyPrefixEquals :: Lens' Condition (Maybe Text)
- cHTTPErrorCodeReturnedEquals :: Lens' Condition (Maybe Text)
- data CopyObjectResult
- copyObjectResult :: CopyObjectResult
- corETag :: Lens' CopyObjectResult (Maybe ETag)
- corLastModified :: Lens' CopyObjectResult (Maybe UTCTime)
- data CopyPartResult
- copyPartResult :: CopyPartResult
- cprETag :: Lens' CopyPartResult (Maybe ETag)
- cprLastModified :: Lens' CopyPartResult (Maybe UTCTime)
- data CreateBucketConfiguration
- createBucketConfiguration :: CreateBucketConfiguration
- cbcLocationConstraint :: Lens' CreateBucketConfiguration (Maybe LocationConstraint)
- data Delete
- delete' :: Delete
- dQuiet :: Lens' Delete (Maybe Bool)
- dObjects :: Lens' Delete [ObjectIdentifier]
- data DeleteMarkerEntry
- deleteMarkerEntry :: DeleteMarkerEntry
- dmeVersionId :: Lens' DeleteMarkerEntry (Maybe ObjectVersionId)
- dmeIsLatest :: Lens' DeleteMarkerEntry (Maybe Bool)
- dmeOwner :: Lens' DeleteMarkerEntry (Maybe Owner)
- dmeKey :: Lens' DeleteMarkerEntry (Maybe ObjectKey)
- dmeLastModified :: Lens' DeleteMarkerEntry (Maybe UTCTime)
- data DeletedObject
- deletedObject :: DeletedObject
- dVersionId :: Lens' DeletedObject (Maybe ObjectVersionId)
- dDeleteMarker :: Lens' DeletedObject (Maybe Bool)
- dDeleteMarkerVersionId :: Lens' DeletedObject (Maybe Text)
- dKey :: Lens' DeletedObject (Maybe ObjectKey)
- data Destination
- destination :: BucketName -> Destination
- dAccessControlTranslation :: Lens' Destination (Maybe AccessControlTranslation)
- dAccount :: Lens' Destination (Maybe Text)
- dStorageClass :: Lens' Destination (Maybe StorageClass)
- dEncryptionConfiguration :: Lens' Destination (Maybe EncryptionConfiguration)
- dBucket :: Lens' Destination BucketName
- data EncryptionConfiguration
- encryptionConfiguration :: EncryptionConfiguration
- ecReplicaKMSKeyId :: Lens' EncryptionConfiguration (Maybe Text)
- data ErrorDocument
- errorDocument :: ObjectKey -> ErrorDocument
- edKey :: Lens' ErrorDocument ObjectKey
- data FilterRule
- filterRule :: FilterRule
- frValue :: Lens' FilterRule (Maybe Text)
- frName :: Lens' FilterRule (Maybe FilterRuleName)
- data GlacierJobParameters
- glacierJobParameters :: Tier -> GlacierJobParameters
- gjpTier :: Lens' GlacierJobParameters Tier
- data Grant
- grant :: Grant
- gPermission :: Lens' Grant (Maybe Permission)
- gGrantee :: Lens' Grant (Maybe Grantee)
- data Grantee
- grantee :: Type -> Grantee
- gURI :: Lens' Grantee (Maybe Text)
- gEmailAddress :: Lens' Grantee (Maybe Text)
- gDisplayName :: Lens' Grantee (Maybe Text)
- gId :: Lens' Grantee (Maybe Text)
- gType :: Lens' Grantee Type
- data IndexDocument
- indexDocument :: Text -> IndexDocument
- idSuffix :: Lens' IndexDocument Text
- data Initiator
- initiator :: Initiator
- iDisplayName :: Lens' Initiator (Maybe Text)
- iId :: Lens' Initiator (Maybe Text)
- data InventoryConfiguration
- inventoryConfiguration :: InventoryDestination -> Bool -> Text -> InventoryIncludedObjectVersions -> InventorySchedule -> InventoryConfiguration
- icOptionalFields :: Lens' InventoryConfiguration [InventoryOptionalField]
- icFilter :: Lens' InventoryConfiguration (Maybe InventoryFilter)
- icDestination :: Lens' InventoryConfiguration InventoryDestination
- icIsEnabled :: Lens' InventoryConfiguration Bool
- icId :: Lens' InventoryConfiguration Text
- icIncludedObjectVersions :: Lens' InventoryConfiguration InventoryIncludedObjectVersions
- icSchedule :: Lens' InventoryConfiguration InventorySchedule
- data InventoryDestination
- inventoryDestination :: InventoryS3BucketDestination -> InventoryDestination
- idS3BucketDestination :: Lens' InventoryDestination InventoryS3BucketDestination
- data InventoryEncryption
- inventoryEncryption :: InventoryEncryption
- ieSSES3 :: Lens' InventoryEncryption (Maybe SSES3)
- ieSSEKMS :: Lens' InventoryEncryption (Maybe SSEKMS)
- data InventoryFilter
- inventoryFilter :: Text -> InventoryFilter
- ifPrefix :: Lens' InventoryFilter Text
- data InventoryS3BucketDestination
- inventoryS3BucketDestination :: BucketName -> InventoryFormat -> InventoryS3BucketDestination
- isbdPrefix :: Lens' InventoryS3BucketDestination (Maybe Text)
- isbdAccountId :: Lens' InventoryS3BucketDestination (Maybe Text)
- isbdEncryption :: Lens' InventoryS3BucketDestination (Maybe InventoryEncryption)
- isbdBucket :: Lens' InventoryS3BucketDestination BucketName
- isbdFormat :: Lens' InventoryS3BucketDestination InventoryFormat
- data InventorySchedule
- inventorySchedule :: InventoryFrequency -> InventorySchedule
- isFrequency :: Lens' InventorySchedule InventoryFrequency
- data LambdaFunctionConfiguration
- lambdaFunctionConfiguration :: Text -> LambdaFunctionConfiguration
- lfcId :: Lens' LambdaFunctionConfiguration (Maybe Text)
- lfcFilter :: Lens' LambdaFunctionConfiguration (Maybe NotificationConfigurationFilter)
- lfcLambdaFunctionARN :: Lens' LambdaFunctionConfiguration Text
- lfcEvents :: Lens' LambdaFunctionConfiguration [Event]
- data LifecycleExpiration
- lifecycleExpiration :: LifecycleExpiration
- leDays :: Lens' LifecycleExpiration (Maybe Int)
- leDate :: Lens' LifecycleExpiration (Maybe UTCTime)
- leExpiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool)
- data LifecycleRule
- lifecycleRule :: ExpirationStatus -> LifecycleRule
- lrTransitions :: Lens' LifecycleRule [Transition]
- lrNoncurrentVersionExpiration :: Lens' LifecycleRule (Maybe NoncurrentVersionExpiration)
- lrPrefix :: Lens' LifecycleRule (Maybe Text)
- lrNoncurrentVersionTransitions :: Lens' LifecycleRule [NoncurrentVersionTransition]
- lrExpiration :: Lens' LifecycleRule (Maybe LifecycleExpiration)
- lrId :: Lens' LifecycleRule (Maybe Text)
- lrFilter :: Lens' LifecycleRule (Maybe LifecycleRuleFilter)
- lrAbortIncompleteMultipartUpload :: Lens' LifecycleRule (Maybe AbortIncompleteMultipartUpload)
- lrStatus :: Lens' LifecycleRule ExpirationStatus
- data LifecycleRuleAndOperator
- lifecycleRuleAndOperator :: LifecycleRuleAndOperator
- lraoPrefix :: Lens' LifecycleRuleAndOperator (Maybe Text)
- lraoTags :: Lens' LifecycleRuleAndOperator [Tag]
- data LifecycleRuleFilter
- lifecycleRuleFilter :: LifecycleRuleFilter
- lrfTag :: Lens' LifecycleRuleFilter (Maybe Tag)
- lrfPrefix :: Lens' LifecycleRuleFilter (Maybe Text)
- lrfAnd :: Lens' LifecycleRuleFilter (Maybe LifecycleRuleAndOperator)
- data LoggingEnabled
- loggingEnabled :: LoggingEnabled
- leTargetBucket :: Lens' LoggingEnabled (Maybe Text)
- leTargetGrants :: Lens' LoggingEnabled [TargetGrant]
- leTargetPrefix :: Lens' LoggingEnabled (Maybe Text)
- data MetricsAndOperator
- metricsAndOperator :: MetricsAndOperator
- maoPrefix :: Lens' MetricsAndOperator (Maybe Text)
- maoTags :: Lens' MetricsAndOperator [Tag]
- data MetricsConfiguration
- metricsConfiguration :: Text -> MetricsConfiguration
- mcFilter :: Lens' MetricsConfiguration (Maybe MetricsFilter)
- mcId :: Lens' MetricsConfiguration Text
- data MetricsFilter
- metricsFilter :: MetricsFilter
- mfTag :: Lens' MetricsFilter (Maybe Tag)
- mfPrefix :: Lens' MetricsFilter (Maybe Text)
- mfAnd :: Lens' MetricsFilter (Maybe MetricsAndOperator)
- data MultipartUpload
- multipartUpload :: MultipartUpload
- muInitiated :: Lens' MultipartUpload (Maybe UTCTime)
- muInitiator :: Lens' MultipartUpload (Maybe Initiator)
- muOwner :: Lens' MultipartUpload (Maybe Owner)
- muKey :: Lens' MultipartUpload (Maybe ObjectKey)
- muStorageClass :: Lens' MultipartUpload (Maybe StorageClass)
- muUploadId :: Lens' MultipartUpload (Maybe Text)
- data NoncurrentVersionExpiration
- noncurrentVersionExpiration :: Int -> NoncurrentVersionExpiration
- nveNoncurrentDays :: Lens' NoncurrentVersionExpiration Int
- data NoncurrentVersionTransition
- noncurrentVersionTransition :: Int -> TransitionStorageClass -> NoncurrentVersionTransition
- nvtNoncurrentDays :: Lens' NoncurrentVersionTransition Int
- nvtStorageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass
- data NotificationConfiguration
- notificationConfiguration :: NotificationConfiguration
- ncQueueConfigurations :: Lens' NotificationConfiguration [QueueConfiguration]
- ncTopicConfigurations :: Lens' NotificationConfiguration [TopicConfiguration]
- ncLambdaFunctionConfigurations :: Lens' NotificationConfiguration [LambdaFunctionConfiguration]
- data NotificationConfigurationFilter
- notificationConfigurationFilter :: NotificationConfigurationFilter
- ncfKey :: Lens' NotificationConfigurationFilter (Maybe S3KeyFilter)
- data Object
- object' :: ETag -> Int -> ObjectKey -> ObjectStorageClass -> UTCTime -> Object
- oOwner :: Lens' Object (Maybe Owner)
- oETag :: Lens' Object ETag
- oSize :: Lens' Object Int
- oKey :: Lens' Object ObjectKey
- oStorageClass :: Lens' Object ObjectStorageClass
- oLastModified :: Lens' Object UTCTime
- data ObjectIdentifier
- objectIdentifier :: ObjectKey -> ObjectIdentifier
- oiVersionId :: Lens' ObjectIdentifier (Maybe ObjectVersionId)
- oiKey :: Lens' ObjectIdentifier ObjectKey
- data ObjectVersion
- objectVersion :: ObjectVersion
- ovETag :: Lens' ObjectVersion (Maybe ETag)
- ovVersionId :: Lens' ObjectVersion (Maybe ObjectVersionId)
- ovSize :: Lens' ObjectVersion (Maybe Int)
- ovIsLatest :: Lens' ObjectVersion (Maybe Bool)
- ovOwner :: Lens' ObjectVersion (Maybe Owner)
- ovKey :: Lens' ObjectVersion (Maybe ObjectKey)
- ovStorageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass)
- ovLastModified :: Lens' ObjectVersion (Maybe UTCTime)
- data Owner
- owner :: Owner
- oDisplayName :: Lens' Owner (Maybe Text)
- oId :: Lens' Owner (Maybe Text)
- data Part
- part :: Part
- pETag :: Lens' Part (Maybe ETag)
- pSize :: Lens' Part (Maybe Int)
- pPartNumber :: Lens' Part (Maybe Int)
- pLastModified :: Lens' Part (Maybe UTCTime)
- data QueueConfiguration
- queueConfiguration :: Text -> QueueConfiguration
- qcId :: Lens' QueueConfiguration (Maybe Text)
- qcFilter :: Lens' QueueConfiguration (Maybe NotificationConfigurationFilter)
- qcQueueARN :: Lens' QueueConfiguration Text
- qcEvents :: Lens' QueueConfiguration [Event]
- data Redirect
- redirect :: Redirect
- rHostName :: Lens' Redirect (Maybe Text)
- rProtocol :: Lens' Redirect (Maybe Protocol)
- rHTTPRedirectCode :: Lens' Redirect (Maybe Text)
- rReplaceKeyWith :: Lens' Redirect (Maybe Text)
- rReplaceKeyPrefixWith :: Lens' Redirect (Maybe Text)
- data RedirectAllRequestsTo
- redirectAllRequestsTo :: Text -> RedirectAllRequestsTo
- rartProtocol :: Lens' RedirectAllRequestsTo (Maybe Protocol)
- rartHostName :: Lens' RedirectAllRequestsTo Text
- data ReplicationConfiguration
- replicationConfiguration :: Text -> ReplicationConfiguration
- rcRole :: Lens' ReplicationConfiguration Text
- rcRules :: Lens' ReplicationConfiguration [ReplicationRule]
- data ReplicationRule
- replicationRule :: Text -> ReplicationRuleStatus -> Destination -> ReplicationRule
- rrId :: Lens' ReplicationRule (Maybe Text)
- rrSourceSelectionCriteria :: Lens' ReplicationRule (Maybe SourceSelectionCriteria)
- rrPrefix :: Lens' ReplicationRule Text
- rrStatus :: Lens' ReplicationRule ReplicationRuleStatus
- rrDestination :: Lens' ReplicationRule Destination
- data RequestPaymentConfiguration
- requestPaymentConfiguration :: Payer -> RequestPaymentConfiguration
- rpcPayer :: Lens' RequestPaymentConfiguration Payer
- data RestoreRequest
- restoreRequest :: Int -> RestoreRequest
- rrGlacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters)
- rrDays :: Lens' RestoreRequest Int
- data RoutingRule
- routingRule :: Redirect -> RoutingRule
- rrCondition :: Lens' RoutingRule (Maybe Condition)
- rrRedirect :: Lens' RoutingRule Redirect
- data S3KeyFilter
- s3KeyFilter :: S3KeyFilter
- skfFilterRules :: Lens' S3KeyFilter [FilterRule]
- data S3ServiceError
- s3ServiceError :: S3ServiceError
- sseVersionId :: Lens' S3ServiceError (Maybe ObjectVersionId)
- sseKey :: Lens' S3ServiceError (Maybe ObjectKey)
- sseCode :: Lens' S3ServiceError (Maybe Text)
- sseMessage :: Lens' S3ServiceError (Maybe Text)
- data SSEKMS
- sSEKMS :: Text -> SSEKMS
- ssekKeyId :: Lens' SSEKMS Text
- data SSES3
- sSES3 :: SSES3
- data ServerSideEncryptionByDefault
- serverSideEncryptionByDefault :: ServerSideEncryption -> ServerSideEncryptionByDefault
- ssebdKMSMasterKeyId :: Lens' ServerSideEncryptionByDefault (Maybe Text)
- ssebdSSEAlgorithm :: Lens' ServerSideEncryptionByDefault ServerSideEncryption
- data ServerSideEncryptionConfiguration
- serverSideEncryptionConfiguration :: ServerSideEncryptionConfiguration
- ssecRules :: Lens' ServerSideEncryptionConfiguration [ServerSideEncryptionRule]
- data ServerSideEncryptionRule
- serverSideEncryptionRule :: ServerSideEncryptionRule
- sserApplyServerSideEncryptionByDefault :: Lens' ServerSideEncryptionRule (Maybe ServerSideEncryptionByDefault)
- data SourceSelectionCriteria
- sourceSelectionCriteria :: SourceSelectionCriteria
- sscSseKMSEncryptedObjects :: Lens' SourceSelectionCriteria (Maybe SseKMSEncryptedObjects)
- data SseKMSEncryptedObjects
- sseKMSEncryptedObjects :: SseKMSEncryptedObjectsStatus -> SseKMSEncryptedObjects
- skeoStatus :: Lens' SseKMSEncryptedObjects SseKMSEncryptedObjectsStatus
- data StorageClassAnalysis
- storageClassAnalysis :: StorageClassAnalysis
- scaDataExport :: Lens' StorageClassAnalysis (Maybe StorageClassAnalysisDataExport)
- data StorageClassAnalysisDataExport
- storageClassAnalysisDataExport :: StorageClassAnalysisSchemaVersion -> AnalyticsExportDestination -> StorageClassAnalysisDataExport
- scadeOutputSchemaVersion :: Lens' StorageClassAnalysisDataExport StorageClassAnalysisSchemaVersion
- scadeDestination :: Lens' StorageClassAnalysisDataExport AnalyticsExportDestination
- data Tag
- tag :: ObjectKey -> Text -> Tag
- tagKey :: Lens' Tag ObjectKey
- tagValue :: Lens' Tag Text
- data Tagging
- tagging :: Tagging
- tTagSet :: Lens' Tagging [Tag]
- data TargetGrant
- targetGrant :: TargetGrant
- tgPermission :: Lens' TargetGrant (Maybe BucketLogsPermission)
- tgGrantee :: Lens' TargetGrant (Maybe Grantee)
- data TopicConfiguration
- topicConfiguration :: Text -> TopicConfiguration
- tcId :: Lens' TopicConfiguration (Maybe Text)
- tcFilter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter)
- tcTopicARN :: Lens' TopicConfiguration Text
- tcEvents :: Lens' TopicConfiguration [Event]
- data Transition
- transition :: Transition
- tDays :: Lens' Transition (Maybe Int)
- tDate :: Lens' Transition (Maybe UTCTime)
- tStorageClass :: Lens' Transition (Maybe TransitionStorageClass)
- data VersioningConfiguration
- versioningConfiguration :: VersioningConfiguration
- vcStatus :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus)
- vcMFADelete :: Lens' VersioningConfiguration (Maybe MFADelete)
- data WebsiteConfiguration
- websiteConfiguration :: WebsiteConfiguration
- wcRedirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo)
- wcErrorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument)
- wcIndexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument)
- wcRoutingRules :: Lens' WebsiteConfiguration [RoutingRule]
Service Configuration
API version 2006-03-01
of the Amazon Simple Storage Service SDK configuration.
Errors
_BucketAlreadyOwnedByYou :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for BucketAlreadyOwnedByYou' errors.
_ObjectAlreadyInActiveTierError :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation is not allowed against this storage tier
_BucketAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
_ObjectNotInActiveTierError :: AsError a => Getting (First ServiceError) a ServiceError Source #
The source object of the COPY operation is not in the active tier and is only stored in Amazon Glacier.
_NoSuchUpload :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified multipart upload does not exist.
_NoSuchBucket :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified bucket does not exist.
_NoSuchKey :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified key does not exist.
Re-exported Types
The available AWS regions.
Constructors
NorthVirginia | US East ('us-east-1'). |
Ohio | US East ('us-east-2'). |
NorthCalifornia | US West ('us-west-1'). |
Oregon | US West ('us-west-2'). |
Montreal | Canada ('ca-central-1'). |
Tokyo | Asia Pacific ('ap-northeast-1'). |
Seoul | Asia Pacific ('ap-northeast-2'). |
Mumbai | Asia Pacific ('ap-south-1'). |
Singapore | Asia Pacific ('ap-southeast-1'). |
Sydney | Asia Pacific ('ap-southeast-2'). |
SaoPaulo | South America ('sa-east-1'). |
Ireland | EU ('eu-west-1'). |
London | EU ('eu-west-2'). |
Frankfurt | EU ('eu-central-1'). |
GovCloud | US GovCloud ('us-gov-west-1'). |
GovCloudFIPS | US GovCloud FIPS (S3 Only, 'fips-us-gov-west-1'). |
Beijing | China ('cn-north-1'). |
newtype BucketName Source #
Constructors
BucketName Text |
Instances
Constructors
ETag ByteString |
Instances
Eq ETag Source # | |
Data ETag Source # | |
Ord ETag Source # | |
Read ETag Source # | |
Show ETag Source # | |
IsString ETag Source # | |
Generic ETag Source # | |
Hashable ETag Source # | |
NFData ETag Source # | |
FromXML ETag Source # | |
ToXML ETag Source # | |
ToLog ETag Source # | |
ToQuery ETag Source # | |
ToByteString ETag Source # | |
FromText ETag Source # | |
ToText ETag Source # | |
type Rep ETag Source # | |
newtype ObjectVersionId Source #
Constructors
ObjectVersionId Text |
Instances
Bucket Location
newtype LocationConstraint Source #
Constructors
LocationConstraint | |
Fields |
Instances
Object Key
Instances
keyPrefix :: Delimiter -> Traversal' ObjectKey Text Source #
Traverse the prefix of an object key.
The prefix is classified as the entirety of the object key minus the name. A leading prefix in the presence of a name, and no other delimiters is interpreted as a blank prefix.
>>>
"/home/jsmith/base.wiki" ^? keyPrefix '/'
Just "/home/jsmith"
>>>
"/home/jsmith/" ^? keyPrefix '/'
Just "/home/jsmith"
>>>
"/home" ^? keyPrefix '/'
Nothing
>>>
"/" ^? keyPrefix '/'
Nothing
keyComponents :: Delimiter -> IndexedTraversal' Int ObjectKey Text Source #
Traverse the path components of an object key using the specified delimiter.
Website Endpoints
getWebsiteEndpoint :: Region -> Text Source #
Get the S3 website endpoint for a specific region.
When you configure your bucket as a website, the website is available using this region-specific website endpoint.
AnalyticsS3ExportFileFormat
data AnalyticsS3ExportFileFormat Source #
Constructors
CSV |
Instances
BucketAccelerateStatus
data BucketAccelerateStatus Source #
Constructors
BASEnabled | |
BASSuspended |
Instances
BucketCannedACL
data BucketCannedACL Source #
Constructors
BAuthenticatedRead | |
BPrivate | |
BPublicRead | |
BPublicReadWrite |
Instances
BucketLogsPermission
data BucketLogsPermission Source #
Constructors
FullControl | |
Read | |
Write |
Instances
BucketVersioningStatus
data BucketVersioningStatus Source #
Constructors
BVSEnabled | |
BVSSuspended |
Instances
EncodingType
data 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
URL |
Instances
Event
Bucket event for which to send notifications.
Constructors
Instances
ExpirationStatus
data ExpirationStatus Source #
Constructors
ESDisabled | |
ESEnabled |
Instances
FilterRuleName
data FilterRuleName Source #
Instances
InventoryFormat
data InventoryFormat Source #
Constructors
IFCSV |
Instances
InventoryFrequency
data InventoryFrequency Source #
Instances
InventoryIncludedObjectVersions
data InventoryIncludedObjectVersions Source #
Instances
InventoryOptionalField
data InventoryOptionalField Source #
Constructors
FieldETag | |
FieldEncryptionStatus | |
FieldIsMultipartUploaded | |
FieldLastModifiedDate | |
FieldReplicationStatus | |
FieldSize | |
FieldStorageClass |
Instances
MFADelete
Constructors
MDDisabled | |
MDEnabled |
Instances
MFADeleteStatus
data MFADeleteStatus Source #
Constructors
MDSDisabled | |
MDSEnabled |
Instances
MetadataDirective
data MetadataDirective Source #
Instances
ObjectCannedACL
data ObjectCannedACL Source #
Constructors
OAWSExecRead | |
OAuthenticatedRead | |
OBucketOwnerFullControl | |
OBucketOwnerRead | |
OPrivate | |
OPublicRead | |
OPublicReadWrite |
Instances
ObjectStorageClass
data ObjectStorageClass Source #
Constructors
OSCGlacier | |
OSCReducedRedundancy | |
OSCStandard | |
OSCStandardIA |
Instances
ObjectVersionStorageClass
data ObjectVersionStorageClass Source #
Constructors
OVSCStandard |
Instances
OwnerOverride
data OwnerOverride Source #
Constructors
Destination |
Instances
Payer
Constructors
BucketOwner | |
Requester |
Instances
Permission
data Permission Source #
Constructors
PFullControl | |
PRead | |
PReadAcp | |
PWrite | |
PWriteAcp |
Instances