amazonka-glacier-2.0: Amazon Glacier SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glacier.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2012-06-01 of the Amazon Glacier SDK configuration.

Errors

_InsufficientCapacityException :: AsError a => Fold a ServiceError Source #

Returned if there is insufficient capacity to process this expedited request. This error only applies to expedited retrievals and not to standard or bulk retrievals.

_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #

Returned if a parameter of the request is incorrectly specified.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

Returned if the request results in a vault or account limit being exceeded.

_MissingParameterValueException :: AsError a => Fold a ServiceError Source #

Returned if a required header or parameter is missing from the request.

_PolicyEnforcedException :: AsError a => Fold a ServiceError Source #

Returned if a retrieval job would exceed the current data policy's retrieval rate limit. For more information about data retrieval policies,

_RequestTimeoutException :: AsError a => Fold a ServiceError Source #

Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the upload.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't exist.

_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #

Returned if the service cannot complete the request.

ActionCode

newtype ActionCode Source #

Constructors

ActionCode' 

Fields

Instances

Instances details
FromJSON ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

FromJSONKey ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToJSON ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToJSONKey ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToByteString ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToHeader ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToLog ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToQuery ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

FromText ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToText ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Methods

toText :: ActionCode -> Text #

FromXML ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

ToXML ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Methods

toXML :: ActionCode -> XML #

Generic ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Associated Types

type Rep ActionCode :: Type -> Type #

Read ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Show ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

NFData ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Methods

rnf :: ActionCode -> () #

Eq ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Ord ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

Hashable ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

type Rep ActionCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.ActionCode

type Rep ActionCode = D1 ('MetaData "ActionCode" "Amazonka.Glacier.Types.ActionCode" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "ActionCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromActionCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CannedACL

newtype CannedACL Source #

Constructors

CannedACL' 

Fields

Instances

Instances details
FromJSON CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

FromJSONKey CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToJSON CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToJSONKey CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToByteString CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Methods

toBS :: CannedACL -> ByteString #

ToHeader CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToLog CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToQuery CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

FromText CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToText CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Methods

toText :: CannedACL -> Text #

FromXML CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

ToXML CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Methods

toXML :: CannedACL -> XML #

Generic CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Associated Types

type Rep CannedACL :: Type -> Type #

Read CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Show CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

NFData CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Methods

rnf :: CannedACL -> () #

Eq CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Ord CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

Hashable CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

type Rep CannedACL Source # 
Instance details

Defined in Amazonka.Glacier.Types.CannedACL

type Rep CannedACL = D1 ('MetaData "CannedACL" "Amazonka.Glacier.Types.CannedACL" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "CannedACL'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCannedACL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionType

newtype EncryptionType Source #

Constructors

EncryptionType' 

Instances

Instances details
FromJSON EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

FromJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToJSON EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToByteString EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToHeader EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToLog EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToQuery EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

FromText EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToText EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

FromXML EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

ToXML EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

Methods

toXML :: EncryptionType -> XML #

Generic EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

Associated Types

type Rep EncryptionType :: Type -> Type #

Read EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

Show EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

NFData EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

Methods

rnf :: EncryptionType -> () #

Eq EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

Ord EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

Hashable EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

type Rep EncryptionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.EncryptionType

type Rep EncryptionType = D1 ('MetaData "EncryptionType" "Amazonka.Glacier.Types.EncryptionType" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "EncryptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ExpressionType

newtype ExpressionType Source #

Constructors

ExpressionType' 

Bundled Patterns

pattern ExpressionType_SQL :: ExpressionType 

Instances

Instances details
FromJSON ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

FromJSONKey ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToJSON ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToJSONKey ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToByteString ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToHeader ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToLog ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToQuery ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

FromText ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToText ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

FromXML ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

ToXML ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

Methods

toXML :: ExpressionType -> XML #

Generic ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

Associated Types

type Rep ExpressionType :: Type -> Type #

Read ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

Show ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

NFData ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

Methods

rnf :: ExpressionType -> () #

Eq ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

Ord ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

Hashable ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

type Rep ExpressionType Source # 
Instance details

Defined in Amazonka.Glacier.Types.ExpressionType

type Rep ExpressionType = D1 ('MetaData "ExpressionType" "Amazonka.Glacier.Types.ExpressionType" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "ExpressionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromExpressionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FileHeaderInfo

newtype FileHeaderInfo Source #

Constructors

FileHeaderInfo' 

Instances

Instances details
FromJSON FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

FromJSONKey FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToJSON FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToJSONKey FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToByteString FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToHeader FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToLog FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToQuery FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

FromText FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToText FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

FromXML FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

ToXML FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

Methods

toXML :: FileHeaderInfo -> XML #

Generic FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

Associated Types

type Rep FileHeaderInfo :: Type -> Type #

Read FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

Show FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

NFData FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

Methods

rnf :: FileHeaderInfo -> () #

Eq FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

Ord FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

Hashable FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

type Rep FileHeaderInfo Source # 
Instance details

Defined in Amazonka.Glacier.Types.FileHeaderInfo

type Rep FileHeaderInfo = D1 ('MetaData "FileHeaderInfo" "Amazonka.Glacier.Types.FileHeaderInfo" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "FileHeaderInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFileHeaderInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Permission

newtype Permission Source #

Constructors

Permission' 

Fields

Instances

Instances details
FromJSON Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

FromJSONKey Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToJSON Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToJSONKey Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToByteString Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToHeader Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToLog Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToQuery Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

FromText Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToText Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Methods

toText :: Permission -> Text #

FromXML Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

ToXML Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Methods

toXML :: Permission -> XML #

Generic Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Associated Types

type Rep Permission :: Type -> Type #

Read Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Show Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

NFData Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Methods

rnf :: Permission -> () #

Eq Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Ord Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

Hashable Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

type Rep Permission Source # 
Instance details

Defined in Amazonka.Glacier.Types.Permission

type Rep Permission = D1 ('MetaData "Permission" "Amazonka.Glacier.Types.Permission" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "Permission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPermission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QuoteFields

newtype QuoteFields Source #

Constructors

QuoteFields' 

Bundled Patterns

pattern QuoteFields_ALWAYS :: QuoteFields 
pattern QuoteFields_ASNEEDED :: QuoteFields 

Instances

Instances details
FromJSON QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

FromJSONKey QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToJSON QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToJSONKey QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToByteString QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToHeader QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToLog QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToQuery QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

FromText QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToText QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Methods

toText :: QuoteFields -> Text #

FromXML QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

ToXML QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Methods

toXML :: QuoteFields -> XML #

Generic QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Associated Types

type Rep QuoteFields :: Type -> Type #

Read QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Show QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

NFData QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Methods

rnf :: QuoteFields -> () #

Eq QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Ord QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

Hashable QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

type Rep QuoteFields Source # 
Instance details

Defined in Amazonka.Glacier.Types.QuoteFields

type Rep QuoteFields = D1 ('MetaData "QuoteFields" "Amazonka.Glacier.Types.QuoteFields" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "QuoteFields'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQuoteFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatusCode

newtype StatusCode Source #

Constructors

StatusCode' 

Fields

Instances

Instances details
FromJSON StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

FromJSONKey StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToJSON StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToJSONKey StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToByteString StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToHeader StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToLog StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToQuery StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

FromText StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToText StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Methods

toText :: StatusCode -> Text #

FromXML StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

ToXML StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Methods

toXML :: StatusCode -> XML #

Generic StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Associated Types

type Rep StatusCode :: Type -> Type #

Read StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Show StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

NFData StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Methods

rnf :: StatusCode -> () #

Eq StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Ord StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

Hashable StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

type Rep StatusCode Source # 
Instance details

Defined in Amazonka.Glacier.Types.StatusCode

type Rep StatusCode = D1 ('MetaData "StatusCode" "Amazonka.Glacier.Types.StatusCode" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "StatusCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StorageClass

newtype StorageClass Source #

Constructors

StorageClass' 

Instances

Instances details
FromJSON StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

FromJSONKey StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToJSON StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToJSONKey StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToByteString StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToHeader StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToLog StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToQuery StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

FromText StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToText StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Methods

toText :: StorageClass -> Text #

FromXML StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

ToXML StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Methods

toXML :: StorageClass -> XML #

Generic StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Associated Types

type Rep StorageClass :: Type -> Type #

Read StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Show StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

NFData StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Methods

rnf :: StorageClass -> () #

Eq StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Ord StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

Hashable StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

type Rep StorageClass Source # 
Instance details

Defined in Amazonka.Glacier.Types.StorageClass

type Rep StorageClass = D1 ('MetaData "StorageClass" "Amazonka.Glacier.Types.StorageClass" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "StorageClass'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStorageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Type

newtype Type Source #

Constructors

Type' 

Fields

Bundled Patterns

pattern Type_AmazonCustomerByEmail :: Type 
pattern Type_CanonicalUser :: Type 
pattern Type_Group :: Type 

Instances

Instances details
FromJSON Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

FromJSONKey Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

ToJSON Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

ToJSONKey Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

ToByteString Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

toBS :: Type -> ByteString #

ToHeader Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

toHeader :: HeaderName -> Type -> [Header] #

ToLog Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

ToQuery Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

toQuery :: Type -> QueryString #

FromText Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

ToText Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

toText :: Type -> Text #

FromXML Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

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

ToXML Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

toXML :: Type -> XML #

Generic Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

Read Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Show Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

NFData Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

rnf :: Type -> () #

Eq Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

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

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

Ord Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

compare :: Type -> Type -> Ordering #

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

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

(>) :: Type -> Type -> Bool #

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

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

Hashable Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

Methods

hashWithSalt :: Int -> Type -> Int #

hash :: Type -> Int #

type Rep Type Source # 
Instance details

Defined in Amazonka.Glacier.Types.Type

type Rep Type = D1 ('MetaData "Type" "Amazonka.Glacier.Types.Type" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'True) (C1 ('MetaCons "Type'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ArchiveCreationOutput

data ArchiveCreationOutput Source #

Contains the Amazon S3 Glacier response to your request.

For information about the underlying REST API, see Upload Archive. For conceptual information, see Working with Archives in Amazon S3 Glacier.

See: newArchiveCreationOutput smart constructor.

Constructors

ArchiveCreationOutput' 

Fields

Instances

Instances details
FromJSON ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

Generic ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

Associated Types

type Rep ArchiveCreationOutput :: Type -> Type #

Read ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

Show ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

NFData ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

Methods

rnf :: ArchiveCreationOutput -> () #

Eq ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

Hashable ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

type Rep ArchiveCreationOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.ArchiveCreationOutput

type Rep ArchiveCreationOutput = D1 ('MetaData "ArchiveCreationOutput" "Amazonka.Glacier.Types.ArchiveCreationOutput" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "ArchiveCreationOutput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "archiveId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newArchiveCreationOutput :: ArchiveCreationOutput Source #

Create a value of ArchiveCreationOutput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:archiveId:ArchiveCreationOutput', archiveCreationOutput_archiveId - The ID of the archive. This value is also included as part of the location.

$sel:checksum:ArchiveCreationOutput', archiveCreationOutput_checksum - The checksum of the archive computed by Amazon S3 Glacier.

$sel:location:ArchiveCreationOutput', archiveCreationOutput_location - The relative URI path of the newly added archive resource.

archiveCreationOutput_archiveId :: Lens' ArchiveCreationOutput (Maybe Text) Source #

The ID of the archive. This value is also included as part of the location.

archiveCreationOutput_checksum :: Lens' ArchiveCreationOutput (Maybe Text) Source #

The checksum of the archive computed by Amazon S3 Glacier.

archiveCreationOutput_location :: Lens' ArchiveCreationOutput (Maybe Text) Source #

The relative URI path of the newly added archive resource.

CSVInput

data CSVInput Source #

Contains information about the comma-separated value (CSV) file to select from.

See: newCSVInput smart constructor.

Constructors

CSVInput' 

Fields

Instances

Instances details
FromJSON CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

ToJSON CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Generic CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Associated Types

type Rep CSVInput :: Type -> Type #

Methods

from :: CSVInput -> Rep CSVInput x #

to :: Rep CSVInput x -> CSVInput #

Read CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Show CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

NFData CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Methods

rnf :: CSVInput -> () #

Eq CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Hashable CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Methods

hashWithSalt :: Int -> CSVInput -> Int #

hash :: CSVInput -> Int #

type Rep CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

type Rep CSVInput = D1 ('MetaData "CSVInput" "Amazonka.Glacier.Types.CSVInput" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "CSVInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fieldDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fileHeaderInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileHeaderInfo)))) :*: (S1 ('MetaSel ('Just "quoteCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "quoteEscapeCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recordDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCSVInput :: CSVInput Source #

Create a value of CSVInput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:comments:CSVInput', cSVInput_comments - A single character used to indicate that a row should be ignored when the character is present at the start of that row.

$sel:fieldDelimiter:CSVInput', cSVInput_fieldDelimiter - A value used to separate individual fields from each other within a record.

$sel:fileHeaderInfo:CSVInput', cSVInput_fileHeaderInfo - Describes the first line of input. Valid values are None, Ignore, and Use.

$sel:quoteCharacter:CSVInput', cSVInput_quoteCharacter - A value used as an escape character where the field delimiter is part of the value.

$sel:quoteEscapeCharacter:CSVInput', cSVInput_quoteEscapeCharacter - A single character used for escaping the quotation-mark character inside an already escaped value.

$sel:recordDelimiter:CSVInput', cSVInput_recordDelimiter - A value used to separate individual records from each other.

cSVInput_comments :: Lens' CSVInput (Maybe Text) Source #

A single character used to indicate that a row should be ignored when the character is present at the start of that row.

cSVInput_fieldDelimiter :: Lens' CSVInput (Maybe Text) Source #

A value used to separate individual fields from each other within a record.

cSVInput_fileHeaderInfo :: Lens' CSVInput (Maybe FileHeaderInfo) Source #

Describes the first line of input. Valid values are None, Ignore, and Use.

cSVInput_quoteCharacter :: Lens' CSVInput (Maybe Text) Source #

A value used as an escape character where the field delimiter is part of the value.

cSVInput_quoteEscapeCharacter :: Lens' CSVInput (Maybe Text) Source #

A single character used for escaping the quotation-mark character inside an already escaped value.

cSVInput_recordDelimiter :: Lens' CSVInput (Maybe Text) Source #

A value used to separate individual records from each other.

CSVOutput

data CSVOutput Source #

Contains information about the comma-separated value (CSV) file that the job results are stored in.

See: newCSVOutput smart constructor.

Constructors

CSVOutput' 

Fields

Instances

Instances details
FromJSON CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

ToJSON CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

Generic CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

Associated Types

type Rep CSVOutput :: Type -> Type #

Read CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

Show CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

NFData CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

Methods

rnf :: CSVOutput -> () #

Eq CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

Hashable CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

type Rep CSVOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVOutput

type Rep CSVOutput = D1 ('MetaData "CSVOutput" "Amazonka.Glacier.Types.CSVOutput" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "CSVOutput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fieldDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "quoteCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "quoteEscapeCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "quoteFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QuoteFields)) :*: S1 ('MetaSel ('Just "recordDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCSVOutput :: CSVOutput Source #

Create a value of CSVOutput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fieldDelimiter:CSVOutput', cSVOutput_fieldDelimiter - A value used to separate individual fields from each other within a record.

$sel:quoteCharacter:CSVOutput', cSVOutput_quoteCharacter - A value used as an escape character where the field delimiter is part of the value.

$sel:quoteEscapeCharacter:CSVOutput', cSVOutput_quoteEscapeCharacter - A single character used for escaping the quotation-mark character inside an already escaped value.

$sel:quoteFields:CSVOutput', cSVOutput_quoteFields - A value that indicates whether all output fields should be contained within quotation marks.

$sel:recordDelimiter:CSVOutput', cSVOutput_recordDelimiter - A value used to separate individual records from each other.

cSVOutput_fieldDelimiter :: Lens' CSVOutput (Maybe Text) Source #

A value used to separate individual fields from each other within a record.

cSVOutput_quoteCharacter :: Lens' CSVOutput (Maybe Text) Source #

A value used as an escape character where the field delimiter is part of the value.

cSVOutput_quoteEscapeCharacter :: Lens' CSVOutput (Maybe Text) Source #

A single character used for escaping the quotation-mark character inside an already escaped value.

cSVOutput_quoteFields :: Lens' CSVOutput (Maybe QuoteFields) Source #

A value that indicates whether all output fields should be contained within quotation marks.

cSVOutput_recordDelimiter :: Lens' CSVOutput (Maybe Text) Source #

A value used to separate individual records from each other.

DataRetrievalPolicy

data DataRetrievalPolicy Source #

Data retrieval policy.

See: newDataRetrievalPolicy smart constructor.

Constructors

DataRetrievalPolicy' 

Fields

  • rules :: Maybe [DataRetrievalRule]

    The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

Instances

Instances details
FromJSON DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

ToJSON DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Generic DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Associated Types

type Rep DataRetrievalPolicy :: Type -> Type #

Read DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Show DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

NFData DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Methods

rnf :: DataRetrievalPolicy -> () #

Eq DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Hashable DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

type Rep DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

type Rep DataRetrievalPolicy = D1 ('MetaData "DataRetrievalPolicy" "Amazonka.Glacier.Types.DataRetrievalPolicy" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "DataRetrievalPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataRetrievalRule]))))

newDataRetrievalPolicy :: DataRetrievalPolicy Source #

Create a value of DataRetrievalPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:rules:DataRetrievalPolicy', dataRetrievalPolicy_rules - The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

dataRetrievalPolicy_rules :: Lens' DataRetrievalPolicy (Maybe [DataRetrievalRule]) Source #

The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

DataRetrievalRule

data DataRetrievalRule Source #

Data retrieval policy rule.

See: newDataRetrievalRule smart constructor.

Constructors

DataRetrievalRule' 

Fields

  • bytesPerHour :: Maybe Integer

    The maximum number of bytes that can be retrieved in an hour.

    This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

  • strategy :: Maybe Text

    The type of data retrieval policy to set.

    Valid values: BytesPerHour|FreeTier|None

Instances

Instances details
FromJSON DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

ToJSON DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Generic DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Associated Types

type Rep DataRetrievalRule :: Type -> Type #

Read DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Show DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

NFData DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Methods

rnf :: DataRetrievalRule -> () #

Eq DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Hashable DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

type Rep DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

type Rep DataRetrievalRule = D1 ('MetaData "DataRetrievalRule" "Amazonka.Glacier.Types.DataRetrievalRule" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "DataRetrievalRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytesPerHour") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "strategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDataRetrievalRule :: DataRetrievalRule Source #

Create a value of DataRetrievalRule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:bytesPerHour:DataRetrievalRule', dataRetrievalRule_bytesPerHour - The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

$sel:strategy:DataRetrievalRule', dataRetrievalRule_strategy - The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

dataRetrievalRule_bytesPerHour :: Lens' DataRetrievalRule (Maybe Integer) Source #

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

dataRetrievalRule_strategy :: Lens' DataRetrievalRule (Maybe Text) Source #

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

DescribeVaultOutput

data DescribeVaultOutput Source #

Contains the Amazon S3 Glacier response to your request.

See: newDescribeVaultOutput smart constructor.

Constructors

DescribeVaultOutput' 

Fields

  • creationDate :: Maybe Text

    The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z.

  • lastInventoryDate :: Maybe Text

    The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last vault inventory. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z.

  • numberOfArchives :: Maybe Integer

    The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.

  • sizeInBytes :: Maybe Integer

    Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.

  • vaultARN :: Maybe Text

    The Amazon Resource Name (ARN) of the vault.

  • vaultName :: Maybe Text

    The name of the vault.

Instances

Instances details
FromJSON DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

Generic DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

Associated Types

type Rep DescribeVaultOutput :: Type -> Type #

Read DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

Show DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

NFData DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

Methods

rnf :: DescribeVaultOutput -> () #

Eq DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

Hashable DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

type Rep DescribeVaultOutput Source # 
Instance details

Defined in Amazonka.Glacier.Types.DescribeVaultOutput

type Rep DescribeVaultOutput = D1 ('MetaData "DescribeVaultOutput" "Amazonka.Glacier.Types.DescribeVaultOutput" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "DescribeVaultOutput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastInventoryDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numberOfArchives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "sizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "vaultARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeVaultOutput :: DescribeVaultOutput Source #

Create a value of DescribeVaultOutput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:creationDate:DescribeVaultOutput', describeVaultOutput_creationDate - The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z.

$sel:lastInventoryDate:DescribeVaultOutput', describeVaultOutput_lastInventoryDate - The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last vault inventory. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z.

$sel:numberOfArchives:DescribeVaultOutput', describeVaultOutput_numberOfArchives - The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.

$sel:sizeInBytes:DescribeVaultOutput', describeVaultOutput_sizeInBytes - Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.

$sel:vaultARN:DescribeVaultOutput', describeVaultOutput_vaultARN - The Amazon Resource Name (ARN) of the vault.

$sel:vaultName:DescribeVaultOutput', describeVaultOutput_vaultName - The name of the vault.

describeVaultOutput_creationDate :: Lens' DescribeVaultOutput (Maybe Text) Source #

The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z.

describeVaultOutput_lastInventoryDate :: Lens' DescribeVaultOutput (Maybe Text) Source #

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last vault inventory. This value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z.

describeVaultOutput_numberOfArchives :: Lens' DescribeVaultOutput (Maybe Integer) Source #

The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.

describeVaultOutput_sizeInBytes :: Lens' DescribeVaultOutput (Maybe Integer) Source #

Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.

describeVaultOutput_vaultARN :: Lens' DescribeVaultOutput (Maybe Text) Source #

The Amazon Resource Name (ARN) of the vault.

Encryption

data Encryption Source #

Contains information about the encryption used to store the job results in Amazon S3.

See: newEncryption smart constructor.

Constructors

Encryption' 

Fields

  • encryptionType :: Maybe EncryptionType

    The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

  • kmsContext :: Maybe Text

    Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

  • kmsKeyId :: Maybe Text

    The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

Instances

Instances details
FromJSON Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

ToJSON Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Generic Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Associated Types

type Rep Encryption :: Type -> Type #

Read Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Show Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

NFData Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Methods

rnf :: Encryption -> () #

Eq Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Hashable Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

type Rep Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

type Rep Encryption = D1 ('MetaData "Encryption" "Amazonka.Glacier.Types.Encryption" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "Encryption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: (S1 ('MetaSel ('Just "kmsContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEncryption :: Encryption Source #

Create a value of Encryption with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:encryptionType:Encryption', encryption_encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

$sel:kmsContext:Encryption', encryption_kmsContext - Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

$sel:kmsKeyId:Encryption', encryption_kmsKeyId - The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

encryption_encryptionType :: Lens' Encryption (Maybe EncryptionType) Source #

The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

encryption_kmsContext :: Lens' Encryption (Maybe Text) Source #

Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

encryption_kmsKeyId :: Lens' Encryption (Maybe Text) Source #

The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

GlacierJobDescription

data GlacierJobDescription Source #

Contains the description of an Amazon S3 Glacier job.

See: newGlacierJobDescription smart constructor.

Constructors

GlacierJobDescription' 

Fields

  • action :: Maybe ActionCode

    The job type. This value is either ArchiveRetrieval, InventoryRetrieval, or Select.

  • archiveId :: Maybe Text

    The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.

  • archiveSHA256TreeHash :: Maybe Text

    The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select jobs, this field is null.

  • archiveSizeInBytes :: Maybe Integer

    For an archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.

  • completed :: Maybe Bool

    The job status. When a job is completed, you get the job's output using Get Job Output (GET output).

  • completionDate :: Maybe Text

    The UTC time that the job request completed. While the job is in progress, the value is null.

  • creationDate :: Maybe Text

    The UTC date when the job was created. This value is a string representation of ISO 8601 date format, for example "2012-03-20T17:03:43.221Z".

  • inventoryRetrievalParameters :: Maybe InventoryRetrievalJobDescription

    Parameters used for range inventory retrieval.

  • inventorySizeInBytes :: Maybe Integer

    For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.

  • jobDescription :: Maybe Text

    The job description provided when initiating the job.

  • jobId :: Maybe Text

    An opaque string that identifies an Amazon S3 Glacier job.

  • jobOutputPath :: Maybe Text

    Contains the job output location.

  • outputLocation :: Maybe OutputLocation

    Contains the location where the data from the select job is stored.

  • retrievalByteRange :: Maybe Text

    The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue. If no range was specified in the archive retrieval, then the whole archive is retrieved. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select jobs, this field is null.

  • sHA256TreeHash :: Maybe Text

    For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.

    The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.

    If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.

    This field is null for the following:

    • Archive retrieval jobs that specify a range that is not tree-hash aligned
    • Archival jobs that specify a range that is equal to the whole archive, when the job status is InProgress
    • Inventory jobs
    • Select jobs
  • sNSTopic :: Maybe Text

    An Amazon SNS topic that receives notification.

  • selectParameters :: Maybe SelectParameters

    Contains the parameters used for a select.

  • statusCode :: Maybe StatusCode

    The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.

  • statusMessage :: Maybe Text

    A friendly message that describes the job status.

  • tier :: Maybe Text

    The tier to use for a select or an archive retrieval. Valid values are Expedited, Standard, or Bulk. Standard is the default.

  • vaultARN :: Maybe Text

    The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.

Instances

Instances details
FromJSON GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

Generic GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

Associated Types

type Rep GlacierJobDescription :: Type -> Type #

Read GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

Show GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

NFData GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

Methods

rnf :: GlacierJobDescription -> () #

Eq GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

Hashable GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

type Rep GlacierJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.GlacierJobDescription

type Rep GlacierJobDescription = D1 ('MetaData "GlacierJobDescription" "Amazonka.Glacier.Types.GlacierJobDescription" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "GlacierJobDescription'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActionCode)) :*: S1 ('MetaSel ('Just "archiveId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "archiveSHA256TreeHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "archiveSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "completed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "completionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inventoryRetrievalParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InventoryRetrievalJobDescription)) :*: (S1 ('MetaSel ('Just "inventorySizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "jobDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobOutputPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "outputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputLocation)) :*: (S1 ('MetaSel ('Just "retrievalByteRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sHA256TreeHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "sNSTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "selectParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectParameters)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusCode)))) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vaultARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newGlacierJobDescription :: GlacierJobDescription Source #

Create a value of GlacierJobDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:action:GlacierJobDescription', glacierJobDescription_action - The job type. This value is either ArchiveRetrieval, InventoryRetrieval, or Select.

$sel:archiveId:GlacierJobDescription', glacierJobDescription_archiveId - The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.

$sel:archiveSHA256TreeHash:GlacierJobDescription', glacierJobDescription_archiveSHA256TreeHash - The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select jobs, this field is null.

$sel:archiveSizeInBytes:GlacierJobDescription', glacierJobDescription_archiveSizeInBytes - For an archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.

$sel:completed:GlacierJobDescription', glacierJobDescription_completed - The job status. When a job is completed, you get the job's output using Get Job Output (GET output).

$sel:completionDate:GlacierJobDescription', glacierJobDescription_completionDate - The UTC time that the job request completed. While the job is in progress, the value is null.

$sel:creationDate:GlacierJobDescription', glacierJobDescription_creationDate - The UTC date when the job was created. This value is a string representation of ISO 8601 date format, for example "2012-03-20T17:03:43.221Z".

$sel:inventoryRetrievalParameters:GlacierJobDescription', glacierJobDescription_inventoryRetrievalParameters - Parameters used for range inventory retrieval.

$sel:inventorySizeInBytes:GlacierJobDescription', glacierJobDescription_inventorySizeInBytes - For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.

$sel:jobDescription:GlacierJobDescription', glacierJobDescription_jobDescription - The job description provided when initiating the job.

$sel:jobId:GlacierJobDescription', glacierJobDescription_jobId - An opaque string that identifies an Amazon S3 Glacier job.

$sel:jobOutputPath:GlacierJobDescription', glacierJobDescription_jobOutputPath - Contains the job output location.

$sel:outputLocation:GlacierJobDescription', glacierJobDescription_outputLocation - Contains the location where the data from the select job is stored.

$sel:retrievalByteRange:GlacierJobDescription', glacierJobDescription_retrievalByteRange - The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue. If no range was specified in the archive retrieval, then the whole archive is retrieved. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select jobs, this field is null.

$sel:sHA256TreeHash:GlacierJobDescription', glacierJobDescription_sHA256TreeHash - For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.

The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.

If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.

This field is null for the following:

  • Archive retrieval jobs that specify a range that is not tree-hash aligned
  • Archival jobs that specify a range that is equal to the whole archive, when the job status is InProgress
  • Inventory jobs
  • Select jobs

$sel:sNSTopic:GlacierJobDescription', glacierJobDescription_sNSTopic - An Amazon SNS topic that receives notification.

$sel:selectParameters:GlacierJobDescription', glacierJobDescription_selectParameters - Contains the parameters used for a select.

$sel:statusCode:GlacierJobDescription', glacierJobDescription_statusCode - The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.

$sel:statusMessage:GlacierJobDescription', glacierJobDescription_statusMessage - A friendly message that describes the job status.

$sel:tier:GlacierJobDescription', glacierJobDescription_tier - The tier to use for a select or an archive retrieval. Valid values are Expedited, Standard, or Bulk. Standard is the default.

$sel:vaultARN:GlacierJobDescription', glacierJobDescription_vaultARN - The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.

glacierJobDescription_action :: Lens' GlacierJobDescription (Maybe ActionCode) Source #

The job type. This value is either ArchiveRetrieval, InventoryRetrieval, or Select.

glacierJobDescription_archiveId :: Lens' GlacierJobDescription (Maybe Text) Source #

The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.

glacierJobDescription_archiveSHA256TreeHash :: Lens' GlacierJobDescription (Maybe Text) Source #

The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select jobs, this field is null.

glacierJobDescription_archiveSizeInBytes :: Lens' GlacierJobDescription (Maybe Integer) Source #

For an archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.

glacierJobDescription_completed :: Lens' GlacierJobDescription (Maybe Bool) Source #

The job status. When a job is completed, you get the job's output using Get Job Output (GET output).

glacierJobDescription_completionDate :: Lens' GlacierJobDescription (Maybe Text) Source #

The UTC time that the job request completed. While the job is in progress, the value is null.

glacierJobDescription_creationDate :: Lens' GlacierJobDescription (Maybe Text) Source #

The UTC date when the job was created. This value is a string representation of ISO 8601 date format, for example "2012-03-20T17:03:43.221Z".

glacierJobDescription_inventorySizeInBytes :: Lens' GlacierJobDescription (Maybe Integer) Source #

For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.

glacierJobDescription_jobDescription :: Lens' GlacierJobDescription (Maybe Text) Source #

The job description provided when initiating the job.

glacierJobDescription_jobId :: Lens' GlacierJobDescription (Maybe Text) Source #

An opaque string that identifies an Amazon S3 Glacier job.

glacierJobDescription_outputLocation :: Lens' GlacierJobDescription (Maybe OutputLocation) Source #

Contains the location where the data from the select job is stored.

glacierJobDescription_retrievalByteRange :: Lens' GlacierJobDescription (Maybe Text) Source #

The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue. If no range was specified in the archive retrieval, then the whole archive is retrieved. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select jobs, this field is null.

glacierJobDescription_sHA256TreeHash :: Lens' GlacierJobDescription (Maybe Text) Source #

For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.

The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.

If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.

This field is null for the following:

  • Archive retrieval jobs that specify a range that is not tree-hash aligned
  • Archival jobs that specify a range that is equal to the whole archive, when the job status is InProgress
  • Inventory jobs
  • Select jobs

glacierJobDescription_sNSTopic :: Lens' GlacierJobDescription (Maybe Text) Source #

An Amazon SNS topic that receives notification.

glacierJobDescription_statusCode :: Lens' GlacierJobDescription (Maybe StatusCode) Source #

The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.

glacierJobDescription_statusMessage :: Lens' GlacierJobDescription (Maybe Text) Source #

A friendly message that describes the job status.

glacierJobDescription_tier :: Lens' GlacierJobDescription (Maybe Text) Source #

The tier to use for a select or an archive retrieval. Valid values are Expedited, Standard, or Bulk. Standard is the default.

glacierJobDescription_vaultARN :: Lens' GlacierJobDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.

Grant

data Grant Source #

Contains information about a grant.

See: newGrant smart constructor.

Constructors

Grant' 

Fields

Instances

Instances details
FromJSON Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

ToJSON Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Generic Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Associated Types

type Rep Grant :: Type -> Type #

Methods

from :: Grant -> Rep Grant x #

to :: Rep Grant x -> Grant #

Read Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Show Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Methods

showsPrec :: Int -> Grant -> ShowS #

show :: Grant -> String #

showList :: [Grant] -> ShowS #

NFData Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Methods

rnf :: Grant -> () #

Eq Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Methods

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

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

Hashable Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

Methods

hashWithSalt :: Int -> Grant -> Int #

hash :: Grant -> Int #

type Rep Grant Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grant

type Rep Grant = D1 ('MetaData "Grant" "Amazonka.Glacier.Types.Grant" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "Grant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Grantee)) :*: S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Permission))))

newGrant :: Grant Source #

Create a value of Grant with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:grantee:Grant', grant_grantee - The grantee.

$sel:permission:Grant', grant_permission - Specifies the permission given to the grantee.

grant_permission :: Lens' Grant (Maybe Permission) Source #

Specifies the permission given to the grantee.

Grantee

data Grantee Source #

Contains information about the grantee.

See: newGrantee smart constructor.

Constructors

Grantee' 

Fields

Instances

Instances details
FromJSON Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

ToJSON Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

Generic Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

Associated Types

type Rep Grantee :: Type -> Type #

Methods

from :: Grantee -> Rep Grantee x #

to :: Rep Grantee x -> Grantee #

Read Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

Show Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

NFData Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

Methods

rnf :: Grantee -> () #

Eq Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

Methods

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

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

Hashable Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

Methods

hashWithSalt :: Int -> Grantee -> Int #

hash :: Grantee -> Int #

type Rep Grantee Source # 
Instance details

Defined in Amazonka.Glacier.Types.Grantee

type Rep Grantee = D1 ('MetaData "Grantee" "Amazonka.Glacier.Types.Grantee" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "Grantee'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Type)))))

newGrantee Source #

Create a value of Grantee with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:displayName:Grantee', grantee_displayName - Screen name of the grantee.

$sel:emailAddress:Grantee', grantee_emailAddress - Email address of the grantee.

$sel:id:Grantee', grantee_id - The canonical user ID of the grantee.

$sel:uri:Grantee', grantee_uri - URI of the grantee group.

$sel:type':Grantee', grantee_type - Type of grantee

grantee_displayName :: Lens' Grantee (Maybe Text) Source #

Screen name of the grantee.

grantee_emailAddress :: Lens' Grantee (Maybe Text) Source #

Email address of the grantee.

grantee_id :: Lens' Grantee (Maybe Text) Source #

The canonical user ID of the grantee.

grantee_uri :: Lens' Grantee (Maybe Text) Source #

URI of the grantee group.

InputSerialization

data InputSerialization Source #

Describes how the archive is serialized.

See: newInputSerialization smart constructor.

Constructors

InputSerialization' 

Fields

Instances

Instances details
FromJSON InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

ToJSON InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

Generic InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

Associated Types

type Rep InputSerialization :: Type -> Type #

Read InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

Show InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

NFData InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

Methods

rnf :: InputSerialization -> () #

Eq InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

Hashable InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

type Rep InputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.InputSerialization

type Rep InputSerialization = D1 ('MetaData "InputSerialization" "Amazonka.Glacier.Types.InputSerialization" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "InputSerialization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "csv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CSVInput))))

newInputSerialization :: InputSerialization Source #

Create a value of InputSerialization with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:csv:InputSerialization', inputSerialization_csv - Describes the serialization of a CSV-encoded object.

inputSerialization_csv :: Lens' InputSerialization (Maybe CSVInput) Source #

Describes the serialization of a CSV-encoded object.

InventoryRetrievalJobDescription

data InventoryRetrievalJobDescription Source #

Describes the options for a range inventory retrieval job.

See: newInventoryRetrievalJobDescription smart constructor.

Constructors

InventoryRetrievalJobDescription' 

Fields

  • endDate :: Maybe Text

    The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

  • format :: Maybe Text

    The output format for the vault inventory list, which is set by the InitiateJob request when initiating a job to retrieve a vault inventory. Valid values are CSV and JSON.

  • limit :: Maybe Text

    The maximum number of inventory items returned per vault inventory retrieval request. This limit is set when initiating the job with the a InitiateJob request.

  • marker :: Maybe Text

    An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null. For more information, see Range Inventory Retrieval.

  • startDate :: Maybe Text

    The start of the date range in Universal Coordinated Time (UTC) for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

Instances

Instances details
FromJSON InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

Generic InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

Associated Types

type Rep InventoryRetrievalJobDescription :: Type -> Type #

Read InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

Show InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

NFData InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

Eq InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

Hashable InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

type Rep InventoryRetrievalJobDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobDescription

type Rep InventoryRetrievalJobDescription = D1 ('MetaData "InventoryRetrievalJobDescription" "Amazonka.Glacier.Types.InventoryRetrievalJobDescription" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "InventoryRetrievalJobDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newInventoryRetrievalJobDescription :: InventoryRetrievalJobDescription Source #

Create a value of InventoryRetrievalJobDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endDate:InventoryRetrievalJobDescription', inventoryRetrievalJobDescription_endDate - The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

$sel:format:InventoryRetrievalJobDescription', inventoryRetrievalJobDescription_format - The output format for the vault inventory list, which is set by the InitiateJob request when initiating a job to retrieve a vault inventory. Valid values are CSV and JSON.

$sel:limit:InventoryRetrievalJobDescription', inventoryRetrievalJobDescription_limit - The maximum number of inventory items returned per vault inventory retrieval request. This limit is set when initiating the job with the a InitiateJob request.

$sel:marker:InventoryRetrievalJobDescription', inventoryRetrievalJobDescription_marker - An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null. For more information, see Range Inventory Retrieval.

$sel:startDate:InventoryRetrievalJobDescription', inventoryRetrievalJobDescription_startDate - The start of the date range in Universal Coordinated Time (UTC) for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

inventoryRetrievalJobDescription_endDate :: Lens' InventoryRetrievalJobDescription (Maybe Text) Source #

The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

inventoryRetrievalJobDescription_format :: Lens' InventoryRetrievalJobDescription (Maybe Text) Source #

The output format for the vault inventory list, which is set by the InitiateJob request when initiating a job to retrieve a vault inventory. Valid values are CSV and JSON.

inventoryRetrievalJobDescription_limit :: Lens' InventoryRetrievalJobDescription (Maybe Text) Source #

The maximum number of inventory items returned per vault inventory retrieval request. This limit is set when initiating the job with the a InitiateJob request.

inventoryRetrievalJobDescription_marker :: Lens' InventoryRetrievalJobDescription (Maybe Text) Source #

An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null. For more information, see Range Inventory Retrieval.

inventoryRetrievalJobDescription_startDate :: Lens' InventoryRetrievalJobDescription (Maybe Text) Source #

The start of the date range in Universal Coordinated Time (UTC) for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

InventoryRetrievalJobInput

data InventoryRetrievalJobInput Source #

Provides options for specifying a range inventory retrieval job.

See: newInventoryRetrievalJobInput smart constructor.

Constructors

InventoryRetrievalJobInput' 

Fields

  • endDate :: Maybe Text

    The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

  • limit :: Maybe Text

    Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.

  • marker :: Maybe Text

    An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null.

  • startDate :: Maybe Text

    The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

Instances

Instances details
ToJSON InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

Generic InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

Associated Types

type Rep InventoryRetrievalJobInput :: Type -> Type #

Read InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

Show InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

NFData InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

Eq InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

Hashable InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

type Rep InventoryRetrievalJobInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.InventoryRetrievalJobInput

type Rep InventoryRetrievalJobInput = D1 ('MetaData "InventoryRetrievalJobInput" "Amazonka.Glacier.Types.InventoryRetrievalJobInput" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "InventoryRetrievalJobInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newInventoryRetrievalJobInput :: InventoryRetrievalJobInput Source #

Create a value of InventoryRetrievalJobInput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endDate:InventoryRetrievalJobInput', inventoryRetrievalJobInput_endDate - The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

$sel:limit:InventoryRetrievalJobInput', inventoryRetrievalJobInput_limit - Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.

$sel:marker:InventoryRetrievalJobInput', inventoryRetrievalJobInput_marker - An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null.

$sel:startDate:InventoryRetrievalJobInput', inventoryRetrievalJobInput_startDate - The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

inventoryRetrievalJobInput_endDate :: Lens' InventoryRetrievalJobInput (Maybe Text) Source #

The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

inventoryRetrievalJobInput_limit :: Lens' InventoryRetrievalJobInput (Maybe Text) Source #

Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.

inventoryRetrievalJobInput_marker :: Lens' InventoryRetrievalJobInput (Maybe Text) Source #

An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is null.

inventoryRetrievalJobInput_startDate :: Lens' InventoryRetrievalJobInput (Maybe Text) Source #

The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. This value should be a string in the ISO 8601 date format, for example 2013-03-20T17:03:43Z.

JobParameters

data JobParameters Source #

Provides options for defining a job.

See: newJobParameters smart constructor.

Constructors

JobParameters' 

Fields

  • archiveId :: Maybe Text

    The ID of the archive that you want to retrieve. This field is required only if Type is set to select or archive-retrievalcode>. An error occurs if you specify this request parameter for an inventory retrieval job request.

  • description :: Maybe Text

    The optional description for the job. The description must be less than or equal to 1,024 bytes. The allowable characters are 7-bit ASCII without control codes-specifically, ASCII values 32-126 decimal or 0x20-0x7E hexadecimal.

  • format :: Maybe Text

    When initiating a job to retrieve a vault inventory, you can optionally add this parameter to your request to specify the output format. If you are initiating an inventory job and do not specify a Format field, JSON is the default format. Valid values are "CSV" and "JSON".

  • inventoryRetrievalParameters :: Maybe InventoryRetrievalJobInput

    Input parameters used for range inventory retrieval.

  • outputLocation :: Maybe OutputLocation

    Contains information about the location where the select job results are stored.

  • retrievalByteRange :: Maybe Text

    The byte range to retrieve for an archive retrieval. in the form "StartByteValue-EndByteValue" If not specified, the whole archive is retrieved. If specified, the byte range must be megabyte (1024*1024) aligned which means that StartByteValue must be divisible by 1 MB and EndByteValue plus 1 must be divisible by 1 MB or be the end of the archive specified as the archive byte size value minus 1. If RetrievalByteRange is not megabyte aligned, this operation returns a 400 response.

    An error occurs if you specify this field for an inventory retrieval job request.

  • sNSTopic :: Maybe Text

    The Amazon SNS topic ARN to which Amazon S3 Glacier sends a notification when the job is completed and the output is ready for you to download. The specified topic publishes the notification to its subscribers. The SNS topic must exist.

  • selectParameters :: Maybe SelectParameters

    Contains the parameters that define a job.

  • tier :: Maybe Text

    The tier to use for a select or an archive retrieval job. Valid values are Expedited, Standard, or Bulk. Standard is the default.

  • type' :: Maybe Text

    The job type. You can initiate a job to perform a select query on an archive, retrieve an archive, or get an inventory of a vault. Valid values are "select", "archive-retrieval" and "inventory-retrieval".

Instances

Instances details
ToJSON JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

Generic JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

Associated Types

type Rep JobParameters :: Type -> Type #

Read JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

Show JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

NFData JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

Methods

rnf :: JobParameters -> () #

Eq JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

Hashable JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

type Rep JobParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.JobParameters

newJobParameters :: JobParameters Source #

Create a value of JobParameters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:archiveId:JobParameters', jobParameters_archiveId - The ID of the archive that you want to retrieve. This field is required only if Type is set to select or archive-retrievalcode>. An error occurs if you specify this request parameter for an inventory retrieval job request.

$sel:description:JobParameters', jobParameters_description - The optional description for the job. The description must be less than or equal to 1,024 bytes. The allowable characters are 7-bit ASCII without control codes-specifically, ASCII values 32-126 decimal or 0x20-0x7E hexadecimal.

$sel:format:JobParameters', jobParameters_format - When initiating a job to retrieve a vault inventory, you can optionally add this parameter to your request to specify the output format. If you are initiating an inventory job and do not specify a Format field, JSON is the default format. Valid values are "CSV" and "JSON".

$sel:inventoryRetrievalParameters:JobParameters', jobParameters_inventoryRetrievalParameters - Input parameters used for range inventory retrieval.

$sel:outputLocation:JobParameters', jobParameters_outputLocation - Contains information about the location where the select job results are stored.

$sel:retrievalByteRange:JobParameters', jobParameters_retrievalByteRange - The byte range to retrieve for an archive retrieval. in the form "StartByteValue-EndByteValue" If not specified, the whole archive is retrieved. If specified, the byte range must be megabyte (1024*1024) aligned which means that StartByteValue must be divisible by 1 MB and EndByteValue plus 1 must be divisible by 1 MB or be the end of the archive specified as the archive byte size value minus 1. If RetrievalByteRange is not megabyte aligned, this operation returns a 400 response.

An error occurs if you specify this field for an inventory retrieval job request.

$sel:sNSTopic:JobParameters', jobParameters_sNSTopic - The Amazon SNS topic ARN to which Amazon S3 Glacier sends a notification when the job is completed and the output is ready for you to download. The specified topic publishes the notification to its subscribers. The SNS topic must exist.

$sel:selectParameters:JobParameters', jobParameters_selectParameters - Contains the parameters that define a job.

$sel:tier:JobParameters', jobParameters_tier - The tier to use for a select or an archive retrieval job. Valid values are Expedited, Standard, or Bulk. Standard is the default.

$sel:type':JobParameters', jobParameters_type - The job type. You can initiate a job to perform a select query on an archive, retrieve an archive, or get an inventory of a vault. Valid values are "select", "archive-retrieval" and "inventory-retrieval".

jobParameters_archiveId :: Lens' JobParameters (Maybe Text) Source #

The ID of the archive that you want to retrieve. This field is required only if Type is set to select or archive-retrievalcode>. An error occurs if you specify this request parameter for an inventory retrieval job request.

jobParameters_description :: Lens' JobParameters (Maybe Text) Source #

The optional description for the job. The description must be less than or equal to 1,024 bytes. The allowable characters are 7-bit ASCII without control codes-specifically, ASCII values 32-126 decimal or 0x20-0x7E hexadecimal.

jobParameters_format :: Lens' JobParameters (Maybe Text) Source #

When initiating a job to retrieve a vault inventory, you can optionally add this parameter to your request to specify the output format. If you are initiating an inventory job and do not specify a Format field, JSON is the default format. Valid values are "CSV" and "JSON".

jobParameters_outputLocation :: Lens' JobParameters (Maybe OutputLocation) Source #

Contains information about the location where the select job results are stored.

jobParameters_retrievalByteRange :: Lens' JobParameters (Maybe Text) Source #

The byte range to retrieve for an archive retrieval. in the form "StartByteValue-EndByteValue" If not specified, the whole archive is retrieved. If specified, the byte range must be megabyte (1024*1024) aligned which means that StartByteValue must be divisible by 1 MB and EndByteValue plus 1 must be divisible by 1 MB or be the end of the archive specified as the archive byte size value minus 1. If RetrievalByteRange is not megabyte aligned, this operation returns a 400 response.

An error occurs if you specify this field for an inventory retrieval job request.

jobParameters_sNSTopic :: Lens' JobParameters (Maybe Text) Source #

The Amazon SNS topic ARN to which Amazon S3 Glacier sends a notification when the job is completed and the output is ready for you to download. The specified topic publishes the notification to its subscribers. The SNS topic must exist.

jobParameters_selectParameters :: Lens' JobParameters (Maybe SelectParameters) Source #

Contains the parameters that define a job.

jobParameters_tier :: Lens' JobParameters (Maybe Text) Source #

The tier to use for a select or an archive retrieval job. Valid values are Expedited, Standard, or Bulk. Standard is the default.

jobParameters_type :: Lens' JobParameters (Maybe Text) Source #

The job type. You can initiate a job to perform a select query on an archive, retrieve an archive, or get an inventory of a vault. Valid values are "select", "archive-retrieval" and "inventory-retrieval".

OutputLocation

data OutputLocation Source #

Contains information about the location where the select job results are stored.

See: newOutputLocation smart constructor.

Constructors

OutputLocation' 

Fields

  • s3 :: Maybe S3Location

    Describes an S3 location that will receive the results of the job request.

Instances

Instances details
FromJSON OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

ToJSON OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

Generic OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

Associated Types

type Rep OutputLocation :: Type -> Type #

Read OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

Show OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

NFData OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

Methods

rnf :: OutputLocation -> () #

Eq OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

Hashable OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

type Rep OutputLocation Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputLocation

type Rep OutputLocation = D1 ('MetaData "OutputLocation" "Amazonka.Glacier.Types.OutputLocation" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "OutputLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Location))))

newOutputLocation :: OutputLocation Source #

Create a value of OutputLocation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3:OutputLocation', outputLocation_s3 - Describes an S3 location that will receive the results of the job request.

outputLocation_s3 :: Lens' OutputLocation (Maybe S3Location) Source #

Describes an S3 location that will receive the results of the job request.

OutputSerialization

data OutputSerialization Source #

Describes how the select output is serialized.

See: newOutputSerialization smart constructor.

Constructors

OutputSerialization' 

Fields

Instances

Instances details
FromJSON OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

ToJSON OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

Generic OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

Associated Types

type Rep OutputSerialization :: Type -> Type #

Read OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

Show OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

NFData OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

Methods

rnf :: OutputSerialization -> () #

Eq OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

Hashable OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

type Rep OutputSerialization Source # 
Instance details

Defined in Amazonka.Glacier.Types.OutputSerialization

type Rep OutputSerialization = D1 ('MetaData "OutputSerialization" "Amazonka.Glacier.Types.OutputSerialization" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "OutputSerialization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "csv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CSVOutput))))

newOutputSerialization :: OutputSerialization Source #

Create a value of OutputSerialization with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:csv:OutputSerialization', outputSerialization_csv - Describes the serialization of CSV-encoded query results.

outputSerialization_csv :: Lens' OutputSerialization (Maybe CSVOutput) Source #

Describes the serialization of CSV-encoded query results.

PartListElement

data PartListElement Source #

A list of the part sizes of the multipart upload.

See: newPartListElement smart constructor.

Constructors

PartListElement' 

Fields

  • rangeInBytes :: Maybe Text

    The byte range of a part, inclusive of the upper value of the range.

  • sHA256TreeHash :: Maybe Text

    The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is never null.

Instances

Instances details
FromJSON PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

Generic PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

Associated Types

type Rep PartListElement :: Type -> Type #

Read PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

Show PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

NFData PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

Methods

rnf :: PartListElement -> () #

Eq PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

Hashable PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

type Rep PartListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.PartListElement

type Rep PartListElement = D1 ('MetaData "PartListElement" "Amazonka.Glacier.Types.PartListElement" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "PartListElement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rangeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sHA256TreeHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPartListElement :: PartListElement Source #

Create a value of PartListElement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:rangeInBytes:PartListElement', partListElement_rangeInBytes - The byte range of a part, inclusive of the upper value of the range.

$sel:sHA256TreeHash:PartListElement', partListElement_sHA256TreeHash - The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is never null.

partListElement_rangeInBytes :: Lens' PartListElement (Maybe Text) Source #

The byte range of a part, inclusive of the upper value of the range.

partListElement_sHA256TreeHash :: Lens' PartListElement (Maybe Text) Source #

The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is never null.

ProvisionedCapacityDescription

data ProvisionedCapacityDescription Source #

The definition for a provisioned capacity unit.

See: newProvisionedCapacityDescription smart constructor.

Constructors

ProvisionedCapacityDescription' 

Fields

  • capacityId :: Maybe Text

    The ID that identifies the provisioned capacity unit.

  • expirationDate :: Maybe Text

    The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).

  • startDate :: Maybe Text

    The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).

Instances

Instances details
FromJSON ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

Generic ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

Associated Types

type Rep ProvisionedCapacityDescription :: Type -> Type #

Read ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

Show ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

NFData ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

Eq ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

Hashable ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

type Rep ProvisionedCapacityDescription Source # 
Instance details

Defined in Amazonka.Glacier.Types.ProvisionedCapacityDescription

type Rep ProvisionedCapacityDescription = D1 ('MetaData "ProvisionedCapacityDescription" "Amazonka.Glacier.Types.ProvisionedCapacityDescription" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "ProvisionedCapacityDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "capacityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newProvisionedCapacityDescription :: ProvisionedCapacityDescription Source #

Create a value of ProvisionedCapacityDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:capacityId:ProvisionedCapacityDescription', provisionedCapacityDescription_capacityId - The ID that identifies the provisioned capacity unit.

$sel:expirationDate:ProvisionedCapacityDescription', provisionedCapacityDescription_expirationDate - The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).

$sel:startDate:ProvisionedCapacityDescription', provisionedCapacityDescription_startDate - The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).

provisionedCapacityDescription_capacityId :: Lens' ProvisionedCapacityDescription (Maybe Text) Source #

The ID that identifies the provisioned capacity unit.

provisionedCapacityDescription_expirationDate :: Lens' ProvisionedCapacityDescription (Maybe Text) Source #

The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).

provisionedCapacityDescription_startDate :: Lens' ProvisionedCapacityDescription (Maybe Text) Source #

The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).

S3Location

data S3Location Source #

Contains information about the location in Amazon S3 where the select job results are stored.

See: newS3Location smart constructor.

Constructors

S3Location' 

Fields

Instances

Instances details
FromJSON S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

ToJSON S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

Generic S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

Associated Types

type Rep S3Location :: Type -> Type #

Read S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

Show S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

NFData S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

Methods

rnf :: S3Location -> () #

Eq S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

Hashable S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

type Rep S3Location Source # 
Instance details

Defined in Amazonka.Glacier.Types.S3Location

newS3Location :: S3Location Source #

Create a value of S3Location with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accessControlList:S3Location', s3Location_accessControlList - A list of grants that control access to the staged results.

$sel:bucketName:S3Location', s3Location_bucketName - The name of the Amazon S3 bucket where the job results are stored.

$sel:cannedACL:S3Location', s3Location_cannedACL - The canned access control list (ACL) to apply to the job results.

$sel:encryption:S3Location', s3Location_encryption - Contains information about the encryption used to store the job results in Amazon S3.

$sel:prefix:S3Location', s3Location_prefix - The prefix that is prepended to the results for this request.

$sel:storageClass:S3Location', s3Location_storageClass - The storage class used to store the job results.

$sel:tagging:S3Location', s3Location_tagging - The tag-set that is applied to the job results.

$sel:userMetadata:S3Location', s3Location_userMetadata - A map of metadata to store with the job results in Amazon S3.

s3Location_accessControlList :: Lens' S3Location (Maybe [Grant]) Source #

A list of grants that control access to the staged results.

s3Location_bucketName :: Lens' S3Location (Maybe Text) Source #

The name of the Amazon S3 bucket where the job results are stored.

s3Location_cannedACL :: Lens' S3Location (Maybe CannedACL) Source #

The canned access control list (ACL) to apply to the job results.

s3Location_encryption :: Lens' S3Location (Maybe Encryption) Source #

Contains information about the encryption used to store the job results in Amazon S3.

s3Location_prefix :: Lens' S3Location (Maybe Text) Source #

The prefix that is prepended to the results for this request.

s3Location_storageClass :: Lens' S3Location (Maybe StorageClass) Source #

The storage class used to store the job results.

s3Location_tagging :: Lens' S3Location (Maybe (HashMap Text Text)) Source #

The tag-set that is applied to the job results.

s3Location_userMetadata :: Lens' S3Location (Maybe (HashMap Text Text)) Source #

A map of metadata to store with the job results in Amazon S3.

SelectParameters

data SelectParameters Source #

Contains information about the parameters used for a select.

See: newSelectParameters smart constructor.

Constructors

SelectParameters' 

Fields

Instances

Instances details
FromJSON SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

ToJSON SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

Generic SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

Associated Types

type Rep SelectParameters :: Type -> Type #

Read SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

Show SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

NFData SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

Methods

rnf :: SelectParameters -> () #

Eq SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

Hashable SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

type Rep SelectParameters Source # 
Instance details

Defined in Amazonka.Glacier.Types.SelectParameters

type Rep SelectParameters = D1 ('MetaData "SelectParameters" "Amazonka.Glacier.Types.SelectParameters" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "SelectParameters'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expressionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExpressionType))) :*: (S1 ('MetaSel ('Just "inputSerialization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputSerialization)) :*: S1 ('MetaSel ('Just "outputSerialization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputSerialization)))))

newSelectParameters :: SelectParameters Source #

Create a value of SelectParameters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:expression:SelectParameters', selectParameters_expression - The expression that is used to select the object.

$sel:expressionType:SelectParameters', selectParameters_expressionType - The type of the provided expression, for example SQL.

$sel:inputSerialization:SelectParameters', selectParameters_inputSerialization - Describes the serialization format of the object.

$sel:outputSerialization:SelectParameters', selectParameters_outputSerialization - Describes how the results of the select job are serialized.

selectParameters_expression :: Lens' SelectParameters (Maybe Text) Source #

The expression that is used to select the object.

selectParameters_expressionType :: Lens' SelectParameters (Maybe ExpressionType) Source #

The type of the provided expression, for example SQL.

selectParameters_inputSerialization :: Lens' SelectParameters (Maybe InputSerialization) Source #

Describes the serialization format of the object.

selectParameters_outputSerialization :: Lens' SelectParameters (Maybe OutputSerialization) Source #

Describes how the results of the select job are serialized.

UploadListElement

data UploadListElement Source #

A list of in-progress multipart uploads for a vault.

See: newUploadListElement smart constructor.

Constructors

UploadListElement' 

Fields

Instances

Instances details
FromJSON UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

Generic UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

Associated Types

type Rep UploadListElement :: Type -> Type #

Read UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

Show UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

NFData UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

Methods

rnf :: UploadListElement -> () #

Eq UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

Hashable UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

type Rep UploadListElement Source # 
Instance details

Defined in Amazonka.Glacier.Types.UploadListElement

type Rep UploadListElement = D1 ('MetaData "UploadListElement" "Amazonka.Glacier.Types.UploadListElement" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "UploadListElement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "archiveDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "multipartUploadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "partSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "vaultARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUploadListElement :: UploadListElement Source #

Create a value of UploadListElement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:archiveDescription:UploadListElement', uploadListElement_archiveDescription - The description of the archive that was specified in the Initiate Multipart Upload request.

$sel:creationDate:UploadListElement', uploadListElement_creationDate - The UTC time at which the multipart upload was initiated.

$sel:multipartUploadId:UploadListElement', uploadListElement_multipartUploadId - The ID of a multipart upload.

$sel:partSizeInBytes:UploadListElement', uploadListElement_partSizeInBytes - The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

$sel:vaultARN:UploadListElement', uploadListElement_vaultARN - The Amazon Resource Name (ARN) of the vault that contains the archive.

uploadListElement_archiveDescription :: Lens' UploadListElement (Maybe Text) Source #

The description of the archive that was specified in the Initiate Multipart Upload request.

uploadListElement_creationDate :: Lens' UploadListElement (Maybe Text) Source #

The UTC time at which the multipart upload was initiated.

uploadListElement_partSizeInBytes :: Lens' UploadListElement (Maybe Integer) Source #

The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

uploadListElement_vaultARN :: Lens' UploadListElement (Maybe Text) Source #

The Amazon Resource Name (ARN) of the vault that contains the archive.

VaultAccessPolicy

data VaultAccessPolicy Source #

Contains the vault access policy.

See: newVaultAccessPolicy smart constructor.

Constructors

VaultAccessPolicy' 

Fields

Instances

Instances details
FromJSON VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

ToJSON VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

Generic VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

Associated Types

type Rep VaultAccessPolicy :: Type -> Type #

Read VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

Show VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

NFData VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

Methods

rnf :: VaultAccessPolicy -> () #

Eq VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

Hashable VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

type Rep VaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultAccessPolicy

type Rep VaultAccessPolicy = D1 ('MetaData "VaultAccessPolicy" "Amazonka.Glacier.Types.VaultAccessPolicy" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "VaultAccessPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newVaultAccessPolicy :: VaultAccessPolicy Source #

Create a value of VaultAccessPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:policy:VaultAccessPolicy', vaultAccessPolicy_policy - The vault access policy.

VaultLockPolicy

data VaultLockPolicy Source #

Contains the vault lock policy.

See: newVaultLockPolicy smart constructor.

Constructors

VaultLockPolicy' 

Fields

Instances

Instances details
ToJSON VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

Generic VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

Associated Types

type Rep VaultLockPolicy :: Type -> Type #

Read VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

Show VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

NFData VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

Methods

rnf :: VaultLockPolicy -> () #

Eq VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

Hashable VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

type Rep VaultLockPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultLockPolicy

type Rep VaultLockPolicy = D1 ('MetaData "VaultLockPolicy" "Amazonka.Glacier.Types.VaultLockPolicy" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "VaultLockPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newVaultLockPolicy :: VaultLockPolicy Source #

Create a value of VaultLockPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:policy:VaultLockPolicy', vaultLockPolicy_policy - The vault lock policy.

VaultNotificationConfig

data VaultNotificationConfig Source #

Represents a vault's notification configuration.

See: newVaultNotificationConfig smart constructor.

Constructors

VaultNotificationConfig' 

Fields

  • events :: Maybe [Text]

    A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.

  • sNSTopic :: Maybe Text

    The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

Instances

Instances details
FromJSON VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

ToJSON VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Generic VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Associated Types

type Rep VaultNotificationConfig :: Type -> Type #

Read VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Show VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

NFData VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Methods

rnf :: VaultNotificationConfig -> () #

Eq VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Hashable VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

type Rep VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

type Rep VaultNotificationConfig = D1 ('MetaData "VaultNotificationConfig" "Amazonka.Glacier.Types.VaultNotificationConfig" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "VaultNotificationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "sNSTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newVaultNotificationConfig :: VaultNotificationConfig Source #

Create a value of VaultNotificationConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:events:VaultNotificationConfig', vaultNotificationConfig_events - A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.

$sel:sNSTopic:VaultNotificationConfig', vaultNotificationConfig_sNSTopic - The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

vaultNotificationConfig_events :: Lens' VaultNotificationConfig (Maybe [Text]) Source #

A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.

vaultNotificationConfig_sNSTopic :: Lens' VaultNotificationConfig (Maybe Text) Source #

The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).