Interface BedrockDataAutomationClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Bedrock Data Automation BuildTime
-
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 aBedrockDataAutomationClient.static BedrockDataAutomationClientcreate()Create aBedrockDataAutomationClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateBlueprintResponsecreateBlueprint(Consumer<CreateBlueprintRequest.Builder> createBlueprintRequest) Creates an Amazon Bedrock Data Automation Blueprintdefault CreateBlueprintResponsecreateBlueprint(CreateBlueprintRequest createBlueprintRequest) Creates an Amazon Bedrock Data Automation Blueprintdefault CreateBlueprintVersionResponsecreateBlueprintVersion(Consumer<CreateBlueprintVersionRequest.Builder> createBlueprintVersionRequest) Creates a new version of an existing Amazon Bedrock Data Automation Blueprintdefault CreateBlueprintVersionResponsecreateBlueprintVersion(CreateBlueprintVersionRequest createBlueprintVersionRequest) Creates a new version of an existing Amazon Bedrock Data Automation BlueprintcreateDataAutomationProject(Consumer<CreateDataAutomationProjectRequest.Builder> createDataAutomationProjectRequest) Creates an Amazon Bedrock Data Automation ProjectcreateDataAutomationProject(CreateDataAutomationProjectRequest createDataAutomationProjectRequest) Creates an Amazon Bedrock Data Automation Projectdefault DeleteBlueprintResponsedeleteBlueprint(Consumer<DeleteBlueprintRequest.Builder> deleteBlueprintRequest) Deletes an existing Amazon Bedrock Data Automation Blueprintdefault DeleteBlueprintResponsedeleteBlueprint(DeleteBlueprintRequest deleteBlueprintRequest) Deletes an existing Amazon Bedrock Data Automation BlueprintdeleteDataAutomationProject(Consumer<DeleteDataAutomationProjectRequest.Builder> deleteDataAutomationProjectRequest) Deletes an existing Amazon Bedrock Data Automation ProjectdeleteDataAutomationProject(DeleteDataAutomationProjectRequest deleteDataAutomationProjectRequest) Deletes an existing Amazon Bedrock Data Automation Projectdefault GetBlueprintResponsegetBlueprint(Consumer<GetBlueprintRequest.Builder> getBlueprintRequest) Gets an existing Amazon Bedrock Data Automation Blueprintdefault GetBlueprintResponsegetBlueprint(GetBlueprintRequest getBlueprintRequest) Gets an existing Amazon Bedrock Data Automation Blueprintdefault GetDataAutomationProjectResponsegetDataAutomationProject(Consumer<GetDataAutomationProjectRequest.Builder> getDataAutomationProjectRequest) Gets an existing Amazon Bedrock Data Automation Projectdefault GetDataAutomationProjectResponsegetDataAutomationProject(GetDataAutomationProjectRequest getDataAutomationProjectRequest) Gets an existing Amazon Bedrock Data Automation Projectdefault ListBlueprintsResponselistBlueprints(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest) Lists all existing Amazon Bedrock Data Automation Blueprintsdefault ListBlueprintsResponselistBlueprints(ListBlueprintsRequest listBlueprintsRequest) Lists all existing Amazon Bedrock Data Automation Blueprintsdefault ListBlueprintsIterablelistBlueprintsPaginator(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest) This is a variant oflistBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)operation.default ListBlueprintsIterablelistBlueprintsPaginator(ListBlueprintsRequest listBlueprintsRequest) This is a variant oflistBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)operation.listDataAutomationProjects(Consumer<ListDataAutomationProjectsRequest.Builder> listDataAutomationProjectsRequest) Lists all existing Amazon Bedrock Data Automation ProjectslistDataAutomationProjects(ListDataAutomationProjectsRequest listDataAutomationProjectsRequest) Lists all existing Amazon Bedrock Data Automation ProjectslistDataAutomationProjectsPaginator(Consumer<ListDataAutomationProjectsRequest.Builder> listDataAutomationProjectsRequest) This is a variant oflistDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest)operation.listDataAutomationProjectsPaginator(ListDataAutomationProjectsRequest listDataAutomationProjectsRequest) This is a variant oflistDataAutomationProjects(software.amazon.awssdk.services.bedrockdataautomation.model.ListDataAutomationProjectsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for an Amazon Bedrock Data Automation resourcedefault ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List tags for an Amazon Bedrock Data Automation resourceThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tag an Amazon Bedrock Data Automation resourcedefault TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Tag an Amazon Bedrock Data Automation resourcedefault UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untag an Amazon Bedrock Data Automation resourcedefault UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Untag an Amazon Bedrock Data Automation resourcedefault UpdateBlueprintResponseupdateBlueprint(Consumer<UpdateBlueprintRequest.Builder> updateBlueprintRequest) Updates an existing Amazon Bedrock Data Automation Blueprintdefault UpdateBlueprintResponseupdateBlueprint(UpdateBlueprintRequest updateBlueprintRequest) Updates an existing Amazon Bedrock Data Automation BlueprintupdateDataAutomationProject(Consumer<UpdateDataAutomationProjectRequest.Builder> updateDataAutomationProjectRequest) Updates an existing Amazon Bedrock Data Automation ProjectupdateDataAutomationProject(UpdateDataAutomationProjectRequest updateDataAutomationProjectRequest) Updates an existing Amazon Bedrock Data Automation ProjectMethods 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
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException List tags for an Amazon Bedrock Data Automation resource
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException List tags for an Amazon Bedrock Data Automation 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:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException Tag an Amazon Bedrock Data Automation resource
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException Tag an Amazon Bedrock Data Automation 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 ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException Untag an Amazon Bedrock Data Automation resource
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockDataAutomationException Untag an Amazon Bedrock Data Automation 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:
-
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.
- See Also:
-
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.
- See Also:
-
updateDataAutomationProject
default UpdateDataAutomationProjectResponse updateDataAutomationProject(UpdateDataAutomationProjectRequest updateDataAutomationProjectRequest) throws ServiceQuotaExceededException, 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.
- See Also:
-
updateDataAutomationProject
default UpdateDataAutomationProjectResponse updateDataAutomationProject(Consumer<UpdateDataAutomationProjectRequest.Builder> updateDataAutomationProjectRequest) throws ServiceQuotaExceededException, 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.
- See Also:
-
create
Create aBedrockDataAutomationClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBedrockDataAutomationClient. -
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
-