cloud-8.x-2.0-beta1/modules/cloud_service_providers/aws_cloud/src/Service/S3/S3ServiceInterface.php
modules/cloud_service_providers/aws_cloud/src/Service/S3/S3ServiceInterface.php
<?php
namespace Drupal\aws_cloud\Service\S3;
/**
* Interface Ec2ServiceInterface.
*/
interface S3ServiceInterface {
/**
* Set the cloud context.
*
* @param string $cloud_context
* Cloud context string.
*/
public function setCloudContext($cloud_context);
/**
* Calls the Amazon S3 API endpoint GetObject.
*
* @param array $params
* Parameters array to send to API.
*
* @return mixed
* An array of results or NULL if there is an error.
*/
public function getObject(array $params = []);
/**
* Calls the Amazon S3 API endpoint PutObject.
*
* @param array $params
* Parameters array to send to API.
*
* @return mixed
* An array of results or NULL if there is an error.
*/
public function putObject(array $params = []);
/**
* Calls the Amazon S3 API endpoint ListObjects.
*
* @param array $params
* Parameters array to send to API.
*
* @return mixed
* An array of results or NULL if there is an error.
*/
public function listObjects(array $params = []);
/**
* Calls the Amazon S3 API endpoint DeleteMatchingObjects.
*
* @param array $params
* Parameters array to send to API.
*
* @return mixed
* An array of results or NULL if there is an error.
*/
public function deleteMatchingObjects(array $params = []);
}
