Documentation ¶
Index ¶
- func DeleteWebSite(bucket string) error
- func GetBucketACL(bucket string) (string, error)
- func GetBucketPolicy(bucket string) (string, error)
- func GetLocation(bucket string) (string, error)
- func GetWebSite(bucket string) error
- func ListBuckets(showCreationDate bool) error
- func SetBucketACL(bucket string, acl string) error
- func SetBucketPolicyForWebSite(bucket string) error
- func SetRedirectAllRequestsTo(bucket string, paramurl *url.URL) error
- func SetWebSite(bucket string, input *SetWebSiteInput) error
- type SetWebSiteInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteWebSite ¶
DeleteWebSite removes the website configuration from the bucket.
func GetBucketACL ¶
GetBucketACL gets the access control policy for the bucket.
func GetBucketPolicy ¶
GetBucketPolicy gets the policy of a specified bucket.
func GetLocation ¶
GetLocation returns the region the bucket resides in.
func GetWebSite ¶
GetWebSite returns the website configuration for a bucket.
func ListBuckets ¶
ListBuckets returns a list of all buckets owned by the authenticated sender of the request
func SetBucketACL ¶
SetBucketACL gets the access control policy for the bucket.
func SetBucketPolicyForWebSite ¶
SetBucketPolicyForWebSite replaces a policy on a bucket for Web Site.
func SetRedirectAllRequestsTo ¶
SetRedirectAllRequestsTo sets redirect all website requests sent to the bucket's website endpoint the bucket.
func SetWebSite ¶
func SetWebSite(bucket string, input *SetWebSiteInput) error
SetWebSite set the website configuration for a bucket.
Types ¶
type SetWebSiteInput ¶
SetWebSiteInput represents parameters of set simple Web Site.