@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaStoreClient extends AmazonWebServiceClient implements AWSMediaStore
An AWS Elemental MediaStore container is a namespace that holds folders and objects. You use a container endpoint to create, read, and delete objects.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSMediaStoreClientBuilder |
builder() |
CreateContainerResult |
createContainer(CreateContainerRequest request)
Creates a storage container to hold objects.
|
DeleteContainerResult |
deleteContainer(DeleteContainerRequest request)
Deletes the specified container.
|
DeleteContainerPolicyResult |
deleteContainerPolicy(DeleteContainerPolicyRequest request)
Deletes the access policy that is associated with the specified container.
|
DescribeContainerResult |
describeContainer(DescribeContainerRequest request)
Retrieves the properties of the requested container.
|
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.
|
GetContainerPolicyResult |
getContainerPolicy(GetContainerPolicyRequest request)
Retrieves the access policy for the specified container.
|
ListContainersResult |
listContainers(ListContainersRequest request)
Lists the properties of all containers in AWS Elemental MediaStore.
|
PutContainerPolicyResult |
putContainerPolicy(PutContainerPolicyRequest request)
Creates an access policy for the specified container to restrict the users and clients that can access it.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AWSMediaStoreClientBuilder builder()
public CreateContainerResult createContainer(CreateContainerRequest request)
Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.
createContainer in interface AWSMediaStorecreateContainerRequest - ContainerInUseException - Resource already exists or is being updated.LimitExceededException - A service limit has been exceeded.InternalServerErrorException - The service is temporarily unavailable.public DeleteContainerResult deleteContainer(DeleteContainerRequest request)
Deletes the specified container. Before you make a DeleteContainer request, delete any objects in
the container or in any folders in the container. You can delete only empty containers.
deleteContainer in interface AWSMediaStoredeleteContainerRequest - ContainerInUseException - Resource already exists or is being updated.ContainerNotFoundException - Could not perform an operation on a container that does not exist.InternalServerErrorException - The service is temporarily unavailable.public DeleteContainerPolicyResult deleteContainerPolicy(DeleteContainerPolicyRequest request)
Deletes the access policy that is associated with the specified container.
deleteContainerPolicy in interface AWSMediaStoredeleteContainerPolicyRequest - ContainerInUseException - Resource already exists or is being updated.ContainerNotFoundException - Could not perform an operation on a container that does not exist.PolicyNotFoundException - Could not perform an operation on a policy that does not exist.InternalServerErrorException - The service is temporarily unavailable.public DescribeContainerResult describeContainer(DescribeContainerRequest request)
Retrieves the properties of the requested container. This returns a single Container object based on
ContainerName. To return all Container objects that are associated with a specified AWS
account, use ListContainers.
describeContainer in interface AWSMediaStoredescribeContainerRequest - ContainerNotFoundException - Could not perform an operation on a container that does not exist.InternalServerErrorException - The service is temporarily unavailable.public GetContainerPolicyResult getContainerPolicy(GetContainerPolicyRequest request)
Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
getContainerPolicy in interface AWSMediaStoregetContainerPolicyRequest - ContainerInUseException - Resource already exists or is being updated.ContainerNotFoundException - Could not perform an operation on a container that does not exist.PolicyNotFoundException - Could not perform an operation on a policy that does not exist.InternalServerErrorException - The service is temporarily unavailable.public ListContainersResult listContainers(ListContainersRequest request)
Lists the properties of all containers in AWS Elemental MediaStore.
You can query to receive all the containers in one response. Or you can include the MaxResults
parameter to receive a limited number of containers in each response. In this case, the response includes a
token. To get the next set of containers, send the command again, this time with the NextToken
parameter (with the returned token as its value). The next set of responses appears, with a token if there are
still more containers to receive.
See also DescribeContainer, which gets the properties of one container.
listContainers in interface AWSMediaStorelistContainersRequest - InternalServerErrorException - The service is temporarily unavailable.public PutContainerPolicyResult putContainerPolicy(PutContainerPolicyRequest request)
Creates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
For this release of the REST API, you can create only one policy for a container. If you enter
PutContainerPolicy twice, the second command modifies the existing policy.
putContainerPolicy in interface AWSMediaStoreputContainerPolicyRequest - ContainerNotFoundException - Could not perform an operation on a container that does not exist.ContainerInUseException - Resource already exists or is being updated.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 AWSMediaStorerequest - The originally executed requestCopyright © 2018. All rights reserved.