Documentation ¶
Index ¶
- Constants
- type AWSACLResponse
- type AWSACLResponseError
- type AWSListBucketResponse
- type AccessControlList
- type BucketCommonPrefix
- type BucketContent
- type CompleteMultipartUploadInput
- type CompleteMultipartUploadResult
- type CopyResult
- type CreateQueueResponse
- type DeleteMessageBatchResponse
- type DeleteMessageBatchResult
- type DeleteMessageBatchResultEntry
- type DeleteMessageResponse
- type DeleteObject
- type DeleteQueueResponse
- type ErrorResult
- type Grant
- type Grantee
- type InitiateMultipartUploadResult
- type KinesisRecordsRequest
- type KinesisRecordsResponse
- type KinesisRequest
- type KinesisResponse
- type ListQueuesResponse
- type Map
- type MultiDeleteRequest
- type MultiDeleteResult
- type MultipartPart
- type PurgeQueueResponse
- type QueueUrls
- type ReceiveMessageResponse
- type ReceiveMessageResult
- type SendMessageBatchResponse
- type SendMessageBatchResult
- type SendMessageBatchResultEntry
- type SendMessageResponse
- type SendMessageResult
- type SqsAttribute
- type SqsError
- type SqsErrorResponse
- type SqsMessage
Constants ¶
View Source
const ( ACLXmlNs string = "http://www.w3.org/2001/XMLSchema-instance" ACLXmlXsi string = "CanonicalUser" )
View Source
const ( XmlHeader string = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" XmlNs string = "http://www.w3.org/2001/XMLSchema-instance" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSACLResponse ¶
type AWSACLResponse struct { XMLName xml.Name `xml:"AccessControlPolicy"` OwnerId string `xml:"Owner>ID"` OwnerDisplayName string `xml:"Owner>DisplayName"` AccessControlList *AccessControlList `xml:"AccessControlList"` }
type AWSACLResponseError ¶
type AWSListBucketResponse ¶
type AWSListBucketResponse struct { XMLName xml.Name `xml:"ListBucketResult"` XmlNS string `xml:"xmlns,attr"` Name *string `xml:"Name"` Prefix *string `xml:"Prefix"` Delimiter *string `xml:"Delimiter,omitempty"` Marker *string `xml:"Marker"` KeyCount int64 `xml:"KeyCount"` MaxKeys *int64 `xml:"MaxKeys"` IsTruncated *bool `xml:"IsTruncated"` Contents []*BucketContent `xml:"Contents"` CommonPrefixes []*BucketCommonPrefix `xml:"CommonPrefixes,omitempty"` ContinuationToken *string `xml:"ContinuationToken"` NextContinuationToken *string `xml:"NextContinuationToken"` }
type AccessControlList ¶
type AccessControlList struct {
Grants []*Grant `xml:"Grant"`
}
type BucketCommonPrefix ¶
type BucketCommonPrefix struct {
Prefix string `xml:"Prefix"`
}
type BucketContent ¶
type CompleteMultipartUploadInput ¶
type CompleteMultipartUploadInput struct { XMLName xml.Name `xml:"CompleteMultipartUpload"` XmlNS string `xml:"xmlns,attr"` Parts []*MultipartPart `xml:"Part"` }
type CopyResult ¶
type CreateQueueResponse ¶
type DeleteMessageBatchResponse ¶
type DeleteMessageBatchResponse struct { XMLName xml.Name `xml:"DeleteMessageBatchResponse"` DeleteMessageBatchResult DeleteMessageBatchResult `xml:"DeleteMessageBatchResult"` }
type DeleteMessageBatchResult ¶
type DeleteMessageBatchResult struct {
DeleteMessageBatchResultEntry []DeleteMessageBatchResultEntry `xml:"DeleteMessageBatchResultEntry"`
}
type DeleteMessageBatchResultEntry ¶
type DeleteMessageBatchResultEntry struct {
Id *string `xml:"Id"`
}
type DeleteMessageResponse ¶
type DeleteObject ¶
type DeleteObject struct {
Key *string `xml:"Key"`
}
type DeleteQueueResponse ¶
type ErrorResult ¶
type KinesisRecordsRequest ¶
type KinesisRecordsResponse ¶
type KinesisRecordsResponse struct { FailedRequestCount int64 Records []KinesisResponse }
type KinesisRequest ¶
type KinesisRequest struct { StreamName string PartitionKey string Data string Records []KinesisRecordsRequest }
type KinesisResponse ¶
type ListQueuesResponse ¶
type MultiDeleteRequest ¶
type MultiDeleteRequest struct { XMLName xml.Name `xml:"Delete"` Quiet *bool `xml:"Bucket"` Objects []*DeleteObject `xml:"Object"` }
type MultiDeleteResult ¶
type MultiDeleteResult struct { XMLName xml.Name `xml:"DeleteResult"` XmlNS string `xml:"xmlns,attr"` Objects []*DeleteObject `xml:"Deleted"` Errors []*ErrorResult `xml:"Error"` }
type MultipartPart ¶
type PurgeQueueResponse ¶
type ReceiveMessageResponse ¶
type ReceiveMessageResponse struct { XMLName xml.Name `xml:"ReceiveMessageResponse"` XmlNS string `xml:"xmlns,attr"` ReceiveMessageResult ReceiveMessageResult `xml:"ReceiveMessageResult"` }
type ReceiveMessageResult ¶
type ReceiveMessageResult struct {
Message []SqsMessage `xml:"Message"`
}
type SendMessageBatchResponse ¶
type SendMessageBatchResponse struct { XMLName xml.Name `xml:"SendMessageBatchResponse"` SendMessageBatchResult SendMessageBatchResult `xml:"SendMessageBatchResult"` }
type SendMessageBatchResult ¶
type SendMessageBatchResult struct {
Entries []SendMessageBatchResultEntry `xml:"SendMessageBatchResultEntry"`
}
type SendMessageResponse ¶
type SendMessageResponse struct { XMLName xml.Name `xml:"SendMessageResponse"` XmlNS string `xml:"xmlns,attr"` SendMessageResult SendMessageResult `xml:"SendMessageResult"` }
type SendMessageResult ¶
type SqsAttribute ¶
type SqsErrorResponse ¶
type SqsErrorResponse struct { // <?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>AccessDenied</Code><Message>Access to the resource https://queue.amazonaws.com/ is denied.</Message><Detail/></Error><RequestId>be0bc434-dd62-5a29-bb07-91a3a84796c2</RequestId></ErrorResponse> XMLName xml.Name `xml:"ErrorResponse"` XmlNS string `xml:"xmlns,attr"` Error *SqsError `xml:"Error"` RequestId *string `xml:"RequestId"` }
type SqsMessage ¶
type SqsMessage struct { MessageId *string `xml:"MessageId"` ReceiptHandle *string `xml:"ReceiptHandle"` MD5OfBody *string `xml:"MD5OfBody"` Body *string `xml:"Body"` Attributes []SqsAttribute `xml:"Attribute"` }
Click to show internal directories.
Click to hide internal directories.