Interface BedrockAgentCoreControlClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Welcome to the Amazon Bedrock AgentCore Control plane API reference. Control plane actions configure, create, modify, and monitor Amazon Web Services resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 aBedrockAgentCoreControlClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAgentRuntimeResponsecreateAgentRuntime(Consumer<CreateAgentRuntimeRequest.Builder> createAgentRuntimeRequest) Creates an Amazon Bedrock AgentCore Runtime.default CreateAgentRuntimeResponsecreateAgentRuntime(CreateAgentRuntimeRequest createAgentRuntimeRequest) Creates an Amazon Bedrock AgentCore Runtime.createAgentRuntimeEndpoint(Consumer<CreateAgentRuntimeEndpointRequest.Builder> createAgentRuntimeEndpointRequest) Creates an AgentCore Runtime endpoint.createAgentRuntimeEndpoint(CreateAgentRuntimeEndpointRequest createAgentRuntimeEndpointRequest) Creates an AgentCore Runtime endpoint.createApiKeyCredentialProvider(Consumer<CreateApiKeyCredentialProviderRequest.Builder> createApiKeyCredentialProviderRequest) Creates a new API key credential provider.createApiKeyCredentialProvider(CreateApiKeyCredentialProviderRequest createApiKeyCredentialProviderRequest) Creates a new API key credential provider.default CreateBrowserResponsecreateBrowser(Consumer<CreateBrowserRequest.Builder> createBrowserRequest) Creates a custom browser.default CreateBrowserResponsecreateBrowser(CreateBrowserRequest createBrowserRequest) Creates a custom browser.default CreateCodeInterpreterResponsecreateCodeInterpreter(Consumer<CreateCodeInterpreterRequest.Builder> createCodeInterpreterRequest) Creates a custom code interpreter.default CreateCodeInterpreterResponsecreateCodeInterpreter(CreateCodeInterpreterRequest createCodeInterpreterRequest) Creates a custom code interpreter.default CreateEvaluatorResponsecreateEvaluator(Consumer<CreateEvaluatorRequest.Builder> createEvaluatorRequest) Creates a custom evaluator for agent quality assessment.default CreateEvaluatorResponsecreateEvaluator(CreateEvaluatorRequest createEvaluatorRequest) Creates a custom evaluator for agent quality assessment.default CreateGatewayResponsecreateGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a gateway for Amazon Bedrock Agent.default CreateGatewayResponsecreateGateway(CreateGatewayRequest createGatewayRequest) Creates a gateway for Amazon Bedrock Agent.default CreateGatewayTargetResponsecreateGatewayTarget(Consumer<CreateGatewayTargetRequest.Builder> createGatewayTargetRequest) Creates a target for a gateway.default CreateGatewayTargetResponsecreateGatewayTarget(CreateGatewayTargetRequest createGatewayTargetRequest) Creates a target for a gateway.default CreateMemoryResponsecreateMemory(Consumer<CreateMemoryRequest.Builder> createMemoryRequest) Creates a new Amazon Bedrock AgentCore Memory resource.default CreateMemoryResponsecreateMemory(CreateMemoryRequest createMemoryRequest) Creates a new Amazon Bedrock AgentCore Memory resource.createOauth2CredentialProvider(Consumer<CreateOauth2CredentialProviderRequest.Builder> createOauth2CredentialProviderRequest) Creates a new OAuth2 credential provider.createOauth2CredentialProvider(CreateOauth2CredentialProviderRequest createOauth2CredentialProviderRequest) Creates a new OAuth2 credential provider.createOnlineEvaluationConfig(Consumer<CreateOnlineEvaluationConfigRequest.Builder> createOnlineEvaluationConfigRequest) Creates an online evaluation configuration for continuous monitoring of agent performance.createOnlineEvaluationConfig(CreateOnlineEvaluationConfigRequest createOnlineEvaluationConfigRequest) Creates an online evaluation configuration for continuous monitoring of agent performance.default CreatePolicyResponsecreatePolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a policy within the AgentCore Policy system.default CreatePolicyResponsecreatePolicy(CreatePolicyRequest createPolicyRequest) Creates a policy within the AgentCore Policy system.default CreatePolicyEngineResponsecreatePolicyEngine(Consumer<CreatePolicyEngineRequest.Builder> createPolicyEngineRequest) Creates a new policy engine within the AgentCore Policy system.default CreatePolicyEngineResponsecreatePolicyEngine(CreatePolicyEngineRequest createPolicyEngineRequest) Creates a new policy engine within the AgentCore Policy system.default CreateWorkloadIdentityResponsecreateWorkloadIdentity(Consumer<CreateWorkloadIdentityRequest.Builder> createWorkloadIdentityRequest) Creates a new workload identity.default CreateWorkloadIdentityResponsecreateWorkloadIdentity(CreateWorkloadIdentityRequest createWorkloadIdentityRequest) Creates a new workload identity.default DeleteAgentRuntimeResponsedeleteAgentRuntime(Consumer<DeleteAgentRuntimeRequest.Builder> deleteAgentRuntimeRequest) Deletes an Amazon Bedrock AgentCore Runtime.default DeleteAgentRuntimeResponsedeleteAgentRuntime(DeleteAgentRuntimeRequest deleteAgentRuntimeRequest) Deletes an Amazon Bedrock AgentCore Runtime.deleteAgentRuntimeEndpoint(Consumer<DeleteAgentRuntimeEndpointRequest.Builder> deleteAgentRuntimeEndpointRequest) Deletes an AAgentCore Runtime endpoint.deleteAgentRuntimeEndpoint(DeleteAgentRuntimeEndpointRequest deleteAgentRuntimeEndpointRequest) Deletes an AAgentCore Runtime endpoint.deleteApiKeyCredentialProvider(Consumer<DeleteApiKeyCredentialProviderRequest.Builder> deleteApiKeyCredentialProviderRequest) Deletes an API key credential provider.deleteApiKeyCredentialProvider(DeleteApiKeyCredentialProviderRequest deleteApiKeyCredentialProviderRequest) Deletes an API key credential provider.default DeleteBrowserResponsedeleteBrowser(Consumer<DeleteBrowserRequest.Builder> deleteBrowserRequest) Deletes a custom browser.default DeleteBrowserResponsedeleteBrowser(DeleteBrowserRequest deleteBrowserRequest) Deletes a custom browser.default DeleteCodeInterpreterResponsedeleteCodeInterpreter(Consumer<DeleteCodeInterpreterRequest.Builder> deleteCodeInterpreterRequest) Deletes a custom code interpreter.default DeleteCodeInterpreterResponsedeleteCodeInterpreter(DeleteCodeInterpreterRequest deleteCodeInterpreterRequest) Deletes a custom code interpreter.default DeleteEvaluatorResponsedeleteEvaluator(Consumer<DeleteEvaluatorRequest.Builder> deleteEvaluatorRequest) Deletes a custom evaluator.default DeleteEvaluatorResponsedeleteEvaluator(DeleteEvaluatorRequest deleteEvaluatorRequest) Deletes a custom evaluator.default DeleteGatewayResponsedeleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a gateway.default DeleteGatewayResponsedeleteGateway(DeleteGatewayRequest deleteGatewayRequest) Deletes a gateway.default DeleteGatewayTargetResponsedeleteGatewayTarget(Consumer<DeleteGatewayTargetRequest.Builder> deleteGatewayTargetRequest) Deletes a gateway target.default DeleteGatewayTargetResponsedeleteGatewayTarget(DeleteGatewayTargetRequest deleteGatewayTargetRequest) Deletes a gateway target.default DeleteMemoryResponsedeleteMemory(Consumer<DeleteMemoryRequest.Builder> deleteMemoryRequest) Deletes an Amazon Bedrock AgentCore Memory resource.default DeleteMemoryResponsedeleteMemory(DeleteMemoryRequest deleteMemoryRequest) Deletes an Amazon Bedrock AgentCore Memory resource.deleteOauth2CredentialProvider(Consumer<DeleteOauth2CredentialProviderRequest.Builder> deleteOauth2CredentialProviderRequest) Deletes an OAuth2 credential provider.deleteOauth2CredentialProvider(DeleteOauth2CredentialProviderRequest deleteOauth2CredentialProviderRequest) Deletes an OAuth2 credential provider.deleteOnlineEvaluationConfig(Consumer<DeleteOnlineEvaluationConfigRequest.Builder> deleteOnlineEvaluationConfigRequest) Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.deleteOnlineEvaluationConfig(DeleteOnlineEvaluationConfigRequest deleteOnlineEvaluationConfigRequest) Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.default DeletePolicyResponsedeletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes an existing policy from the AgentCore Policy system.default DeletePolicyResponsedeletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes an existing policy from the AgentCore Policy system.default DeletePolicyEngineResponsedeletePolicyEngine(Consumer<DeletePolicyEngineRequest.Builder> deletePolicyEngineRequest) Deletes an existing policy engine from the AgentCore Policy system.default DeletePolicyEngineResponsedeletePolicyEngine(DeletePolicyEngineRequest deletePolicyEngineRequest) Deletes an existing policy engine from the AgentCore Policy system.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes the resource-based policy for a specified resource.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes the resource-based policy for a specified resource.default DeleteWorkloadIdentityResponsedeleteWorkloadIdentity(Consumer<DeleteWorkloadIdentityRequest.Builder> deleteWorkloadIdentityRequest) Deletes a workload identity.default DeleteWorkloadIdentityResponsedeleteWorkloadIdentity(DeleteWorkloadIdentityRequest deleteWorkloadIdentityRequest) Deletes a workload identity.default GetAgentRuntimeResponsegetAgentRuntime(Consumer<GetAgentRuntimeRequest.Builder> getAgentRuntimeRequest) Gets an Amazon Bedrock AgentCore Runtime.default GetAgentRuntimeResponsegetAgentRuntime(GetAgentRuntimeRequest getAgentRuntimeRequest) Gets an Amazon Bedrock AgentCore Runtime.default GetAgentRuntimeEndpointResponsegetAgentRuntimeEndpoint(Consumer<GetAgentRuntimeEndpointRequest.Builder> getAgentRuntimeEndpointRequest) Gets information about an Amazon Secure AgentEndpoint.default GetAgentRuntimeEndpointResponsegetAgentRuntimeEndpoint(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 GetBrowserResponsegetBrowser(Consumer<GetBrowserRequest.Builder> getBrowserRequest) Gets information about a custom browser.default GetBrowserResponsegetBrowser(GetBrowserRequest getBrowserRequest) Gets information about a custom browser.default GetCodeInterpreterResponsegetCodeInterpreter(Consumer<GetCodeInterpreterRequest.Builder> getCodeInterpreterRequest) Gets information about a custom code interpreter.default GetCodeInterpreterResponsegetCodeInterpreter(GetCodeInterpreterRequest getCodeInterpreterRequest) Gets information about a custom code interpreter.default GetEvaluatorResponsegetEvaluator(Consumer<GetEvaluatorRequest.Builder> getEvaluatorRequest) Retrieves detailed information about an evaluator, including its configuration, status, and metadata.default GetEvaluatorResponsegetEvaluator(GetEvaluatorRequest getEvaluatorRequest) Retrieves detailed information about an evaluator, including its configuration, status, and metadata.default GetGatewayResponsegetGateway(Consumer<GetGatewayRequest.Builder> getGatewayRequest) Retrieves information about a specific Gateway.default GetGatewayResponsegetGateway(GetGatewayRequest getGatewayRequest) Retrieves information about a specific Gateway.default GetGatewayTargetResponsegetGatewayTarget(Consumer<GetGatewayTargetRequest.Builder> getGatewayTargetRequest) Retrieves information about a specific gateway target.default GetGatewayTargetResponsegetGatewayTarget(GetGatewayTargetRequest getGatewayTargetRequest) Retrieves information about a specific gateway target.default GetMemoryResponsegetMemory(Consumer<GetMemoryRequest.Builder> getMemoryRequest) Retrieve an existing Amazon Bedrock AgentCore Memory resource.default GetMemoryResponsegetMemory(GetMemoryRequest getMemoryRequest) Retrieve an existing Amazon Bedrock AgentCore Memory resource.getOauth2CredentialProvider(Consumer<GetOauth2CredentialProviderRequest.Builder> getOauth2CredentialProviderRequest) Retrieves information about an OAuth2 credential provider.getOauth2CredentialProvider(GetOauth2CredentialProviderRequest getOauth2CredentialProviderRequest) Retrieves information about an OAuth2 credential provider.getOnlineEvaluationConfig(Consumer<GetOnlineEvaluationConfigRequest.Builder> getOnlineEvaluationConfigRequest) Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.getOnlineEvaluationConfig(GetOnlineEvaluationConfigRequest getOnlineEvaluationConfigRequest) Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.default GetPolicyResponsegetPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves detailed information about a specific policy within the AgentCore Policy system.default GetPolicyResponsegetPolicy(GetPolicyRequest getPolicyRequest) Retrieves detailed information about a specific policy within the AgentCore Policy system.default GetPolicyEngineResponsegetPolicyEngine(Consumer<GetPolicyEngineRequest.Builder> getPolicyEngineRequest) Retrieves detailed information about a specific policy engine within the AgentCore Policy system.default GetPolicyEngineResponsegetPolicyEngine(GetPolicyEngineRequest getPolicyEngineRequest) Retrieves detailed information about a specific policy engine within the AgentCore Policy system.default GetPolicyGenerationResponsegetPolicyGeneration(Consumer<GetPolicyGenerationRequest.Builder> getPolicyGenerationRequest) Retrieves information about a policy generation request within the AgentCore Policy system.default GetPolicyGenerationResponsegetPolicyGeneration(GetPolicyGenerationRequest getPolicyGenerationRequest) Retrieves information about a policy generation request within the AgentCore Policy system.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy for a specified resource.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy for a specified resource.default GetTokenVaultResponsegetTokenVault(Consumer<GetTokenVaultRequest.Builder> getTokenVaultRequest) Retrieves information about a token vault.default GetTokenVaultResponsegetTokenVault(GetTokenVaultRequest getTokenVaultRequest) Retrieves information about a token vault.default GetWorkloadIdentityResponsegetWorkloadIdentity(Consumer<GetWorkloadIdentityRequest.Builder> getWorkloadIdentityRequest) Retrieves information about a workload identity.default GetWorkloadIdentityResponsegetWorkloadIdentity(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 ListAgentRuntimesResponselistAgentRuntimes(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) Lists all Amazon Secure Agents in your account.default ListAgentRuntimesResponselistAgentRuntimes(ListAgentRuntimesRequest listAgentRuntimesRequest) Lists all Amazon Secure Agents in your account.default ListAgentRuntimesIterablelistAgentRuntimesPaginator(Consumer<ListAgentRuntimesRequest.Builder> listAgentRuntimesRequest) This is a variant oflistAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)operation.default ListAgentRuntimesIterablelistAgentRuntimesPaginator(ListAgentRuntimesRequest listAgentRuntimesRequest) This is a variant oflistAgentRuntimes(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimesRequest)operation.default ListAgentRuntimeVersionsResponselistAgentRuntimeVersions(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) Lists all versions of a specific Amazon Secure Agent.default ListAgentRuntimeVersionsResponselistAgentRuntimeVersions(ListAgentRuntimeVersionsRequest listAgentRuntimeVersionsRequest) Lists all versions of a specific Amazon Secure Agent.default ListAgentRuntimeVersionsIterablelistAgentRuntimeVersionsPaginator(Consumer<ListAgentRuntimeVersionsRequest.Builder> listAgentRuntimeVersionsRequest) This is a variant oflistAgentRuntimeVersions(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListAgentRuntimeVersionsRequest)operation.default ListAgentRuntimeVersionsIterablelistAgentRuntimeVersionsPaginator(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 ListBrowsersResponselistBrowsers(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) Lists all custom browsers in your account.default ListBrowsersResponselistBrowsers(ListBrowsersRequest listBrowsersRequest) Lists all custom browsers in your account.default ListBrowsersIterablelistBrowsersPaginator(Consumer<ListBrowsersRequest.Builder> listBrowsersRequest) This is a variant oflistBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)operation.default ListBrowsersIterablelistBrowsersPaginator(ListBrowsersRequest listBrowsersRequest) This is a variant oflistBrowsers(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListBrowsersRequest)operation.default ListCodeInterpretersResponselistCodeInterpreters(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) Lists all custom code interpreters in your account.default ListCodeInterpretersResponselistCodeInterpreters(ListCodeInterpretersRequest listCodeInterpretersRequest) Lists all custom code interpreters in your account.default ListCodeInterpretersIterablelistCodeInterpretersPaginator(Consumer<ListCodeInterpretersRequest.Builder> listCodeInterpretersRequest) This is a variant oflistCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)operation.default ListCodeInterpretersIterablelistCodeInterpretersPaginator(ListCodeInterpretersRequest listCodeInterpretersRequest) This is a variant oflistCodeInterpreters(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListCodeInterpretersRequest)operation.default ListEvaluatorsResponselistEvaluators(Consumer<ListEvaluatorsRequest.Builder> listEvaluatorsRequest) Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.default ListEvaluatorsResponselistEvaluators(ListEvaluatorsRequest listEvaluatorsRequest) Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.default ListEvaluatorsIterablelistEvaluatorsPaginator(Consumer<ListEvaluatorsRequest.Builder> listEvaluatorsRequest) This is a variant oflistEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest)operation.default ListEvaluatorsIterablelistEvaluatorsPaginator(ListEvaluatorsRequest listEvaluatorsRequest) This is a variant oflistEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest)operation.default ListGatewaysResponselistGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Lists all gateways in the account.default ListGatewaysResponselistGateways(ListGatewaysRequest listGatewaysRequest) Lists all gateways in the account.default ListGatewaysIterablelistGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)operation.default ListGatewaysIterablelistGatewaysPaginator(ListGatewaysRequest listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewaysRequest)operation.default ListGatewayTargetsResponselistGatewayTargets(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) Lists all targets for a specific gateway.default ListGatewayTargetsResponselistGatewayTargets(ListGatewayTargetsRequest listGatewayTargetsRequest) Lists all targets for a specific gateway.default ListGatewayTargetsIterablelistGatewayTargetsPaginator(Consumer<ListGatewayTargetsRequest.Builder> listGatewayTargetsRequest) This is a variant oflistGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)operation.default ListGatewayTargetsIterablelistGatewayTargetsPaginator(ListGatewayTargetsRequest listGatewayTargetsRequest) This is a variant oflistGatewayTargets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListGatewayTargetsRequest)operation.default ListMemoriesResponselistMemories(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.default ListMemoriesResponselistMemories(ListMemoriesRequest listMemoriesRequest) Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.default ListMemoriesIterablelistMemoriesPaginator(Consumer<ListMemoriesRequest.Builder> listMemoriesRequest) This is a variant oflistMemories(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListMemoriesRequest)operation.default ListMemoriesIterablelistMemoriesPaginator(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) listOnlineEvaluationConfigs(Consumer<ListOnlineEvaluationConfigsRequest.Builder> listOnlineEvaluationConfigsRequest) Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.listOnlineEvaluationConfigs(ListOnlineEvaluationConfigsRequest listOnlineEvaluationConfigsRequest) Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.listOnlineEvaluationConfigsPaginator(Consumer<ListOnlineEvaluationConfigsRequest.Builder> listOnlineEvaluationConfigsRequest) This is a variant oflistOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest)operation.listOnlineEvaluationConfigsPaginator(ListOnlineEvaluationConfigsRequest listOnlineEvaluationConfigsRequest) This is a variant oflistOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest)operation.default ListPoliciesResponselistPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Retrieves a list of policies within the AgentCore Policy engine.default ListPoliciesResponselistPolicies(ListPoliciesRequest listPoliciesRequest) Retrieves a list of policies within the AgentCore Policy engine.default ListPoliciesIterablelistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest)operation.default ListPoliciesIterablelistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest)operation.default ListPolicyEnginesResponselistPolicyEngines(Consumer<ListPolicyEnginesRequest.Builder> listPolicyEnginesRequest) Retrieves a list of policy engines within the AgentCore Policy system.default ListPolicyEnginesResponselistPolicyEngines(ListPolicyEnginesRequest listPolicyEnginesRequest) Retrieves a list of policy engines within the AgentCore Policy system.default ListPolicyEnginesIterablelistPolicyEnginesPaginator(Consumer<ListPolicyEnginesRequest.Builder> listPolicyEnginesRequest) This is a variant oflistPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest)operation.default ListPolicyEnginesIterablelistPolicyEnginesPaginator(ListPolicyEnginesRequest listPolicyEnginesRequest) This is a variant oflistPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest)operation.listPolicyGenerationAssets(Consumer<ListPolicyGenerationAssetsRequest.Builder> listPolicyGenerationAssetsRequest) Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system.listPolicyGenerationAssets(ListPolicyGenerationAssetsRequest listPolicyGenerationAssetsRequest) Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system.listPolicyGenerationAssetsPaginator(Consumer<ListPolicyGenerationAssetsRequest.Builder> listPolicyGenerationAssetsRequest) This is a variant oflistPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest)operation.listPolicyGenerationAssetsPaginator(ListPolicyGenerationAssetsRequest listPolicyGenerationAssetsRequest) This is a variant oflistPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest)operation.default ListPolicyGenerationsResponselistPolicyGenerations(Consumer<ListPolicyGenerationsRequest.Builder> listPolicyGenerationsRequest) Retrieves a list of policy generation requests within the AgentCore Policy system.default ListPolicyGenerationsResponselistPolicyGenerations(ListPolicyGenerationsRequest listPolicyGenerationsRequest) Retrieves a list of policy generation requests within the AgentCore Policy system.default ListPolicyGenerationsIterablelistPolicyGenerationsPaginator(Consumer<ListPolicyGenerationsRequest.Builder> listPolicyGenerationsRequest) This is a variant oflistPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest)operation.default ListPolicyGenerationsIterablelistPolicyGenerationsPaginator(ListPolicyGenerationsRequest listPolicyGenerationsRequest) This is a variant oflistPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with the specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with the specified resource.default ListWorkloadIdentitiesResponselistWorkloadIdentities(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) Lists all workload identities in your account.default ListWorkloadIdentitiesResponselistWorkloadIdentities(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) Lists all workload identities in your account.default ListWorkloadIdentitiesIterablelistWorkloadIdentitiesPaginator(Consumer<ListWorkloadIdentitiesRequest.Builder> listWorkloadIdentitiesRequest) This is a variant oflistWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)operation.default ListWorkloadIdentitiesIterablelistWorkloadIdentitiesPaginator(ListWorkloadIdentitiesRequest listWorkloadIdentitiesRequest) This is a variant oflistWorkloadIdentities(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListWorkloadIdentitiesRequest)operation.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or updates a resource-based policy for a resource with the specified resourceArn.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Creates or updates a resource-based policy for a resource with the specified resourceArn.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault SetTokenVaultCmkResponsesetTokenVaultCMK(Consumer<SetTokenVaultCmkRequest.Builder> setTokenVaultCmkRequest) Sets the customer master key (CMK) for a token vault.default SetTokenVaultCmkResponsesetTokenVaultCMK(SetTokenVaultCmkRequest setTokenVaultCmkRequest) Sets the customer master key (CMK) for a token vault.default StartPolicyGenerationResponsestartPolicyGeneration(Consumer<StartPolicyGenerationRequest.Builder> startPolicyGenerationRequest) Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system.default StartPolicyGenerationResponsestartPolicyGeneration(StartPolicyGenerationRequest startPolicyGenerationRequest) Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system.synchronizeGatewayTargets(Consumer<SynchronizeGatewayTargetsRequest.Builder> synchronizeGatewayTargetsRequest) The gateway targets.synchronizeGatewayTargets(SynchronizeGatewayTargetsRequest synchronizeGatewayTargetsRequest) The gateway targets.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specified resourceArn.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specified resourceArn.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.default UpdateAgentRuntimeResponseupdateAgentRuntime(Consumer<UpdateAgentRuntimeRequest.Builder> updateAgentRuntimeRequest) Updates an existing Amazon Secure Agent.default UpdateAgentRuntimeResponseupdateAgentRuntime(UpdateAgentRuntimeRequest updateAgentRuntimeRequest) Updates an existing Amazon Secure Agent.updateAgentRuntimeEndpoint(Consumer<UpdateAgentRuntimeEndpointRequest.Builder> updateAgentRuntimeEndpointRequest) Updates an existing Amazon Bedrock AgentCore Runtime endpoint.updateAgentRuntimeEndpoint(UpdateAgentRuntimeEndpointRequest updateAgentRuntimeEndpointRequest) Updates an existing Amazon Bedrock AgentCore Runtime endpoint.updateApiKeyCredentialProvider(Consumer<UpdateApiKeyCredentialProviderRequest.Builder> updateApiKeyCredentialProviderRequest) Updates an existing API key credential provider.updateApiKeyCredentialProvider(UpdateApiKeyCredentialProviderRequest updateApiKeyCredentialProviderRequest) Updates an existing API key credential provider.default UpdateEvaluatorResponseupdateEvaluator(Consumer<UpdateEvaluatorRequest.Builder> updateEvaluatorRequest) Updates a custom evaluator's configuration, description, or evaluation level.default UpdateEvaluatorResponseupdateEvaluator(UpdateEvaluatorRequest updateEvaluatorRequest) Updates a custom evaluator's configuration, description, or evaluation level.default UpdateGatewayResponseupdateGateway(Consumer<UpdateGatewayRequest.Builder> updateGatewayRequest) Updates an existing gateway.default UpdateGatewayResponseupdateGateway(UpdateGatewayRequest updateGatewayRequest) Updates an existing gateway.default UpdateGatewayTargetResponseupdateGatewayTarget(Consumer<UpdateGatewayTargetRequest.Builder> updateGatewayTargetRequest) Updates an existing gateway target.default UpdateGatewayTargetResponseupdateGatewayTarget(UpdateGatewayTargetRequest updateGatewayTargetRequest) Updates an existing gateway target.default UpdateMemoryResponseupdateMemory(Consumer<UpdateMemoryRequest.Builder> updateMemoryRequest) Update an Amazon Bedrock AgentCore Memory resource memory.default UpdateMemoryResponseupdateMemory(UpdateMemoryRequest updateMemoryRequest) Update an Amazon Bedrock AgentCore Memory resource memory.updateOauth2CredentialProvider(Consumer<UpdateOauth2CredentialProviderRequest.Builder> updateOauth2CredentialProviderRequest) Updates an existing OAuth2 credential provider.updateOauth2CredentialProvider(UpdateOauth2CredentialProviderRequest updateOauth2CredentialProviderRequest) Updates an existing OAuth2 credential provider.updateOnlineEvaluationConfig(Consumer<UpdateOnlineEvaluationConfigRequest.Builder> updateOnlineEvaluationConfigRequest) Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status.updateOnlineEvaluationConfig(UpdateOnlineEvaluationConfigRequest updateOnlineEvaluationConfigRequest) Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status.default UpdatePolicyResponseupdatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Updates an existing policy within the AgentCore Policy system.default UpdatePolicyResponseupdatePolicy(UpdatePolicyRequest updatePolicyRequest) Updates an existing policy within the AgentCore Policy system.default UpdatePolicyEngineResponseupdatePolicyEngine(Consumer<UpdatePolicyEngineRequest.Builder> updatePolicyEngineRequest) Updates an existing policy engine within the AgentCore Policy system.default UpdatePolicyEngineResponseupdatePolicyEngine(UpdatePolicyEngineRequest updatePolicyEngineRequest) Updates an existing policy engine within the AgentCore Policy system.default UpdateWorkloadIdentityResponseupdateWorkloadIdentity(Consumer<UpdateWorkloadIdentityRequest.Builder> updateWorkloadIdentityRequest) Updates an existing workload identity.default UpdateWorkloadIdentityResponseupdateWorkloadIdentity(UpdateWorkloadIdentityRequest updateWorkloadIdentityRequest) Updates an existing workload identity.default BedrockAgentCoreControlWaiterwaiter()Create an instance ofBedrockAgentCoreControlWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createAgentRuntime
default CreateAgentRuntimeResponse createAgentRuntime(CreateAgentRuntimeRequest createAgentRuntimeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates an Amazon Bedrock AgentCore Runtime.
- 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 Bedrock AgentCore Runtime.
This is a convenience which creates an instance of the
CreateAgentRuntimeRequest.Builderavoiding the need to create one manually viaCreateAgentRuntimeRequest.builder()- Parameters:
createAgentRuntimeRequest- AConsumerthat will call methods onCreateAgentRuntimeRequest.Builderto 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 AgentCore Runtime endpoint.
- 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 AgentCore Runtime endpoint.
This is a convenience which creates an instance of the
CreateAgentRuntimeEndpointRequest.Builderavoiding the need to create one manually viaCreateAgentRuntimeEndpointRequest.builder()- Parameters:
createAgentRuntimeEndpointRequest- AConsumerthat will call methods onCreateAgentRuntimeEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateApiKeyCredentialProviderRequest.builder()- Parameters:
createApiKeyCredentialProviderRequest- AConsumerthat will call methods onCreateApiKeyCredentialProviderRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateBrowserRequest.builder()- Parameters:
createBrowserRequest- AConsumerthat will call methods onCreateBrowserRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateCodeInterpreterRequest.builder()- Parameters:
createCodeInterpreterRequest- AConsumerthat will call methods onCreateCodeInterpreterRequest.Builderto create a request.- Returns:
- Result of the CreateCodeInterpreter operation returned by the service.
- See Also:
-
createEvaluator
default CreateEvaluatorResponse createEvaluator(CreateEvaluatorRequest createEvaluatorRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a custom evaluator for agent quality assessment. Custom evaluators use LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings to evaluate agent performance at tool call, trace, or session levels.
- Parameters:
createEvaluatorRequest-- Returns:
- Result of the CreateEvaluator operation returned by the service.
- See Also:
-
createEvaluator
default CreateEvaluatorResponse createEvaluator(Consumer<CreateEvaluatorRequest.Builder> createEvaluatorRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a custom evaluator for agent quality assessment. Custom evaluators use LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings to evaluate agent performance at tool call, trace, or session levels.
This is a convenience which creates an instance of the
CreateEvaluatorRequest.Builderavoiding the need to create one manually viaCreateEvaluatorRequest.builder()- Parameters:
createEvaluatorRequest- AConsumerthat will call methods onCreateEvaluatorRequest.Builderto create a request.- Returns:
- Result of the CreateEvaluator 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.
If you specify
CUSTOM_JWTas theauthorizerType, you must provide anauthorizerConfiguration.- 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.
If you specify
CUSTOM_JWTas theauthorizerType, you must provide anauthorizerConfiguration.
This is a convenience which creates an instance of the
CreateGatewayRequest.Builderavoiding the need to create one manually viaCreateGatewayRequest.builder()- Parameters:
createGatewayRequest- AConsumerthat will call methods onCreateGatewayRequest.Builderto 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.
- 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.
This is a convenience which creates an instance of the
CreateGatewayTargetRequest.Builderavoiding the need to create one manually viaCreateGatewayTargetRequest.builder()- Parameters:
createGatewayTargetRequest- AConsumerthat will call methods onCreateGatewayTargetRequest.Builderto 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 Amazon Bedrock AgentCore Memory resource.
- 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 Amazon Bedrock AgentCore Memory resource.
This is a convenience which creates an instance of the
CreateMemoryRequest.Builderavoiding the need to create one manually viaCreateMemoryRequest.builder()- Parameters:
createMemoryRequest- AConsumerthat will call methods onCreateMemoryRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateOauth2CredentialProviderRequest.builder()- Parameters:
createOauth2CredentialProviderRequest- AConsumerthat will call methods onCreateOauth2CredentialProviderRequest.Builderto create a request.- Returns:
- Result of the CreateOauth2CredentialProvider operation returned by the service.
- See Also:
-
createOnlineEvaluationConfig
default CreateOnlineEvaluationConfigResponse createOnlineEvaluationConfig(CreateOnlineEvaluationConfigRequest createOnlineEvaluationConfigRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent quality in production.
- Parameters:
createOnlineEvaluationConfigRequest-- Returns:
- Result of the CreateOnlineEvaluationConfig operation returned by the service.
- See Also:
-
createOnlineEvaluationConfig
default CreateOnlineEvaluationConfigResponse createOnlineEvaluationConfig(Consumer<CreateOnlineEvaluationConfigRequest.Builder> createOnlineEvaluationConfigRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent quality in production.
This is a convenience which creates an instance of the
CreateOnlineEvaluationConfigRequest.Builderavoiding the need to create one manually viaCreateOnlineEvaluationConfigRequest.builder()- Parameters:
createOnlineEvaluationConfigRequest- AConsumerthat will call methods onCreateOnlineEvaluationConfigRequest.Builderto create a request.- Returns:
- Result of the CreateOnlineEvaluationConfig operation returned by the service.
- See Also:
-
createPolicy
default CreatePolicyResponse createPolicy(CreatePolicyRequest createPolicyRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the GetPolicy operation to poll the
statusfield to track completion.- Parameters:
createPolicyRequest-- Returns:
- Result of the CreatePolicy operation returned by the service.
- See Also:
-
createPolicy
default CreatePolicyResponse createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the GetPolicy operation to poll the
statusfield to track completion.
This is a convenience which creates an instance of the
CreatePolicyRequest.Builderavoiding the need to create one manually viaCreatePolicyRequest.builder()- Parameters:
createPolicyRequest- AConsumerthat will call methods onCreatePolicyRequest.Builderto create a request.- Returns:
- Result of the CreatePolicy operation returned by the service.
- See Also:
-
createPolicyEngine
default CreatePolicyEngineResponse createPolicyEngine(CreatePolicyEngineRequest createPolicyEngineRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the
statusfield to track completion.- Parameters:
createPolicyEngineRequest-- Returns:
- Result of the CreatePolicyEngine operation returned by the service.
- See Also:
-
createPolicyEngine
default CreatePolicyEngineResponse createPolicyEngine(Consumer<CreatePolicyEngineRequest.Builder> createPolicyEngineRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous operation. Use the GetPolicyEngine operation to poll the
statusfield to track completion.
This is a convenience which creates an instance of the
CreatePolicyEngineRequest.Builderavoiding the need to create one manually viaCreatePolicyEngineRequest.builder()- Parameters:
createPolicyEngineRequest- AConsumerthat will call methods onCreatePolicyEngineRequest.Builderto create a request.- Returns:
- Result of the CreatePolicyEngine 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.Builderavoiding the need to create one manually viaCreateWorkloadIdentityRequest.builder()- Parameters:
createWorkloadIdentityRequest- AConsumerthat will call methods onCreateWorkloadIdentityRequest.Builderto 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 Bedrock AgentCore Runtime.
- 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 Bedrock AgentCore Runtime.
This is a convenience which creates an instance of the
DeleteAgentRuntimeRequest.Builderavoiding the need to create one manually viaDeleteAgentRuntimeRequest.builder()- Parameters:
deleteAgentRuntimeRequest- AConsumerthat will call methods onDeleteAgentRuntimeRequest.Builderto 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 AAgentCore Runtime endpoint.
- 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 AAgentCore Runtime endpoint.
This is a convenience which creates an instance of the
DeleteAgentRuntimeEndpointRequest.Builderavoiding the need to create one manually viaDeleteAgentRuntimeEndpointRequest.builder()- Parameters:
deleteAgentRuntimeEndpointRequest- AConsumerthat will call methods onDeleteAgentRuntimeEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteApiKeyCredentialProviderRequest.builder()- Parameters:
deleteApiKeyCredentialProviderRequest- AConsumerthat will call methods onDeleteApiKeyCredentialProviderRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteBrowserRequest.builder()- Parameters:
deleteBrowserRequest- AConsumerthat will call methods onDeleteBrowserRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCodeInterpreterRequest.builder()- Parameters:
deleteCodeInterpreterRequest- AConsumerthat will call methods onDeleteCodeInterpreterRequest.Builderto create a request.- Returns:
- Result of the DeleteCodeInterpreter operation returned by the service.
- See Also:
-
deleteEvaluator
default DeleteEvaluatorResponse deleteEvaluator(DeleteEvaluatorRequest deleteEvaluatorRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.
- Parameters:
deleteEvaluatorRequest-- Returns:
- Result of the DeleteEvaluator operation returned by the service.
- See Also:
-
deleteEvaluator
default DeleteEvaluatorResponse deleteEvaluator(Consumer<DeleteEvaluatorRequest.Builder> deleteEvaluatorRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.
This is a convenience which creates an instance of the
DeleteEvaluatorRequest.Builderavoiding the need to create one manually viaDeleteEvaluatorRequest.builder()- Parameters:
deleteEvaluatorRequest- AConsumerthat will call methods onDeleteEvaluatorRequest.Builderto create a request.- Returns:
- Result of the DeleteEvaluator 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.Builderavoiding the need to create one manually viaDeleteGatewayRequest.builder()- Parameters:
deleteGatewayRequest- AConsumerthat will call methods onDeleteGatewayRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteGatewayTargetRequest.builder()- Parameters:
deleteGatewayTargetRequest- AConsumerthat will call methods onDeleteGatewayTargetRequest.Builderto 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, ConflictException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an Amazon Bedrock AgentCore Memory resource.
- 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, ConflictException, ResourceNotFoundException, ThrottledException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an Amazon Bedrock AgentCore Memory resource.
This is a convenience which creates an instance of the
DeleteMemoryRequest.Builderavoiding the need to create one manually viaDeleteMemoryRequest.builder()- Parameters:
deleteMemoryRequest- AConsumerthat will call methods onDeleteMemoryRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteOauth2CredentialProviderRequest.builder()- Parameters:
deleteOauth2CredentialProviderRequest- AConsumerthat will call methods onDeleteOauth2CredentialProviderRequest.Builderto create a request.- Returns:
- Result of the DeleteOauth2CredentialProvider operation returned by the service.
- See Also:
-
deleteOnlineEvaluationConfig
default DeleteOnlineEvaluationConfigResponse deleteOnlineEvaluationConfig(DeleteOnlineEvaluationConfigRequest deleteOnlineEvaluationConfigRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.
- Parameters:
deleteOnlineEvaluationConfigRequest-- Returns:
- Result of the DeleteOnlineEvaluationConfig operation returned by the service.
- See Also:
-
deleteOnlineEvaluationConfig
default DeleteOnlineEvaluationConfigResponse deleteOnlineEvaluationConfig(Consumer<DeleteOnlineEvaluationConfigRequest.Builder> deleteOnlineEvaluationConfigRequest) throws ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.
This is a convenience which creates an instance of the
DeleteOnlineEvaluationConfigRequest.Builderavoiding the need to create one manually viaDeleteOnlineEvaluationConfigRequest.builder()- Parameters:
deleteOnlineEvaluationConfigRequest- AConsumerthat will call methods onDeleteOnlineEvaluationConfigRequest.Builderto create a request.- Returns:
- Result of the DeleteOnlineEvaluationConfig operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an existing policy from the AgentCore Policy system. Once deleted, the policy can no longer be used for agent behavior control and all references to it become invalid. This is an asynchronous operation. Use the
GetPolicyoperation to poll thestatusfield to track completion.- Parameters:
deletePolicyRequest-- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an existing policy from the AgentCore Policy system. Once deleted, the policy can no longer be used for agent behavior control and all references to it become invalid. This is an asynchronous operation. Use the
GetPolicyoperation to poll thestatusfield to track completion.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request.- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deletePolicyEngine
default DeletePolicyEngineResponse deletePolicyEngine(DeletePolicyEngineRequest deletePolicyEngineRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable for policy management and evaluation. This is an asynchronous operation. Use the
GetPolicyEngineoperation to poll thestatusfield to track completion.- Parameters:
deletePolicyEngineRequest-- Returns:
- Result of the DeletePolicyEngine operation returned by the service.
- See Also:
-
deletePolicyEngine
default DeletePolicyEngineResponse deletePolicyEngine(Consumer<DeletePolicyEngineRequest.Builder> deletePolicyEngineRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable for policy management and evaluation. This is an asynchronous operation. Use the
GetPolicyEngineoperation to poll thestatusfield to track completion.
This is a convenience which creates an instance of the
DeletePolicyEngineRequest.Builderavoiding the need to create one manually viaDeletePolicyEngineRequest.builder()- Parameters:
deletePolicyEngineRequest- AConsumerthat will call methods onDeletePolicyEngineRequest.Builderto create a request.- Returns:
- Result of the DeletePolicyEngine operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes the resource-based policy for a specified resource.
This feature is currently available only for AgentCore Runtime and Gateway.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Deletes the resource-based policy for a specified resource.
This feature is currently available only for AgentCore Runtime and Gateway.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResourcePolicy 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.Builderavoiding the need to create one manually viaDeleteWorkloadIdentityRequest.builder()- Parameters:
deleteWorkloadIdentityRequest- AConsumerthat will call methods onDeleteWorkloadIdentityRequest.Builderto 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 Bedrock AgentCore Runtime.
- 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 Bedrock AgentCore Runtime.
This is a convenience which creates an instance of the
GetAgentRuntimeRequest.Builderavoiding the need to create one manually viaGetAgentRuntimeRequest.builder()- Parameters:
getAgentRuntimeRequest- AConsumerthat will call methods onGetAgentRuntimeRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAgentRuntimeEndpointRequest.builder()- Parameters:
getAgentRuntimeEndpointRequest- AConsumerthat will call methods onGetAgentRuntimeEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApiKeyCredentialProviderRequest.builder()- Parameters:
getApiKeyCredentialProviderRequest- AConsumerthat will call methods onGetApiKeyCredentialProviderRequest.Builderto 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.Builderavoiding the need to create one manually viaGetBrowserRequest.builder()- Parameters:
getBrowserRequest- AConsumerthat will call methods onGetBrowserRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCodeInterpreterRequest.builder()- Parameters:
getCodeInterpreterRequest- AConsumerthat will call methods onGetCodeInterpreterRequest.Builderto create a request.- Returns:
- Result of the GetCodeInterpreter operation returned by the service.
- See Also:
-
getEvaluator
default GetEvaluatorResponse getEvaluator(GetEvaluatorRequest getEvaluatorRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.
- Parameters:
getEvaluatorRequest-- Returns:
- Result of the GetEvaluator operation returned by the service.
- See Also:
-
getEvaluator
default GetEvaluatorResponse getEvaluator(Consumer<GetEvaluatorRequest.Builder> getEvaluatorRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.
This is a convenience which creates an instance of the
GetEvaluatorRequest.Builderavoiding the need to create one manually viaGetEvaluatorRequest.builder()- Parameters:
getEvaluatorRequest- AConsumerthat will call methods onGetEvaluatorRequest.Builderto create a request.- Returns:
- Result of the GetEvaluator 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.Builderavoiding the need to create one manually viaGetGatewayRequest.builder()- Parameters:
getGatewayRequest- AConsumerthat will call methods onGetGatewayRequest.Builderto 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.Builderavoiding the need to create one manually viaGetGatewayTargetRequest.builder()- Parameters:
getGatewayTargetRequest- AConsumerthat will call methods onGetGatewayTargetRequest.Builderto 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 Amazon Bedrock AgentCore Memory resource.
- 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 Amazon Bedrock AgentCore Memory resource.
This is a convenience which creates an instance of the
GetMemoryRequest.Builderavoiding the need to create one manually viaGetMemoryRequest.builder()- Parameters:
getMemoryRequest- AConsumerthat will call methods onGetMemoryRequest.Builderto 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.Builderavoiding the need to create one manually viaGetOauth2CredentialProviderRequest.builder()- Parameters:
getOauth2CredentialProviderRequest- AConsumerthat will call methods onGetOauth2CredentialProviderRequest.Builderto create a request.- Returns:
- Result of the GetOauth2CredentialProvider operation returned by the service.
- See Also:
-
getOnlineEvaluationConfig
default GetOnlineEvaluationConfigResponse getOnlineEvaluationConfig(GetOnlineEvaluationConfigRequest getOnlineEvaluationConfigRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.
- Parameters:
getOnlineEvaluationConfigRequest-- Returns:
- Result of the GetOnlineEvaluationConfig operation returned by the service.
- See Also:
-
getOnlineEvaluationConfig
default GetOnlineEvaluationConfigResponse getOnlineEvaluationConfig(Consumer<GetOnlineEvaluationConfigRequest.Builder> getOnlineEvaluationConfigRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.
This is a convenience which creates an instance of the
GetOnlineEvaluationConfigRequest.Builderavoiding the need to create one manually viaGetOnlineEvaluationConfigRequest.builder()- Parameters:
getOnlineEvaluationConfigRequest- AConsumerthat will call methods onGetOnlineEvaluationConfigRequest.Builderto create a request.- Returns:
- Result of the GetOnlineEvaluationConfig operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about a specific policy within the AgentCore Policy system. This operation returns the complete policy definition, metadata, and current status, allowing administrators to review and manage policy configurations.
- Parameters:
getPolicyRequest-- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about a specific policy within the AgentCore Policy system. This operation returns the complete policy definition, metadata, and current status, allowing administrators to review and manage policy configurations.
This is a convenience which creates an instance of the
GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request.- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getPolicyEngine
default GetPolicyEngineResponse getPolicyEngine(GetPolicyEngineRequest getPolicyEngineRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about a specific policy engine within the AgentCore Policy system. This operation returns the complete policy engine configuration, metadata, and current status, allowing administrators to review and manage policy engine settings.
- Parameters:
getPolicyEngineRequest-- Returns:
- Result of the GetPolicyEngine operation returned by the service.
- See Also:
-
getPolicyEngine
default GetPolicyEngineResponse getPolicyEngine(Consumer<GetPolicyEngineRequest.Builder> getPolicyEngineRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves detailed information about a specific policy engine within the AgentCore Policy system. This operation returns the complete policy engine configuration, metadata, and current status, allowing administrators to review and manage policy engine settings.
This is a convenience which creates an instance of the
GetPolicyEngineRequest.Builderavoiding the need to create one manually viaGetPolicyEngineRequest.builder()- Parameters:
getPolicyEngineRequest- AConsumerthat will call methods onGetPolicyEngineRequest.Builderto create a request.- Returns:
- Result of the GetPolicyEngine operation returned by the service.
- See Also:
-
getPolicyGeneration
default GetPolicyGenerationResponse getPolicyGeneration(GetPolicyGenerationRequest getPolicyGenerationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about a policy generation request within the AgentCore Policy system. Policy generation converts natural language descriptions into Cedar policy statements using AI-powered translation, enabling non-technical users to create policies.
- Parameters:
getPolicyGenerationRequest-- Returns:
- Result of the GetPolicyGeneration operation returned by the service.
- See Also:
-
getPolicyGeneration
default GetPolicyGenerationResponse getPolicyGeneration(Consumer<GetPolicyGenerationRequest.Builder> getPolicyGenerationRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves information about a policy generation request within the AgentCore Policy system. Policy generation converts natural language descriptions into Cedar policy statements using AI-powered translation, enabling non-technical users to create policies.
This is a convenience which creates an instance of the
GetPolicyGenerationRequest.Builderavoiding the need to create one manually viaGetPolicyGenerationRequest.builder()- Parameters:
getPolicyGenerationRequest- AConsumerthat will call methods onGetPolicyGenerationRequest.Builderto create a request.- Returns:
- Result of the GetPolicyGeneration operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves the resource-based policy for a specified resource.
This feature is currently available only for AgentCore Runtime and Gateway.
- Parameters:
getResourcePolicyRequest-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves the resource-based policy for a specified resource.
This feature is currently available only for AgentCore Runtime and Gateway.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicy 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.Builderavoiding the need to create one manually viaGetTokenVaultRequest.builder()- Parameters:
getTokenVaultRequest- AConsumerthat will call methods onGetTokenVaultRequest.Builderto 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.Builderavoiding the need to create one manually viaGetWorkloadIdentityRequest.builder()- Parameters:
getWorkloadIdentityRequest- AConsumerthat will call methods onGetWorkloadIdentityRequest.Builderto 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.Builderavoiding the need to create one manually viaListAgentRuntimeEndpointsRequest.builder()- Parameters:
listAgentRuntimeEndpointsRequest- AConsumerthat will call methods onListAgentRuntimeEndpointsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAgentRuntimeEndpointsRequest.builder()- Parameters:
listAgentRuntimeEndpointsRequest- AConsumerthat will call methods onListAgentRuntimeEndpointsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAgentRuntimeVersionsRequest.builder()- Parameters:
listAgentRuntimeVersionsRequest- AConsumerthat will call methods onListAgentRuntimeVersionsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAgentRuntimeVersionsRequest.builder()- Parameters:
listAgentRuntimeVersionsRequest- AConsumerthat will call methods onListAgentRuntimeVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAgentRuntimesRequest.builder()- Parameters:
listAgentRuntimesRequest- AConsumerthat will call methods onListAgentRuntimesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAgentRuntimesRequest.builder()- Parameters:
listAgentRuntimesRequest- AConsumerthat will call methods onListAgentRuntimesRequest.Builderto 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.Builderavoiding the need to create one manually viaListApiKeyCredentialProvidersRequest.builder()- Parameters:
listApiKeyCredentialProvidersRequest- AConsumerthat will call methods onListApiKeyCredentialProvidersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListApiKeyCredentialProvidersRequest.builder()- Parameters:
listApiKeyCredentialProvidersRequest- AConsumerthat will call methods onListApiKeyCredentialProvidersRequest.Builderto 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.Builderavoiding the need to create one manually viaListBrowsersRequest.builder()- Parameters:
listBrowsersRequest- AConsumerthat will call methods onListBrowsersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBrowsersRequest.builder()- Parameters:
listBrowsersRequest- AConsumerthat will call methods onListBrowsersRequest.Builderto 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.Builderavoiding the need to create one manually viaListCodeInterpretersRequest.builder()- Parameters:
listCodeInterpretersRequest- AConsumerthat will call methods onListCodeInterpretersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListCodeInterpretersRequest.builder()- Parameters:
listCodeInterpretersRequest- AConsumerthat will call methods onListCodeInterpretersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEvaluators
default ListEvaluatorsResponse listEvaluators(ListEvaluatorsRequest listEvaluatorsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.
- Parameters:
listEvaluatorsRequest-- Returns:
- Result of the ListEvaluators operation returned by the service.
- See Also:
-
listEvaluators
default ListEvaluatorsResponse listEvaluators(Consumer<ListEvaluatorsRequest.Builder> listEvaluatorsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.
This is a convenience which creates an instance of the
ListEvaluatorsRequest.Builderavoiding the need to create one manually viaListEvaluatorsRequest.builder()- Parameters:
listEvaluatorsRequest- AConsumerthat will call methods onListEvaluatorsRequest.Builderto create a request.- Returns:
- Result of the ListEvaluators operation returned by the service.
- See Also:
-
listEvaluatorsPaginator
default ListEvaluatorsIterable listEvaluatorsPaginator(ListEvaluatorsRequest listEvaluatorsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsIterable responses = client.listEvaluatorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsIterable responses = client .listEvaluatorsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsIterable responses = client.listEvaluatorsPaginator(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
listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest)operation.- Parameters:
listEvaluatorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEvaluatorsPaginator
default ListEvaluatorsIterable listEvaluatorsPaginator(Consumer<ListEvaluatorsRequest.Builder> listEvaluatorsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsIterable responses = client.listEvaluatorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsIterable responses = client .listEvaluatorsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListEvaluatorsIterable responses = client.listEvaluatorsPaginator(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
listEvaluators(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListEvaluatorsRequest)operation.
This is a convenience which creates an instance of the
ListEvaluatorsRequest.Builderavoiding the need to create one manually viaListEvaluatorsRequest.builder()- Parameters:
listEvaluatorsRequest- AConsumerthat will call methods onListEvaluatorsRequest.Builderto 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.Builderavoiding the need to create one manually viaListGatewayTargetsRequest.builder()- Parameters:
listGatewayTargetsRequest- AConsumerthat will call methods onListGatewayTargetsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListGatewayTargetsRequest.builder()- Parameters:
listGatewayTargetsRequest- AConsumerthat will call methods onListGatewayTargetsRequest.Builderto 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.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto 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 available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.
- 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 available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.
This is a convenience which creates an instance of the
ListMemoriesRequest.Builderavoiding the need to create one manually viaListMemoriesRequest.builder()- Parameters:
listMemoriesRequest- AConsumerthat will call methods onListMemoriesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListMemoriesRequest.builder()- Parameters:
listMemoriesRequest- AConsumerthat will call methods onListMemoriesRequest.Builderto 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.Builderavoiding the need to create one manually viaListOauth2CredentialProvidersRequest.builder()- Parameters:
listOauth2CredentialProvidersRequest- AConsumerthat will call methods onListOauth2CredentialProvidersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListOauth2CredentialProvidersRequest.builder()- Parameters:
listOauth2CredentialProvidersRequest- AConsumerthat will call methods onListOauth2CredentialProvidersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOnlineEvaluationConfigs
default ListOnlineEvaluationConfigsResponse listOnlineEvaluationConfigs(ListOnlineEvaluationConfigsRequest listOnlineEvaluationConfigsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.
- Parameters:
listOnlineEvaluationConfigsRequest-- Returns:
- Result of the ListOnlineEvaluationConfigs operation returned by the service.
- See Also:
-
listOnlineEvaluationConfigs
default ListOnlineEvaluationConfigsResponse listOnlineEvaluationConfigs(Consumer<ListOnlineEvaluationConfigsRequest.Builder> listOnlineEvaluationConfigsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.
This is a convenience which creates an instance of the
ListOnlineEvaluationConfigsRequest.Builderavoiding the need to create one manually viaListOnlineEvaluationConfigsRequest.builder()- Parameters:
listOnlineEvaluationConfigsRequest- AConsumerthat will call methods onListOnlineEvaluationConfigsRequest.Builderto create a request.- Returns:
- Result of the ListOnlineEvaluationConfigs operation returned by the service.
- See Also:
-
listOnlineEvaluationConfigsPaginator
default ListOnlineEvaluationConfigsIterable listOnlineEvaluationConfigsPaginator(ListOnlineEvaluationConfigsRequest listOnlineEvaluationConfigsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsIterable responses = client.listOnlineEvaluationConfigsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsIterable responses = client .listOnlineEvaluationConfigsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsIterable responses = client.listOnlineEvaluationConfigsPaginator(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
listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest)operation.- Parameters:
listOnlineEvaluationConfigsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOnlineEvaluationConfigsPaginator
default ListOnlineEvaluationConfigsIterable listOnlineEvaluationConfigsPaginator(Consumer<ListOnlineEvaluationConfigsRequest.Builder> listOnlineEvaluationConfigsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsIterable responses = client.listOnlineEvaluationConfigsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsIterable responses = client .listOnlineEvaluationConfigsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListOnlineEvaluationConfigsIterable responses = client.listOnlineEvaluationConfigsPaginator(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
listOnlineEvaluationConfigs(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListOnlineEvaluationConfigsRequest)operation.
This is a convenience which creates an instance of the
ListOnlineEvaluationConfigsRequest.Builderavoiding the need to create one manually viaListOnlineEvaluationConfigsRequest.builder()- Parameters:
listOnlineEvaluationConfigsRequest- AConsumerthat will call methods onListOnlineEvaluationConfigsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicies
default ListPoliciesResponse listPolicies(ListPoliciesRequest listPoliciesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of policies within the AgentCore Policy engine. This operation supports pagination and filtering to help administrators manage and discover policies across policy engines. Results can be filtered by policy engine or resource associations.
- Parameters:
listPoliciesRequest-- Returns:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPolicies
default ListPoliciesResponse listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of policies within the AgentCore Policy engine. This operation supports pagination and filtering to help administrators manage and discover policies across policy engines. Results can be filtered by policy engine or resource associations.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesIterable responses = client .listPoliciesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(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
listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest)operation.- Parameters:
listPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesIterable responses = client .listPoliciesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(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
listPolicies(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicyEngines
default ListPolicyEnginesResponse listPolicyEngines(ListPolicyEnginesRequest listPolicyEnginesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination to help administrators discover and manage policy engines across their account. Each policy engine serves as a container for related policies.
- Parameters:
listPolicyEnginesRequest-- Returns:
- Result of the ListPolicyEngines operation returned by the service.
- See Also:
-
listPolicyEngines
default ListPolicyEnginesResponse listPolicyEngines(Consumer<ListPolicyEnginesRequest.Builder> listPolicyEnginesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination to help administrators discover and manage policy engines across their account. Each policy engine serves as a container for related policies.
This is a convenience which creates an instance of the
ListPolicyEnginesRequest.Builderavoiding the need to create one manually viaListPolicyEnginesRequest.builder()- Parameters:
listPolicyEnginesRequest- AConsumerthat will call methods onListPolicyEnginesRequest.Builderto create a request.- Returns:
- Result of the ListPolicyEngines operation returned by the service.
- See Also:
-
listPolicyEnginesPaginator
default ListPolicyEnginesIterable listPolicyEnginesPaginator(ListPolicyEnginesRequest listPolicyEnginesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesIterable responses = client.listPolicyEnginesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesIterable responses = client .listPolicyEnginesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesIterable responses = client.listPolicyEnginesPaginator(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
listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest)operation.- Parameters:
listPolicyEnginesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicyEnginesPaginator
default ListPolicyEnginesIterable listPolicyEnginesPaginator(Consumer<ListPolicyEnginesRequest.Builder> listPolicyEnginesRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesIterable responses = client.listPolicyEnginesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesIterable responses = client .listPolicyEnginesPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyEnginesIterable responses = client.listPolicyEnginesPaginator(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
listPolicyEngines(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyEnginesRequest)operation.
This is a convenience which creates an instance of the
ListPolicyEnginesRequest.Builderavoiding the need to create one manually viaListPolicyEnginesRequest.builder()- Parameters:
listPolicyEnginesRequest- AConsumerthat will call methods onListPolicyEnginesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicyGenerationAssets
default ListPolicyGenerationAssetsResponse listPolicyGenerationAssets(ListPolicyGenerationAssetsRequest listPolicyGenerationAssetsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system. This operation returns the actual Cedar policies and related artifacts produced by the AI-powered policy generation process, allowing users to review and select from multiple generated policy options.
- Parameters:
listPolicyGenerationAssetsRequest-- Returns:
- Result of the ListPolicyGenerationAssets operation returned by the service.
- See Also:
-
listPolicyGenerationAssets
default ListPolicyGenerationAssetsResponse listPolicyGenerationAssets(Consumer<ListPolicyGenerationAssetsRequest.Builder> listPolicyGenerationAssetsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system. This operation returns the actual Cedar policies and related artifacts produced by the AI-powered policy generation process, allowing users to review and select from multiple generated policy options.
This is a convenience which creates an instance of the
ListPolicyGenerationAssetsRequest.Builderavoiding the need to create one manually viaListPolicyGenerationAssetsRequest.builder()- Parameters:
listPolicyGenerationAssetsRequest- AConsumerthat will call methods onListPolicyGenerationAssetsRequest.Builderto create a request.- Returns:
- Result of the ListPolicyGenerationAssets operation returned by the service.
- See Also:
-
listPolicyGenerationAssetsPaginator
default ListPolicyGenerationAssetsIterable listPolicyGenerationAssetsPaginator(ListPolicyGenerationAssetsRequest listPolicyGenerationAssetsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsIterable responses = client.listPolicyGenerationAssetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsIterable responses = client .listPolicyGenerationAssetsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsIterable responses = client.listPolicyGenerationAssetsPaginator(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
listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest)operation.- Parameters:
listPolicyGenerationAssetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicyGenerationAssetsPaginator
default ListPolicyGenerationAssetsIterable listPolicyGenerationAssetsPaginator(Consumer<ListPolicyGenerationAssetsRequest.Builder> listPolicyGenerationAssetsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsIterable responses = client.listPolicyGenerationAssetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsIterable responses = client .listPolicyGenerationAssetsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationAssetsIterable responses = client.listPolicyGenerationAssetsPaginator(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
listPolicyGenerationAssets(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationAssetsRequest)operation.
This is a convenience which creates an instance of the
ListPolicyGenerationAssetsRequest.Builderavoiding the need to create one manually viaListPolicyGenerationAssetsRequest.builder()- Parameters:
listPolicyGenerationAssetsRequest- AConsumerthat will call methods onListPolicyGenerationAssetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicyGenerations
default ListPolicyGenerationsResponse listPolicyGenerations(ListPolicyGenerationsRequest listPolicyGenerationsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of policy generation requests within the AgentCore Policy system. This operation supports pagination and filtering to help track and manage AI-powered policy generation operations.
- Parameters:
listPolicyGenerationsRequest-- Returns:
- Result of the ListPolicyGenerations operation returned by the service.
- See Also:
-
listPolicyGenerations
default ListPolicyGenerationsResponse listPolicyGenerations(Consumer<ListPolicyGenerationsRequest.Builder> listPolicyGenerationsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Retrieves a list of policy generation requests within the AgentCore Policy system. This operation supports pagination and filtering to help track and manage AI-powered policy generation operations.
This is a convenience which creates an instance of the
ListPolicyGenerationsRequest.Builderavoiding the need to create one manually viaListPolicyGenerationsRequest.builder()- Parameters:
listPolicyGenerationsRequest- AConsumerthat will call methods onListPolicyGenerationsRequest.Builderto create a request.- Returns:
- Result of the ListPolicyGenerations operation returned by the service.
- See Also:
-
listPolicyGenerationsPaginator
default ListPolicyGenerationsIterable listPolicyGenerationsPaginator(ListPolicyGenerationsRequest listPolicyGenerationsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsIterable responses = client.listPolicyGenerationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsIterable responses = client .listPolicyGenerationsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsIterable responses = client.listPolicyGenerationsPaginator(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
listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest)operation.- Parameters:
listPolicyGenerationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicyGenerationsPaginator
default ListPolicyGenerationsIterable listPolicyGenerationsPaginator(Consumer<ListPolicyGenerationsRequest.Builder> listPolicyGenerationsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException This is a variant of
listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsIterable responses = client.listPolicyGenerationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsIterable responses = client .listPolicyGenerationsPaginator(request); for (software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bedrockagentcorecontrol.paginators.ListPolicyGenerationsIterable responses = client.listPolicyGenerationsPaginator(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
listPolicyGenerations(software.amazon.awssdk.services.bedrockagentcorecontrol.model.ListPolicyGenerationsRequest)operation.
This is a convenience which creates an instance of the
ListPolicyGenerationsRequest.Builderavoiding the need to create one manually viaListPolicyGenerationsRequest.builder()- Parameters:
listPolicyGenerationsRequest- AConsumerthat will call methods onListPolicyGenerationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists the tags associated with the specified resource.
This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Lists the tags associated with the specified resource.
This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- 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.Builderavoiding the need to create one manually viaListWorkloadIdentitiesRequest.builder()- Parameters:
listWorkloadIdentitiesRequest- AConsumerthat will call methods onListWorkloadIdentitiesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListWorkloadIdentitiesRequest.builder()- Parameters:
listWorkloadIdentitiesRequest- AConsumerthat will call methods onListWorkloadIdentitiesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates or updates a resource-based policy for a resource with the specified resourceArn.
This feature is currently available only for AgentCore Runtime and Gateway.
- Parameters:
putResourcePolicyRequest-- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Creates or updates a resource-based policy for a resource with the specified resourceArn.
This feature is currently available only for AgentCore Runtime and Gateway.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- 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.Builderavoiding the need to create one manually viaSetTokenVaultCmkRequest.builder()- Parameters:
setTokenVaultCmkRequest- AConsumerthat will call methods onSetTokenVaultCmkRequest.Builderto create a request.- Returns:
- Result of the SetTokenVaultCMK operation returned by the service.
- See Also:
-
startPolicyGeneration
default StartPolicyGenerationResponse startPolicyGeneration(StartPolicyGenerationRequest startPolicyGenerationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system. This feature enables both technical and non-technical users to create policies by describing their authorization requirements in plain English, which is then automatically translated into formal Cedar policy statements. The generation process analyzes the natural language input along with the Gateway's tool context to produce validated policy options. Generated policy assets are automatically deleted after 7 days, so you should review and create policies from the generated assets within this timeframe. Once created, policies are permanent and not subject to this expiration. Generated policies should be reviewed and tested in log-only mode before deploying to production. Use this when you want to describe policy intent naturally rather than learning Cedar syntax, though generated policies may require refinement for complex scenarios.
- Parameters:
startPolicyGenerationRequest-- Returns:
- Result of the StartPolicyGeneration operation returned by the service.
- See Also:
-
startPolicyGeneration
default StartPolicyGenerationResponse startPolicyGeneration(Consumer<StartPolicyGenerationRequest.Builder> startPolicyGenerationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system. This feature enables both technical and non-technical users to create policies by describing their authorization requirements in plain English, which is then automatically translated into formal Cedar policy statements. The generation process analyzes the natural language input along with the Gateway's tool context to produce validated policy options. Generated policy assets are automatically deleted after 7 days, so you should review and create policies from the generated assets within this timeframe. Once created, policies are permanent and not subject to this expiration. Generated policies should be reviewed and tested in log-only mode before deploying to production. Use this when you want to describe policy intent naturally rather than learning Cedar syntax, though generated policies may require refinement for complex scenarios.
This is a convenience which creates an instance of the
StartPolicyGenerationRequest.Builderavoiding the need to create one manually viaStartPolicyGenerationRequest.builder()- Parameters:
startPolicyGenerationRequest- AConsumerthat will call methods onStartPolicyGenerationRequest.Builderto create a request.- Returns:
- Result of the StartPolicyGeneration operation returned by the service.
- See Also:
-
synchronizeGatewayTargets
default SynchronizeGatewayTargetsResponse synchronizeGatewayTargets(SynchronizeGatewayTargetsRequest synchronizeGatewayTargetsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException The gateway targets.
- Parameters:
synchronizeGatewayTargetsRequest-- Returns:
- Result of the SynchronizeGatewayTargets operation returned by the service.
- See Also:
-
synchronizeGatewayTargets
default SynchronizeGatewayTargetsResponse synchronizeGatewayTargets(Consumer<SynchronizeGatewayTargetsRequest.Builder> synchronizeGatewayTargetsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException The gateway targets.
This is a convenience which creates an instance of the
SynchronizeGatewayTargetsRequest.Builderavoiding the need to create one manually viaSynchronizeGatewayTargetsRequest.builder()- Parameters:
synchronizeGatewayTargetsRequest- AConsumerthat will call methods onSynchronizeGatewayTargetsRequest.Builderto create a request.- Returns:
- Result of the SynchronizeGatewayTargets operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Removes the specified tags from the specified resource.
This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Removes the specified tags from the specified resource.
This feature is currently available only for AgentCore Runtime, Browser, Code Interpreter tool, and Gateway.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource 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.Builderavoiding the need to create one manually viaUpdateAgentRuntimeRequest.builder()- Parameters:
updateAgentRuntimeRequest- AConsumerthat will call methods onUpdateAgentRuntimeRequest.Builderto 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 Bedrock AgentCore Runtime endpoint.
- 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 Bedrock AgentCore Runtime endpoint.
This is a convenience which creates an instance of the
UpdateAgentRuntimeEndpointRequest.Builderavoiding the need to create one manually viaUpdateAgentRuntimeEndpointRequest.builder()- Parameters:
updateAgentRuntimeEndpointRequest- AConsumerthat will call methods onUpdateAgentRuntimeEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApiKeyCredentialProviderRequest.builder()- Parameters:
updateApiKeyCredentialProviderRequest- AConsumerthat will call methods onUpdateApiKeyCredentialProviderRequest.Builderto create a request.- Returns:
- Result of the UpdateApiKeyCredentialProvider operation returned by the service.
- See Also:
-
updateEvaluator
default UpdateEvaluatorResponse updateEvaluator(UpdateEvaluatorRequest updateEvaluatorRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates a custom evaluator's configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification.
- Parameters:
updateEvaluatorRequest-- Returns:
- Result of the UpdateEvaluator operation returned by the service.
- See Also:
-
updateEvaluator
default UpdateEvaluatorResponse updateEvaluator(Consumer<UpdateEvaluatorRequest.Builder> updateEvaluatorRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates a custom evaluator's configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification.
This is a convenience which creates an instance of the
UpdateEvaluatorRequest.Builderavoiding the need to create one manually viaUpdateEvaluatorRequest.builder()- Parameters:
updateEvaluatorRequest- AConsumerthat will call methods onUpdateEvaluatorRequest.Builderto create a request.- Returns:
- Result of the UpdateEvaluator 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.Builderavoiding the need to create one manually viaUpdateGatewayRequest.builder()- Parameters:
updateGatewayRequest- AConsumerthat will call methods onUpdateGatewayRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateGatewayTargetRequest.builder()- Parameters:
updateGatewayTargetRequest- AConsumerthat will call methods onUpdateGatewayTargetRequest.Builderto 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 an Amazon Bedrock AgentCore Memory resource 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 an Amazon Bedrock AgentCore Memory resource memory.
This is a convenience which creates an instance of the
UpdateMemoryRequest.Builderavoiding the need to create one manually viaUpdateMemoryRequest.builder()- Parameters:
updateMemoryRequest- AConsumerthat will call methods onUpdateMemoryRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateOauth2CredentialProviderRequest.builder()- Parameters:
updateOauth2CredentialProviderRequest- AConsumerthat will call methods onUpdateOauth2CredentialProviderRequest.Builderto create a request.- Returns:
- Result of the UpdateOauth2CredentialProvider operation returned by the service.
- See Also:
-
updateOnlineEvaluationConfig
default UpdateOnlineEvaluationConfigResponse updateOnlineEvaluationConfig(UpdateOnlineEvaluationConfigRequest updateOnlineEvaluationConfigRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
- Parameters:
updateOnlineEvaluationConfigRequest-- Returns:
- Result of the UpdateOnlineEvaluationConfig operation returned by the service.
- See Also:
-
updateOnlineEvaluationConfig
default UpdateOnlineEvaluationConfigResponse updateOnlineEvaluationConfig(Consumer<UpdateOnlineEvaluationConfigRequest.Builder> updateOnlineEvaluationConfigRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ConflictException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
This is a convenience which creates an instance of the
UpdateOnlineEvaluationConfigRequest.Builderavoiding the need to create one manually viaUpdateOnlineEvaluationConfigRequest.builder()- Parameters:
updateOnlineEvaluationConfigRequest- AConsumerthat will call methods onUpdateOnlineEvaluationConfigRequest.Builderto create a request.- Returns:
- Result of the UpdateOnlineEvaluationConfig operation returned by the service.
- See Also:
-
updatePolicy
default UpdatePolicyResponse updatePolicy(UpdatePolicyRequest updatePolicyRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing policy within the AgentCore Policy system. This operation allows modification of the policy description and definition while maintaining the policy's identity. The updated policy is validated against the Cedar schema before being applied. This is an asynchronous operation. Use the
GetPolicyoperation to poll thestatusfield to track completion.- Parameters:
updatePolicyRequest-- Returns:
- Result of the UpdatePolicy operation returned by the service.
- See Also:
-
updatePolicy
default UpdatePolicyResponse updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing policy within the AgentCore Policy system. This operation allows modification of the policy description and definition while maintaining the policy's identity. The updated policy is validated against the Cedar schema before being applied. This is an asynchronous operation. Use the
GetPolicyoperation to poll thestatusfield to track completion.
This is a convenience which creates an instance of the
UpdatePolicyRequest.Builderavoiding the need to create one manually viaUpdatePolicyRequest.builder()- Parameters:
updatePolicyRequest- AConsumerthat will call methods onUpdatePolicyRequest.Builderto create a request.- Returns:
- Result of the UpdatePolicy operation returned by the service.
- See Also:
-
updatePolicyEngine
default UpdatePolicyEngineResponse updatePolicyEngine(UpdatePolicyEngineRequest updatePolicyEngineRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the
GetPolicyEngineoperation to poll thestatusfield to track completion.- Parameters:
updatePolicyEngineRequest-- Returns:
- Result of the UpdatePolicyEngine operation returned by the service.
- See Also:
-
updatePolicyEngine
default UpdatePolicyEngineResponse updatePolicyEngine(Consumer<UpdatePolicyEngineRequest.Builder> updatePolicyEngineRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, BedrockAgentCoreControlException Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the
GetPolicyEngineoperation to poll thestatusfield to track completion.
This is a convenience which creates an instance of the
UpdatePolicyEngineRequest.Builderavoiding the need to create one manually viaUpdatePolicyEngineRequest.builder()- Parameters:
updatePolicyEngineRequest- AConsumerthat will call methods onUpdatePolicyEngineRequest.Builderto create a request.- Returns:
- Result of the UpdatePolicyEngine 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.Builderavoiding the need to create one manually viaUpdateWorkloadIdentityRequest.builder()- Parameters:
updateWorkloadIdentityRequest- AConsumerthat will call methods onUpdateWorkloadIdentityRequest.Builderto create a request.- Returns:
- Result of the UpdateWorkloadIdentity operation returned by the service.
- See Also:
-
waiter
Create an instance ofBedrockAgentCoreControlWaiterusing 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 aBedrockAgentCoreControlClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBedrockAgentCoreControlClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-