Interface RedshiftServerlessClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.
Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers.
To learn more about Amazon Redshift Serverless, see What is Amazon Redshift Serverless?.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aRedshiftServerlessClient.convertRecoveryPointToSnapshot(Consumer<ConvertRecoveryPointToSnapshotRequest.Builder> convertRecoveryPointToSnapshotRequest) Converts a recovery point to a snapshot.convertRecoveryPointToSnapshot(ConvertRecoveryPointToSnapshotRequest convertRecoveryPointToSnapshotRequest) Converts a recovery point to a snapshot.static RedshiftServerlessClientcreate()Create aRedshiftServerlessClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createCustomDomainAssociation(Consumer<CreateCustomDomainAssociationRequest.Builder> createCustomDomainAssociationRequest) Creates a custom domain association for Amazon Redshift Serverless.createCustomDomainAssociation(CreateCustomDomainAssociationRequest createCustomDomainAssociationRequest) Creates a custom domain association for Amazon Redshift Serverless.default CreateEndpointAccessResponsecreateEndpointAccess(Consumer<CreateEndpointAccessRequest.Builder> createEndpointAccessRequest) Creates an Amazon Redshift Serverless managed VPC endpoint.default CreateEndpointAccessResponsecreateEndpointAccess(CreateEndpointAccessRequest createEndpointAccessRequest) Creates an Amazon Redshift Serverless managed VPC endpoint.default CreateNamespaceResponsecreateNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest) Creates a namespace in Amazon Redshift Serverless.default CreateNamespaceResponsecreateNamespace(CreateNamespaceRequest createNamespaceRequest) Creates a namespace in Amazon Redshift Serverless.default CreateReservationResponsecreateReservation(Consumer<CreateReservationRequest.Builder> createReservationRequest) Creates an Amazon Redshift Serverless reservation, which gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.default CreateReservationResponsecreateReservation(CreateReservationRequest createReservationRequest) Creates an Amazon Redshift Serverless reservation, which gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.default CreateScheduledActionResponsecreateScheduledAction(Consumer<CreateScheduledActionRequest.Builder> createScheduledActionRequest) Creates a scheduled action.default CreateScheduledActionResponsecreateScheduledAction(CreateScheduledActionRequest createScheduledActionRequest) Creates a scheduled action.default CreateSnapshotResponsecreateSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) Creates a snapshot of all databases in a namespace.default CreateSnapshotResponsecreateSnapshot(CreateSnapshotRequest createSnapshotRequest) Creates a snapshot of all databases in a namespace.createSnapshotCopyConfiguration(Consumer<CreateSnapshotCopyConfigurationRequest.Builder> createSnapshotCopyConfigurationRequest) Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.createSnapshotCopyConfiguration(CreateSnapshotCopyConfigurationRequest createSnapshotCopyConfigurationRequest) Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.default CreateUsageLimitResponsecreateUsageLimit(Consumer<CreateUsageLimitRequest.Builder> createUsageLimitRequest) Creates a usage limit for a specified Amazon Redshift Serverless usage type.default CreateUsageLimitResponsecreateUsageLimit(CreateUsageLimitRequest createUsageLimitRequest) Creates a usage limit for a specified Amazon Redshift Serverless usage type.default CreateWorkgroupResponsecreateWorkgroup(Consumer<CreateWorkgroupRequest.Builder> createWorkgroupRequest) Creates an workgroup in Amazon Redshift Serverless.default CreateWorkgroupResponsecreateWorkgroup(CreateWorkgroupRequest createWorkgroupRequest) Creates an workgroup in Amazon Redshift Serverless.deleteCustomDomainAssociation(Consumer<DeleteCustomDomainAssociationRequest.Builder> deleteCustomDomainAssociationRequest) Deletes a custom domain association for Amazon Redshift Serverless.deleteCustomDomainAssociation(DeleteCustomDomainAssociationRequest deleteCustomDomainAssociationRequest) Deletes a custom domain association for Amazon Redshift Serverless.default DeleteEndpointAccessResponsedeleteEndpointAccess(Consumer<DeleteEndpointAccessRequest.Builder> deleteEndpointAccessRequest) Deletes an Amazon Redshift Serverless managed VPC endpoint.default DeleteEndpointAccessResponsedeleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest) Deletes an Amazon Redshift Serverless managed VPC endpoint.default DeleteNamespaceResponsedeleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest) Deletes a namespace from Amazon Redshift Serverless.default DeleteNamespaceResponsedeleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest) Deletes a namespace from Amazon Redshift Serverless.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes the specified resource policy.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes the specified resource policy.default DeleteScheduledActionResponsedeleteScheduledAction(Consumer<DeleteScheduledActionRequest.Builder> deleteScheduledActionRequest) Deletes a scheduled action.default DeleteScheduledActionResponsedeleteScheduledAction(DeleteScheduledActionRequest deleteScheduledActionRequest) Deletes a scheduled action.default DeleteSnapshotResponsedeleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest) Deletes a snapshot from Amazon Redshift Serverless.default DeleteSnapshotResponsedeleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest) Deletes a snapshot from Amazon Redshift Serverless.deleteSnapshotCopyConfiguration(Consumer<DeleteSnapshotCopyConfigurationRequest.Builder> deleteSnapshotCopyConfigurationRequest) Deletes a snapshot copy configurationdeleteSnapshotCopyConfiguration(DeleteSnapshotCopyConfigurationRequest deleteSnapshotCopyConfigurationRequest) Deletes a snapshot copy configurationdefault DeleteUsageLimitResponsedeleteUsageLimit(Consumer<DeleteUsageLimitRequest.Builder> deleteUsageLimitRequest) Deletes a usage limit from Amazon Redshift Serverless.default DeleteUsageLimitResponsedeleteUsageLimit(DeleteUsageLimitRequest deleteUsageLimitRequest) Deletes a usage limit from Amazon Redshift Serverless.default DeleteWorkgroupResponsedeleteWorkgroup(Consumer<DeleteWorkgroupRequest.Builder> deleteWorkgroupRequest) Deletes a workgroup.default DeleteWorkgroupResponsedeleteWorkgroup(DeleteWorkgroupRequest deleteWorkgroupRequest) Deletes a workgroup.default GetCredentialsResponsegetCredentials(Consumer<GetCredentialsRequest.Builder> getCredentialsRequest) Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.default GetCredentialsResponsegetCredentials(GetCredentialsRequest getCredentialsRequest) Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.getCustomDomainAssociation(Consumer<GetCustomDomainAssociationRequest.Builder> getCustomDomainAssociationRequest) Gets information about a specific custom domain association.getCustomDomainAssociation(GetCustomDomainAssociationRequest getCustomDomainAssociationRequest) Gets information about a specific custom domain association.default GetEndpointAccessResponsegetEndpointAccess(Consumer<GetEndpointAccessRequest.Builder> getEndpointAccessRequest) Returns information, such as the name, about a VPC endpoint.default GetEndpointAccessResponsegetEndpointAccess(GetEndpointAccessRequest getEndpointAccessRequest) Returns information, such as the name, about a VPC endpoint.default GetNamespaceResponsegetNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest) Returns information about a namespace in Amazon Redshift Serverless.default GetNamespaceResponsegetNamespace(GetNamespaceRequest getNamespaceRequest) Returns information about a namespace in Amazon Redshift Serverless.default GetRecoveryPointResponsegetRecoveryPoint(Consumer<GetRecoveryPointRequest.Builder> getRecoveryPointRequest) Returns information about a recovery point.default GetRecoveryPointResponsegetRecoveryPoint(GetRecoveryPointRequest getRecoveryPointRequest) Returns information about a recovery point.default GetReservationResponsegetReservation(Consumer<GetReservationRequest.Builder> getReservationRequest) Gets an Amazon Redshift Serverless reservation.default GetReservationResponsegetReservation(GetReservationRequest getReservationRequest) Gets an Amazon Redshift Serverless reservation.default GetReservationOfferingResponsegetReservationOffering(Consumer<GetReservationOfferingRequest.Builder> getReservationOfferingRequest) Returns the reservation offering.default GetReservationOfferingResponsegetReservationOffering(GetReservationOfferingRequest getReservationOfferingRequest) Returns the reservation offering.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Returns a resource policy.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Returns a resource policy.default GetScheduledActionResponsegetScheduledAction(Consumer<GetScheduledActionRequest.Builder> getScheduledActionRequest) Returns information about a scheduled action.default GetScheduledActionResponsegetScheduledAction(GetScheduledActionRequest getScheduledActionRequest) Returns information about a scheduled action.default GetSnapshotResponsegetSnapshot(Consumer<GetSnapshotRequest.Builder> getSnapshotRequest) Returns information about a specific snapshot.default GetSnapshotResponsegetSnapshot(GetSnapshotRequest getSnapshotRequest) Returns information about a specific snapshot.default GetTableRestoreStatusResponsegetTableRestoreStatus(Consumer<GetTableRestoreStatusRequest.Builder> getTableRestoreStatusRequest) Returns information about aTableRestoreStatusobject.default GetTableRestoreStatusResponsegetTableRestoreStatus(GetTableRestoreStatusRequest getTableRestoreStatusRequest) Returns information about aTableRestoreStatusobject.default GetTrackResponsegetTrack(Consumer<GetTrackRequest.Builder> getTrackRequest) Get the Redshift Serverless version for a specified track.default GetTrackResponsegetTrack(GetTrackRequest getTrackRequest) Get the Redshift Serverless version for a specified track.default GetUsageLimitResponsegetUsageLimit(Consumer<GetUsageLimitRequest.Builder> getUsageLimitRequest) Returns information about a usage limit.default GetUsageLimitResponsegetUsageLimit(GetUsageLimitRequest getUsageLimitRequest) Returns information about a usage limit.default GetWorkgroupResponsegetWorkgroup(Consumer<GetWorkgroupRequest.Builder> getWorkgroupRequest) Returns information about a specific workgroup.default GetWorkgroupResponsegetWorkgroup(GetWorkgroupRequest getWorkgroupRequest) Returns information about a specific workgroup.listCustomDomainAssociations(Consumer<ListCustomDomainAssociationsRequest.Builder> listCustomDomainAssociationsRequest) Lists custom domain associations for Amazon Redshift Serverless.listCustomDomainAssociations(ListCustomDomainAssociationsRequest listCustomDomainAssociationsRequest) Lists custom domain associations for Amazon Redshift Serverless.listCustomDomainAssociationsPaginator(Consumer<ListCustomDomainAssociationsRequest.Builder> listCustomDomainAssociationsRequest) This is a variant oflistCustomDomainAssociations(software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsRequest)operation.listCustomDomainAssociationsPaginator(ListCustomDomainAssociationsRequest listCustomDomainAssociationsRequest) This is a variant oflistCustomDomainAssociations(software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsRequest)operation.default ListEndpointAccessResponselistEndpointAccess(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest) Returns an array ofEndpointAccessobjects and relevant information.default ListEndpointAccessResponselistEndpointAccess(ListEndpointAccessRequest listEndpointAccessRequest) Returns an array ofEndpointAccessobjects and relevant information.default ListEndpointAccessIterablelistEndpointAccessPaginator(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest) This is a variant oflistEndpointAccess(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessRequest)operation.default ListEndpointAccessIterablelistEndpointAccessPaginator(ListEndpointAccessRequest listEndpointAccessRequest) This is a variant oflistEndpointAccess(software.amazon.awssdk.services.redshiftserverless.model.ListEndpointAccessRequest)operation.default ListManagedWorkgroupsResponselistManagedWorkgroups(Consumer<ListManagedWorkgroupsRequest.Builder> listManagedWorkgroupsRequest) Returns information about a list of specified managed workgroups in your account.default ListManagedWorkgroupsResponselistManagedWorkgroups(ListManagedWorkgroupsRequest listManagedWorkgroupsRequest) Returns information about a list of specified managed workgroups in your account.default ListManagedWorkgroupsIterablelistManagedWorkgroupsPaginator(Consumer<ListManagedWorkgroupsRequest.Builder> listManagedWorkgroupsRequest) This is a variant oflistManagedWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsRequest)operation.default ListManagedWorkgroupsIterablelistManagedWorkgroupsPaginator(ListManagedWorkgroupsRequest listManagedWorkgroupsRequest) This is a variant oflistManagedWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsRequest)operation.default ListNamespacesResponselistNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) Returns information about a list of specified namespaces.default ListNamespacesResponselistNamespaces(ListNamespacesRequest listNamespacesRequest) Returns information about a list of specified namespaces.default ListNamespacesIterablelistNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) This is a variant oflistNamespaces(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesRequest)operation.default ListNamespacesIterablelistNamespacesPaginator(ListNamespacesRequest listNamespacesRequest) This is a variant oflistNamespaces(software.amazon.awssdk.services.redshiftserverless.model.ListNamespacesRequest)operation.default ListRecoveryPointsResponselistRecoveryPoints(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest) Returns an array of recovery points.default ListRecoveryPointsResponselistRecoveryPoints(ListRecoveryPointsRequest listRecoveryPointsRequest) Returns an array of recovery points.default ListRecoveryPointsIterablelistRecoveryPointsPaginator(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest) This is a variant oflistRecoveryPoints(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsRequest)operation.default ListRecoveryPointsIterablelistRecoveryPointsPaginator(ListRecoveryPointsRequest listRecoveryPointsRequest) This is a variant oflistRecoveryPoints(software.amazon.awssdk.services.redshiftserverless.model.ListRecoveryPointsRequest)operation.default ListReservationOfferingsResponselistReservationOfferings(Consumer<ListReservationOfferingsRequest.Builder> listReservationOfferingsRequest) Returns the current reservation offerings in your account.default ListReservationOfferingsResponselistReservationOfferings(ListReservationOfferingsRequest listReservationOfferingsRequest) Returns the current reservation offerings in your account.default ListReservationOfferingsIterablelistReservationOfferingsPaginator(Consumer<ListReservationOfferingsRequest.Builder> listReservationOfferingsRequest) This is a variant oflistReservationOfferings(software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsRequest)operation.default ListReservationOfferingsIterablelistReservationOfferingsPaginator(ListReservationOfferingsRequest listReservationOfferingsRequest) This is a variant oflistReservationOfferings(software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsRequest)operation.default ListReservationsResponselistReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest) Returns a list of Reservation objects.default ListReservationsResponselistReservations(ListReservationsRequest listReservationsRequest) Returns a list of Reservation objects.default ListReservationsIterablelistReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.redshiftserverless.model.ListReservationsRequest)operation.default ListReservationsIterablelistReservationsPaginator(ListReservationsRequest listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.redshiftserverless.model.ListReservationsRequest)operation.default ListScheduledActionsResponselistScheduledActions(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) Returns a list of scheduled actions.default ListScheduledActionsResponselistScheduledActions(ListScheduledActionsRequest listScheduledActionsRequest) Returns a list of scheduled actions.default ListScheduledActionsIterablelistScheduledActionsPaginator(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) This is a variant oflistScheduledActions(software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsRequest)operation.default ListScheduledActionsIterablelistScheduledActionsPaginator(ListScheduledActionsRequest listScheduledActionsRequest) This is a variant oflistScheduledActions(software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsRequest)operation.listSnapshotCopyConfigurations(Consumer<ListSnapshotCopyConfigurationsRequest.Builder> listSnapshotCopyConfigurationsRequest) Returns a list of snapshot copy configurations.listSnapshotCopyConfigurations(ListSnapshotCopyConfigurationsRequest listSnapshotCopyConfigurationsRequest) Returns a list of snapshot copy configurations.listSnapshotCopyConfigurationsPaginator(Consumer<ListSnapshotCopyConfigurationsRequest.Builder> listSnapshotCopyConfigurationsRequest) This is a variant oflistSnapshotCopyConfigurations(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsRequest)operation.listSnapshotCopyConfigurationsPaginator(ListSnapshotCopyConfigurationsRequest listSnapshotCopyConfigurationsRequest) This is a variant oflistSnapshotCopyConfigurations(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsRequest)operation.default ListSnapshotsResponselistSnapshots(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) Returns a list of snapshots.default ListSnapshotsResponselistSnapshots(ListSnapshotsRequest listSnapshotsRequest) Returns a list of snapshots.default ListSnapshotsIterablelistSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) This is a variant oflistSnapshots(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsRequest)operation.default ListSnapshotsIterablelistSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest) This is a variant oflistSnapshots(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotsRequest)operation.default ListTableRestoreStatusResponselistTableRestoreStatus(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest) Returns information about an array ofTableRestoreStatusobjects.default ListTableRestoreStatusResponselistTableRestoreStatus(ListTableRestoreStatusRequest listTableRestoreStatusRequest) Returns information about an array ofTableRestoreStatusobjects.default ListTableRestoreStatusIterablelistTableRestoreStatusPaginator(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest) This is a variant oflistTableRestoreStatus(software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusRequest)operation.default ListTableRestoreStatusIterablelistTableRestoreStatusPaginator(ListTableRestoreStatusRequest listTableRestoreStatusRequest) This is a variant oflistTableRestoreStatus(software.amazon.awssdk.services.redshiftserverless.model.ListTableRestoreStatusRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags assigned to a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags assigned to a resource.default ListTracksResponselistTracks(Consumer<ListTracksRequest.Builder> listTracksRequest) List the Amazon Redshift Serverless versions.default ListTracksResponselistTracks(ListTracksRequest listTracksRequest) List the Amazon Redshift Serverless versions.default ListTracksIterablelistTracksPaginator(Consumer<ListTracksRequest.Builder> listTracksRequest) This is a variant oflistTracks(software.amazon.awssdk.services.redshiftserverless.model.ListTracksRequest)operation.default ListTracksIterablelistTracksPaginator(ListTracksRequest listTracksRequest) This is a variant oflistTracks(software.amazon.awssdk.services.redshiftserverless.model.ListTracksRequest)operation.default ListUsageLimitsResponselistUsageLimits(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest) Lists all usage limits within Amazon Redshift Serverless.default ListUsageLimitsResponselistUsageLimits(ListUsageLimitsRequest listUsageLimitsRequest) Lists all usage limits within Amazon Redshift Serverless.default ListUsageLimitsIterablelistUsageLimitsPaginator(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest) This is a variant oflistUsageLimits(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsRequest)operation.default ListUsageLimitsIterablelistUsageLimitsPaginator(ListUsageLimitsRequest listUsageLimitsRequest) This is a variant oflistUsageLimits(software.amazon.awssdk.services.redshiftserverless.model.ListUsageLimitsRequest)operation.default ListWorkgroupsResponselistWorkgroups(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest) Returns information about a list of specified workgroups.default ListWorkgroupsResponselistWorkgroups(ListWorkgroupsRequest listWorkgroupsRequest) Returns information about a list of specified workgroups.default ListWorkgroupsIterablelistWorkgroupsPaginator(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest) This is a variant oflistWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsRequest)operation.default ListWorkgroupsIterablelistWorkgroupsPaginator(ListWorkgroupsRequest listWorkgroupsRequest) This is a variant oflistWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListWorkgroupsRequest)operation.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or updates a resource policy.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Creates or updates a resource policy.default RestoreFromRecoveryPointResponserestoreFromRecoveryPoint(Consumer<RestoreFromRecoveryPointRequest.Builder> restoreFromRecoveryPointRequest) Restore the data from a recovery point.default RestoreFromRecoveryPointResponserestoreFromRecoveryPoint(RestoreFromRecoveryPointRequest restoreFromRecoveryPointRequest) Restore the data from a recovery point.default RestoreFromSnapshotResponserestoreFromSnapshot(Consumer<RestoreFromSnapshotRequest.Builder> restoreFromSnapshotRequest) Restores a namespace from a snapshot.default RestoreFromSnapshotResponserestoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest) Restores a namespace from a snapshot.restoreTableFromRecoveryPoint(Consumer<RestoreTableFromRecoveryPointRequest.Builder> restoreTableFromRecoveryPointRequest) Restores a table from a recovery point to your Amazon Redshift Serverless instance.restoreTableFromRecoveryPoint(RestoreTableFromRecoveryPointRequest restoreTableFromRecoveryPointRequest) Restores a table from a recovery point to your Amazon Redshift Serverless instance.default RestoreTableFromSnapshotResponserestoreTableFromSnapshot(Consumer<RestoreTableFromSnapshotRequest.Builder> restoreTableFromSnapshotRequest) Restores a table from a snapshot to your Amazon Redshift Serverless instance.default RestoreTableFromSnapshotResponserestoreTableFromSnapshot(RestoreTableFromSnapshotRequest restoreTableFromSnapshotRequest) Restores a table from a snapshot to your Amazon Redshift Serverless instance.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Assigns one or more tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or set of tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes a tag or set of tags from a resource.updateCustomDomainAssociation(Consumer<UpdateCustomDomainAssociationRequest.Builder> updateCustomDomainAssociationRequest) Updates an Amazon Redshift Serverless certificate associated with a custom domain.updateCustomDomainAssociation(UpdateCustomDomainAssociationRequest updateCustomDomainAssociationRequest) Updates an Amazon Redshift Serverless certificate associated with a custom domain.default UpdateEndpointAccessResponseupdateEndpointAccess(Consumer<UpdateEndpointAccessRequest.Builder> updateEndpointAccessRequest) Updates an Amazon Redshift Serverless managed endpoint.default UpdateEndpointAccessResponseupdateEndpointAccess(UpdateEndpointAccessRequest updateEndpointAccessRequest) Updates an Amazon Redshift Serverless managed endpoint.default UpdateNamespaceResponseupdateNamespace(Consumer<UpdateNamespaceRequest.Builder> updateNamespaceRequest) Updates a namespace with the specified settings.default UpdateNamespaceResponseupdateNamespace(UpdateNamespaceRequest updateNamespaceRequest) Updates a namespace with the specified settings.default UpdateScheduledActionResponseupdateScheduledAction(Consumer<UpdateScheduledActionRequest.Builder> updateScheduledActionRequest) Updates a scheduled action.default UpdateScheduledActionResponseupdateScheduledAction(UpdateScheduledActionRequest updateScheduledActionRequest) Updates a scheduled action.default UpdateSnapshotResponseupdateSnapshot(Consumer<UpdateSnapshotRequest.Builder> updateSnapshotRequest) Updates a snapshot.default UpdateSnapshotResponseupdateSnapshot(UpdateSnapshotRequest updateSnapshotRequest) Updates a snapshot.updateSnapshotCopyConfiguration(Consumer<UpdateSnapshotCopyConfigurationRequest.Builder> updateSnapshotCopyConfigurationRequest) Updates a snapshot copy configuration.updateSnapshotCopyConfiguration(UpdateSnapshotCopyConfigurationRequest updateSnapshotCopyConfigurationRequest) Updates a snapshot copy configuration.default UpdateUsageLimitResponseupdateUsageLimit(Consumer<UpdateUsageLimitRequest.Builder> updateUsageLimitRequest) Update a usage limit in Amazon Redshift Serverless.default UpdateUsageLimitResponseupdateUsageLimit(UpdateUsageLimitRequest updateUsageLimitRequest) Update a usage limit in Amazon Redshift Serverless.default UpdateWorkgroupResponseupdateWorkgroup(Consumer<UpdateWorkgroupRequest.Builder> updateWorkgroupRequest) Updates a workgroup with the specified configuration settings.default UpdateWorkgroupResponseupdateWorkgroup(UpdateWorkgroupRequest updateWorkgroupRequest) Updates a workgroup with the specified configuration settings.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
convertRecoveryPointToSnapshot
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.
- Parameters:
convertRecoveryPointToSnapshotRequest-- Returns:
- Result of the ConvertRecoveryPointToSnapshot operation returned by the service.
- See Also:
-
convertRecoveryPointToSnapshot
default 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.Builderavoiding the need to create one manually viaConvertRecoveryPointToSnapshotRequest.builder()- Parameters:
convertRecoveryPointToSnapshotRequest- AConsumerthat will call methods onConvertRecoveryPointToSnapshotRequest.Builderto create a request.- Returns:
- Result of the ConvertRecoveryPointToSnapshot operation returned by the service.
- See Also:
-
createCustomDomainAssociation
default CreateCustomDomainAssociationResponse createCustomDomainAssociation(CreateCustomDomainAssociationRequest createCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a custom domain association for Amazon Redshift Serverless.
- Parameters:
createCustomDomainAssociationRequest-- Returns:
- Result of the CreateCustomDomainAssociation operation returned by the service.
- See Also:
-
createCustomDomainAssociation
default CreateCustomDomainAssociationResponse createCustomDomainAssociation(Consumer<CreateCustomDomainAssociationRequest.Builder> createCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a custom domain association for Amazon Redshift Serverless.
This is a convenience which creates an instance of the
CreateCustomDomainAssociationRequest.Builderavoiding the need to create one manually viaCreateCustomDomainAssociationRequest.builder()- Parameters:
createCustomDomainAssociationRequest- AConsumerthat will call methods onCreateCustomDomainAssociationRequest.Builderto create a request.- Returns:
- Result of the CreateCustomDomainAssociation operation returned by the service.
- See Also:
-
createEndpointAccess
default CreateEndpointAccessResponse createEndpointAccess(CreateEndpointAccessRequest createEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates an Amazon Redshift Serverless managed VPC endpoint.
- Parameters:
createEndpointAccessRequest-- Returns:
- Result of the CreateEndpointAccess operation returned by the service.
- See Also:
-
createEndpointAccess
default 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.Builderavoiding the need to create one manually viaCreateEndpointAccessRequest.builder()- Parameters:
createEndpointAccessRequest- AConsumerthat will call methods onCreateEndpointAccessRequest.Builderto create a request.- Returns:
- Result of the CreateEndpointAccess operation returned by the service.
- See Also:
-
createNamespace
default CreateNamespaceResponse createNamespace(CreateNamespaceRequest createNamespaceRequest) throws InternalServerException, ConflictException, ValidationException, TooManyTagsException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a namespace in Amazon Redshift Serverless.
- Parameters:
createNamespaceRequest-- Returns:
- Result of the CreateNamespace operation returned by the service.
- See Also:
-
createNamespace
default 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.Builderavoiding the need to create one manually viaCreateNamespaceRequest.builder()- Parameters:
createNamespaceRequest- AConsumerthat will call methods onCreateNamespaceRequest.Builderto create a request.- Returns:
- Result of the CreateNamespace operation returned by the service.
- See Also:
-
createReservation
default CreateReservationResponse createReservation(CreateReservationRequest createReservationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates an Amazon Redshift Serverless reservation, which gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.
- Parameters:
createReservationRequest-- Returns:
- Result of the CreateReservation operation returned by the service.
- See Also:
-
createReservation
default CreateReservationResponse createReservation(Consumer<CreateReservationRequest.Builder> createReservationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates an Amazon Redshift Serverless reservation, which gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.
This is a convenience which creates an instance of the
CreateReservationRequest.Builderavoiding the need to create one manually viaCreateReservationRequest.builder()- Parameters:
createReservationRequest- AConsumerthat will call methods onCreateReservationRequest.Builderto create a request.- Returns:
- Result of the CreateReservation operation returned by the service.
- See Also:
-
createScheduledAction
default CreateScheduledActionResponse createScheduledAction(CreateScheduledActionRequest createScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the
CreateSnapshotAPI operation.- Parameters:
createScheduledActionRequest-- Returns:
- Result of the CreateScheduledAction operation returned by the service.
- See Also:
-
createScheduledAction
default CreateScheduledActionResponse createScheduledAction(Consumer<CreateScheduledActionRequest.Builder> createScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the
CreateSnapshotAPI operation.
This is a convenience which creates an instance of the
CreateScheduledActionRequest.Builderavoiding the need to create one manually viaCreateScheduledActionRequest.builder()- Parameters:
createScheduledActionRequest- AConsumerthat will call methods onCreateScheduledActionRequest.Builderto create a request.- Returns:
- Result of the CreateScheduledAction operation returned by the service.
- See Also:
-
createSnapshot
default 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.
- Parameters:
createSnapshotRequest-- Returns:
- Result of the CreateSnapshot operation returned by the service.
- See Also:
-
createSnapshot
default 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.Builderavoiding the need to create one manually viaCreateSnapshotRequest.builder()- Parameters:
createSnapshotRequest- AConsumerthat will call methods onCreateSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateSnapshot operation returned by the service.
- See Also:
-
createSnapshotCopyConfiguration
default CreateSnapshotCopyConfigurationResponse createSnapshotCopyConfiguration(CreateSnapshotCopyConfigurationRequest createSnapshotCopyConfigurationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.
- Parameters:
createSnapshotCopyConfigurationRequest-- Returns:
- Result of the CreateSnapshotCopyConfiguration operation returned by the service.
- See Also:
-
createSnapshotCopyConfiguration
default CreateSnapshotCopyConfigurationResponse createSnapshotCopyConfiguration(Consumer<CreateSnapshotCopyConfigurationRequest.Builder> createSnapshotCopyConfigurationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.
This is a convenience which creates an instance of the
CreateSnapshotCopyConfigurationRequest.Builderavoiding the need to create one manually viaCreateSnapshotCopyConfigurationRequest.builder()- Parameters:
createSnapshotCopyConfigurationRequest- AConsumerthat will call methods onCreateSnapshotCopyConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateSnapshotCopyConfiguration operation returned by the service.
- See Also:
-
createUsageLimit
default 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.
- Parameters:
createUsageLimitRequest-- Returns:
- Result of the CreateUsageLimit operation returned by the service.
- See Also:
-
createUsageLimit
default 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.Builderavoiding the need to create one manually viaCreateUsageLimitRequest.builder()- Parameters:
createUsageLimitRequest- AConsumerthat will call methods onCreateUsageLimitRequest.Builderto create a request.- Returns:
- Result of the CreateUsageLimit operation returned by the service.
- See Also:
-
createWorkgroup
default CreateWorkgroupResponse createWorkgroup(CreateWorkgroupRequest createWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, Ipv6CidrBlockNotFoundException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates an workgroup in Amazon Redshift Serverless.
VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
-
Creating a public access workgroup
-
Modifying a private workgroup to public
-
Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
- Parameters:
createWorkgroupRequest-- Returns:
- Result of the CreateWorkgroup operation returned by the service.
- See Also:
-
-
createWorkgroup
default CreateWorkgroupResponse createWorkgroup(Consumer<CreateWorkgroupRequest.Builder> createWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, TooManyTagsException, Ipv6CidrBlockNotFoundException, AwsServiceException, SdkClientException, RedshiftServerlessException Creates an workgroup in Amazon Redshift Serverless.
VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
-
Creating a public access workgroup
-
Modifying a private workgroup to public
-
Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
This is a convenience which creates an instance of the
CreateWorkgroupRequest.Builderavoiding the need to create one manually viaCreateWorkgroupRequest.builder()- Parameters:
createWorkgroupRequest- AConsumerthat will call methods onCreateWorkgroupRequest.Builderto create a request.- Returns:
- Result of the CreateWorkgroup operation returned by the service.
- See Also:
-
-
deleteCustomDomainAssociation
default DeleteCustomDomainAssociationResponse deleteCustomDomainAssociation(DeleteCustomDomainAssociationRequest deleteCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a custom domain association for Amazon Redshift Serverless.
- Parameters:
deleteCustomDomainAssociationRequest-- Returns:
- Result of the DeleteCustomDomainAssociation operation returned by the service.
- See Also:
-
deleteCustomDomainAssociation
default DeleteCustomDomainAssociationResponse deleteCustomDomainAssociation(Consumer<DeleteCustomDomainAssociationRequest.Builder> deleteCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a custom domain association for Amazon Redshift Serverless.
This is a convenience which creates an instance of the
DeleteCustomDomainAssociationRequest.Builderavoiding the need to create one manually viaDeleteCustomDomainAssociationRequest.builder()- Parameters:
deleteCustomDomainAssociationRequest- AConsumerthat will call methods onDeleteCustomDomainAssociationRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomDomainAssociation operation returned by the service.
- See Also:
-
deleteEndpointAccess
default DeleteEndpointAccessResponse deleteEndpointAccess(DeleteEndpointAccessRequest deleteEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes an Amazon Redshift Serverless managed VPC endpoint.
- Parameters:
deleteEndpointAccessRequest-- Returns:
- Result of the DeleteEndpointAccess operation returned by the service.
- See Also:
-
deleteEndpointAccess
default 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.Builderavoiding the need to create one manually viaDeleteEndpointAccessRequest.builder()- Parameters:
deleteEndpointAccessRequest- AConsumerthat will call methods onDeleteEndpointAccessRequest.Builderto create a request.- Returns:
- Result of the DeleteEndpointAccess operation returned by the service.
- See Also:
-
deleteNamespace
default 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.
- Parameters:
deleteNamespaceRequest-- Returns:
- Result of the DeleteNamespace operation returned by the service.
- See Also:
-
deleteNamespace
default 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.Builderavoiding the need to create one manually viaDeleteNamespaceRequest.builder()- Parameters:
deleteNamespaceRequest- AConsumerthat will call methods onDeleteNamespaceRequest.Builderto create a request.- Returns:
- Result of the DeleteNamespace operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes the specified resource policy.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default 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.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteScheduledAction
default DeleteScheduledActionResponse deleteScheduledAction(DeleteScheduledActionRequest deleteScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a scheduled action.
- Parameters:
deleteScheduledActionRequest-- Returns:
- Result of the DeleteScheduledAction operation returned by the service.
- See Also:
-
deleteScheduledAction
default DeleteScheduledActionResponse deleteScheduledAction(Consumer<DeleteScheduledActionRequest.Builder> deleteScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a scheduled action.
This is a convenience which creates an instance of the
DeleteScheduledActionRequest.Builderavoiding the need to create one manually viaDeleteScheduledActionRequest.builder()- Parameters:
deleteScheduledActionRequest- AConsumerthat will call methods onDeleteScheduledActionRequest.Builderto create a request.- Returns:
- Result of the DeleteScheduledAction operation returned by the service.
- See Also:
-
deleteSnapshot
default DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a snapshot from Amazon Redshift Serverless.
- Parameters:
deleteSnapshotRequest-- Returns:
- Result of the DeleteSnapshot operation returned by the service.
- See Also:
-
deleteSnapshot
default 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.Builderavoiding the need to create one manually viaDeleteSnapshotRequest.builder()- Parameters:
deleteSnapshotRequest- AConsumerthat will call methods onDeleteSnapshotRequest.Builderto create a request.- Returns:
- Result of the DeleteSnapshot operation returned by the service.
- See Also:
-
deleteSnapshotCopyConfiguration
default DeleteSnapshotCopyConfigurationResponse deleteSnapshotCopyConfiguration(DeleteSnapshotCopyConfigurationRequest deleteSnapshotCopyConfigurationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a snapshot copy configuration
- Parameters:
deleteSnapshotCopyConfigurationRequest-- Returns:
- Result of the DeleteSnapshotCopyConfiguration operation returned by the service.
- See Also:
-
deleteSnapshotCopyConfiguration
default DeleteSnapshotCopyConfigurationResponse deleteSnapshotCopyConfiguration(Consumer<DeleteSnapshotCopyConfigurationRequest.Builder> deleteSnapshotCopyConfigurationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a snapshot copy configuration
This is a convenience which creates an instance of the
DeleteSnapshotCopyConfigurationRequest.Builderavoiding the need to create one manually viaDeleteSnapshotCopyConfigurationRequest.builder()- Parameters:
deleteSnapshotCopyConfigurationRequest- AConsumerthat will call methods onDeleteSnapshotCopyConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteSnapshotCopyConfiguration operation returned by the service.
- See Also:
-
deleteUsageLimit
default DeleteUsageLimitResponse deleteUsageLimit(DeleteUsageLimitRequest deleteUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a usage limit from Amazon Redshift Serverless.
- Parameters:
deleteUsageLimitRequest-- Returns:
- Result of the DeleteUsageLimit operation returned by the service.
- See Also:
-
deleteUsageLimit
default 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.Builderavoiding the need to create one manually viaDeleteUsageLimitRequest.builder()- Parameters:
deleteUsageLimitRequest- AConsumerthat will call methods onDeleteUsageLimitRequest.Builderto create a request.- Returns:
- Result of the DeleteUsageLimit operation returned by the service.
- See Also:
-
deleteWorkgroup
default DeleteWorkgroupResponse deleteWorkgroup(DeleteWorkgroupRequest deleteWorkgroupRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Deletes a workgroup.
- Parameters:
deleteWorkgroupRequest-- Returns:
- Result of the DeleteWorkgroup operation returned by the service.
- See Also:
-
deleteWorkgroup
default 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.Builderavoiding the need to create one manually viaDeleteWorkgroupRequest.builder()- Parameters:
deleteWorkgroupRequest- AConsumerthat will call methods onDeleteWorkgroupRequest.Builderto create a request.- Returns:
- Result of the DeleteWorkgroup operation returned by the service.
- See Also:
-
getCredentials
default 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).
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.
If the
DbNameparameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.- Parameters:
getCredentialsRequest-- Returns:
- Result of the GetCredentials operation returned by the service.
- See Also:
-
getCredentials
default 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).
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.
If the
DbNameparameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.
This is a convenience which creates an instance of the
GetCredentialsRequest.Builderavoiding the need to create one manually viaGetCredentialsRequest.builder()- Parameters:
getCredentialsRequest- AConsumerthat will call methods onGetCredentialsRequest.Builderto create a request.- Returns:
- Result of the GetCredentials operation returned by the service.
- See Also:
-
getCustomDomainAssociation
default GetCustomDomainAssociationResponse getCustomDomainAssociation(GetCustomDomainAssociationRequest getCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Gets information about a specific custom domain association.
- Parameters:
getCustomDomainAssociationRequest-- Returns:
- Result of the GetCustomDomainAssociation operation returned by the service.
- See Also:
-
getCustomDomainAssociation
default GetCustomDomainAssociationResponse getCustomDomainAssociation(Consumer<GetCustomDomainAssociationRequest.Builder> getCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Gets information about a specific custom domain association.
This is a convenience which creates an instance of the
GetCustomDomainAssociationRequest.Builderavoiding the need to create one manually viaGetCustomDomainAssociationRequest.builder()- Parameters:
getCustomDomainAssociationRequest- AConsumerthat will call methods onGetCustomDomainAssociationRequest.Builderto create a request.- Returns:
- Result of the GetCustomDomainAssociation operation returned by the service.
- See Also:
-
getEndpointAccess
default GetEndpointAccessResponse getEndpointAccess(GetEndpointAccessRequest getEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information, such as the name, about a VPC endpoint.
- Parameters:
getEndpointAccessRequest-- Returns:
- Result of the GetEndpointAccess operation returned by the service.
- See Also:
-
getEndpointAccess
default 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.Builderavoiding the need to create one manually viaGetEndpointAccessRequest.builder()- Parameters:
getEndpointAccessRequest- AConsumerthat will call methods onGetEndpointAccessRequest.Builderto create a request.- Returns:
- Result of the GetEndpointAccess operation returned by the service.
- See Also:
-
getNamespace
default GetNamespaceResponse getNamespace(GetNamespaceRequest getNamespaceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a namespace in Amazon Redshift Serverless.
- Parameters:
getNamespaceRequest-- Returns:
- Result of the GetNamespace operation returned by the service.
- See Also:
-
getNamespace
default 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.Builderavoiding the need to create one manually viaGetNamespaceRequest.builder()- Parameters:
getNamespaceRequest- AConsumerthat will call methods onGetNamespaceRequest.Builderto create a request.- Returns:
- Result of the GetNamespace operation returned by the service.
- See Also:
-
getRecoveryPoint
default GetRecoveryPointResponse getRecoveryPoint(GetRecoveryPointRequest getRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a recovery point.
- Parameters:
getRecoveryPointRequest-- Returns:
- Result of the GetRecoveryPoint operation returned by the service.
- See Also:
-
getRecoveryPoint
default 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.Builderavoiding the need to create one manually viaGetRecoveryPointRequest.builder()- Parameters:
getRecoveryPointRequest- AConsumerthat will call methods onGetRecoveryPointRequest.Builderto create a request.- Returns:
- Result of the GetRecoveryPoint operation returned by the service.
- See Also:
-
getReservation
default GetReservationResponse getReservation(GetReservationRequest getReservationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Gets an Amazon Redshift Serverless reservation. A reservation gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.
- Parameters:
getReservationRequest-- Returns:
- Result of the GetReservation operation returned by the service.
- See Also:
-
getReservation
default GetReservationResponse getReservation(Consumer<GetReservationRequest.Builder> getReservationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Gets an Amazon Redshift Serverless reservation. A reservation gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.
This is a convenience which creates an instance of the
GetReservationRequest.Builderavoiding the need to create one manually viaGetReservationRequest.builder()- Parameters:
getReservationRequest- AConsumerthat will call methods onGetReservationRequest.Builderto create a request.- Returns:
- Result of the GetReservation operation returned by the service.
- See Also:
-
getReservationOffering
default GetReservationOfferingResponse getReservationOffering(GetReservationOfferingRequest getReservationOfferingRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns the reservation offering. The offering determines the payment schedule for the reservation.
- Parameters:
getReservationOfferingRequest-- Returns:
- Result of the GetReservationOffering operation returned by the service.
- See Also:
-
getReservationOffering
default GetReservationOfferingResponse getReservationOffering(Consumer<GetReservationOfferingRequest.Builder> getReservationOfferingRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns the reservation offering. The offering determines the payment schedule for the reservation.
This is a convenience which creates an instance of the
GetReservationOfferingRequest.Builderavoiding the need to create one manually viaGetReservationOfferingRequest.builder()- Parameters:
getReservationOfferingRequest- AConsumerthat will call methods onGetReservationOfferingRequest.Builderto create a request.- Returns:
- Result of the GetReservationOffering operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a resource policy.
- Parameters:
getResourcePolicyRequest-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default 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.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getScheduledAction
default GetScheduledActionResponse getScheduledAction(GetScheduledActionRequest getScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a scheduled action.
- Parameters:
getScheduledActionRequest-- Returns:
- Result of the GetScheduledAction operation returned by the service.
- See Also:
-
getScheduledAction
default GetScheduledActionResponse getScheduledAction(Consumer<GetScheduledActionRequest.Builder> getScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a scheduled action.
This is a convenience which creates an instance of the
GetScheduledActionRequest.Builderavoiding the need to create one manually viaGetScheduledActionRequest.builder()- Parameters:
getScheduledActionRequest- AConsumerthat will call methods onGetScheduledActionRequest.Builderto create a request.- Returns:
- Result of the GetScheduledAction operation returned by the service.
- See Also:
-
getSnapshot
default GetSnapshotResponse getSnapshot(GetSnapshotRequest getSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a specific snapshot.
- Parameters:
getSnapshotRequest-- Returns:
- Result of the GetSnapshot operation returned by the service.
- See Also:
-
getSnapshot
default 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.Builderavoiding the need to create one manually viaGetSnapshotRequest.builder()- Parameters:
getSnapshotRequest- AConsumerthat will call methods onGetSnapshotRequest.Builderto create a request.- Returns:
- Result of the GetSnapshot operation returned by the service.
- See Also:
-
getTableRestoreStatus
default GetTableRestoreStatusResponse getTableRestoreStatus(GetTableRestoreStatusRequest getTableRestoreStatusRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a
TableRestoreStatusobject.- Parameters:
getTableRestoreStatusRequest-- Returns:
- Result of the GetTableRestoreStatus operation returned by the service.
- See Also:
-
getTableRestoreStatus
default GetTableRestoreStatusResponse getTableRestoreStatus(Consumer<GetTableRestoreStatusRequest.Builder> getTableRestoreStatusRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a
TableRestoreStatusobject.
This is a convenience which creates an instance of the
GetTableRestoreStatusRequest.Builderavoiding the need to create one manually viaGetTableRestoreStatusRequest.builder()- Parameters:
getTableRestoreStatusRequest- AConsumerthat will call methods onGetTableRestoreStatusRequest.Builderto create a request.- Returns:
- Result of the GetTableRestoreStatus operation returned by the service.
- See Also:
-
getTrack
default GetTrackResponse getTrack(GetTrackRequest getTrackRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Get the Redshift Serverless version for a specified track.
- Parameters:
getTrackRequest-- Returns:
- Result of the GetTrack operation returned by the service.
- See Also:
-
getTrack
default GetTrackResponse getTrack(Consumer<GetTrackRequest.Builder> getTrackRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Get the Redshift Serverless version for a specified track.
This is a convenience which creates an instance of the
GetTrackRequest.Builderavoiding the need to create one manually viaGetTrackRequest.builder()- Parameters:
getTrackRequest- AConsumerthat will call methods onGetTrackRequest.Builderto create a request.- Returns:
- Result of the GetTrack operation returned by the service.
- See Also:
-
getUsageLimit
default GetUsageLimitResponse getUsageLimit(GetUsageLimitRequest getUsageLimitRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a usage limit.
- Parameters:
getUsageLimitRequest-- Returns:
- Result of the GetUsageLimit operation returned by the service.
- See Also:
-
getUsageLimit
default 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.Builderavoiding the need to create one manually viaGetUsageLimitRequest.builder()- Parameters:
getUsageLimitRequest- AConsumerthat will call methods onGetUsageLimitRequest.Builderto create a request.- Returns:
- Result of the GetUsageLimit operation returned by the service.
- See Also:
-
getWorkgroup
default GetWorkgroupResponse getWorkgroup(GetWorkgroupRequest getWorkgroupRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a specific workgroup.
- Parameters:
getWorkgroupRequest-- Returns:
- Result of the GetWorkgroup operation returned by the service.
- See Also:
-
getWorkgroup
default 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.Builderavoiding the need to create one manually viaGetWorkgroupRequest.builder()- Parameters:
getWorkgroupRequest- AConsumerthat will call methods onGetWorkgroupRequest.Builderto create a request.- Returns:
- Result of the GetWorkgroup operation returned by the service.
- See Also:
-
listCustomDomainAssociations
default ListCustomDomainAssociationsResponse listCustomDomainAssociations(ListCustomDomainAssociationsRequest listCustomDomainAssociationsRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Lists custom domain associations for Amazon Redshift Serverless.
- Parameters:
listCustomDomainAssociationsRequest-- Returns:
- Result of the ListCustomDomainAssociations operation returned by the service.
- See Also:
-
listCustomDomainAssociations
default ListCustomDomainAssociationsResponse listCustomDomainAssociations(Consumer<ListCustomDomainAssociationsRequest.Builder> listCustomDomainAssociationsRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Lists custom domain associations for Amazon Redshift Serverless.
This is a convenience which creates an instance of the
ListCustomDomainAssociationsRequest.Builderavoiding the need to create one manually viaListCustomDomainAssociationsRequest.builder()- Parameters:
listCustomDomainAssociationsRequest- AConsumerthat will call methods onListCustomDomainAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListCustomDomainAssociations operation returned by the service.
- See Also:
-
listCustomDomainAssociationsPaginator
default ListCustomDomainAssociationsIterable listCustomDomainAssociationsPaginator(ListCustomDomainAssociationsRequest listCustomDomainAssociationsRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listCustomDomainAssociations(software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListCustomDomainAssociationsIterable responses = client.listCustomDomainAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListCustomDomainAssociationsIterable responses = client .listCustomDomainAssociationsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListCustomDomainAssociationsIterable responses = client.listCustomDomainAssociationsPaginator(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
listCustomDomainAssociations(software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsRequest)operation.- Parameters:
listCustomDomainAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomDomainAssociationsPaginator
default ListCustomDomainAssociationsIterable listCustomDomainAssociationsPaginator(Consumer<ListCustomDomainAssociationsRequest.Builder> listCustomDomainAssociationsRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listCustomDomainAssociations(software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListCustomDomainAssociationsIterable responses = client.listCustomDomainAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListCustomDomainAssociationsIterable responses = client .listCustomDomainAssociationsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListCustomDomainAssociationsIterable responses = client.listCustomDomainAssociationsPaginator(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
listCustomDomainAssociations(software.amazon.awssdk.services.redshiftserverless.model.ListCustomDomainAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListCustomDomainAssociationsRequest.Builderavoiding the need to create one manually viaListCustomDomainAssociationsRequest.builder()- Parameters:
listCustomDomainAssociationsRequest- AConsumerthat will call methods onListCustomDomainAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEndpointAccess
default ListEndpointAccessResponse listEndpointAccess(ListEndpointAccessRequest listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns an array of
EndpointAccessobjects and relevant information.- Parameters:
listEndpointAccessRequest-- Returns:
- Result of the ListEndpointAccess operation returned by the service.
- See Also:
-
listEndpointAccess
default ListEndpointAccessResponse listEndpointAccess(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns an array of
EndpointAccessobjects and relevant information.
This is a convenience which creates an instance of the
ListEndpointAccessRequest.Builderavoiding the need to create one manually viaListEndpointAccessRequest.builder()- Parameters:
listEndpointAccessRequest- AConsumerthat will call methods onListEndpointAccessRequest.Builderto create a request.- Returns:
- Result of the ListEndpointAccess operation returned by the service.
- See Also:
-
listEndpointAccessPaginator
default ListEndpointAccessIterable listEndpointAccessPaginator(ListEndpointAccessRequest listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client.listEndpointAccessPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listEndpointAccessRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEndpointAccessPaginator
default ListEndpointAccessIterable listEndpointAccessPaginator(Consumer<ListEndpointAccessRequest.Builder> listEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListEndpointAccessIterable responses = client.listEndpointAccessPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListEndpointAccessRequest.builder()- Parameters:
listEndpointAccessRequest- AConsumerthat will call methods onListEndpointAccessRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedWorkgroups
default ListManagedWorkgroupsResponse listManagedWorkgroups(ListManagedWorkgroupsRequest listManagedWorkgroupsRequest) throws InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a list of specified managed workgroups in your account.
- Parameters:
listManagedWorkgroupsRequest-- Returns:
- Result of the ListManagedWorkgroups operation returned by the service.
- See Also:
-
listManagedWorkgroups
default ListManagedWorkgroupsResponse listManagedWorkgroups(Consumer<ListManagedWorkgroupsRequest.Builder> listManagedWorkgroupsRequest) throws InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a list of specified managed workgroups in your account.
This is a convenience which creates an instance of the
ListManagedWorkgroupsRequest.Builderavoiding the need to create one manually viaListManagedWorkgroupsRequest.builder()- Parameters:
listManagedWorkgroupsRequest- AConsumerthat will call methods onListManagedWorkgroupsRequest.Builderto create a request.- Returns:
- Result of the ListManagedWorkgroups operation returned by the service.
- See Also:
-
listManagedWorkgroupsPaginator
default ListManagedWorkgroupsIterable listManagedWorkgroupsPaginator(ListManagedWorkgroupsRequest listManagedWorkgroupsRequest) throws InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listManagedWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListManagedWorkgroupsIterable responses = client.listManagedWorkgroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListManagedWorkgroupsIterable responses = client .listManagedWorkgroupsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListManagedWorkgroupsIterable responses = client.listManagedWorkgroupsPaginator(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
listManagedWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsRequest)operation.- Parameters:
listManagedWorkgroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedWorkgroupsPaginator
default ListManagedWorkgroupsIterable listManagedWorkgroupsPaginator(Consumer<ListManagedWorkgroupsRequest.Builder> listManagedWorkgroupsRequest) throws InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listManagedWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListManagedWorkgroupsIterable responses = client.listManagedWorkgroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListManagedWorkgroupsIterable responses = client .listManagedWorkgroupsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListManagedWorkgroupsIterable responses = client.listManagedWorkgroupsPaginator(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
listManagedWorkgroups(software.amazon.awssdk.services.redshiftserverless.model.ListManagedWorkgroupsRequest)operation.
This is a convenience which creates an instance of the
ListManagedWorkgroupsRequest.Builderavoiding the need to create one manually viaListManagedWorkgroupsRequest.builder()- Parameters:
listManagedWorkgroupsRequest- AConsumerthat will call methods onListManagedWorkgroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNamespaces
default ListNamespacesResponse listNamespaces(ListNamespacesRequest listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a list of specified namespaces.
- Parameters:
listNamespacesRequest-- Returns:
- Result of the ListNamespaces operation returned by the service.
- See Also:
-
listNamespaces
default 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.Builderavoiding the need to create one manually viaListNamespacesRequest.builder()- Parameters:
listNamespacesRequest- AConsumerthat will call methods onListNamespacesRequest.Builderto create a request.- Returns:
- Result of the ListNamespaces operation returned by the service.
- See Also:
-
listNamespacesPaginator
default ListNamespacesIterable listNamespacesPaginator(ListNamespacesRequest listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client.listNamespacesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listNamespacesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNamespacesPaginator
default ListNamespacesIterable listNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListNamespacesIterable responses = client.listNamespacesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListNamespacesRequest.builder()- Parameters:
listNamespacesRequest- AConsumerthat will call methods onListNamespacesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRecoveryPoints
default ListRecoveryPointsResponse listRecoveryPoints(ListRecoveryPointsRequest listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns an array of recovery points.
- Parameters:
listRecoveryPointsRequest-- Returns:
- Result of the ListRecoveryPoints operation returned by the service.
- See Also:
-
listRecoveryPoints
default 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.Builderavoiding the need to create one manually viaListRecoveryPointsRequest.builder()- Parameters:
listRecoveryPointsRequest- AConsumerthat will call methods onListRecoveryPointsRequest.Builderto create a request.- Returns:
- Result of the ListRecoveryPoints operation returned by the service.
- See Also:
-
listRecoveryPointsPaginator
default ListRecoveryPointsIterable listRecoveryPointsPaginator(ListRecoveryPointsRequest listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client.listRecoveryPointsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listRecoveryPointsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRecoveryPointsPaginator
default ListRecoveryPointsIterable listRecoveryPointsPaginator(Consumer<ListRecoveryPointsRequest.Builder> listRecoveryPointsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListRecoveryPointsIterable responses = client.listRecoveryPointsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListRecoveryPointsRequest.builder()- Parameters:
listRecoveryPointsRequest- AConsumerthat will call methods onListRecoveryPointsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReservationOfferings
default ListReservationOfferingsResponse listReservationOfferings(ListReservationOfferingsRequest listReservationOfferingsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns the current reservation offerings in your account.
- Parameters:
listReservationOfferingsRequest-- Returns:
- Result of the ListReservationOfferings operation returned by the service.
- See Also:
-
listReservationOfferings
default ListReservationOfferingsResponse listReservationOfferings(Consumer<ListReservationOfferingsRequest.Builder> listReservationOfferingsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns the current reservation offerings in your account.
This is a convenience which creates an instance of the
ListReservationOfferingsRequest.Builderavoiding the need to create one manually viaListReservationOfferingsRequest.builder()- Parameters:
listReservationOfferingsRequest- AConsumerthat will call methods onListReservationOfferingsRequest.Builderto create a request.- Returns:
- Result of the ListReservationOfferings operation returned by the service.
- See Also:
-
listReservationOfferingsPaginator
default ListReservationOfferingsIterable listReservationOfferingsPaginator(ListReservationOfferingsRequest listReservationOfferingsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listReservationOfferings(software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationOfferingsIterable responses = client.listReservationOfferingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListReservationOfferingsIterable responses = client .listReservationOfferingsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationOfferingsIterable responses = client.listReservationOfferingsPaginator(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
listReservationOfferings(software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsRequest)operation.- Parameters:
listReservationOfferingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReservationOfferingsPaginator
default ListReservationOfferingsIterable listReservationOfferingsPaginator(Consumer<ListReservationOfferingsRequest.Builder> listReservationOfferingsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listReservationOfferings(software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationOfferingsIterable responses = client.listReservationOfferingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListReservationOfferingsIterable responses = client .listReservationOfferingsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationOfferingsIterable responses = client.listReservationOfferingsPaginator(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
listReservationOfferings(software.amazon.awssdk.services.redshiftserverless.model.ListReservationOfferingsRequest)operation.
This is a convenience which creates an instance of the
ListReservationOfferingsRequest.Builderavoiding the need to create one manually viaListReservationOfferingsRequest.builder()- Parameters:
listReservationOfferingsRequest- AConsumerthat will call methods onListReservationOfferingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReservations
default ListReservationsResponse listReservations(ListReservationsRequest listReservationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of Reservation objects.
- Parameters:
listReservationsRequest-- Returns:
- Result of the ListReservations operation returned by the service.
- See Also:
-
listReservations
default ListReservationsResponse listReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of Reservation objects.
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- Result of the ListReservations operation returned by the service.
- See Also:
-
listReservationsPaginator
default ListReservationsIterable listReservationsPaginator(ListReservationsRequest listReservationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listReservations(software.amazon.awssdk.services.redshiftserverless.model.ListReservationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListReservationsIterable responses = client .listReservationsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListReservationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationsIterable responses = client.listReservationsPaginator(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
listReservations(software.amazon.awssdk.services.redshiftserverless.model.ListReservationsRequest)operation.- Parameters:
listReservationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReservationsPaginator
default ListReservationsIterable listReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listReservations(software.amazon.awssdk.services.redshiftserverless.model.ListReservationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListReservationsIterable responses = client .listReservationsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListReservationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListReservationsIterable responses = client.listReservationsPaginator(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
listReservations(software.amazon.awssdk.services.redshiftserverless.model.ListReservationsRequest)operation.
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listScheduledActions
default ListScheduledActionsResponse listScheduledActions(ListScheduledActionsRequest listScheduledActionsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of scheduled actions. You can use the flags to filter the list of returned scheduled actions.
- Parameters:
listScheduledActionsRequest-- Returns:
- Result of the ListScheduledActions operation returned by the service.
- See Also:
-
listScheduledActions
default ListScheduledActionsResponse listScheduledActions(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of scheduled actions. You can use the flags to filter the list of returned scheduled actions.
This is a convenience which creates an instance of the
ListScheduledActionsRequest.Builderavoiding the need to create one manually viaListScheduledActionsRequest.builder()- Parameters:
listScheduledActionsRequest- AConsumerthat will call methods onListScheduledActionsRequest.Builderto create a request.- Returns:
- Result of the ListScheduledActions operation returned by the service.
- See Also:
-
listScheduledActionsPaginator
default ListScheduledActionsIterable listScheduledActionsPaginator(ListScheduledActionsRequest listScheduledActionsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listScheduledActions(software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListScheduledActionsIterable responses = client.listScheduledActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListScheduledActionsIterable responses = client .listScheduledActionsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListScheduledActionsIterable responses = client.listScheduledActionsPaginator(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
listScheduledActions(software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsRequest)operation.- Parameters:
listScheduledActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listScheduledActionsPaginator
default ListScheduledActionsIterable listScheduledActionsPaginator(Consumer<ListScheduledActionsRequest.Builder> listScheduledActionsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listScheduledActions(software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListScheduledActionsIterable responses = client.listScheduledActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListScheduledActionsIterable responses = client .listScheduledActionsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListScheduledActionsIterable responses = client.listScheduledActionsPaginator(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
listScheduledActions(software.amazon.awssdk.services.redshiftserverless.model.ListScheduledActionsRequest)operation.
This is a convenience which creates an instance of the
ListScheduledActionsRequest.Builderavoiding the need to create one manually viaListScheduledActionsRequest.builder()- Parameters:
listScheduledActionsRequest- AConsumerthat will call methods onListScheduledActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSnapshotCopyConfigurations
default ListSnapshotCopyConfigurationsResponse listSnapshotCopyConfigurations(ListSnapshotCopyConfigurationsRequest listSnapshotCopyConfigurationsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of snapshot copy configurations.
- Parameters:
listSnapshotCopyConfigurationsRequest-- Returns:
- Result of the ListSnapshotCopyConfigurations operation returned by the service.
- See Also:
-
listSnapshotCopyConfigurations
default ListSnapshotCopyConfigurationsResponse listSnapshotCopyConfigurations(Consumer<ListSnapshotCopyConfigurationsRequest.Builder> listSnapshotCopyConfigurationsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of snapshot copy configurations.
This is a convenience which creates an instance of the
ListSnapshotCopyConfigurationsRequest.Builderavoiding the need to create one manually viaListSnapshotCopyConfigurationsRequest.builder()- Parameters:
listSnapshotCopyConfigurationsRequest- AConsumerthat will call methods onListSnapshotCopyConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListSnapshotCopyConfigurations operation returned by the service.
- See Also:
-
listSnapshotCopyConfigurationsPaginator
default ListSnapshotCopyConfigurationsIterable listSnapshotCopyConfigurationsPaginator(ListSnapshotCopyConfigurationsRequest listSnapshotCopyConfigurationsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listSnapshotCopyConfigurations(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotCopyConfigurationsIterable responses = client.listSnapshotCopyConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotCopyConfigurationsIterable responses = client .listSnapshotCopyConfigurationsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotCopyConfigurationsIterable responses = client.listSnapshotCopyConfigurationsPaginator(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
listSnapshotCopyConfigurations(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsRequest)operation.- Parameters:
listSnapshotCopyConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSnapshotCopyConfigurationsPaginator
default ListSnapshotCopyConfigurationsIterable listSnapshotCopyConfigurationsPaginator(Consumer<ListSnapshotCopyConfigurationsRequest.Builder> listSnapshotCopyConfigurationsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listSnapshotCopyConfigurations(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotCopyConfigurationsIterable responses = client.listSnapshotCopyConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotCopyConfigurationsIterable responses = client .listSnapshotCopyConfigurationsPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotCopyConfigurationsIterable responses = client.listSnapshotCopyConfigurationsPaginator(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
listSnapshotCopyConfigurations(software.amazon.awssdk.services.redshiftserverless.model.ListSnapshotCopyConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListSnapshotCopyConfigurationsRequest.Builderavoiding the need to create one manually viaListSnapshotCopyConfigurationsRequest.builder()- Parameters:
listSnapshotCopyConfigurationsRequest- AConsumerthat will call methods onListSnapshotCopyConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSnapshots
default ListSnapshotsResponse listSnapshots(ListSnapshotsRequest listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns a list of snapshots.
- Parameters:
listSnapshotsRequest-- Returns:
- Result of the ListSnapshots operation returned by the service.
- See Also:
-
listSnapshots
default 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.Builderavoiding the need to create one manually viaListSnapshotsRequest.builder()- Parameters:
listSnapshotsRequest- AConsumerthat will call methods onListSnapshotsRequest.Builderto create a request.- Returns:
- Result of the ListSnapshots operation returned by the service.
- See Also:
-
listSnapshotsPaginator
default ListSnapshotsIterable listSnapshotsPaginator(ListSnapshotsRequest listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listSnapshotsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSnapshotsPaginator
default ListSnapshotsIterable listSnapshotsPaginator(Consumer<ListSnapshotsRequest.Builder> listSnapshotsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListSnapshotsIterable responses = client.listSnapshotsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListSnapshotsRequest.builder()- Parameters:
listSnapshotsRequest- AConsumerthat will call methods onListSnapshotsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTableRestoreStatus
default ListTableRestoreStatusResponse listTableRestoreStatus(ListTableRestoreStatusRequest listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about an array of
TableRestoreStatusobjects.- Parameters:
listTableRestoreStatusRequest-- Returns:
- Result of the ListTableRestoreStatus operation returned by the service.
- See Also:
-
listTableRestoreStatus
default ListTableRestoreStatusResponse listTableRestoreStatus(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about an array of
TableRestoreStatusobjects.
This is a convenience which creates an instance of the
ListTableRestoreStatusRequest.Builderavoiding the need to create one manually viaListTableRestoreStatusRequest.builder()- Parameters:
listTableRestoreStatusRequest- AConsumerthat will call methods onListTableRestoreStatusRequest.Builderto create a request.- Returns:
- Result of the ListTableRestoreStatus operation returned by the service.
- See Also:
-
listTableRestoreStatusPaginator
default ListTableRestoreStatusIterable listTableRestoreStatusPaginator(ListTableRestoreStatusRequest listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client.listTableRestoreStatusPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listTableRestoreStatusRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTableRestoreStatusPaginator
default ListTableRestoreStatusIterable listTableRestoreStatusPaginator(Consumer<ListTableRestoreStatusRequest.Builder> listTableRestoreStatusRequest) throws InvalidPaginationException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListTableRestoreStatusIterable responses = client.listTableRestoreStatusPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListTableRestoreStatusRequest.builder()- Parameters:
listTableRestoreStatusRequest- AConsumerthat will call methods onListTableRestoreStatusRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Lists the tags assigned to a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTracks
default ListTracksResponse listTracks(ListTracksRequest listTracksRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException List the Amazon Redshift Serverless versions.
- Parameters:
listTracksRequest-- Returns:
- Result of the ListTracks operation returned by the service.
- See Also:
-
listTracks
default ListTracksResponse listTracks(Consumer<ListTracksRequest.Builder> listTracksRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException List the Amazon Redshift Serverless versions.
This is a convenience which creates an instance of the
ListTracksRequest.Builderavoiding the need to create one manually viaListTracksRequest.builder()- Parameters:
listTracksRequest- AConsumerthat will call methods onListTracksRequest.Builderto create a request.- Returns:
- Result of the ListTracks operation returned by the service.
- See Also:
-
listTracksPaginator
default ListTracksIterable listTracksPaginator(ListTracksRequest listTracksRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listTracks(software.amazon.awssdk.services.redshiftserverless.model.ListTracksRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListTracksIterable responses = client.listTracksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListTracksIterable responses = client .listTracksPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListTracksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListTracksIterable responses = client.listTracksPaginator(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
listTracks(software.amazon.awssdk.services.redshiftserverless.model.ListTracksRequest)operation.- Parameters:
listTracksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTracksPaginator
default ListTracksIterable listTracksPaginator(Consumer<ListTracksRequest.Builder> listTracksRequest) throws InternalServerException, InvalidPaginationException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException This is a variant of
listTracks(software.amazon.awssdk.services.redshiftserverless.model.ListTracksRequest)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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListTracksIterable responses = client.listTracksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.redshiftserverless.paginators.ListTracksIterable responses = client .listTracksPaginator(request); for (software.amazon.awssdk.services.redshiftserverless.model.ListTracksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.redshiftserverless.paginators.ListTracksIterable responses = client.listTracksPaginator(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
listTracks(software.amazon.awssdk.services.redshiftserverless.model.ListTracksRequest)operation.
This is a convenience which creates an instance of the
ListTracksRequest.Builderavoiding the need to create one manually viaListTracksRequest.builder()- Parameters:
listTracksRequest- AConsumerthat will call methods onListTracksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUsageLimits
default ListUsageLimitsResponse listUsageLimits(ListUsageLimitsRequest listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Lists all usage limits within Amazon Redshift Serverless.
- Parameters:
listUsageLimitsRequest-- Returns:
- Result of the ListUsageLimits operation returned by the service.
- See Also:
-
listUsageLimits
default 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.Builderavoiding the need to create one manually viaListUsageLimitsRequest.builder()- Parameters:
listUsageLimitsRequest- AConsumerthat will call methods onListUsageLimitsRequest.Builderto create a request.- Returns:
- Result of the ListUsageLimits operation returned by the service.
- See Also:
-
listUsageLimitsPaginator
default ListUsageLimitsIterable listUsageLimitsPaginator(ListUsageLimitsRequest listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client.listUsageLimitsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listUsageLimitsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUsageLimitsPaginator
default ListUsageLimitsIterable listUsageLimitsPaginator(Consumer<ListUsageLimitsRequest.Builder> listUsageLimitsRequest) throws InternalServerException, InvalidPaginationException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListUsageLimitsIterable responses = client.listUsageLimitsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListUsageLimitsRequest.builder()- Parameters:
listUsageLimitsRequest- AConsumerthat will call methods onListUsageLimitsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkgroups
default ListWorkgroupsResponse listWorkgroups(ListWorkgroupsRequest listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Returns information about a list of specified workgroups.
- Parameters:
listWorkgroupsRequest-- Returns:
- Result of the ListWorkgroups operation returned by the service.
- See Also:
-
listWorkgroups
default 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.Builderavoiding the need to create one manually viaListWorkgroupsRequest.builder()- Parameters:
listWorkgroupsRequest- AConsumerthat will call methods onListWorkgroupsRequest.Builderto create a request.- Returns:
- Result of the ListWorkgroups operation returned by the service.
- See Also:
-
listWorkgroupsPaginator
default ListWorkgroupsIterable listWorkgroupsPaginator(ListWorkgroupsRequest listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client.listWorkgroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listWorkgroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkgroupsPaginator
default ListWorkgroupsIterable listWorkgroupsPaginator(Consumer<ListWorkgroupsRequest.Builder> listWorkgroupsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException 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
2) Using For loopsoftware.amazon.awssdk.services.redshiftserverless.paginators.ListWorkgroupsIterable responses = client.listWorkgroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListWorkgroupsRequest.builder()- Parameters:
listWorkgroupsRequest- AConsumerthat will call methods onListWorkgroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putResourcePolicy
default 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.
- Parameters:
putResourcePolicyRequest-- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default 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.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
restoreFromRecoveryPoint
default RestoreFromRecoveryPointResponse restoreFromRecoveryPoint(RestoreFromRecoveryPointRequest restoreFromRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Restore the data from a recovery point.
- Parameters:
restoreFromRecoveryPointRequest-- Returns:
- Result of the RestoreFromRecoveryPoint operation returned by the service.
- See Also:
-
restoreFromRecoveryPoint
default 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.Builderavoiding the need to create one manually viaRestoreFromRecoveryPointRequest.builder()- Parameters:
restoreFromRecoveryPointRequest- AConsumerthat will call methods onRestoreFromRecoveryPointRequest.Builderto create a request.- Returns:
- Result of the RestoreFromRecoveryPoint operation returned by the service.
- See Also:
-
restoreFromSnapshot
default RestoreFromSnapshotResponse restoreFromSnapshot(RestoreFromSnapshotRequest restoreFromSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, RedshiftServerlessException Restores a namespace from a snapshot.
- Parameters:
restoreFromSnapshotRequest-- Returns:
- Result of the RestoreFromSnapshot operation returned by the service.
- See Also:
-
restoreFromSnapshot
default 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.Builderavoiding the need to create one manually viaRestoreFromSnapshotRequest.builder()- Parameters:
restoreFromSnapshotRequest- AConsumerthat will call methods onRestoreFromSnapshotRequest.Builderto create a request.- Returns:
- Result of the RestoreFromSnapshot operation returned by the service.
- See Also:
-
restoreTableFromRecoveryPoint
default RestoreTableFromRecoveryPointResponse restoreTableFromRecoveryPoint(RestoreTableFromRecoveryPointRequest restoreTableFromRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Restores a table from a recovery point to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.
- Parameters:
restoreTableFromRecoveryPointRequest-- Returns:
- Result of the RestoreTableFromRecoveryPoint operation returned by the service.
- See Also:
-
restoreTableFromRecoveryPoint
default RestoreTableFromRecoveryPointResponse restoreTableFromRecoveryPoint(Consumer<RestoreTableFromRecoveryPointRequest.Builder> restoreTableFromRecoveryPointRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Restores a table from a recovery point 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
RestoreTableFromRecoveryPointRequest.Builderavoiding the need to create one manually viaRestoreTableFromRecoveryPointRequest.builder()- Parameters:
restoreTableFromRecoveryPointRequest- AConsumerthat will call methods onRestoreTableFromRecoveryPointRequest.Builderto create a request.- Returns:
- Result of the RestoreTableFromRecoveryPoint operation returned by the service.
- See Also:
-
restoreTableFromSnapshot
default 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.
- Parameters:
restoreTableFromSnapshotRequest-- Returns:
- Result of the RestoreTableFromSnapshot operation returned by the service.
- See Also:
-
restoreTableFromSnapshot
default 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.Builderavoiding the need to create one manually viaRestoreTableFromSnapshotRequest.builder()- Parameters:
restoreTableFromSnapshotRequest- AConsumerthat will call methods onRestoreTableFromSnapshotRequest.Builderto create a request.- Returns:
- Result of the RestoreTableFromSnapshot operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, TooManyTagsException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Assigns one or more tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Removes a tag or set of tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateCustomDomainAssociation
default UpdateCustomDomainAssociationResponse updateCustomDomainAssociation(UpdateCustomDomainAssociationRequest updateCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates an Amazon Redshift Serverless certificate associated with a custom domain.
- Parameters:
updateCustomDomainAssociationRequest-- Returns:
- Result of the UpdateCustomDomainAssociation operation returned by the service.
- See Also:
-
updateCustomDomainAssociation
default UpdateCustomDomainAssociationResponse updateCustomDomainAssociation(Consumer<UpdateCustomDomainAssociationRequest.Builder> updateCustomDomainAssociationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates an Amazon Redshift Serverless certificate associated with a custom domain.
This is a convenience which creates an instance of the
UpdateCustomDomainAssociationRequest.Builderavoiding the need to create one manually viaUpdateCustomDomainAssociationRequest.builder()- Parameters:
updateCustomDomainAssociationRequest- AConsumerthat will call methods onUpdateCustomDomainAssociationRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomDomainAssociation operation returned by the service.
- See Also:
-
updateEndpointAccess
default UpdateEndpointAccessResponse updateEndpointAccess(UpdateEndpointAccessRequest updateEndpointAccessRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates an Amazon Redshift Serverless managed endpoint.
- Parameters:
updateEndpointAccessRequest-- Returns:
- Result of the UpdateEndpointAccess operation returned by the service.
- See Also:
-
updateEndpointAccess
default 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.Builderavoiding the need to create one manually viaUpdateEndpointAccessRequest.builder()- Parameters:
updateEndpointAccessRequest- AConsumerthat will call methods onUpdateEndpointAccessRequest.Builderto create a request.- Returns:
- Result of the UpdateEndpointAccess operation returned by the service.
- See Also:
-
updateNamespace
default 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
adminUsernameandadminUserPasswordto update either field, but you can't update bothkmsKeyIdandlogExportsin a single request.- Parameters:
updateNamespaceRequest-- Returns:
- Result of the UpdateNamespace operation returned by the service.
- See Also:
-
updateNamespace
default 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
adminUsernameandadminUserPasswordto update either field, but you can't update bothkmsKeyIdandlogExportsin a single request.
This is a convenience which creates an instance of the
UpdateNamespaceRequest.Builderavoiding the need to create one manually viaUpdateNamespaceRequest.builder()- Parameters:
updateNamespaceRequest- AConsumerthat will call methods onUpdateNamespaceRequest.Builderto create a request.- Returns:
- Result of the UpdateNamespace operation returned by the service.
- See Also:
-
updateScheduledAction
default UpdateScheduledActionResponse updateScheduledAction(UpdateScheduledActionRequest updateScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates a scheduled action.
- Parameters:
updateScheduledActionRequest-- Returns:
- Result of the UpdateScheduledAction operation returned by the service.
- See Also:
-
updateScheduledAction
default UpdateScheduledActionResponse updateScheduledAction(Consumer<UpdateScheduledActionRequest.Builder> updateScheduledActionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates a scheduled action.
This is a convenience which creates an instance of the
UpdateScheduledActionRequest.Builderavoiding the need to create one manually viaUpdateScheduledActionRequest.builder()- Parameters:
updateScheduledActionRequest- AConsumerthat will call methods onUpdateScheduledActionRequest.Builderto create a request.- Returns:
- Result of the UpdateScheduledAction operation returned by the service.
- See Also:
-
updateSnapshot
default UpdateSnapshotResponse updateSnapshot(UpdateSnapshotRequest updateSnapshotRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates a snapshot.
- Parameters:
updateSnapshotRequest-- Returns:
- Result of the UpdateSnapshot operation returned by the service.
- See Also:
-
updateSnapshot
default 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.Builderavoiding the need to create one manually viaUpdateSnapshotRequest.builder()- Parameters:
updateSnapshotRequest- AConsumerthat will call methods onUpdateSnapshotRequest.Builderto create a request.- Returns:
- Result of the UpdateSnapshot operation returned by the service.
- See Also:
-
updateSnapshotCopyConfiguration
default UpdateSnapshotCopyConfigurationResponse updateSnapshotCopyConfiguration(UpdateSnapshotCopyConfigurationRequest updateSnapshotCopyConfigurationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates a snapshot copy configuration.
- Parameters:
updateSnapshotCopyConfigurationRequest-- Returns:
- Result of the UpdateSnapshotCopyConfiguration operation returned by the service.
- See Also:
-
updateSnapshotCopyConfiguration
default UpdateSnapshotCopyConfigurationResponse updateSnapshotCopyConfiguration(Consumer<UpdateSnapshotCopyConfigurationRequest.Builder> updateSnapshotCopyConfigurationRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, RedshiftServerlessException Updates a snapshot copy configuration.
This is a convenience which creates an instance of the
UpdateSnapshotCopyConfigurationRequest.Builderavoiding the need to create one manually viaUpdateSnapshotCopyConfigurationRequest.builder()- Parameters:
updateSnapshotCopyConfigurationRequest- AConsumerthat will call methods onUpdateSnapshotCopyConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateSnapshotCopyConfiguration operation returned by the service.
- See Also:
-
updateUsageLimit
default 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.
- Parameters:
updateUsageLimitRequest-- Returns:
- Result of the UpdateUsageLimit operation returned by the service.
- See Also:
-
updateUsageLimit
default 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.Builderavoiding the need to create one manually viaUpdateUsageLimitRequest.builder()- Parameters:
updateUsageLimitRequest- AConsumerthat will call methods onUpdateUsageLimitRequest.Builderto create a request.- Returns:
- Result of the UpdateUsageLimit operation returned by the service.
- See Also:
-
updateWorkgroup
default UpdateWorkgroupResponse updateWorkgroup(UpdateWorkgroupRequest updateWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, Ipv6CidrBlockNotFoundException, 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
baseCapacityorportin a single request, but you can't update both in the same request.VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
-
Creating a public access workgroup
-
Modifying a private workgroup to public
-
Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
- Parameters:
updateWorkgroupRequest-- Returns:
- Result of the UpdateWorkgroup operation returned by the service.
- See Also:
-
-
updateWorkgroup
default UpdateWorkgroupResponse updateWorkgroup(Consumer<UpdateWorkgroupRequest.Builder> updateWorkgroupRequest) throws InternalServerException, InsufficientCapacityException, ResourceNotFoundException, ConflictException, ValidationException, Ipv6CidrBlockNotFoundException, 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
baseCapacityorportin a single request, but you can't update both in the same request.VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:
-
Creating a public access workgroup
-
Modifying a private workgroup to public
-
Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public
For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
This is a convenience which creates an instance of the
UpdateWorkgroupRequest.Builderavoiding the need to create one manually viaUpdateWorkgroupRequest.builder()- Parameters:
updateWorkgroupRequest- AConsumerthat will call methods onUpdateWorkgroupRequest.Builderto create a request.- Returns:
- Result of the UpdateWorkgroup operation returned by the service.
- See Also:
-
-
create
Create aRedshiftServerlessClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aRedshiftServerlessClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-