Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core\aws\client_factory Class Reference

AWS Client factory. More...

Static Public Member Functions

static get_client (string $class, array $opts)
 Get an AWS client with moodle specific HTTP configuration.
 

Detailed Description

AWS Client factory.

Retrieves a client with moodle specific HTTP configuration.

Author
Peter Burnett peter.nosp@m.burn.nosp@m.ett@c.nosp@m.atal.nosp@m.yst-a.nosp@m.u.ne.nosp@m.t
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_client()

static core\aws\client_factory::get_client ( string $class,
array $opts )
static

Get an AWS client with moodle specific HTTP configuration.

Parameters
string$classFully qualified AWS classname e.g. Aws\S3\S3Client
array$optsarray of constructor options for AWS Client.
Return values
AwsClient

The documentation for this class was generated from the following file: