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

Description

 
Synopsis

Documentation

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.