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.

GetVaultLockOutput

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

type GetVaultLockOutput struct { CreationDate *string `type:"string"` ExpirationDate *string `type:"string"` Policy *string `type:"string"` State *string `type:"string"` }

Contains the Amazon Glacier response to your request.

CreationDate

Type: *string

The UTC date and time at which the vault lock was put into the InProgress state.

ExpirationDate

Type: *string

The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.

Policy

Type: *string

The vault lock policy as a JSON string, which uses "\" as an escape character.

State

Type: *string

The state of the vault lock. InProgress or Locked.

Method

GoString

func (s GetVaultLockOutput) GoString() string

GoString returns the string representation

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetExpirationDate

func (s *GetVaultLockOutput) SetExpirationDate(v string) *GetVaultLockOutput

SetExpirationDate sets the ExpirationDate field's value.

SetPolicy

func (s *GetVaultLockOutput) SetPolicy(v string) *GetVaultLockOutput

SetPolicy sets the Policy field's value.

SetState

func (s *GetVaultLockOutput) SetState(v string) *GetVaultLockOutput

SetState sets the State field's value.

String

func (s GetVaultLockOutput) String() string

String returns the string representation

On this page: