PHP Class Aws\Sdk

Show file Open project: aws/aws-sdk-php Class Usage Examples

Public Methods

Method Description
__call ( $name, array $args )
__construct ( array $args = [] ) Constructs a new SDK object with an associative array of default client settings.
createClient ( string $name, array $args = [] ) : aws\AwsClientInterface Get a client by name using an array of constructor options.
createMultiRegionClient ( $name, array $args = [] )
getEndpointPrefix ( string $name ) : string Determine the endpoint prefix from a client namespace.

Private Methods

Method Description
mergeArgs ( $namespace, array $manifest, array $args = [] )

Method Details

__call() public method

public __call ( $name, array $args )
$args array

__construct() public method

Constructs a new SDK object with an associative array of default client settings.
See also: Aws\AwsClient::__construct for a list of available options.
public __construct ( array $args = [] )
$args array

createClient() public method

Get a client by name using an array of constructor options.
See also: Aws\AwsClient::__construct for a list of available options for args.
public createClient ( string $name, array $args = [] ) : aws\AwsClientInterface
$name string Service name or namespace (e.g., DynamoDb, s3).
$args array Arguments to configure the client.
return aws\AwsClientInterface

createMultiRegionClient() public method

public createMultiRegionClient ( $name, array $args = [] )
$args array

getEndpointPrefix() public static method

Determine the endpoint prefix from a client namespace.
Deprecation: Use the `\Aws\manifest()` function instead.
public static getEndpointPrefix ( string $name ) : string
$name string Namespace name
return string