<?php
// this file expect base path and autoload file 
ini_set('display_errors', 1);


use Aws\S3\S3Client;
use Aws\S3\Exception\S3Exception;

require_once $base_path_to_learning_resources . 'includes/aws_config.php';

// Set your S3 bucket name
$learning_bucketName = 'rjlbilldesk-development';

//CloudFront domain 
$cloudFrontDomain = "https://d3i2dun4iyysti.cloudfront.net";


// Create an S3 client
$s3_learning_bucket = new S3Client([
    'version' => 'latest',
    'region' => $learning_region,
    'credentials' => [
        'key' => $learning_aws_access,
        'secret' => $learning_aws_secret_accesskey,
    ],
]);
