Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Service
- Event
- NoncurrentVersionExpiration
- Transition
- DeleteMarkerEntry
- ExpirationStatus
- Part
- VersioningConfiguration
- Tag
- ObjectStorageClass
- MetadataDirective
- RedirectAllRequestsTo
- RoutingRule
- NotificationConfiguration
- S3ServiceError
- ObjectCannedACL
- BucketVersioningStatus
- DeletedObject
- ObjectVersionStorageClass
- CopyPartResult
- EncodingType
- RequestPaymentConfiguration
- CORSRule
- WebsiteConfiguration
- NoncurrentVersionTransition
- Initiator
- ObjectIdentifier
- Bucket
- Protocol
- Grant
- Rule
- TopicConfiguration
- QueueConfiguration
- Owner
- BucketLoggingStatus
- ErrorDocument
- StorageClass
- ObjectVersion
- TargetGrant
- MFADeleteStatus
- Payer
- Redirect
- BucketLogsPermission
- CompletedPart
- CreateBucketConfiguration
- Tagging
- LifecycleExpiration
- CORSConfiguration
- Object
- CommonPrefix
- MultipartUpload
- Type
- TransitionStorageClass
- CompletedMultipartUpload
- Condition
- Permission
- AccessControlPolicy
- BucketCannedACL
- MFADelete
- CloudFunctionConfiguration
- Grantee
- LifecycleConfiguration
- LoggingEnabled
- ServerSideEncryption
- IndexDocument
- CopyObjectResult
- Delete
- RestoreRequest
- Common
- data S3
- data RESTError :: *
- ns :: Text
- data Event
- data NoncurrentVersionExpiration
- noncurrentVersionExpiration :: Int -> NoncurrentVersionExpiration
- nveNoncurrentDays :: Lens' NoncurrentVersionExpiration Int
- data Transition
- transition :: Transition
- tDate :: Lens' Transition (Maybe UTCTime)
- tDays :: Lens' Transition (Maybe Int)
- tStorageClass :: Lens' Transition (Maybe TransitionStorageClass)
- data DeleteMarkerEntry
- deleteMarkerEntry :: DeleteMarkerEntry
- dmeIsLatest :: Lens' DeleteMarkerEntry (Maybe Bool)
- dmeKey :: Lens' DeleteMarkerEntry (Maybe Text)
- dmeLastModified :: Lens' DeleteMarkerEntry (Maybe UTCTime)
- dmeOwner :: Lens' DeleteMarkerEntry (Maybe Owner)
- dmeVersionId :: Lens' DeleteMarkerEntry (Maybe Text)
- data ExpirationStatus
- data Part
- part :: Part
- pETag :: Lens' Part (Maybe Text)
- pLastModified :: Lens' Part (Maybe UTCTime)
- pPartNumber :: Lens' Part (Maybe Int)
- pSize :: Lens' Part (Maybe Int)
- data VersioningConfiguration
- versioningConfiguration :: VersioningConfiguration
- vcMFADelete :: Lens' VersioningConfiguration (Maybe MFADelete)
- vcStatus :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus)
- data Tag
- tag :: Text -> Text -> Tag
- tagKey :: Lens' Tag Text
- tagValue :: Lens' Tag Text
- data ObjectStorageClass
- data MetadataDirective
- data RedirectAllRequestsTo
- redirectAllRequestsTo :: Text -> RedirectAllRequestsTo
- rartHostName :: Lens' RedirectAllRequestsTo Text
- rartProtocol :: Lens' RedirectAllRequestsTo (Maybe Protocol)
- data RoutingRule
- routingRule :: Redirect -> RoutingRule
- rrCondition :: Lens' RoutingRule (Maybe Condition)
- rrRedirect :: Lens' RoutingRule Redirect
- data NotificationConfiguration
- notificationConfiguration :: NotificationConfiguration
- ncCloudFunctionConfiguration :: Lens' NotificationConfiguration (Maybe CloudFunctionConfiguration)
- ncQueueConfiguration :: Lens' NotificationConfiguration (Maybe QueueConfiguration)
- ncTopicConfiguration :: Lens' NotificationConfiguration (Maybe TopicConfiguration)
- data S3ServiceError
- s3ServiceError :: S3ServiceError
- sseCode :: Lens' S3ServiceError (Maybe Text)
- sseKey :: Lens' S3ServiceError (Maybe Text)
- sseMessage :: Lens' S3ServiceError (Maybe Text)
- sseVersionId :: Lens' S3ServiceError (Maybe Text)
- data ObjectCannedACL
- data BucketVersioningStatus
- data DeletedObject
- deletedObject :: DeletedObject
- do1DeleteMarker :: Lens' DeletedObject (Maybe Bool)
- do1DeleteMarkerVersionId :: Lens' DeletedObject (Maybe Text)
- do1Key :: Lens' DeletedObject (Maybe Text)
- do1VersionId :: Lens' DeletedObject (Maybe Text)
- data ObjectVersionStorageClass = OVSCStandard
- data CopyPartResult
- copyPartResult :: CopyPartResult
- cprETag :: Lens' CopyPartResult (Maybe Text)
- cprLastModified :: Lens' CopyPartResult (Maybe UTCTime)
- data EncodingType = Url
- data RequestPaymentConfiguration
- requestPaymentConfiguration :: Payer -> RequestPaymentConfiguration
- rpcPayer :: Lens' RequestPaymentConfiguration Payer
- data CORSRule
- corsrule :: CORSRule
- corsrAllowedHeaders :: Lens' CORSRule [Text]
- corsrAllowedMethods :: Lens' CORSRule [Text]
- corsrAllowedOrigins :: Lens' CORSRule [Text]
- corsrExposeHeaders :: Lens' CORSRule [Text]
- corsrMaxAgeSeconds :: Lens' CORSRule (Maybe Int)
- data WebsiteConfiguration
- websiteConfiguration :: WebsiteConfiguration
- wcErrorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument)
- wcIndexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument)
- wcRedirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo)
- wcRoutingRules :: Lens' WebsiteConfiguration [RoutingRule]
- data NoncurrentVersionTransition
- noncurrentVersionTransition :: Int -> TransitionStorageClass -> NoncurrentVersionTransition
- nvtNoncurrentDays :: Lens' NoncurrentVersionTransition Int
- nvtStorageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass
- data Initiator
- initiator :: Initiator
- iDisplayName :: Lens' Initiator (Maybe Text)
- iID :: Lens' Initiator (Maybe Text)
- data ObjectIdentifier
- objectIdentifier :: Text -> ObjectIdentifier
- oiKey :: Lens' ObjectIdentifier Text
- oiVersionId :: Lens' ObjectIdentifier (Maybe Text)
- data Bucket
- bucket :: Bucket
- bCreationDate :: Lens' Bucket (Maybe UTCTime)
- bName :: Lens' Bucket (Maybe Text)
- data Protocol
- data Grant
- grant :: Grant
- gGrantee :: Lens' Grant (Maybe Grantee)
- gPermission :: Lens' Grant (Maybe Permission)
- data Rule
- rule :: Text -> ExpirationStatus -> Rule
- rExpiration :: Lens' Rule (Maybe LifecycleExpiration)
- rID :: Lens' Rule (Maybe Text)
- rNoncurrentVersionExpiration :: Lens' Rule (Maybe NoncurrentVersionExpiration)
- rNoncurrentVersionTransition :: Lens' Rule (Maybe NoncurrentVersionTransition)
- rPrefix :: Lens' Rule Text
- rStatus :: Lens' Rule ExpirationStatus
- rTransition :: Lens' Rule (Maybe Transition)
- data TopicConfiguration
- topicConfiguration :: TopicConfiguration
- tcEvent :: Lens' TopicConfiguration (Maybe Event)
- tcEvents :: Lens' TopicConfiguration [Event]
- tcId :: Lens' TopicConfiguration (Maybe Text)
- tcTopic :: Lens' TopicConfiguration (Maybe Text)
- data QueueConfiguration
- queueConfiguration :: QueueConfiguration
- qcEvent :: Lens' QueueConfiguration (Maybe Event)
- qcEvents :: Lens' QueueConfiguration [Event]
- qcId :: Lens' QueueConfiguration (Maybe Text)
- qcQueue :: Lens' QueueConfiguration (Maybe Text)
- data Owner
- owner :: Owner
- oDisplayName :: Lens' Owner (Maybe Text)
- oID :: Lens' Owner (Maybe Text)
- data BucketLoggingStatus
- bucketLoggingStatus :: BucketLoggingStatus
- blsLoggingEnabled :: Lens' BucketLoggingStatus (Maybe LoggingEnabled)
- data ErrorDocument
- errorDocument :: Text -> ErrorDocument
- edKey :: Lens' ErrorDocument Text
- data StorageClass
- data ObjectVersion
- objectVersion :: ObjectVersion
- ovETag :: Lens' ObjectVersion (Maybe Text)
- ovIsLatest :: Lens' ObjectVersion (Maybe Bool)
- ovKey :: Lens' ObjectVersion (Maybe Text)
- ovLastModified :: Lens' ObjectVersion (Maybe UTCTime)
- ovOwner :: Lens' ObjectVersion (Maybe Owner)
- ovSize :: Lens' ObjectVersion (Maybe Int)
- ovStorageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass)
- ovVersionId :: Lens' ObjectVersion (Maybe Text)
- data TargetGrant
- targetGrant :: TargetGrant
- tgGrantee :: Lens' TargetGrant (Maybe Grantee)
- tgPermission :: Lens' TargetGrant (Maybe BucketLogsPermission)
- data MFADeleteStatus
- data Payer
- data Redirect
- redirect :: Redirect
- rHostName :: Lens' Redirect (Maybe Text)
- rHttpRedirectCode :: Lens' Redirect (Maybe Text)
- rProtocol :: Lens' Redirect (Maybe Protocol)
- rReplaceKeyPrefixWith :: Lens' Redirect (Maybe Text)
- rReplaceKeyWith :: Lens' Redirect (Maybe Text)
- data BucketLogsPermission
- = FullControl
- | Read
- | Write
- data CompletedPart
- completedPart :: CompletedPart
- cpETag :: Lens' CompletedPart (Maybe Text)
- cpPartNumber :: Lens' CompletedPart (Maybe Int)
- data CreateBucketConfiguration
- createBucketConfiguration :: CreateBucketConfiguration
- cbcLocationConstraint :: Lens' CreateBucketConfiguration (Maybe Region)
- data Tagging
- tagging :: Tagging
- tTagSet :: Lens' Tagging [Tag]
- data LifecycleExpiration
- lifecycleExpiration :: LifecycleExpiration
- leDate :: Lens' LifecycleExpiration (Maybe UTCTime)
- leDays :: Lens' LifecycleExpiration (Maybe Int)
- data CORSConfiguration
- corsconfiguration :: CORSConfiguration
- corscCORSRules :: Lens' CORSConfiguration [CORSRule]
- data Object
- object' :: Text -> UTCTime -> Text -> Int -> ObjectStorageClass -> Owner -> Object
- oETag :: Lens' Object Text
- oKey :: Lens' Object Text
- oLastModified :: Lens' Object UTCTime
- oOwner :: Lens' Object Owner
- oSize :: Lens' Object Int
- oStorageClass :: Lens' Object ObjectStorageClass
- data CommonPrefix
- commonPrefix :: CommonPrefix
- cpPrefix :: Lens' CommonPrefix (Maybe Text)
- data MultipartUpload
- multipartUpload :: MultipartUpload
- muInitiated :: Lens' MultipartUpload (Maybe UTCTime)
- muInitiator :: Lens' MultipartUpload (Maybe Initiator)
- muKey :: Lens' MultipartUpload (Maybe Text)
- muOwner :: Lens' MultipartUpload (Maybe Owner)
- muStorageClass :: Lens' MultipartUpload (Maybe StorageClass)
- muUploadId :: Lens' MultipartUpload (Maybe Text)
- data Type
- data TransitionStorageClass = TSCGlacier
- data CompletedMultipartUpload
- completedMultipartUpload :: CompletedMultipartUpload
- cmuParts :: Lens' CompletedMultipartUpload [CompletedPart]
- data Condition
- condition :: Condition
- cHttpErrorCodeReturnedEquals :: Lens' Condition (Maybe Text)
- cKeyPrefixEquals :: Lens' Condition (Maybe Text)
- data Permission
- = PFullControl
- | PRead
- | PReadAcp
- | PWrite
- | PWriteAcp
- data AccessControlPolicy
- accessControlPolicy :: AccessControlPolicy
- acpGrants :: Lens' AccessControlPolicy [Grant]
- acpOwner :: Lens' AccessControlPolicy (Maybe Owner)
- data BucketCannedACL
- data MFADelete
- data CloudFunctionConfiguration
- cloudFunctionConfiguration :: CloudFunctionConfiguration
- cfcCloudFunction :: Lens' CloudFunctionConfiguration (Maybe Text)
- cfcEvent :: Lens' CloudFunctionConfiguration (Maybe Event)
- cfcEvents :: Lens' CloudFunctionConfiguration [Event]
- cfcId :: Lens' CloudFunctionConfiguration (Maybe Text)
- cfcInvocationRole :: Lens' CloudFunctionConfiguration (Maybe Text)
- data Grantee
- grantee :: Type -> Grantee
- gDisplayName :: Lens' Grantee (Maybe Text)
- gEmailAddress :: Lens' Grantee (Maybe Text)
- gID :: Lens' Grantee (Maybe Text)
- gType :: Lens' Grantee Type
- gURI :: Lens' Grantee (Maybe Text)
- data LifecycleConfiguration
- lifecycleConfiguration :: LifecycleConfiguration
- lcRules :: Lens' LifecycleConfiguration [Rule]
- data LoggingEnabled
- loggingEnabled :: LoggingEnabled
- leTargetBucket :: Lens' LoggingEnabled (Maybe Text)
- leTargetGrants :: Lens' LoggingEnabled [TargetGrant]
- leTargetPrefix :: Lens' LoggingEnabled (Maybe Text)
- data ServerSideEncryption = AES256
- data IndexDocument
- indexDocument :: Text -> IndexDocument
- idSuffix :: Lens' IndexDocument Text
- data CopyObjectResult
- copyObjectResult :: CopyObjectResult
- corETag :: Lens' CopyObjectResult (Maybe Text)
- corLastModified :: Lens' CopyObjectResult (Maybe UTCTime)
- data Delete
- delete' :: Delete
- dObjects :: Lens' Delete [ObjectIdentifier]
- dQuiet :: Lens' Delete (Maybe Bool)
- data RestoreRequest
- restoreRequest :: Int -> RestoreRequest
- rDays :: Lens' RestoreRequest Int
- newtype BucketName = BucketName Text
- newtype ObjectKey = ObjectKey Text
- newtype ObjectVersionId = ObjectVersionId Text
- newtype ETag = ETag Text
- data Region :: *
Service
Version 2006-03-01
of the Amazon Simple Storage Service service.
Error
data RESTError :: *
XML
Event
S3ObjectCreatedCompleteMultipartUpload | s3:ObjectCreated:CompleteMultipartUpload |
S3ObjectCreatedCopy | s3:ObjectCreated:Copy |
S3ObjectCreatedPost | s3:ObjectCreated:Post |
S3ObjectCreatedPut | s3:ObjectCreated:Put |
S3ReducedRedundancyLostObject | s3:ReducedRedundancyLostObject |
NoncurrentVersionExpiration
data NoncurrentVersionExpiration Source
noncurrentVersionExpiration Source
NoncurrentVersionExpiration
constructor.
The fields accessible through corresponding lenses are:
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.
Transition
transition :: Transition Source
Transition
constructor.
The fields accessible through corresponding lenses are:
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.
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.
tStorageClass :: Lens' Transition (Maybe TransitionStorageClass) Source
The class of storage used to store the object.
DeleteMarkerEntry
data DeleteMarkerEntry Source
deleteMarkerEntry :: DeleteMarkerEntry Source
DeleteMarkerEntry
constructor.
The fields accessible through corresponding lenses are:
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.
dmeVersionId :: Lens' DeleteMarkerEntry (Maybe Text) Source
Version ID of an object.
ExpirationStatus
data ExpirationStatus Source
Part
VersioningConfiguration
versioningConfiguration :: VersioningConfiguration Source
VersioningConfiguration
constructor.
The fields accessible through corresponding lenses are:
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.
vcStatus :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus) Source
The versioning state of the bucket.
Tag
ObjectStorageClass
data ObjectStorageClass Source
Glacier | GLACIER |
ReducedRedundancy | REDUCED_REDUNDANCY |
Standard | STANDARD |
MetadataDirective
data MetadataDirective Source
RedirectAllRequestsTo
RedirectAllRequestsTo
constructor.
The fields accessible through corresponding lenses are:
rartHostName :: Lens' RedirectAllRequestsTo Text Source
Name of the host where requests will be redirected.
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.
RoutingRule
RoutingRule
constructor.
The fields accessible through corresponding lenses are:
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.
NotificationConfiguration
notificationConfiguration :: NotificationConfiguration Source
NotificationConfiguration
constructor.
The fields accessible through corresponding lenses are:
ncCloudFunctionConfiguration :: Lens' NotificationConfiguration (Maybe CloudFunctionConfiguration) Source
S3ServiceError
data S3ServiceError Source
s3ServiceError :: S3ServiceError Source
S3ServiceError
constructor.
The fields accessible through corresponding lenses are:
ObjectCannedACL
data ObjectCannedACL Source
AuthenticatedRead | authenticated-read |
BucketOwnerFullControl | bucket-owner-full-control |
BucketOwnerRead | bucket-owner-read |
Private | private |
PublicRead | public-read |
PublicReadWrite | public-read-write |
BucketVersioningStatus
data BucketVersioningStatus Source
BVSEnabled | Enabled |
BVSSuspended | Suspended |
DeletedObject
data DeletedObject Source
deletedObject :: DeletedObject Source
DeletedObject
constructor.
The fields accessible through corresponding lenses are:
ObjectVersionStorageClass
data ObjectVersionStorageClass Source
OVSCStandard | STANDARD |
CopyPartResult
data CopyPartResult Source
copyPartResult :: CopyPartResult Source
CopyPartResult
constructor.
The fields accessible through corresponding lenses are:
cprLastModified :: Lens' CopyPartResult (Maybe UTCTime) Source
Date and time at which the object was uploaded.
EncodingType
data EncodingType Source
Url | url |
RequestPaymentConfiguration
requestPaymentConfiguration Source
RequestPaymentConfiguration
constructor.
The fields accessible through corresponding lenses are:
rpcPayer :: Lens' RequestPaymentConfiguration Payer Source
Specifies who pays for the download and request fees.
CORSRule
CORSRule
constructor.
The fields accessible through corresponding lenses are:
corsrAllowedHeaders :: Lens' CORSRule [Text] Source
Specifies which headers are allowed in a pre-flight OPTIONS request.
corsrAllowedMethods :: Lens' CORSRule [Text] Source
Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
corsrAllowedOrigins :: Lens' CORSRule [Text] Source
One or more origins you want customers to be able to access the bucket from.
corsrExposeHeaders :: 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).
corsrMaxAgeSeconds :: Lens' CORSRule (Maybe Int) Source
The time in seconds that your browser is to cache the preflight response for the specified resource.
WebsiteConfiguration
websiteConfiguration :: WebsiteConfiguration Source
WebsiteConfiguration
constructor.
The fields accessible through corresponding lenses are:
NoncurrentVersionTransition
noncurrentVersionTransition Source
NoncurrentVersionTransition
constructor.
The fields accessible through corresponding lenses are:
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.
Initiator
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.
ObjectIdentifier
data ObjectIdentifier Source
ObjectIdentifier
constructor.
The fields accessible through corresponding lenses are:
oiKey
::
Text
oiVersionId
::
Maybe
Text
oiKey :: Lens' ObjectIdentifier Text Source
Key name of the object to delete.
oiVersionId :: Lens' ObjectIdentifier (Maybe Text) Source
VersionId for the specific version of the object to delete.
Bucket
Protocol
Grant
Grant
constructor.
The fields accessible through corresponding lenses are:
gPermission :: Lens' Grant (Maybe Permission) Source
Specifies the permission given to the grantee.
Rule
Rule
constructor.
The fields accessible through corresponding lenses are:
rID :: Lens' Rule (Maybe Text) Source
Unique identifier for the rule. The value cannot be longer than 255 characters.
TopicConfiguration
data TopicConfiguration Source
tcEvent :: Lens' TopicConfiguration (Maybe Event) Source
Bucket event for which to send notifications.
tcTopic :: Lens' TopicConfiguration (Maybe Text) Source
Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket.
QueueConfiguration
data QueueConfiguration Source
Owner
BucketLoggingStatus
bucketLoggingStatus :: BucketLoggingStatus Source
BucketLoggingStatus
constructor.
The fields accessible through corresponding lenses are:
ErrorDocument
data ErrorDocument Source
:: Text | |
-> ErrorDocument |
edKey :: Lens' ErrorDocument Text Source
The object key name to use when a 4XX class error occurs.
StorageClass
data StorageClass Source
SCReducedRedundancy | REDUCED_REDUNDANCY |
SCStandard | STANDARD |
ObjectVersion
data ObjectVersion Source
objectVersion :: ObjectVersion Source
ObjectVersion
constructor.
The fields accessible through corresponding lenses are:
ovIsLatest :: Lens' ObjectVersion (Maybe Bool) Source
Specifies whether the object is (true) or is not (false) the latest version of an object.
ovLastModified :: Lens' ObjectVersion (Maybe UTCTime) Source
Date and time the object was last modified.
ovStorageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass) Source
The class of storage used to store the object.
ovVersionId :: Lens' ObjectVersion (Maybe Text) Source
Version ID of an object.
TargetGrant
targetGrant :: TargetGrant Source
TargetGrant
constructor.
The fields accessible through corresponding lenses are:
tgPermission :: Lens' TargetGrant (Maybe BucketLogsPermission) Source
Logging permissions assigned to the Grantee for the bucket.
MFADeleteStatus
data MFADeleteStatus Source
MFADSDisabled | Disabled |
MFADSEnabled | Enabled |
Payer
BucketOwner | BucketOwner |
Requester | Requester |
Redirect
rHttpRedirectCode :: Lens' Redirect (Maybe Text) Source
The HTTP redirect code to use on the response. Not required if one of the siblings is present.
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.
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.
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.
BucketLogsPermission
data BucketLogsPermission Source
FullControl | FULL_CONTROL |
Read | READ |
Write | WRITE |
CompletedPart
data CompletedPart Source
completedPart :: CompletedPart Source
CompletedPart
constructor.
The fields accessible through corresponding lenses are:
cpPartNumber :: Lens' CompletedPart (Maybe Int) Source
Part number that identifies the part.
CreateBucketConfiguration
createBucketConfiguration :: CreateBucketConfiguration Source
CreateBucketConfiguration
constructor.
The fields accessible through corresponding lenses are:
cbcLocationConstraint :: Lens' CreateBucketConfiguration (Maybe Region) Source
Specifies the region where the bucket will be created.
Tagging
LifecycleExpiration
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.
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.
CORSConfiguration
data CORSConfiguration Source
corsconfiguration :: CORSConfiguration Source
CORSConfiguration
constructor.
The fields accessible through corresponding lenses are:
corscCORSRules
::
[CORSRule
]
Object
Object
constructor.
The fields accessible through corresponding lenses are:
oETag
::
Text
oKey
::
Text
oLastModified
::
UTCTime
oOwner
::
Owner
oSize
::
Int
oStorageClass
::
ObjectStorageClass
oStorageClass :: Lens' Object ObjectStorageClass Source
The class of storage used to store the object.
CommonPrefix
data CommonPrefix Source
commonPrefix :: CommonPrefix Source
CommonPrefix
constructor.
The fields accessible through corresponding lenses are:
MultipartUpload
data MultipartUpload Source
multipartUpload :: MultipartUpload Source
MultipartUpload
constructor.
The fields accessible through corresponding lenses are:
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 Text) 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.
Type
AmazonCustomerByEmail | AmazonCustomerByEmail |
CanonicalUser | CanonicalUser |
Group | Group |
TransitionStorageClass
data TransitionStorageClass Source
TSCGlacier | GLACIER |
CompletedMultipartUpload
completedMultipartUpload :: CompletedMultipartUpload Source
CompletedMultipartUpload
constructor.
The fields accessible through corresponding lenses are:
cmuParts
::
[CompletedPart
]
Condition
Condition
constructor.
The fields accessible through corresponding lenses are:
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.
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.
Permission
data Permission Source
PFullControl | FULL_CONTROL |
PRead | READ |
PReadAcp | READ_ACP |
PWrite | WRITE |
PWriteAcp | WRITE_ACP |
AccessControlPolicy
acpGrants :: Lens' AccessControlPolicy [Grant] Source
A list of grants.
BucketCannedACL
data BucketCannedACL Source
CannedAuthenticatedRead | authenticated-read |
CannedPrivate | private |
CannedPublicRead | public-read |
CannedPublicReadWrite | public-read-write |
MFADelete
MFADDisabled | Disabled |
MFADEnabled | Enabled |
CloudFunctionConfiguration
cloudFunctionConfiguration :: CloudFunctionConfiguration Source
CloudFunctionConfiguration
constructor.
The fields accessible through corresponding lenses are:
Grantee
LifecycleConfiguration
lifecycleConfiguration :: LifecycleConfiguration Source
LifecycleConfiguration
constructor.
The fields accessible through corresponding lenses are:
LoggingEnabled
data LoggingEnabled Source
loggingEnabled :: LoggingEnabled Source
LoggingEnabled
constructor.
The fields accessible through corresponding lenses are:
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.
leTargetPrefix :: Lens' LoggingEnabled (Maybe Text) Source
This element lets you specify a prefix for the keys that the log files will be stored under.
ServerSideEncryption
data ServerSideEncryption Source
AES256 | AES256 |
IndexDocument
data IndexDocument Source
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 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.
CopyObjectResult
data CopyObjectResult Source
copyObjectResult :: CopyObjectResult Source
CopyObjectResult
constructor.
The fields accessible through corresponding lenses are:
Delete
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.
RestoreRequest
data RestoreRequest Source
:: Int | |
-> RestoreRequest |
rDays :: Lens' RestoreRequest Int Source
Lifetime of the active copy in days
Common
newtype BucketName Source
newtype ObjectVersionId Source
data Region :: *
The sum of available AWS regions.
Eq Region | |
Ord Region | |
Read Region | |
Show Region | |
Generic Region | |
Default Region | |
FromXML Region | |
ToXML Region | |
ToByteString Region | |
FromText Region | |
ToText Region | |
type Rep Region = D1 D1Region ((:+:) ((:+:) ((:+:) (C1 C1_0Region U1) ((:+:) (C1 C1_1Region U1) (C1 C1_2Region U1))) ((:+:) (C1 C1_3Region U1) ((:+:) (C1 C1_4Region U1) (C1 C1_5Region U1)))) ((:+:) ((:+:) (C1 C1_6Region U1) ((:+:) (C1 C1_7Region U1) (C1 C1_8Region U1))) ((:+:) (C1 C1_9Region U1) ((:+:) (C1 C1_10Region U1) (C1 C1_11Region U1))))) |