You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: AWS::S3::Client

Inherits:
Core::Client show all
Extended by:
Validators
Includes:
Core::UriEscape, Validators
Defined in:
lib/aws/s3/client.rb,
lib/aws/s3/client/xml.rb

Overview

Client class for Amazon Simple Storage Service (S3).

Direct Known Subclasses

V20060301

Defined Under Namespace

Modules: Validators Classes: V20060301

Constant Summary

API_VERSION =
'2006-03-01'
XMLNS =
"http://s3.amazonaws.com/doc/#{API_VERSION}/"
HTTP_200_ERROR_OPERATIONS =
Set.new([
  :complete_multipart_upload,
  :copy_object,
  :copy_part,
])

Instance Attribute Summary

Attributes inherited from Core::Client

#config

Instance Method Summary collapse

Methods included from Validators

dns_compatible_bucket_name?, json_validation_message, path_style_bucket_name?, require_acl!, require_allowed_methods!, require_allowed_origins!, require_bucket_name!, require_part_number!, require_policy!, require_upload_id!, set_body_stream_and_content_length, valid_bucket_name?, validate!, validate_bucket_name!, validate_key!, validate_parts!

Methods included from Core::UriEscape

escape, escape_path

Methods inherited from Core::Client

#log_warning, #operations, #with_http_handler, #with_options

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client



32
33
34
# File 'lib/aws/s3/client.rb', line 32

def initialize(options = {})
  super(options.merge(:http_continue_threshold => 0))
end