@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonDocDBElastic
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonDocDBElastic
instead.
Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity. Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances.
Amazon DocumentDB elastic-clusters were created to:
provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility.
give customers higher connection limits, and to reduce downtime from patching.
continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CopyClusterSnapshotResult |
copyClusterSnapshot(CopyClusterSnapshotRequest copyClusterSnapshotRequest)
Copies a snapshot of an elastic cluster.
|
CreateClusterResult |
createCluster(CreateClusterRequest createClusterRequest)
Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
|
CreateClusterSnapshotResult |
createClusterSnapshot(CreateClusterSnapshotRequest createClusterSnapshotRequest)
Creates a snapshot of an elastic cluster.
|
DeleteClusterResult |
deleteCluster(DeleteClusterRequest deleteClusterRequest)
Delete an elastic cluster.
|
DeleteClusterSnapshotResult |
deleteClusterSnapshot(DeleteClusterSnapshotRequest deleteClusterSnapshotRequest)
Delete an elastic cluster snapshot.
|
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.
|
GetClusterResult |
getCluster(GetClusterRequest getClusterRequest)
Returns information about a specific elastic cluster.
|
GetClusterSnapshotResult |
getClusterSnapshot(GetClusterSnapshotRequest getClusterSnapshotRequest)
Returns information about a specific elastic cluster snapshot
|
ListClustersResult |
listClusters(ListClustersRequest listClustersRequest)
Returns information about provisioned Amazon DocumentDB elastic clusters.
|
ListClusterSnapshotsResult |
listClusterSnapshots(ListClusterSnapshotsRequest listClusterSnapshotsRequest)
Returns information about snapshots for a specified elastic cluster.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags on a elastic cluster resource
|
RestoreClusterFromSnapshotResult |
restoreClusterFromSnapshot(RestoreClusterFromSnapshotRequest restoreClusterFromSnapshotRequest)
Restores an elastic cluster from a snapshot.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartClusterResult |
startCluster(StartClusterRequest startClusterRequest)
Restarts the stopped elastic cluster that is specified by
clusterARN . |
StopClusterResult |
stopCluster(StopClusterRequest stopClusterRequest)
Stops the running elastic cluster that is specified by
clusterArn . |
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds metadata tags to an elastic cluster resource
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes metadata tags from an elastic cluster resource
|
UpdateClusterResult |
updateCluster(UpdateClusterRequest updateClusterRequest)
Modifies an elastic cluster.
|
static final String ENDPOINT_PREFIX
CopyClusterSnapshotResult copyClusterSnapshot(CopyClusterSnapshotRequest copyClusterSnapshotRequest)
Copies a snapshot of an elastic cluster.
copyClusterSnapshotRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ServiceQuotaExceededException
- The service quota for the action was exceeded.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.CreateClusterResult createCluster(CreateClusterRequest createClusterRequest)
Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
createClusterRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ServiceQuotaExceededException
- The service quota for the action was exceeded.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.CreateClusterSnapshotResult createClusterSnapshot(CreateClusterSnapshotRequest createClusterSnapshotRequest)
Creates a snapshot of an elastic cluster.
createClusterSnapshotRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ServiceQuotaExceededException
- The service quota for the action was exceeded.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.DeleteClusterResult deleteCluster(DeleteClusterRequest deleteClusterRequest)
Delete an elastic cluster.
deleteClusterRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.DeleteClusterSnapshotResult deleteClusterSnapshot(DeleteClusterSnapshotRequest deleteClusterSnapshotRequest)
Delete an elastic cluster snapshot.
deleteClusterSnapshotRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.GetClusterResult getCluster(GetClusterRequest getClusterRequest)
Returns information about a specific elastic cluster.
getClusterRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.GetClusterSnapshotResult getClusterSnapshot(GetClusterSnapshotRequest getClusterSnapshotRequest)
Returns information about a specific elastic cluster snapshot
getClusterSnapshotRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.ListClusterSnapshotsResult listClusterSnapshots(ListClusterSnapshotsRequest listClusterSnapshotsRequest)
Returns information about snapshots for a specified elastic cluster.
listClusterSnapshotsRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.ListClustersResult listClusters(ListClustersRequest listClustersRequest)
Returns information about provisioned Amazon DocumentDB elastic clusters.
listClustersRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags on a elastic cluster resource
listTagsForResourceRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.RestoreClusterFromSnapshotResult restoreClusterFromSnapshot(RestoreClusterFromSnapshotRequest restoreClusterFromSnapshotRequest)
Restores an elastic cluster from a snapshot.
restoreClusterFromSnapshotRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ServiceQuotaExceededException
- The service quota for the action was exceeded.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.StartClusterResult startCluster(StartClusterRequest startClusterRequest)
Restarts the stopped elastic cluster that is specified by clusterARN
.
startClusterRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.StopClusterResult stopCluster(StopClusterRequest stopClusterRequest)
Stops the running elastic cluster that is specified by clusterArn
. The elastic cluster must be in
the available state.
stopClusterRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds metadata tags to an elastic cluster resource
tagResourceRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes metadata tags from an elastic cluster resource
untagResourceRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.UpdateClusterResult updateCluster(UpdateClusterRequest updateClusterRequest)
Modifies an elastic cluster. This includes updating admin-username/password, upgrading the API version, and setting up a backup window and maintenance window
updateClusterRequest
- ThrottlingException
- ThrottlingException will be thrown when request was denied due to request throttling.ValidationException
- A structure defining a validation exception.ConflictException
- There was an access conflict.InternalServerException
- There was an internal server error.ResourceNotFoundException
- The specified resource could not be located.AccessDeniedException
- An exception that occurs when there are not sufficient permissions to perform an action.void shutdown()
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 a request.
request
- The originally executed request.