Documentation ¶
Index ¶
- Constants
- func Bool(v bool) *bool
- func BoolValue(v *bool) bool
- func Int64(v int64) *int64
- func Int64Value(v *int64) int64
- func String(v string) *string
- func StringValue(v *string) string
- func Time(v time.Time) *time.Time
- func TimeValue(v *time.Time) time.Time
- type AbortIncompleteMultipartUpload
- type AbortMultipartUploadInput
- type AbortMultipartUploadOutput
- type AccessControlPolicy
- type And
- type AppendObjectInput
- type AppendObjectOutput
- type Bucket
- type BucketLoggingStatus
- type CORSConfiguration
- type CORSRule
- type CSVInput
- type CSVOutput
- type Client
- func (c *Client) AbortMultipartUpload(input *AbortMultipartUploadInput) (AbortMultipartUploadOutput, error)
- func (c *Client) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request)
- func (c *Client) AppendObject(input *AppendObjectInput) (AppendObjectOutput, error)
- func (c *Client) AppendObjectRequest(input *AppendObjectInput) (req *request.Request)
- func (c *Client) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (CompleteMultipartUploadOutput, error)
- func (c *Client) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request)
- func (c *Client) CopyObject(input *CopyObjectInput) (CopyObjectOutput, error)
- func (c *Client) CopyObjectRequest(input *CopyObjectInput) (req *request.Request)
- func (c *Client) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error)
- func (c *Client) CreateBucketRequest(input *CreateBucketInput) (req *request.Request)
- func (c *Client) CreateMultipartUpload(input *CreateMultipartUploadInput) (CreateMultipartUploadOutput, error)
- func (c *Client) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request)
- func (c *Client) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error)
- func (c *Client) DeleteBucketCors(input *DeleteBucketCorsInput) (*DeleteBucketCorsOutput, error)
- func (c *Client) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request)
- func (c *Client) DeleteBucketEncryption(input *DeleteBucketEncryptionInput) (*DeleteBucketEncryptionOutput, error)
- func (c *Client) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) (req *request.Request)
- func (c *Client) DeleteBucketLifecycle(input *DeleteBucketLifecycleInput) (*DeleteBucketLifecycleOutput, error)
- func (c *Client) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request)
- func (c *Client) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error)
- func (c *Client) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request)
- func (c *Client) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request)
- func (c *Client) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error)
- func (c *Client) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request)
- func (c *Client) DeleteBucketWebsite(input *DeleteBucketWebsiteInput) (*DeleteBucketWebsiteOutput, error)
- func (c *Client) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request)
- func (c *Client) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error)
- func (c *Client) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request)
- func (c *Client) DeleteObjectTagging(input *DeleteObjectTaggingInput) (*DeleteObjectTaggingOutput, error)
- func (c *Client) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request)
- func (c *Client) DeleteObjects(input *DeleteObjectsInput) (*DeleteObjectsOutput, error)
- func (c *Client) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request)
- func (c *Client) GetBucketAcl(input *GetBucketAclInput) (*GetBucketAclOutput, error)
- func (c *Client) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request)
- func (c *Client) GetBucketCors(input *GetBucketCorsInput) (*GetBucketCorsOutput, error)
- func (c *Client) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request)
- func (c *Client) GetBucketEncryption(input *GetBucketEncryptionInput) (*GetBucketEncryptionOutput, error)
- func (c *Client) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *request.Request)
- func (c *Client) GetBucketLifecycle(input *GetBucketLifecycleInput) (*GetBucketLifecycleOutput, error)
- func (c *Client) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *request.Request)
- func (c *Client) GetBucketLocation(input *GetBucketLocationInput) (*GetBucketLocationOutput, error)
- func (c *Client) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request)
- func (c *Client) GetBucketLogging(input *GetBucketLoggingInput) (*GetBucketLoggingOutput, error)
- func (c *Client) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request)
- func (c *Client) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error)
- func (c *Client) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request)
- func (c *Client) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error)
- func (c *Client) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request)
- func (c *Client) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error)
- func (c *Client) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request)
- func (c *Client) GetBucketWebsite(input *GetBucketWebsiteInput) (*GetBucketWebsiteOutput, error)
- func (c *Client) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request)
- func (c *Client) GetObject(input *GetObjectInput) (*GetObjectOutput, error)
- func (c *Client) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error)
- func (c *Client) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request)
- func (c *Client) GetObjectRequest(input *GetObjectInput) (req *request.Request)
- func (c *Client) GetObjectTagging(input *GetObjectTaggingInput) (*GetObjectTaggingOutput, error)
- func (c *Client) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request)
- func (c *Client) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error)
- func (c *Client) HeadBucketRequest(input *HeadBucketInput) (req *request.Request)
- func (c *Client) HeadObject(input *HeadObjectInput) (*HeadObjectOutput, error)
- func (c *Client) HeadObjectRequest(input *HeadObjectInput) (req *request.Request)
- func (c *Client) ListBuckets(input *ListBucketsInput) (*ListBucketsOutput, error)
- func (c *Client) ListBucketsRequest(input *ListBucketsInput) (req *request.Request)
- func (c *Client) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error)
- func (c *Client) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request)
- func (c *Client) ListObjectVersions(input *ListObjectVersionsInput) (*ListObjectVersionsOutput, error)
- func (c *Client) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request)
- func (c *Client) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error)
- func (c *Client) ListObjectsRequest(input *ListObjectsInput) (req *request.Request)
- func (c *Client) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error)
- func (c *Client) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request)
- func (c *Client) ListParts(input *ListPartsInput) (*ListPartsOutput, error)
- func (c *Client) ListPartsRequest(input *ListPartsInput) (req *request.Request)
- func (c *Client) PutBucketAcl(input *PutBucketAclInput) (PutBucketAclOutput, error)
- func (c *Client) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request)
- func (c *Client) PutBucketCors(input *PutBucketCorsInput) (PutBucketCorsOutput, error)
- func (c *Client) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request)
- func (c *Client) PutBucketEncryption(input *PutBucketEncryptionInput) (PutBucketEncryptionOutput, error)
- func (c *Client) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *request.Request)
- func (c *Client) PutBucketLifecycle(input *PutBucketLifecycleInput) (PutBucketLifecycleOutput, error)
- func (c *Client) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *request.Request)
- func (c *Client) PutBucketLogging(input *PutBucketLoggingInput) (PutBucketLoggingOutput, error)
- func (c *Client) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request)
- func (c *Client) PutBucketPolicy(input *PutBucketPolicyInput) (PutBucketPolicyOutput, error)
- func (c *Client) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request)
- func (c *Client) PutBucketTagging(input *PutBucketTaggingInput) (PutBucketTaggingOutput, error)
- func (c *Client) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request)
- func (c *Client) PutBucketVersioning(input *PutBucketVersioningInput) (PutBucketVersioningOutput, error)
- func (c *Client) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request)
- func (c *Client) PutBucketWebsite(input *PutBucketWebsiteInput) (PutBucketWebsiteOutput, error)
- func (c *Client) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request)
- func (c *Client) PutObject(input *PutObjectInput) (PutObjectOutput, error)
- func (c *Client) PutObjectAcl(input *PutObjectAclInput) (PutObjectAclOutput, error)
- func (c *Client) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request)
- func (c *Client) PutObjectMeta(input *PutObjectMetaInput) (PutObjectMetaOutput, error)
- func (c *Client) PutObjectMetaRequest(input *PutObjectMetaInput) (req *request.Request)
- func (c *Client) PutObjectRequest(input *PutObjectInput) (req *request.Request)
- func (c *Client) PutObjectTagging(input *PutObjectTaggingInput) (PutObjectTaggingOutput, error)
- func (c *Client) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request)
- func (c *Client) RenameObject(input *RenameObjectInput) (RenameObjectOutput, error)
- func (c *Client) RenameObjectRequest(input *RenameObjectInput) (req *request.Request)
- func (c *Client) RestoreObject(input *RestoreObjectInput) (RestoreObjectOutput, error)
- func (c *Client) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request)
- func (c *Client) UploadPart(input *UploadPartInput) (UploadPartOutput, error)
- func (c *Client) UploadPartCopy(input *UploadPartCopyInput) (UploadPartCopyOutput, error)
- func (c *Client) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request)
- func (c *Client) UploadPartRequest(input *UploadPartInput) (req *request.Request)
- type CommonPrefix
- type CompleteMultipartUploadInput
- type CompleteMultipartUploadOutput
- type CompletedMultipartUpload
- type CompletedPart
- type Condition
- type CopyObjectInput
- type CopyObjectOutput
- type CopyObjectResult
- type CopyPartResult
- type CreateBucketInput
- type CreateBucketOutput
- type CreateMultipartUploadInput
- type CreateMultipartUploadOutput
- type Delete
- type DeleteBucketCorsInput
- type DeleteBucketCorsOutput
- type DeleteBucketEncryptionInput
- type DeleteBucketEncryptionOutput
- type DeleteBucketInput
- type DeleteBucketLifecycleInput
- type DeleteBucketLifecycleOutput
- type DeleteBucketOutput
- type DeleteBucketPolicyInput
- type DeleteBucketPolicyOutput
- type DeleteBucketTaggingInput
- type DeleteBucketTaggingOutput
- type DeleteBucketWebsiteInput
- type DeleteBucketWebsiteOutput
- type DeleteMarkerEntry
- type DeleteObjectInput
- type DeleteObjectOutput
- type DeleteObjectTaggingInput
- type DeleteObjectTaggingOutput
- type DeleteObjectsInput
- type DeleteObjectsOutput
- type DeletedObject
- type EncodingType
- type Encryption
- type Error
- type ErrorDocument
- type Expiration
- type Filter
- type GetBucketAclInput
- type GetBucketAclOutput
- type GetBucketCorsInput
- type GetBucketCorsOutput
- type GetBucketEncryptionInput
- type GetBucketEncryptionOutput
- type GetBucketLifecycleInput
- type GetBucketLifecycleOutput
- type GetBucketLocationInput
- type GetBucketLocationOutput
- type GetBucketLoggingInput
- type GetBucketLoggingOutput
- type GetBucketPolicyInput
- type GetBucketPolicyOutput
- type GetBucketTaggingInput
- type GetBucketTaggingOutput
- type GetBucketVersioningInput
- type GetBucketVersioningOutput
- type GetBucketWebsiteInput
- type GetBucketWebsiteOutput
- type GetObjectAclInput
- type GetObjectAclOutput
- type GetObjectInput
- type GetObjectOutput
- type GetObjectTaggingInput
- type GetObjectTaggingOutput
- type GlacierJobParameters
- type Grant
- type Grantee
- type HeadBucketInput
- type HeadBucketOutput
- type HeadObjectInput
- type HeadObjectOutput
- type IndexDocument
- type Initiator
- type InputSerialization
- type JSONInput
- type JSONOutput
- type LifecycleConfiguration
- type LifecycleRule
- type ListBucketsInput
- type ListBucketsOutput
- type ListMultipartUploadsInput
- type ListMultipartUploadsOutput
- type ListObjectVersionsInput
- type ListObjectVersionsOutput
- type ListObjectsInput
- type ListObjectsOutput
- type ListObjectsV2Input
- type ListObjectsV2Output
- type ListPartsInput
- type ListPartsOutput
- type LoggingEnabled
- type MetaConfiguration
- type MetadataDirective
- type MetadataEntry
- type MultipartUpload
- type NoncurrentVersionExpiration
- type NoncurrentVersionTransition
- type Object
- type ObjectIdentifier
- type ObjectVersion
- type OutputLocation
- type OutputSerialization
- type Owner
- type ParquetInput
- type Part
- type Permission
- type PermissionForLogs
- type Protocol
- type PutBucketAclInput
- type PutBucketAclOutput
- type PutBucketCorsInput
- type PutBucketCorsOutput
- type PutBucketEncryptionInput
- type PutBucketEncryptionOutput
- type PutBucketLifecycleInput
- type PutBucketLifecycleOutput
- type PutBucketLoggingInput
- type PutBucketLoggingOutput
- type PutBucketPolicyInput
- type PutBucketPolicyOutput
- type PutBucketTaggingInput
- type PutBucketTaggingOutput
- type PutBucketVersioningInput
- type PutBucketVersioningOutput
- type PutBucketWebsiteInput
- type PutBucketWebsiteOutput
- type PutObjectAclInput
- type PutObjectAclOutput
- type PutObjectInput
- type PutObjectMetaInput
- type PutObjectMetaOutput
- type PutObjectOutput
- type PutObjectTaggingInput
- type PutObjectTaggingOutput
- type ReaderSeekerCloser
- type Redirect
- type RedirectAllRequestsTo
- type RenameObjectInput
- type RenameObjectOutput
- type RenameObjectResult
- type RestoreObjectInput
- type RestoreObjectOutput
- type RestoreRequest
- type RoutingRule
- type S3Location
- type SelectParameters
- type ServerSideEncryption
- type ServerSideEncryptionByDefault
- type ServerSideEncryptionConfiguration
- type ServerSideEncryptionRule
- type StorageClass
- type Tag
- type Tagging
- type Transition
- type Type
- type UploadPartCopyInput
- type UploadPartCopyOutput
- type UploadPartInput
- type UploadPartOutput
- type VersioningConfiguration
- type WebsiteConfiguration
Constants ¶
const ( BucketVersioningStatusEnabled = "Enabled" BucketVersioningStatusSuspended = "Suspended" )
const CreateBucket = "CreateBucket"
Variables ¶
This section is empty.
Functions ¶
func Int64Value ¶
func StringValue ¶
Types ¶
type AbortIncompleteMultipartUpload ¶
type AbortIncompleteMultipartUpload struct {
DaysAfterInitiation *int64
}
func (AbortIncompleteMultipartUpload) String ¶
func (a AbortIncompleteMultipartUpload) String() string
String returns the string representation
type AbortMultipartUploadInput ¶
func (AbortMultipartUploadInput) MarshalForPut ¶
func (a AbortMultipartUploadInput) MarshalForPut(e *request.EncoderForPut) error
func (AbortMultipartUploadInput) String ¶
func (a AbortMultipartUploadInput) String() string
String returns the string representation
func (AbortMultipartUploadInput) Validate ¶
func (a AbortMultipartUploadInput) Validate() error
type AbortMultipartUploadOutput ¶
type AbortMultipartUploadOutput struct{}
func (AbortMultipartUploadOutput) String ¶
func (a AbortMultipartUploadOutput) String() string
String returns the string representation
func (AbortMultipartUploadOutput) UnmarshalBody ¶
func (a AbortMultipartUploadOutput) UnmarshalBody(r *request.Request) error
type AccessControlPolicy ¶
type AccessControlPolicy struct { AccessControlList []Grant // A list of grants. Owner *Owner // Container for the bucket owner's display name and ID. }
Contains the elements that set the ACL permissions for an object per grantee.
func (AccessControlPolicy) String ¶
func (a AccessControlPolicy) String() string
String returns the string representation
func (AccessControlPolicy) Validate ¶
func (a AccessControlPolicy) Validate() error
type And ¶
This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.
type AppendObjectInput ¶
type AppendObjectInput struct { ACL *string Body io.ReadSeeker Bucket *string ContentDisposition *string ContentEncoding *string ContentLanguage *string ContentLength *int64 ContentMD5 *string ContentType *string Expires *time.Time Key *string Metadata map[string]string SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string SSEKMSKeyId *string ServerSideEncryption ServerSideEncryption StorageClass StorageClass Position *int64 }
func (AppendObjectInput) GetBucketName ¶
func (a AppendObjectInput) GetBucketName() (v string)
func (AppendObjectInput) MarshalForPut ¶
func (a AppendObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (AppendObjectInput) String ¶
func (a AppendObjectInput) String() string
String returns the string representation
func (AppendObjectInput) Validate ¶
func (a AppendObjectInput) Validate() error
type AppendObjectOutput ¶
type AppendObjectOutput struct { ETag *string `location:"header" locationName:"ETag"` Expiration *string `location:"header" locationName:"x-uos-expiration"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id"` ServerSideEncryption *string `location:"header" locationName:"x-uos-server-side-encryption"` VersionId *string `location:"header" locationName:"x-uos-version-id"` NextPosition *int64 `location:"header" locationName:"x-uos-next-append-position"` }
func (AppendObjectOutput) String ¶
func (p AppendObjectOutput) String() string
String returns the string representation
func (AppendObjectOutput) UnmarshalBody ¶
func (p AppendObjectOutput) UnmarshalBody(r *request.Request) error
type BucketLoggingStatus ¶
type BucketLoggingStatus struct {
LoggingEnabled *LoggingEnabled
}
Container for logging status information.
func (BucketLoggingStatus) String ¶
func (b BucketLoggingStatus) String() string
String returns the string representation
func (BucketLoggingStatus) Validate ¶
func (b BucketLoggingStatus) Validate() error
type CORSConfiguration ¶
type CORSConfiguration struct {
CORSRules []CORSRule `xml:"CORSRule"`
}
func (CORSConfiguration) String ¶
func (c CORSConfiguration) String() string
String returns the string representation
func (CORSConfiguration) Validate ¶
func (c CORSConfiguration) Validate() error
type CORSRule ¶
type CORSRule struct { AllowedHeaders []string `xml:"AllowedHeader"` AllowedMethods []string `xml:"AllowedMethod"` AllowedOrigins []string `xml:"AllowedOrigin"` ExposeHeaders []string `xml:"ExposeHeader"` MaxAgeSeconds *int64 }
Specifies a cross-origin access rule.
type CSVInput ¶
type CSVInput struct { AllowQuotedRecordDelimiter *bool Comments *string FieldDelimiter *string FileHeaderInfo *string QuoteCharacter *string QuoteEscapeCharacter *string RecordDelimiter *string }
Describes how a CSV-formatted input object is formatted.
type CSVOutput ¶
type CSVOutput struct { FieldDelimiter *string QuoteCharacter *string QuoteEscapeCharacter *string QuoteFields *string RecordDelimiter *string }
Describes how CSV-formatted results are formatted.
type Client ¶
type Client struct { Metadata Metadata Config helper.Config Credentials *credential.Credentials Handlers request.Handlers Logger *log.Logger HTTPClient *http.Client }
func (*Client) AbortMultipartUpload ¶
func (c *Client) AbortMultipartUpload(input *AbortMultipartUploadInput) (AbortMultipartUploadOutput, error)
func (*Client) AbortMultipartUploadRequest ¶
func (c *Client) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request)
func (*Client) AppendObject ¶
func (c *Client) AppendObject(input *AppendObjectInput) (AppendObjectOutput, error)
func (*Client) AppendObjectRequest ¶
func (c *Client) AppendObjectRequest(input *AppendObjectInput) (req *request.Request)
func (*Client) CompleteMultipartUpload ¶
func (c *Client) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (CompleteMultipartUploadOutput, error)
func (*Client) CompleteMultipartUploadRequest ¶
func (c *Client) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request)
func (*Client) CopyObject ¶
func (c *Client) CopyObject(input *CopyObjectInput) (CopyObjectOutput, error)
func (*Client) CopyObjectRequest ¶
func (c *Client) CopyObjectRequest(input *CopyObjectInput) (req *request.Request)
func (*Client) CreateBucket ¶
func (c *Client) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error)
func (*Client) CreateBucketRequest ¶
func (c *Client) CreateBucketRequest(input *CreateBucketInput) (req *request.Request)
func (*Client) CreateMultipartUpload ¶
func (c *Client) CreateMultipartUpload(input *CreateMultipartUploadInput) (CreateMultipartUploadOutput, error)
func (*Client) CreateMultipartUploadRequest ¶
func (c *Client) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request)
func (*Client) DeleteBucket ¶
func (c *Client) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error)
func (*Client) DeleteBucketCors ¶
func (c *Client) DeleteBucketCors(input *DeleteBucketCorsInput) (*DeleteBucketCorsOutput, error)
func (*Client) DeleteBucketCorsRequest ¶
func (c *Client) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request)
func (*Client) DeleteBucketEncryption ¶
func (c *Client) DeleteBucketEncryption(input *DeleteBucketEncryptionInput) (*DeleteBucketEncryptionOutput, error)
func (*Client) DeleteBucketEncryptionRequest ¶
func (c *Client) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) (req *request.Request)
func (*Client) DeleteBucketLifecycle ¶
func (c *Client) DeleteBucketLifecycle(input *DeleteBucketLifecycleInput) (*DeleteBucketLifecycleOutput, error)
func (*Client) DeleteBucketLifecycleRequest ¶
func (c *Client) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request)
func (*Client) DeleteBucketPolicy ¶
func (c *Client) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error)
func (*Client) DeleteBucketPolicyRequest ¶
func (c *Client) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request)
func (*Client) DeleteBucketRequest ¶
func (c *Client) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request)
func (*Client) DeleteBucketTagging ¶
func (c *Client) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error)
func (*Client) DeleteBucketTaggingRequest ¶
func (c *Client) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request)
func (*Client) DeleteBucketWebsite ¶
func (c *Client) DeleteBucketWebsite(input *DeleteBucketWebsiteInput) (*DeleteBucketWebsiteOutput, error)
func (*Client) DeleteBucketWebsiteRequest ¶
func (c *Client) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request)
func (*Client) DeleteObject ¶
func (c *Client) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error)
func (*Client) DeleteObjectRequest ¶
func (c *Client) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request)
func (*Client) DeleteObjectTagging ¶
func (c *Client) DeleteObjectTagging(input *DeleteObjectTaggingInput) (*DeleteObjectTaggingOutput, error)
func (*Client) DeleteObjectTaggingRequest ¶
func (c *Client) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request)
func (*Client) DeleteObjects ¶
func (c *Client) DeleteObjects(input *DeleteObjectsInput) (*DeleteObjectsOutput, error)
func (*Client) DeleteObjectsRequest ¶
func (c *Client) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request)
func (*Client) GetBucketAcl ¶
func (c *Client) GetBucketAcl(input *GetBucketAclInput) (*GetBucketAclOutput, error)
func (*Client) GetBucketAclRequest ¶
func (c *Client) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request)
func (*Client) GetBucketCors ¶
func (c *Client) GetBucketCors(input *GetBucketCorsInput) (*GetBucketCorsOutput, error)
func (*Client) GetBucketCorsRequest ¶
func (c *Client) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request)
func (*Client) GetBucketEncryption ¶
func (c *Client) GetBucketEncryption(input *GetBucketEncryptionInput) (*GetBucketEncryptionOutput, error)
func (*Client) GetBucketEncryptionRequest ¶
func (c *Client) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *request.Request)
func (*Client) GetBucketLifecycle ¶
func (c *Client) GetBucketLifecycle(input *GetBucketLifecycleInput) (*GetBucketLifecycleOutput, error)
func (*Client) GetBucketLifecycleRequest ¶
func (c *Client) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *request.Request)
func (*Client) GetBucketLocation ¶
func (c *Client) GetBucketLocation(input *GetBucketLocationInput) (*GetBucketLocationOutput, error)
func (*Client) GetBucketLocationRequest ¶
func (c *Client) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request)
func (*Client) GetBucketLogging ¶
func (c *Client) GetBucketLogging(input *GetBucketLoggingInput) (*GetBucketLoggingOutput, error)
func (*Client) GetBucketLoggingRequest ¶
func (c *Client) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request)
func (*Client) GetBucketPolicy ¶
func (c *Client) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error)
func (*Client) GetBucketPolicyRequest ¶
func (c *Client) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request)
func (*Client) GetBucketTagging ¶
func (c *Client) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error)
func (*Client) GetBucketTaggingRequest ¶
func (c *Client) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request)
func (*Client) GetBucketVersioning ¶
func (c *Client) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error)
func (*Client) GetBucketVersioningRequest ¶
func (c *Client) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request)
func (*Client) GetBucketWebsite ¶
func (c *Client) GetBucketWebsite(input *GetBucketWebsiteInput) (*GetBucketWebsiteOutput, error)
func (*Client) GetBucketWebsiteRequest ¶
func (c *Client) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request)
func (*Client) GetObject ¶
func (c *Client) GetObject(input *GetObjectInput) (*GetObjectOutput, error)
func (*Client) GetObjectAcl ¶
func (c *Client) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error)
func (*Client) GetObjectAclRequest ¶
func (c *Client) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request)
func (*Client) GetObjectRequest ¶
func (c *Client) GetObjectRequest(input *GetObjectInput) (req *request.Request)
func (*Client) GetObjectTagging ¶
func (c *Client) GetObjectTagging(input *GetObjectTaggingInput) (*GetObjectTaggingOutput, error)
func (*Client) GetObjectTaggingRequest ¶
func (c *Client) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request)
func (*Client) HeadBucket ¶
func (c *Client) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error)
func (*Client) HeadBucketRequest ¶
func (c *Client) HeadBucketRequest(input *HeadBucketInput) (req *request.Request)
func (*Client) HeadObject ¶
func (c *Client) HeadObject(input *HeadObjectInput) (*HeadObjectOutput, error)
func (*Client) HeadObjectRequest ¶
func (c *Client) HeadObjectRequest(input *HeadObjectInput) (req *request.Request)
func (*Client) ListBuckets ¶
func (c *Client) ListBuckets(input *ListBucketsInput) (*ListBucketsOutput, error)
func (*Client) ListBucketsRequest ¶
func (c *Client) ListBucketsRequest(input *ListBucketsInput) (req *request.Request)
func (*Client) ListMultipartUploads ¶
func (c *Client) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error)
func (*Client) ListMultipartUploadsRequest ¶
func (c *Client) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request)
func (*Client) ListObjectVersions ¶
func (c *Client) ListObjectVersions(input *ListObjectVersionsInput) (*ListObjectVersionsOutput, error)
func (*Client) ListObjectVersionsRequest ¶
func (c *Client) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request)
func (*Client) ListObjects ¶
func (c *Client) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error)
func (*Client) ListObjectsRequest ¶
func (c *Client) ListObjectsRequest(input *ListObjectsInput) (req *request.Request)
func (*Client) ListObjectsV2 ¶
func (c *Client) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error)
func (*Client) ListObjectsV2Request ¶
func (c *Client) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request)
func (*Client) ListParts ¶
func (c *Client) ListParts(input *ListPartsInput) (*ListPartsOutput, error)
func (*Client) ListPartsRequest ¶
func (c *Client) ListPartsRequest(input *ListPartsInput) (req *request.Request)
func (*Client) PutBucketAcl ¶
func (c *Client) PutBucketAcl(input *PutBucketAclInput) (PutBucketAclOutput, error)
func (*Client) PutBucketAclRequest ¶
func (c *Client) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request)
func (*Client) PutBucketCors ¶
func (c *Client) PutBucketCors(input *PutBucketCorsInput) (PutBucketCorsOutput, error)
func (*Client) PutBucketCorsRequest ¶
func (c *Client) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request)
func (*Client) PutBucketEncryption ¶
func (c *Client) PutBucketEncryption(input *PutBucketEncryptionInput) (PutBucketEncryptionOutput, error)
func (*Client) PutBucketEncryptionRequest ¶
func (c *Client) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *request.Request)
func (*Client) PutBucketLifecycle ¶
func (c *Client) PutBucketLifecycle(input *PutBucketLifecycleInput) (PutBucketLifecycleOutput, error)
func (*Client) PutBucketLifecycleRequest ¶
func (c *Client) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *request.Request)
func (*Client) PutBucketLogging ¶
func (c *Client) PutBucketLogging(input *PutBucketLoggingInput) (PutBucketLoggingOutput, error)
func (*Client) PutBucketLoggingRequest ¶
func (c *Client) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request)
func (*Client) PutBucketPolicy ¶
func (c *Client) PutBucketPolicy(input *PutBucketPolicyInput) (PutBucketPolicyOutput, error)
func (*Client) PutBucketPolicyRequest ¶
func (c *Client) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request)
func (*Client) PutBucketTagging ¶
func (c *Client) PutBucketTagging(input *PutBucketTaggingInput) (PutBucketTaggingOutput, error)
func (*Client) PutBucketTaggingRequest ¶
func (c *Client) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request)
func (*Client) PutBucketVersioning ¶
func (c *Client) PutBucketVersioning(input *PutBucketVersioningInput) (PutBucketVersioningOutput, error)
func (*Client) PutBucketVersioningRequest ¶
func (c *Client) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request)
func (*Client) PutBucketWebsite ¶
func (c *Client) PutBucketWebsite(input *PutBucketWebsiteInput) (PutBucketWebsiteOutput, error)
func (*Client) PutBucketWebsiteRequest ¶
func (c *Client) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request)
func (*Client) PutObject ¶
func (c *Client) PutObject(input *PutObjectInput) (PutObjectOutput, error)
func (*Client) PutObjectAcl ¶
func (c *Client) PutObjectAcl(input *PutObjectAclInput) (PutObjectAclOutput, error)
func (*Client) PutObjectAclRequest ¶
func (c *Client) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request)
func (*Client) PutObjectMeta ¶
func (c *Client) PutObjectMeta(input *PutObjectMetaInput) (PutObjectMetaOutput, error)
func (*Client) PutObjectMetaRequest ¶
func (c *Client) PutObjectMetaRequest(input *PutObjectMetaInput) (req *request.Request)
func (*Client) PutObjectRequest ¶
func (c *Client) PutObjectRequest(input *PutObjectInput) (req *request.Request)
func (*Client) PutObjectTagging ¶
func (c *Client) PutObjectTagging(input *PutObjectTaggingInput) (PutObjectTaggingOutput, error)
func (*Client) PutObjectTaggingRequest ¶
func (c *Client) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request)
func (*Client) RenameObject ¶
func (c *Client) RenameObject(input *RenameObjectInput) (RenameObjectOutput, error)
func (*Client) RenameObjectRequest ¶
func (c *Client) RenameObjectRequest(input *RenameObjectInput) (req *request.Request)
func (*Client) RestoreObject ¶
func (c *Client) RestoreObject(input *RestoreObjectInput) (RestoreObjectOutput, error)
func (*Client) RestoreObjectRequest ¶
func (c *Client) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request)
func (*Client) UploadPart ¶
func (c *Client) UploadPart(input *UploadPartInput) (UploadPartOutput, error)
func (*Client) UploadPartCopy ¶
func (c *Client) UploadPartCopy(input *UploadPartCopyInput) (UploadPartCopyOutput, error)
func (*Client) UploadPartCopyRequest ¶
func (c *Client) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request)
func (*Client) UploadPartRequest ¶
func (c *Client) UploadPartRequest(input *UploadPartInput) (req *request.Request)
type CommonPrefix ¶
type CommonPrefix struct {
Prefix *string
}
Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.
func (CommonPrefix) String ¶
func (c CommonPrefix) String() string
String returns the string representation
type CompleteMultipartUploadInput ¶
type CompleteMultipartUploadInput struct { Bucket *string Key *string MultipartUpload *CompletedMultipartUpload UploadId *string }
func (CompleteMultipartUploadInput) MarshalForPut ¶
func (a CompleteMultipartUploadInput) MarshalForPut(e *request.EncoderForPut) error
func (CompleteMultipartUploadInput) String ¶
func (a CompleteMultipartUploadInput) String() string
String returns the string representation
func (CompleteMultipartUploadInput) Validate ¶
func (a CompleteMultipartUploadInput) Validate() error
type CompleteMultipartUploadOutput ¶
type CompleteMultipartUploadOutput struct { Bucket *string ETag *string Expiration *string `location:"header" locationName:"x-uos-expiration"` Key *string Location *string SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` VersionId *string `location:"header" locationName:"x-uos-version-id"` }
func (CompleteMultipartUploadOutput) String ¶
func (c CompleteMultipartUploadOutput) String() string
String returns the string representation
func (CompleteMultipartUploadOutput) UnmarshalBody ¶
func (c CompleteMultipartUploadOutput) UnmarshalBody(r *request.Request) error
type CompletedMultipartUpload ¶
type CompletedMultipartUpload struct {
Parts []CompletedPart `xml:"Part"`
}
The container for the completed multipart upload details.
func (CompletedMultipartUpload) String ¶
func (c CompletedMultipartUpload) String() string
String returns the string representation
type CompletedPart ¶
Details of the parts that were uploaded.
func (CompletedPart) String ¶
func (c CompletedPart) String() string
String returns the string representation
type Condition ¶
A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.
type CopyObjectInput ¶
type CopyObjectInput struct { ACL *string Bucket *string ContentDisposition *string ContentEncoding *string ContentLanguage *string ContentType *string CopySource *string CopySourceIfMatch *string CopySourceIfModifiedSince *time.Time CopySourceIfNoneMatch *string CopySourceIfUnmodifiedSince *time.Time CopySourceSSECustomerAlgorithm *string CopySourceSSECustomerKey *string CopySourceSSECustomerKeyMD5 *string Expires *time.Time ForbidOverwrite *bool Key *string Metadata map[string]string MetadataDirective MetadataDirective SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string SSEKMSEncryptionContext *string SSEKMSKeyId *string ServerSideEncryption ServerSideEncryption StorageClass StorageClass Tagging *string WebsiteRedirectLocation *string }
func (CopyObjectInput) GetBucketName ¶
func (c CopyObjectInput) GetBucketName() (v string)
func (CopyObjectInput) MarshalForPut ¶
func (c CopyObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (CopyObjectInput) String ¶
func (c CopyObjectInput) String() string
String returns the string representation
func (CopyObjectInput) Validate ¶
func (c CopyObjectInput) Validate() error
type CopyObjectOutput ¶
type CopyObjectOutput struct { CopyObjectResult *CopyObjectResult CopySourceVersionId *string `location:"header" locationName:"x-uos-copy-source-version-id"` Expiration *string `location:"header" locationName:"x-uos-expiration"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSEncryptionContext *string `location:"header" locationName:"x-uos-server-side-encryption-context"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` VersionId *string `location:"header" locationName:"x-uos-version-id"` }
func (CopyObjectOutput) String ¶
func (c CopyObjectOutput) String() string
String returns the string representation
func (CopyObjectOutput) UnmarshalBody ¶
func (c CopyObjectOutput) UnmarshalBody(r *request.Request) error
type CopyObjectResult ¶
Container for all response elements.
func (CopyObjectResult) String ¶
func (s CopyObjectResult) String() string
String returns the string representation
type CopyPartResult ¶
Container for all response elements.
func (CopyPartResult) String ¶
func (c CopyPartResult) String() string
String returns the string representation
type CreateBucketInput ¶
func (CreateBucketInput) GetBucketName ¶
func (c CreateBucketInput) GetBucketName() (v string)
func (CreateBucketInput) MarshalForPut ¶
func (c CreateBucketInput) MarshalForPut(e *request.EncoderForPut) error
func (CreateBucketInput) String ¶
func (c CreateBucketInput) String() string
String returns the string representation
func (CreateBucketInput) Validate ¶
func (c CreateBucketInput) Validate() error
type CreateBucketOutput ¶
type CreateBucketOutput struct {
Location *string `location:"header" locationName:"Location"`
}
func (CreateBucketOutput) String ¶
func (c CreateBucketOutput) String() string
String returns the string representation
func (CreateBucketOutput) UnmarshalBody ¶
func (c CreateBucketOutput) UnmarshalBody(r *request.Request) error
type CreateMultipartUploadInput ¶
type CreateMultipartUploadInput struct { ACL *string Bucket *string ContentDisposition *string ContentEncoding *string ContentLanguage *string ContentType *string Expires *time.Time ForbidOverwrite *bool Key *string Metadata map[string]string SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string SSEKMSKeyId *string ServerSideEncryption ServerSideEncryption StorageClass StorageClass Tagging *string WebsiteRedirectLocation *string }
func (CreateMultipartUploadInput) GetBucketName ¶
func (c CreateMultipartUploadInput) GetBucketName() (v string)
func (CreateMultipartUploadInput) MarshalForPut ¶
func (c CreateMultipartUploadInput) MarshalForPut(e *request.EncoderForPut) error
func (CreateMultipartUploadInput) String ¶
func (c CreateMultipartUploadInput) String() string
String returns the string representation
func (CreateMultipartUploadInput) Validate ¶
func (c CreateMultipartUploadInput) Validate() error
type CreateMultipartUploadOutput ¶
type CreateMultipartUploadOutput struct { Bucket *string Key *string SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSEncryptionContext *string `location:"header" locationName:"x-uos-server-side-encryption-context"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id" ` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption" ` UploadId *string }
func (CreateMultipartUploadOutput) String ¶
func (c CreateMultipartUploadOutput) String() string
String returns the string representation
func (CreateMultipartUploadOutput) UnmarshalBody ¶
func (c CreateMultipartUploadOutput) UnmarshalBody(r *request.Request) error
type Delete ¶
type Delete struct { Objects []ObjectIdentifier `xml:"Object"` Quiet *bool }
Container for the objects to delete.
type DeleteBucketCorsInput ¶
type DeleteBucketCorsInput struct {
Bucket *string
}
func (DeleteBucketCorsInput) MarshalForPut ¶
func (d DeleteBucketCorsInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketCorsInput) String ¶
func (d DeleteBucketCorsInput) String() string
String returns the string representation
func (DeleteBucketCorsInput) Validate ¶
func (d DeleteBucketCorsInput) Validate() error
type DeleteBucketCorsOutput ¶
type DeleteBucketCorsOutput struct{}
func (DeleteBucketCorsOutput) String ¶
func (d DeleteBucketCorsOutput) String() string
String returns the string representation
func (DeleteBucketCorsOutput) UnmarshalBody ¶
func (d DeleteBucketCorsOutput) UnmarshalBody(r *request.Request) error
type DeleteBucketEncryptionInput ¶
type DeleteBucketEncryptionInput struct {
Bucket *string
}
func (DeleteBucketEncryptionInput) MarshalForPut ¶
func (d DeleteBucketEncryptionInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketEncryptionInput) String ¶
func (d DeleteBucketEncryptionInput) String() string
String returns the string representation
func (DeleteBucketEncryptionInput) Validate ¶
func (d DeleteBucketEncryptionInput) Validate() error
type DeleteBucketEncryptionOutput ¶
type DeleteBucketEncryptionOutput struct{}
func (DeleteBucketEncryptionOutput) String ¶
func (d DeleteBucketEncryptionOutput) String() string
String returns the string representation
func (DeleteBucketEncryptionOutput) UnmarshalBody ¶
func (d DeleteBucketEncryptionOutput) UnmarshalBody(r *request.Request) error
type DeleteBucketInput ¶
type DeleteBucketInput struct {
Bucket *string
}
func (DeleteBucketInput) MarshalForPut ¶
func (d DeleteBucketInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketInput) String ¶
func (d DeleteBucketInput) String() string
String returns the string representation
func (DeleteBucketInput) Validate ¶
func (d DeleteBucketInput) Validate() error
type DeleteBucketLifecycleInput ¶
type DeleteBucketLifecycleInput struct {
Bucket *string
}
func (DeleteBucketLifecycleInput) MarshalForPut ¶
func (d DeleteBucketLifecycleInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketLifecycleInput) String ¶
func (d DeleteBucketLifecycleInput) String() string
String returns the string representation
func (DeleteBucketLifecycleInput) Validate ¶
func (d DeleteBucketLifecycleInput) Validate() error
type DeleteBucketLifecycleOutput ¶
type DeleteBucketLifecycleOutput struct{}
func (DeleteBucketLifecycleOutput) String ¶
func (d DeleteBucketLifecycleOutput) String() string
String returns the string representation
func (DeleteBucketLifecycleOutput) UnmarshalBody ¶
func (d DeleteBucketLifecycleOutput) UnmarshalBody(r *request.Request) error
type DeleteBucketOutput ¶
type DeleteBucketOutput struct{}
func (DeleteBucketOutput) String ¶
func (d DeleteBucketOutput) String() string
String returns the string representation
func (DeleteBucketOutput) UnmarshalBody ¶
func (d DeleteBucketOutput) UnmarshalBody(r *request.Request) error
type DeleteBucketPolicyInput ¶
type DeleteBucketPolicyInput struct {
Bucket *string
}
func (DeleteBucketPolicyInput) MarshalForPut ¶
func (d DeleteBucketPolicyInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketPolicyInput) String ¶
func (d DeleteBucketPolicyInput) String() string
String returns the string representation
func (DeleteBucketPolicyInput) Validate ¶
func (d DeleteBucketPolicyInput) Validate() error
type DeleteBucketPolicyOutput ¶
type DeleteBucketPolicyOutput struct{}
func (DeleteBucketPolicyOutput) String ¶
func (d DeleteBucketPolicyOutput) String() string
String returns the string representation
func (DeleteBucketPolicyOutput) UnmarshalBody ¶
func (d DeleteBucketPolicyOutput) UnmarshalBody(r *request.Request) error
type DeleteBucketTaggingInput ¶
type DeleteBucketTaggingInput struct {
Bucket *string
}
func (DeleteBucketTaggingInput) MarshalForPut ¶
func (d DeleteBucketTaggingInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketTaggingInput) String ¶
func (d DeleteBucketTaggingInput) String() string
String returns the string representation
func (DeleteBucketTaggingInput) Validate ¶
func (d DeleteBucketTaggingInput) Validate() error
type DeleteBucketTaggingOutput ¶
type DeleteBucketTaggingOutput struct{}
func (DeleteBucketTaggingOutput) String ¶
func (d DeleteBucketTaggingOutput) String() string
String returns the string representation
func (DeleteBucketTaggingOutput) UnmarshalBody ¶
func (d DeleteBucketTaggingOutput) UnmarshalBody(r *request.Request) error
type DeleteBucketWebsiteInput ¶
type DeleteBucketWebsiteInput struct {
Bucket *string
}
func (DeleteBucketWebsiteInput) MarshalForPut ¶
func (d DeleteBucketWebsiteInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteBucketWebsiteInput) String ¶
func (d DeleteBucketWebsiteInput) String() string
String returns the string representation
func (DeleteBucketWebsiteInput) Validate ¶
func (d DeleteBucketWebsiteInput) Validate() error
type DeleteBucketWebsiteOutput ¶
type DeleteBucketWebsiteOutput struct{}
func (DeleteBucketWebsiteOutput) String ¶
func (d DeleteBucketWebsiteOutput) String() string
String returns the string representation
func (DeleteBucketWebsiteOutput) UnmarshalBody ¶
func (d DeleteBucketWebsiteOutput) UnmarshalBody(r *request.Request) error
type DeleteMarkerEntry ¶
type DeleteMarkerEntry struct { IsLatest *bool Key *string LastModified *time.Time Owner *Owner VersionId *string }
Information about the delete marker.
func (DeleteMarkerEntry) String ¶
func (d DeleteMarkerEntry) String() string
String returns the string representation
type DeleteObjectInput ¶
func (DeleteObjectInput) MarshalForPut ¶
func (d DeleteObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteObjectInput) String ¶
func (d DeleteObjectInput) String() string
String returns the string representation
func (DeleteObjectInput) Validate ¶
func (d DeleteObjectInput) Validate() error
type DeleteObjectOutput ¶
type DeleteObjectOutput struct { DeleteMarker *bool `location:"header" locationName:"x-uos-delete-marker"` VersionId *string `location:"header" locationName:"x-uos-version-id"` }
func (DeleteObjectOutput) String ¶
func (d DeleteObjectOutput) String() string
String returns the string representation
func (DeleteObjectOutput) UnmarshalBody ¶
func (d DeleteObjectOutput) UnmarshalBody(r *request.Request) error
type DeleteObjectTaggingInput ¶
func (DeleteObjectTaggingInput) MarshalForPut ¶
func (d DeleteObjectTaggingInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteObjectTaggingInput) String ¶
func (d DeleteObjectTaggingInput) String() string
String returns the string representation
func (DeleteObjectTaggingInput) Validate ¶
func (d DeleteObjectTaggingInput) Validate() error
type DeleteObjectTaggingOutput ¶
type DeleteObjectTaggingOutput struct {
VersionId *string `location:"header" locationName:"x-uos-version-id"`
}
func (DeleteObjectTaggingOutput) String ¶
func (d DeleteObjectTaggingOutput) String() string
String returns the string representation
func (DeleteObjectTaggingOutput) UnmarshalBody ¶
func (d DeleteObjectTaggingOutput) UnmarshalBody(r *request.Request) error
type DeleteObjectsInput ¶
func (DeleteObjectsInput) MarshalForPut ¶
func (d DeleteObjectsInput) MarshalForPut(e *request.EncoderForPut) error
func (DeleteObjectsInput) String ¶
func (d DeleteObjectsInput) String() string
String returns the string representation
func (DeleteObjectsInput) Validate ¶
func (d DeleteObjectsInput) Validate() error
type DeleteObjectsOutput ¶
type DeleteObjectsOutput struct { Deleted []DeletedObject `xml:"Deleted"` Errors []Error `xml:"Error"` }
func (DeleteObjectsOutput) String ¶
func (d DeleteObjectsOutput) String() string
String returns the string representation
func (DeleteObjectsOutput) UnmarshalBody ¶
func (d DeleteObjectsOutput) UnmarshalBody(r *request.Request) error
type DeletedObject ¶
type DeletedObject struct { DeleteMarker *bool DeleteMarkerVersionId *string Key *string VersionId *string }
Information about the deleted object.
func (DeletedObject) String ¶
func (d DeletedObject) String() string
String returns the string representation
type EncodingType ¶
type EncodingType string
const (
EncodingTypeUrl EncodingType = "url"
)
Enum values for EncodingType
func (EncodingType) MarshalValue ¶
func (et EncodingType) MarshalValue() (string, error)
type Encryption ¶
type Encryption struct { EncryptionType ServerSideEncryption KMSContext *string KMSKeyId *string }
Contains the type of server-side encryption used.
func (Encryption) String ¶
func (e Encryption) String() string
String returns the string representation
func (Encryption) Validate ¶
func (e Encryption) Validate() error
type ErrorDocument ¶
type ErrorDocument struct {
Key *string
}
The error information.
func (ErrorDocument) String ¶
func (s ErrorDocument) String() string
String returns the string representation
func (ErrorDocument) Validate ¶
func (s ErrorDocument) Validate() error
type Expiration ¶
Container for the expiration for the lifecycle of the object.
func (Expiration) String ¶
func (e Expiration) String() string
String returns the string representation
type Filter ¶
The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix, Tag, or And specified.
type GetBucketAclInput ¶
type GetBucketAclInput struct {
Bucket *string
}
func (GetBucketAclInput) MarshalForPut ¶
func (g GetBucketAclInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketAclInput) String ¶
func (g GetBucketAclInput) String() string
String returns the string representation
func (GetBucketAclInput) Validate ¶
func (g GetBucketAclInput) Validate() error
type GetBucketAclOutput ¶
type GetBucketAclOutput struct { AccessControlList []Grant `xml:"AccessControlList>Grant"` Owner *Owner // Container for the bucket owner's display name and ID. }
func (GetBucketAclOutput) String ¶
func (g GetBucketAclOutput) String() string
String returns the string representation
func (GetBucketAclOutput) UnmarshalBody ¶
func (g GetBucketAclOutput) UnmarshalBody(r *request.Request) error
type GetBucketCorsInput ¶
type GetBucketCorsInput struct {
Bucket *string
}
func (GetBucketCorsInput) MarshalForPut ¶
func (g GetBucketCorsInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketCorsInput) String ¶
func (g GetBucketCorsInput) String() string
String returns the string representation
func (GetBucketCorsInput) Validate ¶
func (g GetBucketCorsInput) Validate() error
type GetBucketCorsOutput ¶
type GetBucketCorsOutput struct {
CORSRules []CORSRule `xml:"CORSRule"`
}
func (GetBucketCorsOutput) String ¶
func (g GetBucketCorsOutput) String() string
String returns the string representation
func (GetBucketCorsOutput) UnmarshalBody ¶
func (g GetBucketCorsOutput) UnmarshalBody(r *request.Request) error
type GetBucketEncryptionInput ¶
type GetBucketEncryptionInput struct {
Bucket *string
}
func (GetBucketEncryptionInput) MarshalForPut ¶
func (g GetBucketEncryptionInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketEncryptionInput) String ¶
func (g GetBucketEncryptionInput) String() string
String returns the string representation
func (GetBucketEncryptionInput) Validate ¶
func (g GetBucketEncryptionInput) Validate() error
type GetBucketEncryptionOutput ¶
type GetBucketEncryptionOutput struct {
ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration
}
func (GetBucketEncryptionOutput) String ¶
func (g GetBucketEncryptionOutput) String() string
String returns the string representation
func (GetBucketEncryptionOutput) UnmarshalBody ¶
func (g GetBucketEncryptionOutput) UnmarshalBody(r *request.Request) error
type GetBucketLifecycleInput ¶
type GetBucketLifecycleInput struct {
Bucket *string
}
func (GetBucketLifecycleInput) MarshalForPut ¶
func (g GetBucketLifecycleInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketLifecycleInput) String ¶
func (g GetBucketLifecycleInput) String() string
String returns the string representation
func (GetBucketLifecycleInput) Validate ¶
func (g GetBucketLifecycleInput) Validate() error
type GetBucketLifecycleOutput ¶
type GetBucketLifecycleOutput struct {
Rules []LifecycleRule `xml:"Rule"`
}
func (GetBucketLifecycleOutput) String ¶
func (g GetBucketLifecycleOutput) String() string
String returns the string representation
func (GetBucketLifecycleOutput) UnmarshalBody ¶
func (g GetBucketLifecycleOutput) UnmarshalBody(r *request.Request) error
type GetBucketLocationInput ¶
type GetBucketLocationInput struct {
Bucket *string
}
func (GetBucketLocationInput) MarshalForPut ¶
func (g GetBucketLocationInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketLocationInput) String ¶
func (g GetBucketLocationInput) String() string
String returns the string representation
func (GetBucketLocationInput) Validate ¶
func (g GetBucketLocationInput) Validate() error
type GetBucketLocationOutput ¶
type GetBucketLocationOutput struct {
LocationConstraint *string
}
func (GetBucketLocationOutput) String ¶
func (g GetBucketLocationOutput) String() string
String returns the string representation
func (GetBucketLocationOutput) UnmarshalBody ¶
func (g GetBucketLocationOutput) UnmarshalBody(r *request.Request) error
type GetBucketLoggingInput ¶
type GetBucketLoggingInput struct {
Bucket *string
}
func (GetBucketLoggingInput) MarshalForPut ¶
func (g GetBucketLoggingInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketLoggingInput) String ¶
func (g GetBucketLoggingInput) String() string
String returns the string representation
func (GetBucketLoggingInput) Validate ¶
func (g GetBucketLoggingInput) Validate() error
type GetBucketLoggingOutput ¶
type GetBucketLoggingOutput struct {
LoggingEnabled *LoggingEnabled
}
func (GetBucketLoggingOutput) String ¶
func (g GetBucketLoggingOutput) String() string
String returns the string representation
func (GetBucketLoggingOutput) UnmarshalBody ¶
func (g GetBucketLoggingOutput) UnmarshalBody(r *request.Request) error
type GetBucketPolicyInput ¶
type GetBucketPolicyInput struct {
Bucket *string
}
func (GetBucketPolicyInput) MarshalForPut ¶
func (g GetBucketPolicyInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketPolicyInput) String ¶
func (g GetBucketPolicyInput) String() string
String returns the string representation
func (GetBucketPolicyInput) Validate ¶
func (g GetBucketPolicyInput) Validate() error
type GetBucketPolicyOutput ¶
type GetBucketPolicyOutput struct {
Policy *string
}
func (GetBucketPolicyOutput) String ¶
func (g GetBucketPolicyOutput) String() string
String returns the string representation
func (GetBucketPolicyOutput) UnmarshalBody ¶
func (g GetBucketPolicyOutput) UnmarshalBody(r *request.Request) error
type GetBucketTaggingInput ¶
type GetBucketTaggingInput struct {
Bucket *string
}
func (GetBucketTaggingInput) MarshalForPut ¶
func (g GetBucketTaggingInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketTaggingInput) String ¶
func (g GetBucketTaggingInput) String() string
String returns the string representation
func (GetBucketTaggingInput) Validate ¶
func (g GetBucketTaggingInput) Validate() error
type GetBucketTaggingOutput ¶
type GetBucketTaggingOutput struct {
TagSet []Tag `xml:"TagSet>Tag"`
}
func (GetBucketTaggingOutput) String ¶
func (g GetBucketTaggingOutput) String() string
String returns the string representation
func (GetBucketTaggingOutput) UnmarshalBody ¶
func (g GetBucketTaggingOutput) UnmarshalBody(r *request.Request) error
type GetBucketVersioningInput ¶
type GetBucketVersioningInput struct {
Bucket *string
}
func (GetBucketVersioningInput) MarshalForPut ¶
func (g GetBucketVersioningInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketVersioningInput) String ¶
func (g GetBucketVersioningInput) String() string
String returns the string representation
func (GetBucketVersioningInput) Validate ¶
func (g GetBucketVersioningInput) Validate() error
type GetBucketVersioningOutput ¶
type GetBucketVersioningOutput struct {
Status *string
}
func (GetBucketVersioningOutput) String ¶
func (g GetBucketVersioningOutput) String() string
String returns the string representation
func (GetBucketVersioningOutput) UnmarshalBody ¶
func (g GetBucketVersioningOutput) UnmarshalBody(r *request.Request) error
type GetBucketWebsiteInput ¶
type GetBucketWebsiteInput struct {
Bucket *string
}
func (GetBucketWebsiteInput) MarshalForPut ¶
func (g GetBucketWebsiteInput) MarshalForPut(e *request.EncoderForPut) error
func (GetBucketWebsiteInput) String ¶
func (g GetBucketWebsiteInput) String() string
String returns the string representation
func (GetBucketWebsiteInput) Validate ¶
func (g GetBucketWebsiteInput) Validate() error
type GetBucketWebsiteOutput ¶
type GetBucketWebsiteOutput struct { ErrorDocument *ErrorDocument IndexDocument *IndexDocument RedirectAllRequestsTo *RedirectAllRequestsTo RoutingRules []RoutingRule `xml:"RoutingRules>RoutingRule"` }
func (GetBucketWebsiteOutput) String ¶
func (g GetBucketWebsiteOutput) String() string
String returns the string representation
func (GetBucketWebsiteOutput) UnmarshalBody ¶
func (g GetBucketWebsiteOutput) UnmarshalBody(r *request.Request) error
type GetObjectAclInput ¶
func (GetObjectAclInput) MarshalForPut ¶
func (g GetObjectAclInput) MarshalForPut(e *request.EncoderForPut) error
func (GetObjectAclInput) String ¶
func (g GetObjectAclInput) String() string
String returns the string representation
func (GetObjectAclInput) Validate ¶
func (g GetObjectAclInput) Validate() error
type GetObjectAclOutput ¶
type GetObjectAclOutput struct { AccessControlList []Grant `xml:"AccessControlList>Grant"` Owner *Owner // Container for the bucket owner's display name and ID. }
func (GetObjectAclOutput) String ¶
func (g GetObjectAclOutput) String() string
String returns the string representation
func (GetObjectAclOutput) UnmarshalBody ¶
func (g GetObjectAclOutput) UnmarshalBody(r *request.Request) error
type GetObjectInput ¶
type GetObjectInput struct { Bucket *string IfMatch *string // Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed). IfModifiedSince *time.Time // Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). IfNoneMatch *string // Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). IfUnmodifiedSince *time.Time // Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified). Key *string // Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed). PartNumber *int64 // Part number of the object being read. This is a positive integer between 1 and 10,000. Range *string // Downloads the specified range bytes of an object. Format like "bytes=0-1000". ResponseCacheControl *string // Sets the Cache-Control header of the response. ResponseContentDisposition *string // Sets the Content-Disposition header of the response ResponseContentEncoding *string // Sets the Content-Encoding header of the response. ResponseContentLanguage *string // Sets the Content-Language header of the response. ResponseContentType *string // Sets the Content-Type header of the response. ResponseExpires *time.Time // Sets the Expires header of the response. SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string VersionId *string }
func (GetObjectInput) MarshalForPut ¶
func (g GetObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (GetObjectInput) String ¶
func (g GetObjectInput) String() string
String returns the string representation
func (GetObjectInput) Validate ¶
func (g GetObjectInput) Validate() error
type GetObjectOutput ¶
type GetObjectOutput struct { Body io.ReadCloser AcceptRanges *string `location:"header" locationName:"accept-ranges"` CacheControl *string `location:"header" locationName:"Cache-Control"` ContentDisposition *string `location:"header" locationName:"Content-Disposition"` ContentEncoding *string `location:"header" locationName:"Content-Encoding"` ContentLanguage *string `location:"header" locationName:"Content-Language"` ContentLength *int64 `location:"header" locationName:"Content-Length"` ContentRange *string `location:"header" locationName:"Content-Range"` ContentType *string `location:"header" locationName:"Content-Type"` DeleteMarker *bool `location:"header" locationName:"x-uos-delete-marker"` ETag *string `location:"header" locationName:"ETag"` Expiration *string `location:"header" locationName:"x-uos-expiration"` Expires *string `location:"header" locationName:"Expires"` LastModified *time.Time `location:"header" locationName:"Last-Modified"` Metadata map[string]string `location:"header" locationName:"x-uos-meta-"` ObjectType *string `location:"header" locationName:"x-uos-object-type"` PartsCount *int64 `location:"header" locationName:"x-uos-mp-parts-count"` Restore *string `location:"header" locationName:"x-uos-restore"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` StorageClass StorageClass `location:"header" locationName:"x-uos-storage-class"` TagCount *int64 `location:"header" locationName:"x-uos-tagging-count"` VersionId *string `location:"header" locationName:"x-uos-version-id"` WebsiteRedirectLocation *string `location:"header" locationName:"x-uos-website-redirect-location"` }
func (GetObjectOutput) String ¶
func (g GetObjectOutput) String() string
String returns the string representation
func (GetObjectOutput) UnmarshalBody ¶
func (g GetObjectOutput) UnmarshalBody(r *request.Request) error
type GetObjectTaggingInput ¶
func (GetObjectTaggingInput) MarshalForPut ¶
func (g GetObjectTaggingInput) MarshalForPut(e *request.EncoderForPut) error
func (GetObjectTaggingInput) String ¶
func (g GetObjectTaggingInput) String() string
String returns the string representation
func (GetObjectTaggingInput) Validate ¶
func (g GetObjectTaggingInput) Validate() error
type GetObjectTaggingOutput ¶
type GetObjectTaggingOutput struct { TagSet []Tag `xml:"TagSet>Tag"` VersionId *string `location:"header" locationName:"x-uos-version-id"` }
func (GetObjectTaggingOutput) String ¶
func (g GetObjectTaggingOutput) String() string
String returns the string representation
func (GetObjectTaggingOutput) UnmarshalBody ¶
func (g GetObjectTaggingOutput) UnmarshalBody(r *request.Request) error
type GlacierJobParameters ¶
type GlacierJobParameters struct {
Tier *string
}
Container for S3 Glacier job parameters.
func (GlacierJobParameters) String ¶
func (g GlacierJobParameters) String() string
String returns the string representation
func (GlacierJobParameters) Validate ¶
func (g GlacierJobParameters) Validate() error
type Grant ¶
type Grant struct { Grantee *Grantee // The person being granted permissions. Permission Permission // Specifies the permission given to the grantee. }
Container for grant information.
type Grantee ¶
type Grantee struct { DisplayName *string // Screen name of the grantee. EmailAddress *string // Email address of the grantee. ID *string // The canonical user ID of the grantee. Type Type // Type of grantee URI *string // URI of the grantee group. }
Container for the person being granted permissions.
type HeadBucketInput ¶
type HeadBucketInput struct {
Bucket *string
}
func (HeadBucketInput) MarshalForPut ¶
func (g HeadBucketInput) MarshalForPut(e *request.EncoderForPut) error
func (HeadBucketInput) String ¶
func (g HeadBucketInput) String() string
String returns the string representation
func (HeadBucketInput) Validate ¶
func (g HeadBucketInput) Validate() error
type HeadBucketOutput ¶
type HeadBucketOutput struct{}
func (HeadBucketOutput) String ¶
func (d HeadBucketOutput) String() string
String returns the string representation
func (HeadBucketOutput) UnmarshalBody ¶
func (d HeadBucketOutput) UnmarshalBody(r *request.Request) error
type HeadObjectInput ¶
type HeadObjectInput struct { Bucket *string IfMatch *string // Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed). IfModifiedSince *time.Time // Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). IfNoneMatch *string // Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified). IfUnmodifiedSince *time.Time // Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified). Key *string // Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed). PartNumber *int64 // Part number of the object being read. This is a positive integer between 1 and 10,000. Range *string // Downloads the specified range bytes of an object. SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string VersionId *string }
func (HeadObjectInput) MarshalForPut ¶
func (h HeadObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (HeadObjectInput) String ¶
func (h HeadObjectInput) String() string
String returns the string representation
func (HeadObjectInput) Validate ¶
func (h HeadObjectInput) Validate() error
type HeadObjectOutput ¶
type HeadObjectOutput struct { AcceptRanges *string `location:"header" locationName:"accept-ranges"` CacheControl *string `location:"header" locationName:"Cache-Control"` ContentDisposition *string `location:"header" locationName:"Content-Disposition"` ContentEncoding *string `location:"header" locationName:"Content-Encoding"` ContentLanguage *string `location:"header" locationName:"Content-Language"` ContentLength *int64 `location:"header" locationName:"Content-Length"` ContentRange *string `location:"header" locationName:"Content-Range"` ContentType *string `location:"header" locationName:"Content-Type"` DeleteMarker *bool `location:"header" locationName:"x-uos-delete-marker"` ETag *string `location:"header" locationName:"ETag"` Expiration *string `location:"header" locationName:"x-uos-expiration"` Expires *string `location:"header" locationName:"Expires"` LastModified *time.Time `location:"header" locationName:"Last-Modified"` Metadata map[string]string `location:"header" locationName:"x-uos-meta-"` ObjectType *string `location:"header" locationName:"x-uos-object-type"` PartsCount *int64 `location:"header" locationName:"x-uos-mp-parts-count"` Restore *string `location:"header" locationName:"x-uos-restore"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` StorageClass StorageClass `location:"header" locationName:"x-uos-storage-class"` VersionId *string `location:"header" locationName:"x-uos-version-id"` WebsiteRedirectLocation *string `location:"header" locationName:"x-uos-website-redirect-location"` }
func (HeadObjectOutput) String ¶
func (h HeadObjectOutput) String() string
String returns the string representation
func (HeadObjectOutput) UnmarshalBody ¶
func (h HeadObjectOutput) UnmarshalBody(r *request.Request) error
type IndexDocument ¶
type IndexDocument struct {
Suffix *string
}
Container for the Suffix element.
func (IndexDocument) String ¶
func (i IndexDocument) String() string
String returns the string representation
func (IndexDocument) Validate ¶
func (i IndexDocument) Validate() error
type InputSerialization ¶
type InputSerialization struct { CSV *CSVInput CompressionType *string JSON *JSONInput Parquet *ParquetInput }
Describes the serialization format of the object.
func (InputSerialization) String ¶
func (i InputSerialization) String() string
String returns the string representation
type JSONOutput ¶
type JSONOutput struct {
RecordDelimiter *string
}
func (JSONOutput) String ¶
func (j JSONOutput) String() string
String returns the string representation
type LifecycleConfiguration ¶
type LifecycleConfiguration struct {
Rules []LifecycleRule `xml:"Rule"`
}
Container for lifecycle rules. You can add as many as 1000 rules.
func (LifecycleConfiguration) String ¶
func (l LifecycleConfiguration) String() string
String returns the string representation
func (LifecycleConfiguration) Validate ¶
func (l LifecycleConfiguration) Validate() error
type LifecycleRule ¶
type LifecycleRule struct { AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload Expiration *Expiration Filter *Filter ID *string NoncurrentVersionExpiration *NoncurrentVersionExpiration NoncurrentVersionTransitions []NoncurrentVersionTransition `xml:"NoncurrentVersionTransition"` Prefix *string Status *string `xml:"Status"` Transitions []Transition `xml:"Transition"` }
func (LifecycleRule) String ¶
func (l LifecycleRule) String() string
String returns the string representation
func (LifecycleRule) Validate ¶
func (l LifecycleRule) Validate() error
type ListBucketsInput ¶
type ListBucketsInput struct{}
func (ListBucketsInput) MarshalForPut ¶
func (l ListBucketsInput) MarshalForPut(e *request.EncoderForPut) error
func (ListBucketsInput) String ¶
func (l ListBucketsInput) String() string
String returns the string representation
func (ListBucketsInput) Validate ¶
func (l ListBucketsInput) Validate() error
type ListBucketsOutput ¶
func (ListBucketsOutput) String ¶
func (l ListBucketsOutput) String() string
String returns the string representation
func (ListBucketsOutput) UnmarshalBody ¶
func (l ListBucketsOutput) UnmarshalBody(r *request.Request) error
type ListMultipartUploadsInput ¶
type ListMultipartUploadsInput struct { Bucket *string Delimiter *string EncodingType EncodingType KeyMarker *string MaxUploads *int64 Prefix *string UploadIdMarker *string }
func (ListMultipartUploadsInput) MarshalForPut ¶
func (l ListMultipartUploadsInput) MarshalForPut(e *request.EncoderForPut) error
func (ListMultipartUploadsInput) String ¶
func (l ListMultipartUploadsInput) String() string
String returns the string representation
func (ListMultipartUploadsInput) Validate ¶
func (l ListMultipartUploadsInput) Validate() error
type ListMultipartUploadsOutput ¶
type ListMultipartUploadsOutput struct { Bucket *string CommonPrefixes []CommonPrefix `xml:"CommonPrefixes>CommonPrefix"` Delimiter *string EncodingType EncodingType IsTruncated *bool KeyMarker *string MaxUploads *int64 NextKeyMarker *string NextUploadIdMarker *string Prefix *string UploadIdMarker *string Uploads []MultipartUpload `xml:"Uploads>MultipartUpload"` }
func (ListMultipartUploadsOutput) String ¶
func (l ListMultipartUploadsOutput) String() string
String returns the string representation
func (ListMultipartUploadsOutput) UnmarshalBody ¶
func (l ListMultipartUploadsOutput) UnmarshalBody(r *request.Request) error
type ListObjectVersionsInput ¶
type ListObjectVersionsInput struct { Bucket *string Delimiter *string EncodingType EncodingType KeyMarker *string MaxKeys *int64 Prefix *string VersionIdMarker *string }
func (ListObjectVersionsInput) MarshalForPut ¶
func (l ListObjectVersionsInput) MarshalForPut(e *request.EncoderForPut) error
func (ListObjectVersionsInput) String ¶
func (l ListObjectVersionsInput) String() string
String returns the string representation
func (ListObjectVersionsInput) Validate ¶
func (l ListObjectVersionsInput) Validate() error
type ListObjectVersionsOutput ¶
type ListObjectVersionsOutput struct { CommonPrefixes []CommonPrefix DeleteMarkers []DeleteMarkerEntry `xml:"DeleteMarker"` Delimiter *string EncodingType EncodingType IsTruncated *bool KeyMarker *string MaxKeys *int64 Bucket *string NextKeyMarker *string NextVersionIdMarker *string Prefix *string VersionIdMarker *string Versions []ObjectVersion `xml:"Version"` }
func (ListObjectVersionsOutput) String ¶
func (l ListObjectVersionsOutput) String() string
String returns the string representation
func (ListObjectVersionsOutput) UnmarshalBody ¶
func (l ListObjectVersionsOutput) UnmarshalBody(r *request.Request) error
type ListObjectsInput ¶
type ListObjectsInput struct { Bucket *string Delimiter *string EncodingType EncodingType Marker *string MaxKeys *int64 Prefix *string }
func (ListObjectsInput) MarshalForPut ¶
func (l ListObjectsInput) MarshalForPut(e *request.EncoderForPut) error
func (ListObjectsInput) String ¶
func (l ListObjectsInput) String() string
String returns the string representation
func (ListObjectsInput) Validate ¶
func (l ListObjectsInput) Validate() error
type ListObjectsOutput ¶
type ListObjectsOutput struct { CommonPrefixes []CommonPrefix Contents []Object Delimiter *string EncodingType EncodingType IsTruncated *bool Marker *string MaxKeys *int64 Bucket *string NextMarker *string Prefix *string }
func (ListObjectsOutput) String ¶
func (l ListObjectsOutput) String() string
String returns the string representation
func (ListObjectsOutput) UnmarshalBody ¶
func (l ListObjectsOutput) UnmarshalBody(r *request.Request) error
type ListObjectsV2Input ¶
type ListObjectsV2Input struct { Bucket *string ContinuationToken *string Delimiter *string EncodingType EncodingType FetchOwner *bool MaxKeys *int64 Prefix *string StartAfter *string }
func (ListObjectsV2Input) MarshalForPut ¶
func (l ListObjectsV2Input) MarshalForPut(e *request.EncoderForPut) error
func (ListObjectsV2Input) String ¶
func (l ListObjectsV2Input) String() string
String returns the string representation
func (ListObjectsV2Input) Validate ¶
func (l ListObjectsV2Input) Validate() error
type ListObjectsV2Output ¶
type ListObjectsV2Output struct { CommonPrefixes []CommonPrefix `xml:"CommonPrefixes>CommonPrefix"` Contents []Object `xml:"Contents>Object"` ContinuationToken *string Delimiter *string EncodingType EncodingType IsTruncated *bool KeyCount *int64 MaxKeys *int64 Name *string NextContinuationToken *string Prefix *string StartAfter *string }
func (ListObjectsV2Output) String ¶
func (l ListObjectsV2Output) String() string
String returns the string representation
func (ListObjectsV2Output) UnmarshalBody ¶
func (l ListObjectsV2Output) UnmarshalBody(r *request.Request) error
type ListPartsInput ¶
type ListPartsInput struct { Bucket *string Key *string MaxParts *int64 PartNumberMarker *int64 UploadId *string }
func (ListPartsInput) MarshalForPut ¶
func (l ListPartsInput) MarshalForPut(e *request.EncoderForPut) error
func (ListPartsInput) String ¶
func (l ListPartsInput) String() string
String returns the string representation
func (ListPartsInput) Validate ¶
func (l ListPartsInput) Validate() error
type ListPartsOutput ¶
type ListPartsOutput struct { Bucket *string Initiator *Initiator IsTruncated *bool Key *string MaxParts *int64 NextPartNumberMarker *int64 Owner *Owner PartNumberMarker *int64 Parts []Part `xml:"Parts>Part"` StorageClass StorageClass UploadId *string }
func (ListPartsOutput) String ¶
func (l ListPartsOutput) String() string
String returns the string representation
func (ListPartsOutput) UnmarshalBody ¶
func (l ListPartsOutput) UnmarshalBody(r *request.Request) error
type LoggingEnabled ¶
type LoggingEnabled struct { TargetBucket *string TargetPrefix *string Grantee *Grantee Permission PermissionForLogs }
func (LoggingEnabled) String ¶
func (l LoggingEnabled) String() string
String returns the string representation
func (LoggingEnabled) Validate ¶
func (l LoggingEnabled) Validate() error
type MetaConfiguration ¶
type MetaConfiguration struct { Headers []MetadataEntry VersionID *string }
func (MetaConfiguration) String ¶
func (m MetaConfiguration) String() string
String returns the string representation
func (MetaConfiguration) Validate ¶
func (m MetaConfiguration) Validate() error
type MetadataDirective ¶
type MetadataDirective string
const ( MetadataDirectiveCopy MetadataDirective = "COPY" MetadataDirectiveReplace MetadataDirective = "REPLACE" )
Enum values for MetadataDirective
func (MetadataDirective) MarshalValue ¶
func (m MetadataDirective) MarshalValue() (string, error)
type MetadataEntry ¶
A metadata key-value pair to store with an object.
func (MetadataEntry) String ¶
func (m MetadataEntry) String() string
String returns the string representation
func (MetadataEntry) Validate ¶
func (m MetadataEntry) Validate() error
type MultipartUpload ¶
type MultipartUpload struct { Initiated *time.Time Initiator *Initiator Key *string Owner *Owner StorageClass StorageClass UploadId *string }
func (MultipartUpload) String ¶
func (m MultipartUpload) String() string
String returns the string representation
type NoncurrentVersionExpiration ¶
type NoncurrentVersionExpiration struct {
NoncurrentDays *int64
}
func (NoncurrentVersionExpiration) String ¶
func (n NoncurrentVersionExpiration) String() string
String returns the string representation
type NoncurrentVersionTransition ¶
func (NoncurrentVersionTransition) String ¶
func (n NoncurrentVersionTransition) String() string
String returns the string representation
type Object ¶
type Object struct { ETag *string Key *string LastModified *time.Time Owner *Owner Size *int64 StorageClass StorageClass }
An object consists of data and its descriptive metadata.
type ObjectIdentifier ¶
Object Identifier is unique value to identify objects.
func (ObjectIdentifier) String ¶
func (o ObjectIdentifier) String() string
String returns the string representation
func (ObjectIdentifier) Validate ¶
func (o ObjectIdentifier) Validate() error
type ObjectVersion ¶
type ObjectVersion struct { ETag *string IsLatest *bool Key *string LastModified *time.Time Owner *Owner Size *int64 StorageClass *string VersionId *string }
The version of an object.
func (ObjectVersion) String ¶
func (o ObjectVersion) String() string
String returns the string representation
type OutputLocation ¶
type OutputLocation struct {
S3 *S3Location
}
Describes the location where the restore job's output is stored.
func (OutputLocation) String ¶
func (o OutputLocation) String() string
String returns the string representation
func (OutputLocation) Validate ¶
func (o OutputLocation) Validate() error
type OutputSerialization ¶
type OutputSerialization struct { CSV *CSVOutput JSON *JSONOutput }
Describes how results of the Select job are serialized.
func (OutputSerialization) String ¶
func (o OutputSerialization) String() string
String returns the string representation
type Owner ¶
type Owner struct { DisplayName *string // Container for the display name of the owner. ID *string // Container for the ID of the owner. }
Container for the owner's display name and ID.
type ParquetInput ¶
type ParquetInput struct{}
func (ParquetInput) String ¶
func (p ParquetInput) String() string
String returns the string representation
type Permission ¶
type Permission string
const ( PermissionFullControl Permission = "FULL_CONTROL" PermissionWrite Permission = "WRITE" PermissionWriteAcp Permission = "WRITE_ACP" PermissionRead Permission = "READ" PermissionReadAcp Permission = "READ_ACP" )
Enum values for Permission
func (Permission) MarshalValue ¶
func (p Permission) MarshalValue() (string, error)
type PermissionForLogs ¶
type PermissionForLogs string
const ( BucketLogsPermissionFullControl PermissionForLogs = "FULL_CONTROL" BucketLogsPermissionRead PermissionForLogs = "READ" BucketLogsPermissionWrite PermissionForLogs = "WRITE" )
Enum values for BucketLogsPermission
func (PermissionForLogs) MarshalValue ¶
func (p PermissionForLogs) MarshalValue() (string, error)
type PutBucketAclInput ¶
type PutBucketAclInput struct { ACL *string AccessControlPolicy *AccessControlPolicy Bucket *string }
func (PutBucketAclInput) GetBucketName ¶
func (p PutBucketAclInput) GetBucketName() (v string)
func (PutBucketAclInput) MarshalForPut ¶
func (p PutBucketAclInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketAclInput) String ¶
func (p PutBucketAclInput) String() string
String returns the string representation
func (PutBucketAclInput) Validate ¶
func (p PutBucketAclInput) Validate() error
type PutBucketAclOutput ¶
type PutBucketAclOutput struct{}
func (PutBucketAclOutput) String ¶
func (p PutBucketAclOutput) String() string
String returns the string representation
func (PutBucketAclOutput) UnmarshalBody ¶
func (p PutBucketAclOutput) UnmarshalBody(r *request.Request) error
type PutBucketCorsInput ¶
type PutBucketCorsInput struct { Bucket *string CORSConfiguration *CORSConfiguration }
func (PutBucketCorsInput) GetBucketName ¶
func (p PutBucketCorsInput) GetBucketName() (v string)
func (PutBucketCorsInput) MarshalForPut ¶
func (p PutBucketCorsInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketCorsInput) String ¶
func (p PutBucketCorsInput) String() string
String returns the string representation
func (PutBucketCorsInput) Validate ¶
func (p PutBucketCorsInput) Validate() error
type PutBucketCorsOutput ¶
type PutBucketCorsOutput struct{}
func (PutBucketCorsOutput) String ¶
func (p PutBucketCorsOutput) String() string
String returns the string representation
func (PutBucketCorsOutput) UnmarshalBody ¶
func (p PutBucketCorsOutput) UnmarshalBody(r *request.Request) error
type PutBucketEncryptionInput ¶
type PutBucketEncryptionInput struct { Bucket *string ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration }
func (PutBucketEncryptionInput) GetBucketName ¶
func (p PutBucketEncryptionInput) GetBucketName() (v string)
func (PutBucketEncryptionInput) MarshalForPut ¶
func (p PutBucketEncryptionInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketEncryptionInput) String ¶
func (p PutBucketEncryptionInput) String() string
String returns the string representation
func (PutBucketEncryptionInput) Validate ¶
func (p PutBucketEncryptionInput) Validate() error
type PutBucketEncryptionOutput ¶
type PutBucketEncryptionOutput struct{}
func (PutBucketEncryptionOutput) String ¶
func (p PutBucketEncryptionOutput) String() string
String returns the string representation
func (PutBucketEncryptionOutput) UnmarshalBody ¶
func (p PutBucketEncryptionOutput) UnmarshalBody(r *request.Request) error
type PutBucketLifecycleInput ¶
type PutBucketLifecycleInput struct { Bucket *string LifecycleConfiguration *LifecycleConfiguration }
func (PutBucketLifecycleInput) GetBucketName ¶
func (p PutBucketLifecycleInput) GetBucketName() (v string)
func (PutBucketLifecycleInput) MarshalForPut ¶
func (p PutBucketLifecycleInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketLifecycleInput) String ¶
func (p PutBucketLifecycleInput) String() string
String returns the string representation
func (PutBucketLifecycleInput) Validate ¶
func (p PutBucketLifecycleInput) Validate() error
type PutBucketLifecycleOutput ¶
type PutBucketLifecycleOutput struct{}
func (PutBucketLifecycleOutput) String ¶
func (p PutBucketLifecycleOutput) String() string
String returns the string representation
func (PutBucketLifecycleOutput) UnmarshalBody ¶
func (p PutBucketLifecycleOutput) UnmarshalBody(r *request.Request) error
type PutBucketLoggingInput ¶
type PutBucketLoggingInput struct { Bucket *string BucketLoggingStatus *BucketLoggingStatus }
func (PutBucketLoggingInput) GetBucketName ¶
func (p PutBucketLoggingInput) GetBucketName() (v string)
func (PutBucketLoggingInput) MarshalForPut ¶
func (p PutBucketLoggingInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketLoggingInput) String ¶
func (p PutBucketLoggingInput) String() string
String returns the string representation
func (PutBucketLoggingInput) Validate ¶
func (p PutBucketLoggingInput) Validate() error
type PutBucketLoggingOutput ¶
type PutBucketLoggingOutput struct{}
func (PutBucketLoggingOutput) String ¶
func (p PutBucketLoggingOutput) String() string
String returns the string representation
func (PutBucketLoggingOutput) UnmarshalBody ¶
func (p PutBucketLoggingOutput) UnmarshalBody(r *request.Request) error
type PutBucketPolicyInput ¶
func (PutBucketPolicyInput) GetBucketName ¶
func (p PutBucketPolicyInput) GetBucketName() (v string)
func (PutBucketPolicyInput) MarshalForPut ¶
func (p PutBucketPolicyInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketPolicyInput) String ¶
func (p PutBucketPolicyInput) String() string
String returns the string representation
func (PutBucketPolicyInput) Validate ¶
func (p PutBucketPolicyInput) Validate() error
type PutBucketPolicyOutput ¶
type PutBucketPolicyOutput struct{}
func (PutBucketPolicyOutput) String ¶
func (p PutBucketPolicyOutput) String() string
String returns the string representation
func (PutBucketPolicyOutput) UnmarshalBody ¶
func (p PutBucketPolicyOutput) UnmarshalBody(r *request.Request) error
type PutBucketTaggingInput ¶
func (PutBucketTaggingInput) GetBucketName ¶
func (p PutBucketTaggingInput) GetBucketName() (v string)
func (PutBucketTaggingInput) MarshalForPut ¶
func (p PutBucketTaggingInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketTaggingInput) String ¶
func (p PutBucketTaggingInput) String() string
String returns the string representation
func (PutBucketTaggingInput) Validate ¶
func (p PutBucketTaggingInput) Validate() error
type PutBucketTaggingOutput ¶
type PutBucketTaggingOutput struct{}
func (PutBucketTaggingOutput) String ¶
func (p PutBucketTaggingOutput) String() string
String returns the string representation
func (PutBucketTaggingOutput) UnmarshalBody ¶
func (p PutBucketTaggingOutput) UnmarshalBody(r *request.Request) error
type PutBucketVersioningInput ¶
type PutBucketVersioningInput struct { Bucket *string VersioningConfiguration *VersioningConfiguration }
func (PutBucketVersioningInput) GetBucketName ¶
func (p PutBucketVersioningInput) GetBucketName() (v string)
func (PutBucketVersioningInput) MarshalForPut ¶
func (p PutBucketVersioningInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketVersioningInput) String ¶
func (p PutBucketVersioningInput) String() string
String returns the string representation
func (PutBucketVersioningInput) Validate ¶
func (p PutBucketVersioningInput) Validate() error
type PutBucketVersioningOutput ¶
type PutBucketVersioningOutput struct{}
func (PutBucketVersioningOutput) String ¶
func (p PutBucketVersioningOutput) String() string
String returns the string representation
func (PutBucketVersioningOutput) UnmarshalBody ¶
func (p PutBucketVersioningOutput) UnmarshalBody(r *request.Request) error
type PutBucketWebsiteInput ¶
type PutBucketWebsiteInput struct { Bucket *string WebsiteConfiguration *WebsiteConfiguration }
func (PutBucketWebsiteInput) GetBucketName ¶
func (p PutBucketWebsiteInput) GetBucketName() (v string)
func (PutBucketWebsiteInput) MarshalForPut ¶
func (p PutBucketWebsiteInput) MarshalForPut(e *request.EncoderForPut) error
func (PutBucketWebsiteInput) String ¶
func (p PutBucketWebsiteInput) String() string
String returns the string representation
func (PutBucketWebsiteInput) Validate ¶
func (p PutBucketWebsiteInput) Validate() error
type PutBucketWebsiteOutput ¶
type PutBucketWebsiteOutput struct{}
func (PutBucketWebsiteOutput) String ¶
func (p PutBucketWebsiteOutput) String() string
String returns the string representation
func (PutBucketWebsiteOutput) UnmarshalBody ¶
func (p PutBucketWebsiteOutput) UnmarshalBody(r *request.Request) error
type PutObjectAclInput ¶
type PutObjectAclInput struct { ACL *string AccessControlPolicy *AccessControlPolicy Bucket *string Key *string VersionId *string }
func (PutObjectAclInput) GetBucketName ¶
func (p PutObjectAclInput) GetBucketName() (v string)
func (PutObjectAclInput) MarshalForPut ¶
func (p PutObjectAclInput) MarshalForPut(e *request.EncoderForPut) error
func (PutObjectAclInput) String ¶
func (p PutObjectAclInput) String() string
String returns the string representation
func (PutObjectAclInput) Validate ¶
func (p PutObjectAclInput) Validate() error
type PutObjectAclOutput ¶
type PutObjectAclOutput struct{}
func (PutObjectAclOutput) String ¶
func (p PutObjectAclOutput) String() string
String returns the string representation
func (PutObjectAclOutput) UnmarshalBody ¶
func (p PutObjectAclOutput) UnmarshalBody(r *request.Request) error
type PutObjectInput ¶
type PutObjectInput struct { ACL *string Body io.ReadSeeker Bucket *string ContentDisposition *string ContentEncoding *string ContentLanguage *string ContentLength *int64 ContentMD5 *string ContentType *string Expires *time.Time ForbidOverwrite *bool Key *string Metadata map[string]string SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string SSEKMSKeyId *string ServerSideEncryption ServerSideEncryption StorageClass StorageClass Tagging *string WebsiteRedirectLocation *string }
func (PutObjectInput) GetBucketName ¶
func (p PutObjectInput) GetBucketName() (v string)
func (PutObjectInput) MarshalForPut ¶
func (p PutObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (PutObjectInput) String ¶
func (p PutObjectInput) String() string
String returns the string representation
func (PutObjectInput) Validate ¶
func (p PutObjectInput) Validate() error
type PutObjectMetaInput ¶
type PutObjectMetaInput struct { Bucket *string Key *string MetaConfiguration *MetaConfiguration }
func (PutObjectMetaInput) GetBucketName ¶
func (p PutObjectMetaInput) GetBucketName() (v string)
func (PutObjectMetaInput) MarshalForPut ¶
func (p PutObjectMetaInput) MarshalForPut(e *request.EncoderForPut) error
func (PutObjectMetaInput) String ¶
func (p PutObjectMetaInput) String() string
String returns the string representation
func (PutObjectMetaInput) Validate ¶
func (p PutObjectMetaInput) Validate() error
type PutObjectMetaOutput ¶
type PutObjectMetaOutput struct{}
func (PutObjectMetaOutput) String ¶
func (p PutObjectMetaOutput) String() string
String returns the string representation
func (PutObjectMetaOutput) UnmarshalBody ¶
func (p PutObjectMetaOutput) UnmarshalBody(r *request.Request) error
type PutObjectOutput ¶
type PutObjectOutput struct { ETag *string `location:"header" locationName:"ETag"` Expiration *string `location:"header" locationName:"x-uos-expiration"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id" type:"string"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` VersionId *string `location:"header" locationName:"x-uos-version-id"` }
func (PutObjectOutput) String ¶
func (p PutObjectOutput) String() string
String returns the string representation
func (PutObjectOutput) UnmarshalBody ¶
func (p PutObjectOutput) UnmarshalBody(r *request.Request) error
type PutObjectTaggingInput ¶
func (PutObjectTaggingInput) GetBucketName ¶
func (p PutObjectTaggingInput) GetBucketName() (v string)
func (PutObjectTaggingInput) MarshalForPut ¶
func (p PutObjectTaggingInput) MarshalForPut(e *request.EncoderForPut) error
func (PutObjectTaggingInput) String ¶
func (p PutObjectTaggingInput) String() string
String returns the string representation
func (PutObjectTaggingInput) Validate ¶
func (p PutObjectTaggingInput) Validate() error
type PutObjectTaggingOutput ¶
type PutObjectTaggingOutput struct {
VersionId *string `location:"header" locationName:"x-uos-version-id"`
}
func (PutObjectTaggingOutput) String ¶
func (p PutObjectTaggingOutput) String() string
String returns the string representation
func (PutObjectTaggingOutput) UnmarshalBody ¶
func (p PutObjectTaggingOutput) UnmarshalBody(r *request.Request) error
type ReaderSeekerCloser ¶
type ReaderSeekerCloser struct {
// contains filtered or unexported fields
}
ReaderSeekerCloser represents a reader that can also delegate io.Seeker and io.Closer interfaces to the underlying object if they are available.
func ReadSeekCloser ¶
func ReadSeekCloser(r io.Reader) ReaderSeekerCloser
ReadSeekCloser wraps a io.Reader returning a ReaderSeekerCloser. Allows the SDK to accept an io.Reader that is not also an io.Seeker for unsigned streaming payload API operations.
A readSeekCloser wrapping an nonseekable io.Reader used in an API operation's input will prevent that operation being retried in the case of network errors, and cause operation requests to fail if yhe operation requires payload signing.
Note: If using with S3 PutObject to stream an object upload. The SDK's S3 Upload Manager(s3manager.Uploader) provides support for streaming with the ability to retry network errors.
func (ReaderSeekerCloser) Read ¶
func (r ReaderSeekerCloser) Read(p []byte) (int, error)
Read reads from the reader up to size of p. The number of bytes read, and error if it occurred will be returned.
If the reader is not an io.Reader zero bytes read, and nil error will be returned.
Performs the same functionality as io.Reader Read
func (ReaderSeekerCloser) Seek ¶
func (r ReaderSeekerCloser) Seek(offset int64, whence int) (int64, error)
Seek sets the offset for the next Read to offset, interpreted according to whence: 0 means relative to the origin of the file, 1 means relative to the current offset, and 2 means relative to the end. Seek returns the new offset and an error, if any.
If the ReaderSeekerCloser is not an io.Seeker nothing will be done.
type Redirect ¶
type Redirect struct { HostName *string HttpRedirectCode *string Protocol Protocol ReplaceKeyPrefixWith *string ReplaceKeyWith *string }
Specifies how requests are redirected. In the event of an error, you can specify a different error code to return.
type RedirectAllRequestsTo ¶
Specifies the redirect behavior of all requests to a website endpoint
func (RedirectAllRequestsTo) String ¶
func (r RedirectAllRequestsTo) String() string
String returns the string representation
func (RedirectAllRequestsTo) Validate ¶
func (r RedirectAllRequestsTo) Validate() error
type RenameObjectInput ¶
func (RenameObjectInput) MarshalForPut ¶
func (r RenameObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (RenameObjectInput) String ¶
func (r RenameObjectInput) String() string
String returns the string representation
func (RenameObjectInput) Validate ¶
func (r RenameObjectInput) Validate() error
type RenameObjectOutput ¶
type RenameObjectOutput struct {
RenameObjectResult *RenameObjectResult
}
func (RenameObjectOutput) String ¶
func (s RenameObjectOutput) String() string
String returns the string representation
func (RenameObjectOutput) UnmarshalBody ¶
func (s RenameObjectOutput) UnmarshalBody(r *request.Request) error
type RenameObjectResult ¶
func (RenameObjectResult) String ¶
func (r RenameObjectResult) String() string
String returns the string representation
type RestoreObjectInput ¶
type RestoreObjectInput struct { Bucket *string Key *string RestoreRequest *RestoreRequest VersionId *string }
func (RestoreObjectInput) MarshalForPut ¶
func (r RestoreObjectInput) MarshalForPut(e *request.EncoderForPut) error
func (RestoreObjectInput) String ¶
func (r RestoreObjectInput) String() string
String returns the string representation
func (RestoreObjectInput) Validate ¶
func (r RestoreObjectInput) Validate() error
type RestoreObjectOutput ¶
type RestoreObjectOutput struct {
RestoreOutputPath *string `location:"header" locationName:"x-uos-restore-output-path"`
}
func (RestoreObjectOutput) String ¶
func (s RestoreObjectOutput) String() string
String returns the string representation
func (RestoreObjectOutput) UnmarshalBody ¶
func (s RestoreObjectOutput) UnmarshalBody(r *request.Request) error
type RestoreRequest ¶
type RestoreRequest struct { Days *int64 Description *string GlacierJobParameters *GlacierJobParameters OutputLocation *OutputLocation SelectParameters *SelectParameters Tier *string Type *string }
Container for restore job parameters.
func (RestoreRequest) String ¶
func (r RestoreRequest) String() string
func (RestoreRequest) Validate ¶
func (r RestoreRequest) Validate() error
type RoutingRule ¶
Specifies the redirect behavior and when a redirect is applied.
func (RoutingRule) String ¶
func (s RoutingRule) String() string
String returns the string representation
func (RoutingRule) Validate ¶
func (s RoutingRule) Validate() error
type S3Location ¶
type S3Location struct { AccessControlList []Grant BucketName *string CannedACL *string Encryption *Encryption Prefix *string StorageClass StorageClass Tagging *Tagging UserMetadata []MetadataEntry }
func (S3Location) String ¶
func (s S3Location) String() string
String returns the string representation
func (S3Location) Validate ¶
func (s S3Location) Validate() error
type SelectParameters ¶
type SelectParameters struct { Expression *string ExpressionType *string InputSerialization *InputSerialization OutputSerialization *OutputSerialization }
Describes the parameters for Select job types.
func (SelectParameters) String ¶
func (s SelectParameters) String() string
String returns the string representation
func (SelectParameters) Validate ¶
func (s SelectParameters) Validate() error
type ServerSideEncryption ¶
type ServerSideEncryption string
const ( ServerSideEncryptionAes256 ServerSideEncryption = "AES256" ServerSideEncryptionUosKms ServerSideEncryption = "uos:kms" )
Enum values for ServerSideEncryption
func (ServerSideEncryption) MarshalValue ¶
func (se ServerSideEncryption) MarshalValue() (string, error)
type ServerSideEncryptionByDefault ¶
type ServerSideEncryptionByDefault struct { KMSMasterKeyID *string SSEAlgorithm ServerSideEncryption }
func (ServerSideEncryptionByDefault) String ¶
func (s ServerSideEncryptionByDefault) String() string
String returns the string representation
func (ServerSideEncryptionByDefault) Validate ¶
func (s ServerSideEncryptionByDefault) Validate() error
type ServerSideEncryptionConfiguration ¶
type ServerSideEncryptionConfiguration struct {
Rules []ServerSideEncryptionRule `xml:"Rule"`
}
Specifies the default server-side-encryption configuration.
func (ServerSideEncryptionConfiguration) String ¶
func (s ServerSideEncryptionConfiguration) String() string
String returns the string representation
func (ServerSideEncryptionConfiguration) Validate ¶
func (s ServerSideEncryptionConfiguration) Validate() error
type ServerSideEncryptionRule ¶
type ServerSideEncryptionRule struct {
ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault
}
Specifies the default server-side encryption configuration.
func (ServerSideEncryptionRule) String ¶
func (s ServerSideEncryptionRule) String() string
String returns the string representation
func (ServerSideEncryptionRule) Validate ¶
func (s ServerSideEncryptionRule) Validate() error
type StorageClass ¶
type StorageClass string
const ( StorageClassStandard StorageClass = "STANDARD" StorageClassReducedRedundancy StorageClass = "REDUCED_REDUNDANCY" StorageClassStandardIa StorageClass = "STANDARD_IA" StorageClassOnezoneIa StorageClass = "ONEZONE_IA" StorageClassIntelligentTiering StorageClass = "INTELLIGENT_TIERING" StorageClassGlacier StorageClass = "GLACIER" StorageClassDeepArchive StorageClass = "DEEP_ARCHIVE" )
Enum values for StorageClass
func (StorageClass) MarshalValue ¶
func (sc StorageClass) MarshalValue() (string, error)
type Tagging ¶
type Tagging struct {
TagSet []Tag `xml:"TagSet>Tag"`
}
Container for TagSet elements.
type Transition ¶
func (Transition) String ¶
func (t Transition) String() string
String returns the string representation
type UploadPartCopyInput ¶
type UploadPartCopyInput struct { Bucket *string CopySource *string CopySourceIfMatch *string CopySourceIfModifiedSince *time.Time CopySourceIfNoneMatch *string CopySourceIfUnmodifiedSince *time.Time CopySourceRange *string CopySourceSSECustomerAlgorithm *string CopySourceSSECustomerKey *string CopySourceSSECustomerKeyMD5 *string Key *string PartNumber *int64 SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string UploadId *string }
func (UploadPartCopyInput) MarshalForPut ¶
func (u UploadPartCopyInput) MarshalForPut(e *request.EncoderForPut) error
func (UploadPartCopyInput) String ¶
func (u UploadPartCopyInput) String() string
String returns the string representation
func (UploadPartCopyInput) Validate ¶
func (u UploadPartCopyInput) Validate() error
type UploadPartCopyOutput ¶
type UploadPartCopyOutput struct { CopyPartResult *CopyPartResult CopySourceVersionId *string `location:"header" locationName:"x-uos-copy-source-version-id"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-encryption-uos-kms-key-id"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` }
func (UploadPartCopyOutput) String ¶
func (p UploadPartCopyOutput) String() string
String returns the string representation
func (UploadPartCopyOutput) UnmarshalBody ¶
func (p UploadPartCopyOutput) UnmarshalBody(r *request.Request) error
type UploadPartInput ¶
type UploadPartInput struct { Body io.ReadSeeker Bucket *string ContentLength *int64 ContentMD5 *string Key *string PartNumber *int64 SSECustomerAlgorithm *string SSECustomerKey *string SSECustomerKeyMD5 *string UploadId *string }
func (UploadPartInput) MarshalForPut ¶
func (u UploadPartInput) MarshalForPut(e *request.EncoderForPut) error
func (UploadPartInput) String ¶
func (u UploadPartInput) String() string
String returns the string representation
func (UploadPartInput) Validate ¶
func (u UploadPartInput) Validate() error
type UploadPartOutput ¶
type UploadPartOutput struct { ETag *string `location:"header" locationName:"ETag"` SSECustomerAlgorithm *string `location:"header" locationName:"x-uos-server-side-encryption-customer-algorithm" ` SSECustomerKeyMD5 *string `location:"header" locationName:"x-uos-server-side-encryption-customer-key-MD5"` SSEKMSKeyId *string `location:"header" locationName:"x-uos-server-side-uos-kms-key-id"` ServerSideEncryption ServerSideEncryption `location:"header" locationName:"x-uos-server-side-encryption"` }
func (UploadPartOutput) String ¶
func (p UploadPartOutput) String() string
String returns the string representation
func (UploadPartOutput) UnmarshalBody ¶
func (p UploadPartOutput) UnmarshalBody(r *request.Request) error
type VersioningConfiguration ¶
type VersioningConfiguration struct {
Status *string
}
func (VersioningConfiguration) String ¶
func (v VersioningConfiguration) String() string
String returns the string representation
type WebsiteConfiguration ¶
type WebsiteConfiguration struct { ErrorDocument *ErrorDocument IndexDocument *IndexDocument RedirectAllRequestsTo *RedirectAllRequestsTo RoutingRules []RoutingRule }
func (WebsiteConfiguration) String ¶
func (w WebsiteConfiguration) String() string
String returns the string representation
func (WebsiteConfiguration) Validate ¶
func (w WebsiteConfiguration) Validate() error
Source Files ¶
- api_bucket_create.go
- api_bucket_delete.go
- api_bucket_deleteCors.go
- api_bucket_deleteEncryption.go
- api_bucket_deleteLifecycle.go
- api_bucket_deletePolicy.go
- api_bucket_deleteTagging.go
- api_bucket_deleteWebsite.go
- api_bucket_getAcl.go
- api_bucket_getCors.go
- api_bucket_getEncryption.go
- api_bucket_getLifecycle.go
- api_bucket_getLocation.go
- api_bucket_getLogging.go
- api_bucket_getPolicy.go
- api_bucket_getTagging.go
- api_bucket_getVersioning.go
- api_bucket_getWebsite.go
- api_bucket_head.go
- api_bucket_list.go
- api_bucket_putAcl.go
- api_bucket_putCors.go
- api_bucket_putEncryption.go
- api_bucket_putLifecycle.go
- api_bucket_putLogging.go
- api_bucket_putPolicy.go
- api_bucket_putTagging.go
- api_bucket_putVersioning.go
- api_bucket_putWebsite.go
- api_enums.go
- api_multipart_abortUpload.go
- api_multipart_completeUpload.go
- api_multipart_copyUploadPart.go
- api_multipart_createUpload.go
- api_multipart_listUploads.go
- api_multipart_uploadPart.go
- api_object_append.go
- api_object_copy.go
- api_object_delete.go
- api_object_deleteTagging.go
- api_object_get.go
- api_object_getAcl.go
- api_object_getTagging.go
- api_object_head.go
- api_object_list.go
- api_object_listParts.go
- api_object_listV2.go
- api_object_listVersions.go
- api_object_put.go
- api_object_putAcl.go
- api_object_putMeta.go
- api_object_putTagging.go
- api_object_rename.go
- api_object_restore.go
- api_objects_delete.go
- client.go
- convert_types.go
- structs.go