__construct() public method

In addition to the options available to {@see \Aws\AwsClient::__construct}, S3Client accepts the following options: - bucket_endpoint: (bool) Set to true to send requests to a hardcoded bucket endpoint rather than create an endpoint as a result of injecting the bucket into the URL. This option is useful for interacting with CNAME endpoints. - calculate_md5: (bool) Set to false to disable calculating an MD5 for all Amazon S3 signed uploads. - use_accelerate_endpoint: (bool) Set to true to send requests to an S3 Accelerate endpoint by default. Can be enabled or disabled on individual operations by setting '@use_accelerate_endpoint' to true or false. Note: you must enable S3 Accelerate on a bucket before it can be accessed via an Accelerate endpoint. - use_dual_stack_endpoint: (bool) Set to true to send requests to an S3 Dual Stack endpoint by default, which enables IPv6 Protocol. Can be enabled or disabled on individual operations by setting '@use_dual_stack_endpoint\' to true or false. Note: you cannot use it together with an accelerate endpoint.
public __construct ( array $args )
$args array
Example #1
0
 public function __construct(array $args)
 {
     if (!isset($args['version'])) {
         $args['version'] = "2006-03-01";
     }
     parent::__construct($args);
 }