@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaStoreDataClient extends AmazonWebServiceClient implements AWSMediaStoreData
An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3 service. Objects are the fundamental entities that are stored in AWS Elemental MediaStore.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSMediaStoreDataClientBuilder |
builder() |
DeleteObjectResult |
deleteObject(DeleteObjectRequest request)
Deletes an object at the specified path.
|
DescribeObjectResult |
describeObject(DescribeObjectRequest request)
Gets the headers for an object at the specified path.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetObjectResult |
getObject(GetObjectRequest request)
Downloads the object at the specified path.
|
ListItemsResult |
listItems(ListItemsRequest request)
Provides a list of metadata entries about folders and objects in the specified folder.
|
PutObjectResult |
putObject(PutObjectRequest request)
Uploads an object to the specified path.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSMediaStoreDataClientBuilder builder()
public DeleteObjectResult deleteObject(DeleteObjectRequest request)
Deletes an object at the specified path.
deleteObject
in interface AWSMediaStoreData
deleteObjectRequest
- ContainerNotFoundException
- The specified container was not found for the specified account.ObjectNotFoundException
- Could not perform an operation on an object that does not exist.InternalServerErrorException
- The service is temporarily unavailable.public DescribeObjectResult describeObject(DescribeObjectRequest request)
Gets the headers for an object at the specified path.
describeObject
in interface AWSMediaStoreData
describeObjectRequest
- ContainerNotFoundException
- The specified container was not found for the specified account.ObjectNotFoundException
- Could not perform an operation on an object that does not exist.InternalServerErrorException
- The service is temporarily unavailable.public GetObjectResult getObject(GetObjectRequest request)
Downloads the object at the specified path. If the object’s upload availability is set to streaming
,
AWS Elemental MediaStore downloads the object even if it’s still uploading the object.
getObject
in interface AWSMediaStoreData
getObjectRequest
- ContainerNotFoundException
- The specified container was not found for the specified account.ObjectNotFoundException
- Could not perform an operation on an object that does not exist.RequestedRangeNotSatisfiableException
- The requested content range is not valid.InternalServerErrorException
- The service is temporarily unavailable.public ListItemsResult listItems(ListItemsRequest request)
Provides a list of metadata entries about folders and objects in the specified folder.
listItems
in interface AWSMediaStoreData
listItemsRequest
- ContainerNotFoundException
- The specified container was not found for the specified account.InternalServerErrorException
- The service is temporarily unavailable.public PutObjectResult putObject(PutObjectRequest request)
Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.
putObject
in interface AWSMediaStoreData
putObjectRequest
- ContainerNotFoundException
- The specified container was not found for the specified account.InternalServerErrorException
- The service is temporarily unavailable.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSMediaStoreData
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSMediaStoreData
shutdown
in class AmazonWebServiceClient