Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: