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.

ArchiveCreationOutput

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

type ArchiveCreationOutput struct { ArchiveId *string `location:"header" locationName:"x-amz-archive-id" type:"string"` Checksum *string `location:"header" locationName:"x-amz-sha256-tree-hash" type:"string"` Location *string `location:"header" locationName:"Location" type:"string"` }

Contains the Amazon Glacier response to your request.

For information about the underlying REST API, see Upload Archive (https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-post.html). For conceptual information, see Working with Archives in Amazon Glacier (https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html).

ArchiveId

Type: *string

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

Checksum

Type: *string

The checksum of the archive computed by Amazon Glacier.

Location

Type: *string

The relative URI path of the newly added archive resource.

Method

GoString

func (s ArchiveCreationOutput) GoString() string

GoString returns the string representation

SetArchiveId

func (s *ArchiveCreationOutput) SetArchiveId(v string) *ArchiveCreationOutput

SetArchiveId sets the ArchiveId field's value.

SetChecksum

func (s *ArchiveCreationOutput) SetChecksum(v string) *ArchiveCreationOutput

SetChecksum sets the Checksum field's value.

SetLocation

func (s *ArchiveCreationOutput) SetLocation(v string) *ArchiveCreationOutput

SetLocation sets the Location field's value.

String

func (s ArchiveCreationOutput) String() string

String returns the string representation

On this page: