| 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
- BucketAccelerateStatus
- BucketCannedACL
- BucketLogsPermission
- BucketVersioningStatus
- EncodingType
- Event
- ExpirationStatus
- FilterRuleName
- MFADelete
- MFADeleteStatus
- MetadataDirective
- ObjectCannedACL
- ObjectStorageClass
- ObjectVersionStorageClass
- Payer
- Permission
- Protocol
- ReplicationRuleStatus
- ReplicationStatus
- RequestCharged
- RequestPayer
- ServerSideEncryption
- StorageClass
- TransitionStorageClass
- Type
- AbortIncompleteMultipartUpload
- AccelerateConfiguration
- AccessControlPolicy
- Bucket
- BucketLifecycleConfiguration
- BucketLoggingStatus
- CORSConfiguration
- CORSRule
- CommonPrefix
- CompletedMultipartUpload
- CompletedPart
- Condition
- CopyObjectResult
- CopyPartResult
- CreateBucketConfiguration
- Delete
- DeleteMarkerEntry
- DeletedObject
- Destination
- ErrorDocument
- FilterRule
- Grant
- Grantee
- IndexDocument
- Initiator
- LambdaFunctionConfiguration
- LifecycleExpiration
- LifecycleRule
- LoggingEnabled
- MultipartUpload
- NoncurrentVersionExpiration
- NoncurrentVersionTransition
- NotificationConfiguration
- NotificationConfigurationFilter
- Object
- ObjectIdentifier
- ObjectVersion
- Owner
- Part
- QueueConfiguration
- Redirect
- RedirectAllRequestsTo
- ReplicationConfiguration
- ReplicationRule
- RequestPaymentConfiguration
- RestoreRequest
- RoutingRule
- S3KeyFilter
- S3ServiceError
- 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
- data BucketAccelerateStatus
- data BucketCannedACL
- data BucketLogsPermission
- = FullControl
- | Read
- | Write
- data BucketVersioningStatus
- data EncodingType = URL
- data Event
- data ExpirationStatus
- data FilterRuleName
- 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 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 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 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 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 :: Text -> ExpirationStatus -> LifecycleRule
- lrTransitions :: Lens' LifecycleRule [Transition]
- lrNoncurrentVersionExpiration :: Lens' LifecycleRule (Maybe NoncurrentVersionExpiration)
- lrNoncurrentVersionTransitions :: Lens' LifecycleRule [NoncurrentVersionTransition]
- lrExpiration :: Lens' LifecycleRule (Maybe LifecycleExpiration)
- lrId :: Lens' LifecycleRule (Maybe Text)
- lrAbortIncompleteMultipartUpload :: Lens' LifecycleRule (Maybe AbortIncompleteMultipartUpload)
- lrPrefix :: Lens' LifecycleRule Text
- lrStatus :: Lens' LifecycleRule ExpirationStatus
- data LoggingEnabled
- loggingEnabled :: LoggingEnabled
- leTargetBucket :: Lens' LoggingEnabled (Maybe Text)
- leTargetGrants :: Lens' LoggingEnabled [TargetGrant]
- leTargetPrefix :: Lens' LoggingEnabled (Maybe Text)
- 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
- 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 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 sum of available AWS regions.
Constructors
| Ireland | Europe / eu-west-1 |
| Frankfurt | Europe / eu-central-1 |
| Tokyo | Asia Pacific / ap-northeast-1 |
| Singapore | Asia Pacific / ap-southeast-1 |
| Sydney | Asia Pacific / ap-southeast-2 |
| Beijing | China / cn-north-1 |
| NorthVirginia | US / us-east-1 |
| NorthCalifornia | US / us-west-1 |
| Oregon | US / us-west-2 |
| GovCloud | AWS GovCloud / us-gov-west-1 |
| GovCloudFIPS | AWS GovCloud (FIPS 140-2) S3 Only / fips-us-gov-west-1 |
| SaoPaulo | South America / sa-east-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.
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
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
Payer
Constructors
| BucketOwner | |
| Requester |
Instances
Permission
data Permission Source #
Constructors
| PFullControl | |
| PRead | |
| PReadAcp | |
| PWrite | |
| PWriteAcp |
Instances
Protocol
Instances
ReplicationRuleStatus
data ReplicationRuleStatus Source #
Instances
ReplicationStatus
data ReplicationStatus Source #
Instances
RequestCharged
data RequestCharged Source #
If present, indicates that the requester was successfully charged for the request.
Constructors
| RCRequester |
Instances
RequestPayer
data RequestPayer Source #
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 Source #
Instances
StorageClass
data StorageClass Source #
Constructors
| ReducedRedundancy | |
| Standard | |
| StandardIA |
Instances
TransitionStorageClass
data TransitionStorageClass Source #
Constructors
| TSCGlacier | |
| TSCStandardIA |
Instances
Type
Constructors
| AmazonCustomerByEmail | |
| CanonicalUser | |
| Group |
Instances
| Bounded Type Source # | |
| Enum Type Source # | |
| Eq Type Source # | |
| Data Type Source # | |
| Ord Type Source # | |
| Read Type Source # | |
| Show Type Source # | |
| Generic Type Source # | |
| Hashable Type Source # | |
| NFData Type Source # | |
| FromXML Type Source # | |
| ToXML Type Source # | |
| ToQuery Type Source # | |
| ToHeader Type Source # | |
| ToByteString Type Source # | |
| FromText Type Source # | |
| ToText Type Source # | |
| type Rep Type Source # | |
AbortIncompleteMultipartUpload
data AbortIncompleteMultipartUpload Source #
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 Source #
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 :: Lens' AbortIncompleteMultipartUpload (Maybe Int) Source #
Indicates the number of days that must pass since initiation for Lifecycle to abort an Incomplete Multipart Upload.
AccelerateConfiguration
data AccelerateConfiguration Source #
See: accelerateConfiguration smart constructor.
Instances
accelerateConfiguration :: AccelerateConfiguration Source #
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 :: Lens' AccelerateConfiguration (Maybe BucketAccelerateStatus) Source #
The accelerate configuration of the bucket.
AccessControlPolicy
data AccessControlPolicy Source #
See: accessControlPolicy smart constructor.
Instances
accessControlPolicy :: AccessControlPolicy Source #
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:
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:
BucketLifecycleConfiguration
data BucketLifecycleConfiguration Source #
See: bucketLifecycleConfiguration smart constructor.
Instances
bucketLifecycleConfiguration :: BucketLifecycleConfiguration Source #
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 :: Lens' BucketLifecycleConfiguration [LifecycleRule] Source #
Undocumented member.
BucketLoggingStatus
data BucketLoggingStatus Source #
See: bucketLoggingStatus smart constructor.
Instances
bucketLoggingStatus :: BucketLoggingStatus Source #
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 :: Lens' BucketLoggingStatus (Maybe LoggingEnabled) Source #
Undocumented member.
CORSConfiguration
corsConfiguration :: CORSConfiguration Source #
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 :: Lens' CORSConfiguration [CORSRule] Source #
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 :: Lens' CORSRule (Maybe Int) Source #
The time in seconds that your browser is to cache the preflight response for the specified resource.
crAllowedHeaders :: Lens' CORSRule [Text] Source #
Specifies which headers are allowed in a pre-flight OPTIONS request.
crExposeHeaders :: Lens' CORSRule [Text] Source #
One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
crAllowedMethods :: Lens' CORSRule [Text] Source #
Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
crAllowedOrigins :: Lens' CORSRule [Text] Source #
One or more origins you want customers to be able to access the bucket from.
CommonPrefix
data CommonPrefix Source #
See: commonPrefix smart constructor.
commonPrefix :: CommonPrefix Source #
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:
CompletedMultipartUpload
data CompletedMultipartUpload Source #
See: completedMultipartUpload smart constructor.
Instances
completedMultipartUpload :: CompletedMultipartUpload Source #
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 :: Lens' CompletedMultipartUpload (Maybe (NonEmpty CompletedPart)) Source #
Undocumented member.
CompletedPart
data CompletedPart Source #
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 :: Lens' CompletedPart Int Source #
Part number that identifies the part. This is a positive integer between 1 and 10,000.
Condition
See: condition smart constructor.
condition :: Condition Source #
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 :: Lens' Condition (Maybe Text) Source #
The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.
cHTTPErrorCodeReturnedEquals :: Lens' Condition (Maybe Text) Source #
The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.
CopyObjectResult
copyObjectResult :: CopyObjectResult Source #
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:
corLastModified :: Lens' CopyObjectResult (Maybe UTCTime) Source #
Undocumented member.
CopyPartResult
data CopyPartResult Source #
See: copyPartResult smart constructor.
copyPartResult :: CopyPartResult Source #
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:
cprLastModified :: Lens' CopyPartResult (Maybe UTCTime) Source #
Date and time at which the object was uploaded.
CreateBucketConfiguration
data CreateBucketConfiguration Source #
See: createBucketConfiguration smart constructor.
Instances
createBucketConfiguration :: CreateBucketConfiguration Source #
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 :: Lens' CreateBucketConfiguration (Maybe LocationConstraint) Source #
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) Source #
Element to enable quiet mode for the request. When you add this element, you must set its value to true.
DeleteMarkerEntry
data DeleteMarkerEntry Source #
See: deleteMarkerEntry smart constructor.
Instances
deleteMarkerEntry :: DeleteMarkerEntry Source #
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 :: Lens' DeleteMarkerEntry (Maybe ObjectVersionId) Source #
Version ID of an object.
dmeIsLatest :: Lens' DeleteMarkerEntry (Maybe Bool) Source #
Specifies whether the object is (true) or is not (false) the latest version of an object.
dmeLastModified :: Lens' DeleteMarkerEntry (Maybe UTCTime) Source #
Date and time the object was last modified.
DeletedObject
data DeletedObject Source #
See: deletedObject smart constructor.
deletedObject :: DeletedObject Source #
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 :: Lens' DeletedObject (Maybe ObjectVersionId) Source #
Undocumented member.
dDeleteMarker :: Lens' DeletedObject (Maybe Bool) Source #
Undocumented member.
dDeleteMarkerVersionId :: Lens' DeletedObject (Maybe Text) Source #
Undocumented member.
Destination
data Destination Source #
See: destination smart constructor.
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 :: Lens' Destination (Maybe StorageClass) Source #
The class of storage used to store the object.
dBucket :: Lens' Destination BucketName Source #
Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.
ErrorDocument
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 :: Lens' ErrorDocument ObjectKey Source #
The object key name to use when a 4XX class error occurs.
FilterRule
data FilterRule Source #
Container for key value pair that defines the criteria for the filter rule.
See: filterRule smart constructor.
filterRule :: FilterRule Source #
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:
frName :: Lens' FilterRule (Maybe FilterRuleName) Source #
Object key name prefix or suffix identifying one or more objects to which the filtering rule applies. Maximum prefix length can be up to 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, go to Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide.
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 :: Lens' Grant (Maybe Permission) Source #
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:
IndexDocument
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 :: Lens' IndexDocument Text Source #
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 samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
Initiator
See: initiator smart constructor.
initiator :: Initiator Source #
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:
iId :: Lens' Initiator (Maybe Text) Source #
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.
LambdaFunctionConfiguration
data LambdaFunctionConfiguration Source #
Container for specifying the AWS Lambda notification configuration.
See: lambdaFunctionConfiguration smart constructor.
Instances
lambdaFunctionConfiguration Source #
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:
lfcFilter :: Lens' LambdaFunctionConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
lfcLambdaFunctionARN :: Lens' LambdaFunctionConfiguration Text Source #
Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type.
LifecycleExpiration
data LifecycleExpiration Source #
See: lifecycleExpiration smart constructor.
Instances
lifecycleExpiration :: LifecycleExpiration Source #
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 :: Lens' LifecycleExpiration (Maybe Int) Source #
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
leDate :: Lens' LifecycleExpiration (Maybe UTCTime) Source #
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
leExpiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool) Source #
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
LifecycleRule
Arguments
| :: Text | |
| -> 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 :: Lens' LifecycleRule [Transition] Source #
Undocumented member.
lrNoncurrentVersionExpiration :: Lens' LifecycleRule (Maybe NoncurrentVersionExpiration) Source #
Undocumented member.
lrNoncurrentVersionTransitions :: Lens' LifecycleRule [NoncurrentVersionTransition] Source #
Undocumented member.
lrExpiration :: Lens' LifecycleRule (Maybe LifecycleExpiration) Source #
Undocumented member.
lrId :: Lens' LifecycleRule (Maybe Text) Source #
Unique identifier for the rule. The value cannot be longer than 255 characters.
lrAbortIncompleteMultipartUpload :: Lens' LifecycleRule (Maybe AbortIncompleteMultipartUpload) Source #
Undocumented member.
lrPrefix :: Lens' LifecycleRule Text Source #
Prefix identifying one or more objects to which the rule applies.
lrStatus :: Lens' LifecycleRule ExpirationStatus Source #
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.
LoggingEnabled
data LoggingEnabled Source #
See: loggingEnabled smart constructor.
Instances
loggingEnabled :: LoggingEnabled Source #
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 :: Lens' LoggingEnabled (Maybe Text) Source #
Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key.
leTargetGrants :: Lens' LoggingEnabled [TargetGrant] Source #
Undocumented member.
leTargetPrefix :: Lens' LoggingEnabled (Maybe Text) Source #
This element lets you specify a prefix for the keys that the log files will be stored under.
MultipartUpload
data MultipartUpload Source #
See: multipartUpload smart constructor.
multipartUpload :: MultipartUpload Source #
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 :: Lens' MultipartUpload (Maybe UTCTime) Source #
Date and time at which the multipart upload was initiated.
muInitiator :: Lens' MultipartUpload (Maybe Initiator) Source #
Identifies who initiated the multipart upload.
muKey :: Lens' MultipartUpload (Maybe ObjectKey) Source #
Key of the object for which the multipart upload was initiated.
muStorageClass :: Lens' MultipartUpload (Maybe StorageClass) Source #
The class of storage used to store the object.
muUploadId :: Lens' MultipartUpload (Maybe Text) Source #
Upload ID that identifies the multipart upload.
NoncurrentVersionExpiration
data NoncurrentVersionExpiration Source #
Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.
See: noncurrentVersionExpiration smart constructor.
Instances
noncurrentVersionExpiration Source #
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:
nveNoncurrentDays :: Lens' NoncurrentVersionExpiration Int Source #
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple Storage Service Developer Guide.
NoncurrentVersionTransition
data NoncurrentVersionTransition Source #
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
noncurrentVersionTransition Source #
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 :: Lens' NoncurrentVersionTransition Int Source #
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple Storage Service Developer Guide.
nvtStorageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass Source #
The class of storage used to store the object.
NotificationConfiguration
data NotificationConfiguration Source #
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 Source #
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 :: Lens' NotificationConfiguration [QueueConfiguration] Source #
Undocumented member.
ncTopicConfigurations :: Lens' NotificationConfiguration [TopicConfiguration] Source #
Undocumented member.
ncLambdaFunctionConfigurations :: Lens' NotificationConfiguration [LambdaFunctionConfiguration] Source #
Undocumented member.
NotificationConfigurationFilter
data NotificationConfigurationFilter Source #
Container for object key name filtering rules. For information about key name filtering, go to Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide.
See: notificationConfigurationFilter smart constructor.
Instances
notificationConfigurationFilter :: NotificationConfigurationFilter Source #
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 :: Lens' NotificationConfigurationFilter (Maybe S3KeyFilter) Source #
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:
oStorageClass :: Lens' Object ObjectStorageClass Source #
The class of storage used to store the object.
ObjectIdentifier
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 :: Lens' ObjectIdentifier (Maybe ObjectVersionId) Source #
VersionId for the specific version of the object to delete.
ObjectVersion
data ObjectVersion Source #
See: objectVersion smart constructor.
objectVersion :: ObjectVersion Source #
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:
ovVersionId :: Lens' ObjectVersion (Maybe ObjectVersionId) Source #
Version ID of an object.
ovIsLatest :: Lens' ObjectVersion (Maybe Bool) Source #
Specifies whether the object is (true) or is not (false) the latest version of an object.
ovStorageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass) Source #
The class of storage used to store the object.
ovLastModified :: Lens' ObjectVersion (Maybe UTCTime) Source #
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:
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:
pPartNumber :: Lens' Part (Maybe Int) Source #
Part number identifying the part. This is a positive integer between 1 and 10,000.
QueueConfiguration
data QueueConfiguration Source #
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.
Instances
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:
qcFilter :: Lens' QueueConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
qcQueueARN :: Lens' QueueConfiguration Text Source #
Amazon SQS queue ARN to which Amazon S3 will publish a message when it detects events of specified type.
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:
rProtocol :: Lens' Redirect (Maybe Protocol) Source #
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) Source #
The HTTP redirect code to use on the response. Not required if one of the siblings is present.
rReplaceKeyWith :: Lens' Redirect (Maybe Text) Source #
The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.
rReplaceKeyPrefixWith :: Lens' Redirect (Maybe Text) Source #
The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.
RedirectAllRequestsTo
data RedirectAllRequestsTo Source #
See: redirectAllRequestsTo smart constructor.
Instances
redirectAllRequestsTo Source #
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 :: Lens' RedirectAllRequestsTo (Maybe Protocol) Source #
Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.
rartHostName :: Lens' RedirectAllRequestsTo Text Source #
Name of the host where requests will be redirected.
ReplicationConfiguration
data ReplicationConfiguration Source #
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
replicationConfiguration Source #
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 Source #
Amazon Resource Name (ARN) of an IAM role for Amazon S3 to assume when replicating the objects.
rcRules :: Lens' ReplicationConfiguration [ReplicationRule] Source #
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 Source #
See: replicationRule smart constructor.
Instances
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 :: Lens' ReplicationRule (Maybe Text) Source #
Unique identifier for the rule. The value cannot be longer than 255 characters.
rrPrefix :: Lens' ReplicationRule Text Source #
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 Source #
The rule is ignored if status is not Enabled.
rrDestination :: Lens' ReplicationRule Destination Source #
Undocumented member.
RequestPaymentConfiguration
data RequestPaymentConfiguration Source #
See: requestPaymentConfiguration smart constructor.
Instances
requestPaymentConfiguration Source #
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 :: Lens' RequestPaymentConfiguration Payer Source #
Specifies who pays for the download and request fees.
RestoreRequest
data RestoreRequest Source #
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:
RoutingRule
data RoutingRule Source #
See: routingRule smart constructor.
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 :: Lens' RoutingRule (Maybe Condition) Source #
A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.
rrRedirect :: Lens' RoutingRule Redirect Source #
Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.
S3KeyFilter
data S3KeyFilter Source #
Container for object key name prefix and suffix filtering rules.
See: s3KeyFilter smart constructor.
s3KeyFilter :: S3KeyFilter Source #
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 :: Lens' S3KeyFilter [FilterRule] Source #
Undocumented member.
S3ServiceError
data S3ServiceError Source #
See: s3ServiceError smart constructor.
s3ServiceError :: S3ServiceError Source #
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 :: Lens' S3ServiceError (Maybe ObjectVersionId) Source #
Undocumented member.
sseMessage :: Lens' S3ServiceError (Maybe Text) Source #
Undocumented member.
Tag
See: tag smart constructor.
Tagging
See: tagging smart constructor.
TargetGrant
data TargetGrant Source #
See: targetGrant smart constructor.
targetGrant :: TargetGrant Source #
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 :: Lens' TargetGrant (Maybe BucketLogsPermission) Source #
Logging permissions assigned to the Grantee for the bucket.
TopicConfiguration
data TopicConfiguration Source #
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.
Instances
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:
tcFilter :: Lens' TopicConfiguration (Maybe NotificationConfigurationFilter) Source #
Undocumented member.
tcTopicARN :: Lens' TopicConfiguration Text Source #
Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified type.
Transition
data Transition Source #
See: transition smart constructor.
transition :: Transition Source #
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 :: Lens' Transition (Maybe Int) Source #
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
tDate :: Lens' Transition (Maybe UTCTime) Source #
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
tStorageClass :: Lens' Transition (Maybe TransitionStorageClass) Source #
The class of storage used to store the object.
VersioningConfiguration
data VersioningConfiguration Source #
See: versioningConfiguration smart constructor.
Instances
versioningConfiguration :: VersioningConfiguration Source #
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 :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus) Source #
The versioning state of the bucket.
vcMFADelete :: Lens' VersioningConfiguration (Maybe MFADelete) Source #
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
WebsiteConfiguration
data WebsiteConfiguration Source #
See: websiteConfiguration smart constructor.
Instances
websiteConfiguration :: WebsiteConfiguration Source #
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 :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo) Source #
Undocumented member.
wcErrorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument) Source #
Undocumented member.
wcIndexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument) Source #
Undocumented member.
wcRoutingRules :: Lens' WebsiteConfiguration [RoutingRule] Source #
Undocumented member.