Warning: Undefined array key "S3Bucket" in /jeeny/ms-zatca-einvoice/s3FileUpload.php on line 32

Warning: Undefined array key "S3Region" in /jeeny/ms-zatca-einvoice/s3FileUpload.php on line 37

Fatal error: Uncaught InvalidArgumentException: Missing required client configuration options: region: (string) A "region" configuration value is required for the "s3" service (e.g., "us-west-2"). A list of available public regions and endpoints can be found at http://docs.aws.amazon.com/general/latest/gr/rande.html. in /jeeny/ms-zatca-einvoice/vendor/aws/aws-sdk-php/src/ClientResolver.php:1207 Stack trace: #0 /jeeny/ms-zatca-einvoice/vendor/aws/aws-sdk-php/src/ClientResolver.php(1184): Aws\ClientResolver::_missing_region(Array) #1 /jeeny/ms-zatca-einvoice/vendor/aws/aws-sdk-php/src/ClientResolver.php(388): Aws\ClientResolver::_apply_region('', Array, Object(Aws\HandlerList)) #2 /jeeny/ms-zatca-einvoice/vendor/aws/aws-sdk-php/src/AwsClient.php(222): Aws\ClientResolver->resolve(Array, Object(Aws\HandlerList)) #3 /jeeny/ms-zatca-einvoice/vendor/aws/aws-sdk-php/src/S3/S3Client.php(358): Aws\AwsClient->__construct(Array) #4 /jeeny/ms-zatca-einvoice/s3FileUpload.php(37): Aws\S3\S3Client->__construct(Array) #5 {main} thrown in /jeeny/ms-zatca-einvoice/vendor/aws/aws-sdk-php/src/ClientResolver.php on line 1207