Interface BedrockAgentCoreClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.
Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault BatchCreateMemoryRecordsResponsebatchCreateMemoryRecords(Consumer<BatchCreateMemoryRecordsRequest.Builder> batchCreateMemoryRecordsRequest) Creates multiple memory records in a single batch operation for the specified memory with custom content.default BatchCreateMemoryRecordsResponsebatchCreateMemoryRecords(BatchCreateMemoryRecordsRequest batchCreateMemoryRecordsRequest) Creates multiple memory records in a single batch operation for the specified memory with custom content.default BatchDeleteMemoryRecordsResponsebatchDeleteMemoryRecords(Consumer<BatchDeleteMemoryRecordsRequest.Builder> batchDeleteMemoryRecordsRequest) Deletes multiple memory records in a single batch operation from the specified memory.default BatchDeleteMemoryRecordsResponsebatchDeleteMemoryRecords(BatchDeleteMemoryRecordsRequest batchDeleteMemoryRecordsRequest) Deletes multiple memory records in a single batch operation from the specified memory.default BatchUpdateMemoryRecordsResponsebatchUpdateMemoryRecords(Consumer<BatchUpdateMemoryRecordsRequest.Builder> batchUpdateMemoryRecordsRequest) Updates multiple memory records with custom content in a single batch operation within the specified memory.default BatchUpdateMemoryRecordsResponsebatchUpdateMemoryRecords(BatchUpdateMemoryRecordsRequest batchUpdateMemoryRecordsRequest) Updates multiple memory records with custom content in a single batch operation within the specified memory.builder()Create a builder that can be used to configure and create aBedrockAgentCoreClient.completeResourceTokenAuth(Consumer<CompleteResourceTokenAuthRequest.Builder> completeResourceTokenAuthRequest) Confirms the user authentication session for obtaining OAuth2.0 tokens for a resource.completeResourceTokenAuth(CompleteResourceTokenAuthRequest completeResourceTokenAuthRequest) Confirms the user authentication session for obtaining OAuth2.0 tokens for a resource.static BedrockAgentCoreClientcreate()Create aBedrockAgentCoreClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAbTestResponsecreateABTest(Consumer<CreateAbTestRequest.Builder> createAbTestRequest) Creates an A/B test for comparing agent configurations.default CreateAbTestResponsecreateABTest(CreateAbTestRequest createAbTestRequest) Creates an A/B test for comparing agent configurations.default CreateEventResponsecreateEvent(Consumer<CreateEventRequest.Builder> createEventRequest) Creates an event in an AgentCore Memory resource.default CreateEventResponsecreateEvent(CreateEventRequest createEventRequest) Creates an event in an AgentCore Memory resource.default CreatePaymentInstrumentResponsecreatePaymentInstrument(Consumer<CreatePaymentInstrumentRequest.Builder> createPaymentInstrumentRequest) Create a new payment instrument for a connector.default CreatePaymentInstrumentResponsecreatePaymentInstrument(CreatePaymentInstrumentRequest createPaymentInstrumentRequest) Create a new payment instrument for a connector.default CreatePaymentSessionResponsecreatePaymentSession(Consumer<CreatePaymentSessionRequest.Builder> createPaymentSessionRequest) Create a new payment session.default CreatePaymentSessionResponsecreatePaymentSession(CreatePaymentSessionRequest createPaymentSessionRequest) Create a new payment session.default DeleteAbTestResponsedeleteABTest(Consumer<DeleteAbTestRequest.Builder> deleteAbTestRequest) Deletes an A/B test and its associated gateway rules.default DeleteAbTestResponsedeleteABTest(DeleteAbTestRequest deleteAbTestRequest) Deletes an A/B test and its associated gateway rules.default DeleteBatchEvaluationResponsedeleteBatchEvaluation(Consumer<DeleteBatchEvaluationRequest.Builder> deleteBatchEvaluationRequest) Deletes a batch evaluation and its associated results.default DeleteBatchEvaluationResponsedeleteBatchEvaluation(DeleteBatchEvaluationRequest deleteBatchEvaluationRequest) Deletes a batch evaluation and its associated results.default DeleteEventResponsedeleteEvent(Consumer<DeleteEventRequest.Builder> deleteEventRequest) Deletes an event from an AgentCore Memory resource.default DeleteEventResponsedeleteEvent(DeleteEventRequest deleteEventRequest) Deletes an event from an AgentCore Memory resource.default DeleteMemoryRecordResponsedeleteMemoryRecord(Consumer<DeleteMemoryRecordRequest.Builder> deleteMemoryRecordRequest) Deletes a memory record from an AgentCore Memory resource.default DeleteMemoryRecordResponsedeleteMemoryRecord(DeleteMemoryRecordRequest deleteMemoryRecordRequest) Deletes a memory record from an AgentCore Memory resource.default DeletePaymentInstrumentResponsedeletePaymentInstrument(Consumer<DeletePaymentInstrumentRequest.Builder> deletePaymentInstrumentRequest) Deletes a payment instrument.default DeletePaymentInstrumentResponsedeletePaymentInstrument(DeletePaymentInstrumentRequest deletePaymentInstrumentRequest) Deletes a payment instrument.default DeletePaymentSessionResponsedeletePaymentSession(Consumer<DeletePaymentSessionRequest.Builder> deletePaymentSessionRequest) Deletes a payment session.default DeletePaymentSessionResponsedeletePaymentSession(DeletePaymentSessionRequest deletePaymentSessionRequest) Deletes a payment session.default DeleteRecommendationResponsedeleteRecommendation(Consumer<DeleteRecommendationRequest.Builder> deleteRecommendationRequest) Deletes a recommendation and its associated results.default DeleteRecommendationResponsedeleteRecommendation(DeleteRecommendationRequest deleteRecommendationRequest) Deletes a recommendation and its associated results.default EvaluateResponseevaluate(Consumer<EvaluateRequest.Builder> evaluateRequest) Performs on-demand evaluation of agent traces using a specified evaluator.default EvaluateResponseevaluate(EvaluateRequest evaluateRequest) Performs on-demand evaluation of agent traces using a specified evaluator.default GetAbTestResponsegetABTest(Consumer<GetAbTestRequest.Builder> getAbTestRequest) Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.default GetAbTestResponsegetABTest(GetAbTestRequest getAbTestRequest) Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.default GetAgentCardResponsegetAgentCard(Consumer<GetAgentCardRequest.Builder> getAgentCardRequest) Retrieves the A2A agent card associated with an AgentCore Runtime agent.default GetAgentCardResponsegetAgentCard(GetAgentCardRequest getAgentCardRequest) Retrieves the A2A agent card associated with an AgentCore Runtime agent.default GetBatchEvaluationResponsegetBatchEvaluation(Consumer<GetBatchEvaluationRequest.Builder> getBatchEvaluationRequest) Retrieves detailed information about a batch evaluation, including its status, configuration, results, and any error details.default GetBatchEvaluationResponsegetBatchEvaluation(GetBatchEvaluationRequest getBatchEvaluationRequest) Retrieves detailed information about a batch evaluation, including its status, configuration, results, and any error details.default GetBrowserSessionResponsegetBrowserSession(Consumer<GetBrowserSessionRequest.Builder> getBrowserSessionRequest) Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore.default GetBrowserSessionResponsegetBrowserSession(GetBrowserSessionRequest getBrowserSessionRequest) Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore.getCodeInterpreterSession(Consumer<GetCodeInterpreterSessionRequest.Builder> getCodeInterpreterSessionRequest) Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore.getCodeInterpreterSession(GetCodeInterpreterSessionRequest getCodeInterpreterSessionRequest) Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore.default GetEventResponsegetEvent(Consumer<GetEventRequest.Builder> getEventRequest) Retrieves information about a specific event in an AgentCore Memory resource.default GetEventResponsegetEvent(GetEventRequest getEventRequest) Retrieves information about a specific event in an AgentCore Memory resource.default GetMemoryRecordResponsegetMemoryRecord(Consumer<GetMemoryRecordRequest.Builder> getMemoryRecordRequest) Retrieves a specific memory record from an AgentCore Memory resource.default GetMemoryRecordResponsegetMemoryRecord(GetMemoryRecordRequest getMemoryRecordRequest) Retrieves a specific memory record from an AgentCore Memory resource.default GetPaymentInstrumentResponsegetPaymentInstrument(Consumer<GetPaymentInstrumentRequest.Builder> getPaymentInstrumentRequest) Get a payment instrument by ID.default GetPaymentInstrumentResponsegetPaymentInstrument(GetPaymentInstrumentRequest getPaymentInstrumentRequest) Get a payment instrument by ID.getPaymentInstrumentBalance(Consumer<GetPaymentInstrumentBalanceRequest.Builder> getPaymentInstrumentBalanceRequest) Get the balance of a payment instrument.getPaymentInstrumentBalance(GetPaymentInstrumentBalanceRequest getPaymentInstrumentBalanceRequest) Get the balance of a payment instrument.default GetPaymentSessionResponsegetPaymentSession(Consumer<GetPaymentSessionRequest.Builder> getPaymentSessionRequest) Get a payment session.default GetPaymentSessionResponsegetPaymentSession(GetPaymentSessionRequest getPaymentSessionRequest) Get a payment session.default GetRecommendationResponsegetRecommendation(Consumer<GetRecommendationRequest.Builder> getRecommendationRequest) Retrieves detailed information about a recommendation, including its configuration, status, and results.default GetRecommendationResponsegetRecommendation(GetRecommendationRequest getRecommendationRequest) Retrieves detailed information about a recommendation, including its configuration, status, and results.default GetResourceApiKeyResponsegetResourceApiKey(Consumer<GetResourceApiKeyRequest.Builder> getResourceApiKeyRequest) Retrieves the API key associated with an API key credential provider.default GetResourceApiKeyResponsegetResourceApiKey(GetResourceApiKeyRequest getResourceApiKeyRequest) Retrieves the API key associated with an API key credential provider.default GetResourceOauth2TokenResponsegetResourceOauth2Token(Consumer<GetResourceOauth2TokenRequest.Builder> getResourceOauth2TokenRequest) Returns the OAuth 2.0 token of the provided resource.default GetResourceOauth2TokenResponsegetResourceOauth2Token(GetResourceOauth2TokenRequest getResourceOauth2TokenRequest) Returns the OAuth 2.0 token of the provided resource.default GetResourcePaymentTokenResponsegetResourcePaymentToken(Consumer<GetResourcePaymentTokenRequest.Builder> getResourcePaymentTokenRequest) Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.default GetResourcePaymentTokenResponsegetResourcePaymentToken(GetResourcePaymentTokenRequest getResourcePaymentTokenRequest) Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.default GetWorkloadAccessTokenResponsegetWorkloadAccessToken(Consumer<GetWorkloadAccessTokenRequest.Builder> getWorkloadAccessTokenRequest) Obtains a workload access token for agentic workloads not acting on behalf of a user.default GetWorkloadAccessTokenResponsegetWorkloadAccessToken(GetWorkloadAccessTokenRequest getWorkloadAccessTokenRequest) Obtains a workload access token for agentic workloads not acting on behalf of a user.getWorkloadAccessTokenForJWT(Consumer<GetWorkloadAccessTokenForJwtRequest.Builder> getWorkloadAccessTokenForJwtRequest) Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token.getWorkloadAccessTokenForJWT(GetWorkloadAccessTokenForJwtRequest getWorkloadAccessTokenForJwtRequest) Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token.getWorkloadAccessTokenForUserId(Consumer<GetWorkloadAccessTokenForUserIdRequest.Builder> getWorkloadAccessTokenForUserIdRequest) Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.getWorkloadAccessTokenForUserId(GetWorkloadAccessTokenForUserIdRequest getWorkloadAccessTokenForUserIdRequest) Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.invokeAgentRuntime(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default InvokeAgentRuntimeResponseinvokeAgentRuntime(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest, Path destinationPath) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default <ReturnT> ReturnTinvokeAgentRuntime(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest, ResponseTransformer<InvokeAgentRuntimeResponse, ReturnT> responseTransformer) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.invokeAgentRuntime(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default InvokeAgentRuntimeResponseinvokeAgentRuntime(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest, Path destinationPath) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default <ReturnT> ReturnTinvokeAgentRuntime(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest, ResponseTransformer<InvokeAgentRuntimeResponse, ReturnT> responseTransformer) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default ResponseBytes<InvokeAgentRuntimeResponse> invokeAgentRuntimeAsBytes(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default ResponseBytes<InvokeAgentRuntimeResponse> invokeAgentRuntimeAsBytes(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest) Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.default InvokeBrowserResponseinvokeBrowser(Consumer<InvokeBrowserRequest.Builder> invokeBrowserRequest) Invokes an operating system-level action on a browser session in Amazon Bedrock AgentCore.default InvokeBrowserResponseinvokeBrowser(InvokeBrowserRequest invokeBrowserRequest) Invokes an operating system-level action on a browser session in Amazon Bedrock AgentCore.default ListAbTestsResponselistABTests(Consumer<ListAbTestsRequest.Builder> listAbTestsRequest) Lists all A/B tests in the account.default ListAbTestsResponselistABTests(ListAbTestsRequest listAbTestsRequest) Lists all A/B tests in the account.default ListABTestsIterablelistABTestsPaginator(Consumer<ListAbTestsRequest.Builder> listAbTestsRequest) This is a variant oflistABTests(software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsRequest)operation.default ListABTestsIterablelistABTestsPaginator(ListAbTestsRequest listAbTestsRequest) This is a variant oflistABTests(software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsRequest)operation.default ListActorsResponselistActors(Consumer<ListActorsRequest.Builder> listActorsRequest) Lists all actors in an AgentCore Memory resource.default ListActorsResponselistActors(ListActorsRequest listActorsRequest) Lists all actors in an AgentCore Memory resource.default ListActorsIterablelistActorsPaginator(Consumer<ListActorsRequest.Builder> listActorsRequest) This is a variant oflistActors(software.amazon.awssdk.services.bedrockagentcore.model.ListActorsRequest)operation.default ListActorsIterablelistActorsPaginator(ListActorsRequest listActorsRequest) This is a variant oflistActors(software.amazon.awssdk.services.bedrockagentcore.model.ListActorsRequest)operation.default ListBatchEvaluationsResponselistBatchEvaluations(Consumer<ListBatchEvaluationsRequest.Builder> listBatchEvaluationsRequest) Lists all batch evaluations in the account, providing summary information about each evaluation's status and configuration.default ListBatchEvaluationsResponselistBatchEvaluations(ListBatchEvaluationsRequest listBatchEvaluationsRequest) Lists all batch evaluations in the account, providing summary information about each evaluation's status and configuration.default ListBatchEvaluationsIterablelistBatchEvaluationsPaginator(Consumer<ListBatchEvaluationsRequest.Builder> listBatchEvaluationsRequest) This is a variant oflistBatchEvaluations(software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsRequest)operation.default ListBatchEvaluationsIterablelistBatchEvaluationsPaginator(ListBatchEvaluationsRequest listBatchEvaluationsRequest) This is a variant oflistBatchEvaluations(software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsRequest)operation.default ListBrowserSessionsResponselistBrowserSessions(Consumer<ListBrowserSessionsRequest.Builder> listBrowserSessionsRequest) Retrieves a list of browser sessions in Amazon Bedrock AgentCore that match the specified criteria.default ListBrowserSessionsResponselistBrowserSessions(ListBrowserSessionsRequest listBrowserSessionsRequest) Retrieves a list of browser sessions in Amazon Bedrock AgentCore that match the specified criteria.listCodeInterpreterSessions(Consumer<ListCodeInterpreterSessionsRequest.Builder> listCodeInterpreterSessionsRequest) Retrieves a list of code interpreter sessions in Amazon Bedrock AgentCore that match the specified criteria.listCodeInterpreterSessions(ListCodeInterpreterSessionsRequest listCodeInterpreterSessionsRequest) Retrieves a list of code interpreter sessions in Amazon Bedrock AgentCore that match the specified criteria.default ListEventsResponselistEvents(Consumer<ListEventsRequest.Builder> listEventsRequest) Lists events in an AgentCore Memory resource based on specified criteria.default ListEventsResponselistEvents(ListEventsRequest listEventsRequest) Lists events in an AgentCore Memory resource based on specified criteria.default ListEventsIterablelistEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest) This is a variant oflistEvents(software.amazon.awssdk.services.bedrockagentcore.model.ListEventsRequest)operation.default ListEventsIterablelistEventsPaginator(ListEventsRequest listEventsRequest) This is a variant oflistEvents(software.amazon.awssdk.services.bedrockagentcore.model.ListEventsRequest)operation.default ListMemoryExtractionJobsResponselistMemoryExtractionJobs(Consumer<ListMemoryExtractionJobsRequest.Builder> listMemoryExtractionJobsRequest) Lists all long-term memory extraction jobs that are eligible to be started with optional filtering.default ListMemoryExtractionJobsResponselistMemoryExtractionJobs(ListMemoryExtractionJobsRequest listMemoryExtractionJobsRequest) Lists all long-term memory extraction jobs that are eligible to be started with optional filtering.default ListMemoryExtractionJobsIterablelistMemoryExtractionJobsPaginator(Consumer<ListMemoryExtractionJobsRequest.Builder> listMemoryExtractionJobsRequest) This is a variant oflistMemoryExtractionJobs(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsRequest)operation.default ListMemoryExtractionJobsIterablelistMemoryExtractionJobsPaginator(ListMemoryExtractionJobsRequest listMemoryExtractionJobsRequest) This is a variant oflistMemoryExtractionJobs(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsRequest)operation.default ListMemoryRecordsResponselistMemoryRecords(Consumer<ListMemoryRecordsRequest.Builder> listMemoryRecordsRequest) Lists memory records in an AgentCore Memory resource based on specified criteria.default ListMemoryRecordsResponselistMemoryRecords(ListMemoryRecordsRequest listMemoryRecordsRequest) Lists memory records in an AgentCore Memory resource based on specified criteria.default ListMemoryRecordsIterablelistMemoryRecordsPaginator(Consumer<ListMemoryRecordsRequest.Builder> listMemoryRecordsRequest) This is a variant oflistMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsRequest)operation.default ListMemoryRecordsIterablelistMemoryRecordsPaginator(ListMemoryRecordsRequest listMemoryRecordsRequest) This is a variant oflistMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsRequest)operation.default ListPaymentInstrumentsResponselistPaymentInstruments(Consumer<ListPaymentInstrumentsRequest.Builder> listPaymentInstrumentsRequest) List payment instruments for a manager.default ListPaymentInstrumentsResponselistPaymentInstruments(ListPaymentInstrumentsRequest listPaymentInstrumentsRequest) List payment instruments for a manager.default ListPaymentInstrumentsIterablelistPaymentInstrumentsPaginator(Consumer<ListPaymentInstrumentsRequest.Builder> listPaymentInstrumentsRequest) This is a variant oflistPaymentInstruments(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsRequest)operation.default ListPaymentInstrumentsIterablelistPaymentInstrumentsPaginator(ListPaymentInstrumentsRequest listPaymentInstrumentsRequest) This is a variant oflistPaymentInstruments(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsRequest)operation.default ListPaymentSessionsResponselistPaymentSessions(Consumer<ListPaymentSessionsRequest.Builder> listPaymentSessionsRequest) List payment sessions.default ListPaymentSessionsResponselistPaymentSessions(ListPaymentSessionsRequest listPaymentSessionsRequest) List payment sessions.default ListPaymentSessionsIterablelistPaymentSessionsPaginator(Consumer<ListPaymentSessionsRequest.Builder> listPaymentSessionsRequest) This is a variant oflistPaymentSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsRequest)operation.default ListPaymentSessionsIterablelistPaymentSessionsPaginator(ListPaymentSessionsRequest listPaymentSessionsRequest) This is a variant oflistPaymentSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsRequest)operation.default ListRecommendationsResponselistRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) Lists all recommendations in the account, with optional filtering by status.default ListRecommendationsResponselistRecommendations(ListRecommendationsRequest listRecommendationsRequest) Lists all recommendations in the account, with optional filtering by status.default ListRecommendationsIterablelistRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) This is a variant oflistRecommendations(software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsRequest)operation.default ListRecommendationsIterablelistRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) This is a variant oflistRecommendations(software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsRequest)operation.default ListSessionsResponselistSessions(Consumer<ListSessionsRequest.Builder> listSessionsRequest) Lists sessions in an AgentCore Memory resource based on specified criteria.default ListSessionsResponselistSessions(ListSessionsRequest listSessionsRequest) Lists sessions in an AgentCore Memory resource based on specified criteria.default ListSessionsIterablelistSessionsPaginator(Consumer<ListSessionsRequest.Builder> listSessionsRequest) This is a variant oflistSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsRequest)operation.default ListSessionsIterablelistSessionsPaginator(ListSessionsRequest listSessionsRequest) This is a variant oflistSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsRequest)operation.default ProcessPaymentResponseprocessPayment(Consumer<ProcessPaymentRequest.Builder> processPaymentRequest) Processes a payment using a payment instrument within a payment session.default ProcessPaymentResponseprocessPayment(ProcessPaymentRequest processPaymentRequest) Processes a payment using a payment instrument within a payment session.default RetrieveMemoryRecordsResponseretrieveMemoryRecords(Consumer<RetrieveMemoryRecordsRequest.Builder> retrieveMemoryRecordsRequest) Searches for and retrieves memory records from an AgentCore Memory resource based on specified search criteria.default RetrieveMemoryRecordsResponseretrieveMemoryRecords(RetrieveMemoryRecordsRequest retrieveMemoryRecordsRequest) Searches for and retrieves memory records from an AgentCore Memory resource based on specified search criteria.default RetrieveMemoryRecordsIterableretrieveMemoryRecordsPaginator(Consumer<RetrieveMemoryRecordsRequest.Builder> retrieveMemoryRecordsRequest) This is a variant ofretrieveMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsRequest)operation.default RetrieveMemoryRecordsIterableretrieveMemoryRecordsPaginator(RetrieveMemoryRecordsRequest retrieveMemoryRecordsRequest) This is a variant ofretrieveMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsRequest)operation.saveBrowserSessionProfile(Consumer<SaveBrowserSessionProfileRequest.Builder> saveBrowserSessionProfileRequest) Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore.saveBrowserSessionProfile(SaveBrowserSessionProfileRequest saveBrowserSessionProfileRequest) Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore.default SearchRegistryRecordsResponsesearchRegistryRecords(Consumer<SearchRegistryRecordsRequest.Builder> searchRegistryRecordsRequest) Searches for registry records using semantic, lexical, or hybrid queries.default SearchRegistryRecordsResponsesearchRegistryRecords(SearchRegistryRecordsRequest searchRegistryRecordsRequest) Searches for registry records using semantic, lexical, or hybrid queries.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartBatchEvaluationResponsestartBatchEvaluation(Consumer<StartBatchEvaluationRequest.Builder> startBatchEvaluationRequest) Starts a batch evaluation job that evaluates agent performance across multiple sessions.default StartBatchEvaluationResponsestartBatchEvaluation(StartBatchEvaluationRequest startBatchEvaluationRequest) Starts a batch evaluation job that evaluates agent performance across multiple sessions.default StartBrowserSessionResponsestartBrowserSession(Consumer<StartBrowserSessionRequest.Builder> startBrowserSessionRequest) Creates and initializes a browser session in Amazon Bedrock AgentCore.default StartBrowserSessionResponsestartBrowserSession(StartBrowserSessionRequest startBrowserSessionRequest) Creates and initializes a browser session in Amazon Bedrock AgentCore.startCodeInterpreterSession(Consumer<StartCodeInterpreterSessionRequest.Builder> startCodeInterpreterSessionRequest) Creates and initializes a code interpreter session in Amazon Bedrock AgentCore.startCodeInterpreterSession(StartCodeInterpreterSessionRequest startCodeInterpreterSessionRequest) Creates and initializes a code interpreter session in Amazon Bedrock AgentCore.default StartMemoryExtractionJobResponsestartMemoryExtractionJob(Consumer<StartMemoryExtractionJobRequest.Builder> startMemoryExtractionJobRequest) Starts a memory extraction job that processes events that failed extraction previously in an AgentCore Memory resource and produces structured memory records.default StartMemoryExtractionJobResponsestartMemoryExtractionJob(StartMemoryExtractionJobRequest startMemoryExtractionJobRequest) Starts a memory extraction job that processes events that failed extraction previously in an AgentCore Memory resource and produces structured memory records.default StartRecommendationResponsestartRecommendation(Consumer<StartRecommendationRequest.Builder> startRecommendationRequest) Starts a recommendation job that analyzes agent traces and generates optimization suggestions for system prompts or tool descriptions to improve agent performance.default StartRecommendationResponsestartRecommendation(StartRecommendationRequest startRecommendationRequest) Starts a recommendation job that analyzes agent traces and generates optimization suggestions for system prompts or tool descriptions to improve agent performance.default StopBatchEvaluationResponsestopBatchEvaluation(Consumer<StopBatchEvaluationRequest.Builder> stopBatchEvaluationRequest) Stops a running batch evaluation.default StopBatchEvaluationResponsestopBatchEvaluation(StopBatchEvaluationRequest stopBatchEvaluationRequest) Stops a running batch evaluation.default StopBrowserSessionResponsestopBrowserSession(Consumer<StopBrowserSessionRequest.Builder> stopBrowserSessionRequest) Terminates an active browser session in Amazon Bedrock AgentCore.default StopBrowserSessionResponsestopBrowserSession(StopBrowserSessionRequest stopBrowserSessionRequest) Terminates an active browser session in Amazon Bedrock AgentCore.stopCodeInterpreterSession(Consumer<StopCodeInterpreterSessionRequest.Builder> stopCodeInterpreterSessionRequest) Terminates an active code interpreter session in Amazon Bedrock AgentCore.stopCodeInterpreterSession(StopCodeInterpreterSessionRequest stopCodeInterpreterSessionRequest) Terminates an active code interpreter session in Amazon Bedrock AgentCore.default StopRuntimeSessionResponsestopRuntimeSession(Consumer<StopRuntimeSessionRequest.Builder> stopRuntimeSessionRequest) Stops a session that is running in an running AgentCore Runtime agent.default StopRuntimeSessionResponsestopRuntimeSession(StopRuntimeSessionRequest stopRuntimeSessionRequest) Stops a session that is running in an running AgentCore Runtime agent.default UpdateAbTestResponseupdateABTest(Consumer<UpdateAbTestRequest.Builder> updateAbTestRequest) Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status.default UpdateAbTestResponseupdateABTest(UpdateAbTestRequest updateAbTestRequest) Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status.default UpdateBrowserStreamResponseupdateBrowserStream(Consumer<UpdateBrowserStreamRequest.Builder> updateBrowserStreamRequest) Updates a browser stream.default UpdateBrowserStreamResponseupdateBrowserStream(UpdateBrowserStreamRequest updateBrowserStreamRequest) Updates a browser stream.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
batchCreateMemoryRecords
default BatchCreateMemoryRecordsResponse batchCreateMemoryRecords(BatchCreateMemoryRecordsRequest batchCreateMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates multiple memory records in a single batch operation for the specified memory with custom content.
- Parameters:
batchCreateMemoryRecordsRequest-- Returns:
- Result of the BatchCreateMemoryRecords operation returned by the service.
- See Also:
-
batchCreateMemoryRecords
default BatchCreateMemoryRecordsResponse batchCreateMemoryRecords(Consumer<BatchCreateMemoryRecordsRequest.Builder> batchCreateMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates multiple memory records in a single batch operation for the specified memory with custom content.
This is a convenience which creates an instance of the
BatchCreateMemoryRecordsRequest.Builderavoiding the need to create one manually viaBatchCreateMemoryRecordsRequest.builder()- Parameters:
batchCreateMemoryRecordsRequest- AConsumerthat will call methods onBatchCreateMemoryRecordsRequest.Builderto create a request.- Returns:
- Result of the BatchCreateMemoryRecords operation returned by the service.
- See Also:
-
batchDeleteMemoryRecords
default BatchDeleteMemoryRecordsResponse batchDeleteMemoryRecords(BatchDeleteMemoryRecordsRequest batchDeleteMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes multiple memory records in a single batch operation from the specified memory.
- Parameters:
batchDeleteMemoryRecordsRequest-- Returns:
- Result of the BatchDeleteMemoryRecords operation returned by the service.
- See Also:
-
batchDeleteMemoryRecords
default BatchDeleteMemoryRecordsResponse batchDeleteMemoryRecords(Consumer<BatchDeleteMemoryRecordsRequest.Builder> batchDeleteMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes multiple memory records in a single batch operation from the specified memory.
This is a convenience which creates an instance of the
BatchDeleteMemoryRecordsRequest.Builderavoiding the need to create one manually viaBatchDeleteMemoryRecordsRequest.builder()- Parameters:
batchDeleteMemoryRecordsRequest- AConsumerthat will call methods onBatchDeleteMemoryRecordsRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteMemoryRecords operation returned by the service.
- See Also:
-
batchUpdateMemoryRecords
default BatchUpdateMemoryRecordsResponse batchUpdateMemoryRecords(BatchUpdateMemoryRecordsRequest batchUpdateMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Updates multiple memory records with custom content in a single batch operation within the specified memory.
- Parameters:
batchUpdateMemoryRecordsRequest-- Returns:
- Result of the BatchUpdateMemoryRecords operation returned by the service.
- See Also:
-
batchUpdateMemoryRecords
default BatchUpdateMemoryRecordsResponse batchUpdateMemoryRecords(Consumer<BatchUpdateMemoryRecordsRequest.Builder> batchUpdateMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Updates multiple memory records with custom content in a single batch operation within the specified memory.
This is a convenience which creates an instance of the
BatchUpdateMemoryRecordsRequest.Builderavoiding the need to create one manually viaBatchUpdateMemoryRecordsRequest.builder()- Parameters:
batchUpdateMemoryRecordsRequest- AConsumerthat will call methods onBatchUpdateMemoryRecordsRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateMemoryRecords operation returned by the service.
- See Also:
-
completeResourceTokenAuth
default CompleteResourceTokenAuthResponse completeResourceTokenAuth(CompleteResourceTokenAuthRequest completeResourceTokenAuthRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Confirms the user authentication session for obtaining OAuth2.0 tokens for a resource.
- Parameters:
completeResourceTokenAuthRequest-- Returns:
- Result of the CompleteResourceTokenAuth operation returned by the service.
- See Also:
-
completeResourceTokenAuth
default CompleteResourceTokenAuthResponse completeResourceTokenAuth(Consumer<CompleteResourceTokenAuthRequest.Builder> completeResourceTokenAuthRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Confirms the user authentication session for obtaining OAuth2.0 tokens for a resource.
This is a convenience which creates an instance of the
CompleteResourceTokenAuthRequest.Builderavoiding the need to create one manually viaCompleteResourceTokenAuthRequest.builder()- Parameters:
completeResourceTokenAuthRequest- AConsumerthat will call methods onCompleteResourceTokenAuthRequest.Builderto create a request.- Returns:
- Result of the CompleteResourceTokenAuth operation returned by the service.
- See Also:
-
createABTest
default CreateAbTestResponse createABTest(CreateAbTestRequest createAbTestRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates an A/B test for comparing agent configurations. A/B tests split traffic between a control variant and a treatment variant through a gateway, then evaluate performance using online evaluation configurations to determine which variant performs better.
- Parameters:
createAbTestRequest-- Returns:
- Result of the CreateABTest operation returned by the service.
- See Also:
-
createABTest
default CreateAbTestResponse createABTest(Consumer<CreateAbTestRequest.Builder> createAbTestRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates an A/B test for comparing agent configurations. A/B tests split traffic between a control variant and a treatment variant through a gateway, then evaluate performance using online evaluation configurations to determine which variant performs better.
This is a convenience which creates an instance of the
CreateAbTestRequest.Builderavoiding the need to create one manually viaCreateAbTestRequest.builder()- Parameters:
createAbTestRequest- AConsumerthat will call methods onCreateAbTestRequest.Builderto create a request.- Returns:
- Result of the CreateABTest operation returned by the service.
- See Also:
-
createEvent
default CreateEventResponse createEvent(CreateEventRequest createEventRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, RetryableConflictException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates an event in an AgentCore Memory resource. Events represent interactions or activities that occur within a session and are associated with specific actors.
To use this operation, you must have the
bedrock-agentcore:CreateEventpermission.This operation is subject to request rate limiting.
- Parameters:
createEventRequest-- Returns:
- Result of the CreateEvent operation returned by the service.
- See Also:
-
createEvent
default CreateEventResponse createEvent(Consumer<CreateEventRequest.Builder> createEventRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, RetryableConflictException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates an event in an AgentCore Memory resource. Events represent interactions or activities that occur within a session and are associated with specific actors.
To use this operation, you must have the
bedrock-agentcore:CreateEventpermission.This operation is subject to request rate limiting.
This is a convenience which creates an instance of the
CreateEventRequest.Builderavoiding the need to create one manually viaCreateEventRequest.builder()- Parameters:
createEventRequest- AConsumerthat will call methods onCreateEventRequest.Builderto create a request.- Returns:
- Result of the CreateEvent operation returned by the service.
- See Also:
-
createPaymentInstrument
default CreatePaymentInstrumentResponse createPaymentInstrument(CreatePaymentInstrumentRequest createPaymentInstrumentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Create a new payment instrument for a connector.
- Parameters:
createPaymentInstrumentRequest- Request structure for creating a payment instrument.- Returns:
- Result of the CreatePaymentInstrument operation returned by the service.
- See Also:
-
createPaymentInstrument
default CreatePaymentInstrumentResponse createPaymentInstrument(Consumer<CreatePaymentInstrumentRequest.Builder> createPaymentInstrumentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Create a new payment instrument for a connector.
This is a convenience which creates an instance of the
CreatePaymentInstrumentRequest.Builderavoiding the need to create one manually viaCreatePaymentInstrumentRequest.builder()- Parameters:
createPaymentInstrumentRequest- AConsumerthat will call methods onCreatePaymentInstrumentRequest.Builderto create a request. Request structure for creating a payment instrument.- Returns:
- Result of the CreatePaymentInstrument operation returned by the service.
- See Also:
-
createPaymentSession
default CreatePaymentSessionResponse createPaymentSession(CreatePaymentSessionRequest createPaymentSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Create a new payment session.
- Parameters:
createPaymentSessionRequest- Request structure for creating a payment session.- Returns:
- Result of the CreatePaymentSession operation returned by the service.
- See Also:
-
createPaymentSession
default CreatePaymentSessionResponse createPaymentSession(Consumer<CreatePaymentSessionRequest.Builder> createPaymentSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Create a new payment session.
This is a convenience which creates an instance of the
CreatePaymentSessionRequest.Builderavoiding the need to create one manually viaCreatePaymentSessionRequest.builder()- Parameters:
createPaymentSessionRequest- AConsumerthat will call methods onCreatePaymentSessionRequest.Builderto create a request. Request structure for creating a payment session.- Returns:
- Result of the CreatePaymentSession operation returned by the service.
- See Also:
-
deleteABTest
default DeleteAbTestResponse deleteABTest(DeleteAbTestRequest deleteAbTestRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes an A/B test and its associated gateway rules.
- Parameters:
deleteAbTestRequest-- Returns:
- Result of the DeleteABTest operation returned by the service.
- See Also:
-
deleteABTest
default DeleteAbTestResponse deleteABTest(Consumer<DeleteAbTestRequest.Builder> deleteAbTestRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes an A/B test and its associated gateway rules.
This is a convenience which creates an instance of the
DeleteAbTestRequest.Builderavoiding the need to create one manually viaDeleteAbTestRequest.builder()- Parameters:
deleteAbTestRequest- AConsumerthat will call methods onDeleteAbTestRequest.Builderto create a request.- Returns:
- Result of the DeleteABTest operation returned by the service.
- See Also:
-
deleteBatchEvaluation
default DeleteBatchEvaluationResponse deleteBatchEvaluation(DeleteBatchEvaluationRequest deleteBatchEvaluationRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a batch evaluation and its associated results.
- Parameters:
deleteBatchEvaluationRequest-- Returns:
- Result of the DeleteBatchEvaluation operation returned by the service.
- See Also:
-
deleteBatchEvaluation
default DeleteBatchEvaluationResponse deleteBatchEvaluation(Consumer<DeleteBatchEvaluationRequest.Builder> deleteBatchEvaluationRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a batch evaluation and its associated results.
This is a convenience which creates an instance of the
DeleteBatchEvaluationRequest.Builderavoiding the need to create one manually viaDeleteBatchEvaluationRequest.builder()- Parameters:
deleteBatchEvaluationRequest- AConsumerthat will call methods onDeleteBatchEvaluationRequest.Builderto create a request.- Returns:
- Result of the DeleteBatchEvaluation operation returned by the service.
- See Also:
-
deleteEvent
default DeleteEventResponse deleteEvent(DeleteEventRequest deleteEventRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.
To use this operation, you must have the
bedrock-agentcore:DeleteEventpermission.- Parameters:
deleteEventRequest-- Returns:
- Result of the DeleteEvent operation returned by the service.
- See Also:
-
deleteEvent
default DeleteEventResponse deleteEvent(Consumer<DeleteEventRequest.Builder> deleteEventRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.
To use this operation, you must have the
bedrock-agentcore:DeleteEventpermission.
This is a convenience which creates an instance of the
DeleteEventRequest.Builderavoiding the need to create one manually viaDeleteEventRequest.builder()- Parameters:
deleteEventRequest- AConsumerthat will call methods onDeleteEventRequest.Builderto create a request.- Returns:
- Result of the DeleteEvent operation returned by the service.
- See Also:
-
deleteMemoryRecord
default DeleteMemoryRecordResponse deleteMemoryRecord(DeleteMemoryRecordRequest deleteMemoryRecordRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.
To use this operation, you must have the
bedrock-agentcore:DeleteMemoryRecordpermission.- Parameters:
deleteMemoryRecordRequest-- Returns:
- Result of the DeleteMemoryRecord operation returned by the service.
- See Also:
-
deleteMemoryRecord
default DeleteMemoryRecordResponse deleteMemoryRecord(Consumer<DeleteMemoryRecordRequest.Builder> deleteMemoryRecordRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.
To use this operation, you must have the
bedrock-agentcore:DeleteMemoryRecordpermission.
This is a convenience which creates an instance of the
DeleteMemoryRecordRequest.Builderavoiding the need to create one manually viaDeleteMemoryRecordRequest.builder()- Parameters:
deleteMemoryRecordRequest- AConsumerthat will call methods onDeleteMemoryRecordRequest.Builderto create a request.- Returns:
- Result of the DeleteMemoryRecord operation returned by the service.
- See Also:
-
deletePaymentInstrument
default DeletePaymentInstrumentResponse deletePaymentInstrument(DeletePaymentInstrumentRequest deletePaymentInstrumentRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a payment instrument. This is a soft delete operation that preserves the record for audit and compliance purposes.
- Parameters:
deletePaymentInstrumentRequest- Request structure for deleting a payment instrument.- Returns:
- Result of the DeletePaymentInstrument operation returned by the service.
- See Also:
-
deletePaymentInstrument
default DeletePaymentInstrumentResponse deletePaymentInstrument(Consumer<DeletePaymentInstrumentRequest.Builder> deletePaymentInstrumentRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a payment instrument. This is a soft delete operation that preserves the record for audit and compliance purposes.
This is a convenience which creates an instance of the
DeletePaymentInstrumentRequest.Builderavoiding the need to create one manually viaDeletePaymentInstrumentRequest.builder()- Parameters:
deletePaymentInstrumentRequest- AConsumerthat will call methods onDeletePaymentInstrumentRequest.Builderto create a request. Request structure for deleting a payment instrument.- Returns:
- Result of the DeletePaymentInstrument operation returned by the service.
- See Also:
-
deletePaymentSession
default DeletePaymentSessionResponse deletePaymentSession(DeletePaymentSessionRequest deletePaymentSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a payment session. This permanently removes the payment session record.
- Parameters:
deletePaymentSessionRequest- Request structure for deleting a payment session.- Returns:
- Result of the DeletePaymentSession operation returned by the service.
- See Also:
-
deletePaymentSession
default DeletePaymentSessionResponse deletePaymentSession(Consumer<DeletePaymentSessionRequest.Builder> deletePaymentSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a payment session. This permanently removes the payment session record.
This is a convenience which creates an instance of the
DeletePaymentSessionRequest.Builderavoiding the need to create one manually viaDeletePaymentSessionRequest.builder()- Parameters:
deletePaymentSessionRequest- AConsumerthat will call methods onDeletePaymentSessionRequest.Builderto create a request. Request structure for deleting a payment session.- Returns:
- Result of the DeletePaymentSession operation returned by the service.
- See Also:
-
deleteRecommendation
default DeleteRecommendationResponse deleteRecommendation(DeleteRecommendationRequest deleteRecommendationRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a recommendation and its associated results.
- Parameters:
deleteRecommendationRequest-- Returns:
- Result of the DeleteRecommendation operation returned by the service.
- See Also:
-
deleteRecommendation
default DeleteRecommendationResponse deleteRecommendation(Consumer<DeleteRecommendationRequest.Builder> deleteRecommendationRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Deletes a recommendation and its associated results.
This is a convenience which creates an instance of the
DeleteRecommendationRequest.Builderavoiding the need to create one manually viaDeleteRecommendationRequest.builder()- Parameters:
deleteRecommendationRequest- AConsumerthat will call methods onDeleteRecommendationRequest.Builderto create a request.- Returns:
- Result of the DeleteRecommendation operation returned by the service.
- See Also:
-
evaluate
default EvaluateResponse evaluate(EvaluateRequest evaluateRequest) throws ServiceQuotaExceededException, UnauthorizedException, DuplicateIdException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Performs on-demand evaluation of agent traces using a specified evaluator. This synchronous API accepts traces in OpenTelemetry format and returns immediate scoring results with detailed explanations.
- Parameters:
evaluateRequest-- Returns:
- Result of the Evaluate operation returned by the service.
- See Also:
-
evaluate
default EvaluateResponse evaluate(Consumer<EvaluateRequest.Builder> evaluateRequest) throws ServiceQuotaExceededException, UnauthorizedException, DuplicateIdException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Performs on-demand evaluation of agent traces using a specified evaluator. This synchronous API accepts traces in OpenTelemetry format and returns immediate scoring results with detailed explanations.
This is a convenience which creates an instance of the
EvaluateRequest.Builderavoiding the need to create one manually viaEvaluateRequest.builder()- Parameters:
evaluateRequest- AConsumerthat will call methods onEvaluateRequest.Builderto create a request.- Returns:
- Result of the Evaluate operation returned by the service.
- See Also:
-
getABTest
default GetAbTestResponse getABTest(GetAbTestRequest getAbTestRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.
- Parameters:
getAbTestRequest-- Returns:
- Result of the GetABTest operation returned by the service.
- See Also:
-
getABTest
default GetAbTestResponse getABTest(Consumer<GetAbTestRequest.Builder> getAbTestRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.
This is a convenience which creates an instance of the
GetAbTestRequest.Builderavoiding the need to create one manually viaGetAbTestRequest.builder()- Parameters:
getAbTestRequest- AConsumerthat will call methods onGetAbTestRequest.Builderto create a request.- Returns:
- Result of the GetABTest operation returned by the service.
- See Also:
-
getAgentCard
default GetAgentCardResponse getAgentCard(GetAgentCardRequest getAgentCardRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves the A2A agent card associated with an AgentCore Runtime agent.
- Parameters:
getAgentCardRequest-- Returns:
- Result of the GetAgentCard operation returned by the service.
- See Also:
-
getAgentCard
default GetAgentCardResponse getAgentCard(Consumer<GetAgentCardRequest.Builder> getAgentCardRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves the A2A agent card associated with an AgentCore Runtime agent.
This is a convenience which creates an instance of the
GetAgentCardRequest.Builderavoiding the need to create one manually viaGetAgentCardRequest.builder()- Parameters:
getAgentCardRequest- AConsumerthat will call methods onGetAgentCardRequest.Builderto create a request.- Returns:
- Result of the GetAgentCard operation returned by the service.
- See Also:
-
getBatchEvaluation
default GetBatchEvaluationResponse getBatchEvaluation(GetBatchEvaluationRequest getBatchEvaluationRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a batch evaluation, including its status, configuration, results, and any error details.
- Parameters:
getBatchEvaluationRequest-- Returns:
- Result of the GetBatchEvaluation operation returned by the service.
- See Also:
-
getBatchEvaluation
default GetBatchEvaluationResponse getBatchEvaluation(Consumer<GetBatchEvaluationRequest.Builder> getBatchEvaluationRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a batch evaluation, including its status, configuration, results, and any error details.
This is a convenience which creates an instance of the
GetBatchEvaluationRequest.Builderavoiding the need to create one manually viaGetBatchEvaluationRequest.builder()- Parameters:
getBatchEvaluationRequest- AConsumerthat will call methods onGetBatchEvaluationRequest.Builderto create a request.- Returns:
- Result of the GetBatchEvaluation operation returned by the service.
- See Also:
-
getBrowserSession
default GetBrowserSessionResponse getBrowserSession(GetBrowserSessionRequest getBrowserSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, associated streams, and metadata.
To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.
The following operations are related to
GetBrowserSession:- Parameters:
getBrowserSessionRequest-- Returns:
- Result of the GetBrowserSession operation returned by the service.
- See Also:
-
getBrowserSession
default GetBrowserSessionResponse getBrowserSession(Consumer<GetBrowserSessionRequest.Builder> getBrowserSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, associated streams, and metadata.
To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.
The following operations are related to
GetBrowserSession:
This is a convenience which creates an instance of the
GetBrowserSessionRequest.Builderavoiding the need to create one manually viaGetBrowserSessionRequest.builder()- Parameters:
getBrowserSessionRequest- AConsumerthat will call methods onGetBrowserSessionRequest.Builderto create a request.- Returns:
- Result of the GetBrowserSession operation returned by the service.
- See Also:
-
getCodeInterpreterSession
default GetCodeInterpreterSessionResponse getCodeInterpreterSession(GetCodeInterpreterSessionRequest getCodeInterpreterSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.
To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.
The following operations are related to
GetCodeInterpreterSession:- Parameters:
getCodeInterpreterSessionRequest-- Returns:
- Result of the GetCodeInterpreterSession operation returned by the service.
- See Also:
-
getCodeInterpreterSession
default GetCodeInterpreterSessionResponse getCodeInterpreterSession(Consumer<GetCodeInterpreterSessionRequest.Builder> getCodeInterpreterSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.
To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.
The following operations are related to
GetCodeInterpreterSession:
This is a convenience which creates an instance of the
GetCodeInterpreterSessionRequest.Builderavoiding the need to create one manually viaGetCodeInterpreterSessionRequest.builder()- Parameters:
getCodeInterpreterSessionRequest- AConsumerthat will call methods onGetCodeInterpreterSessionRequest.Builderto create a request.- Returns:
- Result of the GetCodeInterpreterSession operation returned by the service.
- See Also:
-
getEvent
default GetEventResponse getEvent(GetEventRequest getEventRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves information about a specific event in an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetEventpermission.- Parameters:
getEventRequest-- Returns:
- Result of the GetEvent operation returned by the service.
- See Also:
-
getEvent
default GetEventResponse getEvent(Consumer<GetEventRequest.Builder> getEventRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves information about a specific event in an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetEventpermission.
This is a convenience which creates an instance of the
GetEventRequest.Builderavoiding the need to create one manually viaGetEventRequest.builder()- Parameters:
getEventRequest- AConsumerthat will call methods onGetEventRequest.Builderto create a request.- Returns:
- Result of the GetEvent operation returned by the service.
- See Also:
-
getMemoryRecord
default GetMemoryRecordResponse getMemoryRecord(GetMemoryRecordRequest getMemoryRecordRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves a specific memory record from an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetMemoryRecordpermission.- Parameters:
getMemoryRecordRequest-- Returns:
- Result of the GetMemoryRecord operation returned by the service.
- See Also:
-
getMemoryRecord
default GetMemoryRecordResponse getMemoryRecord(Consumer<GetMemoryRecordRequest.Builder> getMemoryRecordRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves a specific memory record from an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetMemoryRecordpermission.
This is a convenience which creates an instance of the
GetMemoryRecordRequest.Builderavoiding the need to create one manually viaGetMemoryRecordRequest.builder()- Parameters:
getMemoryRecordRequest- AConsumerthat will call methods onGetMemoryRecordRequest.Builderto create a request.- Returns:
- Result of the GetMemoryRecord operation returned by the service.
- See Also:
-
getPaymentInstrument
default GetPaymentInstrumentResponse getPaymentInstrument(GetPaymentInstrumentRequest getPaymentInstrumentRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Get a payment instrument by ID.
- Parameters:
getPaymentInstrumentRequest- Request structure for getting a payment instrument.- Returns:
- Result of the GetPaymentInstrument operation returned by the service.
- See Also:
-
getPaymentInstrument
default GetPaymentInstrumentResponse getPaymentInstrument(Consumer<GetPaymentInstrumentRequest.Builder> getPaymentInstrumentRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Get a payment instrument by ID.
This is a convenience which creates an instance of the
GetPaymentInstrumentRequest.Builderavoiding the need to create one manually viaGetPaymentInstrumentRequest.builder()- Parameters:
getPaymentInstrumentRequest- AConsumerthat will call methods onGetPaymentInstrumentRequest.Builderto create a request. Request structure for getting a payment instrument.- Returns:
- Result of the GetPaymentInstrument operation returned by the service.
- See Also:
-
getPaymentInstrumentBalance
default GetPaymentInstrumentBalanceResponse getPaymentInstrumentBalance(GetPaymentInstrumentBalanceRequest getPaymentInstrumentBalanceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Get the balance of a payment instrument.
- Parameters:
getPaymentInstrumentBalanceRequest- Request structure for getting payment instrument balance.- Returns:
- Result of the GetPaymentInstrumentBalance operation returned by the service.
- See Also:
-
getPaymentInstrumentBalance
default GetPaymentInstrumentBalanceResponse getPaymentInstrumentBalance(Consumer<GetPaymentInstrumentBalanceRequest.Builder> getPaymentInstrumentBalanceRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Get the balance of a payment instrument.
This is a convenience which creates an instance of the
GetPaymentInstrumentBalanceRequest.Builderavoiding the need to create one manually viaGetPaymentInstrumentBalanceRequest.builder()- Parameters:
getPaymentInstrumentBalanceRequest- AConsumerthat will call methods onGetPaymentInstrumentBalanceRequest.Builderto create a request. Request structure for getting payment instrument balance.- Returns:
- Result of the GetPaymentInstrumentBalance operation returned by the service.
- See Also:
-
getPaymentSession
default GetPaymentSessionResponse getPaymentSession(GetPaymentSessionRequest getPaymentSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Get a payment session.
- Parameters:
getPaymentSessionRequest- Request structure for getting a payment session.- Returns:
- Result of the GetPaymentSession operation returned by the service.
- See Also:
-
getPaymentSession
default GetPaymentSessionResponse getPaymentSession(Consumer<GetPaymentSessionRequest.Builder> getPaymentSessionRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Get a payment session.
This is a convenience which creates an instance of the
GetPaymentSessionRequest.Builderavoiding the need to create one manually viaGetPaymentSessionRequest.builder()- Parameters:
getPaymentSessionRequest- AConsumerthat will call methods onGetPaymentSessionRequest.Builderto create a request. Request structure for getting a payment session.- Returns:
- Result of the GetPaymentSession operation returned by the service.
- See Also:
-
getRecommendation
default GetRecommendationResponse getRecommendation(GetRecommendationRequest getRecommendationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a recommendation, including its configuration, status, and results.
- Parameters:
getRecommendationRequest-- Returns:
- Result of the GetRecommendation operation returned by the service.
- See Also:
-
getRecommendation
default GetRecommendationResponse getRecommendation(Consumer<GetRecommendationRequest.Builder> getRecommendationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves detailed information about a recommendation, including its configuration, status, and results.
This is a convenience which creates an instance of the
GetRecommendationRequest.Builderavoiding the need to create one manually viaGetRecommendationRequest.builder()- Parameters:
getRecommendationRequest- AConsumerthat will call methods onGetRecommendationRequest.Builderto create a request.- Returns:
- Result of the GetRecommendation operation returned by the service.
- See Also:
-
getResourceApiKey
default GetResourceApiKeyResponse getResourceApiKey(GetResourceApiKeyRequest getResourceApiKeyRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves the API key associated with an API key credential provider.
- Parameters:
getResourceApiKeyRequest-- Returns:
- Result of the GetResourceApiKey operation returned by the service.
- See Also:
-
getResourceApiKey
default GetResourceApiKeyResponse getResourceApiKey(Consumer<GetResourceApiKeyRequest.Builder> getResourceApiKeyRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves the API key associated with an API key credential provider.
This is a convenience which creates an instance of the
GetResourceApiKeyRequest.Builderavoiding the need to create one manually viaGetResourceApiKeyRequest.builder()- Parameters:
getResourceApiKeyRequest- AConsumerthat will call methods onGetResourceApiKeyRequest.Builderto create a request.- Returns:
- Result of the GetResourceApiKey operation returned by the service.
- See Also:
-
getResourceOauth2Token
default GetResourceOauth2TokenResponse getResourceOauth2Token(GetResourceOauth2TokenRequest getResourceOauth2TokenRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Returns the OAuth 2.0 token of the provided resource.
- Parameters:
getResourceOauth2TokenRequest-- Returns:
- Result of the GetResourceOauth2Token operation returned by the service.
- See Also:
-
getResourceOauth2Token
default GetResourceOauth2TokenResponse getResourceOauth2Token(Consumer<GetResourceOauth2TokenRequest.Builder> getResourceOauth2TokenRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Returns the OAuth 2.0 token of the provided resource.
This is a convenience which creates an instance of the
GetResourceOauth2TokenRequest.Builderavoiding the need to create one manually viaGetResourceOauth2TokenRequest.builder()- Parameters:
getResourceOauth2TokenRequest- AConsumerthat will call methods onGetResourceOauth2TokenRequest.Builderto create a request.- Returns:
- Result of the GetResourceOauth2Token operation returned by the service.
- See Also:
-
getResourcePaymentToken
default GetResourcePaymentTokenResponse getResourcePaymentToken(GetResourcePaymentTokenRequest getResourcePaymentTokenRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.
- Parameters:
getResourcePaymentTokenRequest-- Returns:
- Result of the GetResourcePaymentToken operation returned by the service.
- See Also:
-
getResourcePaymentToken
default GetResourcePaymentTokenResponse getResourcePaymentToken(Consumer<GetResourcePaymentTokenRequest.Builder> getResourcePaymentTokenRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.
This is a convenience which creates an instance of the
GetResourcePaymentTokenRequest.Builderavoiding the need to create one manually viaGetResourcePaymentTokenRequest.builder()- Parameters:
getResourcePaymentTokenRequest- AConsumerthat will call methods onGetResourcePaymentTokenRequest.Builderto create a request.- Returns:
- Result of the GetResourcePaymentToken operation returned by the service.
- See Also:
-
getWorkloadAccessToken
default GetWorkloadAccessTokenResponse getWorkloadAccessToken(GetWorkloadAccessTokenRequest getWorkloadAccessTokenRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Obtains a workload access token for agentic workloads not acting on behalf of a user.
- Parameters:
getWorkloadAccessTokenRequest-- Returns:
- Result of the GetWorkloadAccessToken operation returned by the service.
- See Also:
-
getWorkloadAccessToken
default GetWorkloadAccessTokenResponse getWorkloadAccessToken(Consumer<GetWorkloadAccessTokenRequest.Builder> getWorkloadAccessTokenRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Obtains a workload access token for agentic workloads not acting on behalf of a user.
This is a convenience which creates an instance of the
GetWorkloadAccessTokenRequest.Builderavoiding the need to create one manually viaGetWorkloadAccessTokenRequest.builder()- Parameters:
getWorkloadAccessTokenRequest- AConsumerthat will call methods onGetWorkloadAccessTokenRequest.Builderto create a request.- Returns:
- Result of the GetWorkloadAccessToken operation returned by the service.
- See Also:
-
getWorkloadAccessTokenForJWT
default GetWorkloadAccessTokenForJwtResponse getWorkloadAccessTokenForJWT(GetWorkloadAccessTokenForJwtRequest getWorkloadAccessTokenForJwtRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token.
- Parameters:
getWorkloadAccessTokenForJwtRequest-- Returns:
- Result of the GetWorkloadAccessTokenForJWT operation returned by the service.
- See Also:
-
getWorkloadAccessTokenForJWT
default GetWorkloadAccessTokenForJwtResponse getWorkloadAccessTokenForJWT(Consumer<GetWorkloadAccessTokenForJwtRequest.Builder> getWorkloadAccessTokenForJwtRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token.
This is a convenience which creates an instance of the
GetWorkloadAccessTokenForJwtRequest.Builderavoiding the need to create one manually viaGetWorkloadAccessTokenForJwtRequest.builder()- Parameters:
getWorkloadAccessTokenForJwtRequest- AConsumerthat will call methods onGetWorkloadAccessTokenForJwtRequest.Builderto create a request.- Returns:
- Result of the GetWorkloadAccessTokenForJWT operation returned by the service.
- See Also:
-
getWorkloadAccessTokenForUserId
default GetWorkloadAccessTokenForUserIdResponse getWorkloadAccessTokenForUserId(GetWorkloadAccessTokenForUserIdRequest getWorkloadAccessTokenForUserIdRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.
- Parameters:
getWorkloadAccessTokenForUserIdRequest-- Returns:
- Result of the GetWorkloadAccessTokenForUserId operation returned by the service.
- See Also:
-
getWorkloadAccessTokenForUserId
default GetWorkloadAccessTokenForUserIdResponse getWorkloadAccessTokenForUserId(Consumer<GetWorkloadAccessTokenForUserIdRequest.Builder> getWorkloadAccessTokenForUserIdRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.
This is a convenience which creates an instance of the
GetWorkloadAccessTokenForUserIdRequest.Builderavoiding the need to create one manually viaGetWorkloadAccessTokenForUserIdRequest.builder()- Parameters:
getWorkloadAccessTokenForUserIdRequest- AConsumerthat will call methods onGetWorkloadAccessTokenForUserIdRequest.Builderto create a request.- Returns:
- Result of the GetWorkloadAccessTokenForUserId operation returned by the service.
- See Also:
-
invokeAgentRuntime
default <ReturnT> ReturnT invokeAgentRuntime(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest, ResponseTransformer<InvokeAgentRuntimeResponse, ReturnT> responseTransformer) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreExceptionSends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).- Parameters:
invokeAgentRuntimeRequest-responseTransformer- Functional interface for processing the streamed response content. The unmarshalled InvokeAgentRuntimeResponse and an InputStream to the response content are provided as parameters to the callback. The callback may return a transformed type which will be the return value of this method. SeeResponseTransformerfor details on implementing this interface and for links to pre-canned implementations for common scenarios like downloading to a file. The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
invokeAgentRuntime
default <ReturnT> ReturnT invokeAgentRuntime(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest, ResponseTransformer<InvokeAgentRuntimeResponse, ReturnT> responseTransformer) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreExceptionSends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).
This is a convenience which creates an instance of the
InvokeAgentRuntimeRequest.Builderavoiding the need to create one manually viaInvokeAgentRuntimeRequest.builder()- Parameters:
invokeAgentRuntimeRequest- AConsumerthat will call methods onInvokeAgentRuntimeRequest.Builderto create a request.responseTransformer- Functional interface for processing the streamed response content. The unmarshalled InvokeAgentRuntimeResponse and an InputStream to the response content are provided as parameters to the callback. The callback may return a transformed type which will be the return value of this method. SeeResponseTransformerfor details on implementing this interface and for links to pre-canned implementations for common scenarios like downloading to a file. The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
invokeAgentRuntime
default InvokeAgentRuntimeResponse invokeAgentRuntime(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest, Path destinationPath) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).- Parameters:
invokeAgentRuntimeRequest-destinationPath-Pathto file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
invokeAgentRuntime
default InvokeAgentRuntimeResponse invokeAgentRuntime(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest, Path destinationPath) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).
This is a convenience which creates an instance of the
InvokeAgentRuntimeRequest.Builderavoiding the need to create one manually viaInvokeAgentRuntimeRequest.builder()- Parameters:
invokeAgentRuntimeRequest- AConsumerthat will call methods onInvokeAgentRuntimeRequest.Builderto create a request.destinationPath-Pathto file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
invokeAgentRuntime
default ResponseInputStream<InvokeAgentRuntimeResponse> invokeAgentRuntime(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).- Parameters:
invokeAgentRuntimeRequest-- Returns:
- A
ResponseInputStreamcontaining data streamed from service. Note that this is an unmanaged reference to the underlying HTTP connection so great care must be taken to ensure all data if fully read from the input stream and that it is properly closed. Failure to do so may result in sub-optimal behavior and exhausting connections in the connection pool. The unmarshalled response object can be obtained viaResponseInputStream.response(). The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'. - See Also:
-
invokeAgentRuntime
default ResponseInputStream<InvokeAgentRuntimeResponse> invokeAgentRuntime(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).
This is a convenience which creates an instance of the
InvokeAgentRuntimeRequest.Builderavoiding the need to create one manually viaInvokeAgentRuntimeRequest.builder()- Parameters:
invokeAgentRuntimeRequest- AConsumerthat will call methods onInvokeAgentRuntimeRequest.Builderto create a request.- Returns:
- A
ResponseInputStreamcontaining data streamed from service. Note that this is an unmanaged reference to the underlying HTTP connection so great care must be taken to ensure all data if fully read from the input stream and that it is properly closed. Failure to do so may result in sub-optimal behavior and exhausting connections in the connection pool. The unmarshalled response object can be obtained viaResponseInputStream.response(). The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'. - See Also:
-
invokeAgentRuntimeAsBytes
default ResponseBytes<InvokeAgentRuntimeResponse> invokeAgentRuntimeAsBytes(InvokeAgentRuntimeRequest invokeAgentRuntimeRequest) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).- Parameters:
invokeAgentRuntimeRequest-- Returns:
- A
ResponseBytesthat loads the data streamed from the service into memory and exposes it in convenient in-memory representations like a byte buffer or string. The unmarshalled response object can be obtained viaResponseBytes.response(). The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'. - See Also:
-
invokeAgentRuntimeAsBytes
default ResponseBytes<InvokeAgentRuntimeResponse> invokeAgentRuntimeAsBytes(Consumer<InvokeAgentRuntimeRequest.Builder> invokeAgentRuntimeRequest) throws ServiceQuotaExceededException, RetryableConflictException, ValidationException, AccessDeniedException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time.
To invoke an agent, you can specify either the AgentCore Runtime ARN or the agent ID with an account ID, and provide a payload containing your request. When you use the agent ID instead of the full ARN, you don't need to URL-encode the identifier. You can optionally specify a qualifier to target a specific endpoint of the agent.
This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.
For example code, see Invoke an AgentCore Runtime agent.
If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call
InvokeAgentRuntime. Instead, make a HTTPS request toInvokeAgentRuntime. For an example, see Authenticate and authorize with Inbound Auth and Outbound Auth.To use this operation, you must have the
bedrock-agentcore:InvokeAgentRuntimepermission. If you are making a call toInvokeAgentRuntimeon behalf of a user ID with theX-Amzn-Bedrock-AgentCore-Runtime-User-Idheader, You require permissions to both actions (bedrock-agentcore:InvokeAgentRuntimeandbedrock-agentcore:InvokeAgentRuntimeForUser).
This is a convenience which creates an instance of the
InvokeAgentRuntimeRequest.Builderavoiding the need to create one manually viaInvokeAgentRuntimeRequest.builder()- Parameters:
invokeAgentRuntimeRequest- AConsumerthat will call methods onInvokeAgentRuntimeRequest.Builderto create a request.- Returns:
- A
ResponseBytesthat loads the data streamed from the service into memory and exposes it in convenient in-memory representations like a byte buffer or string. The unmarshalled response object can be obtained viaResponseBytes.response(). The service documentation for the response content is as follows 'The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.
'. - See Also:
-
invokeBrowser
default InvokeBrowserResponse invokeBrowser(InvokeBrowserRequest invokeBrowserRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Invokes an operating system-level action on a browser session in Amazon Bedrock AgentCore. This operation provides direct OS-level control over browser sessions, enabling mouse actions, keyboard input, and screenshots that the WebSocket-based Chrome DevTools Protocol (CDP) cannot handle — such as interacting with print dialogs, context menus, and JavaScript alerts.
You send a request with exactly one action in the
BrowserActionunion, and receive a corresponding result in theBrowserActionResultunion.The following operations are related to
InvokeBrowser:- Parameters:
invokeBrowserRequest- Request for the InvokeBrowser operation.- Returns:
- Result of the InvokeBrowser operation returned by the service.
- See Also:
-
invokeBrowser
default InvokeBrowserResponse invokeBrowser(Consumer<InvokeBrowserRequest.Builder> invokeBrowserRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Invokes an operating system-level action on a browser session in Amazon Bedrock AgentCore. This operation provides direct OS-level control over browser sessions, enabling mouse actions, keyboard input, and screenshots that the WebSocket-based Chrome DevTools Protocol (CDP) cannot handle — such as interacting with print dialogs, context menus, and JavaScript alerts.
You send a request with exactly one action in the
BrowserActionunion, and receive a corresponding result in theBrowserActionResultunion.The following operations are related to
InvokeBrowser:
This is a convenience which creates an instance of the
InvokeBrowserRequest.Builderavoiding the need to create one manually viaInvokeBrowserRequest.builder()- Parameters:
invokeBrowserRequest- AConsumerthat will call methods onInvokeBrowserRequest.Builderto create a request. Request for the InvokeBrowser operation.- Returns:
- Result of the InvokeBrowser operation returned by the service.
- See Also:
-
listABTests
default ListAbTestsResponse listABTests(ListAbTestsRequest listAbTestsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all A/B tests in the account.
- Parameters:
listAbTestsRequest-- Returns:
- Result of the ListABTests operation returned by the service.
- See Also:
-
listABTests
default ListAbTestsResponse listABTests(Consumer<ListAbTestsRequest.Builder> listAbTestsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all A/B tests in the account.
This is a convenience which creates an instance of the
ListAbTestsRequest.Builderavoiding the need to create one manually viaListAbTestsRequest.builder()- Parameters:
listAbTestsRequest- AConsumerthat will call methods onListAbTestsRequest.Builderto create a request.- Returns:
- Result of the ListABTests operation returned by the service.
- See Also:
-
listABTestsPaginator
default ListABTestsIterable listABTestsPaginator(ListAbTestsRequest listAbTestsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listABTests(software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsRequest)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.bedrockagentcore.paginators.ListABTestsIterable responses = client.listABTestsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListABTestsIterable responses = client .listABTestsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListABTestsIterable responses = client.listABTestsPaginator(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
listABTests(software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsRequest)operation.- Parameters:
listAbTestsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listABTestsPaginator
default ListABTestsIterable listABTestsPaginator(Consumer<ListAbTestsRequest.Builder> listAbTestsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listABTests(software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsRequest)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.bedrockagentcore.paginators.ListABTestsIterable responses = client.listABTestsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListABTestsIterable responses = client .listABTestsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListABTestsIterable responses = client.listABTestsPaginator(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
listABTests(software.amazon.awssdk.services.bedrockagentcore.model.ListAbTestsRequest)operation.
This is a convenience which creates an instance of the
ListAbTestsRequest.Builderavoiding the need to create one manually viaListAbTestsRequest.builder()- Parameters:
listAbTestsRequest- AConsumerthat will call methods onListAbTestsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listActors
default ListActorsResponse listActors(ListActorsRequest listActorsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all actors in an AgentCore Memory resource. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:ListActorspermission.- Parameters:
listActorsRequest-- Returns:
- Result of the ListActors operation returned by the service.
- See Also:
-
listActors
default ListActorsResponse listActors(Consumer<ListActorsRequest.Builder> listActorsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all actors in an AgentCore Memory resource. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:ListActorspermission.
This is a convenience which creates an instance of the
ListActorsRequest.Builderavoiding the need to create one manually viaListActorsRequest.builder()- Parameters:
listActorsRequest- AConsumerthat will call methods onListActorsRequest.Builderto create a request.- Returns:
- Result of the ListActors operation returned by the service.
- See Also:
-
listActorsPaginator
default ListActorsIterable listActorsPaginator(ListActorsRequest listActorsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listActors(software.amazon.awssdk.services.bedrockagentcore.model.ListActorsRequest)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.bedrockagentcore.paginators.ListActorsIterable responses = client.listActorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListActorsIterable responses = client .listActorsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListActorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListActorsIterable responses = client.listActorsPaginator(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
listActors(software.amazon.awssdk.services.bedrockagentcore.model.ListActorsRequest)operation.- Parameters:
listActorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listActorsPaginator
default ListActorsIterable listActorsPaginator(Consumer<ListActorsRequest.Builder> listActorsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listActors(software.amazon.awssdk.services.bedrockagentcore.model.ListActorsRequest)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.bedrockagentcore.paginators.ListActorsIterable responses = client.listActorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListActorsIterable responses = client .listActorsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListActorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListActorsIterable responses = client.listActorsPaginator(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
listActors(software.amazon.awssdk.services.bedrockagentcore.model.ListActorsRequest)operation.
This is a convenience which creates an instance of the
ListActorsRequest.Builderavoiding the need to create one manually viaListActorsRequest.builder()- Parameters:
listActorsRequest- AConsumerthat will call methods onListActorsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBatchEvaluations
default ListBatchEvaluationsResponse listBatchEvaluations(ListBatchEvaluationsRequest listBatchEvaluationsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all batch evaluations in the account, providing summary information about each evaluation's status and configuration.
- Parameters:
listBatchEvaluationsRequest-- Returns:
- Result of the ListBatchEvaluations operation returned by the service.
- See Also:
-
listBatchEvaluations
default ListBatchEvaluationsResponse listBatchEvaluations(Consumer<ListBatchEvaluationsRequest.Builder> listBatchEvaluationsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all batch evaluations in the account, providing summary information about each evaluation's status and configuration.
This is a convenience which creates an instance of the
ListBatchEvaluationsRequest.Builderavoiding the need to create one manually viaListBatchEvaluationsRequest.builder()- Parameters:
listBatchEvaluationsRequest- AConsumerthat will call methods onListBatchEvaluationsRequest.Builderto create a request.- Returns:
- Result of the ListBatchEvaluations operation returned by the service.
- See Also:
-
listBatchEvaluationsPaginator
default ListBatchEvaluationsIterable listBatchEvaluationsPaginator(ListBatchEvaluationsRequest listBatchEvaluationsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listBatchEvaluations(software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsRequest)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.bedrockagentcore.paginators.ListBatchEvaluationsIterable responses = client.listBatchEvaluationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListBatchEvaluationsIterable responses = client .listBatchEvaluationsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListBatchEvaluationsIterable responses = client.listBatchEvaluationsPaginator(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
listBatchEvaluations(software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsRequest)operation.- Parameters:
listBatchEvaluationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBatchEvaluationsPaginator
default ListBatchEvaluationsIterable listBatchEvaluationsPaginator(Consumer<ListBatchEvaluationsRequest.Builder> listBatchEvaluationsRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listBatchEvaluations(software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsRequest)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.bedrockagentcore.paginators.ListBatchEvaluationsIterable responses = client.listBatchEvaluationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListBatchEvaluationsIterable responses = client .listBatchEvaluationsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListBatchEvaluationsIterable responses = client.listBatchEvaluationsPaginator(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
listBatchEvaluations(software.amazon.awssdk.services.bedrockagentcore.model.ListBatchEvaluationsRequest)operation.
This is a convenience which creates an instance of the
ListBatchEvaluationsRequest.Builderavoiding the need to create one manually viaListBatchEvaluationsRequest.builder()- Parameters:
listBatchEvaluationsRequest- AConsumerthat will call methods onListBatchEvaluationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBrowserSessions
default ListBrowserSessionsResponse listBrowserSessions(ListBrowserSessionsRequest listBrowserSessionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves a list of browser sessions in Amazon Bedrock AgentCore that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.
You can filter the results by browser identifier and session status. The operation supports pagination to handle large result sets efficiently.
We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.
The following operations are related to
ListBrowserSessions:- Parameters:
listBrowserSessionsRequest-- Returns:
- Result of the ListBrowserSessions operation returned by the service.
- See Also:
-
listBrowserSessions
default ListBrowserSessionsResponse listBrowserSessions(Consumer<ListBrowserSessionsRequest.Builder> listBrowserSessionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves a list of browser sessions in Amazon Bedrock AgentCore that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.
You can filter the results by browser identifier and session status. The operation supports pagination to handle large result sets efficiently.
We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.
The following operations are related to
ListBrowserSessions:
This is a convenience which creates an instance of the
ListBrowserSessionsRequest.Builderavoiding the need to create one manually viaListBrowserSessionsRequest.builder()- Parameters:
listBrowserSessionsRequest- AConsumerthat will call methods onListBrowserSessionsRequest.Builderto create a request.- Returns:
- Result of the ListBrowserSessions operation returned by the service.
- See Also:
-
listCodeInterpreterSessions
default ListCodeInterpreterSessionsResponse listCodeInterpreterSessions(ListCodeInterpreterSessionsRequest listCodeInterpreterSessionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves a list of code interpreter sessions in Amazon Bedrock AgentCore that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.
You can filter the results by code interpreter identifier and session status. The operation supports pagination to handle large result sets efficiently.
We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.
The following operations are related to
ListCodeInterpreterSessions:- Parameters:
listCodeInterpreterSessionsRequest-- Returns:
- Result of the ListCodeInterpreterSessions operation returned by the service.
- See Also:
-
listCodeInterpreterSessions
default ListCodeInterpreterSessionsResponse listCodeInterpreterSessions(Consumer<ListCodeInterpreterSessionsRequest.Builder> listCodeInterpreterSessionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Retrieves a list of code interpreter sessions in Amazon Bedrock AgentCore that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.
You can filter the results by code interpreter identifier and session status. The operation supports pagination to handle large result sets efficiently.
We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.
The following operations are related to
ListCodeInterpreterSessions:
This is a convenience which creates an instance of the
ListCodeInterpreterSessionsRequest.Builderavoiding the need to create one manually viaListCodeInterpreterSessionsRequest.builder()- Parameters:
listCodeInterpreterSessionsRequest- AConsumerthat will call methods onListCodeInterpreterSessionsRequest.Builderto create a request.- Returns:
- Result of the ListCodeInterpreterSessions operation returned by the service.
- See Also:
-
listEvents
default ListEventsResponse listEvents(ListEventsRequest listEventsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists events in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:ListEventspermission.- Parameters:
listEventsRequest-- Returns:
- Result of the ListEvents operation returned by the service.
- See Also:
-
listEvents
default ListEventsResponse listEvents(Consumer<ListEventsRequest.Builder> listEventsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists events in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:ListEventspermission.
This is a convenience which creates an instance of the
ListEventsRequest.Builderavoiding the need to create one manually viaListEventsRequest.builder()- Parameters:
listEventsRequest- AConsumerthat will call methods onListEventsRequest.Builderto create a request.- Returns:
- Result of the ListEvents operation returned by the service.
- See Also:
-
listEventsPaginator
default ListEventsIterable listEventsPaginator(ListEventsRequest listEventsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listEvents(software.amazon.awssdk.services.bedrockagentcore.model.ListEventsRequest)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.bedrockagentcore.paginators.ListEventsIterable responses = client.listEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListEventsIterable responses = client .listEventsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListEventsIterable responses = client.listEventsPaginator(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
listEvents(software.amazon.awssdk.services.bedrockagentcore.model.ListEventsRequest)operation.- Parameters:
listEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEventsPaginator
default ListEventsIterable listEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listEvents(software.amazon.awssdk.services.bedrockagentcore.model.ListEventsRequest)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.bedrockagentcore.paginators.ListEventsIterable responses = client.listEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListEventsIterable responses = client .listEventsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListEventsIterable responses = client.listEventsPaginator(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
listEvents(software.amazon.awssdk.services.bedrockagentcore.model.ListEventsRequest)operation.
This is a convenience which creates an instance of the
ListEventsRequest.Builderavoiding the need to create one manually viaListEventsRequest.builder()- Parameters:
listEventsRequest- AConsumerthat will call methods onListEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemoryExtractionJobs
default ListMemoryExtractionJobsResponse listMemoryExtractionJobs(ListMemoryExtractionJobsRequest listMemoryExtractionJobsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all long-term memory extraction jobs that are eligible to be started with optional filtering.
To use this operation, you must have the
bedrock-agentcore:ListMemoryExtractionJobspermission.- Parameters:
listMemoryExtractionJobsRequest-- Returns:
- Result of the ListMemoryExtractionJobs operation returned by the service.
- See Also:
-
listMemoryExtractionJobs
default ListMemoryExtractionJobsResponse listMemoryExtractionJobs(Consumer<ListMemoryExtractionJobsRequest.Builder> listMemoryExtractionJobsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all long-term memory extraction jobs that are eligible to be started with optional filtering.
To use this operation, you must have the
bedrock-agentcore:ListMemoryExtractionJobspermission.
This is a convenience which creates an instance of the
ListMemoryExtractionJobsRequest.Builderavoiding the need to create one manually viaListMemoryExtractionJobsRequest.builder()- Parameters:
listMemoryExtractionJobsRequest- AConsumerthat will call methods onListMemoryExtractionJobsRequest.Builderto create a request.- Returns:
- Result of the ListMemoryExtractionJobs operation returned by the service.
- See Also:
-
listMemoryExtractionJobsPaginator
default ListMemoryExtractionJobsIterable listMemoryExtractionJobsPaginator(ListMemoryExtractionJobsRequest listMemoryExtractionJobsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listMemoryExtractionJobs(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsRequest)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.bedrockagentcore.paginators.ListMemoryExtractionJobsIterable responses = client.listMemoryExtractionJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryExtractionJobsIterable responses = client .listMemoryExtractionJobsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryExtractionJobsIterable responses = client.listMemoryExtractionJobsPaginator(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
listMemoryExtractionJobs(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsRequest)operation.- Parameters:
listMemoryExtractionJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemoryExtractionJobsPaginator
default ListMemoryExtractionJobsIterable listMemoryExtractionJobsPaginator(Consumer<ListMemoryExtractionJobsRequest.Builder> listMemoryExtractionJobsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listMemoryExtractionJobs(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsRequest)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.bedrockagentcore.paginators.ListMemoryExtractionJobsIterable responses = client.listMemoryExtractionJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryExtractionJobsIterable responses = client .listMemoryExtractionJobsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryExtractionJobsIterable responses = client.listMemoryExtractionJobsPaginator(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
listMemoryExtractionJobs(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryExtractionJobsRequest)operation.
This is a convenience which creates an instance of the
ListMemoryExtractionJobsRequest.Builderavoiding the need to create one manually viaListMemoryExtractionJobsRequest.builder()- Parameters:
listMemoryExtractionJobsRequest- AConsumerthat will call methods onListMemoryExtractionJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemoryRecords
default ListMemoryRecordsResponse listMemoryRecords(ListMemoryRecordsRequest listMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists memory records in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:ListMemoryRecordspermission.- Parameters:
listMemoryRecordsRequest-- Returns:
- Result of the ListMemoryRecords operation returned by the service.
- See Also:
-
listMemoryRecords
default ListMemoryRecordsResponse listMemoryRecords(Consumer<ListMemoryRecordsRequest.Builder> listMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists memory records in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:ListMemoryRecordspermission.
This is a convenience which creates an instance of the
ListMemoryRecordsRequest.Builderavoiding the need to create one manually viaListMemoryRecordsRequest.builder()- Parameters:
listMemoryRecordsRequest- AConsumerthat will call methods onListMemoryRecordsRequest.Builderto create a request.- Returns:
- Result of the ListMemoryRecords operation returned by the service.
- See Also:
-
listMemoryRecordsPaginator
default ListMemoryRecordsIterable listMemoryRecordsPaginator(ListMemoryRecordsRequest listMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsRequest)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.bedrockagentcore.paginators.ListMemoryRecordsIterable responses = client.listMemoryRecordsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryRecordsIterable responses = client .listMemoryRecordsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryRecordsIterable responses = client.listMemoryRecordsPaginator(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
listMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsRequest)operation.- Parameters:
listMemoryRecordsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemoryRecordsPaginator
default ListMemoryRecordsIterable listMemoryRecordsPaginator(Consumer<ListMemoryRecordsRequest.Builder> listMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsRequest)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.bedrockagentcore.paginators.ListMemoryRecordsIterable responses = client.listMemoryRecordsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryRecordsIterable responses = client .listMemoryRecordsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListMemoryRecordsIterable responses = client.listMemoryRecordsPaginator(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
listMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.ListMemoryRecordsRequest)operation.
This is a convenience which creates an instance of the
ListMemoryRecordsRequest.Builderavoiding the need to create one manually viaListMemoryRecordsRequest.builder()- Parameters:
listMemoryRecordsRequest- AConsumerthat will call methods onListMemoryRecordsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPaymentInstruments
default ListPaymentInstrumentsResponse listPaymentInstruments(ListPaymentInstrumentsRequest listPaymentInstrumentsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException List payment instruments for a manager.
- Parameters:
listPaymentInstrumentsRequest- Request structure for listing payment instruments.- Returns:
- Result of the ListPaymentInstruments operation returned by the service.
- See Also:
-
listPaymentInstruments
default ListPaymentInstrumentsResponse listPaymentInstruments(Consumer<ListPaymentInstrumentsRequest.Builder> listPaymentInstrumentsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException List payment instruments for a manager.
This is a convenience which creates an instance of the
ListPaymentInstrumentsRequest.Builderavoiding the need to create one manually viaListPaymentInstrumentsRequest.builder()- Parameters:
listPaymentInstrumentsRequest- AConsumerthat will call methods onListPaymentInstrumentsRequest.Builderto create a request. Request structure for listing payment instruments.- Returns:
- Result of the ListPaymentInstruments operation returned by the service.
- See Also:
-
listPaymentInstrumentsPaginator
default ListPaymentInstrumentsIterable listPaymentInstrumentsPaginator(ListPaymentInstrumentsRequest listPaymentInstrumentsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listPaymentInstruments(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsRequest)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.bedrockagentcore.paginators.ListPaymentInstrumentsIterable responses = client.listPaymentInstrumentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentInstrumentsIterable responses = client .listPaymentInstrumentsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentInstrumentsIterable responses = client.listPaymentInstrumentsPaginator(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
listPaymentInstruments(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsRequest)operation.- Parameters:
listPaymentInstrumentsRequest- Request structure for listing payment instruments.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPaymentInstrumentsPaginator
default ListPaymentInstrumentsIterable listPaymentInstrumentsPaginator(Consumer<ListPaymentInstrumentsRequest.Builder> listPaymentInstrumentsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listPaymentInstruments(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsRequest)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.bedrockagentcore.paginators.ListPaymentInstrumentsIterable responses = client.listPaymentInstrumentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentInstrumentsIterable responses = client .listPaymentInstrumentsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentInstrumentsIterable responses = client.listPaymentInstrumentsPaginator(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
listPaymentInstruments(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentInstrumentsRequest)operation.
This is a convenience which creates an instance of the
ListPaymentInstrumentsRequest.Builderavoiding the need to create one manually viaListPaymentInstrumentsRequest.builder()- Parameters:
listPaymentInstrumentsRequest- AConsumerthat will call methods onListPaymentInstrumentsRequest.Builderto create a request. Request structure for listing payment instruments.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPaymentSessions
default ListPaymentSessionsResponse listPaymentSessions(ListPaymentSessionsRequest listPaymentSessionsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException List payment sessions.
- Parameters:
listPaymentSessionsRequest- Request structure for listing payment sessions.- Returns:
- Result of the ListPaymentSessions operation returned by the service.
- See Also:
-
listPaymentSessions
default ListPaymentSessionsResponse listPaymentSessions(Consumer<ListPaymentSessionsRequest.Builder> listPaymentSessionsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException List payment sessions.
This is a convenience which creates an instance of the
ListPaymentSessionsRequest.Builderavoiding the need to create one manually viaListPaymentSessionsRequest.builder()- Parameters:
listPaymentSessionsRequest- AConsumerthat will call methods onListPaymentSessionsRequest.Builderto create a request. Request structure for listing payment sessions.- Returns:
- Result of the ListPaymentSessions operation returned by the service.
- See Also:
-
listPaymentSessionsPaginator
default ListPaymentSessionsIterable listPaymentSessionsPaginator(ListPaymentSessionsRequest listPaymentSessionsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listPaymentSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsRequest)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.bedrockagentcore.paginators.ListPaymentSessionsIterable responses = client.listPaymentSessionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentSessionsIterable responses = client .listPaymentSessionsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentSessionsIterable responses = client.listPaymentSessionsPaginator(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
listPaymentSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsRequest)operation.- Parameters:
listPaymentSessionsRequest- Request structure for listing payment sessions.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPaymentSessionsPaginator
default ListPaymentSessionsIterable listPaymentSessionsPaginator(Consumer<ListPaymentSessionsRequest.Builder> listPaymentSessionsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listPaymentSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsRequest)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.bedrockagentcore.paginators.ListPaymentSessionsIterable responses = client.listPaymentSessionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentSessionsIterable responses = client .listPaymentSessionsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListPaymentSessionsIterable responses = client.listPaymentSessionsPaginator(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
listPaymentSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListPaymentSessionsRequest)operation.
This is a convenience which creates an instance of the
ListPaymentSessionsRequest.Builderavoiding the need to create one manually viaListPaymentSessionsRequest.builder()- Parameters:
listPaymentSessionsRequest- AConsumerthat will call methods onListPaymentSessionsRequest.Builderto create a request. Request structure for listing payment sessions.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRecommendations
default ListRecommendationsResponse listRecommendations(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all recommendations in the account, with optional filtering by status.
- Parameters:
listRecommendationsRequest-- Returns:
- Result of the ListRecommendations operation returned by the service.
- See Also:
-
listRecommendations
default ListRecommendationsResponse listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists all recommendations in the account, with optional filtering by status.
This is a convenience which creates an instance of the
ListRecommendationsRequest.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListRecommendations operation returned by the service.
- See Also:
-
listRecommendationsPaginator
default ListRecommendationsIterable listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listRecommendations(software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsRequest)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.bedrockagentcore.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListRecommendationsIterable responses = client .listRecommendationsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(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
listRecommendations(software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsRequest)operation.- Parameters:
listRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRecommendationsPaginator
default ListRecommendationsIterable listRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listRecommendations(software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsRequest)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.bedrockagentcore.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListRecommendationsIterable responses = client .listRecommendationsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(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
listRecommendations(software.amazon.awssdk.services.bedrockagentcore.model.ListRecommendationsRequest)operation.
This is a convenience which creates an instance of the
ListRecommendationsRequest.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSessions
default ListSessionsResponse listSessions(ListSessionsRequest listSessionsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists sessions in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
Empty sessions are automatically deleted after one day.
To use this operation, you must have the
bedrock-agentcore:ListSessionspermission.- Parameters:
listSessionsRequest-- Returns:
- Result of the ListSessions operation returned by the service.
- See Also:
-
listSessions
default ListSessionsResponse listSessions(Consumer<ListSessionsRequest.Builder> listSessionsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Lists sessions in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
Empty sessions are automatically deleted after one day.
To use this operation, you must have the
bedrock-agentcore:ListSessionspermission.
This is a convenience which creates an instance of the
ListSessionsRequest.Builderavoiding the need to create one manually viaListSessionsRequest.builder()- Parameters:
listSessionsRequest- AConsumerthat will call methods onListSessionsRequest.Builderto create a request.- Returns:
- Result of the ListSessions operation returned by the service.
- See Also:
-
listSessionsPaginator
default ListSessionsIterable listSessionsPaginator(ListSessionsRequest listSessionsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsRequest)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.bedrockagentcore.paginators.ListSessionsIterable responses = client.listSessionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListSessionsIterable responses = client .listSessionsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListSessionsIterable responses = client.listSessionsPaginator(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
listSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsRequest)operation.- Parameters:
listSessionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSessionsPaginator
default ListSessionsIterable listSessionsPaginator(Consumer<ListSessionsRequest.Builder> listSessionsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
listSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsRequest)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.bedrockagentcore.paginators.ListSessionsIterable responses = client.listSessionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.ListSessionsIterable responses = client .listSessionsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.ListSessionsIterable responses = client.listSessionsPaginator(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
listSessions(software.amazon.awssdk.services.bedrockagentcore.model.ListSessionsRequest)operation.
This is a convenience which creates an instance of the
ListSessionsRequest.Builderavoiding the need to create one manually viaListSessionsRequest.builder()- Parameters:
listSessionsRequest- AConsumerthat will call methods onListSessionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
processPayment
default ProcessPaymentResponse processPayment(ProcessPaymentRequest processPaymentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Processes a payment using a payment instrument within a payment session.
- Parameters:
processPaymentRequest- Request structure for processing a payment.- Returns:
- Result of the ProcessPayment operation returned by the service.
- See Also:
-
processPayment
default ProcessPaymentResponse processPayment(Consumer<ProcessPaymentRequest.Builder> processPaymentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Processes a payment using a payment instrument within a payment session.
This is a convenience which creates an instance of the
ProcessPaymentRequest.Builderavoiding the need to create one manually viaProcessPaymentRequest.builder()- Parameters:
processPaymentRequest- AConsumerthat will call methods onProcessPaymentRequest.Builderto create a request. Request structure for processing a payment.- Returns:
- Result of the ProcessPayment operation returned by the service.
- See Also:
-
retrieveMemoryRecords
default RetrieveMemoryRecordsResponse retrieveMemoryRecords(RetrieveMemoryRecordsRequest retrieveMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Searches for and retrieves memory records from an AgentCore Memory resource based on specified search criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:RetrieveMemoryRecordspermission.- Parameters:
retrieveMemoryRecordsRequest-- Returns:
- Result of the RetrieveMemoryRecords operation returned by the service.
- See Also:
-
retrieveMemoryRecords
default RetrieveMemoryRecordsResponse retrieveMemoryRecords(Consumer<RetrieveMemoryRecordsRequest.Builder> retrieveMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Searches for and retrieves memory records from an AgentCore Memory resource based on specified search criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the
bedrock-agentcore:RetrieveMemoryRecordspermission.
This is a convenience which creates an instance of the
RetrieveMemoryRecordsRequest.Builderavoiding the need to create one manually viaRetrieveMemoryRecordsRequest.builder()- Parameters:
retrieveMemoryRecordsRequest- AConsumerthat will call methods onRetrieveMemoryRecordsRequest.Builderto create a request.- Returns:
- Result of the RetrieveMemoryRecords operation returned by the service.
- See Also:
-
retrieveMemoryRecordsPaginator
default RetrieveMemoryRecordsIterable retrieveMemoryRecordsPaginator(RetrieveMemoryRecordsRequest retrieveMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
retrieveMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsRequest)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.bedrockagentcore.paginators.RetrieveMemoryRecordsIterable responses = client.retrieveMemoryRecordsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.RetrieveMemoryRecordsIterable responses = client .retrieveMemoryRecordsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.RetrieveMemoryRecordsIterable responses = client.retrieveMemoryRecordsPaginator(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
retrieveMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsRequest)operation.- Parameters:
retrieveMemoryRecordsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
retrieveMemoryRecordsPaginator
default RetrieveMemoryRecordsIterable retrieveMemoryRecordsPaginator(Consumer<RetrieveMemoryRecordsRequest.Builder> retrieveMemoryRecordsRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException This is a variant of
retrieveMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsRequest)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.bedrockagentcore.paginators.RetrieveMemoryRecordsIterable responses = client.retrieveMemoryRecordsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcore.paginators.RetrieveMemoryRecordsIterable responses = client .retrieveMemoryRecordsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcore.paginators.RetrieveMemoryRecordsIterable responses = client.retrieveMemoryRecordsPaginator(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
retrieveMemoryRecords(software.amazon.awssdk.services.bedrockagentcore.model.RetrieveMemoryRecordsRequest)operation.
This is a convenience which creates an instance of the
RetrieveMemoryRecordsRequest.Builderavoiding the need to create one manually viaRetrieveMemoryRecordsRequest.builder()- Parameters:
retrieveMemoryRecordsRequest- AConsumerthat will call methods onRetrieveMemoryRecordsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
saveBrowserSessionProfile
default SaveBrowserSessionProfileResponse saveBrowserSessionProfile(SaveBrowserSessionProfileRequest saveBrowserSessionProfileRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore. A browser profile captures persistent browser data such as cookies and local storage from an active session, enabling you to reuse this data in future browser sessions.
To save a browser session profile, you must specify the profile identifier, browser identifier, and session ID. The session must be active when saving the profile. Once saved, the profile can be used with the
StartBrowserSessionoperation to initialize new sessions with the stored browser state.Browser profiles are useful for scenarios that require persistent authentication, maintaining user preferences across sessions, or continuing tasks that depend on previously stored browser data.
The following operations are related to
SaveBrowserSessionProfile:- Parameters:
saveBrowserSessionProfileRequest-- Returns:
- Result of the SaveBrowserSessionProfile operation returned by the service.
- See Also:
-
saveBrowserSessionProfile
default SaveBrowserSessionProfileResponse saveBrowserSessionProfile(Consumer<SaveBrowserSessionProfileRequest.Builder> saveBrowserSessionProfileRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore. A browser profile captures persistent browser data such as cookies and local storage from an active session, enabling you to reuse this data in future browser sessions.
To save a browser session profile, you must specify the profile identifier, browser identifier, and session ID. The session must be active when saving the profile. Once saved, the profile can be used with the
StartBrowserSessionoperation to initialize new sessions with the stored browser state.Browser profiles are useful for scenarios that require persistent authentication, maintaining user preferences across sessions, or continuing tasks that depend on previously stored browser data.
The following operations are related to
SaveBrowserSessionProfile:
This is a convenience which creates an instance of the
SaveBrowserSessionProfileRequest.Builderavoiding the need to create one manually viaSaveBrowserSessionProfileRequest.builder()- Parameters:
saveBrowserSessionProfileRequest- AConsumerthat will call methods onSaveBrowserSessionProfileRequest.Builderto create a request.- Returns:
- Result of the SaveBrowserSessionProfile operation returned by the service.
- See Also:
-
searchRegistryRecords
default SearchRegistryRecordsResponse searchRegistryRecords(SearchRegistryRecordsRequest searchRegistryRecordsRequest) throws UnauthorizedException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Searches for registry records using semantic, lexical, or hybrid queries. Returns metadata for matching records ordered by relevance within the specified registry.
- Parameters:
searchRegistryRecordsRequest-- Returns:
- Result of the SearchRegistryRecords operation returned by the service.
- See Also:
-
searchRegistryRecords
default SearchRegistryRecordsResponse searchRegistryRecords(Consumer<SearchRegistryRecordsRequest.Builder> searchRegistryRecordsRequest) throws UnauthorizedException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Searches for registry records using semantic, lexical, or hybrid queries. Returns metadata for matching records ordered by relevance within the specified registry.
This is a convenience which creates an instance of the
SearchRegistryRecordsRequest.Builderavoiding the need to create one manually viaSearchRegistryRecordsRequest.builder()- Parameters:
searchRegistryRecordsRequest- AConsumerthat will call methods onSearchRegistryRecordsRequest.Builderto create a request.- Returns:
- Result of the SearchRegistryRecords operation returned by the service.
- See Also:
-
startBatchEvaluation
default StartBatchEvaluationResponse startBatchEvaluation(StartBatchEvaluationRequest startBatchEvaluationRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Starts a batch evaluation job that evaluates agent performance across multiple sessions. Batch evaluations pull agent traces from CloudWatch Logs or an existing online evaluation configuration and run specified evaluators and insights against them.
- Parameters:
startBatchEvaluationRequest-- Returns:
- Result of the StartBatchEvaluation operation returned by the service.
- See Also:
-
startBatchEvaluation
default StartBatchEvaluationResponse startBatchEvaluation(Consumer<StartBatchEvaluationRequest.Builder> startBatchEvaluationRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Starts a batch evaluation job that evaluates agent performance across multiple sessions. Batch evaluations pull agent traces from CloudWatch Logs or an existing online evaluation configuration and run specified evaluators and insights against them.
This is a convenience which creates an instance of the
StartBatchEvaluationRequest.Builderavoiding the need to create one manually viaStartBatchEvaluationRequest.builder()- Parameters:
startBatchEvaluationRequest- AConsumerthat will call methods onStartBatchEvaluationRequest.Builderto create a request.- Returns:
- Result of the StartBatchEvaluation operation returned by the service.
- See Also:
-
startBrowserSession
default StartBrowserSessionResponse startBrowserSession(StartBrowserSessionRequest startBrowserSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates and initializes a browser session in Amazon Bedrock AgentCore. The session enables agents to navigate and interact with web content, extract information from websites, and perform web-based tasks as part of their response generation.
To create a session, you must specify a browser identifier and a name. You can also configure the viewport dimensions to control the visible area of web content. The session remains active until it times out or you explicitly stop it using the
StopBrowserSessionoperation.The following operations are related to
StartBrowserSession:- Parameters:
startBrowserSessionRequest-- Returns:
- Result of the StartBrowserSession operation returned by the service.
- See Also:
-
startBrowserSession
default StartBrowserSessionResponse startBrowserSession(Consumer<StartBrowserSessionRequest.Builder> startBrowserSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates and initializes a browser session in Amazon Bedrock AgentCore. The session enables agents to navigate and interact with web content, extract information from websites, and perform web-based tasks as part of their response generation.
To create a session, you must specify a browser identifier and a name. You can also configure the viewport dimensions to control the visible area of web content. The session remains active until it times out or you explicitly stop it using the
StopBrowserSessionoperation.The following operations are related to
StartBrowserSession:
This is a convenience which creates an instance of the
StartBrowserSessionRequest.Builderavoiding the need to create one manually viaStartBrowserSessionRequest.builder()- Parameters:
startBrowserSessionRequest- AConsumerthat will call methods onStartBrowserSessionRequest.Builderto create a request.- Returns:
- Result of the StartBrowserSession operation returned by the service.
- See Also:
-
startCodeInterpreterSession
default StartCodeInterpreterSessionResponse startCodeInterpreterSession(StartCodeInterpreterSessionRequest startCodeInterpreterSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates and initializes a code interpreter session in Amazon Bedrock AgentCore. The session enables agents to execute code as part of their response generation, supporting programming languages such as Python for data analysis, visualization, and computation tasks.
To create a session, you must specify a code interpreter identifier and a name. The session remains active until it times out or you explicitly stop it using the
StopCodeInterpreterSessionoperation.The following operations are related to
StartCodeInterpreterSession:- Parameters:
startCodeInterpreterSessionRequest-- Returns:
- Result of the StartCodeInterpreterSession operation returned by the service.
- See Also:
-
startCodeInterpreterSession
default StartCodeInterpreterSessionResponse startCodeInterpreterSession(Consumer<StartCodeInterpreterSessionRequest.Builder> startCodeInterpreterSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Creates and initializes a code interpreter session in Amazon Bedrock AgentCore. The session enables agents to execute code as part of their response generation, supporting programming languages such as Python for data analysis, visualization, and computation tasks.
To create a session, you must specify a code interpreter identifier and a name. The session remains active until it times out or you explicitly stop it using the
StopCodeInterpreterSessionoperation.The following operations are related to
StartCodeInterpreterSession:
This is a convenience which creates an instance of the
StartCodeInterpreterSessionRequest.Builderavoiding the need to create one manually viaStartCodeInterpreterSessionRequest.builder()- Parameters:
startCodeInterpreterSessionRequest- AConsumerthat will call methods onStartCodeInterpreterSessionRequest.Builderto create a request.- Returns:
- Result of the StartCodeInterpreterSession operation returned by the service.
- See Also:
-
startMemoryExtractionJob
default StartMemoryExtractionJobResponse startMemoryExtractionJob(StartMemoryExtractionJobRequest startMemoryExtractionJobRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Starts a memory extraction job that processes events that failed extraction previously in an AgentCore Memory resource and produces structured memory records. When earlier extraction attempts have left events unprocessed, this job will pick up and extract those as well.
To use this operation, you must have the
bedrock-agentcore:StartMemoryExtractionJobpermission.- Parameters:
startMemoryExtractionJobRequest-- Returns:
- Result of the StartMemoryExtractionJob operation returned by the service.
- See Also:
-
startMemoryExtractionJob
default StartMemoryExtractionJobResponse startMemoryExtractionJob(Consumer<StartMemoryExtractionJobRequest.Builder> startMemoryExtractionJobRequest) throws ServiceQuotaExceededException, ThrottledException, ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, BedrockAgentCoreException Starts a memory extraction job that processes events that failed extraction previously in an AgentCore Memory resource and produces structured memory records. When earlier extraction attempts have left events unprocessed, this job will pick up and extract those as well.
To use this operation, you must have the
bedrock-agentcore:StartMemoryExtractionJobpermission.
This is a convenience which creates an instance of the
StartMemoryExtractionJobRequest.Builderavoiding the need to create one manually viaStartMemoryExtractionJobRequest.builder()- Parameters:
startMemoryExtractionJobRequest- AConsumerthat will call methods onStartMemoryExtractionJobRequest.Builderto create a request.- Returns:
- Result of the StartMemoryExtractionJob operation returned by the service.
- See Also:
-
startRecommendation
default StartRecommendationResponse startRecommendation(StartRecommendationRequest startRecommendationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Starts a recommendation job that analyzes agent traces and generates optimization suggestions for system prompts or tool descriptions to improve agent performance.
- Parameters:
startRecommendationRequest-- Returns:
- Result of the StartRecommendation operation returned by the service.
- See Also:
-
startRecommendation
default StartRecommendationResponse startRecommendation(Consumer<StartRecommendationRequest.Builder> startRecommendationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Starts a recommendation job that analyzes agent traces and generates optimization suggestions for system prompts or tool descriptions to improve agent performance.
This is a convenience which creates an instance of the
StartRecommendationRequest.Builderavoiding the need to create one manually viaStartRecommendationRequest.builder()- Parameters:
startRecommendationRequest- AConsumerthat will call methods onStartRecommendationRequest.Builderto create a request.- Returns:
- Result of the StartRecommendation operation returned by the service.
- See Also:
-
stopBatchEvaluation
default StopBatchEvaluationResponse stopBatchEvaluation(StopBatchEvaluationRequest stopBatchEvaluationRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Stops a running batch evaluation. Sessions that have already been evaluated retain their results.
- Parameters:
stopBatchEvaluationRequest-- Returns:
- Result of the StopBatchEvaluation operation returned by the service.
- See Also:
-
stopBatchEvaluation
default StopBatchEvaluationResponse stopBatchEvaluation(Consumer<StopBatchEvaluationRequest.Builder> stopBatchEvaluationRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Stops a running batch evaluation. Sessions that have already been evaluated retain their results.
This is a convenience which creates an instance of the
StopBatchEvaluationRequest.Builderavoiding the need to create one manually viaStopBatchEvaluationRequest.builder()- Parameters:
stopBatchEvaluationRequest- AConsumerthat will call methods onStopBatchEvaluationRequest.Builderto create a request.- Returns:
- Result of the StopBatchEvaluation operation returned by the service.
- See Also:
-
stopBrowserSession
default StopBrowserSessionResponse stopBrowserSession(StopBrowserSessionRequest stopBrowserSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Terminates an active browser session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.
To stop a browser session, you must specify both the browser identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using
StartBrowserSession.The following operations are related to
StopBrowserSession:- Parameters:
stopBrowserSessionRequest-- Returns:
- Result of the StopBrowserSession operation returned by the service.
- See Also:
-
stopBrowserSession
default StopBrowserSessionResponse stopBrowserSession(Consumer<StopBrowserSessionRequest.Builder> stopBrowserSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Terminates an active browser session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.
To stop a browser session, you must specify both the browser identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using
StartBrowserSession.The following operations are related to
StopBrowserSession:
This is a convenience which creates an instance of the
StopBrowserSessionRequest.Builderavoiding the need to create one manually viaStopBrowserSessionRequest.builder()- Parameters:
stopBrowserSessionRequest- AConsumerthat will call methods onStopBrowserSessionRequest.Builderto create a request.- Returns:
- Result of the StopBrowserSession operation returned by the service.
- See Also:
-
stopCodeInterpreterSession
default StopCodeInterpreterSessionResponse stopCodeInterpreterSession(StopCodeInterpreterSessionRequest stopCodeInterpreterSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Terminates an active code interpreter session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.
To stop a code interpreter session, you must specify both the code interpreter identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using
StartCodeInterpreterSession.The following operations are related to
StopCodeInterpreterSession:- Parameters:
stopCodeInterpreterSessionRequest-- Returns:
- Result of the StopCodeInterpreterSession operation returned by the service.
- See Also:
-
stopCodeInterpreterSession
default StopCodeInterpreterSessionResponse stopCodeInterpreterSession(Consumer<StopCodeInterpreterSessionRequest.Builder> stopCodeInterpreterSessionRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Terminates an active code interpreter session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.
To stop a code interpreter session, you must specify both the code interpreter identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using
StartCodeInterpreterSession.The following operations are related to
StopCodeInterpreterSession:
This is a convenience which creates an instance of the
StopCodeInterpreterSessionRequest.Builderavoiding the need to create one manually viaStopCodeInterpreterSessionRequest.builder()- Parameters:
stopCodeInterpreterSessionRequest- AConsumerthat will call methods onStopCodeInterpreterSessionRequest.Builderto create a request.- Returns:
- Result of the StopCodeInterpreterSession operation returned by the service.
- See Also:
-
stopRuntimeSession
default StopRuntimeSessionResponse stopRuntimeSession(StopRuntimeSessionRequest stopRuntimeSessionRequest) throws ServiceQuotaExceededException, UnauthorizedException, RetryableConflictException, ValidationException, AccessDeniedException, ConflictException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Stops a session that is running in an running AgentCore Runtime agent.
- Parameters:
stopRuntimeSessionRequest-- Returns:
- Result of the StopRuntimeSession operation returned by the service.
- See Also:
-
stopRuntimeSession
default StopRuntimeSessionResponse stopRuntimeSession(Consumer<StopRuntimeSessionRequest.Builder> stopRuntimeSessionRequest) throws ServiceQuotaExceededException, UnauthorizedException, RetryableConflictException, ValidationException, AccessDeniedException, ConflictException, RuntimeClientErrorException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Stops a session that is running in an running AgentCore Runtime agent.
This is a convenience which creates an instance of the
StopRuntimeSessionRequest.Builderavoiding the need to create one manually viaStopRuntimeSessionRequest.builder()- Parameters:
stopRuntimeSessionRequest- AConsumerthat will call methods onStopRuntimeSessionRequest.Builderto create a request.- Returns:
- Result of the StopRuntimeSession operation returned by the service.
- See Also:
-
updateABTest
default UpdateAbTestResponse updateABTest(UpdateAbTestRequest updateAbTestRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status.
- Parameters:
updateAbTestRequest-- Returns:
- Result of the UpdateABTest operation returned by the service.
- See Also:
-
updateABTest
default UpdateAbTestResponse updateABTest(Consumer<UpdateAbTestRequest.Builder> updateAbTestRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status.
This is a convenience which creates an instance of the
UpdateAbTestRequest.Builderavoiding the need to create one manually viaUpdateAbTestRequest.builder()- Parameters:
updateAbTestRequest- AConsumerthat will call methods onUpdateAbTestRequest.Builderto create a request.- Returns:
- Result of the UpdateABTest operation returned by the service.
- See Also:
-
updateBrowserStream
default UpdateBrowserStreamResponse updateBrowserStream(UpdateBrowserStreamRequest updateBrowserStreamRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Updates a browser stream. To use this operation, you must have permissions to perform the bedrock:UpdateBrowserStream action.
- Parameters:
updateBrowserStreamRequest-- Returns:
- Result of the UpdateBrowserStream operation returned by the service.
- See Also:
-
updateBrowserStream
default UpdateBrowserStreamResponse updateBrowserStream(Consumer<UpdateBrowserStreamRequest.Builder> updateBrowserStreamRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreException Updates a browser stream. To use this operation, you must have permissions to perform the bedrock:UpdateBrowserStream action.
This is a convenience which creates an instance of the
UpdateBrowserStreamRequest.Builderavoiding the need to create one manually viaUpdateBrowserStreamRequest.builder()- Parameters:
updateBrowserStreamRequest- AConsumerthat will call methods onUpdateBrowserStreamRequest.Builderto create a request.- Returns:
- Result of the UpdateBrowserStream operation returned by the service.
- See Also:
-
create
Create aBedrockAgentCoreClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBedrockAgentCoreClient. -
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
-