Documentation
¶
Index ¶
- type AccessControlList
- type AccessControlPolicy
- type Bucket
- type CanonicalUser
- type CommonPrefix
- type CopyObjectResult
- type DeleteObjects
- type DeleteResult
- type GetObjectAttributesResult
- type Grant
- type Grantee
- type Initiator
- type ListAllMyBucketsEntry
- type ListAllMyBucketsList
- type ListAllMyBucketsResult
- type ListMultipartUploadsResult
- type ListPartsResult
- type ObjectParts
- type Owner
- type Part
- type SelectObjectContentPayload
- type SelectObjectContentResult
- type Tag
- type TagSet
- type Tagging
- type TaggingInput
- type Upload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControlList ¶
type AccessControlList struct {
Grant []Grant
}
type AccessControlPolicy ¶
type AccessControlPolicy struct {
XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ AccessControlPolicy" json:"-"`
Owner CanonicalUser
AccessControlList AccessControlList
}
type CanonicalUser ¶
type CommonPrefix ¶
type CommonPrefix struct {
Prefix string
}
CommonPrefix ListObjectsResponse common prefixes (directory abstraction)
type CopyObjectResult ¶
type DeleteObjects ¶
type DeleteObjects struct {
Objects []types.ObjectIdentifier `xml:"Object"`
}
type DeleteResult ¶
type DeleteResult struct {
Deleted []types.DeletedObject
Error []types.Error
}
type GetObjectAttributesResult ¶
type GetObjectAttributesResult struct {
ETag *string
LastModified *time.Time
ObjectSize *int64
StorageClass *types.StorageClass
VersionId *string
ObjectParts *ObjectParts
}
type Grantee ¶
type Grantee struct {
XMLName xml.Name `xml:"Grantee"`
Xsi string `xml:"xmlns:xsi,attr,omitempty"`
Type string `xml:"xsi:type,attr,omitempty"`
ID string
DisplayName string
}
Set the following to encode correctly:
Grantee: s3response.Grantee{
Xsi: "http://www.w3.org/2001/XMLSchema-instance",
Type: "CanonicalUser",
},
type ListAllMyBucketsEntry ¶
type ListAllMyBucketsList ¶
type ListAllMyBucketsList struct {
Bucket []ListAllMyBucketsEntry
}
type ListAllMyBucketsResult ¶
type ListAllMyBucketsResult struct {
XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListAllMyBucketsResult" json:"-"`
Owner CanonicalUser
Buckets ListAllMyBucketsList
}
type ListMultipartUploadsResult ¶
type ListMultipartUploadsResult struct {
XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListMultipartUploadsResult" json:"-"`
Bucket string
KeyMarker string
UploadIDMarker string `xml:"UploadIdMarker"`
NextKeyMarker string
NextUploadIDMarker string `xml:"NextUploadIdMarker"`
Delimiter string
Prefix string
EncodingType string `xml:"EncodingType,omitempty"`
MaxUploads int
IsTruncated bool
// List of pending uploads.
Uploads []Upload `xml:"Upload"`
// Delimed common prefixes.
CommonPrefixes []CommonPrefix
}
ListMultipartUploadsResponse - s3 api list multipart uploads response.
type ListPartsResult ¶
type ListPartsResult struct {
XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListPartsResult" json:"-"`
Bucket string
Key string
UploadID string `xml:"UploadId"`
Initiator Initiator
Owner Owner
// The class of storage used to store the object.
StorageClass string
PartNumberMarker int
NextPartNumberMarker int
MaxParts int
IsTruncated bool
// List of parts.
Parts []Part `xml:"Part"`
}
ListPartsResponse - s3 api list parts response.
type ObjectParts ¶
type SelectObjectContentPayload ¶
type SelectObjectContentPayload struct {
Expression *string
ExpressionType types.ExpressionType
RequestProgress *types.RequestProgress
InputSerialization *types.InputSerialization
OutputSerialization *types.OutputSerialization
ScanRange *types.ScanRange
}
type SelectObjectContentResult ¶
type SelectObjectContentResult struct {
Records *types.RecordsEvent
Stats *types.StatsEvent
Progress *types.ProgressEvent
Cont *types.ContinuationEvent
End *types.EndEvent
}
type TaggingInput ¶
type TaggingInput struct {
TagSet TagSet `xml:"TagSet"`
}
Click to show internal directories.
Click to hide internal directories.