Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostObjectInput ¶
type PostObjectInput struct { // Key name Key string // The name of the bucket to presign the post to Bucket string // Expiration - The number of seconds the presigned post is valid for. ExpiresIn time.Duration // A list of conditions to include in the policy. Each element can be either a list or a structure. // For example: // [ // {"acl": "public-read"}, ["content-length-range", 2, 5], ["starts-with", "$success_action_redirect", ""] // ] Conditions []interface{} }
type PresignClient ¶
type PresignClient struct {
// contains filtered or unexported fields
}
func NewPresignClient ¶
func NewPresignClient(cfg aws.Config) *PresignClient
func (*PresignClient) PresignPostObject ¶
func (presignClient *PresignClient) PresignPostObject(input *PostObjectInput) (*PresignedPostObject, error)
Click to show internal directories.
Click to hide internal directories.