@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDocDBElasticClient extends AmazonWebServiceClient implements AmazonDocDBElastic
The new Amazon Elastic DocumentDB service endpoint.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonDocDBElasticClientBuilder |
builder() |
CreateClusterResult |
createCluster(CreateClusterRequest request)
Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
|
CreateClusterSnapshotResult |
createClusterSnapshot(CreateClusterSnapshotRequest request)
Creates a snapshot of a cluster.
|
DeleteClusterResult |
deleteCluster(DeleteClusterRequest request)
Delete a Elastic DocumentDB cluster.
|
DeleteClusterSnapshotResult |
deleteClusterSnapshot(DeleteClusterSnapshotRequest request)
Delete a Elastic DocumentDB 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 request)
Returns information about a specific Elastic DocumentDB cluster.
|
GetClusterSnapshotResult |
getClusterSnapshot(GetClusterSnapshotRequest request)
Returns information about a specific Elastic DocumentDB snapshot
|
ListClustersResult |
listClusters(ListClustersRequest request)
Returns information about provisioned Elastic DocumentDB clusters.
|
ListClusterSnapshotsResult |
listClusterSnapshots(ListClusterSnapshotsRequest request)
Returns information about Elastic DocumentDB snapshots for a specified cluster.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags on a Elastic DocumentDB resource
|
RestoreClusterFromSnapshotResult |
restoreClusterFromSnapshot(RestoreClusterFromSnapshotRequest request)
Restores a Elastic DocumentDB cluster from a snapshot.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds metadata tags to a Elastic DocumentDB resource
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes metadata tags to a Elastic DocumentDB resource
|
UpdateClusterResult |
updateCluster(UpdateClusterRequest request)
Modifies a Elastic DocumentDB cluster.
|
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 AmazonDocDBElasticClientBuilder builder()
public CreateClusterResult createCluster(CreateClusterRequest request)
Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
createCluster
in interface AmazonDocDBElastic
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.public CreateClusterSnapshotResult createClusterSnapshot(CreateClusterSnapshotRequest request)
Creates a snapshot of a cluster.
createClusterSnapshot
in interface AmazonDocDBElastic
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.public DeleteClusterResult deleteCluster(DeleteClusterRequest request)
Delete a Elastic DocumentDB cluster.
deleteCluster
in interface AmazonDocDBElastic
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.public DeleteClusterSnapshotResult deleteClusterSnapshot(DeleteClusterSnapshotRequest request)
Delete a Elastic DocumentDB snapshot.
deleteClusterSnapshot
in interface AmazonDocDBElastic
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.public GetClusterResult getCluster(GetClusterRequest request)
Returns information about a specific Elastic DocumentDB cluster.
getCluster
in interface AmazonDocDBElastic
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.public GetClusterSnapshotResult getClusterSnapshot(GetClusterSnapshotRequest request)
Returns information about a specific Elastic DocumentDB snapshot
getClusterSnapshot
in interface AmazonDocDBElastic
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.public ListClusterSnapshotsResult listClusterSnapshots(ListClusterSnapshotsRequest request)
Returns information about Elastic DocumentDB snapshots for a specified cluster.
listClusterSnapshots
in interface AmazonDocDBElastic
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.public ListClustersResult listClusters(ListClustersRequest request)
Returns information about provisioned Elastic DocumentDB clusters.
listClusters
in interface AmazonDocDBElastic
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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all tags on a Elastic DocumentDB resource
listTagsForResource
in interface AmazonDocDBElastic
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.public RestoreClusterFromSnapshotResult restoreClusterFromSnapshot(RestoreClusterFromSnapshotRequest request)
Restores a Elastic DocumentDB cluster from a snapshot.
restoreClusterFromSnapshot
in interface AmazonDocDBElastic
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.public TagResourceResult tagResource(TagResourceRequest request)
Adds metadata tags to a Elastic DocumentDB resource
tagResource
in interface AmazonDocDBElastic
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.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes metadata tags to a Elastic DocumentDB resource
untagResource
in interface AmazonDocDBElastic
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.public UpdateClusterResult updateCluster(UpdateClusterRequest request)
Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
updateCluster
in interface AmazonDocDBElastic
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.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 AmazonDocDBElastic
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonDocDBElastic
shutdown
in class AmazonWebServiceClient