class Aws::S3::Presigned::Post

Overview

Represents the URL and fields required to send a HTTP form POST to S3 for object uploading.

Defined in:

aws/s3/presigned/post.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(region : String, aws_access_key : String, aws_secret_key : String, signer : Symbol = :v4) #

[View source]

Instance Method Detail

def build(&) #

Build a post object by adding fields


[View source]
def fields #

Returns the fields, without signature fields


[View source]
def url #

Return the url to post to


[View source]
def valid? #

Returns if the post is valid, false otherwise


[View source]