Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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
- Payer
- Permission
- Protocol
- ReplicationRuleStatus
- ReplicationStatus
- RequestCharged
- RequestPayer
- ServerSideEncryption
- StorageClass
- StorageClassAnalysisSchemaVersion
- TaggingDirective
- Tier
- TransitionStorageClass
- Type
- AbortIncompleteMultipartUpload
- AccelerateConfiguration
- AccessControlPolicy
- AnalyticsAndOperator
- AnalyticsConfiguration
- AnalyticsExportDestination
- AnalyticsFilter
- AnalyticsS3BucketDestination
- Bucket
- BucketLifecycleConfiguration
- BucketLoggingStatus
- CORSConfiguration
- CORSRule
- CommonPrefix
- CompletedMultipartUpload
- CompletedPart
- Condition
- CopyObjectResult
- CopyPartResult
- CreateBucketConfiguration
- Delete
- DeleteMarkerEntry
- DeletedObject
- Destination
- ErrorDocument
- FilterRule
- GlacierJobParameters
- Grant
- Grantee
- IndexDocument
- Initiator
- InventoryConfiguration
- InventoryDestination
- 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
- 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 :: *
- = NorthVirginia
- | Ohio
- | NorthCalifornia
- | Oregon
- | Tokyo
- | Seoul
- | Mumbai
- | Singapore
- | Sydney
- | SaoPaulo
- | Ireland
- | Frankfurt
- | GovCloud
- | GovCloudFIPS
- | Beijing
- 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 Payer
- data Permission
- = PFullControl
- | PRead
- | PReadAcp
- | PWrite
- | PWriteAcp
- data Protocol
- data ReplicationRuleStatus
- data ReplicationStatus
- data RequestCharged = RCRequester
- data RequestPayer = RPRequester
- data ServerSideEncryption
- 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 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
- dStorageClass :: Lens' Destination (Maybe StorageClass)
- dBucket :: Lens' Destination BucketName
- 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 InventoryFilter
- inventoryFilter :: Text -> InventoryFilter
- ifPrefix :: Lens' InventoryFilter Text
- data InventoryS3BucketDestination
- inventoryS3BucketDestination :: BucketName -> InventoryFormat -> InventoryS3BucketDestination
- isbdPrefix :: Lens' InventoryS3BucketDestination (Maybe Text)
- isbdAccountId :: Lens' InventoryS3BucketDestination (Maybe Text)
- 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)
- 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 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
Errors
_BucketAlreadyOwnedByYou :: AsError a => Getting (First ServiceError) a ServiceError #
Prism for BucketAlreadyOwnedByYou' errors.
_ObjectAlreadyInActiveTierError :: AsError a => Getting (First ServiceError) a ServiceError #
This operation is not allowed against this storage tier
_BucketAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError #
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 #
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 #
The specified multipart upload does not exist.
_NoSuchBucket :: AsError a => Getting (First ServiceError) a ServiceError #
The specified bucket does not exist.
_NoSuchKey :: AsError a => Getting (First ServiceError) a ServiceError #
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'). |
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'). |
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 #
Constructors
BucketName Text |
Instances
Constructors
ETag ByteString |
newtype ObjectVersionId #
Constructors
ObjectVersionId Text |
Instances
Bucket Location
newtype LocationConstraint #
Constructors
LocationConstraint | |
Fields |
Instances
Object Key
Instances
_ObjectKey :: Iso' ObjectKey Text #
keyPrefix :: Delimiter -> Traversal' ObjectKey Text #
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 #
Traverse the path components of an object key using the specified delimiter.
Website Endpoints
getWebsiteEndpoint :: Region -> Text #
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 #
Constructors
CSV |
Instances
BucketAccelerateStatus
data BucketAccelerateStatus #
Constructors
BASEnabled | |
BASSuspended |
Instances
BucketCannedACL
data BucketCannedACL #
Constructors
BAuthenticatedRead | |
BPrivate | |
BPublicRead | |
BPublicReadWrite |
Instances
BucketLogsPermission
data BucketLogsPermission #
Constructors
FullControl | |
Read | |
Write |
Instances
BucketVersioningStatus
data BucketVersioningStatus #
Constructors
BVSEnabled | |
BVSSuspended |
Instances
EncodingType
data EncodingType #
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.
ExpirationStatus
data ExpirationStatus #
Constructors
ESDisabled | |
ESEnabled |
Instances
FilterRuleName
data FilterRuleName #
Instances
InventoryFormat
data InventoryFormat #
Constructors
IFCSV |
Instances
InventoryFrequency
data InventoryFrequency #
Instances
InventoryIncludedObjectVersions
data InventoryIncludedObjectVersions #
Instances
InventoryOptionalField
data InventoryOptionalField #
Constructors
FieldETag | |
FieldIsMultipartUploaded | |
FieldLastModifiedDate | |
FieldReplicationStatus | |
FieldSize | |
FieldStorageClass |
Instances
MFADelete
Constructors
MDDisabled | |
MDEnabled |
Instances
MFADeleteStatus
data MFADeleteStatus #
Constructors
MDSDisabled | |
MDSEnabled |
Instances
MetadataDirective
data MetadataDirective #
Instances
ObjectCannedACL
data ObjectCannedACL #
Constructors
OAWSExecRead | |
OAuthenticatedRead | |
OBucketOwnerFullControl | |
OBucketOwnerRead | |
OPrivate | |
OPublicRead | |
OPublicReadWrite |
Instances
ObjectStorageClass
data ObjectStorageClass #
Constructors
OSCGlacier | |
OSCReducedRedundancy | |
OSCStandard | |
OSCStandardIA |
Instances
ObjectVersionStorageClass
data ObjectVersionStorageClass #
Constructors
OVSCStandard |
Instances
Payer
Constructors
BucketOwner | |
Requester |
Permission
data Permission #
Constructors
PFullControl | |
PRead | |
PReadAcp | |
PWrite | |
PWriteAcp |
Instances
Protocol
Instances
ReplicationRuleStatus
data ReplicationRuleStatus #
Instances
ReplicationStatus
data ReplicationStatus #
Instances
RequestCharged
data RequestCharged #
If present, indicates that the requester was successfully charged for the request.
Constructors
RCRequester |
Instances
RequestPayer
data RequestPayer #
Confirms that the requester knows that she or he will be charged for the request. Bucket owners need not specify this parameter in their requests. Documentation on downloading objects from requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
Constructors
RPRequester |
Instances
ServerSideEncryption
data ServerSideEncryption #
Instances
StorageClass
data StorageClass #
Constructors
ReducedRedundancy | |
Standard | |
StandardIA |
Instances
StorageClassAnalysisSchemaVersion
data StorageClassAnalysisSchemaVersion #
Constructors
V1 |
Instances
TaggingDirective
data TaggingDirective #
Instances
Tier
Constructors
TBulk | |
TExpedited | |
TStandard |
TransitionStorageClass
data TransitionStorageClass #
Constructors
TSCGlacier | |
TSCStandardIA |
Instances
Type
Constructors
AmazonCustomerByEmail | |
CanonicalUser | |
Group |
AbortIncompleteMultipartUpload
data AbortIncompleteMultipartUpload #
Specifies the days since the initiation of an Incomplete Multipart Upload that Lifecycle will wait before permanently removing all parts of the upload.
See: abortIncompleteMultipartUpload
smart constructor.
Instances
abortIncompleteMultipartUpload :: AbortIncompleteMultipartUpload #
Creates a value of AbortIncompleteMultipartUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aimuDaysAfterInitiation
- Indicates the number of days that must pass since initiation for Lifecycle to abort an Incomplete Multipart Upload.
aimuDaysAfterInitiation :: Lens' AbortIncompleteMultipartUpload (Maybe Int) #
Indicates the number of days that must pass since initiation for Lifecycle to abort an Incomplete Multipart Upload.
AccelerateConfiguration
accelerateConfiguration :: AccelerateConfiguration #
Creates a value of AccelerateConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acStatus
- The accelerate configuration of the bucket.
acStatus :: Lens' AccelerateConfiguration (Maybe BucketAccelerateStatus) #
The accelerate configuration of the bucket.
AccessControlPolicy
data AccessControlPolicy #
See: accessControlPolicy
smart constructor.
accessControlPolicy :: AccessControlPolicy #
Creates a value of AccessControlPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acpGrants :: Lens' AccessControlPolicy [Grant] #
A list of grants.
AnalyticsAndOperator
analyticsAndOperator :: AnalyticsAndOperator #
Creates a value of AnalyticsAndOperator
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aaoPrefix :: Lens' AnalyticsAndOperator (Maybe Text) #
The prefix to use when evaluating an AND predicate.
aaoTags :: Lens' AnalyticsAndOperator [Tag] #
The list of tags to use when evaluating an AND predicate.
AnalyticsConfiguration
data AnalyticsConfiguration #
See: analyticsConfiguration
smart constructor.
Instances
Arguments
:: Text | |
-> StorageClassAnalysis | |
-> AnalyticsConfiguration |
Creates a value of AnalyticsConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acFilter
- 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.acId
- The identifier used to represent an analytics configuration.acStorageClassAnalysis
- If present, it indicates that data related to access patterns will be collected and made available to analyze the tradeoffs between different storage classes.
acFilter :: Lens' AnalyticsConfiguration (Maybe AnalyticsFilter) #
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.
acId :: Lens' AnalyticsConfiguration Text #
The identifier used to represent an analytics configuration.
acStorageClassAnalysis :: Lens' AnalyticsConfiguration StorageClassAnalysis #
If present, it indicates that data related to access patterns will be collected and made available to analyze the tradeoffs between different storage classes.
AnalyticsExportDestination
data AnalyticsExportDestination #
See: analyticsExportDestination
smart constructor.
Instances
Creates a value of AnalyticsExportDestination
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aedS3BucketDestination
- A destination signifying output to an S3 bucket.
aedS3BucketDestination :: Lens' AnalyticsExportDestination AnalyticsS3BucketDestination #
A destination signifying output to an S3 bucket.
AnalyticsFilter
data AnalyticsFilter #
See: analyticsFilter
smart constructor.
analyticsFilter :: AnalyticsFilter #
Creates a value of AnalyticsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
afPrefix :: Lens' AnalyticsFilter (Maybe Text) #
The prefix to use when evaluating an analytics filter.
afAnd :: Lens' AnalyticsFilter (Maybe AnalyticsAndOperator) #
A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
AnalyticsS3BucketDestination
data AnalyticsS3BucketDestination #
See: analyticsS3BucketDestination
smart constructor.
Instances
analyticsS3BucketDestination #
Arguments
:: AnalyticsS3ExportFileFormat | |
-> BucketName | |
-> AnalyticsS3BucketDestination |
Creates a value of AnalyticsS3BucketDestination
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asbdBucketAccountId
- The account ID that owns the destination bucket. If no account ID is provided, the owner will not be validated prior to exporting data.asbdPrefix
- The prefix to use when exporting data. The exported data begins with this prefix.asbdFormat
- The file format used when exporting data to Amazon S3.asbdBucket
- The Amazon resource name (ARN) of the bucket to which data is exported.
asbdBucketAccountId :: Lens' AnalyticsS3BucketDestination (Maybe Text) #
The account ID that owns the destination bucket. If no account ID is provided, the owner will not be validated prior to exporting data.
asbdPrefix :: Lens' AnalyticsS3BucketDestination (Maybe Text) #
The prefix to use when exporting data. The exported data begins with this prefix.
asbdFormat :: Lens' AnalyticsS3BucketDestination AnalyticsS3ExportFileFormat #
The file format used when exporting data to Amazon S3.
asbdBucket :: Lens' AnalyticsS3BucketDestination BucketName #
The Amazon resource name (ARN) of the bucket to which data is exported.
Bucket
See: bucket
smart constructor.
Arguments
:: UTCTime | |
-> BucketName | |
-> Bucket |
Creates a value of Bucket
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bCreationDate
- Date the bucket was created.bName
- The name of the bucket.
bCreationDate :: Lens' Bucket UTCTime #
Date the bucket was created.
bName :: Lens' Bucket BucketName #
The name of the bucket.
BucketLifecycleConfiguration
data BucketLifecycleConfiguration #
See: bucketLifecycleConfiguration
smart constructor.
Instances
bucketLifecycleConfiguration :: BucketLifecycleConfiguration #
Creates a value of BucketLifecycleConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blcRules
- Undocumented member.
blcRules :: Lens' BucketLifecycleConfiguration [LifecycleRule] #
Undocumented member.
BucketLoggingStatus
data BucketLoggingStatus #
See: bucketLoggingStatus
smart constructor.
bucketLoggingStatus :: BucketLoggingStatus #
Creates a value of BucketLoggingStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blsLoggingEnabled
- Undocumented member.
blsLoggingEnabled :: Lens' BucketLoggingStatus (Maybe LoggingEnabled) #
Undocumented member.
CORSConfiguration
data CORSConfiguration #
See: corsConfiguration
smart constructor.
corsConfiguration :: CORSConfiguration #
Creates a value of CORSConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccCORSRules
- Undocumented member.
ccCORSRules :: Lens' CORSConfiguration [CORSRule] #
Undocumented member.
CORSRule
See: corsRule
smart constructor.
Creates a value of CORSRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crMaxAgeSeconds
- The time in seconds that your browser is to cache the preflight response for the specified resource.crAllowedHeaders
- Specifies which headers are allowed in a pre-flight OPTIONS request.crExposeHeaders
- 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).crAllowedMethods
- Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.crAllowedOrigins
- One or more origins you want customers to be able to access the bucket from.
crMaxAgeSeconds :: Lens' CORSRule (Maybe Int) #
The time in seconds that your browser is to cache the preflight response for the specified resource.
crAllowedHeaders :: Lens' CORSRule [Text] #
Specifies which headers are allowed in a pre-flight OPTIONS request.
crExposeHeaders :: Lens' CORSRule [Text] #
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).
crAllowedMethods :: Lens' CORSRule [Text] #
Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
crAllowedOrigins :: Lens' CORSRule [Text] #
One or more origins you want customers to be able to access the bucket from.
CommonPrefix
commonPrefix :: CommonPrefix #
Creates a value of CommonPrefix
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpPrefix
- Undocumented member.
CompletedMultipartUpload
completedMultipartUpload :: CompletedMultipartUpload #
Creates a value of CompletedMultipartUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cmuParts
- Undocumented member.
cmuParts :: Lens' CompletedMultipartUpload (Maybe (NonEmpty CompletedPart)) #
Undocumented member.
CompletedPart
data CompletedPart #
See: completedPart
smart constructor.
Arguments
:: Int | |
-> ETag | |
-> CompletedPart |
Creates a value of CompletedPart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpPartNumber
- Part number that identifies the part. This is a positive integer between 1 and 10,000.cpETag
- Entity tag returned when the part was uploaded.
cpPartNumber :: Lens' CompletedPart Int #
Part number that identifies the part. This is a positive integer between 1 and 10,000.
cpETag :: Lens' CompletedPart ETag #
Entity tag returned when the part was uploaded.
Condition
See: condition
smart constructor.
Creates a value of Condition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cKeyPrefixEquals
- 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.cHTTPErrorCodeReturnedEquals
- 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.
cKeyPrefixEquals :: Lens' Condition (Maybe Text) #
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.
cHTTPErrorCodeReturnedEquals :: Lens' Condition (Maybe Text) #
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.
CopyObjectResult
data CopyObjectResult #
See: copyObjectResult
smart constructor.
copyObjectResult :: CopyObjectResult #
Creates a value of CopyObjectResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
corETag
- Undocumented member.corLastModified
- Undocumented member.
corLastModified :: Lens' CopyObjectResult (Maybe UTCTime) #
Undocumented member.
CopyPartResult
data CopyPartResult #
See: copyPartResult
smart constructor.
copyPartResult :: CopyPartResult #
Creates a value of CopyPartResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cprETag
- Entity tag of the object.cprLastModified
- Date and time at which the object was uploaded.
cprLastModified :: Lens' CopyPartResult (Maybe UTCTime) #
Date and time at which the object was uploaded.
CreateBucketConfiguration
data CreateBucketConfiguration #
See: createBucketConfiguration
smart constructor.
Instances
createBucketConfiguration :: CreateBucketConfiguration #
Creates a value of CreateBucketConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbcLocationConstraint
- Specifies the region where the bucket will be created. If you don't specify a region, the bucket will be created in US Standard.
cbcLocationConstraint :: Lens' CreateBucketConfiguration (Maybe LocationConstraint) #
Specifies the region where the bucket will be created. If you don't specify a region, the bucket will be created in US Standard.
Delete
See: delete'
smart constructor.
dQuiet :: Lens' Delete (Maybe Bool) #
Element to enable quiet mode for the request. When you add this element, you must set its value to true.
dObjects :: Lens' Delete [ObjectIdentifier] #
Undocumented member.
DeleteMarkerEntry
data DeleteMarkerEntry #
See: deleteMarkerEntry
smart constructor.
deleteMarkerEntry :: DeleteMarkerEntry #
Creates a value of DeleteMarkerEntry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmeVersionId
- Version ID of an object.dmeIsLatest
- Specifies whether the object is (true) or is not (false) the latest version of an object.dmeOwner
- Undocumented member.dmeKey
- The object key.dmeLastModified
- Date and time the object was last modified.
dmeVersionId :: Lens' DeleteMarkerEntry (Maybe ObjectVersionId) #
Version ID of an object.
dmeIsLatest :: Lens' DeleteMarkerEntry (Maybe Bool) #
Specifies whether the object is (true) or is not (false) the latest version of an object.
dmeLastModified :: Lens' DeleteMarkerEntry (Maybe UTCTime) #
Date and time the object was last modified.
DeletedObject
data DeletedObject #
See: deletedObject
smart constructor.
deletedObject :: DeletedObject #
Creates a value of DeletedObject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dVersionId
- Undocumented member.dDeleteMarker
- Undocumented member.dDeleteMarkerVersionId
- Undocumented member.dKey
- Undocumented member.
dVersionId :: Lens' DeletedObject (Maybe ObjectVersionId) #
Undocumented member.
dDeleteMarker :: Lens' DeletedObject (Maybe Bool) #
Undocumented member.
dDeleteMarkerVersionId :: Lens' DeletedObject (Maybe Text) #
Undocumented member.
Destination
Arguments
:: BucketName | |
-> Destination |
Creates a value of Destination
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dStorageClass
- The class of storage used to store the object.dBucket
- Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.
dStorageClass :: Lens' Destination (Maybe StorageClass) #
The class of storage used to store the object.
dBucket :: Lens' Destination BucketName #
Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.
ErrorDocument
data ErrorDocument #
See: errorDocument
smart constructor.
Arguments
:: ObjectKey | |
-> ErrorDocument |
Creates a value of ErrorDocument
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edKey
- The object key name to use when a 4XX class error occurs.
edKey :: Lens' ErrorDocument ObjectKey #
The object key name to use when a 4XX class error occurs.
FilterRule
data FilterRule #
Container for key value pair that defines the criteria for the filter rule.
See: filterRule
smart constructor.
Instances
Creates a value of FilterRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
frValue
- Undocumented member.frName
- Configuring Event Notifications
GlacierJobParameters
data GlacierJobParameters #
See: glacierJobParameters
smart constructor.
Arguments
:: Tier | |
-> GlacierJobParameters |
Creates a value of GlacierJobParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjpTier
- Glacier retrieval tier at which the restore will be processed.
gjpTier :: Lens' GlacierJobParameters Tier #
Glacier retrieval tier at which the restore will be processed.
Grant
See: grant
smart constructor.
Creates a value of Grant
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gPermission
- Specifies the permission given to the grantee.gGrantee
- Undocumented member.
gPermission :: Lens' Grant (Maybe Permission) #
Specifies the permission given to the grantee.
Grantee
See: grantee
smart constructor.
Creates a value of Grantee
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gURI
- URI of the grantee group.gEmailAddress
- Email address of the grantee.gDisplayName
- Screen name of the grantee.gId
- The canonical user ID of the grantee.gType
- Type of grantee
IndexDocument
data IndexDocument #
See: indexDocument
smart constructor.
Arguments
:: Text | |
-> IndexDocument |
Creates a value of IndexDocument
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
idSuffix
- A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucketimages 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.
idSuffix :: Lens' IndexDocument Text #
A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucketimages 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.
Initiator
See: initiator
smart constructor.
Creates a value of Initiator
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iDisplayName
- Name of the Principal.iId
- If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.
iId :: Lens' Initiator (Maybe Text) #
If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.
InventoryConfiguration
data InventoryConfiguration #
See: inventoryConfiguration
smart constructor.
Instances
Arguments
:: InventoryDestination | |
-> Bool | |
-> Text | |
-> InventoryIncludedObjectVersions | |
-> InventorySchedule | |
-> InventoryConfiguration |
Creates a value of InventoryConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
icOptionalFields
- Contains the optional fields that are included in the inventory results.icFilter
- Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.icDestination
- Contains information about where to publish the inventory results.icIsEnabled
- Specifies whether the inventory is enabled or disabled.icId
- The ID used to identify the inventory configuration.icIncludedObjectVersions
- Specifies which object version(s) to included in the inventory results.icSchedule
- Specifies the schedule for generating inventory results.
icOptionalFields :: Lens' InventoryConfiguration [InventoryOptionalField] #
Contains the optional fields that are included in the inventory results.
icFilter :: Lens' InventoryConfiguration (Maybe InventoryFilter) #
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
icDestination :: Lens' InventoryConfiguration InventoryDestination #
Contains information about where to publish the inventory results.
icIsEnabled :: Lens' InventoryConfiguration Bool #
Specifies whether the inventory is enabled or disabled.
icId :: Lens' InventoryConfiguration Text #
The ID used to identify the inventory configuration.
icIncludedObjectVersions :: Lens' InventoryConfiguration InventoryIncludedObjectVersions #
Specifies which object version(s) to included in the inventory results.
icSchedule :: Lens' InventoryConfiguration InventorySchedule #
Specifies the schedule for generating inventory results.
InventoryDestination
Creates a value of InventoryDestination
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
idS3BucketDestination
- Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
idS3BucketDestination :: Lens' InventoryDestination InventoryS3BucketDestination #
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
InventoryFilter
data InventoryFilter #
See: inventoryFilter
smart constructor.
Arguments
:: Text | |
-> InventoryFilter |
Creates a value of InventoryFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ifPrefix
- The prefix that an object must have to be included in the inventory results.
ifPrefix :: Lens' InventoryFilter Text #
The prefix that an object must have to be included in the inventory results.
InventoryS3BucketDestination
data InventoryS3BucketDestination #
See: inventoryS3BucketDestination
smart constructor.
Instances
inventoryS3BucketDestination #
Creates a value of InventoryS3BucketDestination
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isbdPrefix
- The prefix that is prepended to all inventory results.isbdAccountId
- The ID of the account that owns the destination bucket.isbdBucket
- The Amazon resource name (ARN) of the bucket where inventory results will be published.isbdFormat
- Specifies the output format of the inventory results.
isbdPrefix :: Lens' InventoryS3BucketDestination (Maybe Text) #
The prefix that is prepended to all inventory results.
isbdAccountId :: Lens' InventoryS3BucketDestination (Maybe Text) #
The ID of the account that owns the destination bucket.
isbdBucket :: Lens' InventoryS3BucketDestination BucketName #
The Amazon resource name (ARN) of the bucket where inventory results will be published.
isbdFormat :: Lens' InventoryS3BucketDestination InventoryFormat #
Specifies the output format of the inventory results.
InventorySchedule
data InventorySchedule #
See: inventorySchedule
smart constructor.
Arguments
:: InventoryFrequency | |
-> InventorySchedule |
Creates a value of InventorySchedule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isFrequency
- Specifies how frequently inventory results are produced.
isFrequency :: Lens' InventorySchedule InventoryFrequency #
Specifies how frequently inventory results are produced.
LambdaFunctionConfiguration
data LambdaFunctionConfiguration #
Container for specifying the AWS Lambda notification configuration.
See: lambdaFunctionConfiguration
smart constructor.
Instances
Arguments
:: Text | |
-> LambdaFunctionConfiguration |
Creates a value of LambdaFunctionConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfcId
- Undocumented member.lfcFilter
- Undocumented member.lfcLambdaFunctionARN
- Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type.lfcEvents
- Undocumented member.
lfcFilter :: Lens' LambdaFunctionConfiguration (Maybe NotificationConfigurationFilter) #
Undocumented member.
lfcLambdaFunctionARN :: Lens' LambdaFunctionConfiguration Text #
Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type.
lfcEvents :: Lens' LambdaFunctionConfiguration [Event] #
Undocumented member.
LifecycleExpiration
data LifecycleExpiration #
See: lifecycleExpiration
smart constructor.
lifecycleExpiration :: LifecycleExpiration #
Creates a value of LifecycleExpiration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
leDays
- Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.leDate
- Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.leExpiredObjectDeleteMarker
- 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.
leDays :: Lens' LifecycleExpiration (Maybe Int) #
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
leDate :: Lens' LifecycleExpiration (Maybe UTCTime) #
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
leExpiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool) #
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 #
See: lifecycleRule
smart constructor.
Arguments
:: ExpirationStatus | |
-> LifecycleRule |
Creates a value of LifecycleRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrTransitions
- Undocumented member.lrNoncurrentVersionExpiration
- Undocumented member.lrPrefix
- Prefix identifying one or more objects to which the rule applies. This is deprecated; use Filter instead.lrNoncurrentVersionTransitions
- Undocumented member.lrExpiration
- Undocumented member.lrId
- Unique identifier for the rule. The value cannot be longer than 255 characters.lrFilter
- Undocumented member.lrAbortIncompleteMultipartUpload
- Undocumented member.lrStatus
- IfEnabled
, the rule is currently being applied. IfDisabled
, the rule is not currently being applied.
lrTransitions :: Lens' LifecycleRule [Transition] #
Undocumented member.
lrNoncurrentVersionExpiration :: Lens' LifecycleRule (Maybe NoncurrentVersionExpiration) #
Undocumented member.
lrPrefix :: Lens' LifecycleRule (Maybe Text) #
Prefix identifying one or more objects to which the rule applies. This is deprecated; use Filter instead.
lrNoncurrentVersionTransitions :: Lens' LifecycleRule [NoncurrentVersionTransition] #
Undocumented member.
lrExpiration :: Lens' LifecycleRule (Maybe LifecycleExpiration) #
Undocumented member.
lrId :: Lens' LifecycleRule (Maybe Text) #
Unique identifier for the rule. The value cannot be longer than 255 characters.
lrFilter :: Lens' LifecycleRule (Maybe LifecycleRuleFilter) #
Undocumented member.
lrAbortIncompleteMultipartUpload :: Lens' LifecycleRule (Maybe AbortIncompleteMultipartUpload) #
Undocumented member.
LifecycleRuleAndOperator
data LifecycleRuleAndOperator #
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: lifecycleRuleAndOperator
smart constructor.
Instances
lifecycleRuleAndOperator :: LifecycleRuleAndOperator #
Creates a value of LifecycleRuleAndOperator
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lraoPrefix
- Undocumented member.lraoTags
- All of these tags must exist in the object's tag set in order for the rule to apply.
lraoPrefix :: Lens' LifecycleRuleAndOperator (Maybe Text) #
Undocumented member.
lraoTags :: Lens' LifecycleRuleAndOperator [Tag] #
All of these tags must exist in the object's tag set in order for the rule to apply.
LifecycleRuleFilter
data LifecycleRuleFilter #
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: lifecycleRuleFilter
smart constructor.
lifecycleRuleFilter :: LifecycleRuleFilter #
Creates a value of LifecycleRuleFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrfTag :: Lens' LifecycleRuleFilter (Maybe Tag) #
This tag must exist in the object's tag set in order for the rule to apply.
lrfPrefix :: Lens' LifecycleRuleFilter (Maybe Text) #
Prefix identifying one or more objects to which the rule applies.
lrfAnd :: Lens' LifecycleRuleFilter (Maybe LifecycleRuleAndOperator) #
Undocumented member.
LoggingEnabled
data LoggingEnabled #
See: loggingEnabled
smart constructor.
loggingEnabled :: LoggingEnabled #
Creates a value of LoggingEnabled
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
leTargetBucket
- 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.leTargetGrants
- Undocumented member.leTargetPrefix
- This element lets you specify a prefix for the keys that the log files will be stored under.
leTargetBucket :: Lens' LoggingEnabled (Maybe Text) #
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.
leTargetGrants :: Lens' LoggingEnabled [TargetGrant] #
Undocumented member.
leTargetPrefix :: Lens' LoggingEnabled (Maybe Text) #
This element lets you specify a prefix for the keys that the log files will be stored under.
MetricsAndOperator
data MetricsAndOperator #
See: metricsAndOperator
smart constructor.
metricsAndOperator :: MetricsAndOperator #
Creates a value of MetricsAndOperator
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
maoPrefix :: Lens' MetricsAndOperator (Maybe Text) #
The prefix used when evaluating an AND predicate.
maoTags :: Lens' MetricsAndOperator [Tag] #
The list of tags used when evaluating an AND predicate.
MetricsConfiguration
Arguments
:: Text | |
-> MetricsConfiguration |
Creates a value of MetricsConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcFilter :: Lens' MetricsConfiguration (Maybe MetricsFilter) #
Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator).
mcId :: Lens' MetricsConfiguration Text #
The ID used to identify the metrics configuration.
MetricsFilter
data MetricsFilter #
See: metricsFilter
smart constructor.
metricsFilter :: MetricsFilter #
Creates a value of MetricsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mfTag
- The tag used when evaluating a metrics filter.mfPrefix
- The prefix used when evaluating a metrics filter.mfAnd
- 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.
mfAnd :: Lens' MetricsFilter (Maybe MetricsAndOperator) #
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.
MultipartUpload
data MultipartUpload #
See: multipartUpload
smart constructor.
multipartUpload :: MultipartUpload #
Creates a value of MultipartUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
muInitiated
- Date and time at which the multipart upload was initiated.muInitiator
- Identifies who initiated the multipart upload.muOwner
- Undocumented member.muKey
- Key of the object for which the multipart upload was initiated.muStorageClass
- The class of storage used to store the object.muUploadId
- Upload ID that identifies the multipart upload.
muInitiated :: Lens' MultipartUpload (Maybe UTCTime) #
Date and time at which the multipart upload was initiated.
muInitiator :: Lens' MultipartUpload (Maybe Initiator) #
Identifies who initiated the multipart upload.
muKey :: Lens' MultipartUpload (Maybe ObjectKey) #
Key of the object for which the multipart upload was initiated.
muStorageClass :: Lens' MultipartUpload (Maybe StorageClass) #
The class of storage used to store the object.
muUploadId :: Lens' MultipartUpload (Maybe Text) #
Upload ID that identifies the multipart upload.
NoncurrentVersionExpiration
data NoncurrentVersionExpiration #
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: noncurrentVersionExpiration
smart constructor.
Instances
Arguments
:: Int | |
-> NoncurrentVersionExpiration |
Creates a value of NoncurrentVersionExpiration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
NoncurrentVersionTransition
data NoncurrentVersionTransition #
Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA or GLACIER 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 or GLACIER storage class at a specific period in the object's lifetime.
See: noncurrentVersionTransition
smart constructor.
Instances
Arguments
:: Int | |
-> TransitionStorageClass | |
-> NoncurrentVersionTransition |
Creates a value of NoncurrentVersionTransition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nvtNoncurrentDays
- How Amazon S3 Calculates When an Object Became NoncurrentnvtStorageClass
- The class of storage used to store the object.
nvtStorageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass #
The class of storage used to store the object.
NotificationConfiguration
data NotificationConfiguration #
Container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off on the bucket.
See: notificationConfiguration
smart constructor.
Instances
notificationConfiguration :: NotificationConfiguration #
Creates a value of NotificationConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncQueueConfigurations
- Undocumented member.ncTopicConfigurations
- Undocumented member.ncLambdaFunctionConfigurations
- Undocumented member.
ncQueueConfigurations :: Lens' NotificationConfiguration [QueueConfiguration] #
Undocumented member.
ncTopicConfigurations :: Lens' NotificationConfiguration [TopicConfiguration] #
Undocumented member.
ncLambdaFunctionConfigurations :: Lens' NotificationConfiguration [LambdaFunctionConfiguration] #
Undocumented member.
NotificationConfigurationFilter
data NotificationConfigurationFilter #
Configuring Event Notifications
See: notificationConfigurationFilter
smart constructor.
Instances
notificationConfigurationFilter :: NotificationConfigurationFilter #
Creates a value of NotificationConfigurationFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncfKey
- Undocumented member.
ncfKey :: Lens' NotificationConfigurationFilter (Maybe S3KeyFilter) #
Undocumented member.
Object
See: object'
smart constructor.
Creates a value of Object
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oOwner
- Undocumented member.oETag
- Undocumented member.oSize
- Undocumented member.oKey
- Undocumented member.oStorageClass
- The class of storage used to store the object.oLastModified
- Undocumented member.
oStorageClass :: Lens' Object ObjectStorageClass #
The class of storage used to store the object.
oLastModified :: Lens' Object UTCTime #
Undocumented member.
ObjectIdentifier
data ObjectIdentifier #
See: objectIdentifier
smart constructor.
Arguments
:: ObjectKey | |
-> ObjectIdentifier |
Creates a value of ObjectIdentifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oiVersionId
- VersionId for the specific version of the object to delete.oiKey
- Key name of the object to delete.
oiVersionId :: Lens' ObjectIdentifier (Maybe ObjectVersionId) #
VersionId for the specific version of the object to delete.
oiKey :: Lens' ObjectIdentifier ObjectKey #
Key name of the object to delete.
ObjectVersion
data ObjectVersion #
See: objectVersion
smart constructor.
objectVersion :: ObjectVersion #
Creates a value of ObjectVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ovETag
- Undocumented member.ovVersionId
- Version ID of an object.ovSize
- Size in bytes of the object.ovIsLatest
- Specifies whether the object is (true) or is not (false) the latest version of an object.ovOwner
- Undocumented member.ovKey
- The object key.ovStorageClass
- The class of storage used to store the object.ovLastModified
- Date and time the object was last modified.
ovVersionId :: Lens' ObjectVersion (Maybe ObjectVersionId) #
Version ID of an object.
ovIsLatest :: Lens' ObjectVersion (Maybe Bool) #
Specifies whether the object is (true) or is not (false) the latest version of an object.
ovStorageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass) #
The class of storage used to store the object.
ovLastModified :: Lens' ObjectVersion (Maybe UTCTime) #
Date and time the object was last modified.
Owner
See: owner
smart constructor.
Creates a value of Owner
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oDisplayName
- Undocumented member.oId
- Undocumented member.
Part
See: part
smart constructor.
Creates a value of Part
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pETag
- Entity tag returned when the part was uploaded.pSize
- Size of the uploaded part data.pPartNumber
- Part number identifying the part. This is a positive integer between 1 and 10,000.pLastModified
- Date and time at which the part was uploaded.
pPartNumber :: Lens' Part (Maybe Int) #
Part number identifying the part. This is a positive integer between 1 and 10,000.
QueueConfiguration
data QueueConfiguration #
Container for specifying an configuration when you want Amazon S3 to publish events to an Amazon Simple Queue Service (Amazon SQS) queue.
See: queueConfiguration
smart constructor.
Arguments
:: Text | |
-> QueueConfiguration |
Creates a value of QueueConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qcId
- Undocumented member.qcFilter
- Undocumented member.qcQueueARN
- Amazon SQS queue ARN to which Amazon S3 will publish a message when it detects events of specified type.qcEvents
- Undocumented member.
qcFilter :: Lens' QueueConfiguration (Maybe NotificationConfigurationFilter) #
Undocumented member.
qcQueueARN :: Lens' QueueConfiguration Text #
Amazon SQS queue ARN to which Amazon S3 will publish a message when it detects events of specified type.
qcEvents :: Lens' QueueConfiguration [Event] #
Undocumented member.
Redirect
See: redirect
smart constructor.
Creates a value of Redirect
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rHostName
- The host name to use in the redirect request.rProtocol
- Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.rHTTPRedirectCode
- The HTTP redirect code to use on the response. Not required if one of the siblings is present.rReplaceKeyWith
- The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.rReplaceKeyPrefixWith
- 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.
rProtocol :: Lens' Redirect (Maybe Protocol) #
Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.
rHTTPRedirectCode :: Lens' Redirect (Maybe Text) #
The HTTP redirect code to use on the response. Not required if one of the siblings is present.
rReplaceKeyWith :: Lens' Redirect (Maybe Text) #
The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.
rReplaceKeyPrefixWith :: Lens' Redirect (Maybe Text) #
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.
RedirectAllRequestsTo
data RedirectAllRequestsTo #
See: redirectAllRequestsTo
smart constructor.
Instances
Arguments
:: Text | |
-> RedirectAllRequestsTo |
Creates a value of RedirectAllRequestsTo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rartProtocol
- Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.rartHostName
- Name of the host where requests will be redirected.
rartProtocol :: Lens' RedirectAllRequestsTo (Maybe Protocol) #
Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.
rartHostName :: Lens' RedirectAllRequestsTo Text #
Name of the host where requests will be redirected.
ReplicationConfiguration
data ReplicationConfiguration #
Container for replication rules. You can add as many as 1,000 rules. Total replication configuration size can be up to 2 MB.
See: replicationConfiguration
smart constructor.
Instances
Arguments
:: Text | |
-> ReplicationConfiguration |
Creates a value of ReplicationConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcRole :: Lens' ReplicationConfiguration Text #
Amazon Resource Name (ARN) of an IAM role for Amazon S3 to assume when replicating the objects.
rcRules :: Lens' ReplicationConfiguration [ReplicationRule] #
Container for information about a particular replication rule. Replication configuration must have at least one rule and can contain up to 1,000 rules.
ReplicationRule
data ReplicationRule #
See: replicationRule
smart constructor.
Arguments
:: Text | |
-> ReplicationRuleStatus | |
-> Destination | |
-> ReplicationRule |
Creates a value of ReplicationRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrId
- Unique identifier for the rule. The value cannot be longer than 255 characters.rrPrefix
- Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes are not supported.rrStatus
- The rule is ignored if status is not Enabled.rrDestination
- Undocumented member.
rrId :: Lens' ReplicationRule (Maybe Text) #
Unique identifier for the rule. The value cannot be longer than 255 characters.
rrPrefix :: Lens' ReplicationRule Text #
Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes are not supported.
rrStatus :: Lens' ReplicationRule ReplicationRuleStatus #
The rule is ignored if status is not Enabled.
rrDestination :: Lens' ReplicationRule Destination #
Undocumented member.
RequestPaymentConfiguration
data RequestPaymentConfiguration #
See: requestPaymentConfiguration
smart constructor.
Instances
Arguments
:: Payer | |
-> RequestPaymentConfiguration |
Creates a value of RequestPaymentConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpcPayer
- Specifies who pays for the download and request fees.
rpcPayer :: Lens' RequestPaymentConfiguration Payer #
Specifies who pays for the download and request fees.
RestoreRequest
data RestoreRequest #
See: restoreRequest
smart constructor.
Arguments
:: Int | |
-> RestoreRequest |
Creates a value of RestoreRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrGlacierJobParameters
- Glacier related prameters pertaining to this job.rrDays
- Lifetime of the active copy in days
rrGlacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters) #
Glacier related prameters pertaining to this job.
rrDays :: Lens' RestoreRequest Int #
Lifetime of the active copy in days
RoutingRule
Arguments
:: Redirect | |
-> RoutingRule |
Creates a value of RoutingRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrCondition
- 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.rrRedirect
- 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 can specify a different error code to return.
rrCondition :: Lens' RoutingRule (Maybe 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.
rrRedirect :: Lens' 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 can specify a different error code to return.
S3KeyFilter
data S3KeyFilter #
Container for object key name prefix and suffix filtering rules.
See: s3KeyFilter
smart constructor.
Instances
Creates a value of S3KeyFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
skfFilterRules
- Undocumented member.
skfFilterRules :: Lens' S3KeyFilter [FilterRule] #
Undocumented member.
S3ServiceError
data S3ServiceError #
See: s3ServiceError
smart constructor.
s3ServiceError :: S3ServiceError #
Creates a value of S3ServiceError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sseVersionId
- Undocumented member.sseKey
- Undocumented member.sseCode
- Undocumented member.sseMessage
- Undocumented member.
sseVersionId :: Lens' S3ServiceError (Maybe ObjectVersionId) #
Undocumented member.
sseMessage :: Lens' S3ServiceError (Maybe Text) #
Undocumented member.
StorageClassAnalysis
storageClassAnalysis :: StorageClassAnalysis #
Creates a value of StorageClassAnalysis
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scaDataExport
- A container used to describe how data related to the storage class analysis should be exported.
scaDataExport :: Lens' StorageClassAnalysis (Maybe StorageClassAnalysisDataExport) #
A container used to describe how data related to the storage class analysis should be exported.
StorageClassAnalysisDataExport
data StorageClassAnalysisDataExport #
See: storageClassAnalysisDataExport
smart constructor.
Instances
storageClassAnalysisDataExport #
Arguments
:: StorageClassAnalysisSchemaVersion | |
-> AnalyticsExportDestination | |
-> StorageClassAnalysisDataExport |
Creates a value of StorageClassAnalysisDataExport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scadeOutputSchemaVersion
- The version of the output schema to use when exporting data. Must be V_1.scadeDestination
- The place to store the data for an analysis.
scadeOutputSchemaVersion :: Lens' StorageClassAnalysisDataExport StorageClassAnalysisSchemaVersion #
The version of the output schema to use when exporting data. Must be V_1.
scadeDestination :: Lens' StorageClassAnalysisDataExport AnalyticsExportDestination #
The place to store the data for an analysis.
Tag
See: tag
smart constructor.
Tagging
See: tagging
smart constructor.
TargetGrant
Creates a value of TargetGrant
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tgPermission
- Logging permissions assigned to the Grantee for the bucket.tgGrantee
- Undocumented member.
tgPermission :: Lens' TargetGrant (Maybe BucketLogsPermission) #
Logging permissions assigned to the Grantee for the bucket.
TopicConfiguration
data TopicConfiguration #
Container for specifying the configuration when you want Amazon S3 to publish events to an Amazon Simple Notification Service (Amazon SNS) topic.
See: topicConfiguration
smart constructor.
Arguments
:: Text | |
-> TopicConfiguration |
Creates a value of TopicConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tcId
- Undocumented member.tcFilter
- Undocumented member.tcTopicARN
- Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified type.tcEvents
- Undocumented member.
tcFilter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter) #
Undocumented member.
tcTopicARN :: Lens' TopicConfiguration Text #
Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified type.
tcEvents :: Lens' TopicConfiguration [Event] #
Undocumented member.
Transition
Creates a value of Transition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tDays
- Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.tDate
- Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.tStorageClass
- The class of storage used to store the object.
tDays :: Lens' Transition (Maybe Int) #
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
tDate :: Lens' Transition (Maybe UTCTime) #
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
tStorageClass :: Lens' Transition (Maybe TransitionStorageClass) #
The class of storage used to store the object.
VersioningConfiguration
versioningConfiguration :: VersioningConfiguration #
Creates a value of VersioningConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vcStatus
- The versioning state of the bucket.vcMFADelete
- 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.
vcStatus :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus) #
The versioning state of the bucket.
vcMFADelete :: Lens' VersioningConfiguration (Maybe 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.
WebsiteConfiguration
data WebsiteConfiguration #
See: websiteConfiguration
smart constructor.
websiteConfiguration :: WebsiteConfiguration #
Creates a value of WebsiteConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wcRedirectAllRequestsTo
- Undocumented member.wcErrorDocument
- Undocumented member.wcIndexDocument
- Undocumented member.wcRoutingRules
- Undocumented member.
wcRedirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo) #
Undocumented member.
wcErrorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument) #
Undocumented member.
wcIndexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument) #
Undocumented member.
wcRoutingRules :: Lens' WebsiteConfiguration [RoutingRule] #
Undocumented member.