amazonka-glacier-1.3.7: Amazon Glacier SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Glacier

Contents

Description

Amazon Glacier is a storage solution for "cold data."

Amazon Glacier is an extremely low-cost storage service that provides secure, durable, and easy-to-use storage for data backup and archival. With Amazon Glacier, customers can store their data cost effectively for months, years, or decades. Amazon Glacier also enables customers to offload the administrative burdens of operating and scaling storage to AWS, so they don't have to worry about capacity planning, hardware provisioning, data replication, hardware failure and recovery, or time-consuming hardware migrations.

Amazon Glacier is a great storage choice when low storage cost is paramount, your data is rarely retrieved, and retrieval latency of several hours is acceptable. If your application requires fast or frequent access to your data, consider using Amazon S3. For more information, go to Amazon Simple Storage Service (Amazon S3).

You can store any kind of data in any format. There is no maximum limit on the total amount of data you can store in Amazon Glacier.

If you are a first-time user of Amazon Glacier, we recommend that you begin by reading the following sections in the /Amazon Glacier Developer Guide/:

  • What is Amazon Glacier
  • This section of the Developer Guide describes the underlying data model, the operations it supports, and the AWS SDKs that you can use to interact with the service.
  • Getting Started with Amazon Glacier
  • The Getting Started section walks you through the process of creating a vault, uploading archives, creating jobs to download archives, retrieving the job output, and deleting archives.

See: AWS API Reference

Synopsis

Service Configuration

glacier :: Service Source #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Glacier.

PolicyEnforcedException

_PolicyEnforcedException :: AsError a => Getting (First ServiceError) 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,

InvalidParameterValueException

_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if a parameter of the request is incorrectly specified.

RequestTimeoutException

_RequestTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ServiceUnavailableException

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the service cannot complete the request.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the specified resource, such as a vault, upload ID, or job ID, does not exist.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

MissingParameterValueException

_MissingParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

SetVaultAccessPolicy

InitiateJob

SetDataRetrievalPolicy

DeleteVaultAccessPolicy

GetVaultNotifications

ListTagsForVault

UploadMultipartPart

DeleteVaultNotifications

CompleteVaultLock

AbortVaultLock

ListVaults (Paginated)

ListJobs (Paginated)

SetVaultNotifications

GetJobOutput

CompleteMultipartUpload

ListMultipartUploads (Paginated)

AbortMultipartUpload

DescribeVault

GetVaultLock

DescribeJob

InitiateVaultLock

GetVaultAccessPolicy

GetDataRetrievalPolicy

RemoveTagsFromVault

DeleteVault

DeleteArchive

CreateVault

InitiateMultipartUpload

ListParts (Paginated)

AddTagsToVault

UploadArchive

Types

ActionCode

data ActionCode Source #

Instances

Bounded ActionCode Source # 
Enum ActionCode Source # 
Eq ActionCode Source # 
Data ActionCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ActionCode -> c ActionCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ActionCode #

toConstr :: ActionCode -> Constr #

dataTypeOf :: ActionCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ActionCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ActionCode) #

gmapT :: (forall b. Data b => b -> b) -> ActionCode -> ActionCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ActionCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ActionCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> ActionCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ActionCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ActionCode -> m ActionCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ActionCode -> m ActionCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ActionCode -> m ActionCode #

Ord ActionCode Source # 
Read ActionCode Source # 
Show ActionCode Source # 
Generic ActionCode Source # 

Associated Types

type Rep ActionCode :: * -> * #

Hashable ActionCode Source # 
FromJSON ActionCode Source # 
ToQuery ActionCode Source # 
ToHeader ActionCode Source # 
ToByteString ActionCode Source # 
FromText ActionCode Source # 
ToText ActionCode Source # 

Methods

toText :: ActionCode -> Text #

type Rep ActionCode Source # 
type Rep ActionCode = D1 (MetaData "ActionCode" "Network.AWS.Glacier.Types.Sum" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) ((:+:) (C1 (MetaCons "ArchiveRetrieval" PrefixI False) U1) (C1 (MetaCons "InventoryRetrieval" PrefixI False) U1))

StatusCode

data StatusCode Source #

Constructors

Failed 
InProgress 
Succeeded 

Instances

Bounded StatusCode Source # 
Enum StatusCode Source # 
Eq StatusCode Source # 
Data StatusCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusCode -> c StatusCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusCode #

toConstr :: StatusCode -> Constr #

dataTypeOf :: StatusCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StatusCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusCode) #

gmapT :: (forall b. Data b => b -> b) -> StatusCode -> StatusCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusCode -> m StatusCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusCode -> m StatusCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusCode -> m StatusCode #

Ord StatusCode Source # 
Read StatusCode Source # 
Show StatusCode Source # 
Generic StatusCode Source # 

Associated Types

type Rep StatusCode :: * -> * #

Hashable StatusCode Source # 
FromJSON StatusCode Source # 
ToQuery StatusCode Source # 
ToHeader StatusCode Source # 
ToByteString StatusCode Source # 
FromText StatusCode Source # 
ToText StatusCode Source # 

Methods

toText :: StatusCode -> Text #

type Rep StatusCode Source # 
type Rep StatusCode = D1 (MetaData "StatusCode" "Network.AWS.Glacier.Types.Sum" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) ((:+:) (C1 (MetaCons "Failed" PrefixI False) U1) ((:+:) (C1 (MetaCons "InProgress" PrefixI False) U1) (C1 (MetaCons "Succeeded" PrefixI False) U1)))

ArchiveCreationOutput

data ArchiveCreationOutput Source #

Contains the Amazon Glacier response to your request.

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

See: archiveCreationOutput smart constructor.

Instances

Eq ArchiveCreationOutput Source # 
Data ArchiveCreationOutput Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ArchiveCreationOutput -> c ArchiveCreationOutput #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ArchiveCreationOutput #

toConstr :: ArchiveCreationOutput -> Constr #

dataTypeOf :: ArchiveCreationOutput -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ArchiveCreationOutput) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ArchiveCreationOutput) #

gmapT :: (forall b. Data b => b -> b) -> ArchiveCreationOutput -> ArchiveCreationOutput #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ArchiveCreationOutput -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ArchiveCreationOutput -> r #

gmapQ :: (forall d. Data d => d -> u) -> ArchiveCreationOutput -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ArchiveCreationOutput -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ArchiveCreationOutput -> m ArchiveCreationOutput #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ArchiveCreationOutput -> m ArchiveCreationOutput #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ArchiveCreationOutput -> m ArchiveCreationOutput #

Read ArchiveCreationOutput Source # 
Show ArchiveCreationOutput Source # 
Generic ArchiveCreationOutput Source # 
FromJSON ArchiveCreationOutput Source # 
type Rep ArchiveCreationOutput Source # 
type Rep ArchiveCreationOutput = D1 (MetaData "ArchiveCreationOutput" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "ArchiveCreationOutput'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_acoArchiveId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_acoChecksum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_acoLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

archiveCreationOutput :: ArchiveCreationOutput Source #

Creates a value of ArchiveCreationOutput with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

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

The checksum of the archive computed by Amazon Glacier.

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

The relative URI path of the newly added archive resource.

DataRetrievalPolicy

data DataRetrievalPolicy Source #

Data retrieval policy.

See: dataRetrievalPolicy smart constructor.

Instances

Eq DataRetrievalPolicy Source # 
Data DataRetrievalPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DataRetrievalPolicy -> c DataRetrievalPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DataRetrievalPolicy #

toConstr :: DataRetrievalPolicy -> Constr #

dataTypeOf :: DataRetrievalPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DataRetrievalPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DataRetrievalPolicy) #

gmapT :: (forall b. Data b => b -> b) -> DataRetrievalPolicy -> DataRetrievalPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DataRetrievalPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DataRetrievalPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> DataRetrievalPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DataRetrievalPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DataRetrievalPolicy -> m DataRetrievalPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DataRetrievalPolicy -> m DataRetrievalPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DataRetrievalPolicy -> m DataRetrievalPolicy #

Read DataRetrievalPolicy Source # 
Show DataRetrievalPolicy Source # 
Generic DataRetrievalPolicy Source # 
ToJSON DataRetrievalPolicy Source # 
FromJSON DataRetrievalPolicy Source # 
type Rep DataRetrievalPolicy Source # 
type Rep DataRetrievalPolicy = D1 (MetaData "DataRetrievalPolicy" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" True) (C1 (MetaCons "DataRetrievalPolicy'" PrefixI True) (S1 (MetaSel (Just Symbol "_drpRules") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [DataRetrievalRule]))))

dataRetrievalPolicy :: DataRetrievalPolicy Source #

Creates a value of DataRetrievalPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

drpRules :: Lens' DataRetrievalPolicy [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: dataRetrievalRule smart constructor.

Instances

Eq DataRetrievalRule Source # 
Data DataRetrievalRule Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DataRetrievalRule -> c DataRetrievalRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DataRetrievalRule #

toConstr :: DataRetrievalRule -> Constr #

dataTypeOf :: DataRetrievalRule -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DataRetrievalRule) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DataRetrievalRule) #

gmapT :: (forall b. Data b => b -> b) -> DataRetrievalRule -> DataRetrievalRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DataRetrievalRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DataRetrievalRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> DataRetrievalRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DataRetrievalRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DataRetrievalRule -> m DataRetrievalRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DataRetrievalRule -> m DataRetrievalRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DataRetrievalRule -> m DataRetrievalRule #

Read DataRetrievalRule Source # 
Show DataRetrievalRule Source # 
Generic DataRetrievalRule Source # 
ToJSON DataRetrievalRule Source # 
FromJSON DataRetrievalRule Source # 
type Rep DataRetrievalRule Source # 
type Rep DataRetrievalRule = D1 (MetaData "DataRetrievalRule" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "DataRetrievalRule'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drrStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drrBytesPerHour") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))

dataRetrievalRule :: DataRetrievalRule Source #

Creates a value of DataRetrievalRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

drrBytesPerHour :: 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.

DescribeVaultOutput

data DescribeVaultOutput Source #

Contains the Amazon Glacier response to your request.

See: describeVaultOutput smart constructor.

Instances

Eq DescribeVaultOutput Source # 
Data DescribeVaultOutput Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeVaultOutput -> c DescribeVaultOutput #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeVaultOutput #

toConstr :: DescribeVaultOutput -> Constr #

dataTypeOf :: DescribeVaultOutput -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeVaultOutput) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeVaultOutput) #

gmapT :: (forall b. Data b => b -> b) -> DescribeVaultOutput -> DescribeVaultOutput #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeVaultOutput -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeVaultOutput -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeVaultOutput -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeVaultOutput -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeVaultOutput -> m DescribeVaultOutput #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeVaultOutput -> m DescribeVaultOutput #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeVaultOutput -> m DescribeVaultOutput #

Read DescribeVaultOutput Source # 
Show DescribeVaultOutput Source # 
Generic DescribeVaultOutput Source # 
FromJSON DescribeVaultOutput Source # 
type Rep DescribeVaultOutput Source # 
type Rep DescribeVaultOutput = D1 (MetaData "DescribeVaultOutput" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "DescribeVaultOutput'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dvoVaultName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dvoSizeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_dvoLastInventoryDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dvoVaultARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dvoCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvoNumberOfArchives") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))))

describeVaultOutput :: DescribeVaultOutput Source #

Creates a value of DescribeVaultOutput with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dvoSizeInBytes :: 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.

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

The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

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

The Amazon Resource Name (ARN) of the vault.

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

The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

dvoNumberOfArchives :: 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.

GlacierJobDescription

data GlacierJobDescription Source #

Describes an Amazon Glacier job.

See: glacierJobDescription smart constructor.

Instances

Eq GlacierJobDescription Source # 
Data GlacierJobDescription Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GlacierJobDescription -> c GlacierJobDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GlacierJobDescription #

toConstr :: GlacierJobDescription -> Constr #

dataTypeOf :: GlacierJobDescription -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GlacierJobDescription) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GlacierJobDescription) #

gmapT :: (forall b. Data b => b -> b) -> GlacierJobDescription -> GlacierJobDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GlacierJobDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GlacierJobDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> GlacierJobDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GlacierJobDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GlacierJobDescription -> m GlacierJobDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GlacierJobDescription -> m GlacierJobDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GlacierJobDescription -> m GlacierJobDescription #

Read GlacierJobDescription Source # 
Show GlacierJobDescription Source # 
Generic GlacierJobDescription Source # 
FromJSON GlacierJobDescription Source # 
type Rep GlacierJobDescription Source # 
type Rep GlacierJobDescription = D1 (MetaData "GlacierJobDescription" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "GlacierJobDescription'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gjdSHA256TreeHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjdArchiveId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gjdJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjdRetrievalByteRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gjdInventoryRetrievalParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InventoryRetrievalJobDescription))) (S1 (MetaSel (Just Symbol "_gjdAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ActionCode)))) ((:*:) (S1 (MetaSel (Just Symbol "_gjdJobDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjdSNSTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gjdStatusMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjdVaultARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gjdArchiveSHA256TreeHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjdCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gjdCompleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_gjdCompletionDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gjdInventorySizeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_gjdArchiveSizeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_gjdStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StatusCode)))))))))

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

For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.

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

For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.

This field is null in the following situations:

  • 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 and the job status is InProgress.
  • Inventory jobs.

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

For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.

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

An opaque string that identifies an Amazon Glacier job.

gjdRetrievalByteRange :: 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 and StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval jobs this field is null.

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

The job type. It is either ArchiveRetrieval or InventoryRetrieval.

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

The job description you provided when you initiated the job.

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

An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.

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

A friendly message that describes the job status.

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

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

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

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

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

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

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

The job status. When a job is completed, you get the job's output.

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

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

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

For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.

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

For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null.

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

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

InventoryRetrievalJobDescription

data InventoryRetrievalJobDescription Source #

Describes the options for a range inventory retrieval job.

See: inventoryRetrievalJobDescription smart constructor.

Instances

Eq InventoryRetrievalJobDescription Source # 
Data InventoryRetrievalJobDescription Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InventoryRetrievalJobDescription -> c InventoryRetrievalJobDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InventoryRetrievalJobDescription #

toConstr :: InventoryRetrievalJobDescription -> Constr #

dataTypeOf :: InventoryRetrievalJobDescription -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InventoryRetrievalJobDescription) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InventoryRetrievalJobDescription) #

gmapT :: (forall b. Data b => b -> b) -> InventoryRetrievalJobDescription -> InventoryRetrievalJobDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InventoryRetrievalJobDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InventoryRetrievalJobDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> InventoryRetrievalJobDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InventoryRetrievalJobDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InventoryRetrievalJobDescription -> m InventoryRetrievalJobDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InventoryRetrievalJobDescription -> m InventoryRetrievalJobDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InventoryRetrievalJobDescription -> m InventoryRetrievalJobDescription #

Read InventoryRetrievalJobDescription Source # 
Show InventoryRetrievalJobDescription Source # 
Generic InventoryRetrievalJobDescription Source # 
FromJSON InventoryRetrievalJobDescription Source # 
type Rep InventoryRetrievalJobDescription Source # 
type Rep InventoryRetrievalJobDescription = D1 (MetaData "InventoryRetrievalJobDescription" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "InventoryRetrievalJobDescription'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_irjdFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_irjdEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_irjdStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_irjdMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_irjdLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

inventoryRetrievalJobDescription :: InventoryRetrievalJobDescription Source #

Creates a value of InventoryRetrievalJobDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

irjdFormat :: 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".

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

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

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

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

irjdMarker :: 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.

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

Specifies 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.

InventoryRetrievalJobInput

data InventoryRetrievalJobInput Source #

Provides options for specifying a range inventory retrieval job.

See: inventoryRetrievalJobInput smart constructor.

Instances

Eq InventoryRetrievalJobInput Source # 
Data InventoryRetrievalJobInput Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InventoryRetrievalJobInput -> c InventoryRetrievalJobInput #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InventoryRetrievalJobInput #

toConstr :: InventoryRetrievalJobInput -> Constr #

dataTypeOf :: InventoryRetrievalJobInput -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InventoryRetrievalJobInput) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InventoryRetrievalJobInput) #

gmapT :: (forall b. Data b => b -> b) -> InventoryRetrievalJobInput -> InventoryRetrievalJobInput #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InventoryRetrievalJobInput -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InventoryRetrievalJobInput -> r #

gmapQ :: (forall d. Data d => d -> u) -> InventoryRetrievalJobInput -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InventoryRetrievalJobInput -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InventoryRetrievalJobInput -> m InventoryRetrievalJobInput #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InventoryRetrievalJobInput -> m InventoryRetrievalJobInput #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InventoryRetrievalJobInput -> m InventoryRetrievalJobInput #

Read InventoryRetrievalJobInput Source # 
Show InventoryRetrievalJobInput Source # 
Generic InventoryRetrievalJobInput Source # 
ToJSON InventoryRetrievalJobInput Source # 
type Rep InventoryRetrievalJobInput Source # 
type Rep InventoryRetrievalJobInput = D1 (MetaData "InventoryRetrievalJobInput" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "InventoryRetrievalJobInput'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_irjiEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_irjiStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_irjiMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_irjiLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

inventoryRetrievalJobInput :: InventoryRetrievalJobInput Source #

Creates a value of InventoryRetrievalJobInput with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

irjiStartDate :: 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. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.

irjiMarker :: 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.

irjiLimit :: 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.

JobParameters

data JobParameters Source #

Provides options for defining a job.

See: jobParameters smart constructor.

Instances

Eq JobParameters Source # 
Data JobParameters Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JobParameters -> c JobParameters #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JobParameters #

toConstr :: JobParameters -> Constr #

dataTypeOf :: JobParameters -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c JobParameters) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JobParameters) #

gmapT :: (forall b. Data b => b -> b) -> JobParameters -> JobParameters #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JobParameters -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JobParameters -> r #

gmapQ :: (forall d. Data d => d -> u) -> JobParameters -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JobParameters -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JobParameters -> m JobParameters #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JobParameters -> m JobParameters #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JobParameters -> m JobParameters #

Read JobParameters Source # 
Show JobParameters Source # 
Generic JobParameters Source # 

Associated Types

type Rep JobParameters :: * -> * #

ToJSON JobParameters Source # 
type Rep JobParameters Source # 

jobParameters :: JobParameters Source #

Creates a value of JobParameters with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jpArchiveId :: 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 archive-retrieval. An error occurs if you specify this request parameter for an inventory retrieval job request.

jpFormat :: 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".

jpRetrievalByteRange :: 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.

jpInventoryRetrievalParameters :: Lens' JobParameters (Maybe InventoryRetrievalJobInput) Source #

Input parameters used for range inventory retrieval.

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

The Amazon SNS topic ARN to which Amazon 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.

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

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

jpDescription :: 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.

PartListElement

data PartListElement Source #

A list of the part sizes of the multipart upload.

See: partListElement smart constructor.

Instances

Eq PartListElement Source # 
Data PartListElement Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartListElement -> c PartListElement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartListElement #

toConstr :: PartListElement -> Constr #

dataTypeOf :: PartListElement -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PartListElement) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartListElement) #

gmapT :: (forall b. Data b => b -> b) -> PartListElement -> PartListElement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartListElement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartListElement -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartListElement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartListElement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartListElement -> m PartListElement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartListElement -> m PartListElement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartListElement -> m PartListElement #

Read PartListElement Source # 
Show PartListElement Source # 
Generic PartListElement Source # 
FromJSON PartListElement Source # 
type Rep PartListElement Source # 
type Rep PartListElement = D1 (MetaData "PartListElement" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "PartListElement'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pleSHA256TreeHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pleRangeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

partListElement :: PartListElement Source #

Creates a value of PartListElement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

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

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

UploadListElement

data UploadListElement Source #

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

See: uploadListElement smart constructor.

Instances

Eq UploadListElement Source # 
Data UploadListElement Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UploadListElement -> c UploadListElement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UploadListElement #

toConstr :: UploadListElement -> Constr #

dataTypeOf :: UploadListElement -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UploadListElement) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UploadListElement) #

gmapT :: (forall b. Data b => b -> b) -> UploadListElement -> UploadListElement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UploadListElement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UploadListElement -> r #

gmapQ :: (forall d. Data d => d -> u) -> UploadListElement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UploadListElement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UploadListElement -> m UploadListElement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadListElement -> m UploadListElement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadListElement -> m UploadListElement #

Read UploadListElement Source # 
Show UploadListElement Source # 
Generic UploadListElement Source # 
FromJSON UploadListElement Source # 
type Rep UploadListElement Source # 
type Rep UploadListElement = D1 (MetaData "UploadListElement" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "UploadListElement'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uleMultipartUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ulePartSizeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_uleArchiveDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_uleVaultARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uleCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

uploadListElement :: UploadListElement Source #

Creates a value of UploadListElement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The ID of a multipart upload.

ulePartSizeInBytes :: 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.

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

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

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

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

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

The UTC time at which the multipart upload was initiated.

VaultAccessPolicy

data VaultAccessPolicy Source #

Contains the vault access policy.

See: vaultAccessPolicy smart constructor.

Instances

Eq VaultAccessPolicy Source # 
Data VaultAccessPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VaultAccessPolicy -> c VaultAccessPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VaultAccessPolicy #

toConstr :: VaultAccessPolicy -> Constr #

dataTypeOf :: VaultAccessPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VaultAccessPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VaultAccessPolicy) #

gmapT :: (forall b. Data b => b -> b) -> VaultAccessPolicy -> VaultAccessPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VaultAccessPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VaultAccessPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> VaultAccessPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VaultAccessPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VaultAccessPolicy -> m VaultAccessPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VaultAccessPolicy -> m VaultAccessPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VaultAccessPolicy -> m VaultAccessPolicy #

Read VaultAccessPolicy Source # 
Show VaultAccessPolicy Source # 
Generic VaultAccessPolicy Source # 
ToJSON VaultAccessPolicy Source # 
FromJSON VaultAccessPolicy Source # 
type Rep VaultAccessPolicy Source # 
type Rep VaultAccessPolicy = D1 (MetaData "VaultAccessPolicy" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" True) (C1 (MetaCons "VaultAccessPolicy'" PrefixI True) (S1 (MetaSel (Just Symbol "_vapPolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

vaultAccessPolicy :: VaultAccessPolicy Source #

Creates a value of VaultAccessPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vapPolicy :: Lens' VaultAccessPolicy (Maybe Text) Source #

The vault access policy.

VaultLockPolicy

data VaultLockPolicy Source #

Contains the vault lock policy.

See: vaultLockPolicy smart constructor.

Instances

Eq VaultLockPolicy Source # 
Data VaultLockPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VaultLockPolicy -> c VaultLockPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VaultLockPolicy #

toConstr :: VaultLockPolicy -> Constr #

dataTypeOf :: VaultLockPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VaultLockPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VaultLockPolicy) #

gmapT :: (forall b. Data b => b -> b) -> VaultLockPolicy -> VaultLockPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VaultLockPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VaultLockPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> VaultLockPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VaultLockPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VaultLockPolicy -> m VaultLockPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VaultLockPolicy -> m VaultLockPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VaultLockPolicy -> m VaultLockPolicy #

Read VaultLockPolicy Source # 
Show VaultLockPolicy Source # 
Generic VaultLockPolicy Source # 
ToJSON VaultLockPolicy Source # 
type Rep VaultLockPolicy Source # 
type Rep VaultLockPolicy = D1 (MetaData "VaultLockPolicy" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" True) (C1 (MetaCons "VaultLockPolicy'" PrefixI True) (S1 (MetaSel (Just Symbol "_vlpPolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

vaultLockPolicy :: VaultLockPolicy Source #

Creates a value of VaultLockPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vlpPolicy :: Lens' VaultLockPolicy (Maybe Text) Source #

The vault lock policy.

VaultNotificationConfig

data VaultNotificationConfig Source #

Represents a vault's notification configuration.

See: vaultNotificationConfig smart constructor.

Instances

Eq VaultNotificationConfig Source # 
Data VaultNotificationConfig Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VaultNotificationConfig -> c VaultNotificationConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VaultNotificationConfig #

toConstr :: VaultNotificationConfig -> Constr #

dataTypeOf :: VaultNotificationConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VaultNotificationConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VaultNotificationConfig) #

gmapT :: (forall b. Data b => b -> b) -> VaultNotificationConfig -> VaultNotificationConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VaultNotificationConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VaultNotificationConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> VaultNotificationConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VaultNotificationConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VaultNotificationConfig -> m VaultNotificationConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VaultNotificationConfig -> m VaultNotificationConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VaultNotificationConfig -> m VaultNotificationConfig #

Read VaultNotificationConfig Source # 
Show VaultNotificationConfig Source # 
Generic VaultNotificationConfig Source # 
ToJSON VaultNotificationConfig Source # 
FromJSON VaultNotificationConfig Source # 
type Rep VaultNotificationConfig Source # 
type Rep VaultNotificationConfig = D1 (MetaData "VaultNotificationConfig" "Network.AWS.Glacier.Types.Product" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" False) (C1 (MetaCons "VaultNotificationConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vncSNSTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vncEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

vaultNotificationConfig :: VaultNotificationConfig Source #

Creates a value of VaultNotificationConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

vncEvents :: Lens' VaultNotificationConfig [Text] Source #

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