@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface RedshiftServerlessClient extends AwsClient
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 RedshiftServerlessClientBuilder |
builder()
Create a builder that can be used to configure and create a
RedshiftServerlessClient. |
default ConvertRecoveryPointToSnapshotResponse |
convertRecoveryPointToSnapshot(Consumer<ConvertRecoveryPointToSnapshotRequest.Builder> convertRecoveryPointToSnapshotRequest)
Converts a recovery point to a snapshot.
|
default ConvertRecoveryPointToSnapshotResponse |
convertRecoveryPointToSnapshot(ConvertRecoveryPointToSnapshotRequest convertRecoveryPointToSnapshotRequest)
Converts a recovery point to a snapshot.
|
static RedshiftServerlessClient |
create()
Create a
RedshiftServerlessClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateEndpointAccessResponse |
createEndpointAccess(Consumer<CreateEndpointAccessRequest.Builder> createEndpointAccessRequest)
Creates an Amazon Redshift Serverless managed VPC endpoint.
|
default CreateEndpointAccessResponse |
createEndpointAccess(CreateEndpointAccessRequest createEndpointAccessRequest)
Creates an Amazon Redshift Serverless managed VPC endpoint.
|
default CreateNamespaceResponse |
createNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest)
Creates a namespace in Amazon Redshift Serverless.
|
default CreateNamespaceResponse |
createNamespace(CreateNamespaceRequest createNamespaceRequest)
Creates a namespace in Amazon Redshift Serverless.
|
default CreateSnapshotResponse |
createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest)
Creates a snapshot of all databases in a namespace.
|
default CreateSnapshotResponse |
createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of all databases in a namespace.
|
default CreateUsageLimitResponse |
createUsageLimit(Consumer<CreateUsageLimitRequest.Builder> createUsageLimitRequest)
Creates a usage limit for a specified Amazon Redshift Serverless usage type.
|
default CreateUsageLimitResponse |
createUsageLimit(CreateUsageLimitRequest createUsageLimitRequest)
Creates a usage limit for a specified Amazon Redshift Serverless usage type.
|
default CreateWorkgroupResponse |
createWorkgroup(Consumer<CreateWorkgroupRequest.Builder> createWorkgroupRequest)
Creates an workgroup in Amazon Redshift Serverless.
|
default CreateWorkgroupResponse |
createWorkgroup(CreateWorkgroupRequest createWorkgroupRequest)
Creates an workgroup in Amazon Redshift Serverless.
|
default DeleteEndpointAccessResponse |
deleteEndpointAccess(Consumer<DeleteEndpointAccessRequest.Builder> deleteEndpointAccessRequest)
Deletes an Amazon Redshift Serverless managed VPC endpoint.
|
default DeleteEndpointAccessResponse |
deleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest)
Deletes an Amazon Redshift Serverless managed VPC endpoint.
|
default DeleteNamespaceResponse |
deleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest)
Deletes a namespace from Amazon Redshift Serverless.
|
default DeleteNamespaceResponse |
deleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest)
Deletes a namespace from Amazon Redshift Serverless.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
default DeleteSnapshotResponse |
deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest)
Deletes a snapshot from Amazon Redshift Serverless.
|
default DeleteSnapshotResponse |
deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes a snapshot from Amazon Redshift Serverless.
|
default DeleteUsageLimitResponse |
deleteUsageLimit(Consumer<DeleteUsageLimitRequest.Builder> deleteUsageLimitRequest)
Deletes a usage limit from Amazon Redshift Serverless.
|
default DeleteUsageLimitResponse |
deleteUsageLimit(DeleteUsageLimitRequest deleteUsageLimitRequest)
Deletes a usage limit from Amazon Redshift Serverless.
|
default DeleteWorkgroupResponse |
deleteWorkgroup(Consumer<DeleteWorkgroupRequest.Builder> deleteWorkgroupRequest)
Deletes a workgroup.
|
default DeleteWorkgroupResponse |
deleteWorkgroup(DeleteWorkgroupRequest deleteWorkgroupRequest)
Deletes a workgroup.
|
default 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 GetCredentialsResponse |
getCredentials(GetCredentialsRequest getCredentialsRequest)
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift
Serverless.
|
default GetEndpointAccessResponse |
getEndpointAccess(Consumer<GetEndpointAccessRequest.Builder> getEndpointAccessRequest)
Returns information, such as the name, about a VPC endpoint.
|
default GetEndpointAccessResponse |
getEndpointAccess(GetEndpointAccessRequest getEndpointAccessRequest)
Returns information, such as the name, about a VPC endpoint.
|
default GetNamespaceResponse |
getNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest)
Returns information about a namespace in Amazon Redshift Serverless.
|
default GetNamespaceResponse |
getNamespace(GetNamespaceRequest getNamespaceRequest)
Returns information about a namespace in Amazon Redshift Serverless.
|
default GetRecoveryPointResponse |
getRecoveryPoint(Consumer<GetRecoveryPointRequest.Builder> getRecoveryPointRequest)
Returns information about a recovery point.
|
default GetRecoveryPointResponse |
getRecoveryPoint(GetRecoveryPointRequest getRecoveryPointRequest)
Returns information about a recovery point.
|
default GetResourcePolicyResponse |
getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Returns a resource policy.
|
default GetResourcePolicyResponse |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Returns a resource policy.
|
default GetSnapshotResponse |
getSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest)
Returns information about a specific snapshot.
|
default GetSnapshotResponse |
getSnapshot(GetSnapshotRequest getSnapshotRequest)
Returns information about a specific snapshot.
|
default GetTableRestoreStatusResponse |
getTableRestoreStatus(Consumer<GetTableRestoreStatusRequest.Builder> getTableRestoreStatusRequest)
Returns information about a
TableRestoreStatus object. |
default GetTableRestoreStatusResponse |
getTableRestoreStatus(GetTableRestoreStatusRequest getTableRestoreStatusRequest)
Returns information about a
TableRestoreStatus object. |
default GetUsageLimitResponse |
getUsageLimit(Consumer<GetUsageLimitRequest.Builder> getUsageLimitRequest)
Returns information about a usage limit.
|
default GetUsageLimitResponse |
getUsageLimit(GetUsageLimitRequest getUsageLimitRequest)
Returns information about a usage limit.
|
default GetWorkgroupResponse |
getWorkgroup(Consumer<GetWorkgroupRequest.Builder> getWorkgroupRequest)
Returns information about a specific workgroup.
|
default GetWorkgroupResponse |
getWorkgroup(GetWorkgroupRequest getWorkgroupRequest)
Returns information about a specific workgroup.
|
default ListEndpointAccessResponse |
listEndpointAccess(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default ListEndpointAccessResponse |
listEndpointAccess(ListEndpointAccessRequest listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default ListEndpointAccessIterable |
listEndpointAccessPaginator(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default ListEndpointAccessIterable |
listEndpointAccessPaginator(ListEndpointAccessRequest listEndpointAccessRequest)
Returns an array of
EndpointAccess objects and relevant information. |
default ListNamespacesResponse |
listNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default ListNamespacesResponse |
listNamespaces(ListNamespacesRequest listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default ListNamespacesIterable |
listNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default ListNamespacesIterable |
listNamespacesPaginator(ListNamespacesRequest listNamespacesRequest)
Returns information about a list of specified namespaces.
|
default ListRecoveryPointsResponse |
listRecoveryPoints(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest)
Returns an array of recovery points.
|
default ListRecoveryPointsResponse |
listRecoveryPoints(ListRecoveryPointsRequest listRecoveryPointsRequest)
Returns an array of recovery points.
|
default ListRecoveryPointsIterable |
listRecoveryPointsPaginator(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest)
Returns an array of recovery points.
|
default ListRecoveryPointsIterable |
listRecoveryPointsPaginator(ListRecoveryPointsRequest listRecoveryPointsRequest)
Returns an array of recovery points.
|
default ListSnapshotsResponse |
listSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Returns a list of snapshots.
|
default ListSnapshotsResponse |
listSnapshots(ListSnapshotsRequest listSnapshotsRequest)
Returns a list of snapshots.
|
default ListSnapshotsIterable |
listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest)
Returns a list of snapshots.
|
default ListSnapshotsIterable |
listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest)
Returns a list of snapshots.
|
default ListTableRestoreStatusResponse |
listTableRestoreStatus(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest)
Returns information about an array of
TableRestoreStatus objects. |
default ListTableRestoreStatusResponse |
listTableRestoreStatus(ListTableRestoreStatusRequest listTableRestoreStatusRequest)
Returns information about an array of
TableRestoreStatus objects. |
default ListTableRestoreStatusIterable |
listTableRestoreStatusPaginator(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest)
Returns information about an array of
TableRestoreStatus objects. |
default ListTableRestoreStatusIterable |
listTableRestoreStatusPaginator(ListTableRestoreStatusRequest listTableRestoreStatusRequest)
Returns information about an array of
TableRestoreStatus objects. |
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags assigned to a resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags assigned to a resource.
|
default ListUsageLimitsResponse |
listUsageLimits(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default ListUsageLimitsResponse |
listUsageLimits(ListUsageLimitsRequest listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default ListUsageLimitsIterable |
listUsageLimitsPaginator(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default ListUsageLimitsIterable |
listUsageLimitsPaginator(ListUsageLimitsRequest listUsageLimitsRequest)
Lists all usage limits within Amazon Redshift Serverless.
|
default ListWorkgroupsResponse |
listWorkgroups(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default ListWorkgroupsResponse |
listWorkgroups(ListWorkgroupsRequest listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default ListWorkgroupsIterable |
listWorkgroupsPaginator(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default ListWorkgroupsIterable |
listWorkgroupsPaginator(ListWorkgroupsRequest listWorkgroupsRequest)
Returns information about a list of specified workgroups.
|
default PutResourcePolicyResponse |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Creates or updates a resource policy.
|
default PutResourcePolicyResponse |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Creates or updates a resource policy.
|
default RestoreFromRecoveryPointResponse |
restoreFromRecoveryPoint(Consumer<RestoreFromRecoveryPointRequest.Builder> restoreFromRecoveryPointRequest)
Restore the data from a recovery point.
|
default RestoreFromRecoveryPointResponse |
restoreFromRecoveryPoint(RestoreFromRecoveryPointRequest restoreFromRecoveryPointRequest)
Restore the data from a recovery point.
|
default RestoreFromSnapshotResponse |
restoreFromSnapshot(Consumer<RestoreFromSnapshotRequest.Builder> restoreFromSnapshotRequest)
Restores a namespace from a snapshot.
|
default RestoreFromSnapshotResponse |
restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest)
Restores a namespace from a snapshot.
|
default RestoreTableFromSnapshotResponse |
restoreTableFromSnapshot(Consumer<RestoreTableFromSnapshotRequest.Builder> restoreTableFromSnapshotRequest)
Restores a table from a snapshot to your Amazon Redshift Serverless instance.
|
default RestoreTableFromSnapshotResponse |
restoreTableFromSnapshot(RestoreTableFromSnapshotRequest restoreTableFromSnapshotRequest)
Restores a table from a snapshot to your Amazon Redshift Serverless instance.
|
default RedshiftServerlessServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns one or more tags to a resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags to a resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes a tag or set of tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or set of tags from a resource.
|
default UpdateEndpointAccessResponse |
updateEndpointAccess(Consumer<UpdateEndpointAccessRequest.Builder> updateEndpointAccessRequest)
Updates an Amazon Redshift Serverless managed endpoint.
|
default UpdateEndpointAccessResponse |
updateEndpointAccess(UpdateEndpointAccessRequest updateEndpointAccessRequest)
Updates an Amazon Redshift Serverless managed endpoint.
|
default UpdateNamespaceResponse |
updateNamespace(Consumer<UpdateNamespaceRequest.Builder> updateNamespaceRequest)
Updates a namespace with the specified settings.
|
default UpdateNamespaceResponse |
updateNamespace(UpdateNamespaceRequest updateNamespaceRequest)
Updates a namespace with the specified settings.
|
default UpdateSnapshotResponse |
updateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest)
Updates a snapshot.
|
default UpdateSnapshotResponse |
updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest)
Updates a snapshot.
|
default UpdateUsageLimitResponse |
updateUsageLimit(Consumer<UpdateUsageLimitRequest.Builder> updateUsageLimitRequest)
Update a usage limit in Amazon Redshift Serverless.
|
default UpdateUsageLimitResponse |
updateUsageLimit(UpdateUsageLimitRequest updateUsageLimitRequest)
Update a usage limit in Amazon Redshift Serverless.
|
default UpdateWorkgroupResponse |
updateWorkgroup(Consumer<UpdateWorkgroupRequest.Builder> updateWorkgroupRequest)
Updates a workgroup with the specified configuration settings.
|
default UpdateWorkgroupResponse |
updateWorkgroup(UpdateWorkgroupRequest updateWorkgroupRequest)
Updates a workgroup with the specified configuration settings.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default ConvertRecoveryPointToSnapshotResponse convertRecoveryPointToSnapshot(ConvertRecoveryPointToSnapshotRequest convertRecoveryPointToSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
convertRecoveryPointToSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ConvertRecoveryPointToSnapshotResponse convertRecoveryPointToSnapshot(Consumer<ConvertRecoveryPointToSnapshotRequest.Builder> convertRecoveryPointToSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEndpointAccessResponse createEndpointAccess(CreateEndpointAccessRequest createEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
Creates an Amazon Redshift Serverless managed VPC endpoint.
createEndpointAccessRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.AccessDeniedException - You do not have sufficient access to perform this action.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEndpointAccessResponse createEndpointAccess(Consumer<CreateEndpointAccessRequest.Builder> createEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.AccessDeniedException - You do not have sufficient access to perform this action.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateNamespaceResponse createNamespace(CreateNamespaceRequest createNamespaceRequest) throws InternalServerException, ConflictException, ValidationException, TooManyTagsException, AwsServiceException, SdkClientException, RedshiftServerlessException
Creates a namespace in Amazon Redshift Serverless.
createNamespaceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateNamespaceResponse createNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest) throws InternalServerException, ConflictException, ValidationException, TooManyTagsException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSnapshotResponse createSnapshot(CreateSnapshotRequest createSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points.
createSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSnapshotResponse createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateUsageLimitResponse createUsageLimit(CreateUsageLimitRequest createUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.
createUsageLimitRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateUsageLimitResponse createUsageLimit(Consumer<CreateUsageLimitRequest.Builder> createUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkgroupResponse createWorkgroup(CreateWorkgroupRequest createWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, AwsServiceException, SdkClientException, RedshiftServerlessException
Creates an workgroup in Amazon Redshift Serverless.
createWorkgroupRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.InsufficientCapacityException - There is an insufficient capacity to perform the action.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkgroupResponse createWorkgroup(Consumer<CreateWorkgroupRequest.Builder> createWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.InsufficientCapacityException - There is an insufficient capacity to perform the action.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEndpointAccessResponse deleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Deletes an Amazon Redshift Serverless managed VPC endpoint.
deleteEndpointAccessRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEndpointAccessResponse deleteEndpointAccess(Consumer<DeleteEndpointAccessRequest.Builder> deleteEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteNamespaceResponse deleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteNamespaceResponse deleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Deletes the specified resource policy.
deleteResourcePolicyRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Deletes a snapshot from Amazon Redshift Serverless.
deleteSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSnapshotResponse deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteUsageLimitResponse deleteUsageLimit(DeleteUsageLimitRequest deleteUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Deletes a usage limit from Amazon Redshift Serverless.
deleteUsageLimitRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteUsageLimitResponse deleteUsageLimit(Consumer<DeleteUsageLimitRequest.Builder> deleteUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkgroupResponse deleteWorkgroup(DeleteWorkgroupRequest deleteWorkgroupRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Deletes a workgroup.
deleteWorkgroupRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkgroupResponse deleteWorkgroup(Consumer<DeleteWorkgroupRequest.Builder> deleteWorkgroupRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCredentialsResponse getCredentials(GetCredentialsRequest getCredentialsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCredentialsResponse getCredentials(Consumer<GetCredentialsRequest.Builder> getCredentialsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEndpointAccessResponse getEndpointAccess(GetEndpointAccessRequest getEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information, such as the name, about a VPC endpoint.
getEndpointAccessRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEndpointAccessResponse getEndpointAccess(Consumer<GetEndpointAccessRequest.Builder> getEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNamespaceResponse getNamespace(GetNamespaceRequest getNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a namespace in Amazon Redshift Serverless.
getNamespaceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNamespaceResponse getNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRecoveryPointResponse getRecoveryPoint(GetRecoveryPointRequest getRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a recovery point.
getRecoveryPointRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRecoveryPointResponse getRecoveryPoint(Consumer<GetRecoveryPointRequest.Builder> getRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns a resource policy.
getResourcePolicyRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSnapshotResponse getSnapshot(GetSnapshotRequest getSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a specific snapshot.
getSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSnapshotResponse getSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTableRestoreStatusResponse getTableRestoreStatus(GetTableRestoreStatusRequest getTableRestoreStatusRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a TableRestoreStatus object.
getTableRestoreStatusRequest - ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTableRestoreStatusResponse getTableRestoreStatus(Consumer<GetTableRestoreStatusRequest.Builder> getTableRestoreStatusRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a TableRestoreStatus object.
This is a convenience which creates an instance of the GetTableRestoreStatusRequest.Builder avoiding the
need to create one manually via GetTableRestoreStatusRequest.builder()
getTableRestoreStatusRequest - A Consumer that will call methods on GetTableRestoreStatusRequest.Builder to create a
request.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageLimitResponse getUsageLimit(GetUsageLimitRequest getUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a usage limit.
getUsageLimitRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageLimitResponse getUsageLimit(Consumer<GetUsageLimitRequest.Builder> getUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetWorkgroupResponse getWorkgroup(GetWorkgroupRequest getWorkgroupRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a specific workgroup.
getWorkgroupRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetWorkgroupResponse getWorkgroup(Consumer<GetWorkgroupRequest.Builder> getWorkgroupRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointAccessResponse listEndpointAccess(ListEndpointAccessRequest listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns an array of EndpointAccess objects and relevant information.
listEndpointAccessRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointAccessResponse listEndpointAccess(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointAccessIterable listEndpointAccessPaginator(ListEndpointAccessRequest listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client.listEndpointAccessPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client
.listEndpointAccessPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client.listEndpointAccessPaginator(request);
responses.iterator().forEachRemaining(....);
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointAccessIterable listEndpointAccessPaginator(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client.listEndpointAccessPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client
.listEndpointAccessPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client.listEndpointAccessPaginator(request);
responses.iterator().forEachRemaining(....);
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNamespacesResponse listNamespaces(ListNamespacesRequest listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a list of specified namespaces.
listNamespacesRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNamespacesResponse listNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNamespacesIterable listNamespacesPaginator(ListNamespacesRequest listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client.listNamespacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client
.listNamespacesPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client.listNamespacesPaginator(request);
responses.iterator().forEachRemaining(....);
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNamespacesIterable listNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client.listNamespacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client
.listNamespacesPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client.listNamespacesPaginator(request);
responses.iterator().forEachRemaining(....);
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecoveryPointsResponse listRecoveryPoints(ListRecoveryPointsRequest listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns an array of recovery points.
listRecoveryPointsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecoveryPointsResponse listRecoveryPoints(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecoveryPointsIterable listRecoveryPointsPaginator(ListRecoveryPointsRequest listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client.listRecoveryPointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client
.listRecoveryPointsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client.listRecoveryPointsPaginator(request);
responses.iterator().forEachRemaining(....);
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecoveryPointsIterable listRecoveryPointsPaginator(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client.listRecoveryPointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client
.listRecoveryPointsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client.listRecoveryPointsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsResponse listSnapshots(ListSnapshotsRequest listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns a list of snapshots.
listSnapshotsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsResponse listSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsIterable listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client
.listSnapshotsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.iterator().forEachRemaining(....);
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSnapshotsIterable listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client
.listSnapshotsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTableRestoreStatusResponse listTableRestoreStatus(ListTableRestoreStatusRequest listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about an array of TableRestoreStatus objects.
listTableRestoreStatusRequest - InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTableRestoreStatusResponse listTableRestoreStatus(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about an array of TableRestoreStatus objects.
This is a convenience which creates an instance of the ListTableRestoreStatusRequest.Builder avoiding the
need to create one manually via ListTableRestoreStatusRequest.builder()
listTableRestoreStatusRequest - A Consumer that will call methods on ListTableRestoreStatusRequest.Builder to create a
request.InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTableRestoreStatusIterable listTableRestoreStatusPaginator(ListTableRestoreStatusRequest listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about an array of TableRestoreStatus objects.
This is a variant of
listTableRestoreStatus(software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client.listTableRestoreStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client
.listTableRestoreStatusPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client.listTableRestoreStatusPaginator(request);
responses.iterator().forEachRemaining(....);
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
listTableRestoreStatus(software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusRequest)
operation.
listTableRestoreStatusRequest - InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTableRestoreStatusIterable listTableRestoreStatusPaginator(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about an array of TableRestoreStatus objects.
This is a variant of
listTableRestoreStatus(software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client.listTableRestoreStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client
.listTableRestoreStatusPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client.listTableRestoreStatusPaginator(request);
responses.iterator().forEachRemaining(....);
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
listTableRestoreStatus(software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusRequest)
operation.
This is a convenience which creates an instance of the ListTableRestoreStatusRequest.Builder avoiding the
need to create one manually via ListTableRestoreStatusRequest.builder()
listTableRestoreStatusRequest - A Consumer that will call methods on ListTableRestoreStatusRequest.Builder to create a
request.InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException
Lists the tags assigned to a resource.
listTagsForResourceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageLimitsResponse listUsageLimits(ListUsageLimitsRequest listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Lists all usage limits within Amazon Redshift Serverless.
listUsageLimitsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageLimitsResponse listUsageLimits(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageLimitsIterable listUsageLimitsPaginator(ListUsageLimitsRequest listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client.listUsageLimitsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client
.listUsageLimitsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client.listUsageLimitsPaginator(request);
responses.iterator().forEachRemaining(....);
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageLimitsIterable listUsageLimitsPaginator(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client.listUsageLimitsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client
.listUsageLimitsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client.listUsageLimitsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.InvalidPaginationException - The provided pagination token is invalid.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkgroupsResponse listWorkgroups(ListWorkgroupsRequest listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Returns information about a list of specified workgroups.
listWorkgroupsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkgroupsResponse listWorkgroups(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkgroupsIterable listWorkgroupsPaginator(ListWorkgroupsRequest listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client.listWorkgroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client
.listWorkgroupsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client.listWorkgroupsPaginator(request);
responses.iterator().forEachRemaining(....);
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 - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkgroupsIterable listWorkgroupsPaginator(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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 iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client.listWorkgroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client
.listWorkgroupsPaginator(request);
for (software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client.listWorkgroupsPaginator(request);
responses.iterator().forEachRemaining(....);
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
putResourcePolicyRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreFromRecoveryPointResponse restoreFromRecoveryPoint(RestoreFromRecoveryPointRequest restoreFromRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Restore the data from a recovery point.
restoreFromRecoveryPointRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreFromRecoveryPointResponse restoreFromRecoveryPoint(Consumer<RestoreFromRecoveryPointRequest.Builder> restoreFromRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreFromSnapshotResponse restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
Restores a namespace from a snapshot.
restoreFromSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreFromSnapshotResponse restoreFromSnapshot(Consumer<RestoreFromSnapshotRequest.Builder> restoreFromSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ServiceQuotaExceededException - The service limit was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreTableFromSnapshotResponse restoreTableFromSnapshot(RestoreTableFromSnapshotRequest restoreTableFromSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Restores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.
restoreTableFromSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreTableFromSnapshotResponse restoreTableFromSnapshot(Consumer<RestoreTableFromSnapshotRequest.Builder> restoreTableFromSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Restores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.
This is a convenience which creates an instance of the RestoreTableFromSnapshotRequest.Builder avoiding
the need to create one manually via RestoreTableFromSnapshotRequest.builder()
restoreTableFromSnapshotRequest - A Consumer that will call methods on RestoreTableFromSnapshotRequest.Builder to create a
request.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, TooManyTagsException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException
Assigns one or more tags to a resource.
tagResourceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, TooManyTagsException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.TooManyTagsException - The request exceeded the number of tags allowed for a resource.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException
Removes a tag or set of tags from a resource.
untagResourceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ValidationException - The input failed to satisfy the constraints specified by an AWS service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEndpointAccessResponse updateEndpointAccess(UpdateEndpointAccessRequest updateEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException
Updates an Amazon Redshift Serverless managed endpoint.
updateEndpointAccessRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.AccessDeniedException - You do not have sufficient access to perform this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEndpointAccessResponse updateEndpointAccess(Consumer<UpdateEndpointAccessRequest.Builder> updateEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.AccessDeniedException - You do not have sufficient access to perform this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateNamespaceResponse updateNamespace(UpdateNamespaceRequest updateNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.
updateNamespaceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateNamespaceResponse updateNamespace(Consumer<UpdateNamespaceRequest.Builder> updateNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSnapshotResponse updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Updates a snapshot.
updateSnapshotRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSnapshotResponse updateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateUsageLimitResponse updateUsageLimit(UpdateUsageLimitRequest updateUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
updateUsageLimitRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateUsageLimitResponse updateUsageLimit(Consumer<UpdateUsageLimitRequest.Builder> updateUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateWorkgroupResponse updateWorkgroup(UpdateWorkgroupRequest updateWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.
updateWorkgroupRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.InsufficientCapacityException - There is an insufficient capacity to perform the action.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateWorkgroupResponse updateWorkgroup(Consumer<UpdateWorkgroupRequest.Builder> updateWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException
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.
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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.InsufficientCapacityException - There is an insufficient capacity to perform the action.ResourceNotFoundException - The resource could not be found.ConflictException - The submitted action has conflicts.ValidationException - The input failed to satisfy the constraints specified by an AWS service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.RedshiftServerlessException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic RedshiftServerlessClient create()
RedshiftServerlessClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static RedshiftServerlessClientBuilder builder()
RedshiftServerlessClient.static ServiceMetadata serviceMetadata()
default RedshiftServerlessServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.