Interface BedrockAgentCoreControlAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
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.
Amazon Bedrock AgentCore is in preview release and is subject to change.
Amazon Bedrock Agent Core Control is a service that enables you to manage memory resources for your Amazon Bedrock agents.
Use this API to create, retrieve, update, and delete memory resources and their associated memory strategies. Memory resources enable your agents to store and retrieve information from conversations and interactions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aBedrockAgentCoreControlAsyncClient
.create()
Create aBedrockAgentCoreControlAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createAgentRuntime
(Consumer<CreateAgentRuntimeRequest.Builder> createAgentRuntimeRequest) Creates an Amazon Secure Agent.createAgentRuntime
(CreateAgentRuntimeRequest createAgentRuntimeRequest) Creates an Amazon Secure Agent.createAgentRuntimeEndpoint
(Consumer<CreateAgentRuntimeEndpointRequest.Builder> createAgentRuntimeEndpointRequest) Creates an Amazon Secure AgentEndpoint.createAgentRuntimeEndpoint
(CreateAgentRuntimeEndpointRequest createAgentRuntimeEndpointRequest) Creates an Amazon Secure AgentEndpoint.createApiKeyCredentialProvider
(Consumer<CreateApiKeyCredentialProviderRequest.Builder> createApiKeyCredentialProviderRequest) Creates a new API key credential provider.createApiKeyCredentialProvider
(CreateApiKeyCredentialProviderRequest createApiKeyCredentialProviderRequest) Creates a new API key credential provider.default CompletableFuture
<CreateBrowserResponse> createBrowser
(Consumer<CreateBrowserRequest.Builder> createBrowserRequest) Creates a custom browser.default CompletableFuture
<CreateBrowserResponse> createBrowser
(CreateBrowserRequest createBrowserRequest) Creates a custom browser.createCodeInterpreter
(Consumer<CreateCodeInterpreterRequest.Builder> createCodeInterpreterRequest) Creates a custom code interpreter.createCodeInterpreter
(CreateCodeInterpreterRequest createCodeInterpreterRequest) Creates a custom code interpreter.default CompletableFuture
<CreateGatewayResponse> createGateway
(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a gateway for Amazon Bedrock Agent.default CompletableFuture
<CreateGatewayResponse> createGateway
(CreateGatewayRequest createGatewayRequest) Creates a gateway for Amazon Bedrock Agent.createGatewayTarget
(Consumer<CreateGatewayTargetRequest.Builder> createGatewayTargetRequest) Creates a target for a gateway.createGatewayTarget
(CreateGatewayTargetRequest createGatewayTargetRequest) Creates a target for a gateway.default CompletableFuture
<CreateMemoryResponse> createMemory
(Consumer<CreateMemoryRequest.Builder> createMemoryRequest) Creates a new memory.default CompletableFuture
<CreateMemoryResponse> createMemory
(CreateMemoryRequest createMemoryRequest) Creates a new memory.createOauth2CredentialProvider
(Consumer<CreateOauth2CredentialProviderRequest.Builder> createOauth2CredentialProviderRequest) Creates a new OAuth2 credential provider.createOauth2CredentialProvider
(CreateOauth2CredentialProviderRequest createOauth2CredentialProviderRequest) Creates a new OAuth2 credential provider.createWorkloadIdentity
(Consumer<CreateWorkloadIdentityRequest.Builder> createWorkloadIdentityRequest) Creates a new workload identity.createWorkloadIdentity
(CreateWorkloadIdentityRequest createWorkloadIdentityRequest) Creates a new workload identity.deleteAgentRuntime
(Consumer<DeleteAgentRuntimeRequest.Builder> deleteAgentRuntimeRequest) Deletes an Amazon Secure Agent.deleteAgentRuntime
(DeleteAgentRuntimeRequest deleteAgentRuntimeRequest) Deletes an Amazon Secure Agent.deleteAgentRuntimeEndpoint
(Consumer<DeleteAgentRuntimeEndpointRequest.Builder> deleteAgentRuntimeEndpointRequest) Deletes an Amazon Secure AgentEndpoint.deleteAgentRuntimeEndpoint
(DeleteAgentRuntimeEndpointRequest deleteAgentRuntimeEndpointRequest) Deletes an Amazon Secure AgentEndpoint.deleteApiKeyCredentialProvider
(Consumer<DeleteApiKeyCredentialProviderRequest.Builder> deleteApiKeyCredentialProviderRequest) Deletes an API key credential provider.deleteApiKeyCredentialProvider
(DeleteApiKeyCredentialProviderRequest deleteApiKeyCredentialProviderRequest) Deletes an API key credential provider.default CompletableFuture
<DeleteBrowserResponse> deleteBrowser
(Consumer<DeleteBrowserRequest.Builder> deleteBrowserRequest) Deletes a custom browser.default CompletableFuture
<DeleteBrowserResponse> deleteBrowser
(DeleteBrowserRequest deleteBrowserRequest) Deletes a custom browser.deleteCodeInterpreter
(Consumer<DeleteCodeInterpreterRequest.Builder> deleteCodeInterpreterRequest) Deletes a custom code interpreter.deleteCodeInterpreter
(DeleteCodeInterpreterRequest deleteCodeInterpreterRequest) Deletes a custom code interpreter.default CompletableFuture
<DeleteGatewayResponse> deleteGateway
(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a Gateway.default CompletableFuture
<DeleteGatewayResponse> deleteGateway
(DeleteGatewayRequest deleteGatewayRequest) Deletes a Gateway.deleteGatewayTarget
(Consumer<DeleteGatewayTargetRequest.Builder> deleteGatewayTargetRequest) Deletes a Gateway Target.deleteGatewayTarget
(DeleteGatewayTargetRequest deleteGatewayTargetRequest) Deletes a Gateway Target.default CompletableFuture
<DeleteMemoryResponse> deleteMemory
(Consumer<DeleteMemoryRequest.Builder> deleteMemoryRequest) Deletes a memory.default CompletableFuture
<DeleteMemoryResponse> deleteMemory
(DeleteMemoryRequest deleteMemoryRequest) Deletes a memory.deleteOauth2CredentialProvider
(Consumer<DeleteOauth2CredentialProviderRequest.Builder> deleteOauth2CredentialProviderRequest) Deletes an OAuth2 credential provider.deleteOauth2CredentialProvider
(DeleteOauth2CredentialProviderRequest deleteOauth2CredentialProviderRequest) Deletes an OAuth2 credential provider.deleteWorkloadIdentity
(Consumer<DeleteWorkloadIdentityRequest.Builder> deleteWorkloadIdentityRequest) Deletes a workload identity.deleteWorkloadIdentity
(DeleteWorkloadIdentityRequest deleteWorkloadIdentityRequest) Deletes a workload identity.default CompletableFuture
<GetAgentRuntimeResponse> getAgentRuntime
(Consumer<GetAgentRuntimeRequest.Builder> getAgentRuntimeRequest) Gets an Amazon Secure Agent.default CompletableFuture
<GetAgentRuntimeResponse> getAgentRuntime
(GetAgentRuntimeRequest getAgentRuntimeRequest) Gets an Amazon Secure Agent.getAgentRuntimeEndpoint
(Consumer<GetAgentRuntimeEndpointRequest.Builder> getAgentRuntimeEndpointRequest) Gets information about an Amazon Secure AgentEndpoint.getAgentRuntimeEndpoint
(GetAgentRuntimeEndpointRequest getAgentRuntimeEndpointRequest) Gets information about an Amazon Secure AgentEndpoint.getApiKeyCredentialProvider
(Consumer<GetApiKeyCredentialProviderRequest.Builder> getApiKeyCredentialProviderRequest) Retrieves information about an API key credential provider.getApiKeyCredentialProvider
(GetApiKeyCredentialProviderRequest getApiKeyCredentialProviderRequest) Retrieves information about an API key credential provider.default CompletableFuture
<GetBrowserResponse> getBrowser
(Consumer<GetBrowserRequest.Builder> getBrowserRequest) Gets information about a custom browser.default CompletableFuture
<GetBrowserResponse> getBrowser
(GetBrowserRequest getBrowserRequest) Gets information about a custom browser.getCodeInterpreter
(Consumer<GetCodeInterpreterRequest.Builder> getCodeInterpreterRequest) Gets information about a custom code interpreter.getCodeInterpreter
(GetCodeInterpreterRequest getCodeInterpreterRequest) Gets information about a custom code interpreter.default CompletableFuture
<GetGatewayResponse> getGateway
(Consumer<GetGatewayRequest.Builder> getGatewayRequest) Retrieves information about a specific Gateway.default CompletableFuture
<GetGatewayResponse> getGateway
(GetGatewayRequest getGatewayRequest) Retrieves information about a specific Gateway.getGatewayTarget
(Consumer<GetGatewayTargetRequest.Builder> getGatewayTargetRequest) Retrieves information about a specific Gateway Target.getGatewayTarget
(GetGatewayTargetRequest getGatewayTargetRequest) Retrieves information about a specific Gateway Target.default CompletableFuture
<GetMemoryResponse> getMemory
(Consumer<GetMemoryRequest.Builder> getMemoryRequest) Retrieve an existing memory.default CompletableFuture
<GetMemoryResponse> getMemory
(GetMemoryRequest getMemoryRequest) Retrieve an existing memory.getOauth2CredentialProvider
(Consumer<GetOauth2CredentialProviderRequest.Builder> getOauth2CredentialProviderRequest) Retrieves information about an OAuth2 credential provider.getOauth2CredentialProvider
(GetOauth2CredentialProviderRequest getOauth2CredentialProviderRequest) Retrieves information about an OAuth2 credential provider.default CompletableFuture
<GetTokenVaultResponse> getTokenVault
(Consumer<GetTokenVaultRequest.Builder> getTokenVaultRequest) Retrieves information about a token vault.default CompletableFuture
<GetTokenVaultResponse> getTokenVault
(GetTokenVaultRequest getTokenVaultRequest) Retrieves information about a token vault.getWorkloadIdentity
(Consumer<GetWorkloadIdentityRequest.Builder> getWorkloadIdentityRequest) Retrieves information about a workload identity.getWorkloadIdentity
(GetWorkloadIdentityRequest getWorkloadIdentityRequest) Retrieves information about a workload identity.listAgentRuntimeEndpoints
(Consumer<ListAgentRuntimeEndpointsRequest.Builder> listAgentRuntimeEndpointsRequest) Lists all endpoints for a specific Amazon Secure Agent.listAgentRuntimeEndpoints
(ListAgentRuntimeEndpointsRequest listAgentRuntimeEndpointsRequest) Lists all endpoints for a specific Amazon Secure Agent.listAgentRuntimeEndpointsPaginator
(Consumer<ListAgentRuntimeEndpointsRequest.Builder> listAgentRuntimeEndpointsRequest) This is a variant oflistAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest)
operation.listAgentRuntimeEndpointsPaginator
(ListAgentRuntimeEndpointsRequest listAgentRuntimeEndpointsRequest) This is a variant oflistAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest)
operation.listAgentRuntimes
(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) Lists all Amazon Secure Agents in your account.listAgentRuntimes
(ListAgentRuntimesRequest listAgentRuntimesRequest) Lists all Amazon Secure Agents in your account.default ListAgentRuntimesPublisher
listAgentRuntimesPaginator
(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) This is a variant oflistAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation.default ListAgentRuntimesPublisher
listAgentRuntimesPaginator
(ListAgentRuntimesRequest listAgentRuntimesRequest) This is a variant oflistAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation.listAgentRuntimeVersions
(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) Lists all versions of a specific Amazon Secure Agent.listAgentRuntimeVersions
(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest) Lists all versions of a specific Amazon Secure Agent.listAgentRuntimeVersionsPaginator
(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) This is a variant oflistAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)
operation.listAgentRuntimeVersionsPaginator
(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest) This is a variant oflistAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)
operation.listApiKeyCredentialProviders
(Consumer<ListApiKeyCredentialProvidersRequest.Builder> listApiKeyCredentialProvidersRequest) Lists all API key credential providers in your account.listApiKeyCredentialProviders
(ListApiKeyCredentialProvidersRequest listApiKeyCredentialProvidersRequest) Lists all API key credential providers in your account.listApiKeyCredentialProvidersPaginator
(Consumer<ListApiKeyCredentialProvidersRequest.Builder> listApiKeyCredentialProvidersRequest) listApiKeyCredentialProvidersPaginator
(ListApiKeyCredentialProvidersRequest listApiKeyCredentialProvidersRequest) default CompletableFuture
<ListBrowsersResponse> listBrowsers
(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) Lists all custom browsers in your account.default CompletableFuture
<ListBrowsersResponse> listBrowsers
(ListBrowsersRequest listBrowsersRequest) Lists all custom browsers in your account.default ListBrowsersPublisher
listBrowsersPaginator
(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) This is a variant oflistBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation.default ListBrowsersPublisher
listBrowsersPaginator
(ListBrowsersRequest listBrowsersRequest) This is a variant oflistBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation.listCodeInterpreters
(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) Lists all custom code interpreters in your account.listCodeInterpreters
(ListCodeInterpretersRequest listCodeInterpretersRequest) Lists all custom code interpreters in your account.default ListCodeInterpretersPublisher
listCodeInterpretersPaginator
(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) This is a variant oflistCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation.default ListCodeInterpretersPublisher
listCodeInterpretersPaginator
(ListCodeInterpretersRequest listCodeInterpretersRequest) This is a variant oflistCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation.default CompletableFuture
<ListGatewaysResponse> listGateways
(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Lists all Gateways in the account.default CompletableFuture
<ListGatewaysResponse> listGateways
(ListGatewaysRequest listGatewaysRequest) Lists all Gateways in the account.default ListGatewaysPublisher
listGatewaysPaginator
(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation.default ListGatewaysPublisher
listGatewaysPaginator
(ListGatewaysRequest listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation.listGatewayTargets
(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) Lists all targets for a specific Gateway.listGatewayTargets
(ListGatewayTargetsRequest listGatewayTargetsRequest) Lists all targets for a specific Gateway.default ListGatewayTargetsPublisher
listGatewayTargetsPaginator
(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) This is a variant oflistGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation.default ListGatewayTargetsPublisher
listGatewayTargetsPaginator
(ListGatewayTargetsRequest listGatewayTargetsRequest) This is a variant oflistGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation.default CompletableFuture
<ListMemoriesResponse> listMemories
(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) Lists the memory present.default CompletableFuture
<ListMemoriesResponse> listMemories
(ListMemoriesRequest listMemoriesRequest) Lists the memory present.default ListMemoriesPublisher
listMemoriesPaginator
(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) This is a variant oflistMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)
operation.default ListMemoriesPublisher
listMemoriesPaginator
(ListMemoriesRequest listMemoriesRequest) This is a variant oflistMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)
operation.listOauth2CredentialProviders
(Consumer<ListOauth2CredentialProvidersRequest.Builder> listOauth2CredentialProvidersRequest) Lists all OAuth2 credential providers in your account.listOauth2CredentialProviders
(ListOauth2CredentialProvidersRequest listOauth2CredentialProvidersRequest) Lists all OAuth2 credential providers in your account.listOauth2CredentialProvidersPaginator
(Consumer<ListOauth2CredentialProvidersRequest.Builder> listOauth2CredentialProvidersRequest) listOauth2CredentialProvidersPaginator
(ListOauth2CredentialProvidersRequest listOauth2CredentialProvidersRequest) listWorkloadIdentities
(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) Lists all workload identities in your account.listWorkloadIdentities
(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) Lists all workload identities in your account.default ListWorkloadIdentitiesPublisher
listWorkloadIdentitiesPaginator
(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) This is a variant oflistWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)
operation.default ListWorkloadIdentitiesPublisher
listWorkloadIdentitiesPaginator
(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) This is a variant oflistWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationsetTokenVaultCMK
(Consumer<SetTokenVaultCmkRequest.Builder> setTokenVaultCmkRequest) Sets the customer master key (CMK) for a token vault.setTokenVaultCMK
(SetTokenVaultCmkRequest setTokenVaultCmkRequest) Sets the customer master key (CMK) for a token vault.updateAgentRuntime
(Consumer<UpdateAgentRuntimeRequest.Builder> updateAgentRuntimeRequest) Updates an existing Amazon Secure Agent.updateAgentRuntime
(UpdateAgentRuntimeRequest updateAgentRuntimeRequest) Updates an existing Amazon Secure Agent.updateAgentRuntimeEndpoint
(Consumer<UpdateAgentRuntimeEndpointRequest.Builder> updateAgentRuntimeEndpointRequest) Updates an existing Amazon Secure AgentEndpoint.updateAgentRuntimeEndpoint
(UpdateAgentRuntimeEndpointRequest updateAgentRuntimeEndpointRequest) Updates an existing Amazon Secure AgentEndpoint.updateApiKeyCredentialProvider
(Consumer<UpdateApiKeyCredentialProviderRequest.Builder> updateApiKeyCredentialProviderRequest) Updates an existing API key credential provider.updateApiKeyCredentialProvider
(UpdateApiKeyCredentialProviderRequest updateApiKeyCredentialProviderRequest) Updates an existing API key credential provider.default CompletableFuture
<UpdateGatewayResponse> updateGateway
(Consumer<UpdateGatewayRequest.Builder> updateGatewayRequest) Updates an existing Gateway.default CompletableFuture
<UpdateGatewayResponse> updateGateway
(UpdateGatewayRequest updateGatewayRequest) Updates an existing Gateway.updateGatewayTarget
(Consumer<UpdateGatewayTargetRequest.Builder> updateGatewayTargetRequest) Updates an existing Gateway Target.updateGatewayTarget
(UpdateGatewayTargetRequest updateGatewayTargetRequest) Updates an existing Gateway Target.default CompletableFuture
<UpdateMemoryResponse> updateMemory
(Consumer<UpdateMemoryRequest.Builder> updateMemoryRequest) Update memory.default CompletableFuture
<UpdateMemoryResponse> updateMemory
(UpdateMemoryRequest updateMemoryRequest) Update memory.updateOauth2CredentialProvider
(Consumer<UpdateOauth2CredentialProviderRequest.Builder> updateOauth2CredentialProviderRequest) Updates an existing OAuth2 credential provider.updateOauth2CredentialProvider
(UpdateOauth2CredentialProviderRequest updateOauth2CredentialProviderRequest) Updates an existing OAuth2 credential provider.updateWorkloadIdentity
(Consumer<UpdateWorkloadIdentityRequest.Builder> updateWorkloadIdentityRequest) Updates an existing workload identity.updateWorkloadIdentity
(UpdateWorkloadIdentityRequest updateWorkloadIdentityRequest) Updates an existing workload identity.waiter()
Create an instance ofBedrockAgentCoreControlAsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createAgentRuntime
default CompletableFuture<CreateAgentRuntimeResponse> createAgentRuntime(CreateAgentRuntimeRequest createAgentRuntimeRequest) Creates an Amazon Secure Agent.
- 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 invokeThrowable.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 Secure Agent.
This is a convenience which creates an instance of the
CreateAgentRuntimeRequest.Builder
avoiding the need to create one manually viaCreateAgentRuntimeRequest.builder()
- Parameters:
createAgentRuntimeRequest
- AConsumer
that will call methods onCreateAgentRuntimeRequest.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 invokeThrowable.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 Amazon Secure AgentEndpoint.
- 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 invokeThrowable.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 Amazon Secure AgentEndpoint.
This is a convenience which creates an instance of the
CreateAgentRuntimeEndpointRequest.Builder
avoiding the need to create one manually viaCreateAgentRuntimeEndpointRequest.builder()
- Parameters:
createAgentRuntimeEndpointRequest
- AConsumer
that will call methods onCreateAgentRuntimeEndpointRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateApiKeyCredentialProviderRequest.builder()
- Parameters:
createApiKeyCredentialProviderRequest
- AConsumer
that will call methods onCreateApiKeyCredentialProviderRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateBrowserRequest.builder()
- Parameters:
createBrowserRequest
- AConsumer
that will call methods onCreateBrowserRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateCodeInterpreterRequest.builder()
- Parameters:
createCodeInterpreterRequest
- AConsumer
that will call methods onCreateCodeInterpreterRequest.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 invokeThrowable.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:
-
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.
To create a gateway, you must specify a name, protocol type, and IAM role. The role grants the gateway permission to access Amazon Web Services services and resources.
- 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 invokeThrowable.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.
To create a gateway, you must specify a name, protocol type, and IAM role. The role grants the gateway permission to access Amazon Web Services services and resources.
This is a convenience which creates an instance of the
CreateGatewayRequest.Builder
avoiding the need to create one manually viaCreateGatewayRequest.builder()
- Parameters:
createGatewayRequest
- AConsumer
that will call methods onCreateGatewayRequest.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 invokeThrowable.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.
To create a target, you must specify the gateway identifier and target configuration.
- 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 invokeThrowable.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.
To create a target, you must specify the gateway identifier and target configuration.
This is a convenience which creates an instance of the
CreateGatewayTargetRequest.Builder
avoiding the need to create one manually viaCreateGatewayTargetRequest.builder()
- Parameters:
createGatewayTargetRequest
- AConsumer
that will call methods onCreateGatewayTargetRequest.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 invokeThrowable.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 memory.
- 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 invokeThrowable.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 memory.
This is a convenience which creates an instance of the
CreateMemoryRequest.Builder
avoiding the need to create one manually viaCreateMemoryRequest.builder()
- Parameters:
createMemoryRequest
- AConsumer
that will call methods onCreateMemoryRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateOauth2CredentialProviderRequest.builder()
- Parameters:
createOauth2CredentialProviderRequest
- AConsumer
that will call methods onCreateOauth2CredentialProviderRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaCreateWorkloadIdentityRequest.builder()
- Parameters:
createWorkloadIdentityRequest
- AConsumer
that will call methods onCreateWorkloadIdentityRequest.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 invokeThrowable.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 Secure Agent.
- 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 invokeThrowable.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 Secure Agent.
This is a convenience which creates an instance of the
DeleteAgentRuntimeRequest.Builder
avoiding the need to create one manually viaDeleteAgentRuntimeRequest.builder()
- Parameters:
deleteAgentRuntimeRequest
- AConsumer
that will call methods onDeleteAgentRuntimeRequest.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 invokeThrowable.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 Amazon Secure AgentEndpoint.
- 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 invokeThrowable.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 Amazon Secure AgentEndpoint.
This is a convenience which creates an instance of the
DeleteAgentRuntimeEndpointRequest.Builder
avoiding the need to create one manually viaDeleteAgentRuntimeEndpointRequest.builder()
- Parameters:
deleteAgentRuntimeEndpointRequest
- AConsumer
that will call methods onDeleteAgentRuntimeEndpointRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteApiKeyCredentialProviderRequest.builder()
- Parameters:
deleteApiKeyCredentialProviderRequest
- AConsumer
that will call methods onDeleteApiKeyCredentialProviderRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteBrowserRequest.builder()
- Parameters:
deleteBrowserRequest
- AConsumer
that will call methods onDeleteBrowserRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteCodeInterpreterRequest.builder()
- Parameters:
deleteCodeInterpreterRequest
- AConsumer
that will call methods onDeleteCodeInterpreterRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaDeleteGatewayRequest.builder()
- Parameters:
deleteGatewayRequest
- AConsumer
that will call methods onDeleteGatewayRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteGatewayTargetRequest.builder()
- Parameters:
deleteGatewayTargetRequest
- AConsumer
that will call methods onDeleteGatewayTargetRequest.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 invokeThrowable.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 a memory.
- 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 invokeThrowable.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
- 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 a memory.
This is a convenience which creates an instance of the
DeleteMemoryRequest.Builder
avoiding the need to create one manually viaDeleteMemoryRequest.builder()
- Parameters:
deleteMemoryRequest
- AConsumer
that will call methods onDeleteMemoryRequest.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 invokeThrowable.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
- 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 invokeThrowable.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 viaDeleteOauth2CredentialProviderRequest.builder()
- Parameters:
deleteOauth2CredentialProviderRequest
- AConsumer
that will call methods onDeleteOauth2CredentialProviderRequest.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 invokeThrowable.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(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 invokeThrowable.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 viaDeleteWorkloadIdentityRequest.builder()
- Parameters:
deleteWorkloadIdentityRequest
- AConsumer
that will call methods onDeleteWorkloadIdentityRequest.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 invokeThrowable.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 Secure Agent.
- 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 invokeThrowable.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 Secure Agent.
This is a convenience which creates an instance of the
GetAgentRuntimeRequest.Builder
avoiding the need to create one manually viaGetAgentRuntimeRequest.builder()
- Parameters:
getAgentRuntimeRequest
- AConsumer
that will call methods onGetAgentRuntimeRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetAgentRuntimeEndpointRequest.builder()
- Parameters:
getAgentRuntimeEndpointRequest
- AConsumer
that will call methods onGetAgentRuntimeEndpointRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetApiKeyCredentialProviderRequest.builder()
- Parameters:
getApiKeyCredentialProviderRequest
- AConsumer
that will call methods onGetApiKeyCredentialProviderRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaGetBrowserRequest.builder()
- Parameters:
getBrowserRequest
- AConsumer
that will call methods onGetBrowserRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetCodeInterpreterRequest.builder()
- Parameters:
getCodeInterpreterRequest
- AConsumer
that will call methods onGetCodeInterpreterRequest.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 invokeThrowable.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:
-
getGateway
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 invokeThrowable.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 viaGetGatewayRequest.builder()
- Parameters:
getGatewayRequest
- AConsumer
that will call methods onGetGatewayRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetGatewayTargetRequest.builder()
- Parameters:
getGatewayTargetRequest
- AConsumer
that will call methods onGetGatewayTargetRequest.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 invokeThrowable.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
Retrieve an existing memory.
- 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 invokeThrowable.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 memory.
This is a convenience which creates an instance of the
GetMemoryRequest.Builder
avoiding the need to create one manually viaGetMemoryRequest.builder()
- Parameters:
getMemoryRequest
- AConsumer
that will call methods onGetMemoryRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetOauth2CredentialProviderRequest.builder()
- Parameters:
getOauth2CredentialProviderRequest
- AConsumer
that will call methods onGetOauth2CredentialProviderRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaGetTokenVaultRequest.builder()
- Parameters:
getTokenVaultRequest
- AConsumer
that will call methods onGetTokenVaultRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetWorkloadIdentityRequest.builder()
- Parameters:
getWorkloadIdentityRequest
- AConsumer
that will call methods onGetWorkloadIdentityRequest.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 invokeThrowable.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 invokeThrowable.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 viaListAgentRuntimeEndpointsRequest.builder()
- Parameters:
listAgentRuntimeEndpointsRequest
- AConsumer
that will call methods onListAgentRuntimeEndpointsRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsPublisher publisher = client.listAgentRuntimeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsPublisher publisher = client.listAgentRuntimeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAgentRuntimeEndpointsRequest.builder()
- Parameters:
listAgentRuntimeEndpointsRequest
- AConsumer
that will call methods onListAgentRuntimeEndpointsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListAgentRuntimeVersionsRequest.builder()
- Parameters:
listAgentRuntimeVersionsRequest
- AConsumer
that will call methods onListAgentRuntimeVersionsRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsPublisher publisher = client.listAgentRuntimeVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsPublisher publisher = client.listAgentRuntimeVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAgentRuntimeVersionsRequest.builder()
- Parameters:
listAgentRuntimeVersionsRequest
- AConsumer
that will call methods onListAgentRuntimeVersionsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListAgentRuntimesRequest.builder()
- Parameters:
listAgentRuntimesRequest
- AConsumer
that will call methods onListAgentRuntimesRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesPublisher publisher = client.listAgentRuntimesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesPublisher publisher = client.listAgentRuntimesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAgentRuntimesRequest.builder()
- Parameters:
listAgentRuntimesRequest
- AConsumer
that will call methods onListAgentRuntimesRequest.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 invokeThrowable.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 invokeThrowable.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 viaListApiKeyCredentialProvidersRequest.builder()
- Parameters:
listApiKeyCredentialProvidersRequest
- AConsumer
that will call methods onListApiKeyCredentialProvidersRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersPublisher publisher = client.listApiKeyCredentialProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersPublisher publisher = client.listApiKeyCredentialProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListApiKeyCredentialProvidersRequest.builder()
- Parameters:
listApiKeyCredentialProvidersRequest
- AConsumer
that will call methods onListApiKeyCredentialProvidersRequest.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 invokeThrowable.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 invokeThrowable.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 viaListBrowsersRequest.builder()
- Parameters:
listBrowsersRequest
- AConsumer
that will call methods onListBrowsersRequest.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 invokeThrowable.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
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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersPublisher publisher = client.listBrowsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersPublisher publisher = client.listBrowsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListBrowsersRequest.builder()
- Parameters:
listBrowsersRequest
- AConsumer
that will call methods onListBrowsersRequest.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 invokeThrowable.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 invokeThrowable.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 viaListCodeInterpretersRequest.builder()
- Parameters:
listCodeInterpretersRequest
- AConsumer
that will call methods onListCodeInterpretersRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersPublisher publisher = client.listCodeInterpretersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersPublisher publisher = client.listCodeInterpretersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListCodeInterpretersRequest.builder()
- Parameters:
listCodeInterpretersRequest
- AConsumer
that will call methods onListCodeInterpretersRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaListGatewayTargetsRequest.builder()
- Parameters:
listGatewayTargetsRequest
- AConsumer
that will call methods onListGatewayTargetsRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsPublisher publisher = client.listGatewayTargetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsPublisher publisher = client.listGatewayTargetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListGatewayTargetsRequest.builder()
- Parameters:
listGatewayTargetsRequest
- AConsumer
that will call methods onListGatewayTargetsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListGatewaysRequest.builder()
- Parameters:
listGatewaysRequest
- AConsumer
that will call methods onListGatewaysRequest.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 invokeThrowable.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
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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListGatewaysRequest.builder()
- Parameters:
listGatewaysRequest
- AConsumer
that will call methods onListGatewaysRequest.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 invokeThrowable.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 memory present.
- 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 invokeThrowable.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 memory present.
This is a convenience which creates an instance of the
ListMemoriesRequest.Builder
avoiding the need to create one manually viaListMemoriesRequest.builder()
- Parameters:
listMemoriesRequest
- AConsumer
that will call methods onListMemoriesRequest.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 invokeThrowable.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
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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesPublisher publisher = client.listMemoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesPublisher publisher = client.listMemoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListMemoriesRequest.builder()
- Parameters:
listMemoriesRequest
- AConsumer
that will call methods onListMemoriesRequest.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 invokeThrowable.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 invokeThrowable.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 viaListOauth2CredentialProvidersRequest.builder()
- Parameters:
listOauth2CredentialProvidersRequest
- AConsumer
that will call methods onListOauth2CredentialProvidersRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersPublisher publisher = client.listOauth2CredentialProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersPublisher publisher = client.listOauth2CredentialProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListOauth2CredentialProvidersRequest.builder()
- Parameters:
listOauth2CredentialProvidersRequest
- AConsumer
that will call methods onListOauth2CredentialProvidersRequest.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 invokeThrowable.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(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 invokeThrowable.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 viaListWorkloadIdentitiesRequest.builder()
- Parameters:
listWorkloadIdentitiesRequest
- AConsumer
that will call methods onListWorkloadIdentitiesRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesPublisher publisher = client.listWorkloadIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesPublisher publisher = client.listWorkloadIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListWorkloadIdentitiesRequest.builder()
- Parameters:
listWorkloadIdentitiesRequest
- AConsumer
that will call methods onListWorkloadIdentitiesRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaSetTokenVaultCmkRequest.builder()
- Parameters:
setTokenVaultCmkRequest
- AConsumer
that will call methods onSetTokenVaultCmkRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaUpdateAgentRuntimeRequest.builder()
- Parameters:
updateAgentRuntimeRequest
- AConsumer
that will call methods onUpdateAgentRuntimeRequest.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 invokeThrowable.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 Secure AgentEndpoint.
- 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 invokeThrowable.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 Secure AgentEndpoint.
This is a convenience which creates an instance of the
UpdateAgentRuntimeEndpointRequest.Builder
avoiding the need to create one manually viaUpdateAgentRuntimeEndpointRequest.builder()
- Parameters:
updateAgentRuntimeEndpointRequest
- AConsumer
that will call methods onUpdateAgentRuntimeEndpointRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateApiKeyCredentialProviderRequest.builder()
- Parameters:
updateApiKeyCredentialProviderRequest
- AConsumer
that will call methods onUpdateApiKeyCredentialProviderRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaUpdateGatewayRequest.builder()
- Parameters:
updateGatewayRequest
- AConsumer
that will call methods onUpdateGatewayRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateGatewayTargetRequest.builder()
- Parameters:
updateGatewayTargetRequest
- AConsumer
that will call methods onUpdateGatewayTargetRequest.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 invokeThrowable.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 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 invokeThrowable.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 memory.
This is a convenience which creates an instance of the
UpdateMemoryRequest.Builder
avoiding the need to create one manually viaUpdateMemoryRequest.builder()
- Parameters:
updateMemoryRequest
- AConsumer
that will call methods onUpdateMemoryRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateOauth2CredentialProviderRequest.builder()
- Parameters:
updateOauth2CredentialProviderRequest
- AConsumer
that will call methods onUpdateOauth2CredentialProviderRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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 viaUpdateWorkloadIdentityRequest.builder()
- Parameters:
updateWorkloadIdentityRequest
- AConsumer
that will call methods onUpdateWorkloadIdentityRequest.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 invokeThrowable.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 ofBedrockAgentCoreControlAsyncWaiter
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
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aBedrockAgentCoreControlAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aBedrockAgentCoreControlAsyncClient
.
-