Interface BedrockAgentCoreControlClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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 aBedrockAgentCoreControlClient
.create()
Create aBedrockAgentCoreControlClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAgentRuntimeResponse
createAgentRuntime
(Consumer<CreateAgentRuntimeRequest.Builder> createAgentRuntimeRequest) Creates an Amazon Secure Agent.default CreateAgentRuntimeResponse
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 CreateBrowserResponse
createBrowser
(Consumer<CreateBrowserRequest.Builder> createBrowserRequest) Creates a custom browser.default CreateBrowserResponse
createBrowser
(CreateBrowserRequest createBrowserRequest) Creates a custom browser.default CreateCodeInterpreterResponse
createCodeInterpreter
(Consumer<CreateCodeInterpreterRequest.Builder> createCodeInterpreterRequest) Creates a custom code interpreter.default CreateCodeInterpreterResponse
createCodeInterpreter
(CreateCodeInterpreterRequest createCodeInterpreterRequest) Creates a custom code interpreter.default CreateGatewayResponse
createGateway
(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a gateway for Amazon Bedrock Agent.default CreateGatewayResponse
createGateway
(CreateGatewayRequest createGatewayRequest) Creates a gateway for Amazon Bedrock Agent.default CreateGatewayTargetResponse
createGatewayTarget
(Consumer<CreateGatewayTargetRequest.Builder> createGatewayTargetRequest) Creates a target for a gateway.default CreateGatewayTargetResponse
createGatewayTarget
(CreateGatewayTargetRequest createGatewayTargetRequest) Creates a target for a gateway.default CreateMemoryResponse
createMemory
(Consumer<CreateMemoryRequest.Builder> createMemoryRequest) Creates a new memory.default 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.default CreateWorkloadIdentityResponse
createWorkloadIdentity
(Consumer<CreateWorkloadIdentityRequest.Builder> createWorkloadIdentityRequest) Creates a new workload identity.default CreateWorkloadIdentityResponse
createWorkloadIdentity
(CreateWorkloadIdentityRequest createWorkloadIdentityRequest) Creates a new workload identity.default DeleteAgentRuntimeResponse
deleteAgentRuntime
(Consumer<DeleteAgentRuntimeRequest.Builder> deleteAgentRuntimeRequest) Deletes an Amazon Secure Agent.default DeleteAgentRuntimeResponse
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 DeleteBrowserResponse
deleteBrowser
(Consumer<DeleteBrowserRequest.Builder> deleteBrowserRequest) Deletes a custom browser.default DeleteBrowserResponse
deleteBrowser
(DeleteBrowserRequest deleteBrowserRequest) Deletes a custom browser.default DeleteCodeInterpreterResponse
deleteCodeInterpreter
(Consumer<DeleteCodeInterpreterRequest.Builder> deleteCodeInterpreterRequest) Deletes a custom code interpreter.default DeleteCodeInterpreterResponse
deleteCodeInterpreter
(DeleteCodeInterpreterRequest deleteCodeInterpreterRequest) Deletes a custom code interpreter.default DeleteGatewayResponse
deleteGateway
(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a Gateway.default DeleteGatewayResponse
deleteGateway
(DeleteGatewayRequest deleteGatewayRequest) Deletes a Gateway.default DeleteGatewayTargetResponse
deleteGatewayTarget
(Consumer<DeleteGatewayTargetRequest.Builder> deleteGatewayTargetRequest) Deletes a Gateway Target.default DeleteGatewayTargetResponse
deleteGatewayTarget
(DeleteGatewayTargetRequest deleteGatewayTargetRequest) Deletes a Gateway Target.default DeleteMemoryResponse
deleteMemory
(Consumer<DeleteMemoryRequest.Builder> deleteMemoryRequest) Deletes a memory.default 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.default DeleteWorkloadIdentityResponse
deleteWorkloadIdentity
(Consumer<DeleteWorkloadIdentityRequest.Builder> deleteWorkloadIdentityRequest) Deletes a workload identity.default DeleteWorkloadIdentityResponse
deleteWorkloadIdentity
(DeleteWorkloadIdentityRequest deleteWorkloadIdentityRequest) Deletes a workload identity.default GetAgentRuntimeResponse
getAgentRuntime
(Consumer<GetAgentRuntimeRequest.Builder> getAgentRuntimeRequest) Gets an Amazon Secure Agent.default GetAgentRuntimeResponse
getAgentRuntime
(GetAgentRuntimeRequest getAgentRuntimeRequest) Gets an Amazon Secure Agent.default GetAgentRuntimeEndpointResponse
getAgentRuntimeEndpoint
(Consumer<GetAgentRuntimeEndpointRequest.Builder> getAgentRuntimeEndpointRequest) Gets information about an Amazon Secure AgentEndpoint.default GetAgentRuntimeEndpointResponse
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 GetBrowserResponse
getBrowser
(Consumer<GetBrowserRequest.Builder> getBrowserRequest) Gets information about a custom browser.default GetBrowserResponse
getBrowser
(GetBrowserRequest getBrowserRequest) Gets information about a custom browser.default GetCodeInterpreterResponse
getCodeInterpreter
(Consumer<GetCodeInterpreterRequest.Builder> getCodeInterpreterRequest) Gets information about a custom code interpreter.default GetCodeInterpreterResponse
getCodeInterpreter
(GetCodeInterpreterRequest getCodeInterpreterRequest) Gets information about a custom code interpreter.default GetGatewayResponse
getGateway
(Consumer<GetGatewayRequest.Builder> getGatewayRequest) Retrieves information about a specific Gateway.default GetGatewayResponse
getGateway
(GetGatewayRequest getGatewayRequest) Retrieves information about a specific Gateway.default GetGatewayTargetResponse
getGatewayTarget
(Consumer<GetGatewayTargetRequest.Builder> getGatewayTargetRequest) Retrieves information about a specific Gateway Target.default GetGatewayTargetResponse
getGatewayTarget
(GetGatewayTargetRequest getGatewayTargetRequest) Retrieves information about a specific Gateway Target.default GetMemoryResponse
getMemory
(Consumer<GetMemoryRequest.Builder> getMemoryRequest) Retrieve an existing memory.default 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 GetTokenVaultResponse
getTokenVault
(Consumer<GetTokenVaultRequest.Builder> getTokenVaultRequest) Retrieves information about a token vault.default GetTokenVaultResponse
getTokenVault
(GetTokenVaultRequest getTokenVaultRequest) Retrieves information about a token vault.default GetWorkloadIdentityResponse
getWorkloadIdentity
(Consumer<GetWorkloadIdentityRequest.Builder> getWorkloadIdentityRequest) Retrieves information about a workload identity.default GetWorkloadIdentityResponse
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.default ListAgentRuntimesResponse
listAgentRuntimes
(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) Lists all Amazon Secure Agents in your account.default ListAgentRuntimesResponse
listAgentRuntimes
(ListAgentRuntimesRequest listAgentRuntimesRequest) Lists all Amazon Secure Agents in your account.default ListAgentRuntimesIterable
listAgentRuntimesPaginator
(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) This is a variant oflistAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation.default ListAgentRuntimesIterable
listAgentRuntimesPaginator
(ListAgentRuntimesRequest listAgentRuntimesRequest) This is a variant oflistAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation.default ListAgentRuntimeVersionsResponse
listAgentRuntimeVersions
(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) Lists all versions of a specific Amazon Secure Agent.default ListAgentRuntimeVersionsResponse
listAgentRuntimeVersions
(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest) Lists all versions of a specific Amazon Secure Agent.default ListAgentRuntimeVersionsIterable
listAgentRuntimeVersionsPaginator
(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) This is a variant oflistAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)
operation.default ListAgentRuntimeVersionsIterable
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 ListBrowsersResponse
listBrowsers
(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) Lists all custom browsers in your account.default ListBrowsersResponse
listBrowsers
(ListBrowsersRequest listBrowsersRequest) Lists all custom browsers in your account.default ListBrowsersIterable
listBrowsersPaginator
(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) This is a variant oflistBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation.default ListBrowsersIterable
listBrowsersPaginator
(ListBrowsersRequest listBrowsersRequest) This is a variant oflistBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation.default ListCodeInterpretersResponse
listCodeInterpreters
(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) Lists all custom code interpreters in your account.default ListCodeInterpretersResponse
listCodeInterpreters
(ListCodeInterpretersRequest listCodeInterpretersRequest) Lists all custom code interpreters in your account.default ListCodeInterpretersIterable
listCodeInterpretersPaginator
(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) This is a variant oflistCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation.default ListCodeInterpretersIterable
listCodeInterpretersPaginator
(ListCodeInterpretersRequest listCodeInterpretersRequest) This is a variant oflistCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation.default ListGatewaysResponse
listGateways
(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Lists all Gateways in the account.default ListGatewaysResponse
listGateways
(ListGatewaysRequest listGatewaysRequest) Lists all Gateways in the account.default ListGatewaysIterable
listGatewaysPaginator
(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation.default ListGatewaysIterable
listGatewaysPaginator
(ListGatewaysRequest listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation.default ListGatewayTargetsResponse
listGatewayTargets
(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) Lists all targets for a specific Gateway.default ListGatewayTargetsResponse
listGatewayTargets
(ListGatewayTargetsRequest listGatewayTargetsRequest) Lists all targets for a specific Gateway.default ListGatewayTargetsIterable
listGatewayTargetsPaginator
(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) This is a variant oflistGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation.default ListGatewayTargetsIterable
listGatewayTargetsPaginator
(ListGatewayTargetsRequest listGatewayTargetsRequest) This is a variant oflistGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation.default ListMemoriesResponse
listMemories
(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) Lists the memory present.default ListMemoriesResponse
listMemories
(ListMemoriesRequest listMemoriesRequest) Lists the memory present.default ListMemoriesIterable
listMemoriesPaginator
(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) This is a variant oflistMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)
operation.default ListMemoriesIterable
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) default ListWorkloadIdentitiesResponse
listWorkloadIdentities
(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) Lists all workload identities in your account.default ListWorkloadIdentitiesResponse
listWorkloadIdentities
(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) Lists all workload identities in your account.default ListWorkloadIdentitiesIterable
listWorkloadIdentitiesPaginator
(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) This is a variant oflistWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)
operation.default ListWorkloadIdentitiesIterable
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., ClientOverrideConfigurationstatic ServiceMetadata
default SetTokenVaultCmkResponse
setTokenVaultCMK
(Consumer<SetTokenVaultCmkRequest.Builder> setTokenVaultCmkRequest) Sets the customer master key (CMK) for a token vault.default SetTokenVaultCmkResponse
setTokenVaultCMK
(SetTokenVaultCmkRequest setTokenVaultCmkRequest) Sets the customer master key (CMK) for a token vault.default UpdateAgentRuntimeResponse
updateAgentRuntime
(Consumer<UpdateAgentRuntimeRequest.Builder> updateAgentRuntimeRequest) Updates an existing Amazon Secure Agent.default UpdateAgentRuntimeResponse
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 UpdateGatewayResponse
updateGateway
(Consumer<UpdateGatewayRequest.Builder> updateGatewayRequest) Updates an existing Gateway.default UpdateGatewayResponse
updateGateway
(UpdateGatewayRequest updateGatewayRequest) Updates an existing Gateway.default UpdateGatewayTargetResponse
updateGatewayTarget
(Consumer<UpdateGatewayTargetRequest.Builder> updateGatewayTargetRequest) Updates an existing Gateway Target.default UpdateGatewayTargetResponse
updateGatewayTarget
(UpdateGatewayTargetRequest updateGatewayTargetRequest) Updates an existing Gateway Target.default UpdateMemoryResponse
updateMemory
(Consumer<UpdateMemoryRequest.Builder> updateMemoryRequest) Update memory.default 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.default UpdateWorkloadIdentityResponse
updateWorkloadIdentity
(Consumer<UpdateWorkloadIdentityRequest.Builder> updateWorkloadIdentityRequest) Updates an existing workload identity.default UpdateWorkloadIdentityResponse
updateWorkloadIdentity
(UpdateWorkloadIdentityRequest updateWorkloadIdentityRequest) Updates an existing workload identity.default BedrockAgentCoreControlWaiter
waiter()
Create an instance ofBedrockAgentCoreControlWaiter
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 CreateAgentRuntimeResponse createAgentRuntime(CreateAgentRuntimeRequest createAgentRuntimeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates an Amazon Secure Agent.
- Parameters:
createAgentRuntimeRequest
-- Returns:
- Result of the CreateAgentRuntime operation returned by the service.
- See Also:
-
createAgentRuntime
default CreateAgentRuntimeResponse createAgentRuntime(Consumer<CreateAgentRuntimeRequest.Builder> createAgentRuntimeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateAgentRuntime operation returned by the service.
- See Also:
-
createAgentRuntimeEndpoint
default CreateAgentRuntimeEndpointResponse createAgentRuntimeEndpoint(CreateAgentRuntimeEndpointRequest createAgentRuntimeEndpointRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates an Amazon Secure AgentEndpoint.
- Parameters:
createAgentRuntimeEndpointRequest
-- Returns:
- Result of the CreateAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
createAgentRuntimeEndpoint
default CreateAgentRuntimeEndpointResponse createAgentRuntimeEndpoint(Consumer<CreateAgentRuntimeEndpointRequest.Builder> createAgentRuntimeEndpointRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
createApiKeyCredentialProvider
default CreateApiKeyCredentialProviderResponse createApiKeyCredentialProvider(CreateApiKeyCredentialProviderRequest createApiKeyCredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ResourceLimitExceededException, ValidationException, ConflictException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a new API key credential provider.
- Parameters:
createApiKeyCredentialProviderRequest
-- Returns:
- Result of the CreateApiKeyCredentialProvider operation returned by the service.
- See Also:
-
createApiKeyCredentialProvider
default CreateApiKeyCredentialProviderResponse createApiKeyCredentialProvider(Consumer<CreateApiKeyCredentialProviderRequest.Builder> createApiKeyCredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ResourceLimitExceededException, ValidationException, ConflictException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateApiKeyCredentialProvider operation returned by the service.
- See Also:
-
createBrowser
default CreateBrowserResponse createBrowser(CreateBrowserRequest createBrowserRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a custom browser.
- Parameters:
createBrowserRequest
-- Returns:
- Result of the CreateBrowser operation returned by the service.
- See Also:
-
createBrowser
default CreateBrowserResponse createBrowser(Consumer<CreateBrowserRequest.Builder> createBrowserRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateBrowser operation returned by the service.
- See Also:
-
createCodeInterpreter
default CreateCodeInterpreterResponse createCodeInterpreter(CreateCodeInterpreterRequest createCodeInterpreterRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a custom code interpreter.
- Parameters:
createCodeInterpreterRequest
-- Returns:
- Result of the CreateCodeInterpreter operation returned by the service.
- See Also:
-
createCodeInterpreter
default CreateCodeInterpreterResponse createCodeInterpreter(Consumer<CreateCodeInterpreterRequest.Builder> createCodeInterpreterRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateCodeInterpreter operation returned by the service.
- See Also:
-
createGateway
default CreateGatewayResponse createGateway(CreateGatewayRequest createGatewayRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateGateway operation returned by the service.
- See Also:
-
createGateway
default CreateGatewayResponse createGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateGateway operation returned by the service.
- See Also:
-
createGatewayTarget
default CreateGatewayTargetResponse createGatewayTarget(CreateGatewayTargetRequest createGatewayTargetRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateGatewayTarget operation returned by the service.
- See Also:
-
createGatewayTarget
default CreateGatewayTargetResponse createGatewayTarget(Consumer<CreateGatewayTargetRequest.Builder> createGatewayTargetRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateGatewayTarget operation returned by the service.
- See Also:
-
createMemory
default CreateMemoryResponse createMemory(CreateMemoryRequest createMemoryRequest) throws ServiceQuotaExceededException, ServiceException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a new memory.
- Parameters:
createMemoryRequest
-- Returns:
- Result of the CreateMemory operation returned by the service.
- See Also:
-
createMemory
default CreateMemoryResponse createMemory(Consumer<CreateMemoryRequest.Builder> createMemoryRequest) throws ServiceQuotaExceededException, ServiceException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateMemory operation returned by the service.
- See Also:
-
createOauth2CredentialProvider
default CreateOauth2CredentialProviderResponse createOauth2CredentialProvider(CreateOauth2CredentialProviderRequest createOauth2CredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ResourceLimitExceededException, ValidationException, ConflictException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a new OAuth2 credential provider.
- Parameters:
createOauth2CredentialProviderRequest
-- Returns:
- Result of the CreateOauth2CredentialProvider operation returned by the service.
- See Also:
-
createOauth2CredentialProvider
default CreateOauth2CredentialProviderResponse createOauth2CredentialProvider(Consumer<CreateOauth2CredentialProviderRequest.Builder> createOauth2CredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ResourceLimitExceededException, ValidationException, ConflictException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateOauth2CredentialProvider operation returned by the service.
- See Also:
-
createWorkloadIdentity
default CreateWorkloadIdentityResponse createWorkloadIdentity(CreateWorkloadIdentityRequest createWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a new workload identity.
- Parameters:
createWorkloadIdentityRequest
-- Returns:
- Result of the CreateWorkloadIdentity operation returned by the service.
- See Also:
-
createWorkloadIdentity
default CreateWorkloadIdentityResponse createWorkloadIdentity(Consumer<CreateWorkloadIdentityRequest.Builder> createWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the CreateWorkloadIdentity operation returned by the service.
- See Also:
-
deleteAgentRuntime
default DeleteAgentRuntimeResponse deleteAgentRuntime(DeleteAgentRuntimeRequest deleteAgentRuntimeRequest) throws AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an Amazon Secure Agent.
- Parameters:
deleteAgentRuntimeRequest
-- Returns:
- Result of the DeleteAgentRuntime operation returned by the service.
- See Also:
-
deleteAgentRuntime
default DeleteAgentRuntimeResponse deleteAgentRuntime(Consumer<DeleteAgentRuntimeRequest.Builder> deleteAgentRuntimeRequest) throws AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteAgentRuntime operation returned by the service.
- See Also:
-
deleteAgentRuntimeEndpoint
default DeleteAgentRuntimeEndpointResponse deleteAgentRuntimeEndpoint(DeleteAgentRuntimeEndpointRequest deleteAgentRuntimeEndpointRequest) throws AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an Amazon Secure AgentEndpoint.
- Parameters:
deleteAgentRuntimeEndpointRequest
-- Returns:
- Result of the DeleteAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
deleteAgentRuntimeEndpoint
default DeleteAgentRuntimeEndpointResponse deleteAgentRuntimeEndpoint(Consumer<DeleteAgentRuntimeEndpointRequest.Builder> deleteAgentRuntimeEndpointRequest) throws AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
deleteApiKeyCredentialProvider
default DeleteApiKeyCredentialProviderResponse deleteApiKeyCredentialProvider(DeleteApiKeyCredentialProviderRequest deleteApiKeyCredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an API key credential provider.
- Parameters:
deleteApiKeyCredentialProviderRequest
-- Returns:
- Result of the DeleteApiKeyCredentialProvider operation returned by the service.
- See Also:
-
deleteApiKeyCredentialProvider
default DeleteApiKeyCredentialProviderResponse deleteApiKeyCredentialProvider(Consumer<DeleteApiKeyCredentialProviderRequest.Builder> deleteApiKeyCredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteApiKeyCredentialProvider operation returned by the service.
- See Also:
-
deleteBrowser
default DeleteBrowserResponse deleteBrowser(DeleteBrowserRequest deleteBrowserRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a custom browser.
- Parameters:
deleteBrowserRequest
-- Returns:
- Result of the DeleteBrowser operation returned by the service.
- See Also:
-
deleteBrowser
default DeleteBrowserResponse deleteBrowser(Consumer<DeleteBrowserRequest.Builder> deleteBrowserRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteBrowser operation returned by the service.
- See Also:
-
deleteCodeInterpreter
default DeleteCodeInterpreterResponse deleteCodeInterpreter(DeleteCodeInterpreterRequest deleteCodeInterpreterRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a custom code interpreter.
- Parameters:
deleteCodeInterpreterRequest
-- Returns:
- Result of the DeleteCodeInterpreter operation returned by the service.
- See Also:
-
deleteCodeInterpreter
default DeleteCodeInterpreterResponse deleteCodeInterpreter(Consumer<DeleteCodeInterpreterRequest.Builder> deleteCodeInterpreterRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteCodeInterpreter operation returned by the service.
- See Also:
-
deleteGateway
default DeleteGatewayResponse deleteGateway(DeleteGatewayRequest deleteGatewayRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a Gateway.
- Parameters:
deleteGatewayRequest
-- Returns:
- Result of the DeleteGateway operation returned by the service.
- See Also:
-
deleteGateway
default DeleteGatewayResponse deleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteGateway operation returned by the service.
- See Also:
-
deleteGatewayTarget
default DeleteGatewayTargetResponse deleteGatewayTarget(DeleteGatewayTargetRequest deleteGatewayTargetRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a Gateway Target.
- Parameters:
deleteGatewayTargetRequest
-- Returns:
- Result of the DeleteGatewayTarget operation returned by the service.
- See Also:
-
deleteGatewayTarget
default DeleteGatewayTargetResponse deleteGatewayTarget(Consumer<DeleteGatewayTargetRequest.Builder> deleteGatewayTargetRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteGatewayTarget operation returned by the service.
- See Also:
-
deleteMemory
default DeleteMemoryResponse deleteMemory(DeleteMemoryRequest deleteMemoryRequest) throws ServiceException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a memory.
- Parameters:
deleteMemoryRequest
-- Returns:
- Result of the DeleteMemory operation returned by the service.
- See Also:
-
deleteMemory
default DeleteMemoryResponse deleteMemory(Consumer<DeleteMemoryRequest.Builder> deleteMemoryRequest) throws ServiceException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteMemory operation returned by the service.
- See Also:
-
deleteOauth2CredentialProvider
default DeleteOauth2CredentialProviderResponse deleteOauth2CredentialProvider(DeleteOauth2CredentialProviderRequest deleteOauth2CredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an OAuth2 credential provider.
- Parameters:
deleteOauth2CredentialProviderRequest
-- Returns:
- Result of the DeleteOauth2CredentialProvider operation returned by the service.
- See Also:
-
deleteOauth2CredentialProvider
default DeleteOauth2CredentialProviderResponse deleteOauth2CredentialProvider(Consumer<DeleteOauth2CredentialProviderRequest.Builder> deleteOauth2CredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteOauth2CredentialProvider operation returned by the service.
- See Also:
-
deleteWorkloadIdentity
default DeleteWorkloadIdentityResponse deleteWorkloadIdentity(DeleteWorkloadIdentityRequest deleteWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a workload identity.
- Parameters:
deleteWorkloadIdentityRequest
-- Returns:
- Result of the DeleteWorkloadIdentity operation returned by the service.
- See Also:
-
deleteWorkloadIdentity
default DeleteWorkloadIdentityResponse deleteWorkloadIdentity(Consumer<DeleteWorkloadIdentityRequest.Builder> deleteWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the DeleteWorkloadIdentity operation returned by the service.
- See Also:
-
getAgentRuntime
default GetAgentRuntimeResponse getAgentRuntime(GetAgentRuntimeRequest getAgentRuntimeRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Gets an Amazon Secure Agent.
- Parameters:
getAgentRuntimeRequest
-- Returns:
- Result of the GetAgentRuntime operation returned by the service.
- See Also:
-
getAgentRuntime
default GetAgentRuntimeResponse getAgentRuntime(Consumer<GetAgentRuntimeRequest.Builder> getAgentRuntimeRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetAgentRuntime operation returned by the service.
- See Also:
-
getAgentRuntimeEndpoint
default GetAgentRuntimeEndpointResponse getAgentRuntimeEndpoint(GetAgentRuntimeEndpointRequest getAgentRuntimeEndpointRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Gets information about an Amazon Secure AgentEndpoint.
- Parameters:
getAgentRuntimeEndpointRequest
-- Returns:
- Result of the GetAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
getAgentRuntimeEndpoint
default GetAgentRuntimeEndpointResponse getAgentRuntimeEndpoint(Consumer<GetAgentRuntimeEndpointRequest.Builder> getAgentRuntimeEndpointRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
getApiKeyCredentialProvider
default GetApiKeyCredentialProviderResponse getApiKeyCredentialProvider(GetApiKeyCredentialProviderRequest getApiKeyCredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about an API key credential provider.
- Parameters:
getApiKeyCredentialProviderRequest
-- Returns:
- Result of the GetApiKeyCredentialProvider operation returned by the service.
- See Also:
-
getApiKeyCredentialProvider
default GetApiKeyCredentialProviderResponse getApiKeyCredentialProvider(Consumer<GetApiKeyCredentialProviderRequest.Builder> getApiKeyCredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetApiKeyCredentialProvider operation returned by the service.
- See Also:
-
getBrowser
default GetBrowserResponse getBrowser(GetBrowserRequest getBrowserRequest) throws ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Gets information about a custom browser.
- Parameters:
getBrowserRequest
-- Returns:
- Result of the GetBrowser operation returned by the service.
- See Also:
-
getBrowser
default GetBrowserResponse getBrowser(Consumer<GetBrowserRequest.Builder> getBrowserRequest) throws ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetBrowser operation returned by the service.
- See Also:
-
getCodeInterpreter
default GetCodeInterpreterResponse getCodeInterpreter(GetCodeInterpreterRequest getCodeInterpreterRequest) throws ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Gets information about a custom code interpreter.
- Parameters:
getCodeInterpreterRequest
-- Returns:
- Result of the GetCodeInterpreter operation returned by the service.
- See Also:
-
getCodeInterpreter
default GetCodeInterpreterResponse getCodeInterpreter(Consumer<GetCodeInterpreterRequest.Builder> getCodeInterpreterRequest) throws ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetCodeInterpreter operation returned by the service.
- See Also:
-
getGateway
default GetGatewayResponse getGateway(GetGatewayRequest getGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about a specific Gateway.
- Parameters:
getGatewayRequest
-- Returns:
- Result of the GetGateway operation returned by the service.
- See Also:
-
getGateway
default GetGatewayResponse getGateway(Consumer<GetGatewayRequest.Builder> getGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetGateway operation returned by the service.
- See Also:
-
getGatewayTarget
default GetGatewayTargetResponse getGatewayTarget(GetGatewayTargetRequest getGatewayTargetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about a specific Gateway Target.
- Parameters:
getGatewayTargetRequest
-- Returns:
- Result of the GetGatewayTarget operation returned by the service.
- See Also:
-
getGatewayTarget
default GetGatewayTargetResponse getGatewayTarget(Consumer<GetGatewayTargetRequest.Builder> getGatewayTargetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetGatewayTarget operation returned by the service.
- See Also:
-
getMemory
default GetMemoryResponse getMemory(GetMemoryRequest getMemoryRequest) throws ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieve an existing memory.
- Parameters:
getMemoryRequest
-- Returns:
- Result of the GetMemory operation returned by the service.
- See Also:
-
getMemory
default GetMemoryResponse getMemory(Consumer<GetMemoryRequest.Builder> getMemoryRequest) throws ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetMemory operation returned by the service.
- See Also:
-
getOauth2CredentialProvider
default GetOauth2CredentialProviderResponse getOauth2CredentialProvider(GetOauth2CredentialProviderRequest getOauth2CredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about an OAuth2 credential provider.
- Parameters:
getOauth2CredentialProviderRequest
-- Returns:
- Result of the GetOauth2CredentialProvider operation returned by the service.
- See Also:
-
getOauth2CredentialProvider
default GetOauth2CredentialProviderResponse getOauth2CredentialProvider(Consumer<GetOauth2CredentialProviderRequest.Builder> getOauth2CredentialProviderRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetOauth2CredentialProvider operation returned by the service.
- See Also:
-
getTokenVault
default GetTokenVaultResponse getTokenVault(GetTokenVaultRequest getTokenVaultRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about a token vault.
- Parameters:
getTokenVaultRequest
-- Returns:
- Result of the GetTokenVault operation returned by the service.
- See Also:
-
getTokenVault
default GetTokenVaultResponse getTokenVault(Consumer<GetTokenVaultRequest.Builder> getTokenVaultRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetTokenVault operation returned by the service.
- See Also:
-
getWorkloadIdentity
default GetWorkloadIdentityResponse getWorkloadIdentity(GetWorkloadIdentityRequest getWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about a workload identity.
- Parameters:
getWorkloadIdentityRequest
-- Returns:
- Result of the GetWorkloadIdentity operation returned by the service.
- See Also:
-
getWorkloadIdentity
default GetWorkloadIdentityResponse getWorkloadIdentity(Consumer<GetWorkloadIdentityRequest.Builder> getWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the GetWorkloadIdentity operation returned by the service.
- See Also:
-
listAgentRuntimeEndpoints
default ListAgentRuntimeEndpointsResponse listAgentRuntimeEndpoints(ListAgentRuntimeEndpointsRequest listAgentRuntimeEndpointsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all endpoints for a specific Amazon Secure Agent.
- Parameters:
listAgentRuntimeEndpointsRequest
-- Returns:
- Result of the ListAgentRuntimeEndpoints operation returned by the service.
- See Also:
-
listAgentRuntimeEndpoints
default ListAgentRuntimeEndpointsResponse listAgentRuntimeEndpoints(Consumer<ListAgentRuntimeEndpointsRequest.Builder> listAgentRuntimeEndpointsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListAgentRuntimeEndpoints operation returned by the service.
- See Also:
-
listAgentRuntimeEndpointsPaginator
default ListAgentRuntimeEndpointsIterable listAgentRuntimeEndpointsPaginator(ListAgentRuntimeEndpointsRequest listAgentRuntimeEndpointsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsIterable responses = client.listAgentRuntimeEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsIterable responses = client .listAgentRuntimeEndpointsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsIterable responses = client.listAgentRuntimeEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest)
operation.- Parameters:
listAgentRuntimeEndpointsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAgentRuntimeEndpointsPaginator
default ListAgentRuntimeEndpointsIterable listAgentRuntimeEndpointsPaginator(Consumer<ListAgentRuntimeEndpointsRequest.Builder> listAgentRuntimeEndpointsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listAgentRuntimeEndpoints(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsIterable responses = client.listAgentRuntimeEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsIterable responses = client .listAgentRuntimeEndpointsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeEndpointsIterable responses = client.listAgentRuntimeEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAgentRuntimeVersions
default ListAgentRuntimeVersionsResponse listAgentRuntimeVersions(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all versions of a specific Amazon Secure Agent.
- Parameters:
listAgentRuntimeVersionsRequest
-- Returns:
- Result of the ListAgentRuntimeVersions operation returned by the service.
- See Also:
-
listAgentRuntimeVersions
default ListAgentRuntimeVersionsResponse listAgentRuntimeVersions(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListAgentRuntimeVersions operation returned by the service.
- See Also:
-
listAgentRuntimeVersionsPaginator
default ListAgentRuntimeVersionsIterable listAgentRuntimeVersionsPaginator(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsIterable responses = client.listAgentRuntimeVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsIterable responses = client .listAgentRuntimeVersionsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsIterable responses = client.listAgentRuntimeVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)
operation.- Parameters:
listAgentRuntimeVersionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAgentRuntimeVersionsPaginator
default ListAgentRuntimeVersionsIterable listAgentRuntimeVersionsPaginator(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsIterable responses = client.listAgentRuntimeVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsIterable responses = client .listAgentRuntimeVersionsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimeVersionsIterable responses = client.listAgentRuntimeVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAgentRuntimes
default ListAgentRuntimesResponse listAgentRuntimes(ListAgentRuntimesRequest listAgentRuntimesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all Amazon Secure Agents in your account.
- Parameters:
listAgentRuntimesRequest
-- Returns:
- Result of the ListAgentRuntimes operation returned by the service.
- See Also:
-
listAgentRuntimes
default ListAgentRuntimesResponse listAgentRuntimes(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListAgentRuntimes operation returned by the service.
- See Also:
-
listAgentRuntimesPaginator
default ListAgentRuntimesIterable listAgentRuntimesPaginator(ListAgentRuntimesRequest listAgentRuntimesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesIterable responses = client.listAgentRuntimesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesIterable responses = client .listAgentRuntimesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesIterable responses = client.listAgentRuntimesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation.- Parameters:
listAgentRuntimesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAgentRuntimesPaginator
default ListAgentRuntimesIterable listAgentRuntimesPaginator(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesIterable responses = client.listAgentRuntimesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesIterable responses = client .listAgentRuntimesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListAgentRuntimesIterable responses = client.listAgentRuntimesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listApiKeyCredentialProviders
default ListApiKeyCredentialProvidersResponse listApiKeyCredentialProviders(ListApiKeyCredentialProvidersRequest listApiKeyCredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all API key credential providers in your account.
- Parameters:
listApiKeyCredentialProvidersRequest
-- Returns:
- Result of the ListApiKeyCredentialProviders operation returned by the service.
- See Also:
-
listApiKeyCredentialProviders
default ListApiKeyCredentialProvidersResponse listApiKeyCredentialProviders(Consumer<ListApiKeyCredentialProvidersRequest.Builder> listApiKeyCredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListApiKeyCredentialProviders operation returned by the service.
- See Also:
-
listApiKeyCredentialProvidersPaginator
default ListApiKeyCredentialProvidersIterable listApiKeyCredentialProvidersPaginator(ListApiKeyCredentialProvidersRequest listApiKeyCredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersIterable responses = client.listApiKeyCredentialProvidersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersIterable responses = client .listApiKeyCredentialProvidersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersIterable responses = client.listApiKeyCredentialProvidersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest)
operation.- Parameters:
listApiKeyCredentialProvidersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApiKeyCredentialProvidersPaginator
default ListApiKeyCredentialProvidersIterable listApiKeyCredentialProvidersPaginator(Consumer<ListApiKeyCredentialProvidersRequest.Builder> listApiKeyCredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listApiKeyCredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersIterable responses = client.listApiKeyCredentialProvidersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersIterable responses = client .listApiKeyCredentialProvidersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListApiKeyCredentialProvidersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListApiKeyCredentialProvidersIterable responses = client.listApiKeyCredentialProvidersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listBrowsers
default ListBrowsersResponse listBrowsers(ListBrowsersRequest listBrowsersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all custom browsers in your account.
- Parameters:
listBrowsersRequest
-- Returns:
- Result of the ListBrowsers operation returned by the service.
- See Also:
-
listBrowsers
default ListBrowsersResponse listBrowsers(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListBrowsers operation returned by the service.
- See Also:
-
listBrowsersPaginator
default ListBrowsersIterable listBrowsersPaginator(ListBrowsersRequest listBrowsersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersIterable responses = client.listBrowsersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersIterable responses = client .listBrowsersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersIterable responses = client.listBrowsersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation.- Parameters:
listBrowsersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBrowsersPaginator
default ListBrowsersIterable listBrowsersPaginator(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersIterable responses = client.listBrowsersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersIterable responses = client .listBrowsersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListBrowsersIterable responses = client.listBrowsersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeInterpreters
default ListCodeInterpretersResponse listCodeInterpreters(ListCodeInterpretersRequest listCodeInterpretersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all custom code interpreters in your account.
- Parameters:
listCodeInterpretersRequest
-- Returns:
- Result of the ListCodeInterpreters operation returned by the service.
- See Also:
-
listCodeInterpreters
default ListCodeInterpretersResponse listCodeInterpreters(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListCodeInterpreters operation returned by the service.
- See Also:
-
listCodeInterpretersPaginator
default ListCodeInterpretersIterable listCodeInterpretersPaginator(ListCodeInterpretersRequest listCodeInterpretersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersIterable responses = client.listCodeInterpretersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersIterable responses = client .listCodeInterpretersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersIterable responses = client.listCodeInterpretersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation.- Parameters:
listCodeInterpretersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeInterpretersPaginator
default ListCodeInterpretersIterable listCodeInterpretersPaginator(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersIterable responses = client.listCodeInterpretersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersIterable responses = client .listCodeInterpretersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListCodeInterpretersIterable responses = client.listCodeInterpretersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listGatewayTargets
default ListGatewayTargetsResponse listGatewayTargets(ListGatewayTargetsRequest listGatewayTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all targets for a specific Gateway.
- Parameters:
listGatewayTargetsRequest
-- Returns:
- Result of the ListGatewayTargets operation returned by the service.
- See Also:
-
listGatewayTargets
default ListGatewayTargetsResponse listGatewayTargets(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListGatewayTargets operation returned by the service.
- See Also:
-
listGatewayTargetsPaginator
default ListGatewayTargetsIterable listGatewayTargetsPaginator(ListGatewayTargetsRequest listGatewayTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsIterable responses = client.listGatewayTargetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsIterable responses = client .listGatewayTargetsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsIterable responses = client.listGatewayTargetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation.- Parameters:
listGatewayTargetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGatewayTargetsPaginator
default ListGatewayTargetsIterable listGatewayTargetsPaginator(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsIterable responses = client.listGatewayTargetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsIterable responses = client .listGatewayTargetsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewayTargetsIterable responses = client.listGatewayTargetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listGateways
default ListGatewaysResponse listGateways(ListGatewaysRequest listGatewaysRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all Gateways in the account.
- Parameters:
listGatewaysRequest
-- Returns:
- Result of the ListGateways operation returned by the service.
- See Also:
-
listGateways
default ListGatewaysResponse listGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListGateways operation returned by the service.
- See Also:
-
listGatewaysPaginator
default ListGatewaysIterable listGatewaysPaginator(ListGatewaysRequest listGatewaysRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysIterable responses = client .listGatewaysPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation.- Parameters:
listGatewaysRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGatewaysPaginator
default ListGatewaysIterable listGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysIterable responses = client .listGatewaysPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemories
default ListMemoriesResponse listMemories(ListMemoriesRequest listMemoriesRequest) throws ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists the memory present.
- Parameters:
listMemoriesRequest
-- Returns:
- Result of the ListMemories operation returned by the service.
- See Also:
-
listMemories
default ListMemoriesResponse listMemories(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) throws ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListMemories operation returned by the service.
- See Also:
-
listMemoriesPaginator
default ListMemoriesIterable listMemoriesPaginator(ListMemoriesRequest listMemoriesRequest) throws ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesIterable responses = client.listMemoriesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesIterable responses = client .listMemoriesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesIterable responses = client.listMemoriesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)
operation.- Parameters:
listMemoriesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemoriesPaginator
default ListMemoriesIterable listMemoriesPaginator(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) throws ServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesIterable responses = client.listMemoriesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesIterable responses = client .listMemoriesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListMemoriesIterable responses = client.listMemoriesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listOauth2CredentialProviders
default ListOauth2CredentialProvidersResponse listOauth2CredentialProviders(ListOauth2CredentialProvidersRequest listOauth2CredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all OAuth2 credential providers in your account.
- Parameters:
listOauth2CredentialProvidersRequest
-- Returns:
- Result of the ListOauth2CredentialProviders operation returned by the service.
- See Also:
-
listOauth2CredentialProviders
default ListOauth2CredentialProvidersResponse listOauth2CredentialProviders(Consumer<ListOauth2CredentialProvidersRequest.Builder> listOauth2CredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListOauth2CredentialProviders operation returned by the service.
- See Also:
-
listOauth2CredentialProvidersPaginator
default ListOauth2CredentialProvidersIterable listOauth2CredentialProvidersPaginator(ListOauth2CredentialProvidersRequest listOauth2CredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersIterable responses = client.listOauth2CredentialProvidersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersIterable responses = client .listOauth2CredentialProvidersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersIterable responses = client.listOauth2CredentialProvidersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest)
operation.- Parameters:
listOauth2CredentialProvidersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOauth2CredentialProvidersPaginator
default ListOauth2CredentialProvidersIterable listOauth2CredentialProvidersPaginator(Consumer<ListOauth2CredentialProvidersRequest.Builder> listOauth2CredentialProvidersRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listOauth2CredentialProviders(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersIterable responses = client.listOauth2CredentialProvidersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersIterable responses = client .listOauth2CredentialProvidersPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOauth2CredentialProvidersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOauth2CredentialProvidersIterable responses = client.listOauth2CredentialProvidersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkloadIdentities
default ListWorkloadIdentitiesResponse listWorkloadIdentities(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all workload identities in your account.
- Parameters:
listWorkloadIdentitiesRequest
-- Returns:
- Result of the ListWorkloadIdentities operation returned by the service.
- See Also:
-
listWorkloadIdentities
default ListWorkloadIdentitiesResponse listWorkloadIdentities(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the ListWorkloadIdentities operation returned by the service.
- See Also:
-
listWorkloadIdentitiesPaginator
default ListWorkloadIdentitiesIterable listWorkloadIdentitiesPaginator(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesIterable responses = client.listWorkloadIdentitiesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesIterable responses = client .listWorkloadIdentitiesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesIterable responses = client.listWorkloadIdentitiesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)
operation.- Parameters:
listWorkloadIdentitiesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkloadIdentitiesPaginator
default ListWorkloadIdentitiesIterable listWorkloadIdentitiesPaginator(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesIterable responses = client.listWorkloadIdentitiesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesIterable responses = client .listWorkloadIdentitiesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListWorkloadIdentitiesIterable responses = client.listWorkloadIdentitiesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
setTokenVaultCMK
default SetTokenVaultCmkResponse setTokenVaultCMK(SetTokenVaultCmkRequest setTokenVaultCmkRequest) throws UnauthorizedException, ConcurrentModificationException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Sets the customer master key (CMK) for a token vault.
- Parameters:
setTokenVaultCmkRequest
-- Returns:
- Result of the SetTokenVaultCMK operation returned by the service.
- See Also:
-
setTokenVaultCMK
default SetTokenVaultCmkResponse setTokenVaultCMK(Consumer<SetTokenVaultCmkRequest.Builder> setTokenVaultCmkRequest) throws UnauthorizedException, ConcurrentModificationException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the SetTokenVaultCMK operation returned by the service.
- See Also:
-
updateAgentRuntime
default UpdateAgentRuntimeResponse updateAgentRuntime(UpdateAgentRuntimeRequest updateAgentRuntimeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing Amazon Secure Agent.
- Parameters:
updateAgentRuntimeRequest
-- Returns:
- Result of the UpdateAgentRuntime operation returned by the service.
- See Also:
-
updateAgentRuntime
default UpdateAgentRuntimeResponse updateAgentRuntime(Consumer<UpdateAgentRuntimeRequest.Builder> updateAgentRuntimeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateAgentRuntime operation returned by the service.
- See Also:
-
updateAgentRuntimeEndpoint
default UpdateAgentRuntimeEndpointResponse updateAgentRuntimeEndpoint(UpdateAgentRuntimeEndpointRequest updateAgentRuntimeEndpointRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing Amazon Secure AgentEndpoint.
- Parameters:
updateAgentRuntimeEndpointRequest
-- Returns:
- Result of the UpdateAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
updateAgentRuntimeEndpoint
default UpdateAgentRuntimeEndpointResponse updateAgentRuntimeEndpoint(Consumer<UpdateAgentRuntimeEndpointRequest.Builder> updateAgentRuntimeEndpointRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateAgentRuntimeEndpoint operation returned by the service.
- See Also:
-
updateApiKeyCredentialProvider
default UpdateApiKeyCredentialProviderResponse updateApiKeyCredentialProvider(UpdateApiKeyCredentialProviderRequest updateApiKeyCredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing API key credential provider.
- Parameters:
updateApiKeyCredentialProviderRequest
-- Returns:
- Result of the UpdateApiKeyCredentialProvider operation returned by the service.
- See Also:
-
updateApiKeyCredentialProvider
default UpdateApiKeyCredentialProviderResponse updateApiKeyCredentialProvider(Consumer<UpdateApiKeyCredentialProviderRequest.Builder> updateApiKeyCredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateApiKeyCredentialProvider operation returned by the service.
- See Also:
-
updateGateway
default UpdateGatewayResponse updateGateway(UpdateGatewayRequest updateGatewayRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing Gateway.
- Parameters:
updateGatewayRequest
-- Returns:
- Result of the UpdateGateway operation returned by the service.
- See Also:
-
updateGateway
default UpdateGatewayResponse updateGateway(Consumer<UpdateGatewayRequest.Builder> updateGatewayRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateGateway operation returned by the service.
- See Also:
-
updateGatewayTarget
default UpdateGatewayTargetResponse updateGatewayTarget(UpdateGatewayTargetRequest updateGatewayTargetRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing Gateway Target.
- Parameters:
updateGatewayTargetRequest
-- Returns:
- Result of the UpdateGatewayTarget operation returned by the service.
- See Also:
-
updateGatewayTarget
default UpdateGatewayTargetResponse updateGatewayTarget(Consumer<UpdateGatewayTargetRequest.Builder> updateGatewayTargetRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateGatewayTarget operation returned by the service.
- See Also:
-
updateMemory
default UpdateMemoryResponse updateMemory(UpdateMemoryRequest updateMemoryRequest) throws ServiceException, ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Update memory.
- Parameters:
updateMemoryRequest
-- Returns:
- Result of the UpdateMemory operation returned by the service.
- See Also:
-
updateMemory
default UpdateMemoryResponse updateMemory(Consumer<UpdateMemoryRequest.Builder> updateMemoryRequest) throws ServiceException, ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateMemory operation returned by the service.
- See Also:
-
updateOauth2CredentialProvider
default UpdateOauth2CredentialProviderResponse updateOauth2CredentialProvider(UpdateOauth2CredentialProviderRequest updateOauth2CredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing OAuth2 credential provider.
- Parameters:
updateOauth2CredentialProviderRequest
-- Returns:
- Result of the UpdateOauth2CredentialProvider operation returned by the service.
- See Also:
-
updateOauth2CredentialProvider
default UpdateOauth2CredentialProviderResponse updateOauth2CredentialProvider(Consumer<UpdateOauth2CredentialProviderRequest.Builder> updateOauth2CredentialProviderRequest) throws ServiceQuotaExceededException, UnauthorizedException, ValidationException, AccessDeniedException, ConflictException, DecryptionFailureException, ResourceNotFoundException, ThrottlingException, InternalServerException, EncryptionFailureException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateOauth2CredentialProvider operation returned by the service.
- See Also:
-
updateWorkloadIdentity
default UpdateWorkloadIdentityResponse updateWorkloadIdentity(UpdateWorkloadIdentityRequest updateWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing workload identity.
- Parameters:
updateWorkloadIdentityRequest
-- Returns:
- Result of the UpdateWorkloadIdentity operation returned by the service.
- See Also:
-
updateWorkloadIdentity
default UpdateWorkloadIdentityResponse updateWorkloadIdentity(Consumer<UpdateWorkloadIdentityRequest.Builder> updateWorkloadIdentityRequest) throws UnauthorizedException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException 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:
- Result of the UpdateWorkloadIdentity operation returned by the service.
- See Also:
-
waiter
Create an instance ofBedrockAgentCoreControlWaiter
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
BedrockAgentCoreControlWaiter
-
create
Create aBedrockAgentCoreControlClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aBedrockAgentCoreControlClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-