Interface BedrockDataAutomationClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface BedrockDataAutomationClient extends AwsClient
Service client for accessing Data Automation for Amazon Bedrock. This can be created using the staticbuilder()method.Amazon Bedrock Data Automation BuildTime
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createBlueprint
default CreateBlueprintResponse createBlueprint(CreateBlueprintRequest createBlueprintRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Creates an Amazon Bedrock Data Automation Blueprint
- Parameters:
createBlueprintRequest- Create Blueprint Request- Returns:
- Result of the CreateBlueprint operation returned by the service.
- Throws:
ServiceQuotaExceededException- This exception is thrown when a request is made beyond the service quotaValidationException- This exception is thrown when the request's input validation failsConflictException- This exception is thrown when there is a conflict performing an operationInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBlueprint
default CreateBlueprintResponse createBlueprint(Consumer<CreateBlueprintRequest.Builder> createBlueprintRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Creates an Amazon Bedrock Data Automation Blueprint
This is a convenience which creates an instance of the
CreateBlueprintRequest.Builderavoiding the need to create one manually viaCreateBlueprintRequest.builder()- Parameters:
createBlueprintRequest- AConsumerthat will call methods onCreateBlueprintRequest.Builderto create a request. Create Blueprint Request- Returns:
- Result of the CreateBlueprint operation returned by the service.
- Throws:
ServiceQuotaExceededException- This exception is thrown when a request is made beyond the service quotaValidationException- This exception is thrown when the request's input validation failsConflictException- This exception is thrown when there is a conflict performing an operationInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBlueprintVersion
default CreateBlueprintVersionResponse createBlueprintVersion(CreateBlueprintVersionRequest createBlueprintVersionRequest) throws ServiceQuotaExceededException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Creates a new version of an existing Amazon Bedrock Data Automation Blueprint
- Parameters:
createBlueprintVersionRequest- Create Blueprint Version Request- Returns:
- Result of the CreateBlueprintVersion operation returned by the service.
- Throws:
ServiceQuotaExceededException- This exception is thrown when a request is made beyond the service quotaValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBlueprintVersion
default CreateBlueprintVersionResponse createBlueprintVersion(Consumer<CreateBlueprintVersionRequest.Builder> createBlueprintVersionRequest) throws ServiceQuotaExceededException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Creates a new version of an existing Amazon Bedrock Data Automation Blueprint
This is a convenience which creates an instance of the
CreateBlueprintVersionRequest.Builderavoiding the need to create one manually viaCreateBlueprintVersionRequest.builder()- Parameters:
createBlueprintVersionRequest- AConsumerthat will call methods onCreateBlueprintVersionRequest.Builderto create a request. Create Blueprint Version Request- Returns:
- Result of the CreateBlueprintVersion operation returned by the service.
- Throws:
ServiceQuotaExceededException- This exception is thrown when a request is made beyond the service quotaValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataAutomationProject
default CreateDataAutomationProjectResponse createDataAutomationProject(CreateDataAutomationProjectRequest createDataAutomationProjectRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Creates an Amazon Bedrock Data Automation Project
- Parameters:
createDataAutomationProjectRequest- Create DataAutomationProject Request- Returns:
- Result of the CreateDataAutomationProject operation returned by the service.
- Throws:
ServiceQuotaExceededException- This exception is thrown when a request is made beyond the service quotaValidationException- This exception is thrown when the request's input validation failsConflictException- This exception is thrown when there is a conflict performing an operationInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDataAutomationProject
default CreateDataAutomationProjectResponse createDataAutomationProject(Consumer<CreateDataAutomationProjectRequest.Builder> createDataAutomationProjectRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Creates an Amazon Bedrock Data Automation Project
This is a convenience which creates an instance of the
CreateDataAutomationProjectRequest.Builderavoiding the need to create one manually viaCreateDataAutomationProjectRequest.builder()- Parameters:
createDataAutomationProjectRequest- AConsumerthat will call methods onCreateDataAutomationProjectRequest.Builderto create a request. Create DataAutomationProject Request- Returns:
- Result of the CreateDataAutomationProject operation returned by the service.
- Throws:
ServiceQuotaExceededException- This exception is thrown when a request is made beyond the service quotaValidationException- This exception is thrown when the request's input validation failsConflictException- This exception is thrown when there is a conflict performing an operationInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBlueprint
default DeleteBlueprintResponse deleteBlueprint(DeleteBlueprintRequest deleteBlueprintRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Deletes an existing Amazon Bedrock Data Automation Blueprint
- Parameters:
deleteBlueprintRequest- Delete Blueprint Request- Returns:
- Result of the DeleteBlueprint operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBlueprint
default DeleteBlueprintResponse deleteBlueprint(Consumer<DeleteBlueprintRequest.Builder> deleteBlueprintRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Deletes an existing Amazon Bedrock Data Automation Blueprint
This is a convenience which creates an instance of the
DeleteBlueprintRequest.Builderavoiding the need to create one manually viaDeleteBlueprintRequest.builder()- Parameters:
deleteBlueprintRequest- AConsumerthat will call methods onDeleteBlueprintRequest.Builderto create a request. Delete Blueprint Request- Returns:
- Result of the DeleteBlueprint operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataAutomationProject
default DeleteDataAutomationProjectResponse deleteDataAutomationProject(DeleteDataAutomationProjectRequest deleteDataAutomationProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Deletes an existing Amazon Bedrock Data Automation Project
- Parameters:
deleteDataAutomationProjectRequest- Delete DataAutomationProject Request- Returns:
- Result of the DeleteDataAutomationProject operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataAutomationProject
default DeleteDataAutomationProjectResponse deleteDataAutomationProject(Consumer<DeleteDataAutomationProjectRequest.Builder> deleteDataAutomationProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Deletes an existing Amazon Bedrock Data Automation Project
This is a convenience which creates an instance of the
DeleteDataAutomationProjectRequest.Builderavoiding the need to create one manually viaDeleteDataAutomationProjectRequest.builder()- Parameters:
deleteDataAutomationProjectRequest- AConsumerthat will call methods onDeleteDataAutomationProjectRequest.Builderto create a request. Delete DataAutomationProject Request- Returns:
- Result of the DeleteDataAutomationProject operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBlueprint
default GetBlueprintResponse getBlueprint(GetBlueprintRequest getBlueprintRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Gets an existing Amazon Bedrock Data Automation Blueprint
- Parameters:
getBlueprintRequest- Get Blueprint Request- Returns:
- Result of the GetBlueprint operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBlueprint
default GetBlueprintResponse getBlueprint(Consumer<GetBlueprintRequest.Builder> getBlueprintRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Gets an existing Amazon Bedrock Data Automation Blueprint
This is a convenience which creates an instance of the
GetBlueprintRequest.Builderavoiding the need to create one manually viaGetBlueprintRequest.builder()- Parameters:
getBlueprintRequest- AConsumerthat will call methods onGetBlueprintRequest.Builderto create a request. Get Blueprint Request- Returns:
- Result of the GetBlueprint operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataAutomationProject
default GetDataAutomationProjectResponse getDataAutomationProject(GetDataAutomationProjectRequest getDataAutomationProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Gets an existing Amazon Bedrock Data Automation Project
- Parameters:
getDataAutomationProjectRequest- Get DataAutomationProject Request- Returns:
- Result of the GetDataAutomationProject operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDataAutomationProject
default GetDataAutomationProjectResponse getDataAutomationProject(Consumer<GetDataAutomationProjectRequest.Builder> getDataAutomationProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Gets an existing Amazon Bedrock Data Automation Project
This is a convenience which creates an instance of the
GetDataAutomationProjectRequest.Builderavoiding the need to create one manually viaGetDataAutomationProjectRequest.builder()- Parameters:
getDataAutomationProjectRequest- AConsumerthat will call methods onGetDataAutomationProjectRequest.Builderto create a request. Get DataAutomationProject Request- Returns:
- Result of the GetDataAutomationProject operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBlueprints
default ListBlueprintsResponse listBlueprints(ListBlueprintsRequest listBlueprintsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Lists all existing Amazon Bedrock Data Automation Blueprints
- Parameters:
listBlueprintsRequest- List Blueprint Request- Returns:
- Result of the ListBlueprints operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBlueprints
default ListBlueprintsResponse listBlueprints(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Lists all existing Amazon Bedrock Data Automation Blueprints
This is a convenience which creates an instance of the
ListBlueprintsRequest.Builderavoiding the need to create one manually viaListBlueprintsRequest.builder()- Parameters:
listBlueprintsRequest- AConsumerthat will call methods onListBlueprintsRequest.Builderto create a request. List Blueprint Request- Returns:
- Result of the ListBlueprints operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBlueprintsPaginator
default ListBlueprintsIterable listBlueprintsPaginator(ListBlueprintsRequest listBlueprintsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
This is a variant of
listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)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.bedrockdataautomation.paginators.ListBlueprintsIterable responses = client.listBlueprintsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockdataautomation.paginators.ListBlueprintsIterable responses = client .listBlueprintsPaginator(request); for (software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockdataautomation.paginators.ListBlueprintsIterable responses = client.listBlueprintsPaginator(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
listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)operation.- Parameters:
listBlueprintsRequest- List Blueprint Request- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBlueprintsPaginator
default ListBlueprintsIterable listBlueprintsPaginator(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
This is a variant of
listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)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.bedrockdataautomation.paginators.ListBlueprintsIterable responses = client.listBlueprintsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockdataautomation.paginators.ListBlueprintsIterable responses = client .listBlueprintsPaginator(request); for (software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockdataautomation.paginators.ListBlueprintsIterable responses = client.listBlueprintsPaginator(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
listBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)operation.
This is a convenience which creates an instance of the
ListBlueprintsRequest.Builderavoiding the need to create one manually viaListBlueprintsRequest.builder()- Parameters:
listBlueprintsRequest- AConsumerthat will call methods onListBlueprintsRequest.Builderto create a request. List Blueprint Request- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataAutomationProjects
default ListDataAutomationProjectsResponse listDataAutomationProjects(ListDataAutomationProjectsRequest listDataAutomationProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Lists all existing Amazon Bedrock Data Automation Projects
- Parameters:
listDataAutomationProjectsRequest- List DataAutomationProject Request- Returns:
- Result of the ListDataAutomationProjects operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataAutomationProjects
default ListDataAutomationProjectsResponse listDataAutomationProjects(Consumer<ListDataAutomationProjectsRequest.Builder> listDataAutomationProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Lists all existing Amazon Bedrock Data Automation Projects
This is a convenience which creates an instance of the
ListDataAutomationProjectsRequest.Builderavoiding the need to create one manually viaListDataAutomationProjectsRequest.builder()- Parameters:
listDataAutomationProjectsRequest- AConsumerthat will call methods onListDataAutomationProjectsRequest.Builderto create a request. List DataAutomationProject Request- Returns:
- Result of the ListDataAutomationProjects operation returned by the service.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataAutomationProjectsPaginator
default ListDataAutomationProjectsIterable listDataAutomationProjectsPaginator(ListDataAutomationProjectsRequest listDataAutomationProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
This is a variant of
listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest)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.bedrockdataautomation.paginators.ListDataAutomationProjectsIterable responses = client.listDataAutomationProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockdataautomation.paginators.ListDataAutomationProjectsIterable responses = client .listDataAutomationProjectsPaginator(request); for (software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockdataautomation.paginators.ListDataAutomationProjectsIterable responses = client.listDataAutomationProjectsPaginator(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
listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest)operation.- Parameters:
listDataAutomationProjectsRequest- List DataAutomationProject Request- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDataAutomationProjectsPaginator
default ListDataAutomationProjectsIterable listDataAutomationProjectsPaginator(Consumer<ListDataAutomationProjectsRequest.Builder> listDataAutomationProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
This is a variant of
listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest)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.bedrockdataautomation.paginators.ListDataAutomationProjectsIterable responses = client.listDataAutomationProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockdataautomation.paginators.ListDataAutomationProjectsIterable responses = client .listDataAutomationProjectsPaginator(request); for (software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockdataautomation.paginators.ListDataAutomationProjectsIterable responses = client.listDataAutomationProjectsPaginator(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
listDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest)operation.
This is a convenience which creates an instance of the
ListDataAutomationProjectsRequest.Builderavoiding the need to create one manually viaListDataAutomationProjectsRequest.builder()- Parameters:
listDataAutomationProjectsRequest- AConsumerthat will call methods onListDataAutomationProjectsRequest.Builderto create a request. List DataAutomationProject Request- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateBlueprint
default UpdateBlueprintResponse updateBlueprint(UpdateBlueprintRequest updateBlueprintRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Updates an existing Amazon Bedrock Data Automation Blueprint
- Parameters:
updateBlueprintRequest- Update Blueprint Request- Returns:
- Result of the UpdateBlueprint operation returned by the service.
- Throws:
ConflictException- This exception is thrown when there is a conflict performing an operationValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateBlueprint
default UpdateBlueprintResponse updateBlueprint(Consumer<UpdateBlueprintRequest.Builder> updateBlueprintRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Updates an existing Amazon Bedrock Data Automation Blueprint
This is a convenience which creates an instance of the
UpdateBlueprintRequest.Builderavoiding the need to create one manually viaUpdateBlueprintRequest.builder()- Parameters:
updateBlueprintRequest- AConsumerthat will call methods onUpdateBlueprintRequest.Builderto create a request. Update Blueprint Request- Returns:
- Result of the UpdateBlueprint operation returned by the service.
- Throws:
ConflictException- This exception is thrown when there is a conflict performing an operationValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDataAutomationProject
default UpdateDataAutomationProjectResponse updateDataAutomationProject(UpdateDataAutomationProjectRequest updateDataAutomationProjectRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Updates an existing Amazon Bedrock Data Automation Project
- Parameters:
updateDataAutomationProjectRequest- Update DataAutomationProject Request- Returns:
- Result of the UpdateDataAutomationProject operation returned by the service.
- Throws:
ConflictException- This exception is thrown when there is a conflict performing an operationValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDataAutomationProject
default UpdateDataAutomationProjectResponse updateDataAutomationProject(Consumer<UpdateDataAutomationProjectRequest.Builder> updateDataAutomationProjectRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException
Updates an existing Amazon Bedrock Data Automation Project
This is a convenience which creates an instance of the
UpdateDataAutomationProjectRequest.Builderavoiding the need to create one manually viaUpdateDataAutomationProjectRequest.builder()- Parameters:
updateDataAutomationProjectRequest- AConsumerthat will call methods onUpdateDataAutomationProjectRequest.Builderto create a request. Update DataAutomationProject Request- Returns:
- Result of the UpdateDataAutomationProject operation returned by the service.
- Throws:
ConflictException- This exception is thrown when there is a conflict performing an operationValidationException- This exception is thrown when the request's input validation failsInternalServerException- This exception is thrown if there was an unexpected error during processing of requestThrottlingException- This exception is thrown when the number of requests exceeds the limitAccessDeniedException- This exception is thrown when a request is denied per access permissionsResourceNotFoundException- This exception is thrown when a resource referenced by the operation does not existSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BedrockDataAutomationException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static BedrockDataAutomationClient create()
Create aBedrockDataAutomationClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static BedrockDataAutomationClientBuilder builder()
Create a builder that can be used to configure and create aBedrockDataAutomationClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default BedrockDataAutomationServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-