@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSRedshiftServerlessAsyncClient extends AWSRedshiftServerlessClient implements AWSRedshiftServerlessAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.
Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers.
To learn more about Amazon Redshift Serverless, see What is Amazon Redshift Serverless.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, convertRecoveryPointToSnapshot, createEndpointAccess, createNamespace, createSnapshot, createUsageLimit, createWorkgroup, deleteEndpointAccess, deleteNamespace, deleteResourcePolicy, deleteSnapshot, deleteUsageLimit, deleteWorkgroup, getCachedResponseMetadata, getCredentials, getEndpointAccess, getNamespace, getRecoveryPoint, getResourcePolicy, getSnapshot, getTableRestoreStatus, getUsageLimit, getWorkgroup, listEndpointAccess, listNamespaces, listRecoveryPoints, listSnapshots, listTableRestoreStatus, listTagsForResource, listUsageLimits, listWorkgroups, putResourcePolicy, restoreFromRecoveryPoint, restoreFromSnapshot, restoreTableFromSnapshot, tagResource, untagResource, updateEndpointAccess, updateNamespace, updateSnapshot, updateUsageLimit, updateWorkgroupaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertRecoveryPointToSnapshot, createEndpointAccess, createNamespace, createSnapshot, createUsageLimit, createWorkgroup, deleteEndpointAccess, deleteNamespace, deleteResourcePolicy, deleteSnapshot, deleteUsageLimit, deleteWorkgroup, getCachedResponseMetadata, getCredentials, getEndpointAccess, getNamespace, getRecoveryPoint, getResourcePolicy, getSnapshot, getTableRestoreStatus, getUsageLimit, getWorkgroup, listEndpointAccess, listNamespaces, listRecoveryPoints, listSnapshots, listTableRestoreStatus, listTagsForResource, listUsageLimits, listWorkgroups, putResourcePolicy, restoreFromRecoveryPoint, restoreFromSnapshot, restoreTableFromSnapshot, tagResource, untagResource, updateEndpointAccess, updateNamespace, updateSnapshot, updateUsageLimit, updateWorkgrouppublic static AWSRedshiftServerlessAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<ConvertRecoveryPointToSnapshotResult> convertRecoveryPointToSnapshotAsync(ConvertRecoveryPointToSnapshotRequest request)
AWSRedshiftServerlessAsyncConverts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
convertRecoveryPointToSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<ConvertRecoveryPointToSnapshotResult> convertRecoveryPointToSnapshotAsync(ConvertRecoveryPointToSnapshotRequest request, AsyncHandler<ConvertRecoveryPointToSnapshotRequest,ConvertRecoveryPointToSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncConverts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
convertRecoveryPointToSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEndpointAccessResult> createEndpointAccessAsync(CreateEndpointAccessRequest request)
AWSRedshiftServerlessAsyncCreates an Amazon Redshift Serverless managed VPC endpoint.
createEndpointAccessAsync in interface AWSRedshiftServerlessAsyncpublic Future<CreateEndpointAccessResult> createEndpointAccessAsync(CreateEndpointAccessRequest request, AsyncHandler<CreateEndpointAccessRequest,CreateEndpointAccessResult> asyncHandler)
AWSRedshiftServerlessAsyncCreates an Amazon Redshift Serverless managed VPC endpoint.
createEndpointAccessAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateNamespaceResult> createNamespaceAsync(CreateNamespaceRequest request)
AWSRedshiftServerlessAsyncCreates a namespace in Amazon Redshift Serverless.
createNamespaceAsync in interface AWSRedshiftServerlessAsyncpublic Future<CreateNamespaceResult> createNamespaceAsync(CreateNamespaceRequest request, AsyncHandler<CreateNamespaceRequest,CreateNamespaceResult> asyncHandler)
AWSRedshiftServerlessAsyncCreates a namespace in Amazon Redshift Serverless.
createNamespaceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
AWSRedshiftServerlessAsyncCreates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points.
createSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncCreates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points.
createSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateUsageLimitResult> createUsageLimitAsync(CreateUsageLimitRequest request)
AWSRedshiftServerlessAsyncCreates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
createUsageLimitAsync in interface AWSRedshiftServerlessAsyncpublic Future<CreateUsageLimitResult> createUsageLimitAsync(CreateUsageLimitRequest request, AsyncHandler<CreateUsageLimitRequest,CreateUsageLimitResult> asyncHandler)
AWSRedshiftServerlessAsyncCreates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
createUsageLimitAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWorkgroupResult> createWorkgroupAsync(CreateWorkgroupRequest request)
AWSRedshiftServerlessAsyncCreates an workgroup in Amazon Redshift Serverless.
createWorkgroupAsync in interface AWSRedshiftServerlessAsyncpublic Future<CreateWorkgroupResult> createWorkgroupAsync(CreateWorkgroupRequest request, AsyncHandler<CreateWorkgroupRequest,CreateWorkgroupResult> asyncHandler)
AWSRedshiftServerlessAsyncCreates an workgroup in Amazon Redshift Serverless.
createWorkgroupAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEndpointAccessResult> deleteEndpointAccessAsync(DeleteEndpointAccessRequest request)
AWSRedshiftServerlessAsyncDeletes an Amazon Redshift Serverless managed VPC endpoint.
deleteEndpointAccessAsync in interface AWSRedshiftServerlessAsyncpublic Future<DeleteEndpointAccessResult> deleteEndpointAccessAsync(DeleteEndpointAccessRequest request, AsyncHandler<DeleteEndpointAccessRequest,DeleteEndpointAccessResult> asyncHandler)
AWSRedshiftServerlessAsyncDeletes an Amazon Redshift Serverless managed VPC endpoint.
deleteEndpointAccessAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteNamespaceResult> deleteNamespaceAsync(DeleteNamespaceRequest request)
AWSRedshiftServerlessAsyncDeletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.
deleteNamespaceAsync in interface AWSRedshiftServerlessAsyncpublic Future<DeleteNamespaceResult> deleteNamespaceAsync(DeleteNamespaceRequest request, AsyncHandler<DeleteNamespaceRequest,DeleteNamespaceResult> asyncHandler)
AWSRedshiftServerlessAsyncDeletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.
deleteNamespaceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSRedshiftServerlessAsyncDeletes the specified resource policy.
deleteResourcePolicyAsync in interface AWSRedshiftServerlessAsyncpublic Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSRedshiftServerlessAsyncDeletes the specified resource policy.
deleteResourcePolicyAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
AWSRedshiftServerlessAsyncDeletes a snapshot from Amazon Redshift Serverless.
deleteSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncDeletes a snapshot from Amazon Redshift Serverless.
deleteSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteUsageLimitResult> deleteUsageLimitAsync(DeleteUsageLimitRequest request)
AWSRedshiftServerlessAsyncDeletes a usage limit from Amazon Redshift Serverless.
deleteUsageLimitAsync in interface AWSRedshiftServerlessAsyncpublic Future<DeleteUsageLimitResult> deleteUsageLimitAsync(DeleteUsageLimitRequest request, AsyncHandler<DeleteUsageLimitRequest,DeleteUsageLimitResult> asyncHandler)
AWSRedshiftServerlessAsyncDeletes a usage limit from Amazon Redshift Serverless.
deleteUsageLimitAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteWorkgroupResult> deleteWorkgroupAsync(DeleteWorkgroupRequest request)
AWSRedshiftServerlessAsyncDeletes a workgroup.
deleteWorkgroupAsync in interface AWSRedshiftServerlessAsyncpublic Future<DeleteWorkgroupResult> deleteWorkgroupAsync(DeleteWorkgroupRequest request, AsyncHandler<DeleteWorkgroupRequest,DeleteWorkgroupResult> asyncHandler)
AWSRedshiftServerlessAsyncDeletes a workgroup.
deleteWorkgroupAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCredentialsResult> getCredentialsAsync(GetCredentialsRequest request)
AWSRedshiftServerlessAsyncReturns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.
By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).
<p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
getCredentialsAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetCredentialsResult> getCredentialsAsync(GetCredentialsRequest request, AsyncHandler<GetCredentialsRequest,GetCredentialsResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.
By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).
<p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
getCredentialsAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEndpointAccessResult> getEndpointAccessAsync(GetEndpointAccessRequest request)
AWSRedshiftServerlessAsyncReturns information, such as the name, about a VPC endpoint.
getEndpointAccessAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetEndpointAccessResult> getEndpointAccessAsync(GetEndpointAccessRequest request, AsyncHandler<GetEndpointAccessRequest,GetEndpointAccessResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information, such as the name, about a VPC endpoint.
getEndpointAccessAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetNamespaceResult> getNamespaceAsync(GetNamespaceRequest request)
AWSRedshiftServerlessAsyncReturns information about a namespace in Amazon Redshift Serverless.
getNamespaceAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetNamespaceResult> getNamespaceAsync(GetNamespaceRequest request, AsyncHandler<GetNamespaceRequest,GetNamespaceResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a namespace in Amazon Redshift Serverless.
getNamespaceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRecoveryPointResult> getRecoveryPointAsync(GetRecoveryPointRequest request)
AWSRedshiftServerlessAsyncReturns information about a recovery point.
getRecoveryPointAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetRecoveryPointResult> getRecoveryPointAsync(GetRecoveryPointRequest request, AsyncHandler<GetRecoveryPointRequest,GetRecoveryPointResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a recovery point.
getRecoveryPointAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSRedshiftServerlessAsyncReturns a resource policy.
getResourcePolicyAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns a resource policy.
getResourcePolicyAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSnapshotResult> getSnapshotAsync(GetSnapshotRequest request)
AWSRedshiftServerlessAsyncReturns information about a specific snapshot.
getSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetSnapshotResult> getSnapshotAsync(GetSnapshotRequest request, AsyncHandler<GetSnapshotRequest,GetSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a specific snapshot.
getSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTableRestoreStatusResult> getTableRestoreStatusAsync(GetTableRestoreStatusRequest request)
AWSRedshiftServerlessAsync
Returns information about a TableRestoreStatus object.
getTableRestoreStatusAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetTableRestoreStatusResult> getTableRestoreStatusAsync(GetTableRestoreStatusRequest request, AsyncHandler<GetTableRestoreStatusRequest,GetTableRestoreStatusResult> asyncHandler)
AWSRedshiftServerlessAsync
Returns information about a TableRestoreStatus object.
getTableRestoreStatusAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetUsageLimitResult> getUsageLimitAsync(GetUsageLimitRequest request)
AWSRedshiftServerlessAsyncReturns information about a usage limit.
getUsageLimitAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetUsageLimitResult> getUsageLimitAsync(GetUsageLimitRequest request, AsyncHandler<GetUsageLimitRequest,GetUsageLimitResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a usage limit.
getUsageLimitAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetWorkgroupResult> getWorkgroupAsync(GetWorkgroupRequest request)
AWSRedshiftServerlessAsyncReturns information about a specific workgroup.
getWorkgroupAsync in interface AWSRedshiftServerlessAsyncpublic Future<GetWorkgroupResult> getWorkgroupAsync(GetWorkgroupRequest request, AsyncHandler<GetWorkgroupRequest,GetWorkgroupResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a specific workgroup.
getWorkgroupAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEndpointAccessResult> listEndpointAccessAsync(ListEndpointAccessRequest request)
AWSRedshiftServerlessAsync
Returns an array of EndpointAccess objects and relevant information.
listEndpointAccessAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListEndpointAccessResult> listEndpointAccessAsync(ListEndpointAccessRequest request, AsyncHandler<ListEndpointAccessRequest,ListEndpointAccessResult> asyncHandler)
AWSRedshiftServerlessAsync
Returns an array of EndpointAccess objects and relevant information.
listEndpointAccessAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListNamespacesResult> listNamespacesAsync(ListNamespacesRequest request)
AWSRedshiftServerlessAsyncReturns information about a list of specified namespaces.
listNamespacesAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListNamespacesResult> listNamespacesAsync(ListNamespacesRequest request, AsyncHandler<ListNamespacesRequest,ListNamespacesResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a list of specified namespaces.
listNamespacesAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecoveryPointsResult> listRecoveryPointsAsync(ListRecoveryPointsRequest request)
AWSRedshiftServerlessAsyncReturns an array of recovery points.
listRecoveryPointsAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListRecoveryPointsResult> listRecoveryPointsAsync(ListRecoveryPointsRequest request, AsyncHandler<ListRecoveryPointsRequest,ListRecoveryPointsResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns an array of recovery points.
listRecoveryPointsAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSnapshotsResult> listSnapshotsAsync(ListSnapshotsRequest request)
AWSRedshiftServerlessAsyncReturns a list of snapshots.
listSnapshotsAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListSnapshotsResult> listSnapshotsAsync(ListSnapshotsRequest request, AsyncHandler<ListSnapshotsRequest,ListSnapshotsResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns a list of snapshots.
listSnapshotsAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTableRestoreStatusResult> listTableRestoreStatusAsync(ListTableRestoreStatusRequest request)
AWSRedshiftServerlessAsync
Returns information about an array of TableRestoreStatus objects.
listTableRestoreStatusAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListTableRestoreStatusResult> listTableRestoreStatusAsync(ListTableRestoreStatusRequest request, AsyncHandler<ListTableRestoreStatusRequest,ListTableRestoreStatusResult> asyncHandler)
AWSRedshiftServerlessAsync
Returns information about an array of TableRestoreStatus objects.
listTableRestoreStatusAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSRedshiftServerlessAsyncLists the tags assigned to a resource.
listTagsForResourceAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSRedshiftServerlessAsyncLists the tags assigned to a resource.
listTagsForResourceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListUsageLimitsResult> listUsageLimitsAsync(ListUsageLimitsRequest request)
AWSRedshiftServerlessAsyncLists all usage limits within Amazon Redshift Serverless.
listUsageLimitsAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListUsageLimitsResult> listUsageLimitsAsync(ListUsageLimitsRequest request, AsyncHandler<ListUsageLimitsRequest,ListUsageLimitsResult> asyncHandler)
AWSRedshiftServerlessAsyncLists all usage limits within Amazon Redshift Serverless.
listUsageLimitsAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListWorkgroupsResult> listWorkgroupsAsync(ListWorkgroupsRequest request)
AWSRedshiftServerlessAsyncReturns information about a list of specified workgroups.
listWorkgroupsAsync in interface AWSRedshiftServerlessAsyncpublic Future<ListWorkgroupsResult> listWorkgroupsAsync(ListWorkgroupsRequest request, AsyncHandler<ListWorkgroupsRequest,ListWorkgroupsResult> asyncHandler)
AWSRedshiftServerlessAsyncReturns information about a list of specified workgroups.
listWorkgroupsAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AWSRedshiftServerlessAsyncCreates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
putResourcePolicyAsync in interface AWSRedshiftServerlessAsyncpublic Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AWSRedshiftServerlessAsyncCreates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
putResourcePolicyAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RestoreFromRecoveryPointResult> restoreFromRecoveryPointAsync(RestoreFromRecoveryPointRequest request)
AWSRedshiftServerlessAsyncRestore the data from a recovery point.
restoreFromRecoveryPointAsync in interface AWSRedshiftServerlessAsyncpublic Future<RestoreFromRecoveryPointResult> restoreFromRecoveryPointAsync(RestoreFromRecoveryPointRequest request, AsyncHandler<RestoreFromRecoveryPointRequest,RestoreFromRecoveryPointResult> asyncHandler)
AWSRedshiftServerlessAsyncRestore the data from a recovery point.
restoreFromRecoveryPointAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request)
AWSRedshiftServerlessAsyncRestores a namespace from a snapshot.
restoreFromSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request, AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncRestores a namespace from a snapshot.
restoreFromSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RestoreTableFromSnapshotResult> restoreTableFromSnapshotAsync(RestoreTableFromSnapshotRequest request)
AWSRedshiftServerlessAsyncRestores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.
restoreTableFromSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<RestoreTableFromSnapshotResult> restoreTableFromSnapshotAsync(RestoreTableFromSnapshotRequest request, AsyncHandler<RestoreTableFromSnapshotRequest,RestoreTableFromSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncRestores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.
restoreTableFromSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSRedshiftServerlessAsyncAssigns one or more tags to a resource.
tagResourceAsync in interface AWSRedshiftServerlessAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSRedshiftServerlessAsyncAssigns one or more tags to a resource.
tagResourceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSRedshiftServerlessAsyncRemoves a tag or set of tags from a resource.
untagResourceAsync in interface AWSRedshiftServerlessAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSRedshiftServerlessAsyncRemoves a tag or set of tags from a resource.
untagResourceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEndpointAccessResult> updateEndpointAccessAsync(UpdateEndpointAccessRequest request)
AWSRedshiftServerlessAsyncUpdates an Amazon Redshift Serverless managed endpoint.
updateEndpointAccessAsync in interface AWSRedshiftServerlessAsyncpublic Future<UpdateEndpointAccessResult> updateEndpointAccessAsync(UpdateEndpointAccessRequest request, AsyncHandler<UpdateEndpointAccessRequest,UpdateEndpointAccessResult> asyncHandler)
AWSRedshiftServerlessAsyncUpdates an Amazon Redshift Serverless managed endpoint.
updateEndpointAccessAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateNamespaceResult> updateNamespaceAsync(UpdateNamespaceRequest request)
AWSRedshiftServerlessAsync
Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one
request. For example, you must specify both adminUsername and adminUserPassword to
update either field, but you can't update both kmsKeyId and logExports in a single
request.
updateNamespaceAsync in interface AWSRedshiftServerlessAsyncpublic Future<UpdateNamespaceResult> updateNamespaceAsync(UpdateNamespaceRequest request, AsyncHandler<UpdateNamespaceRequest,UpdateNamespaceResult> asyncHandler)
AWSRedshiftServerlessAsync
Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one
request. For example, you must specify both adminUsername and adminUserPassword to
update either field, but you can't update both kmsKeyId and logExports in a single
request.
updateNamespaceAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSnapshotResult> updateSnapshotAsync(UpdateSnapshotRequest request)
AWSRedshiftServerlessAsyncUpdates a snapshot.
updateSnapshotAsync in interface AWSRedshiftServerlessAsyncpublic Future<UpdateSnapshotResult> updateSnapshotAsync(UpdateSnapshotRequest request, AsyncHandler<UpdateSnapshotRequest,UpdateSnapshotResult> asyncHandler)
AWSRedshiftServerlessAsyncUpdates a snapshot.
updateSnapshotAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateUsageLimitResult> updateUsageLimitAsync(UpdateUsageLimitRequest request)
AWSRedshiftServerlessAsyncUpdate a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
updateUsageLimitAsync in interface AWSRedshiftServerlessAsyncpublic Future<UpdateUsageLimitResult> updateUsageLimitAsync(UpdateUsageLimitRequest request, AsyncHandler<UpdateUsageLimitRequest,UpdateUsageLimitResult> asyncHandler)
AWSRedshiftServerlessAsyncUpdate a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
updateUsageLimitAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateWorkgroupResult> updateWorkgroupAsync(UpdateWorkgroupRequest request)
AWSRedshiftServerlessAsync
Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one
request. For example, you can update baseCapacity or port in a single request, but you
can't update both in the same request.
updateWorkgroupAsync in interface AWSRedshiftServerlessAsyncpublic Future<UpdateWorkgroupResult> updateWorkgroupAsync(UpdateWorkgroupRequest request, AsyncHandler<UpdateWorkgroupRequest,UpdateWorkgroupResult> asyncHandler)
AWSRedshiftServerlessAsync
Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one
request. For example, you can update baseCapacity or port in a single request, but you
can't update both in the same request.
updateWorkgroupAsync in interface AWSRedshiftServerlessAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSRedshiftServerlessshutdown in class AWSRedshiftServerlessClient