Interface BedrockAgentCoreControlAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface BedrockAgentCoreControlAsyncClient extends AwsClient
Service client for accessing Amazon Bedrock AgentCore Control asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.

  • Field Details

  • Method Details

    • createAgentRuntime

      default CompletableFuture<CreateAgentRuntimeResponse> createAgentRuntime(CreateAgentRuntimeRequest createAgentRuntimeRequest)

      Creates an Amazon Bedrock AgentCore Runtime.

      Parameters:
      createAgentRuntimeRequest -
      Returns:
      A Java Future containing the result of the CreateAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAgentRuntime

      default CompletableFuture<CreateAgentRuntimeResponse> createAgentRuntime(Consumer<CreateAgentRuntimeRequest.Builder> createAgentRuntimeRequest)

      Creates an Amazon Bedrock AgentCore Runtime.


      This is a convenience which creates an instance of the CreateAgentRuntimeRequest.Builder avoiding the need to create one manually via CreateAgentRuntimeRequest.builder()

      Parameters:
      createAgentRuntimeRequest - A Consumer that will call methods on CreateAgentRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAgentRuntimeEndpoint

      default CompletableFuture<CreateAgentRuntimeEndpointResponse> createAgentRuntimeEndpoint(CreateAgentRuntimeEndpointRequest createAgentRuntimeEndpointRequest)

      Creates an AgentCore Runtime endpoint.

      Parameters:
      createAgentRuntimeEndpointRequest -
      Returns:
      A Java Future containing the result of the CreateAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAgentRuntimeEndpoint

      default CompletableFuture<CreateAgentRuntimeEndpointResponse> createAgentRuntimeEndpoint(Consumer<CreateAgentRuntimeEndpointRequest.Builder> createAgentRuntimeEndpointRequest)

      Creates an AgentCore Runtime endpoint.


      This is a convenience which creates an instance of the CreateAgentRuntimeEndpointRequest.Builder avoiding the need to create one manually via CreateAgentRuntimeEndpointRequest.builder()

      Parameters:
      createAgentRuntimeEndpointRequest - A Consumer that will call methods on CreateAgentRuntimeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApiKeyCredentialProvider

      default CompletableFuture<CreateApiKeyCredentialProviderResponse> createApiKeyCredentialProvider(CreateApiKeyCredentialProviderRequest createApiKeyCredentialProviderRequest)

      Creates a new API key credential provider.

      Parameters:
      createApiKeyCredentialProviderRequest -
      Returns:
      A Java Future containing the result of the CreateApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ResourceLimitExceededException Exception thrown when a resource limit is exceeded.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApiKeyCredentialProvider

      default CompletableFuture<CreateApiKeyCredentialProviderResponse> createApiKeyCredentialProvider(Consumer<CreateApiKeyCredentialProviderRequest.Builder> createApiKeyCredentialProviderRequest)

      Creates a new API key credential provider.


      This is a convenience which creates an instance of the CreateApiKeyCredentialProviderRequest.Builder avoiding the need to create one manually via CreateApiKeyCredentialProviderRequest.builder()

      Parameters:
      createApiKeyCredentialProviderRequest - A Consumer that will call methods on CreateApiKeyCredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ResourceLimitExceededException Exception thrown when a resource limit is exceeded.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBrowser

      default CompletableFuture<CreateBrowserResponse> createBrowser(CreateBrowserRequest createBrowserRequest)

      Creates a custom browser.

      Parameters:
      createBrowserRequest -
      Returns:
      A Java Future containing the result of the CreateBrowser operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBrowser

      default CompletableFuture<CreateBrowserResponse> createBrowser(Consumer<CreateBrowserRequest.Builder> createBrowserRequest)

      Creates a custom browser.


      This is a convenience which creates an instance of the CreateBrowserRequest.Builder avoiding the need to create one manually via CreateBrowserRequest.builder()

      Parameters:
      createBrowserRequest - A Consumer that will call methods on CreateBrowserRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBrowser operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeInterpreter

      default CompletableFuture<CreateCodeInterpreterResponse> createCodeInterpreter(CreateCodeInterpreterRequest createCodeInterpreterRequest)

      Creates a custom code interpreter.

      Parameters:
      createCodeInterpreterRequest -
      Returns:
      A Java Future containing the result of the CreateCodeInterpreter operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeInterpreter

      default CompletableFuture<CreateCodeInterpreterResponse> createCodeInterpreter(Consumer<CreateCodeInterpreterRequest.Builder> createCodeInterpreterRequest)

      Creates a custom code interpreter.


      This is a convenience which creates an instance of the CreateCodeInterpreterRequest.Builder avoiding the need to create one manually via CreateCodeInterpreterRequest.builder()

      Parameters:
      createCodeInterpreterRequest - A Consumer that will call methods on CreateCodeInterpreterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateCodeInterpreter operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEvaluator

      default CompletableFuture<CreateEvaluatorResponse> createEvaluator(CreateEvaluatorRequest createEvaluatorRequest)

      Creates a custom evaluator for agent quality assessment. Custom evaluators use LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings to evaluate agent performance at tool call, trace, or session levels.

      Parameters:
      createEvaluatorRequest -
      Returns:
      A Java Future containing the result of the CreateEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEvaluator

      default CompletableFuture<CreateEvaluatorResponse> createEvaluator(Consumer<CreateEvaluatorRequest.Builder> createEvaluatorRequest)

      Creates a custom evaluator for agent quality assessment. Custom evaluators use LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings to evaluate agent performance at tool call, trace, or session levels.


      This is a convenience which creates an instance of the CreateEvaluatorRequest.Builder avoiding the need to create one manually via CreateEvaluatorRequest.builder()

      Parameters:
      createEvaluatorRequest - A Consumer that will call methods on CreateEvaluatorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGateway

      default CompletableFuture<CreateGatewayResponse> createGateway(CreateGatewayRequest createGatewayRequest)

      Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.

      If you specify CUSTOM_JWT as the authorizerType, you must provide an authorizerConfiguration.

      Parameters:
      createGatewayRequest -
      Returns:
      A Java Future containing the result of the CreateGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGateway

      default CompletableFuture<CreateGatewayResponse> createGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest)

      Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.

      If you specify CUSTOM_JWT as the authorizerType, you must provide an authorizerConfiguration.


      This is a convenience which creates an instance of the CreateGatewayRequest.Builder avoiding the need to create one manually via CreateGatewayRequest.builder()

      Parameters:
      createGatewayRequest - A Consumer that will call methods on CreateGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGatewayTarget

      default CompletableFuture<CreateGatewayTargetResponse> createGatewayTarget(CreateGatewayTargetRequest createGatewayTargetRequest)

      Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.

      Parameters:
      createGatewayTargetRequest -
      Returns:
      A Java Future containing the result of the CreateGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGatewayTarget

      default CompletableFuture<CreateGatewayTargetResponse> createGatewayTarget(Consumer<CreateGatewayTargetRequest.Builder> createGatewayTargetRequest)

      Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.


      This is a convenience which creates an instance of the CreateGatewayTargetRequest.Builder avoiding the need to create one manually via CreateGatewayTargetRequest.builder()

      Parameters:
      createGatewayTargetRequest - A Consumer that will call methods on CreateGatewayTargetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMemory

      default CompletableFuture<CreateMemoryResponse> createMemory(CreateMemoryRequest createMemoryRequest)

      Creates a new Amazon Bedrock AgentCore Memory resource.

      Parameters:
      createMemoryRequest -
      Returns:
      A Java Future containing the result of the CreateMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ServiceException An internal error occurred.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMemory

      default CompletableFuture<CreateMemoryResponse> createMemory(Consumer<CreateMemoryRequest.Builder> createMemoryRequest)

      Creates a new Amazon Bedrock AgentCore Memory resource.


      This is a convenience which creates an instance of the CreateMemoryRequest.Builder avoiding the need to create one manually via CreateMemoryRequest.builder()

      Parameters:
      createMemoryRequest - A Consumer that will call methods on CreateMemoryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ServiceException An internal error occurred.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOauth2CredentialProvider

      default CompletableFuture<CreateOauth2CredentialProviderResponse> createOauth2CredentialProvider(CreateOauth2CredentialProviderRequest createOauth2CredentialProviderRequest)

      Creates a new OAuth2 credential provider.

      Parameters:
      createOauth2CredentialProviderRequest -
      Returns:
      A Java Future containing the result of the CreateOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ResourceLimitExceededException Exception thrown when a resource limit is exceeded.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOauth2CredentialProvider

      default CompletableFuture<CreateOauth2CredentialProviderResponse> createOauth2CredentialProvider(Consumer<CreateOauth2CredentialProviderRequest.Builder> createOauth2CredentialProviderRequest)

      Creates a new OAuth2 credential provider.


      This is a convenience which creates an instance of the CreateOauth2CredentialProviderRequest.Builder avoiding the need to create one manually via CreateOauth2CredentialProviderRequest.builder()

      Parameters:
      createOauth2CredentialProviderRequest - A Consumer that will call methods on CreateOauth2CredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ResourceLimitExceededException Exception thrown when a resource limit is exceeded.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOnlineEvaluationConfig

      default CompletableFuture<CreateOnlineEvaluationConfigResponse> createOnlineEvaluationConfig(CreateOnlineEvaluationConfigRequest createOnlineEvaluationConfigRequest)

      Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent quality in production.

      Parameters:
      createOnlineEvaluationConfigRequest -
      Returns:
      A Java Future containing the result of the CreateOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOnlineEvaluationConfig

      default CompletableFuture<CreateOnlineEvaluationConfigResponse> createOnlineEvaluationConfig(Consumer<CreateOnlineEvaluationConfigRequest.Builder> createOnlineEvaluationConfigRequest)

      Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent quality in production.


      This is a convenience which creates an instance of the CreateOnlineEvaluationConfigRequest.Builder avoiding the need to create one manually via CreateOnlineEvaluationConfigRequest.builder()

      Parameters:
      createOnlineEvaluationConfigRequest - A Consumer that will call methods on CreateOnlineEvaluationConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPolicy

      default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest)

      Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the GetPolicy operation to poll the status field to track completion.

      Parameters:
      createPolicyRequest -
      Returns:
      A Java Future containing the result of the CreatePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPolicy

      default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)

      Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the GetPolicy operation to poll the status field to track completion.


      This is a convenience which creates an instance of the CreatePolicyRequest.Builder avoiding the need to create one manually via CreatePolicyRequest.builder()

      Parameters:
      createPolicyRequest - A Consumer that will call methods on CreatePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreatePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPolicyEngine

      default CompletableFuture<CreatePolicyEngineResponse> createPolicyEngine(CreatePolicyEngineRequest createPolicyEngineRequest)

      Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.

      Parameters:
      createPolicyEngineRequest -
      Returns:
      A Java Future containing the result of the CreatePolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPolicyEngine

      default CompletableFuture<CreatePolicyEngineResponse> createPolicyEngine(Consumer<CreatePolicyEngineRequest.Builder> createPolicyEngineRequest)

      Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.


      This is a convenience which creates an instance of the CreatePolicyEngineRequest.Builder avoiding the need to create one manually via CreatePolicyEngineRequest.builder()

      Parameters:
      createPolicyEngineRequest - A Consumer that will call methods on CreatePolicyEngineRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreatePolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkloadIdentity

      default CompletableFuture<CreateWorkloadIdentityResponse> createWorkloadIdentity(CreateWorkloadIdentityRequest createWorkloadIdentityRequest)

      Creates a new workload identity.

      Parameters:
      createWorkloadIdentityRequest -
      Returns:
      A Java Future containing the result of the CreateWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkloadIdentity

      default CompletableFuture<CreateWorkloadIdentityResponse> createWorkloadIdentity(Consumer<CreateWorkloadIdentityRequest.Builder> createWorkloadIdentityRequest)

      Creates a new workload identity.


      This is a convenience which creates an instance of the CreateWorkloadIdentityRequest.Builder avoiding the need to create one manually via CreateWorkloadIdentityRequest.builder()

      Parameters:
      createWorkloadIdentityRequest - A Consumer that will call methods on CreateWorkloadIdentityRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAgentRuntime

      default CompletableFuture<DeleteAgentRuntimeResponse> deleteAgentRuntime(DeleteAgentRuntimeRequest deleteAgentRuntimeRequest)

      Deletes an Amazon Bedrock AgentCore Runtime.

      Parameters:
      deleteAgentRuntimeRequest -
      Returns:
      A Java Future containing the result of the DeleteAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAgentRuntime

      default CompletableFuture<DeleteAgentRuntimeResponse> deleteAgentRuntime(Consumer<DeleteAgentRuntimeRequest.Builder> deleteAgentRuntimeRequest)

      Deletes an Amazon Bedrock AgentCore Runtime.


      This is a convenience which creates an instance of the DeleteAgentRuntimeRequest.Builder avoiding the need to create one manually via DeleteAgentRuntimeRequest.builder()

      Parameters:
      deleteAgentRuntimeRequest - A Consumer that will call methods on DeleteAgentRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAgentRuntimeEndpoint

      default CompletableFuture<DeleteAgentRuntimeEndpointResponse> deleteAgentRuntimeEndpoint(DeleteAgentRuntimeEndpointRequest deleteAgentRuntimeEndpointRequest)

      Deletes an AAgentCore Runtime endpoint.

      Parameters:
      deleteAgentRuntimeEndpointRequest -
      Returns:
      A Java Future containing the result of the DeleteAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAgentRuntimeEndpoint

      default CompletableFuture<DeleteAgentRuntimeEndpointResponse> deleteAgentRuntimeEndpoint(Consumer<DeleteAgentRuntimeEndpointRequest.Builder> deleteAgentRuntimeEndpointRequest)

      Deletes an AAgentCore Runtime endpoint.


      This is a convenience which creates an instance of the DeleteAgentRuntimeEndpointRequest.Builder avoiding the need to create one manually via DeleteAgentRuntimeEndpointRequest.builder()

      Parameters:
      deleteAgentRuntimeEndpointRequest - A Consumer that will call methods on DeleteAgentRuntimeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApiKeyCredentialProvider

      default CompletableFuture<DeleteApiKeyCredentialProviderResponse> deleteApiKeyCredentialProvider(DeleteApiKeyCredentialProviderRequest deleteApiKeyCredentialProviderRequest)

      Deletes an API key credential provider.

      Parameters:
      deleteApiKeyCredentialProviderRequest -
      Returns:
      A Java Future containing the result of the DeleteApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApiKeyCredentialProvider

      default CompletableFuture<DeleteApiKeyCredentialProviderResponse> deleteApiKeyCredentialProvider(Consumer<DeleteApiKeyCredentialProviderRequest.Builder> deleteApiKeyCredentialProviderRequest)

      Deletes an API key credential provider.


      This is a convenience which creates an instance of the DeleteApiKeyCredentialProviderRequest.Builder avoiding the need to create one manually via DeleteApiKeyCredentialProviderRequest.builder()

      Parameters:
      deleteApiKeyCredentialProviderRequest - A Consumer that will call methods on DeleteApiKeyCredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBrowser

      default CompletableFuture<DeleteBrowserResponse> deleteBrowser(DeleteBrowserRequest deleteBrowserRequest)

      Deletes a custom browser.

      Parameters:
      deleteBrowserRequest -
      Returns:
      A Java Future containing the result of the DeleteBrowser operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBrowser

      default CompletableFuture<DeleteBrowserResponse> deleteBrowser(Consumer<DeleteBrowserRequest.Builder> deleteBrowserRequest)

      Deletes a custom browser.


      This is a convenience which creates an instance of the DeleteBrowserRequest.Builder avoiding the need to create one manually via DeleteBrowserRequest.builder()

      Parameters:
      deleteBrowserRequest - A Consumer that will call methods on DeleteBrowserRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBrowser operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCodeInterpreter

      default CompletableFuture<DeleteCodeInterpreterResponse> deleteCodeInterpreter(DeleteCodeInterpreterRequest deleteCodeInterpreterRequest)

      Deletes a custom code interpreter.

      Parameters:
      deleteCodeInterpreterRequest -
      Returns:
      A Java Future containing the result of the DeleteCodeInterpreter operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCodeInterpreter

      default CompletableFuture<DeleteCodeInterpreterResponse> deleteCodeInterpreter(Consumer<DeleteCodeInterpreterRequest.Builder> deleteCodeInterpreterRequest)

      Deletes a custom code interpreter.


      This is a convenience which creates an instance of the DeleteCodeInterpreterRequest.Builder avoiding the need to create one manually via DeleteCodeInterpreterRequest.builder()

      Parameters:
      deleteCodeInterpreterRequest - A Consumer that will call methods on DeleteCodeInterpreterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCodeInterpreter operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEvaluator

      default CompletableFuture<DeleteEvaluatorResponse> deleteEvaluator(DeleteEvaluatorRequest deleteEvaluatorRequest)

      Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.

      Parameters:
      deleteEvaluatorRequest -
      Returns:
      A Java Future containing the result of the DeleteEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEvaluator

      default CompletableFuture<DeleteEvaluatorResponse> deleteEvaluator(Consumer<DeleteEvaluatorRequest.Builder> deleteEvaluatorRequest)

      Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.


      This is a convenience which creates an instance of the DeleteEvaluatorRequest.Builder avoiding the need to create one manually via DeleteEvaluatorRequest.builder()

      Parameters:
      deleteEvaluatorRequest - A Consumer that will call methods on DeleteEvaluatorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGateway

      default CompletableFuture<DeleteGatewayResponse> deleteGateway(DeleteGatewayRequest deleteGatewayRequest)

      Deletes a gateway.

      Parameters:
      deleteGatewayRequest -
      Returns:
      A Java Future containing the result of the DeleteGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGateway

      default CompletableFuture<DeleteGatewayResponse> deleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest)

      Deletes a gateway.


      This is a convenience which creates an instance of the DeleteGatewayRequest.Builder avoiding the need to create one manually via DeleteGatewayRequest.builder()

      Parameters:
      deleteGatewayRequest - A Consumer that will call methods on DeleteGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGatewayTarget

      default CompletableFuture<DeleteGatewayTargetResponse> deleteGatewayTarget(DeleteGatewayTargetRequest deleteGatewayTargetRequest)

      Deletes a gateway target.

      Parameters:
      deleteGatewayTargetRequest -
      Returns:
      A Java Future containing the result of the DeleteGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGatewayTarget

      default CompletableFuture<DeleteGatewayTargetResponse> deleteGatewayTarget(Consumer<DeleteGatewayTargetRequest.Builder> deleteGatewayTargetRequest)

      Deletes a gateway target.


      This is a convenience which creates an instance of the DeleteGatewayTargetRequest.Builder avoiding the need to create one manually via DeleteGatewayTargetRequest.builder()

      Parameters:
      deleteGatewayTargetRequest - A Consumer that will call methods on DeleteGatewayTargetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteMemory

      default CompletableFuture<DeleteMemoryResponse> deleteMemory(DeleteMemoryRequest deleteMemoryRequest)

      Deletes an Amazon Bedrock AgentCore Memory resource.

      Parameters:
      deleteMemoryRequest -
      Returns:
      A Java Future containing the result of the DeleteMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteMemory

      default CompletableFuture<DeleteMemoryResponse> deleteMemory(Consumer<DeleteMemoryRequest.Builder> deleteMemoryRequest)

      Deletes an Amazon Bedrock AgentCore Memory resource.


      This is a convenience which creates an instance of the DeleteMemoryRequest.Builder avoiding the need to create one manually via DeleteMemoryRequest.builder()

      Parameters:
      deleteMemoryRequest - A Consumer that will call methods on DeleteMemoryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOauth2CredentialProvider

      default CompletableFuture<DeleteOauth2CredentialProviderResponse> deleteOauth2CredentialProvider(DeleteOauth2CredentialProviderRequest deleteOauth2CredentialProviderRequest)

      Deletes an OAuth2 credential provider.

      Parameters:
      deleteOauth2CredentialProviderRequest -
      Returns:
      A Java Future containing the result of the DeleteOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOauth2CredentialProvider

      default CompletableFuture<DeleteOauth2CredentialProviderResponse> deleteOauth2CredentialProvider(Consumer<DeleteOauth2CredentialProviderRequest.Builder> deleteOauth2CredentialProviderRequest)

      Deletes an OAuth2 credential provider.


      This is a convenience which creates an instance of the DeleteOauth2CredentialProviderRequest.Builder avoiding the need to create one manually via DeleteOauth2CredentialProviderRequest.builder()

      Parameters:
      deleteOauth2CredentialProviderRequest - A Consumer that will call methods on DeleteOauth2CredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOnlineEvaluationConfig

      default CompletableFuture<DeleteOnlineEvaluationConfigResponse> deleteOnlineEvaluationConfig(DeleteOnlineEvaluationConfigRequest deleteOnlineEvaluationConfigRequest)

      Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.

      Parameters:
      deleteOnlineEvaluationConfigRequest -
      Returns:
      A Java Future containing the result of the DeleteOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOnlineEvaluationConfig

      default CompletableFuture<DeleteOnlineEvaluationConfigResponse> deleteOnlineEvaluationConfig(Consumer<DeleteOnlineEvaluationConfigRequest.Builder> deleteOnlineEvaluationConfigRequest)

      Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.


      This is a convenience which creates an instance of the DeleteOnlineEvaluationConfigRequest.Builder avoiding the need to create one manually via DeleteOnlineEvaluationConfigRequest.builder()

      Parameters:
      deleteOnlineEvaluationConfigRequest - A Consumer that will call methods on DeleteOnlineEvaluationConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePolicy

      default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest)

      Deletes an existing policy from the AgentCore Policy system. Once deleted, the policy can no longer be used for agent behavior control and all references to it become invalid. This is an asynchronous operation. Use the GetPolicy operation to poll the status field to track completion.

      Parameters:
      deletePolicyRequest -
      Returns:
      A Java Future containing the result of the DeletePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePolicy

      default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)

      Deletes an existing policy from the AgentCore Policy system. Once deleted, the policy can no longer be used for agent behavior control and all references to it become invalid. This is an asynchronous operation. Use the GetPolicy operation to poll the status field to track completion.


      This is a convenience which creates an instance of the DeletePolicyRequest.Builder avoiding the need to create one manually via DeletePolicyRequest.builder()

      Parameters:
      deletePolicyRequest - A Consumer that will call methods on DeletePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePolicyEngine

      default CompletableFuture<DeletePolicyEngineResponse> deletePolicyEngine(DeletePolicyEngineRequest deletePolicyEngineRequest)

      Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable for policy management and evaluation. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.

      Parameters:
      deletePolicyEngineRequest -
      Returns:
      A Java Future containing the result of the DeletePolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePolicyEngine

      default CompletableFuture<DeletePolicyEngineResponse> deletePolicyEngine(Consumer<DeletePolicyEngineRequest.Builder> deletePolicyEngineRequest)

      Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable for policy management and evaluation. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.


      This is a convenience which creates an instance of the DeletePolicyEngineRequest.Builder avoiding the need to create one manually via DeletePolicyEngineRequest.builder()

      Parameters:
      deletePolicyEngineRequest - A Consumer that will call methods on DeletePolicyEngineRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicy

      default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)

      Deletes the resource-based policy for a specified resource.

      This feature is currently available only for AgentCore Runtime and Gateway.

      Parameters:
      deleteResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicy

      default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)

      Deletes the resource-based policy for a specified resource.

      This feature is currently available only for AgentCore Runtime and Gateway.


      This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the need to create one manually via DeleteResourcePolicyRequest.builder()

      Parameters:
      deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkloadIdentity

      default CompletableFuture<DeleteWorkloadIdentityResponse> deleteWorkloadIdentity(DeleteWorkloadIdentityRequest deleteWorkloadIdentityRequest)

      Deletes a workload identity.

      Parameters:
      deleteWorkloadIdentityRequest -
      Returns:
      A Java Future containing the result of the DeleteWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkloadIdentity

      default CompletableFuture<DeleteWorkloadIdentityResponse> deleteWorkloadIdentity(Consumer<DeleteWorkloadIdentityRequest.Builder> deleteWorkloadIdentityRequest)

      Deletes a workload identity.


      This is a convenience which creates an instance of the DeleteWorkloadIdentityRequest.Builder avoiding the need to create one manually via DeleteWorkloadIdentityRequest.builder()

      Parameters:
      deleteWorkloadIdentityRequest - A Consumer that will call methods on DeleteWorkloadIdentityRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAgentRuntime

      default CompletableFuture<GetAgentRuntimeResponse> getAgentRuntime(GetAgentRuntimeRequest getAgentRuntimeRequest)

      Gets an Amazon Bedrock AgentCore Runtime.

      Parameters:
      getAgentRuntimeRequest -
      Returns:
      A Java Future containing the result of the GetAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAgentRuntime

      default CompletableFuture<GetAgentRuntimeResponse> getAgentRuntime(Consumer<GetAgentRuntimeRequest.Builder> getAgentRuntimeRequest)

      Gets an Amazon Bedrock AgentCore Runtime.


      This is a convenience which creates an instance of the GetAgentRuntimeRequest.Builder avoiding the need to create one manually via GetAgentRuntimeRequest.builder()

      Parameters:
      getAgentRuntimeRequest - A Consumer that will call methods on GetAgentRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAgentRuntimeEndpoint

      default CompletableFuture<GetAgentRuntimeEndpointResponse> getAgentRuntimeEndpoint(GetAgentRuntimeEndpointRequest getAgentRuntimeEndpointRequest)

      Gets information about an Amazon Secure AgentEndpoint.

      Parameters:
      getAgentRuntimeEndpointRequest -
      Returns:
      A Java Future containing the result of the GetAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAgentRuntimeEndpoint

      default CompletableFuture<GetAgentRuntimeEndpointResponse> getAgentRuntimeEndpoint(Consumer<GetAgentRuntimeEndpointRequest.Builder> getAgentRuntimeEndpointRequest)

      Gets information about an Amazon Secure AgentEndpoint.


      This is a convenience which creates an instance of the GetAgentRuntimeEndpointRequest.Builder avoiding the need to create one manually via GetAgentRuntimeEndpointRequest.builder()

      Parameters:
      getAgentRuntimeEndpointRequest - A Consumer that will call methods on GetAgentRuntimeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getApiKeyCredentialProvider

      default CompletableFuture<GetApiKeyCredentialProviderResponse> getApiKeyCredentialProvider(GetApiKeyCredentialProviderRequest getApiKeyCredentialProviderRequest)

      Retrieves information about an API key credential provider.

      Parameters:
      getApiKeyCredentialProviderRequest -
      Returns:
      A Java Future containing the result of the GetApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getApiKeyCredentialProvider

      default CompletableFuture<GetApiKeyCredentialProviderResponse> getApiKeyCredentialProvider(Consumer<GetApiKeyCredentialProviderRequest.Builder> getApiKeyCredentialProviderRequest)

      Retrieves information about an API key credential provider.


      This is a convenience which creates an instance of the GetApiKeyCredentialProviderRequest.Builder avoiding the need to create one manually via GetApiKeyCredentialProviderRequest.builder()

      Parameters:
      getApiKeyCredentialProviderRequest - A Consumer that will call methods on GetApiKeyCredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBrowser

      default CompletableFuture<GetBrowserResponse> getBrowser(GetBrowserRequest getBrowserRequest)

      Gets information about a custom browser.

      Parameters:
      getBrowserRequest -
      Returns:
      A Java Future containing the result of the GetBrowser operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBrowser

      default CompletableFuture<GetBrowserResponse> getBrowser(Consumer<GetBrowserRequest.Builder> getBrowserRequest)

      Gets information about a custom browser.


      This is a convenience which creates an instance of the GetBrowserRequest.Builder avoiding the need to create one manually via GetBrowserRequest.builder()

      Parameters:
      getBrowserRequest - A Consumer that will call methods on GetBrowserRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetBrowser operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeInterpreter

      default CompletableFuture<GetCodeInterpreterResponse> getCodeInterpreter(GetCodeInterpreterRequest getCodeInterpreterRequest)

      Gets information about a custom code interpreter.

      Parameters:
      getCodeInterpreterRequest -
      Returns:
      A Java Future containing the result of the GetCodeInterpreter operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeInterpreter

      default CompletableFuture<GetCodeInterpreterResponse> getCodeInterpreter(Consumer<GetCodeInterpreterRequest.Builder> getCodeInterpreterRequest)

      Gets information about a custom code interpreter.


      This is a convenience which creates an instance of the GetCodeInterpreterRequest.Builder avoiding the need to create one manually via GetCodeInterpreterRequest.builder()

      Parameters:
      getCodeInterpreterRequest - A Consumer that will call methods on GetCodeInterpreterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCodeInterpreter operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvaluator

      default CompletableFuture<GetEvaluatorResponse> getEvaluator(GetEvaluatorRequest getEvaluatorRequest)

      Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.

      Parameters:
      getEvaluatorRequest -
      Returns:
      A Java Future containing the result of the GetEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvaluator

      default CompletableFuture<GetEvaluatorResponse> getEvaluator(Consumer<GetEvaluatorRequest.Builder> getEvaluatorRequest)

      Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.


      This is a convenience which creates an instance of the GetEvaluatorRequest.Builder avoiding the need to create one manually via GetEvaluatorRequest.builder()

      Parameters:
      getEvaluatorRequest - A Consumer that will call methods on GetEvaluatorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGateway

      default CompletableFuture<GetGatewayResponse> getGateway(GetGatewayRequest getGatewayRequest)

      Retrieves information about a specific Gateway.

      Parameters:
      getGatewayRequest -
      Returns:
      A Java Future containing the result of the GetGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGateway

      default CompletableFuture<GetGatewayResponse> getGateway(Consumer<GetGatewayRequest.Builder> getGatewayRequest)

      Retrieves information about a specific Gateway.


      This is a convenience which creates an instance of the GetGatewayRequest.Builder avoiding the need to create one manually via GetGatewayRequest.builder()

      Parameters:
      getGatewayRequest - A Consumer that will call methods on GetGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGatewayTarget

      default CompletableFuture<GetGatewayTargetResponse> getGatewayTarget(GetGatewayTargetRequest getGatewayTargetRequest)

      Retrieves information about a specific gateway target.

      Parameters:
      getGatewayTargetRequest -
      Returns:
      A Java Future containing the result of the GetGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGatewayTarget

      default CompletableFuture<GetGatewayTargetResponse> getGatewayTarget(Consumer<GetGatewayTargetRequest.Builder> getGatewayTargetRequest)

      Retrieves information about a specific gateway target.


      This is a convenience which creates an instance of the GetGatewayTargetRequest.Builder avoiding the need to create one manually via GetGatewayTargetRequest.builder()

      Parameters:
      getGatewayTargetRequest - A Consumer that will call methods on GetGatewayTargetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMemory

      default CompletableFuture<GetMemoryResponse> getMemory(GetMemoryRequest getMemoryRequest)

      Retrieve an existing Amazon Bedrock AgentCore Memory resource.

      Parameters:
      getMemoryRequest -
      Returns:
      A Java Future containing the result of the GetMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMemory

      default CompletableFuture<GetMemoryResponse> getMemory(Consumer<GetMemoryRequest.Builder> getMemoryRequest)

      Retrieve an existing Amazon Bedrock AgentCore Memory resource.


      This is a convenience which creates an instance of the GetMemoryRequest.Builder avoiding the need to create one manually via GetMemoryRequest.builder()

      Parameters:
      getMemoryRequest - A Consumer that will call methods on GetMemoryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOauth2CredentialProvider

      default CompletableFuture<GetOauth2CredentialProviderResponse> getOauth2CredentialProvider(GetOauth2CredentialProviderRequest getOauth2CredentialProviderRequest)

      Retrieves information about an OAuth2 credential provider.

      Parameters:
      getOauth2CredentialProviderRequest -
      Returns:
      A Java Future containing the result of the GetOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOauth2CredentialProvider

      default CompletableFuture<GetOauth2CredentialProviderResponse> getOauth2CredentialProvider(Consumer<GetOauth2CredentialProviderRequest.Builder> getOauth2CredentialProviderRequest)

      Retrieves information about an OAuth2 credential provider.


      This is a convenience which creates an instance of the GetOauth2CredentialProviderRequest.Builder avoiding the need to create one manually via GetOauth2CredentialProviderRequest.builder()

      Parameters:
      getOauth2CredentialProviderRequest - A Consumer that will call methods on GetOauth2CredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOnlineEvaluationConfig

      default CompletableFuture<GetOnlineEvaluationConfigResponse> getOnlineEvaluationConfig(GetOnlineEvaluationConfigRequest getOnlineEvaluationConfigRequest)

      Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.

      Parameters:
      getOnlineEvaluationConfigRequest -
      Returns:
      A Java Future containing the result of the GetOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOnlineEvaluationConfig

      default CompletableFuture<GetOnlineEvaluationConfigResponse> getOnlineEvaluationConfig(Consumer<GetOnlineEvaluationConfigRequest.Builder> getOnlineEvaluationConfigRequest)

      Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.


      This is a convenience which creates an instance of the GetOnlineEvaluationConfigRequest.Builder avoiding the need to create one manually via GetOnlineEvaluationConfigRequest.builder()

      Parameters:
      getOnlineEvaluationConfigRequest - A Consumer that will call methods on GetOnlineEvaluationConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPolicy

      default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest)

      Retrieves detailed information about a specific policy within the AgentCore Policy system. This operation returns the complete policy definition, metadata, and current status, allowing administrators to review and manage policy configurations.

      Parameters:
      getPolicyRequest -
      Returns:
      A Java Future containing the result of the GetPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPolicy

      default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)

      Retrieves detailed information about a specific policy within the AgentCore Policy system. This operation returns the complete policy definition, metadata, and current status, allowing administrators to review and manage policy configurations.


      This is a convenience which creates an instance of the GetPolicyRequest.Builder avoiding the need to create one manually via GetPolicyRequest.builder()

      Parameters:
      getPolicyRequest - A Consumer that will call methods on GetPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPolicyEngine

      default CompletableFuture<GetPolicyEngineResponse> getPolicyEngine(GetPolicyEngineRequest getPolicyEngineRequest)

      Retrieves detailed information about a specific policy engine within the AgentCore Policy system. This operation returns the complete policy engine configuration, metadata, and current status, allowing administrators to review and manage policy engine settings.

      Parameters:
      getPolicyEngineRequest -
      Returns:
      A Java Future containing the result of the GetPolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPolicyEngine

      default CompletableFuture<GetPolicyEngineResponse> getPolicyEngine(Consumer<GetPolicyEngineRequest.Builder> getPolicyEngineRequest)

      Retrieves detailed information about a specific policy engine within the AgentCore Policy system. This operation returns the complete policy engine configuration, metadata, and current status, allowing administrators to review and manage policy engine settings.


      This is a convenience which creates an instance of the GetPolicyEngineRequest.Builder avoiding the need to create one manually via GetPolicyEngineRequest.builder()

      Parameters:
      getPolicyEngineRequest - A Consumer that will call methods on GetPolicyEngineRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetPolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPolicyGeneration

      default CompletableFuture<GetPolicyGenerationResponse> getPolicyGeneration(GetPolicyGenerationRequest getPolicyGenerationRequest)

      Retrieves information about a policy generation request within the AgentCore Policy system. Policy generation converts natural language descriptions into Cedar policy statements using AI-powered translation, enabling non-technical users to create policies.

      Parameters:
      getPolicyGenerationRequest -
      Returns:
      A Java Future containing the result of the GetPolicyGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPolicyGeneration

      default CompletableFuture<GetPolicyGenerationResponse> getPolicyGeneration(Consumer<GetPolicyGenerationRequest.Builder> getPolicyGenerationRequest)

      Retrieves information about a policy generation request within the AgentCore Policy system. Policy generation converts natural language descriptions into Cedar policy statements using AI-powered translation, enabling non-technical users to create policies.


      This is a convenience which creates an instance of the GetPolicyGenerationRequest.Builder avoiding the need to create one manually via GetPolicyGenerationRequest.builder()

      Parameters:
      getPolicyGenerationRequest - A Consumer that will call methods on GetPolicyGenerationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetPolicyGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)

      Retrieves the resource-based policy for a specified resource.

      This feature is currently available only for AgentCore Runtime and Gateway.

      Parameters:
      getResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the GetResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)

      Retrieves the resource-based policy for a specified resource.

      This feature is currently available only for AgentCore Runtime and Gateway.


      This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need to create one manually via GetResourcePolicyRequest.builder()

      Parameters:
      getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTokenVault

      default CompletableFuture<GetTokenVaultResponse> getTokenVault(GetTokenVaultRequest getTokenVaultRequest)

      Retrieves information about a token vault.

      Parameters:
      getTokenVaultRequest -
      Returns:
      A Java Future containing the result of the GetTokenVault operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTokenVault

      default CompletableFuture<GetTokenVaultResponse> getTokenVault(Consumer<GetTokenVaultRequest.Builder> getTokenVaultRequest)

      Retrieves information about a token vault.


      This is a convenience which creates an instance of the GetTokenVaultRequest.Builder avoiding the need to create one manually via GetTokenVaultRequest.builder()

      Parameters:
      getTokenVaultRequest - A Consumer that will call methods on GetTokenVaultRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTokenVault operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkloadIdentity

      default CompletableFuture<GetWorkloadIdentityResponse> getWorkloadIdentity(GetWorkloadIdentityRequest getWorkloadIdentityRequest)

      Retrieves information about a workload identity.

      Parameters:
      getWorkloadIdentityRequest -
      Returns:
      A Java Future containing the result of the GetWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkloadIdentity

      default CompletableFuture<GetWorkloadIdentityResponse> getWorkloadIdentity(Consumer<GetWorkloadIdentityRequest.Builder> getWorkloadIdentityRequest)

      Retrieves information about a workload identity.


      This is a convenience which creates an instance of the GetWorkloadIdentityRequest.Builder avoiding the need to create one manually via GetWorkloadIdentityRequest.builder()

      Parameters:
      getWorkloadIdentityRequest - A Consumer that will call methods on GetWorkloadIdentityRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeEndpoints

      default CompletableFuture<ListAgentRuntimeEndpointsResponse> listAgentRuntimeEndpoints(ListAgentRuntimeEndpointsRequest listAgentRuntimeEndpointsRequest)

      Lists all endpoints for a specific Amazon Secure Agent.

      Parameters:
      listAgentRuntimeEndpointsRequest -
      Returns:
      A Java Future containing the result of the ListAgentRuntimeEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeEndpoints

      default CompletableFuture<ListAgentRuntimeEndpointsResponse> listAgentRuntimeEndpoints(Consumer<ListAgentRuntimeEndpointsRequest.Builder> listAgentRuntimeEndpointsRequest)

      Lists all endpoints for a specific Amazon Secure Agent.


      This is a convenience which creates an instance of the ListAgentRuntimeEndpointsRequest.Builder avoiding the need to create one manually via ListAgentRuntimeEndpointsRequest.builder()

      Parameters:
      listAgentRuntimeEndpointsRequest - A Consumer that will call methods on ListAgentRuntimeEndpointsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAgentRuntimeEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeEndpointsPaginator

      default ListAgentRuntimeEndpointsPublisher listAgentRuntimeEndpointsPaginator(ListAgentRuntimeEndpointsRequest listAgentRuntimeEndpointsRequest)

      This is a variant of listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsPublisher publisher = client.listAgentRuntimeEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsPublisher publisher = client.listAgentRuntimeEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest) operation.

      Parameters:
      listAgentRuntimeEndpointsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeEndpointsPaginator

      default ListAgentRuntimeEndpointsPublisher listAgentRuntimeEndpointsPaginator(Consumer<ListAgentRuntimeEndpointsRequest.Builder> listAgentRuntimeEndpointsRequest)

      This is a variant of listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsPublisher publisher = client.listAgentRuntimeEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsPublisher publisher = client.listAgentRuntimeEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest) operation.


      This is a convenience which creates an instance of the ListAgentRuntimeEndpointsRequest.Builder avoiding the need to create one manually via ListAgentRuntimeEndpointsRequest.builder()

      Parameters:
      listAgentRuntimeEndpointsRequest - A Consumer that will call methods on ListAgentRuntimeEndpointsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeVersions

      default CompletableFuture<ListAgentRuntimeVersionsResponse> listAgentRuntimeVersions(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest)

      Lists all versions of a specific Amazon Secure Agent.

      Parameters:
      listAgentRuntimeVersionsRequest -
      Returns:
      A Java Future containing the result of the ListAgentRuntimeVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeVersions

      default CompletableFuture<ListAgentRuntimeVersionsResponse> listAgentRuntimeVersions(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest)

      Lists all versions of a specific Amazon Secure Agent.


      This is a convenience which creates an instance of the ListAgentRuntimeVersionsRequest.Builder avoiding the need to create one manually via ListAgentRuntimeVersionsRequest.builder()

      Parameters:
      listAgentRuntimeVersionsRequest - A Consumer that will call methods on ListAgentRuntimeVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAgentRuntimeVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeVersionsPaginator

      default ListAgentRuntimeVersionsPublisher listAgentRuntimeVersionsPaginator(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest)

      This is a variant of listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsPublisher publisher = client.listAgentRuntimeVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsPublisher publisher = client.listAgentRuntimeVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest) operation.

      Parameters:
      listAgentRuntimeVersionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimeVersionsPaginator

      default ListAgentRuntimeVersionsPublisher listAgentRuntimeVersionsPaginator(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest)

      This is a variant of listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsPublisher publisher = client.listAgentRuntimeVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsPublisher publisher = client.listAgentRuntimeVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest) operation.


      This is a convenience which creates an instance of the ListAgentRuntimeVersionsRequest.Builder avoiding the need to create one manually via ListAgentRuntimeVersionsRequest.builder()

      Parameters:
      listAgentRuntimeVersionsRequest - A Consumer that will call methods on ListAgentRuntimeVersionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimes

      default CompletableFuture<ListAgentRuntimesResponse> listAgentRuntimes(ListAgentRuntimesRequest listAgentRuntimesRequest)

      Lists all Amazon Secure Agents in your account.

      Parameters:
      listAgentRuntimesRequest -
      Returns:
      A Java Future containing the result of the ListAgentRuntimes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimes

      default CompletableFuture<ListAgentRuntimesResponse> listAgentRuntimes(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest)

      Lists all Amazon Secure Agents in your account.


      This is a convenience which creates an instance of the ListAgentRuntimesRequest.Builder avoiding the need to create one manually via ListAgentRuntimesRequest.builder()

      Parameters:
      listAgentRuntimesRequest - A Consumer that will call methods on ListAgentRuntimesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAgentRuntimes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimesPaginator

      default ListAgentRuntimesPublisher listAgentRuntimesPaginator(ListAgentRuntimesRequest listAgentRuntimesRequest)

      This is a variant of listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesPublisher publisher = client.listAgentRuntimesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesPublisher publisher = client.listAgentRuntimesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest) operation.

      Parameters:
      listAgentRuntimesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentRuntimesPaginator

      default ListAgentRuntimesPublisher listAgentRuntimesPaginator(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest)

      This is a variant of listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesPublisher publisher = client.listAgentRuntimesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesPublisher publisher = client.listAgentRuntimesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest) operation.


      This is a convenience which creates an instance of the ListAgentRuntimesRequest.Builder avoiding the need to create one manually via ListAgentRuntimesRequest.builder()

      Parameters:
      listAgentRuntimesRequest - A Consumer that will call methods on ListAgentRuntimesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApiKeyCredentialProviders

      default CompletableFuture<ListApiKeyCredentialProvidersResponse> listApiKeyCredentialProviders(ListApiKeyCredentialProvidersRequest listApiKeyCredentialProvidersRequest)

      Lists all API key credential providers in your account.

      Parameters:
      listApiKeyCredentialProvidersRequest -
      Returns:
      A Java Future containing the result of the ListApiKeyCredentialProviders operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApiKeyCredentialProviders

      default CompletableFuture<ListApiKeyCredentialProvidersResponse> listApiKeyCredentialProviders(Consumer<ListApiKeyCredentialProvidersRequest.Builder> listApiKeyCredentialProvidersRequest)

      Lists all API key credential providers in your account.


      This is a convenience which creates an instance of the ListApiKeyCredentialProvidersRequest.Builder avoiding the need to create one manually via ListApiKeyCredentialProvidersRequest.builder()

      Parameters:
      listApiKeyCredentialProvidersRequest - A Consumer that will call methods on ListApiKeyCredentialProvidersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListApiKeyCredentialProviders operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApiKeyCredentialProvidersPaginator

      default ListApiKeyCredentialProvidersPublisher listApiKeyCredentialProvidersPaginator(ListApiKeyCredentialProvidersRequest listApiKeyCredentialProvidersRequest)

      This is a variant of listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersPublisher publisher = client.listApiKeyCredentialProvidersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersPublisher publisher = client.listApiKeyCredentialProvidersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest) operation.

      Parameters:
      listApiKeyCredentialProvidersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApiKeyCredentialProvidersPaginator

      default ListApiKeyCredentialProvidersPublisher listApiKeyCredentialProvidersPaginator(Consumer<ListApiKeyCredentialProvidersRequest.Builder> listApiKeyCredentialProvidersRequest)

      This is a variant of listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersPublisher publisher = client.listApiKeyCredentialProvidersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersPublisher publisher = client.listApiKeyCredentialProvidersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest) operation.


      This is a convenience which creates an instance of the ListApiKeyCredentialProvidersRequest.Builder avoiding the need to create one manually via ListApiKeyCredentialProvidersRequest.builder()

      Parameters:
      listApiKeyCredentialProvidersRequest - A Consumer that will call methods on ListApiKeyCredentialProvidersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBrowsers

      default CompletableFuture<ListBrowsersResponse> listBrowsers(ListBrowsersRequest listBrowsersRequest)

      Lists all custom browsers in your account.

      Parameters:
      listBrowsersRequest -
      Returns:
      A Java Future containing the result of the ListBrowsers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBrowsers

      default CompletableFuture<ListBrowsersResponse> listBrowsers(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest)

      Lists all custom browsers in your account.


      This is a convenience which creates an instance of the ListBrowsersRequest.Builder avoiding the need to create one manually via ListBrowsersRequest.builder()

      Parameters:
      listBrowsersRequest - A Consumer that will call methods on ListBrowsersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBrowsers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBrowsersPaginator

      default ListBrowsersPublisher listBrowsersPaginator(ListBrowsersRequest listBrowsersRequest)

      This is a variant of listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersPublisher publisher = client.listBrowsersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersPublisher publisher = client.listBrowsersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest) operation.

      Parameters:
      listBrowsersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBrowsersPaginator

      default ListBrowsersPublisher listBrowsersPaginator(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest)

      This is a variant of listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersPublisher publisher = client.listBrowsersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersPublisher publisher = client.listBrowsersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest) operation.


      This is a convenience which creates an instance of the ListBrowsersRequest.Builder avoiding the need to create one manually via ListBrowsersRequest.builder()

      Parameters:
      listBrowsersRequest - A Consumer that will call methods on ListBrowsersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeInterpreters

      default CompletableFuture<ListCodeInterpretersResponse> listCodeInterpreters(ListCodeInterpretersRequest listCodeInterpretersRequest)

      Lists all custom code interpreters in your account.

      Parameters:
      listCodeInterpretersRequest -
      Returns:
      A Java Future containing the result of the ListCodeInterpreters operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeInterpreters

      default CompletableFuture<ListCodeInterpretersResponse> listCodeInterpreters(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest)

      Lists all custom code interpreters in your account.


      This is a convenience which creates an instance of the ListCodeInterpretersRequest.Builder avoiding the need to create one manually via ListCodeInterpretersRequest.builder()

      Parameters:
      listCodeInterpretersRequest - A Consumer that will call methods on ListCodeInterpretersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCodeInterpreters operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeInterpretersPaginator

      default ListCodeInterpretersPublisher listCodeInterpretersPaginator(ListCodeInterpretersRequest listCodeInterpretersRequest)

      This is a variant of listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersPublisher publisher = client.listCodeInterpretersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersPublisher publisher = client.listCodeInterpretersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest) operation.

      Parameters:
      listCodeInterpretersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeInterpretersPaginator

      default ListCodeInterpretersPublisher listCodeInterpretersPaginator(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest)

      This is a variant of listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersPublisher publisher = client.listCodeInterpretersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersPublisher publisher = client.listCodeInterpretersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest) operation.


      This is a convenience which creates an instance of the ListCodeInterpretersRequest.Builder avoiding the need to create one manually via ListCodeInterpretersRequest.builder()

      Parameters:
      listCodeInterpretersRequest - A Consumer that will call methods on ListCodeInterpretersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvaluators

      default CompletableFuture<ListEvaluatorsResponse> listEvaluators(ListEvaluatorsRequest listEvaluatorsRequest)

      Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.

      Parameters:
      listEvaluatorsRequest -
      Returns:
      A Java Future containing the result of the ListEvaluators operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvaluators

      default CompletableFuture<ListEvaluatorsResponse> listEvaluators(Consumer<ListEvaluatorsRequest.Builder> listEvaluatorsRequest)

      Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.


      This is a convenience which creates an instance of the ListEvaluatorsRequest.Builder avoiding the need to create one manually via ListEvaluatorsRequest.builder()

      Parameters:
      listEvaluatorsRequest - A Consumer that will call methods on ListEvaluatorsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEvaluators operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvaluatorsPaginator

      default ListEvaluatorsPublisher listEvaluatorsPaginator(ListEvaluatorsRequest listEvaluatorsRequest)

      This is a variant of listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsPublisher publisher = client.listEvaluatorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsPublisher publisher = client.listEvaluatorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest) operation.

      Parameters:
      listEvaluatorsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvaluatorsPaginator

      default ListEvaluatorsPublisher listEvaluatorsPaginator(Consumer<ListEvaluatorsRequest.Builder> listEvaluatorsRequest)

      This is a variant of listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsPublisher publisher = client.listEvaluatorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsPublisher publisher = client.listEvaluatorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest) operation.


      This is a convenience which creates an instance of the ListEvaluatorsRequest.Builder avoiding the need to create one manually via ListEvaluatorsRequest.builder()

      Parameters:
      listEvaluatorsRequest - A Consumer that will call methods on ListEvaluatorsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGatewayTargets

      default CompletableFuture<ListGatewayTargetsResponse> listGatewayTargets(ListGatewayTargetsRequest listGatewayTargetsRequest)

      Lists all targets for a specific gateway.

      Parameters:
      listGatewayTargetsRequest -
      Returns:
      A Java Future containing the result of the ListGatewayTargets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGatewayTargets

      default CompletableFuture<ListGatewayTargetsResponse> listGatewayTargets(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest)

      Lists all targets for a specific gateway.


      This is a convenience which creates an instance of the ListGatewayTargetsRequest.Builder avoiding the need to create one manually via ListGatewayTargetsRequest.builder()

      Parameters:
      listGatewayTargetsRequest - A Consumer that will call methods on ListGatewayTargetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListGatewayTargets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGatewayTargetsPaginator

      default ListGatewayTargetsPublisher listGatewayTargetsPaginator(ListGatewayTargetsRequest listGatewayTargetsRequest)

      This is a variant of listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsPublisher publisher = client.listGatewayTargetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsPublisher publisher = client.listGatewayTargetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest) operation.

      Parameters:
      listGatewayTargetsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGatewayTargetsPaginator

      default ListGatewayTargetsPublisher listGatewayTargetsPaginator(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest)

      This is a variant of listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsPublisher publisher = client.listGatewayTargetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsPublisher publisher = client.listGatewayTargetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest) operation.


      This is a convenience which creates an instance of the ListGatewayTargetsRequest.Builder avoiding the need to create one manually via ListGatewayTargetsRequest.builder()

      Parameters:
      listGatewayTargetsRequest - A Consumer that will call methods on ListGatewayTargetsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGateways

      default CompletableFuture<ListGatewaysResponse> listGateways(ListGatewaysRequest listGatewaysRequest)

      Lists all gateways in the account.

      Parameters:
      listGatewaysRequest -
      Returns:
      A Java Future containing the result of the ListGateways operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGateways

      default CompletableFuture<ListGatewaysResponse> listGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest)

      Lists all gateways in the account.


      This is a convenience which creates an instance of the ListGatewaysRequest.Builder avoiding the need to create one manually via ListGatewaysRequest.builder()

      Parameters:
      listGatewaysRequest - A Consumer that will call methods on ListGatewaysRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListGateways operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGatewaysPaginator

      default ListGatewaysPublisher listGatewaysPaginator(ListGatewaysRequest listGatewaysRequest)

      This is a variant of listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest) operation.

      Parameters:
      listGatewaysRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listGatewaysPaginator

      default ListGatewaysPublisher listGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest)

      This is a variant of listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest) operation.


      This is a convenience which creates an instance of the ListGatewaysRequest.Builder avoiding the need to create one manually via ListGatewaysRequest.builder()

      Parameters:
      listGatewaysRequest - A Consumer that will call methods on ListGatewaysRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMemories

      default CompletableFuture<ListMemoriesResponse> listMemories(ListMemoriesRequest listMemoriesRequest)

      Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.

      Parameters:
      listMemoriesRequest -
      Returns:
      A Java Future containing the result of the ListMemories operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMemories

      default CompletableFuture<ListMemoriesResponse> listMemories(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest)

      Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.


      This is a convenience which creates an instance of the ListMemoriesRequest.Builder avoiding the need to create one manually via ListMemoriesRequest.builder()

      Parameters:
      listMemoriesRequest - A Consumer that will call methods on ListMemoriesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListMemories operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMemoriesPaginator

      default ListMemoriesPublisher listMemoriesPaginator(ListMemoriesRequest listMemoriesRequest)

      This is a variant of listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesPublisher publisher = client.listMemoriesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesPublisher publisher = client.listMemoriesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest) operation.

      Parameters:
      listMemoriesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMemoriesPaginator

      default ListMemoriesPublisher listMemoriesPaginator(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest)

      This is a variant of listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesPublisher publisher = client.listMemoriesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesPublisher publisher = client.listMemoriesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest) operation.


      This is a convenience which creates an instance of the ListMemoriesRequest.Builder avoiding the need to create one manually via ListMemoriesRequest.builder()

      Parameters:
      listMemoriesRequest - A Consumer that will call methods on ListMemoriesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOauth2CredentialProviders

      default CompletableFuture<ListOauth2CredentialProvidersResponse> listOauth2CredentialProviders(ListOauth2CredentialProvidersRequest listOauth2CredentialProvidersRequest)

      Lists all OAuth2 credential providers in your account.

      Parameters:
      listOauth2CredentialProvidersRequest -
      Returns:
      A Java Future containing the result of the ListOauth2CredentialProviders operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOauth2CredentialProviders

      default CompletableFuture<ListOauth2CredentialProvidersResponse> listOauth2CredentialProviders(Consumer<ListOauth2CredentialProvidersRequest.Builder> listOauth2CredentialProvidersRequest)

      Lists all OAuth2 credential providers in your account.


      This is a convenience which creates an instance of the ListOauth2CredentialProvidersRequest.Builder avoiding the need to create one manually via ListOauth2CredentialProvidersRequest.builder()

      Parameters:
      listOauth2CredentialProvidersRequest - A Consumer that will call methods on ListOauth2CredentialProvidersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListOauth2CredentialProviders operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOauth2CredentialProvidersPaginator

      default ListOauth2CredentialProvidersPublisher listOauth2CredentialProvidersPaginator(ListOauth2CredentialProvidersRequest listOauth2CredentialProvidersRequest)

      This is a variant of listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersPublisher publisher = client.listOauth2CredentialProvidersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersPublisher publisher = client.listOauth2CredentialProvidersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest) operation.

      Parameters:
      listOauth2CredentialProvidersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOauth2CredentialProvidersPaginator

      default ListOauth2CredentialProvidersPublisher listOauth2CredentialProvidersPaginator(Consumer<ListOauth2CredentialProvidersRequest.Builder> listOauth2CredentialProvidersRequest)

      This is a variant of listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersPublisher publisher = client.listOauth2CredentialProvidersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersPublisher publisher = client.listOauth2CredentialProvidersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest) operation.


      This is a convenience which creates an instance of the ListOauth2CredentialProvidersRequest.Builder avoiding the need to create one manually via ListOauth2CredentialProvidersRequest.builder()

      Parameters:
      listOauth2CredentialProvidersRequest - A Consumer that will call methods on ListOauth2CredentialProvidersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOnlineEvaluationConfigs

      default CompletableFuture<ListOnlineEvaluationConfigsResponse> listOnlineEvaluationConfigs(ListOnlineEvaluationConfigsRequest listOnlineEvaluationConfigsRequest)

      Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.

      Parameters:
      listOnlineEvaluationConfigsRequest -
      Returns:
      A Java Future containing the result of the ListOnlineEvaluationConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOnlineEvaluationConfigs

      default CompletableFuture<ListOnlineEvaluationConfigsResponse> listOnlineEvaluationConfigs(Consumer<ListOnlineEvaluationConfigsRequest.Builder> listOnlineEvaluationConfigsRequest)

      Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.


      This is a convenience which creates an instance of the ListOnlineEvaluationConfigsRequest.Builder avoiding the need to create one manually via ListOnlineEvaluationConfigsRequest.builder()

      Parameters:
      listOnlineEvaluationConfigsRequest - A Consumer that will call methods on ListOnlineEvaluationConfigsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListOnlineEvaluationConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOnlineEvaluationConfigsPaginator

      default ListOnlineEvaluationConfigsPublisher listOnlineEvaluationConfigsPaginator(ListOnlineEvaluationConfigsRequest listOnlineEvaluationConfigsRequest)

      This is a variant of listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsPublisher publisher = client.listOnlineEvaluationConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsPublisher publisher = client.listOnlineEvaluationConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest) operation.

      Parameters:
      listOnlineEvaluationConfigsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOnlineEvaluationConfigsPaginator

      default ListOnlineEvaluationConfigsPublisher listOnlineEvaluationConfigsPaginator(Consumer<ListOnlineEvaluationConfigsRequest.Builder> listOnlineEvaluationConfigsRequest)

      This is a variant of listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsPublisher publisher = client.listOnlineEvaluationConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsPublisher publisher = client.listOnlineEvaluationConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest) operation.


      This is a convenience which creates an instance of the ListOnlineEvaluationConfigsRequest.Builder avoiding the need to create one manually via ListOnlineEvaluationConfigsRequest.builder()

      Parameters:
      listOnlineEvaluationConfigsRequest - A Consumer that will call methods on ListOnlineEvaluationConfigsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicies

      default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest)

      Retrieves a list of policies within the AgentCore Policy engine. This operation supports pagination and filtering to help administrators manage and discover policies across policy engines. Results can be filtered by policy engine or resource associations.

      Parameters:
      listPoliciesRequest -
      Returns:
      A Java Future containing the result of the ListPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicies

      default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)

      Retrieves a list of policies within the AgentCore Policy engine. This operation supports pagination and filtering to help administrators manage and discover policies across policy engines. Results can be filtered by policy engine or resource associations.


      This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to create one manually via ListPoliciesRequest.builder()

      Parameters:
      listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPoliciesPaginator

      default ListPoliciesPublisher listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest)

      This is a variant of listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest) operation.

      Parameters:
      listPoliciesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPoliciesPaginator

      default ListPoliciesPublisher listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)

      This is a variant of listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest) operation.


      This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to create one manually via ListPoliciesRequest.builder()

      Parameters:
      listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyEngines

      default CompletableFuture<ListPolicyEnginesResponse> listPolicyEngines(ListPolicyEnginesRequest listPolicyEnginesRequest)

      Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination to help administrators discover and manage policy engines across their account. Each policy engine serves as a container for related policies.

      Parameters:
      listPolicyEnginesRequest -
      Returns:
      A Java Future containing the result of the ListPolicyEngines operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyEngines

      default CompletableFuture<ListPolicyEnginesResponse> listPolicyEngines(Consumer<ListPolicyEnginesRequest.Builder> listPolicyEnginesRequest)

      Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination to help administrators discover and manage policy engines across their account. Each policy engine serves as a container for related policies.


      This is a convenience which creates an instance of the ListPolicyEnginesRequest.Builder avoiding the need to create one manually via ListPolicyEnginesRequest.builder()

      Parameters:
      listPolicyEnginesRequest - A Consumer that will call methods on ListPolicyEnginesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPolicyEngines operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyEnginesPaginator

      default ListPolicyEnginesPublisher listPolicyEnginesPaginator(ListPolicyEnginesRequest listPolicyEnginesRequest)

      This is a variant of listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesPublisher publisher = client.listPolicyEnginesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesPublisher publisher = client.listPolicyEnginesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest) operation.

      Parameters:
      listPolicyEnginesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyEnginesPaginator

      default ListPolicyEnginesPublisher listPolicyEnginesPaginator(Consumer<ListPolicyEnginesRequest.Builder> listPolicyEnginesRequest)

      This is a variant of listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesPublisher publisher = client.listPolicyEnginesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesPublisher publisher = client.listPolicyEnginesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest) operation.


      This is a convenience which creates an instance of the ListPolicyEnginesRequest.Builder avoiding the need to create one manually via ListPolicyEnginesRequest.builder()

      Parameters:
      listPolicyEnginesRequest - A Consumer that will call methods on ListPolicyEnginesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerationAssets

      default CompletableFuture<ListPolicyGenerationAssetsResponse> listPolicyGenerationAssets(ListPolicyGenerationAssetsRequest listPolicyGenerationAssetsRequest)

      Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system. This operation returns the actual Cedar policies and related artifacts produced by the AI-powered policy generation process, allowing users to review and select from multiple generated policy options.

      Parameters:
      listPolicyGenerationAssetsRequest -
      Returns:
      A Java Future containing the result of the ListPolicyGenerationAssets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerationAssets

      default CompletableFuture<ListPolicyGenerationAssetsResponse> listPolicyGenerationAssets(Consumer<ListPolicyGenerationAssetsRequest.Builder> listPolicyGenerationAssetsRequest)

      Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system. This operation returns the actual Cedar policies and related artifacts produced by the AI-powered policy generation process, allowing users to review and select from multiple generated policy options.


      This is a convenience which creates an instance of the ListPolicyGenerationAssetsRequest.Builder avoiding the need to create one manually via ListPolicyGenerationAssetsRequest.builder()

      Parameters:
      listPolicyGenerationAssetsRequest - A Consumer that will call methods on ListPolicyGenerationAssetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPolicyGenerationAssets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerationAssetsPaginator

      default ListPolicyGenerationAssetsPublisher listPolicyGenerationAssetsPaginator(ListPolicyGenerationAssetsRequest listPolicyGenerationAssetsRequest)

      This is a variant of listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsPublisher publisher = client.listPolicyGenerationAssetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsPublisher publisher = client.listPolicyGenerationAssetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest) operation.

      Parameters:
      listPolicyGenerationAssetsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerationAssetsPaginator

      default ListPolicyGenerationAssetsPublisher listPolicyGenerationAssetsPaginator(Consumer<ListPolicyGenerationAssetsRequest.Builder> listPolicyGenerationAssetsRequest)

      This is a variant of listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsPublisher publisher = client.listPolicyGenerationAssetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsPublisher publisher = client.listPolicyGenerationAssetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest) operation.


      This is a convenience which creates an instance of the ListPolicyGenerationAssetsRequest.Builder avoiding the need to create one manually via ListPolicyGenerationAssetsRequest.builder()

      Parameters:
      listPolicyGenerationAssetsRequest - A Consumer that will call methods on ListPolicyGenerationAssetsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerations

      default CompletableFuture<ListPolicyGenerationsResponse> listPolicyGenerations(ListPolicyGenerationsRequest listPolicyGenerationsRequest)

      Retrieves a list of policy generation requests within the AgentCore Policy system. This operation supports pagination and filtering to help track and manage AI-powered policy generation operations.

      Parameters:
      listPolicyGenerationsRequest -
      Returns:
      A Java Future containing the result of the ListPolicyGenerations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerations

      default CompletableFuture<ListPolicyGenerationsResponse> listPolicyGenerations(Consumer<ListPolicyGenerationsRequest.Builder> listPolicyGenerationsRequest)

      Retrieves a list of policy generation requests within the AgentCore Policy system. This operation supports pagination and filtering to help track and manage AI-powered policy generation operations.


      This is a convenience which creates an instance of the ListPolicyGenerationsRequest.Builder avoiding the need to create one manually via ListPolicyGenerationsRequest.builder()

      Parameters:
      listPolicyGenerationsRequest - A Consumer that will call methods on ListPolicyGenerationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPolicyGenerations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerationsPaginator

      default ListPolicyGenerationsPublisher listPolicyGenerationsPaginator(ListPolicyGenerationsRequest listPolicyGenerationsRequest)

      This is a variant of listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsPublisher publisher = client.listPolicyGenerationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsPublisher publisher = client.listPolicyGenerationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest) operation.

      Parameters:
      listPolicyGenerationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPolicyGenerationsPaginator

      default ListPolicyGenerationsPublisher listPolicyGenerationsPaginator(Consumer<ListPolicyGenerationsRequest.Builder> listPolicyGenerationsRequest)

      This is a variant of listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsPublisher publisher = client.listPolicyGenerationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsPublisher publisher = client.listPolicyGenerationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest) operation.


      This is a convenience which creates an instance of the ListPolicyGenerationsRequest.Builder avoiding the need to create one manually via ListPolicyGenerationsRequest.builder()

      Parameters:
      listPolicyGenerationsRequest - A Consumer that will call methods on ListPolicyGenerationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists the tags associated with the specified resource.

      This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Lists the tags associated with the specified resource.

      This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadIdentities

      default CompletableFuture<ListWorkloadIdentitiesResponse> listWorkloadIdentities(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest)

      Lists all workload identities in your account.

      Parameters:
      listWorkloadIdentitiesRequest -
      Returns:
      A Java Future containing the result of the ListWorkloadIdentities operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadIdentities

      default CompletableFuture<ListWorkloadIdentitiesResponse> listWorkloadIdentities(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest)

      Lists all workload identities in your account.


      This is a convenience which creates an instance of the ListWorkloadIdentitiesRequest.Builder avoiding the need to create one manually via ListWorkloadIdentitiesRequest.builder()

      Parameters:
      listWorkloadIdentitiesRequest - A Consumer that will call methods on ListWorkloadIdentitiesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListWorkloadIdentities operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadIdentitiesPaginator

      default ListWorkloadIdentitiesPublisher listWorkloadIdentitiesPaginator(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest)

      This is a variant of listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesPublisher publisher = client.listWorkloadIdentitiesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesPublisher publisher = client.listWorkloadIdentitiesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest) operation.

      Parameters:
      listWorkloadIdentitiesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadIdentitiesPaginator

      default ListWorkloadIdentitiesPublisher listWorkloadIdentitiesPaginator(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest)

      This is a variant of listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesPublisher publisher = client.listWorkloadIdentitiesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesPublisher publisher = client.listWorkloadIdentitiesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest) operation.


      This is a convenience which creates an instance of the ListWorkloadIdentitiesRequest.Builder avoiding the need to create one manually via ListWorkloadIdentitiesRequest.builder()

      Parameters:
      listWorkloadIdentitiesRequest - A Consumer that will call methods on ListWorkloadIdentitiesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResourcePolicy

      default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)

      Creates or updates a resource-based policy for a resource with the specified resourceArn.

      This feature is currently available only for AgentCore Runtime and Gateway.

      Parameters:
      putResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the PutResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResourcePolicy

      default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)

      Creates or updates a resource-based policy for a resource with the specified resourceArn.

      This feature is currently available only for AgentCore Runtime and Gateway.


      This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need to create one manually via PutResourcePolicyRequest.builder()

      Parameters:
      putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setTokenVaultCMK

      default CompletableFuture<SetTokenVaultCmkResponse> setTokenVaultCMK(SetTokenVaultCmkRequest setTokenVaultCmkRequest)

      Sets the customer master key (CMK) for a token vault.

      Parameters:
      setTokenVaultCmkRequest -
      Returns:
      A Java Future containing the result of the SetTokenVaultCMK operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ConcurrentModificationException Exception thrown when a resource is modified concurrently by multiple requests.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • setTokenVaultCMK

      default CompletableFuture<SetTokenVaultCmkResponse> setTokenVaultCMK(Consumer<SetTokenVaultCmkRequest.Builder> setTokenVaultCmkRequest)

      Sets the customer master key (CMK) for a token vault.


      This is a convenience which creates an instance of the SetTokenVaultCmkRequest.Builder avoiding the need to create one manually via SetTokenVaultCmkRequest.builder()

      Parameters:
      setTokenVaultCmkRequest - A Consumer that will call methods on SetTokenVaultCmkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SetTokenVaultCMK operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ConcurrentModificationException Exception thrown when a resource is modified concurrently by multiple requests.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startPolicyGeneration

      default CompletableFuture<StartPolicyGenerationResponse> startPolicyGeneration(StartPolicyGenerationRequest startPolicyGenerationRequest)

      Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system. This feature enables both technical and non-technical users to create policies by describing their authorization requirements in plain English, which is then automatically translated into formal Cedar policy statements. The generation process analyzes the natural language input along with the Gateway's tool context to produce validated policy options. Generated policy assets are automatically deleted after 7 days, so you should review and create policies from the generated assets within this timeframe. Once created, policies are permanent and not subject to this expiration. Generated policies should be reviewed and tested in log-only mode before deploying to production. Use this when you want to describe policy intent naturally rather than learning Cedar syntax, though generated policies may require refinement for complex scenarios.

      Parameters:
      startPolicyGenerationRequest -
      Returns:
      A Java Future containing the result of the StartPolicyGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startPolicyGeneration

      default CompletableFuture<StartPolicyGenerationResponse> startPolicyGeneration(Consumer<StartPolicyGenerationRequest.Builder> startPolicyGenerationRequest)

      Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system. This feature enables both technical and non-technical users to create policies by describing their authorization requirements in plain English, which is then automatically translated into formal Cedar policy statements. The generation process analyzes the natural language input along with the Gateway's tool context to produce validated policy options. Generated policy assets are automatically deleted after 7 days, so you should review and create policies from the generated assets within this timeframe. Once created, policies are permanent and not subject to this expiration. Generated policies should be reviewed and tested in log-only mode before deploying to production. Use this when you want to describe policy intent naturally rather than learning Cedar syntax, though generated policies may require refinement for complex scenarios.


      This is a convenience which creates an instance of the StartPolicyGenerationRequest.Builder avoiding the need to create one manually via StartPolicyGenerationRequest.builder()

      Parameters:
      startPolicyGenerationRequest - A Consumer that will call methods on StartPolicyGenerationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartPolicyGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • synchronizeGatewayTargets

      default CompletableFuture<SynchronizeGatewayTargetsResponse> synchronizeGatewayTargets(SynchronizeGatewayTargetsRequest synchronizeGatewayTargetsRequest)

      The gateway targets.

      Parameters:
      synchronizeGatewayTargetsRequest -
      Returns:
      A Java Future containing the result of the SynchronizeGatewayTargets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • synchronizeGatewayTargets

      default CompletableFuture<SynchronizeGatewayTargetsResponse> synchronizeGatewayTargets(Consumer<SynchronizeGatewayTargetsRequest.Builder> synchronizeGatewayTargetsRequest)

      The gateway targets.


      This is a convenience which creates an instance of the SynchronizeGatewayTargetsRequest.Builder avoiding the need to create one manually via SynchronizeGatewayTargetsRequest.builder()

      Parameters:
      synchronizeGatewayTargetsRequest - A Consumer that will call methods on SynchronizeGatewayTargetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SynchronizeGatewayTargets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.

      This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.

      This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes the specified tags from the specified resource.

      This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes the specified tags from the specified resource.

      This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAgentRuntime

      default CompletableFuture<UpdateAgentRuntimeResponse> updateAgentRuntime(UpdateAgentRuntimeRequest updateAgentRuntimeRequest)

      Updates an existing Amazon Secure Agent.

      Parameters:
      updateAgentRuntimeRequest -
      Returns:
      A Java Future containing the result of the UpdateAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAgentRuntime

      default CompletableFuture<UpdateAgentRuntimeResponse> updateAgentRuntime(Consumer<UpdateAgentRuntimeRequest.Builder> updateAgentRuntimeRequest)

      Updates an existing Amazon Secure Agent.


      This is a convenience which creates an instance of the UpdateAgentRuntimeRequest.Builder avoiding the need to create one manually via UpdateAgentRuntimeRequest.builder()

      Parameters:
      updateAgentRuntimeRequest - A Consumer that will call methods on UpdateAgentRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAgentRuntime operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAgentRuntimeEndpoint

      default CompletableFuture<UpdateAgentRuntimeEndpointResponse> updateAgentRuntimeEndpoint(UpdateAgentRuntimeEndpointRequest updateAgentRuntimeEndpointRequest)

      Updates an existing Amazon Bedrock AgentCore Runtime endpoint.

      Parameters:
      updateAgentRuntimeEndpointRequest -
      Returns:
      A Java Future containing the result of the UpdateAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAgentRuntimeEndpoint

      default CompletableFuture<UpdateAgentRuntimeEndpointResponse> updateAgentRuntimeEndpoint(Consumer<UpdateAgentRuntimeEndpointRequest.Builder> updateAgentRuntimeEndpointRequest)

      Updates an existing Amazon Bedrock AgentCore Runtime endpoint.


      This is a convenience which creates an instance of the UpdateAgentRuntimeEndpointRequest.Builder avoiding the need to create one manually via UpdateAgentRuntimeEndpointRequest.builder()

      Parameters:
      updateAgentRuntimeEndpointRequest - A Consumer that will call methods on UpdateAgentRuntimeEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAgentRuntimeEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApiKeyCredentialProvider

      default CompletableFuture<UpdateApiKeyCredentialProviderResponse> updateApiKeyCredentialProvider(UpdateApiKeyCredentialProviderRequest updateApiKeyCredentialProviderRequest)

      Updates an existing API key credential provider.

      Parameters:
      updateApiKeyCredentialProviderRequest -
      Returns:
      A Java Future containing the result of the UpdateApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApiKeyCredentialProvider

      default CompletableFuture<UpdateApiKeyCredentialProviderResponse> updateApiKeyCredentialProvider(Consumer<UpdateApiKeyCredentialProviderRequest.Builder> updateApiKeyCredentialProviderRequest)

      Updates an existing API key credential provider.


      This is a convenience which creates an instance of the UpdateApiKeyCredentialProviderRequest.Builder avoiding the need to create one manually via UpdateApiKeyCredentialProviderRequest.builder()

      Parameters:
      updateApiKeyCredentialProviderRequest - A Consumer that will call methods on UpdateApiKeyCredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateApiKeyCredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEvaluator

      default CompletableFuture<UpdateEvaluatorResponse> updateEvaluator(UpdateEvaluatorRequest updateEvaluatorRequest)

      Updates a custom evaluator's configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification.

      Parameters:
      updateEvaluatorRequest -
      Returns:
      A Java Future containing the result of the UpdateEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEvaluator

      default CompletableFuture<UpdateEvaluatorResponse> updateEvaluator(Consumer<UpdateEvaluatorRequest.Builder> updateEvaluatorRequest)

      Updates a custom evaluator's configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification.


      This is a convenience which creates an instance of the UpdateEvaluatorRequest.Builder avoiding the need to create one manually via UpdateEvaluatorRequest.builder()

      Parameters:
      updateEvaluatorRequest - A Consumer that will call methods on UpdateEvaluatorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateEvaluator operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGateway

      default CompletableFuture<UpdateGatewayResponse> updateGateway(UpdateGatewayRequest updateGatewayRequest)

      Updates an existing gateway.

      Parameters:
      updateGatewayRequest -
      Returns:
      A Java Future containing the result of the UpdateGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGateway

      default CompletableFuture<UpdateGatewayResponse> updateGateway(Consumer<UpdateGatewayRequest.Builder> updateGatewayRequest)

      Updates an existing gateway.


      This is a convenience which creates an instance of the UpdateGatewayRequest.Builder avoiding the need to create one manually via UpdateGatewayRequest.builder()

      Parameters:
      updateGatewayRequest - A Consumer that will call methods on UpdateGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGatewayTarget

      default CompletableFuture<UpdateGatewayTargetResponse> updateGatewayTarget(UpdateGatewayTargetRequest updateGatewayTargetRequest)

      Updates an existing gateway target.

      Parameters:
      updateGatewayTargetRequest -
      Returns:
      A Java Future containing the result of the UpdateGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGatewayTarget

      default CompletableFuture<UpdateGatewayTargetResponse> updateGatewayTarget(Consumer<UpdateGatewayTargetRequest.Builder> updateGatewayTargetRequest)

      Updates an existing gateway target.


      This is a convenience which creates an instance of the UpdateGatewayTargetRequest.Builder avoiding the need to create one manually via UpdateGatewayTargetRequest.builder()

      Parameters:
      updateGatewayTargetRequest - A Consumer that will call methods on UpdateGatewayTargetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateGatewayTarget operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateMemory

      default CompletableFuture<UpdateMemoryResponse> updateMemory(UpdateMemoryRequest updateMemoryRequest)

      Update an Amazon Bedrock AgentCore Memory resource memory.

      Parameters:
      updateMemoryRequest -
      Returns:
      A Java Future containing the result of the UpdateMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateMemory

      default CompletableFuture<UpdateMemoryResponse> updateMemory(Consumer<UpdateMemoryRequest.Builder> updateMemoryRequest)

      Update an Amazon Bedrock AgentCore Memory resource memory.


      This is a convenience which creates an instance of the UpdateMemoryRequest.Builder avoiding the need to create one manually via UpdateMemoryRequest.builder()

      Parameters:
      updateMemoryRequest - A Consumer that will call methods on UpdateMemoryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateMemory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceException An internal error occurred.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottledException API rate limit has been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOauth2CredentialProvider

      default CompletableFuture<UpdateOauth2CredentialProviderResponse> updateOauth2CredentialProvider(UpdateOauth2CredentialProviderRequest updateOauth2CredentialProviderRequest)

      Updates an existing OAuth2 credential provider.

      Parameters:
      updateOauth2CredentialProviderRequest -
      Returns:
      A Java Future containing the result of the UpdateOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOauth2CredentialProvider

      default CompletableFuture<UpdateOauth2CredentialProviderResponse> updateOauth2CredentialProvider(Consumer<UpdateOauth2CredentialProviderRequest.Builder> updateOauth2CredentialProviderRequest)

      Updates an existing OAuth2 credential provider.


      This is a convenience which creates an instance of the UpdateOauth2CredentialProviderRequest.Builder avoiding the need to create one manually via UpdateOauth2CredentialProviderRequest.builder()

      Parameters:
      updateOauth2CredentialProviderRequest - A Consumer that will call methods on UpdateOauth2CredentialProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateOauth2CredentialProvider operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • DecryptionFailureException Exception thrown when decryption of a secret fails.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • EncryptionFailureException Exception thrown when encryption of a secret fails.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOnlineEvaluationConfig

      default CompletableFuture<UpdateOnlineEvaluationConfigResponse> updateOnlineEvaluationConfig(UpdateOnlineEvaluationConfigRequest updateOnlineEvaluationConfigRequest)

      Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.

      Parameters:
      updateOnlineEvaluationConfigRequest -
      Returns:
      A Java Future containing the result of the UpdateOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOnlineEvaluationConfig

      default CompletableFuture<UpdateOnlineEvaluationConfigResponse> updateOnlineEvaluationConfig(Consumer<UpdateOnlineEvaluationConfigRequest.Builder> updateOnlineEvaluationConfigRequest)

      Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.


      This is a convenience which creates an instance of the UpdateOnlineEvaluationConfigRequest.Builder avoiding the need to create one manually via UpdateOnlineEvaluationConfigRequest.builder()

      Parameters:
      updateOnlineEvaluationConfigRequest - A Consumer that will call methods on UpdateOnlineEvaluationConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateOnlineEvaluationConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException This exception is thrown when a request is made beyond the service quota
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePolicy

      default CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest)

      Updates an existing policy within the AgentCore Policy system. This operation allows modification of the policy description and definition while maintaining the policy's identity. The updated policy is validated against the Cedar schema before being applied. This is an asynchronous operation. Use the GetPolicy operation to poll the status field to track completion.

      Parameters:
      updatePolicyRequest -
      Returns:
      A Java Future containing the result of the UpdatePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePolicy

      default CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest)

      Updates an existing policy within the AgentCore Policy system. This operation allows modification of the policy description and definition while maintaining the policy's identity. The updated policy is validated against the Cedar schema before being applied. This is an asynchronous operation. Use the GetPolicy operation to poll the status field to track completion.


      This is a convenience which creates an instance of the UpdatePolicyRequest.Builder avoiding the need to create one manually via UpdatePolicyRequest.builder()

      Parameters:
      updatePolicyRequest - A Consumer that will call methods on UpdatePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePolicyEngine

      default CompletableFuture<UpdatePolicyEngineResponse> updatePolicyEngine(UpdatePolicyEngineRequest updatePolicyEngineRequest)

      Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.

      Parameters:
      updatePolicyEngineRequest -
      Returns:
      A Java Future containing the result of the UpdatePolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePolicyEngine

      default CompletableFuture<UpdatePolicyEngineResponse> updatePolicyEngine(Consumer<UpdatePolicyEngineRequest.Builder> updatePolicyEngineRequest)

      Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the status field to track completion.


      This is a convenience which creates an instance of the UpdatePolicyEngineRequest.Builder avoiding the need to create one manually via UpdatePolicyEngineRequest.builder()

      Parameters:
      updatePolicyEngineRequest - A Consumer that will call methods on UpdatePolicyEngineRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePolicyEngine operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ConflictException This exception is thrown when there is a conflict performing an operation
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkloadIdentity

      default CompletableFuture<UpdateWorkloadIdentityResponse> updateWorkloadIdentity(UpdateWorkloadIdentityRequest updateWorkloadIdentityRequest)

      Updates an existing workload identity.

      Parameters:
      updateWorkloadIdentityRequest -
      Returns:
      A Java Future containing the result of the UpdateWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkloadIdentity

      default CompletableFuture<UpdateWorkloadIdentityResponse> updateWorkloadIdentity(Consumer<UpdateWorkloadIdentityRequest.Builder> updateWorkloadIdentityRequest)

      Updates an existing workload identity.


      This is a convenience which creates an instance of the UpdateWorkloadIdentityRequest.Builder avoiding the need to create one manually via UpdateWorkloadIdentityRequest.builder()

      Parameters:
      updateWorkloadIdentityRequest - A Consumer that will call methods on UpdateWorkloadIdentityRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateWorkloadIdentity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • UnauthorizedException This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • AccessDeniedException This exception is thrown when a request is denied per access permissions
      • ResourceNotFoundException This exception is thrown when a resource referenced by the operation does not exist
      • ThrottlingException This exception is thrown when the number of requests exceeds the limit
      • InternalServerException This exception is thrown if there was an unexpected error during processing of request
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BedrockAgentCoreControlException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      Create an instance of BedrockAgentCoreControlAsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of BedrockAgentCoreControlAsyncWaiter
    • serviceClientConfiguration

      default BedrockAgentCoreControlServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a BedrockAgentCoreControlAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a BedrockAgentCoreControlAsyncClient.