@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDocDBElasticClient extends AmazonWebServiceClient implements AmazonDocDBElastic
The new Amazon Elastic DocumentDB service endpoint.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_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, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
public static AmazonDocDBElasticClientBuilder builder()
public CreateClusterResult createCluster(CreateClusterRequest request)
Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
createCluster in interface AmazonDocDBElasticcreateClusterRequest - 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 AmazonDocDBElasticcreateClusterSnapshotRequest - 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 AmazonDocDBElasticdeleteClusterRequest - 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 AmazonDocDBElasticdeleteClusterSnapshotRequest - 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 AmazonDocDBElasticgetClusterRequest - 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 AmazonDocDBElasticgetClusterSnapshotRequest - 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 AmazonDocDBElasticlistClusterSnapshotsRequest - 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 AmazonDocDBElasticlistClustersRequest - 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 AmazonDocDBElasticlistTagsForResourceRequest - 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 AmazonDocDBElasticrestoreClusterFromSnapshotRequest - 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 AmazonDocDBElastictagResourceRequest - 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 AmazonDocDBElasticuntagResourceRequest - 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 AmazonDocDBElasticupdateClusterRequest - 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 AmazonDocDBElasticrequest - The originally executed requestpublic void shutdown()
AmazonDocDBElasticshutdown in interface AmazonDocDBElasticshutdown in class AmazonWebServiceClientCopyright © 2022. All rights reserved.