Class | AWS::S3::Client |
In: |
lib/aws/s3/client/xml.rb
lib/aws/s3/client.rb |
Parent: | Core::Client |
API_VERSION | = | '2006-03-01' | ||
XMLNS | = | "http://s3.amazonaws.com/doc/#{API_VERSION}/" | ||
EMPTY_BODY_ERRORS | = | { 304 => Errors::NotModified, 403 => Errors::Forbidden, 400 => Errors::BadRequest, 404 => Errors::NoSuchKey, } | @api private | |
CACHEABLE_REQUESTS | = | Set[] | @api private |
create_bucket | -> | put_bucket |
put_bucket_acl | -> | set_bucket_acl |
put_object_acl | -> | set_object_acl |
list_objects | -> | get_bucket |
@param [String] possible_xml @return [Boolean] Returns `true` if the given string is a valid xml
document.
Previously the access control policy could be specified via :acl as a string or an object that responds to to_xml. The prefered method now is to pass :access_control_policy an xml document.