@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface RedshiftServerlessAsyncClient extends SdkClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static RedshiftServerlessAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
RedshiftServerlessAsyncClient. |
default CompletableFuture<ConvertRecoveryPointToSnapshotResponse> |
convertRecoveryPointToSnapshot(Consumer<ConvertRecoveryPointToSnapshotRequest.Builder> convertRecoveryPointToSnapshotRequest)
Converts a recovery point to a snapshot.
|
default CompletableFuture<ConvertRecoveryPointToSnapshotResponse> |
convertRecoveryPointToSnapshot(ConvertRecoveryPointToSnapshotRequest convertRecoveryPointToSnapshotRequest)
Converts a recovery point to a snapshot.
|
static RedshiftServerlessAsyncClient |
create()
Create a
RedshiftServerlessAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateEndpointAccessResponse> |
createEndpointAccess(Consumer<CreateEndpointAccessRequest.Builder> createEndpointAccessRequest)
Creates an Amazon Redshift Serverless managed VPC endpoint.
|
default CompletableFuture<CreateEndpointAccessResponse> |
createEndpointAccess(CreateEndpointAccessRequest createEndpointAccessRequest)
Creates an Amazon Redshift Serverless managed VPC endpoint.
|
default CompletableFuture<CreateNamespaceResponse> |
createNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest)
Creates a namespace in Amazon Redshift Serverless.
|
default CompletableFuture<CreateNamespaceResponse> |
createNamespace(CreateNamespaceRequest createNamespaceRequest)
Creates a namespace in Amazon Redshift Serverless.
|
default CompletableFuture<CreateSnapshotResponse> |
createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest)
Creates a snapshot of all databases in a namespace.
|
default CompletableFuture<CreateSnapshotResponse> |
createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of all databases in a namespace.
|
default CompletableFuture<CreateUsageLimitResponse> |
createUsageLimit(Consumer<CreateUsageLimitRequest.Builder> createUsageLimitRequest)
Creates a usage limit for a specified Amazon Redshift Serverless usage type.
|
default CompletableFuture<CreateUsageLimitResponse> |
createUsageLimit(CreateUsageLimitRequest createUsageLimitRequest)
Creates a usage limit for a specified Amazon Redshift Serverless usage type.
|
default CompletableFuture<CreateWorkgroupResponse> |
createWorkgroup(Consumer<CreateWorkgroupRequest.Builder> createWorkgroupRequest)
Creates an workgroup in Amazon Redshift Serverless.
|
default CompletableFuture<CreateWorkgroupResponse> |
createWorkgroup(CreateWorkgroupRequest createWorkgroupRequest)
Creates an workgroup in Amazon Redshift Serverless.
|
default CompletableFuture<DeleteEndpointAccessResponse> |
deleteEndpointAccess(Consumer<DeleteEndpointAccessRequest.Builder> deleteEndpointAccessRequest)
Deletes an Amazon Redshift Serverless managed VPC endpoint.
|
default CompletableFuture<DeleteEndpointAccessResponse> |
deleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest)
Deletes an Amazon Redshift Serverless managed VPC endpoint.
|
default CompletableFuture<DeleteNamespaceResponse> |
deleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest)
Deletes a namespace from Amazon Redshift Serverless.
|
default CompletableFuture<DeleteNamespaceResponse> |
deleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest)
Deletes a namespace from Amazon Redshift Serverless.
|
default CompletableFuture<DeleteResourcePolicyResponse> |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
default CompletableFuture<DeleteResourcePolicyResponse> |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
default CompletableFuture<DeleteSnapshotResponse> |
deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest)
Deletes a snapshot from Amazon Redshift Serverless.
|
default CompletableFuture<DeleteSnapshotResponse> |
deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes a snapshot from Amazon Redshift Serverless.
|
default CompletableFuture<DeleteUsageLimitResponse> |
deleteUsageLimit(Consumer<DeleteUsageLimitRequest.Builder> deleteUsageLimitRequest)
Deletes a usage limit from Amazon Redshift Serverless.
|
default CompletableFuture<DeleteUsageLimitResponse> |
deleteUsageLimit(DeleteUsageLimitRequest deleteUsageLimitRequest)
Deletes a usage limit from Amazon Redshift Serverless.
|
default CompletableFuture<DeleteWorkgroupResponse> |
deleteWorkgroup(Consumer<DeleteWorkgroupRequest.Builder> deleteWorkgroupRequest)
Deletes a workgroup.
|
default CompletableFuture<DeleteWorkgroupResponse> |
deleteWorkgroup(DeleteWorkgroupRequest deleteWorkgroupRequest)
Deletes a workgroup.
|
default CompletableFuture<GetCredentialsResponse> |
getCredentials(Consumer<GetCredentialsRequest.Builder> getCredentialsRequest)
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift
Serverless.
|
default CompletableFuture<GetCredentialsResponse> |
getCredentials(GetCredentialsRequest getCredentialsRequest)
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift
Serverless.
|
default CompletableFuture<GetEndpointAccessResponse> |
getEndpointAccess(Consumer<GetEndpointAccessRequest.Builder> getEndpointAccessRequest)
Returns information, such as the name, about a VPC endpoint.
|
default CompletableFuture<GetEndpointAccessResponse> |
getEndpointAccess(GetEndpointAccessRequest getEndpointAccessRequest)
Returns information, such as the name, about a VPC endpoint.
|
default CompletableFuture<GetNamespaceResponse> |
getNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest)
Returns information about a namespace in Amazon Redshift Serverless.
|
default CompletableFuture<GetNamespaceResponse> |
getNamespace(GetNamespaceRequest getNamespaceRequest)
Returns information about a namespace in Amazon Redshift Serverless.
|
default CompletableFuture<GetRecoveryPointResponse> |
getRecoveryPoint(Consumer<GetRecoveryPointRequest.Builder> getRecoveryPointRequest)
Returns information about a recovery point.
|
default CompletableFuture<GetRecoveryPointResponse> |
getRecoveryPoint(GetRecoveryPointRequest getRecoveryPointRequest)
Returns information about a recovery point.
|
default CompletableFuture<GetResourcePolicyResponse> |
getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Returns a resource policy.
|
default CompletableFuture<GetResourcePolicyResponse> |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Returns a resource policy.
|
default CompletableFuture<GetSnapshotResponse> |
getSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest)
Returns information about a specific snapshot.
|
default CompletableFuture<GetSnapshotResponse> |
getSnapshot(GetSnapshotRequest getSnapshotRequest)
Returns information about a specific snapshot.
|
default CompletableFuture<GetUsageLimitResponse> |
getUsageLimit(Consumer<GetUsageLimitRequest.Builder> getUsageLimitRequest)
Returns information about a usage limit.
|
default CompletableFuture<GetUsageLimitResponse> |
getUsageLimit(GetUsageLimitRequest getUsageLimitRequest)
Returns information about a usage limit.
|
default CompletableFuture<GetWorkgroupResponse> |
getWorkgroup(Consumer<GetWorkgroupRequest.Builder> getWorkgroupRequest)
Returns information about a specific workgroup.
|
default CompletableFuture<GetWorkgroupResponse> |
getWorkgroup(GetWorkgroupRequest getWorkgroupRequest)
Returns information about a specific workgroup.
|
default CompletableFuture<ListEndpointAccessResponse> |
listEndpointAccess(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default CompletableFuture<ListEndpointAccessResponse> |
listEndpointAccess(ListEndpointAccessRequest listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default ListEndpointAccessPublisher |
listEndpointAccessPaginator(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default ListEndpointAccessPublisher |
listEndpointAccessPaginator(ListEndpointAccessRequest listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default CompletableFuture<ListNamespacesResponse> |
listNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default CompletableFuture<ListNamespacesResponse> |
listNamespaces(ListNamespacesRequest listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default ListNamespacesPublisher |
listNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default ListNamespacesPublisher |
listNamespacesPaginator(ListNamespacesRequest listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default CompletableFuture<ListRecoveryPointsResponse> |
listRecoveryPoints(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest)
Returns an array of recovery points.
|
default CompletableFuture<ListRecoveryPointsResponse> |
listRecoveryPoints(ListRecoveryPointsRequest listRecoveryPointsRequest)
Returns an array of recovery points.
|
default ListRecoveryPointsPublisher |
listRecoveryPointsPaginator(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest)
Returns an array of recovery points.
|
default ListRecoveryPointsPublisher |
listRecoveryPointsPaginator(ListRecoveryPointsRequest listRecoveryPointsRequest)
Returns an array of recovery points.
|
default CompletableFuture<ListSnapshotsResponse> |
listSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Returns a list of snapshots.
|
default CompletableFuture<ListSnapshotsResponse> |
listSnapshots(ListSnapshotsRequest listSnapshotsRequest)
Returns a list of snapshots.
|
default ListSnapshotsPublisher |
listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Returns a list of snapshots.
|
default ListSnapshotsPublisher |
listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest)
Returns a list of snapshots.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags assigned to a resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags assigned to a resource.
|
default CompletableFuture<ListUsageLimitsResponse> |
listUsageLimits(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default CompletableFuture<ListUsageLimitsResponse> |
listUsageLimits(ListUsageLimitsRequest listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default ListUsageLimitsPublisher |
listUsageLimitsPaginator(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default ListUsageLimitsPublisher |
listUsageLimitsPaginator(ListUsageLimitsRequest listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default CompletableFuture<ListWorkgroupsResponse> |
listWorkgroups(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default CompletableFuture<ListWorkgroupsResponse> |
listWorkgroups(ListWorkgroupsRequest listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default ListWorkgroupsPublisher |
listWorkgroupsPaginator(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default ListWorkgroupsPublisher |
listWorkgroupsPaginator(ListWorkgroupsRequest listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default CompletableFuture<PutResourcePolicyResponse> |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Creates or updates a resource policy.
|
default CompletableFuture<PutResourcePolicyResponse> |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Creates or updates a resource policy.
|
default CompletableFuture<RestoreFromRecoveryPointResponse> |
restoreFromRecoveryPoint(Consumer<RestoreFromRecoveryPointRequest.Builder> restoreFromRecoveryPointRequest)
Restore the data from a recovery point.
|
default CompletableFuture<RestoreFromRecoveryPointResponse> |
restoreFromRecoveryPoint(RestoreFromRecoveryPointRequest restoreFromRecoveryPointRequest)
Restore the data from a recovery point.
|
default CompletableFuture<RestoreFromSnapshotResponse> |
restoreFromSnapshot(Consumer<RestoreFromSnapshotRequest.Builder> restoreFromSnapshotRequest)
Restores a namespace from a snapshot.
|
default CompletableFuture<RestoreFromSnapshotResponse> |
restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest)
Restores a namespace from a snapshot.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns one or more tags to a resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags to a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes a tag or set of tags from a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or set of tags from a resource.
|
default CompletableFuture<UpdateEndpointAccessResponse> |
updateEndpointAccess(Consumer<UpdateEndpointAccessRequest.Builder> updateEndpointAccessRequest)
Updates an Amazon Redshift Serverless managed endpoint.
|
default CompletableFuture<UpdateEndpointAccessResponse> |
updateEndpointAccess(UpdateEndpointAccessRequest updateEndpointAccessRequest)
Updates an Amazon Redshift Serverless managed endpoint.
|
default CompletableFuture<UpdateNamespaceResponse> |
updateNamespace(Consumer<UpdateNamespaceRequest.Builder> updateNamespaceRequest)
Updates a namespace with the specified settings.
|
default CompletableFuture<UpdateNamespaceResponse> |
updateNamespace(UpdateNamespaceRequest updateNamespaceRequest)
Updates a namespace with the specified settings.
|
default CompletableFuture<UpdateSnapshotResponse> |
updateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest)
Updates a snapshot.
|
default CompletableFuture<UpdateSnapshotResponse> |
updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest)
Updates a snapshot.
|
default CompletableFuture<UpdateUsageLimitResponse> |
updateUsageLimit(Consumer<UpdateUsageLimitRequest.Builder> updateUsageLimitRequest)
Update a usage limit in Amazon Redshift Serverless.
|
default CompletableFuture<UpdateUsageLimitResponse> |
updateUsageLimit(UpdateUsageLimitRequest updateUsageLimitRequest)
Update a usage limit in Amazon Redshift Serverless.
|
default CompletableFuture<UpdateWorkgroupResponse> |
updateWorkgroup(Consumer<UpdateWorkgroupRequest.Builder> updateWorkgroupRequest)
Updates a workgroup with the specified configuration settings.
|
default CompletableFuture<UpdateWorkgroupResponse> |
updateWorkgroup(UpdateWorkgroupRequest updateWorkgroupRequest)
Updates a workgroup with the specified configuration settings.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static RedshiftServerlessAsyncClient create()
RedshiftServerlessAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static RedshiftServerlessAsyncClientBuilder builder()
RedshiftServerlessAsyncClient.default CompletableFuture<ConvertRecoveryPointToSnapshotResponse> convertRecoveryPointToSnapshot(ConvertRecoveryPointToSnapshotRequest convertRecoveryPointToSnapshotRequest)
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
convertRecoveryPointToSnapshotRequest - default CompletableFuture<ConvertRecoveryPointToSnapshotResponse> convertRecoveryPointToSnapshot(Consumer<ConvertRecoveryPointToSnapshotRequest.Builder> convertRecoveryPointToSnapshotRequest)
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
This is a convenience which creates an instance of the ConvertRecoveryPointToSnapshotRequest.Builder
avoiding the need to create one manually via ConvertRecoveryPointToSnapshotRequest.builder()
convertRecoveryPointToSnapshotRequest - A Consumer that will call methods on ConvertRecoveryPointToSnapshotRequest.Builder to
create a request.default CompletableFuture<CreateEndpointAccessResponse> createEndpointAccess(CreateEndpointAccessRequest createEndpointAccessRequest)
Creates an Amazon Redshift Serverless managed VPC endpoint.
createEndpointAccessRequest - default CompletableFuture<CreateEndpointAccessResponse> createEndpointAccess(Consumer<CreateEndpointAccessRequest.Builder> createEndpointAccessRequest)
Creates an Amazon Redshift Serverless managed VPC endpoint.
This is a convenience which creates an instance of the CreateEndpointAccessRequest.Builder avoiding the
need to create one manually via CreateEndpointAccessRequest.builder()
createEndpointAccessRequest - A Consumer that will call methods on CreateEndpointAccessRequest.Builder to create a
request.default CompletableFuture<CreateNamespaceResponse> createNamespace(CreateNamespaceRequest createNamespaceRequest)
Creates a namespace in Amazon Redshift Serverless.
createNamespaceRequest - default CompletableFuture<CreateNamespaceResponse> createNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest)
Creates a namespace in Amazon Redshift Serverless.
This is a convenience which creates an instance of the CreateNamespaceRequest.Builder avoiding the need
to create one manually via CreateNamespaceRequest.builder()
createNamespaceRequest - A Consumer that will call methods on CreateNamespaceRequest.Builder to create a request.default CompletableFuture<CreateSnapshotResponse> createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points.
createSnapshotRequest - default CompletableFuture<CreateSnapshotResponse> createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest)
Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points.
This is a convenience which creates an instance of the CreateSnapshotRequest.Builder avoiding the need to
create one manually via CreateSnapshotRequest.builder()
createSnapshotRequest - A Consumer that will call methods on CreateSnapshotRequest.Builder to create a request.default CompletableFuture<CreateUsageLimitResponse> createUsageLimit(CreateUsageLimitRequest createUsageLimitRequest)
Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
createUsageLimitRequest - default CompletableFuture<CreateUsageLimitResponse> createUsageLimit(Consumer<CreateUsageLimitRequest.Builder> createUsageLimitRequest)
Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
This is a convenience which creates an instance of the CreateUsageLimitRequest.Builder avoiding the need
to create one manually via CreateUsageLimitRequest.builder()
createUsageLimitRequest - A Consumer that will call methods on CreateUsageLimitRequest.Builder to create a request.default CompletableFuture<CreateWorkgroupResponse> createWorkgroup(CreateWorkgroupRequest createWorkgroupRequest)
Creates an workgroup in Amazon Redshift Serverless.
createWorkgroupRequest - default CompletableFuture<CreateWorkgroupResponse> createWorkgroup(Consumer<CreateWorkgroupRequest.Builder> createWorkgroupRequest)
Creates an workgroup in Amazon Redshift Serverless.
This is a convenience which creates an instance of the CreateWorkgroupRequest.Builder avoiding the need
to create one manually via CreateWorkgroupRequest.builder()
createWorkgroupRequest - A Consumer that will call methods on CreateWorkgroupRequest.Builder to create a request.default CompletableFuture<DeleteEndpointAccessResponse> deleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest)
Deletes an Amazon Redshift Serverless managed VPC endpoint.
deleteEndpointAccessRequest - default CompletableFuture<DeleteEndpointAccessResponse> deleteEndpointAccess(Consumer<DeleteEndpointAccessRequest.Builder> deleteEndpointAccessRequest)
Deletes an Amazon Redshift Serverless managed VPC endpoint.
This is a convenience which creates an instance of the DeleteEndpointAccessRequest.Builder avoiding the
need to create one manually via DeleteEndpointAccessRequest.builder()
deleteEndpointAccessRequest - A Consumer that will call methods on DeleteEndpointAccessRequest.Builder to create a
request.default CompletableFuture<DeleteNamespaceResponse> deleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest)
Deletes 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.
deleteNamespaceRequest - default CompletableFuture<DeleteNamespaceResponse> deleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest)
Deletes 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.
This is a convenience which creates an instance of the DeleteNamespaceRequest.Builder avoiding the need
to create one manually via DeleteNamespaceRequest.builder()
deleteNamespaceRequest - A Consumer that will call methods on DeleteNamespaceRequest.Builder to create a request.default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
deleteResourcePolicyRequest - default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes the specified resource policy.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a
request.default CompletableFuture<DeleteSnapshotResponse> deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes a snapshot from Amazon Redshift Serverless.
deleteSnapshotRequest - default CompletableFuture<DeleteSnapshotResponse> deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest)
Deletes a snapshot from Amazon Redshift Serverless.
This is a convenience which creates an instance of the DeleteSnapshotRequest.Builder avoiding the need to
create one manually via DeleteSnapshotRequest.builder()
deleteSnapshotRequest - A Consumer that will call methods on DeleteSnapshotRequest.Builder to create a request.default CompletableFuture<DeleteUsageLimitResponse> deleteUsageLimit(DeleteUsageLimitRequest deleteUsageLimitRequest)
Deletes a usage limit from Amazon Redshift Serverless.
deleteUsageLimitRequest - default CompletableFuture<DeleteUsageLimitResponse> deleteUsageLimit(Consumer<DeleteUsageLimitRequest.Builder> deleteUsageLimitRequest)
Deletes a usage limit from Amazon Redshift Serverless.
This is a convenience which creates an instance of the DeleteUsageLimitRequest.Builder avoiding the need
to create one manually via DeleteUsageLimitRequest.builder()
deleteUsageLimitRequest - A Consumer that will call methods on DeleteUsageLimitRequest.Builder to create a request.default CompletableFuture<DeleteWorkgroupResponse> deleteWorkgroup(DeleteWorkgroupRequest deleteWorkgroupRequest)
Deletes a workgroup.
deleteWorkgroupRequest - default CompletableFuture<DeleteWorkgroupResponse> deleteWorkgroup(Consumer<DeleteWorkgroupRequest.Builder> deleteWorkgroupRequest)
Deletes a workgroup.
This is a convenience which creates an instance of the DeleteWorkgroupRequest.Builder avoiding the need
to create one manually via DeleteWorkgroupRequest.builder()
deleteWorkgroupRequest - A Consumer that will call methods on DeleteWorkgroupRequest.Builder to create a request.default CompletableFuture<GetCredentialsResponse> getCredentials(GetCredentialsRequest getCredentialsRequest)
Returns 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>
getCredentialsRequest - default CompletableFuture<GetCredentialsResponse> getCredentials(Consumer<GetCredentialsRequest.Builder> getCredentialsRequest)
Returns 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>
This is a convenience which creates an instance of the GetCredentialsRequest.Builder avoiding the need to
create one manually via GetCredentialsRequest.builder()
getCredentialsRequest - A Consumer that will call methods on GetCredentialsRequest.Builder to create a request.default CompletableFuture<GetEndpointAccessResponse> getEndpointAccess(GetEndpointAccessRequest getEndpointAccessRequest)
Returns information, such as the name, about a VPC endpoint.
getEndpointAccessRequest - default CompletableFuture<GetEndpointAccessResponse> getEndpointAccess(Consumer<GetEndpointAccessRequest.Builder> getEndpointAccessRequest)
Returns information, such as the name, about a VPC endpoint.
This is a convenience which creates an instance of the GetEndpointAccessRequest.Builder avoiding the need
to create one manually via GetEndpointAccessRequest.builder()
getEndpointAccessRequest - A Consumer that will call methods on GetEndpointAccessRequest.Builder to create a request.default CompletableFuture<GetNamespaceResponse> getNamespace(GetNamespaceRequest getNamespaceRequest)
Returns information about a namespace in Amazon Redshift Serverless.
getNamespaceRequest - default CompletableFuture<GetNamespaceResponse> getNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest)
Returns information about a namespace in Amazon Redshift Serverless.
This is a convenience which creates an instance of the GetNamespaceRequest.Builder avoiding the need to
create one manually via GetNamespaceRequest.builder()
getNamespaceRequest - A Consumer that will call methods on GetNamespaceRequest.Builder to create a request.default CompletableFuture<GetRecoveryPointResponse> getRecoveryPoint(GetRecoveryPointRequest getRecoveryPointRequest)
Returns information about a recovery point.
getRecoveryPointRequest - default CompletableFuture<GetRecoveryPointResponse> getRecoveryPoint(Consumer<GetRecoveryPointRequest.Builder> getRecoveryPointRequest)
Returns information about a recovery point.
This is a convenience which creates an instance of the GetRecoveryPointRequest.Builder avoiding the need
to create one manually via GetRecoveryPointRequest.builder()
getRecoveryPointRequest - A Consumer that will call methods on GetRecoveryPointRequest.Builder to create a request.default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Returns a resource policy.
getResourcePolicyRequest - default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Returns a resource policy.
This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need
to create one manually via GetResourcePolicyRequest.builder()
getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.default CompletableFuture<GetSnapshotResponse> getSnapshot(GetSnapshotRequest getSnapshotRequest)
Returns information about a specific snapshot.
getSnapshotRequest - default CompletableFuture<GetSnapshotResponse> getSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest)
Returns information about a specific snapshot.
This is a convenience which creates an instance of the GetSnapshotRequest.Builder avoiding the need to
create one manually via GetSnapshotRequest.builder()
getSnapshotRequest - A Consumer that will call methods on GetSnapshotRequest.Builder to create a request.default CompletableFuture<GetUsageLimitResponse> getUsageLimit(GetUsageLimitRequest getUsageLimitRequest)
Returns information about a usage limit.
getUsageLimitRequest - default CompletableFuture<GetUsageLimitResponse> getUsageLimit(Consumer<GetUsageLimitRequest.Builder> getUsageLimitRequest)
Returns information about a usage limit.
This is a convenience which creates an instance of the GetUsageLimitRequest.Builder avoiding the need to
create one manually via GetUsageLimitRequest.builder()
getUsageLimitRequest - A Consumer that will call methods on GetUsageLimitRequest.Builder to create a request.default CompletableFuture<GetWorkgroupResponse> getWorkgroup(GetWorkgroupRequest getWorkgroupRequest)
Returns information about a specific workgroup.
getWorkgroupRequest - default CompletableFuture<GetWorkgroupResponse> getWorkgroup(Consumer<GetWorkgroupRequest.Builder> getWorkgroupRequest)
Returns information about a specific workgroup.
This is a convenience which creates an instance of the GetWorkgroupRequest.Builder avoiding the need to
create one manually via GetWorkgroupRequest.builder()
getWorkgroupRequest - A Consumer that will call methods on GetWorkgroupRequest.Builder to create a request.default CompletableFuture<ListEndpointAccessResponse> listEndpointAccess(ListEndpointAccessRequest listEndpointAccessRequest)
Returns an array of EndpointAccess objects and relevant information.
listEndpointAccessRequest - default CompletableFuture<ListEndpointAccessResponse> listEndpointAccess(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest)
Returns an array of EndpointAccess objects and relevant information.
This is a convenience which creates an instance of the ListEndpointAccessRequest.Builder avoiding the
need to create one manually via ListEndpointAccessRequest.builder()
listEndpointAccessRequest - A Consumer that will call methods on ListEndpointAccessRequest.Builder to create a
request.default ListEndpointAccessPublisher listEndpointAccessPaginator(ListEndpointAccessRequest listEndpointAccessRequest)
Returns an array of EndpointAccess objects and relevant information.
This is a variant of
listEndpointAccess(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessPublisher publisher = client.listEndpointAccessPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessPublisher publisher = client.listEndpointAccessPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEndpointAccess(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessRequest)
operation.
listEndpointAccessRequest - default ListEndpointAccessPublisher listEndpointAccessPaginator(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest)
Returns an array of EndpointAccess objects and relevant information.
This is a variant of
listEndpointAccess(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessPublisher publisher = client.listEndpointAccessPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessPublisher publisher = client.listEndpointAccessPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEndpointAccess(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessRequest)
operation.
This is a convenience which creates an instance of the ListEndpointAccessRequest.Builder avoiding the
need to create one manually via ListEndpointAccessRequest.builder()
listEndpointAccessRequest - A Consumer that will call methods on ListEndpointAccessRequest.Builder to create a
request.default CompletableFuture<ListNamespacesResponse> listNamespaces(ListNamespacesRequest listNamespacesRequest)
Returns information about a list of specified namespaces.
listNamespacesRequest - default CompletableFuture<ListNamespacesResponse> listNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest)
Returns information about a list of specified namespaces.
This is a convenience which creates an instance of the ListNamespacesRequest.Builder avoiding the need to
create one manually via ListNamespacesRequest.builder()
listNamespacesRequest - A Consumer that will call methods on ListNamespacesRequest.Builder to create a request.default ListNamespacesPublisher listNamespacesPaginator(ListNamespacesRequest listNamespacesRequest)
Returns information about a list of specified namespaces.
This is a variant of
listNamespaces(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNamespaces(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesRequest)
operation.
listNamespacesRequest - default ListNamespacesPublisher listNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest)
Returns information about a list of specified namespaces.
This is a variant of
listNamespaces(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNamespaces(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesRequest)
operation.
This is a convenience which creates an instance of the ListNamespacesRequest.Builder avoiding the need to
create one manually via ListNamespacesRequest.builder()
listNamespacesRequest - A Consumer that will call methods on ListNamespacesRequest.Builder to create a request.default CompletableFuture<ListRecoveryPointsResponse> listRecoveryPoints(ListRecoveryPointsRequest listRecoveryPointsRequest)
Returns an array of recovery points.
listRecoveryPointsRequest - default CompletableFuture<ListRecoveryPointsResponse> listRecoveryPoints(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest)
Returns an array of recovery points.
This is a convenience which creates an instance of the ListRecoveryPointsRequest.Builder avoiding the
need to create one manually via ListRecoveryPointsRequest.builder()
listRecoveryPointsRequest - A Consumer that will call methods on ListRecoveryPointsRequest.Builder to create a
request.default ListRecoveryPointsPublisher listRecoveryPointsPaginator(ListRecoveryPointsRequest listRecoveryPointsRequest)
Returns an array of recovery points.
This is a variant of
listRecoveryPoints(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsPublisher publisher = client.listRecoveryPointsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsPublisher publisher = client.listRecoveryPointsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPoints(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsRequest)
operation.
listRecoveryPointsRequest - default ListRecoveryPointsPublisher listRecoveryPointsPaginator(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest)
Returns an array of recovery points.
This is a variant of
listRecoveryPoints(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsPublisher publisher = client.listRecoveryPointsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsPublisher publisher = client.listRecoveryPointsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryPoints(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsRequest)
operation.
This is a convenience which creates an instance of the ListRecoveryPointsRequest.Builder avoiding the
need to create one manually via ListRecoveryPointsRequest.builder()
listRecoveryPointsRequest - A Consumer that will call methods on ListRecoveryPointsRequest.Builder to create a
request.default CompletableFuture<ListSnapshotsResponse> listSnapshots(ListSnapshotsRequest listSnapshotsRequest)
Returns a list of snapshots.
listSnapshotsRequest - default CompletableFuture<ListSnapshotsResponse> listSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Returns a list of snapshots.
This is a convenience which creates an instance of the ListSnapshotsRequest.Builder avoiding the need to
create one manually via ListSnapshotsRequest.builder()
listSnapshotsRequest - A Consumer that will call methods on ListSnapshotsRequest.Builder to create a request.default ListSnapshotsPublisher listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest)
Returns a list of snapshots.
This is a variant of
listSnapshots(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsPublisher publisher = client.listSnapshotsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsPublisher publisher = client.listSnapshotsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSnapshots(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsRequest)
operation.
listSnapshotsRequest - default ListSnapshotsPublisher listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Returns a list of snapshots.
This is a variant of
listSnapshots(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsPublisher publisher = client.listSnapshotsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsPublisher publisher = client.listSnapshotsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSnapshots(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsRequest)
operation.
This is a convenience which creates an instance of the ListSnapshotsRequest.Builder avoiding the need to
create one manually via ListSnapshotsRequest.builder()
listSnapshotsRequest - A Consumer that will call methods on ListSnapshotsRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags assigned to a resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags assigned to a resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<ListUsageLimitsResponse> listUsageLimits(ListUsageLimitsRequest listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
listUsageLimitsRequest - default CompletableFuture<ListUsageLimitsResponse> listUsageLimits(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
This is a convenience which creates an instance of the ListUsageLimitsRequest.Builder avoiding the need
to create one manually via ListUsageLimitsRequest.builder()
listUsageLimitsRequest - A Consumer that will call methods on ListUsageLimitsRequest.Builder to create a request.default ListUsageLimitsPublisher listUsageLimitsPaginator(ListUsageLimitsRequest listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
This is a variant of
listUsageLimits(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsPublisher publisher = client.listUsageLimitsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsPublisher publisher = client.listUsageLimitsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsageLimits(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsRequest)
operation.
listUsageLimitsRequest - default ListUsageLimitsPublisher listUsageLimitsPaginator(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
This is a variant of
listUsageLimits(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsPublisher publisher = client.listUsageLimitsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsPublisher publisher = client.listUsageLimitsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsageLimits(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsRequest)
operation.
This is a convenience which creates an instance of the ListUsageLimitsRequest.Builder avoiding the need
to create one manually via ListUsageLimitsRequest.builder()
listUsageLimitsRequest - A Consumer that will call methods on ListUsageLimitsRequest.Builder to create a request.default CompletableFuture<ListWorkgroupsResponse> listWorkgroups(ListWorkgroupsRequest listWorkgroupsRequest)
Returns information about a list of specified workgroups.
listWorkgroupsRequest - default CompletableFuture<ListWorkgroupsResponse> listWorkgroups(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest)
Returns information about a list of specified workgroups.
This is a convenience which creates an instance of the ListWorkgroupsRequest.Builder avoiding the need to
create one manually via ListWorkgroupsRequest.builder()
listWorkgroupsRequest - A Consumer that will call methods on ListWorkgroupsRequest.Builder to create a request.default ListWorkgroupsPublisher listWorkgroupsPaginator(ListWorkgroupsRequest listWorkgroupsRequest)
Returns information about a list of specified workgroups.
This is a variant of
listWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsPublisher publisher = client.listWorkgroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsPublisher publisher = client.listWorkgroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsRequest)
operation.
listWorkgroupsRequest - default ListWorkgroupsPublisher listWorkgroupsPaginator(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest)
Returns information about a list of specified workgroups.
This is a variant of
listWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsPublisher publisher = client.listWorkgroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsPublisher publisher = client.listWorkgroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsRequest)
operation.
This is a convenience which creates an instance of the ListWorkgroupsRequest.Builder avoiding the need to
create one manually via ListWorkgroupsRequest.builder()
listWorkgroupsRequest - A Consumer that will call methods on ListWorkgroupsRequest.Builder to create a request.default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
putResourcePolicyRequest - default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request.default CompletableFuture<RestoreFromRecoveryPointResponse> restoreFromRecoveryPoint(RestoreFromRecoveryPointRequest restoreFromRecoveryPointRequest)
Restore the data from a recovery point.
restoreFromRecoveryPointRequest - default CompletableFuture<RestoreFromRecoveryPointResponse> restoreFromRecoveryPoint(Consumer<RestoreFromRecoveryPointRequest.Builder> restoreFromRecoveryPointRequest)
Restore the data from a recovery point.
This is a convenience which creates an instance of the RestoreFromRecoveryPointRequest.Builder avoiding
the need to create one manually via RestoreFromRecoveryPointRequest.builder()
restoreFromRecoveryPointRequest - A Consumer that will call methods on RestoreFromRecoveryPointRequest.Builder to create a
request.default CompletableFuture<RestoreFromSnapshotResponse> restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest)
Restores a namespace from a snapshot.
restoreFromSnapshotRequest - default CompletableFuture<RestoreFromSnapshotResponse> restoreFromSnapshot(Consumer<RestoreFromSnapshotRequest.Builder> restoreFromSnapshotRequest)
Restores a namespace from a snapshot.
This is a convenience which creates an instance of the RestoreFromSnapshotRequest.Builder avoiding the
need to create one manually via RestoreFromSnapshotRequest.builder()
restoreFromSnapshotRequest - A Consumer that will call methods on RestoreFromSnapshotRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags to a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns one or more tags to a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or set of tags from a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes a tag or set of tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateEndpointAccessResponse> updateEndpointAccess(UpdateEndpointAccessRequest updateEndpointAccessRequest)
Updates an Amazon Redshift Serverless managed endpoint.
updateEndpointAccessRequest - default CompletableFuture<UpdateEndpointAccessResponse> updateEndpointAccess(Consumer<UpdateEndpointAccessRequest.Builder> updateEndpointAccessRequest)
Updates an Amazon Redshift Serverless managed endpoint.
This is a convenience which creates an instance of the UpdateEndpointAccessRequest.Builder avoiding the
need to create one manually via UpdateEndpointAccessRequest.builder()
updateEndpointAccessRequest - A Consumer that will call methods on UpdateEndpointAccessRequest.Builder to create a
request.default CompletableFuture<UpdateNamespaceResponse> updateNamespace(UpdateNamespaceRequest updateNamespaceRequest)
Updates a namespace with the specified settings.
updateNamespaceRequest - default CompletableFuture<UpdateNamespaceResponse> updateNamespace(Consumer<UpdateNamespaceRequest.Builder> updateNamespaceRequest)
Updates a namespace with the specified settings.
This is a convenience which creates an instance of the UpdateNamespaceRequest.Builder avoiding the need
to create one manually via UpdateNamespaceRequest.builder()
updateNamespaceRequest - A Consumer that will call methods on UpdateNamespaceRequest.Builder to create a request.default CompletableFuture<UpdateSnapshotResponse> updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest)
Updates a snapshot.
updateSnapshotRequest - default CompletableFuture<UpdateSnapshotResponse> updateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest)
Updates a snapshot.
This is a convenience which creates an instance of the UpdateSnapshotRequest.Builder avoiding the need to
create one manually via UpdateSnapshotRequest.builder()
updateSnapshotRequest - A Consumer that will call methods on UpdateSnapshotRequest.Builder to create a request.default CompletableFuture<UpdateUsageLimitResponse> updateUsageLimit(UpdateUsageLimitRequest updateUsageLimitRequest)
Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
updateUsageLimitRequest - default CompletableFuture<UpdateUsageLimitResponse> updateUsageLimit(Consumer<UpdateUsageLimitRequest.Builder> updateUsageLimitRequest)
Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
This is a convenience which creates an instance of the UpdateUsageLimitRequest.Builder avoiding the need
to create one manually via UpdateUsageLimitRequest.builder()
updateUsageLimitRequest - A Consumer that will call methods on UpdateUsageLimitRequest.Builder to create a request.default CompletableFuture<UpdateWorkgroupResponse> updateWorkgroup(UpdateWorkgroupRequest updateWorkgroupRequest)
Updates a workgroup with the specified configuration settings.
updateWorkgroupRequest - default CompletableFuture<UpdateWorkgroupResponse> updateWorkgroup(Consumer<UpdateWorkgroupRequest.Builder> updateWorkgroupRequest)
Updates a workgroup with the specified configuration settings.
This is a convenience which creates an instance of the UpdateWorkgroupRequest.Builder avoiding the need
to create one manually via UpdateWorkgroupRequest.builder()
updateWorkgroupRequest - A Consumer that will call methods on UpdateWorkgroupRequest.Builder to create a request.Copyright © 2022. All rights reserved.