Interface BedrockDataAutomationClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Amazon Bedrock Data Automation BuildTime
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value 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 BedrockDataAutomationClient
create()
Create aBedrockDataAutomationClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateBlueprintResponse
createBlueprint
(Consumer<CreateBlueprintRequest.Builder> createBlueprintRequest) Creates an Amazon Bedrock Data Automation Blueprintdefault CreateBlueprintResponse
createBlueprint
(CreateBlueprintRequest createBlueprintRequest) Creates an Amazon Bedrock Data Automation Blueprintdefault CreateBlueprintVersionResponse
createBlueprintVersion
(Consumer<CreateBlueprintVersionRequest.Builder> createBlueprintVersionRequest) Creates a new version of an existing Amazon Bedrock Data Automation Blueprintdefault CreateBlueprintVersionResponse
createBlueprintVersion
(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 DeleteBlueprintResponse
deleteBlueprint
(Consumer<DeleteBlueprintRequest.Builder> deleteBlueprintRequest) Deletes an existing Amazon Bedrock Data Automation Blueprintdefault DeleteBlueprintResponse
deleteBlueprint
(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 GetBlueprintResponse
getBlueprint
(Consumer<GetBlueprintRequest.Builder> getBlueprintRequest) Gets an existing Amazon Bedrock Data Automation Blueprintdefault GetBlueprintResponse
getBlueprint
(GetBlueprintRequest getBlueprintRequest) Gets an existing Amazon Bedrock Data Automation Blueprintdefault GetDataAutomationProjectResponse
getDataAutomationProject
(Consumer<GetDataAutomationProjectRequest.Builder> getDataAutomationProjectRequest) Gets an existing Amazon Bedrock Data Automation Projectdefault GetDataAutomationProjectResponse
getDataAutomationProject
(GetDataAutomationProjectRequest getDataAutomationProjectRequest) Gets an existing Amazon Bedrock Data Automation Projectdefault ListBlueprintsResponse
listBlueprints
(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest) Lists all existing Amazon Bedrock Data Automation Blueprintsdefault ListBlueprintsResponse
listBlueprints
(ListBlueprintsRequest listBlueprintsRequest) Lists all existing Amazon Bedrock Data Automation Blueprintsdefault ListBlueprintsIterable
listBlueprintsPaginator
(Consumer<ListBlueprintsRequest.Builder> listBlueprintsRequest) This is a variant oflistBlueprints(software.amazon.awssdk.services.bedrockdataautomation.model.ListBlueprintsRequest)
operation.default ListBlueprintsIterable
listBlueprintsPaginator
(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 ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for an Amazon Bedrock Data Automation resourcedefault ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List tags for an Amazon Bedrock Data Automation resourceThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tag an Amazon Bedrock Data Automation resourcedefault TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Tag an Amazon Bedrock Data Automation resourcedefault UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untag an Amazon Bedrock Data Automation resourcedefault UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Untag an Amazon Bedrock Data Automation resourcedefault UpdateBlueprintResponse
updateBlueprint
(Consumer<UpdateBlueprintRequest.Builder> updateBlueprintRequest) Updates an existing Amazon Bedrock Data Automation Blueprintdefault UpdateBlueprintResponse
updateBlueprint
(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
close
Methods 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.Builder
avoiding the need to create one manually viaCreateBlueprintRequest.builder()
- Parameters:
createBlueprintRequest
- AConsumer
that will call methods onCreateBlueprintRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateBlueprintVersionRequest.builder()
- Parameters:
createBlueprintVersionRequest
- AConsumer
that will call methods onCreateBlueprintVersionRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateDataAutomationProjectRequest.builder()
- Parameters:
createDataAutomationProjectRequest
- AConsumer
that will call methods onCreateDataAutomationProjectRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteBlueprintRequest.builder()
- Parameters:
deleteBlueprintRequest
- AConsumer
that will call methods onDeleteBlueprintRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteDataAutomationProjectRequest.builder()
- Parameters:
deleteDataAutomationProjectRequest
- AConsumer
that will call methods onDeleteDataAutomationProjectRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetBlueprintRequest.builder()
- Parameters:
getBlueprintRequest
- AConsumer
that will call methods onGetBlueprintRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetDataAutomationProjectRequest.builder()
- Parameters:
getDataAutomationProjectRequest
- AConsumer
that will call methods onGetDataAutomationProjectRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListBlueprintsRequest.builder()
- Parameters:
listBlueprintsRequest
- AConsumer
that will call methods onListBlueprintsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListBlueprintsRequest.builder()
- Parameters:
listBlueprintsRequest
- AConsumer
that will call methods onListBlueprintsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListDataAutomationProjectsRequest.builder()
- Parameters:
listDataAutomationProjectsRequest
- AConsumer
that will call methods onListDataAutomationProjectsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListDataAutomationProjectsRequest.builder()
- Parameters:
listDataAutomationProjectsRequest
- AConsumer
that will call methods onListDataAutomationProjectsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateBlueprintRequest.builder()
- Parameters:
updateBlueprintRequest
- AConsumer
that will call methods onUpdateBlueprintRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateDataAutomationProjectRequest.builder()
- Parameters:
updateDataAutomationProjectRequest
- AConsumer
that will call methods onUpdateDataAutomationProjectRequest.Builder
to create a request. Update DataAutomationProject Request- Returns:
- Result of the UpdateDataAutomationProject operation returned by the service.
- See Also:
-
create
Create aBedrockDataAutomationClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aBedrockDataAutomationClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-