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.

S3Location

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

type S3Location struct { AccessControlList []*Grant `type:"list"` BucketName *string `type:"string"` CannedACL *string `type:"string" enum:"CannedACL"` Encryption *Encryption `type:"structure"` Prefix *string `type:"string"` StorageClass *string `type:"string" enum:"StorageClass"` Tagging map[string]*string `type:"map"` UserMetadata map[string]*string `type:"map"` }

Contains information about the location in Amazon S3 where the select job results are stored.

AccessControlList

Contains information about a grant.

BucketName

Type: *string

The name of the Amazon S3 bucket where the job results are stored.

CannedACL

Type: *string

The canned access control list (ACL) to apply to the job results.

Encryption

Contains information about the encryption used to store the job results in Amazon S3.

Prefix

Type: *string

The prefix that is prepended to the results for this request.

StorageClass

Type: *string

The storage class used to store the job results.

Tagging

Type: map[string]*string

The tag-set that is applied to the job results.

UserMetadata

Type: map[string]*string

A map of metadata to store with the job results in Amazon S3.

Method

GoString

func (s S3Location) GoString() string

GoString returns the string representation

SetAccessControlList

func (s *S3Location) SetAccessControlList(v []*Grant) *S3Location

SetAccessControlList sets the AccessControlList field's value.

SetBucketName

func (s *S3Location) SetBucketName(v string) *S3Location

SetBucketName sets the BucketName field's value.

SetCannedACL

func (s *S3Location) SetCannedACL(v string) *S3Location

SetCannedACL sets the CannedACL field's value.

SetEncryption

func (s *S3Location) SetEncryption(v *Encryption) *S3Location

SetEncryption sets the Encryption field's value.

SetPrefix

func (s *S3Location) SetPrefix(v string) *S3Location

SetPrefix sets the Prefix field's value.

SetStorageClass

func (s *S3Location) SetStorageClass(v string) *S3Location

SetStorageClass sets the StorageClass field's value.

SetTagging

func (s *S3Location) SetTagging(v map[string]*string) *S3Location

SetTagging sets the Tagging field's value.

SetUserMetadata

func (s *S3Location) SetUserMetadata(v map[string]*string) *S3Location

SetUserMetadata sets the UserMetadata field's value.

String

func (s S3Location) String() string

String returns the string representation

Validate

func (s *S3Location) Validate() error

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

On this page: