PHP Class Aws\Sdk

Afficher le fichier Open project: aws/aws-sdk-php Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
mergeArgs ( $namespace, array $manifest, array $args = [] )

Method Details

__call() public méthode

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

__construct() public méthode

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 méthode

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.
Résultat aws\AwsClientInterface

createMultiRegionClient() public méthode

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

getEndpointPrefix() public static méthode

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
Résultat string