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.

ListVaultsInput

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

type ListVaultsInput struct { AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` Limit *string `location:"querystring" locationName:"limit" type:"string"` Marker *string `location:"querystring" locationName:"marker" type:"string"` }

Provides options to retrieve the vault list owned by the calling user's account. The list provides metadata information for each vault.

AccountId

Type: *string

The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

AccountId is a required field

Limit

Type: *string

The maximum number of vaults to be returned. The default limit is 10. The number of vaults returned might be fewer than the specified limit, but the number of returned vaults never exceeds the limit.

Marker

Type: *string

A string used for pagination. The marker specifies the vault ARN after which the listing of vaults should begin.

Method

GoString

func (s ListVaultsInput) GoString() string

GoString returns the string representation

SetAccountId

func (s *ListVaultsInput) SetAccountId(v string) *ListVaultsInput

SetAccountId sets the AccountId field's value.

SetLimit

func (s *ListVaultsInput) SetLimit(v string) *ListVaultsInput

SetLimit sets the Limit field's value.

SetMarker

func (s *ListVaultsInput) SetMarker(v string) *ListVaultsInput

SetMarker sets the Marker field's value.

String

func (s ListVaultsInput) String() string

String returns the string representation

Validate

func (s *ListVaultsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: