libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseThis Mozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Internal

Description

 
Synopsis

Documentation

newtype Region #

The available AWS regions.

Constructors

Region' 

Fields

Bundled Patterns

pattern Mumbai :: Region 
pattern Sydney :: Region 
pattern Singapore :: Region 
pattern Osaka :: Region 
pattern Seoul :: Region 
pattern Tokyo :: Region 
pattern HongKong :: Region 
pattern Ningxia :: Region 
pattern Beijing :: Region 
pattern CapeTown :: Region 
pattern Bahrain :: Region 
pattern Stockholm :: Region 
pattern Paris :: Region 
pattern Milan :: Region 
pattern London :: Region 
pattern Ireland :: Region 
pattern Frankfurt :: Region 
pattern SaoPaulo :: Region 
pattern Montreal :: Region 
pattern GovCloudEast :: Region 
pattern GovCloudWest :: Region 
pattern Oregon :: Region 
pattern NorthCalifornia :: Region 
pattern Ohio :: Region 
pattern NorthVirginia :: Region 

Instances

Instances details
Eq Region 
Instance details

Defined in Amazonka.Types

Methods

(==) :: Region -> Region -> Bool #

(/=) :: Region -> Region -> Bool #

Ord Region 
Instance details

Defined in Amazonka.Types

Read Region 
Instance details

Defined in Amazonka.Types

Show Region 
Instance details

Defined in Amazonka.Types

IsString Region 
Instance details

Defined in Amazonka.Types

Methods

fromString :: String -> Region #

Generic Region 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Region :: Type -> Type #

Methods

from :: Region -> Rep Region x #

to :: Rep Region x -> Region #

NFData Region 
Instance details

Defined in Amazonka.Types

Methods

rnf :: Region -> () #

Hashable Region 
Instance details

Defined in Amazonka.Types

Methods

hashWithSalt :: Int -> Region -> Int #

hash :: Region -> Int #

ToJSON Region 
Instance details

Defined in Amazonka.Types

FromJSON Region 
Instance details

Defined in Amazonka.Types

ToLog Region 
Instance details

Defined in Amazonka.Types

ToQuery Region 
Instance details

Defined in Amazonka.Types

FromXML Region 
Instance details

Defined in Amazonka.Types

ToXML Region 
Instance details

Defined in Amazonka.Types

Methods

toXML :: Region -> XML #

ToByteString Region 
Instance details

Defined in Amazonka.Types

Methods

toBS :: Region -> ByteString #

FromText Region 
Instance details

Defined in Amazonka.Types

ToText Region 
Instance details

Defined in Amazonka.Types

Methods

toText :: Region -> Text #

type Rep Region 
Instance details

Defined in Amazonka.Types

type Rep Region = D1 ('MetaData "Region" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'True) (C1 ('MetaCons "Region'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype BucketName Source #

Constructors

BucketName Text 

Instances

Instances details
Eq BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Ord BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Read BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Show BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

IsString BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Generic BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Associated Types

type Rep BucketName :: Type -> Type #

NFData BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

rnf :: BucketName -> () #

Hashable BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

FromJSON BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

ToLog BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

ToQuery BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

FromXML BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

ToXML BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toXML :: BucketName -> XML #

ToByteString BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

FromText BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

ToText BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toText :: BucketName -> Text #

type Rep BucketName Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep BucketName = D1 ('MetaData "BucketName" "Amazonka.S3.Internal" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'True) (C1 ('MetaCons "BucketName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype ETag Source #

Constructors

ETag ByteString 

Instances

Instances details
Eq ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

(==) :: ETag -> ETag -> Bool #

(/=) :: ETag -> ETag -> Bool #

Ord ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

compare :: ETag -> ETag -> Ordering #

(<) :: ETag -> ETag -> Bool #

(<=) :: ETag -> ETag -> Bool #

(>) :: ETag -> ETag -> Bool #

(>=) :: ETag -> ETag -> Bool #

max :: ETag -> ETag -> ETag #

min :: ETag -> ETag -> ETag #

Read ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Show ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

showsPrec :: Int -> ETag -> ShowS #

show :: ETag -> String #

showList :: [ETag] -> ShowS #

IsString ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

fromString :: String -> ETag #

Generic ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Associated Types

type Rep ETag :: Type -> Type #

Methods

from :: ETag -> Rep ETag x #

to :: Rep ETag x -> ETag #

NFData ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

rnf :: ETag -> () #

Hashable ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

hashWithSalt :: Int -> ETag -> Int #

hash :: ETag -> Int #

ToLog ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

ToQuery ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toQuery :: ETag -> QueryString #

FromXML ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

parseXML :: [Node] -> Either String ETag #

ToXML ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toXML :: ETag -> XML #

ToByteString ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toBS :: ETag -> ByteString #

FromText ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

ToText ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toText :: ETag -> Text #

type Rep ETag Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep ETag = D1 ('MetaData "ETag" "Amazonka.S3.Internal" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'True) (C1 ('MetaCons "ETag" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

newtype ObjectVersionId Source #

Constructors

ObjectVersionId Text 

Instances

Instances details
Eq ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Ord ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Read ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Show ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

IsString ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Generic ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Associated Types

type Rep ObjectVersionId :: Type -> Type #

NFData ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

rnf :: ObjectVersionId -> () #

Hashable ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

ToLog ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

ToQuery ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

FromXML ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

ToXML ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toXML :: ObjectVersionId -> XML #

ToByteString ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

FromText ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

ToText ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep ObjectVersionId Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep ObjectVersionId = D1 ('MetaData "ObjectVersionId" "Amazonka.S3.Internal" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'True) (C1 ('MetaCons "ObjectVersionId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Bucket Location

newtype LocationConstraint Source #

Instances

Instances details
Eq LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

Ord LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

Read LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

Show LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

Generic LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

Associated Types

type Rep LocationConstraint :: Type -> Type #

NFData LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

rnf :: LocationConstraint -> () #

Hashable LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

ToLog LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

FromXML LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

ToXML LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

ToByteString LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

FromText LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

ToText LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep LocationConstraint Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep LocationConstraint = D1 ('MetaData "LocationConstraint" "Amazonka.S3.Internal" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'True) (C1 ('MetaCons "LocationConstraint" 'PrefixI 'True) (S1 ('MetaSel ('Just "constraintRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Region)))

Object Key

newtype ObjectKey Source #

Constructors

ObjectKey Text 

Instances

Instances details
Eq ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Ord ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Read ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Show ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

IsString ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Generic ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Associated Types

type Rep ObjectKey :: Type -> Type #

NFData ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

rnf :: ObjectKey -> () #

Hashable ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

ToLog ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

ToPath ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

ToQuery ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

FromXML ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

ToXML ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toXML :: ObjectKey -> XML #

ToByteString ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toBS :: ObjectKey -> ByteString #

FromText ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

ToText ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

Methods

toText :: ObjectKey -> Text #

type Rep ObjectKey Source # 
Instance details

Defined in Amazonka.S3.Internal

type Rep ObjectKey = D1 ('MetaData "ObjectKey" "Amazonka.S3.Internal" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'True) (C1 ('MetaCons "ObjectKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

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

keyName :: Delimiter -> Traversal' ObjectKey Text Source #

Traverse the name of an object key.

keyComponents :: Delimiter -> IndexedTraversal' Int ObjectKey Text Source #

Traverse the path components of an object key using the specified delimiter.

Website Endpoints

getWebsiteEndpoint :: Region -> Text Source #

Get the S3 website endpoint for a specific region.

When you configure your bucket as a website, the website is available using this region-specific website endpoint.

See: Amazon Simple Storage Service Website Endpoints.