AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeVaultOutput

import "github.com/aws/aws-sdk-go/service/glacier"

type DescribeVaultOutput struct { CreationDate *string `type:"string"` LastInventoryDate *string `type:"string"` NumberOfArchives *int64 `type:"long"` SizeInBytes *int64 `type:"long"` VaultARN *string `type:"string"` VaultName *string `type:"string"` }

Contains the Amazon Glacier response to your request.

CreationDate

Type: *string

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

Type: *string

The Universal Coordinated Time (UTC) date when Amazon 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

Type: *int64

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

Type: *int64

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

Type: *string

The Amazon Resource Name (ARN) of the vault.

VaultName

Type: *string

The name of the vault.

Method

GoString

func (s DescribeVaultOutput) GoString() string

GoString returns the string representation

SetCreationDate

func (s *DescribeVaultOutput) SetCreationDate(v string) *DescribeVaultOutput

SetCreationDate sets the CreationDate field's value.

SetLastInventoryDate

func (s *DescribeVaultOutput) SetLastInventoryDate(v string) *DescribeVaultOutput

SetLastInventoryDate sets the LastInventoryDate field's value.

SetNumberOfArchives

func (s *DescribeVaultOutput) SetNumberOfArchives(v int64) *DescribeVaultOutput

SetNumberOfArchives sets the NumberOfArchives field's value.

SetSizeInBytes

func (s *DescribeVaultOutput) SetSizeInBytes(v int64) *DescribeVaultOutput

SetSizeInBytes sets the SizeInBytes field's value.

SetVaultARN

func (s *DescribeVaultOutput) SetVaultARN(v string) *DescribeVaultOutput

SetVaultARN sets the VaultARN field's value.

SetVaultName

func (s *DescribeVaultOutput) SetVaultName(v string) *DescribeVaultOutput

SetVaultName sets the VaultName field's value.

String

func (s DescribeVaultOutput) String() string

String returns the string representation

On this page: