Aws.S3.Commands.PutObject

aws-0.16: Amazon Web Services (AWS) for Haskell

Safe Haskell | None
Language | Haskell2010

Aws.S3.Commands.PutObject

Synopsis

- data PutObject = PutObject {
  - poObjectName :: Text
  - poBucket :: Bucket
  - poContentType :: Maybe ByteString
  - poCacheControl :: Maybe Text
  - poContentDisposition :: Maybe Text
  - poContentEncoding :: Maybe Text
  - poContentMD5 :: Maybe (Digest MD5)
  - poExpires :: Maybe Int
  - poAcl :: Maybe CannedAcl
  - poStorageClass :: Maybe StorageClass
  - poWebsiteRedirectLocation :: Maybe Text
  - poServerSideEncryption :: Maybe ServerSideEncryption
  - poRequestBody :: RequestBody
  - poMetadata :: [(Text, Text)]
  - poAutoMakeBucket :: Bool
  - poExpect100Continue :: Bool
  }
- putObject :: Bucket -> Text -> RequestBody -> PutObject
- data PutObjectResponse = PutObjectResponse {
  - porVersionId :: Maybe Text
  }

# Documentation

data PutObject #

Constructors

PutObject |
Fields poObjectName :: Text poBucket :: Bucket poContentType :: Maybe ByteString poCacheControl :: Maybe Text poContentDisposition :: Maybe Text poContentEncoding :: Maybe Text poContentMD5 :: Maybe (Digest MD5) poExpires :: Maybe Int poAcl :: Maybe CannedAcl poStorageClass :: Maybe StorageClass poWebsiteRedirectLocation :: Maybe Text poServerSideEncryption :: Maybe ServerSideEncryption poRequestBody :: RequestBody poMetadata :: [(Text, Text)] poAutoMakeBucket :: Bool Internet Archive S3 nonstandard extension poExpect100Continue :: Bool Note: Requires http-client >= 0.4.10

Instances

SignQuery PutObject # | ServiceConfiguration: `S3Configuration`
Associated Types type ServiceConfiguration PutObject :: * -> * # Methods signQuery :: PutObject -> ServiceConfiguration PutObject queryType -> SignatureData -> SignedQuery #
Transaction PutObject PutObjectResponse # |
ResponseConsumer PutObject PutObjectResponse # |
Associated Types type ResponseMetadata PutObjectResponse :: * # Methods responseConsumer :: Request -> PutObject -> IORef (ResponseMetadata PutObjectResponse) -> HTTPResponseConsumer PutObjectResponse #
type ServiceConfiguration PutObject # |
type ServiceConfiguration PutObject = S3Configuration

putObject :: Bucket -> Text -> RequestBody -> PutObject #

data PutObjectResponse #

Constructors

PutObjectResponse |
Fields porVersionId :: Maybe Text

Instances

Show PutObjectResponse # |
Methods showsPrec :: Int -> PutObjectResponse -> ShowS # show :: PutObjectResponse -> String # showList :: [PutObjectResponse] -> ShowS #
AsMemoryResponse PutObjectResponse # |
Associated Types type MemoryResponse PutObjectResponse :: * # Methods loadToMemory :: PutObjectResponse -> ResourceT IO (MemoryResponse PutObjectResponse) #
Transaction PutObject PutObjectResponse # |
ResponseConsumer PutObject PutObjectResponse # |
Associated Types type ResponseMetadata PutObjectResponse :: * # Methods responseConsumer :: Request -> PutObject -> IORef (ResponseMetadata PutObjectResponse) -> HTTPResponseConsumer PutObjectResponse #
type MemoryResponse PutObjectResponse # |
type MemoryResponse PutObjectResponse = PutObjectResponse
type ResponseMetadata PutObjectResponse # |
type ResponseMetadata PutObjectResponse = S3Metadata