public static function getArguments() { $args = parent::getArguments(); $args['retries']['default'] = 11; $args['retries']['fn'] = [DynamoDbClient::class, '_applyRetryConfig']; return $args; }
public static function getArguments() { $args = parent::getArguments(); $args['retries']['default'] = 10; $args['retries']['fn'] = [__CLASS__, '_applyRetryConfig']; $args['api_provider']['fn'] = [__CLASS__, '_applyApiProvider']; return $args; }
public static function getArguments() { $args = parent::getArguments(); $args['endpoint']['required'] = true; $args['region']['default'] = function (array $args) { // Determine the region from the provided endpoint. // (e.g. http://search-blah.{region}.cloudsearch.amazonaws.com) return explode('.', new Uri($args['endpoint']))[1]; }; return $args; }
public static function getArguments() { $args = parent::getArguments(); $args['retries']['fn'] = [__CLASS__, '_applyRetryConfig']; $args['api_provider']['fn'] = [__CLASS__, '_applyApiProvider']; return $args + ['bucket_endpoint' => ['type' => 'config', 'valid' => ['bool'], 'doc' => '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.'], 'use_accelerate_endpoint' => ['type' => 'config', 'valid' => ['bool'], 'doc' => '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.', 'default' => false]]; }