Class: Aws::BedrockAgentCoreControl::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::BedrockAgentCoreControl::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-bedrockagentcorecontrol/client.rb
Overview
An API client for BedrockAgentCoreControl. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::BedrockAgentCoreControl::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_agent_runtime(params = {}) ⇒ Types::CreateAgentRuntimeResponse
Creates an Amazon Bedrock AgentCore Runtime.
-
#create_agent_runtime_endpoint(params = {}) ⇒ Types::CreateAgentRuntimeEndpointResponse
Creates an AgentCore Runtime endpoint.
-
#create_api_key_credential_provider(params = {}) ⇒ Types::CreateApiKeyCredentialProviderResponse
Creates a new API key credential provider.
-
#create_browser(params = {}) ⇒ Types::CreateBrowserResponse
Creates a custom browser.
-
#create_browser_profile(params = {}) ⇒ Types::CreateBrowserProfileResponse
Creates a browser profile in Amazon Bedrock AgentCore.
-
#create_code_interpreter(params = {}) ⇒ Types::CreateCodeInterpreterResponse
Creates a custom code interpreter.
-
#create_evaluator(params = {}) ⇒ Types::CreateEvaluatorResponse
Creates a custom evaluator for agent quality assessment.
-
#create_gateway(params = {}) ⇒ Types::CreateGatewayResponse
Creates a gateway for Amazon Bedrock Agent.
-
#create_gateway_target(params = {}) ⇒ Types::CreateGatewayTargetResponse
Creates a target for a gateway.
-
#create_harness(params = {}) ⇒ Types::CreateHarnessResponse
Operation to create a Harness.
-
#create_memory(params = {}) ⇒ Types::CreateMemoryOutput
Creates a new Amazon Bedrock AgentCore Memory resource.
-
#create_oauth_2_credential_provider(params = {}) ⇒ Types::CreateOauth2CredentialProviderResponse
Creates a new OAuth2 credential provider.
-
#create_online_evaluation_config(params = {}) ⇒ Types::CreateOnlineEvaluationConfigResponse
Creates an online evaluation configuration for continuous monitoring of agent performance.
-
#create_policy(params = {}) ⇒ Types::CreatePolicyResponse
Creates a policy within the AgentCore Policy system.
-
#create_policy_engine(params = {}) ⇒ Types::CreatePolicyEngineResponse
Creates a new policy engine within the AgentCore Policy system.
-
#create_registry(params = {}) ⇒ Types::CreateRegistryResponse
Creates a new registry in your Amazon Web Services account.
-
#create_registry_record(params = {}) ⇒ Types::CreateRegistryRecordResponse
Creates a new registry record within the specified registry.
-
#create_workload_identity(params = {}) ⇒ Types::CreateWorkloadIdentityResponse
Creates a new workload identity.
-
#delete_agent_runtime(params = {}) ⇒ Types::DeleteAgentRuntimeResponse
Deletes an Amazon Bedrock AgentCore Runtime.
-
#delete_agent_runtime_endpoint(params = {}) ⇒ Types::DeleteAgentRuntimeEndpointResponse
Deletes an AAgentCore Runtime endpoint.
-
#delete_api_key_credential_provider(params = {}) ⇒ Struct
Deletes an API key credential provider.
-
#delete_browser(params = {}) ⇒ Types::DeleteBrowserResponse
Deletes a custom browser.
-
#delete_browser_profile(params = {}) ⇒ Types::DeleteBrowserProfileResponse
Deletes a browser profile.
-
#delete_code_interpreter(params = {}) ⇒ Types::DeleteCodeInterpreterResponse
Deletes a custom code interpreter.
-
#delete_evaluator(params = {}) ⇒ Types::DeleteEvaluatorResponse
Deletes a custom evaluator.
-
#delete_gateway(params = {}) ⇒ Types::DeleteGatewayResponse
Deletes a gateway.
-
#delete_gateway_target(params = {}) ⇒ Types::DeleteGatewayTargetResponse
Deletes a gateway target.
-
#delete_harness(params = {}) ⇒ Types::DeleteHarnessResponse
Operation to delete a Harness.
-
#delete_memory(params = {}) ⇒ Types::DeleteMemoryOutput
Deletes an Amazon Bedrock AgentCore Memory resource.
-
#delete_oauth_2_credential_provider(params = {}) ⇒ Struct
Deletes an OAuth2 credential provider.
-
#delete_online_evaluation_config(params = {}) ⇒ Types::DeleteOnlineEvaluationConfigResponse
Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.
-
#delete_policy(params = {}) ⇒ Types::DeletePolicyResponse
Deletes an existing policy from the AgentCore Policy system.
-
#delete_policy_engine(params = {}) ⇒ Types::DeletePolicyEngineResponse
Deletes an existing policy engine from the AgentCore Policy system.
-
#delete_registry(params = {}) ⇒ Types::DeleteRegistryResponse
Deletes a registry.
-
#delete_registry_record(params = {}) ⇒ Struct
Deletes a registry record.
-
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the resource-based policy for a specified resource.
-
#delete_workload_identity(params = {}) ⇒ Struct
Deletes a workload identity.
-
#get_agent_runtime(params = {}) ⇒ Types::GetAgentRuntimeResponse
Gets an Amazon Bedrock AgentCore Runtime.
-
#get_agent_runtime_endpoint(params = {}) ⇒ Types::GetAgentRuntimeEndpointResponse
Gets information about an Amazon Secure AgentEndpoint.
-
#get_api_key_credential_provider(params = {}) ⇒ Types::GetApiKeyCredentialProviderResponse
Retrieves information about an API key credential provider.
-
#get_browser(params = {}) ⇒ Types::GetBrowserResponse
Gets information about a custom browser.
-
#get_browser_profile(params = {}) ⇒ Types::GetBrowserProfileResponse
Gets information about a browser profile.
-
#get_code_interpreter(params = {}) ⇒ Types::GetCodeInterpreterResponse
Gets information about a custom code interpreter.
-
#get_evaluator(params = {}) ⇒ Types::GetEvaluatorResponse
Retrieves detailed information about an evaluator, including its configuration, status, and metadata.
-
#get_gateway(params = {}) ⇒ Types::GetGatewayResponse
Retrieves information about a specific Gateway.
-
#get_gateway_target(params = {}) ⇒ Types::GetGatewayTargetResponse
Retrieves information about a specific gateway target.
-
#get_harness(params = {}) ⇒ Types::GetHarnessResponse
Operation to get a single Harness.
-
#get_memory(params = {}) ⇒ Types::GetMemoryOutput
Retrieve an existing Amazon Bedrock AgentCore Memory resource.
-
#get_oauth_2_credential_provider(params = {}) ⇒ Types::GetOauth2CredentialProviderResponse
Retrieves information about an OAuth2 credential provider.
-
#get_online_evaluation_config(params = {}) ⇒ Types::GetOnlineEvaluationConfigResponse
Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.
-
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
Retrieves detailed information about a specific policy within the AgentCore Policy system.
-
#get_policy_engine(params = {}) ⇒ Types::GetPolicyEngineResponse
Retrieves detailed information about a specific policy engine within the AgentCore Policy system.
-
#get_policy_generation(params = {}) ⇒ Types::GetPolicyGenerationResponse
Retrieves information about a policy generation request within the AgentCore Policy system.
-
#get_registry(params = {}) ⇒ Types::GetRegistryResponse
Retrieves information about a specific registry.
-
#get_registry_record(params = {}) ⇒ Types::GetRegistryRecordResponse
Retrieves information about a specific registry record.
-
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Retrieves the resource-based policy for a specified resource.
-
#get_token_vault(params = {}) ⇒ Types::GetTokenVaultResponse
Retrieves information about a token vault.
-
#get_workload_identity(params = {}) ⇒ Types::GetWorkloadIdentityResponse
Retrieves information about a workload identity.
-
#list_agent_runtime_endpoints(params = {}) ⇒ Types::ListAgentRuntimeEndpointsResponse
Lists all endpoints for a specific Amazon Secure Agent.
-
#list_agent_runtime_versions(params = {}) ⇒ Types::ListAgentRuntimeVersionsResponse
Lists all versions of a specific Amazon Secure Agent.
-
#list_agent_runtimes(params = {}) ⇒ Types::ListAgentRuntimesResponse
Lists all Amazon Secure Agents in your account.
-
#list_api_key_credential_providers(params = {}) ⇒ Types::ListApiKeyCredentialProvidersResponse
Lists all API key credential providers in your account.
-
#list_browser_profiles(params = {}) ⇒ Types::ListBrowserProfilesResponse
Lists all browser profiles in your account.
-
#list_browsers(params = {}) ⇒ Types::ListBrowsersResponse
Lists all custom browsers in your account.
-
#list_code_interpreters(params = {}) ⇒ Types::ListCodeInterpretersResponse
Lists all custom code interpreters in your account.
-
#list_evaluators(params = {}) ⇒ Types::ListEvaluatorsResponse
Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.
-
#list_gateway_targets(params = {}) ⇒ Types::ListGatewayTargetsResponse
Lists all targets for a specific gateway.
-
#list_gateways(params = {}) ⇒ Types::ListGatewaysResponse
Lists all gateways in the account.
-
#list_harnesses(params = {}) ⇒ Types::ListHarnessesResponse
Operation to list Harnesses.
-
#list_memories(params = {}) ⇒ Types::ListMemoriesOutput
Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.
-
#list_oauth_2_credential_providers(params = {}) ⇒ Types::ListOauth2CredentialProvidersResponse
Lists all OAuth2 credential providers in your account.
-
#list_online_evaluation_configs(params = {}) ⇒ Types::ListOnlineEvaluationConfigsResponse
Lists all online evaluation configurations in the account, providing summary information about each configuration’s status and settings.
-
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Retrieves a list of policies within the AgentCore Policy engine.
-
#list_policy_engines(params = {}) ⇒ Types::ListPolicyEnginesResponse
Retrieves a list of policy engines within the AgentCore Policy system.
-
#list_policy_generation_assets(params = {}) ⇒ Types::ListPolicyGenerationAssetsResponse
Retrieves a list of generated policy assets from a policy generation request within the AgentCore Policy system.
-
#list_policy_generations(params = {}) ⇒ Types::ListPolicyGenerationsResponse
Retrieves a list of policy generation requests within the AgentCore Policy system.
-
#list_registries(params = {}) ⇒ Types::ListRegistriesResponse
Lists all registries in the account.
-
#list_registry_records(params = {}) ⇒ Types::ListRegistryRecordsResponse
Lists registry records within a registry.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags associated with the specified resource.
-
#list_workload_identities(params = {}) ⇒ Types::ListWorkloadIdentitiesResponse
Lists all workload identities in your account.
-
#put_resource_policy(params = {}) ⇒ Types::PutResourcePolicyResponse
Creates or updates a resource-based policy for a resource with the specified resourceArn.
-
#set_token_vault_cmk(params = {}) ⇒ Types::SetTokenVaultCMKResponse
Sets the customer master key (CMK) for a token vault.
-
#start_policy_generation(params = {}) ⇒ Types::StartPolicyGenerationResponse
Initiates the AI-powered generation of Cedar policies from natural language descriptions within the AgentCore Policy system.
-
#submit_registry_record_for_approval(params = {}) ⇒ Types::SubmitRegistryRecordForApprovalResponse
Submits a registry record for approval.
-
#synchronize_gateway_targets(params = {}) ⇒ Types::SynchronizeGatewayTargetsResponse
Synchronizes the gateway targets by fetching the latest tool definitions from the target endpoints.
-
#tag_resource(params = {}) ⇒ Struct
Associates the specified tags to a resource with the specified resourceArn.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
-
#update_agent_runtime(params = {}) ⇒ Types::UpdateAgentRuntimeResponse
Updates an existing Amazon Secure Agent.
-
#update_agent_runtime_endpoint(params = {}) ⇒ Types::UpdateAgentRuntimeEndpointResponse
Updates an existing Amazon Bedrock AgentCore Runtime endpoint.
-
#update_api_key_credential_provider(params = {}) ⇒ Types::UpdateApiKeyCredentialProviderResponse
Updates an existing API key credential provider.
-
#update_evaluator(params = {}) ⇒ Types::UpdateEvaluatorResponse
Updates a custom evaluator’s configuration, description, or evaluation level.
-
#update_gateway(params = {}) ⇒ Types::UpdateGatewayResponse
Updates an existing gateway.
-
#update_gateway_target(params = {}) ⇒ Types::UpdateGatewayTargetResponse
Updates an existing gateway target.
-
#update_harness(params = {}) ⇒ Types::UpdateHarnessResponse
Operation to update a Harness.
-
#update_memory(params = {}) ⇒ Types::UpdateMemoryOutput
Update an Amazon Bedrock AgentCore Memory resource memory.
-
#update_oauth_2_credential_provider(params = {}) ⇒ Types::UpdateOauth2CredentialProviderResponse
Updates an existing OAuth2 credential provider.
-
#update_online_evaluation_config(params = {}) ⇒ Types::UpdateOnlineEvaluationConfigResponse
Updates an online evaluation configuration’s settings, including rules, data sources, evaluators, and execution status.
-
#update_policy(params = {}) ⇒ Types::UpdatePolicyResponse
Updates an existing policy within the AgentCore Policy system.
-
#update_policy_engine(params = {}) ⇒ Types::UpdatePolicyEngineResponse
Updates an existing policy engine within the AgentCore Policy system.
-
#update_registry(params = {}) ⇒ Types::UpdateRegistryResponse
Updates an existing registry.
-
#update_registry_record(params = {}) ⇒ Types::UpdateRegistryRecordResponse
Updates an existing registry record.
-
#update_registry_record_status(params = {}) ⇒ Types::UpdateRegistryRecordStatusResponse
Updates the status of a registry record.
-
#update_workload_identity(params = {}) ⇒ Types::UpdateWorkloadIdentityResponse
Updates an existing workload identity.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
473 474 475 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 473 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9401 9402 9403 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9401 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9404 9405 9406 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9404 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9251 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::BedrockAgentCoreControl') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol' context[:gem_version] = '1.39.0' Seahorse::Client::Request.new(handlers, context) end |
#create_agent_runtime(params = {}) ⇒ Types::CreateAgentRuntimeResponse
Creates an Amazon Bedrock AgentCore Runtime.
628 629 630 631 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 628 def create_agent_runtime(params = {}, = {}) req = build_request(:create_agent_runtime, params) req.send_request() end |
#create_agent_runtime_endpoint(params = {}) ⇒ Types::CreateAgentRuntimeEndpointResponse
Creates an AgentCore Runtime endpoint.
697 698 699 700 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 697 def create_agent_runtime_endpoint(params = {}, = {}) req = build_request(:create_agent_runtime_endpoint, params) req.send_request() end |
#create_api_key_credential_provider(params = {}) ⇒ Types::CreateApiKeyCredentialProviderResponse
Creates a new API key credential provider.
743 744 745 746 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 743 def create_api_key_credential_provider(params = {}, = {}) req = build_request(:create_api_key_credential_provider, params) req.send_request() end |
#create_browser(params = {}) ⇒ Types::CreateBrowserResponse
Creates a custom browser.
862 863 864 865 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 862 def create_browser(params = {}, = {}) req = build_request(:create_browser, params) req.send_request() end |
#create_browser_profile(params = {}) ⇒ Types::CreateBrowserProfileResponse
Creates a browser profile in Amazon Bedrock AgentCore. A browser profile stores persistent browser data such as cookies, local storage, session storage, and browsing history that can be saved from browser sessions and reused in subsequent sessions.
923 924 925 926 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 923 def create_browser_profile(params = {}, = {}) req = build_request(:create_browser_profile, params) req.send_request() end |
#create_code_interpreter(params = {}) ⇒ Types::CreateCodeInterpreterResponse
Creates a custom code interpreter.
1009 1010 1011 1012 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1009 def create_code_interpreter(params = {}, = {}) req = build_request(:create_code_interpreter, params) req.send_request() end |
#create_evaluator(params = {}) ⇒ Types::CreateEvaluatorResponse
Creates a custom evaluator for agent quality assessment. Custom evaluators can use either LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings, or code-based configurations with customer-managed Lambda functions to evaluate agent performance at tool call, trace, or session levels.
1126 1127 1128 1129 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1126 def create_evaluator(params = {}, = {}) req = build_request(:create_evaluator, params) req.send_request() end |
#create_gateway(params = {}) ⇒ Types::CreateGatewayResponse
Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.
If you specify ‘CUSTOM_JWT` as the `authorizerType`, you must provide an `authorizerConfiguration`.
1342 1343 1344 1345 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1342 def create_gateway(params = {}, = {}) req = build_request(:create_gateway, params) req.send_request() end |
#create_gateway_target(params = {}) ⇒ Types::CreateGatewayTargetResponse
Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.
1652 1653 1654 1655 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1652 def create_gateway_target(params = {}, = {}) req = build_request(:create_gateway_target, params) req.send_request() end |
#create_harness(params = {}) ⇒ Types::CreateHarnessResponse
Operation to create a Harness.
2003 2004 2005 2006 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2003 def create_harness(params = {}, = {}) req = build_request(:create_harness, params) req.send_request() end |
#create_memory(params = {}) ⇒ Types::CreateMemoryOutput
Creates a new Amazon Bedrock AgentCore Memory resource.
2251 2252 2253 2254 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2251 def create_memory(params = {}, = {}) req = build_request(:create_memory, params) req.send_request() end |
#create_oauth_2_credential_provider(params = {}) ⇒ Types::CreateOauth2CredentialProviderResponse
Creates a new OAuth2 credential provider.
2437 2438 2439 2440 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2437 def create_oauth_2_credential_provider(params = {}, = {}) req = build_request(:create_oauth_2_credential_provider, params) req.send_request() end |
#create_online_evaluation_config(params = {}) ⇒ Types::CreateOnlineEvaluationConfigResponse
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.
2563 2564 2565 2566 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2563 def create_online_evaluation_config(params = {}, = {}) req = build_request(:create_online_evaluation_config, params) req.send_request() end |
#create_policy(params = {}) ⇒ Types::CreatePolicyResponse
Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway’s tools’ input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the [GetPolicy] operation to poll the ‘status` field to track completion.
[1]: docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetPolicy.html
2684 2685 2686 2687 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2684 def create_policy(params = {}, = {}) req = build_request(:create_policy, params) req.send_request() end |
#create_policy_engine(params = {}) ⇒ Types::CreatePolicyEngineResponse
Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous operation. Use the [GetPolicyEngine] operation to poll the ‘status` field to track completion.
[1]: docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetPolicyEngine.html
2775 2776 2777 2778 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2775 def create_policy_engine(params = {}, = {}) req = build_request(:create_policy_engine, params) req.send_request() end |
#create_registry(params = {}) ⇒ Types::CreateRegistryResponse
Creates a new registry in your Amazon Web Services account. A registry serves as a centralized catalog for organizing and managing registry records, including MCP servers, A2A agents, agent skills, and custom resource types.
If you specify ‘CUSTOM_JWT` as the `authorizerType`, you must provide an `authorizerConfiguration`.
2874 2875 2876 2877 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2874 def create_registry(params = {}, = {}) req = build_request(:create_registry, params) req.send_request() end |
#create_registry_record(params = {}) ⇒ Types::CreateRegistryRecordResponse
Creates a new registry record within the specified registry. A registry record represents an individual AI resource’s metadata in the registry. This could be an MCP server (and associated tools), A2A agent, agent skill, or a custom resource with a custom schema.
The record is processed asynchronously and returns HTTP 202 Accepted.
3024 3025 3026 3027 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3024 def create_registry_record(params = {}, = {}) req = build_request(:create_registry_record, params) req.send_request() end |
#create_workload_identity(params = {}) ⇒ Types::CreateWorkloadIdentityResponse
Creates a new workload identity.
3071 3072 3073 3074 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3071 def create_workload_identity(params = {}, = {}) req = build_request(:create_workload_identity, params) req.send_request() end |
#delete_agent_runtime(params = {}) ⇒ Types::DeleteAgentRuntimeResponse
Deletes an Amazon Bedrock AgentCore Runtime.
3110 3111 3112 3113 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3110 def delete_agent_runtime(params = {}, = {}) req = build_request(:delete_agent_runtime, params) req.send_request() end |
#delete_agent_runtime_endpoint(params = {}) ⇒ Types::DeleteAgentRuntimeEndpointResponse
Deletes an AAgentCore Runtime endpoint.
3155 3156 3157 3158 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3155 def delete_agent_runtime_endpoint(params = {}, = {}) req = build_request(:delete_agent_runtime_endpoint, params) req.send_request() end |
#delete_api_key_credential_provider(params = {}) ⇒ Struct
Deletes an API key credential provider.
3177 3178 3179 3180 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3177 def delete_api_key_credential_provider(params = {}, = {}) req = build_request(:delete_api_key_credential_provider, params) req.send_request() end |
#delete_browser(params = {}) ⇒ Types::DeleteBrowserResponse
Deletes a custom browser.
3217 3218 3219 3220 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3217 def delete_browser(params = {}, = {}) req = build_request(:delete_browser, params) req.send_request() end |
#delete_browser_profile(params = {}) ⇒ Types::DeleteBrowserProfileResponse
Deletes a browser profile.
3261 3262 3263 3264 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3261 def delete_browser_profile(params = {}, = {}) req = build_request(:delete_browser_profile, params) req.send_request() end |
#delete_code_interpreter(params = {}) ⇒ Types::DeleteCodeInterpreterResponse
Deletes a custom code interpreter.
3301 3302 3303 3304 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3301 def delete_code_interpreter(params = {}, = {}) req = build_request(:delete_code_interpreter, params) req.send_request() end |
#delete_evaluator(params = {}) ⇒ Types::DeleteEvaluatorResponse
Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.
3335 3336 3337 3338 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3335 def delete_evaluator(params = {}, = {}) req = build_request(:delete_evaluator, params) req.send_request() end |
#delete_gateway(params = {}) ⇒ Types::DeleteGatewayResponse
Deletes a gateway.
3368 3369 3370 3371 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3368 def delete_gateway(params = {}, = {}) req = build_request(:delete_gateway, params) req.send_request() end |
#delete_gateway_target(params = {}) ⇒ Types::DeleteGatewayTargetResponse
Deletes a gateway target.
You cannot delete a target that is in a pending authorization state (‘CREATE_PENDING_AUTH`, `UPDATE_PENDING_AUTH`, or `SYNCHRONIZE_PENDING_AUTH`). Wait for the authorization to complete or fail before deleting the target.
3412 3413 3414 3415 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3412 def delete_gateway_target(params = {}, = {}) req = build_request(:delete_gateway_target, params) req.send_request() end |
#delete_harness(params = {}) ⇒ Types::DeleteHarnessResponse
Operation to delete a Harness.
3537 3538 3539 3540 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3537 def delete_harness(params = {}, = {}) req = build_request(:delete_harness, params) req.send_request() end |
#delete_memory(params = {}) ⇒ Types::DeleteMemoryOutput
Deletes an Amazon Bedrock AgentCore Memory resource.
3576 3577 3578 3579 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3576 def delete_memory(params = {}, = {}) req = build_request(:delete_memory, params) req.send_request() end |
#delete_oauth_2_credential_provider(params = {}) ⇒ Struct
Deletes an OAuth2 credential provider.
3598 3599 3600 3601 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3598 def delete_oauth_2_credential_provider(params = {}, = {}) req = build_request(:delete_oauth_2_credential_provider, params) req.send_request() end |
#delete_online_evaluation_config(params = {}) ⇒ Types::DeleteOnlineEvaluationConfigResponse
Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.
3632 3633 3634 3635 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3632 def delete_online_evaluation_config(params = {}, = {}) req = build_request(:delete_online_evaluation_config, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Types::DeletePolicyResponse
Deletes an existing policy from the AgentCore Policy system. Once deleted, the policy can no longer be used for agent behavior control and all references to it become invalid. This is an asynchronous operation. Use the ‘GetPolicy` operation to poll the `status` field to track completion.
3692 3693 3694 3695 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3692 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_policy_engine(params = {}) ⇒ Types::DeletePolicyEngineResponse
Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable for policy management and evaluation. This is an asynchronous operation. Use the ‘GetPolicyEngine` operation to poll the `status` field to track completion.
3743 3744 3745 3746 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3743 def delete_policy_engine(params = {}, = {}) req = build_request(:delete_policy_engine, params) req.send_request() end |
#delete_registry(params = {}) ⇒ Types::DeleteRegistryResponse
Deletes a registry. The registry must contain zero records before it can be deleted. This operation initiates the deletion process asynchronously.
3774 3775 3776 3777 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3774 def delete_registry(params = {}, = {}) req = build_request(:delete_registry, params) req.send_request() end |
#delete_registry_record(params = {}) ⇒ Struct
Deletes a registry record. The record’s status transitions to ‘DELETING` and the record is removed asynchronously.
3803 3804 3805 3806 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3803 def delete_registry_record(params = {}, = {}) req = build_request(:delete_registry_record, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the resource-based policy for a specified resource.
<note markdown=“1”> This feature is currently available only for AgentCore Runtime and Gateway.
</note>
3831 3832 3833 3834 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3831 def delete_resource_policy(params = {}, = {}) req = build_request(:delete_resource_policy, params) req.send_request() end |
#delete_workload_identity(params = {}) ⇒ Struct
Deletes a workload identity.
3853 3854 3855 3856 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3853 def delete_workload_identity(params = {}, = {}) req = build_request(:delete_workload_identity, params) req.send_request() end |
#get_agent_runtime(params = {}) ⇒ Types::GetAgentRuntimeResponse
Gets an Amazon Bedrock AgentCore Runtime.
3950 3951 3952 3953 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3950 def get_agent_runtime(params = {}, = {}) req = build_request(:get_agent_runtime, params) req.send_request() end |
#get_agent_runtime_endpoint(params = {}) ⇒ Types::GetAgentRuntimeEndpointResponse
Gets information about an Amazon Secure AgentEndpoint.
4003 4004 4005 4006 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4003 def get_agent_runtime_endpoint(params = {}, = {}) req = build_request(:get_agent_runtime_endpoint, params) req.send_request() end |
#get_api_key_credential_provider(params = {}) ⇒ Types::GetApiKeyCredentialProviderResponse
Retrieves information about an API key credential provider.
4039 4040 4041 4042 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4039 def get_api_key_credential_provider(params = {}, = {}) req = build_request(:get_api_key_credential_provider, params) req.send_request() end |
#get_browser(params = {}) ⇒ Types::GetBrowserResponse
Gets information about a custom browser.
4105 4106 4107 4108 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4105 def get_browser(params = {}, = {}) req = build_request(:get_browser, params) req.send_request() end |
#get_browser_profile(params = {}) ⇒ Types::GetBrowserProfileResponse
Gets information about a browser profile.
4151 4152 4153 4154 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4151 def get_browser_profile(params = {}, = {}) req = build_request(:get_browser_profile, params) req.send_request() end |
#get_code_interpreter(params = {}) ⇒ Types::GetCodeInterpreterResponse
Gets information about a custom code interpreter.
4204 4205 4206 4207 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4204 def get_code_interpreter(params = {}, = {}) req = build_request(:get_code_interpreter, params) req.send_request() end |
#get_evaluator(params = {}) ⇒ Types::GetEvaluatorResponse
Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.
4268 4269 4270 4271 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4268 def get_evaluator(params = {}, = {}) req = build_request(:get_evaluator, params) req.send_request() end |
#get_gateway(params = {}) ⇒ Types::GetGatewayResponse
Retrieves information about a specific Gateway.
4354 4355 4356 4357 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4354 def get_gateway(params = {}, = {}) req = build_request(:get_gateway, params) req.send_request() end |
#get_gateway_target(params = {}) ⇒ Types::GetGatewayTargetResponse
Retrieves information about a specific gateway target.
4489 4490 4491 4492 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4489 def get_gateway_target(params = {}, = {}) req = build_request(:get_gateway_target, params) req.send_request() end |
#get_harness(params = {}) ⇒ Types::GetHarnessResponse
Operation to get a single Harness.
4606 4607 4608 4609 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4606 def get_harness(params = {}, = {}) req = build_request(:get_harness, params) req.send_request() end |
#get_memory(params = {}) ⇒ Types::GetMemoryOutput
Retrieve an existing Amazon Bedrock AgentCore Memory resource.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* memory_created
4702 4703 4704 4705 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4702 def get_memory(params = {}, = {}) req = build_request(:get_memory, params) req.send_request() end |
#get_oauth_2_credential_provider(params = {}) ⇒ Types::GetOauth2CredentialProviderResponse
Retrieves information about an OAuth2 credential provider.
4824 4825 4826 4827 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4824 def get_oauth_2_credential_provider(params = {}, = {}) req = build_request(:get_oauth_2_credential_provider, params) req.send_request() end |
#get_online_evaluation_config(params = {}) ⇒ Types::GetOnlineEvaluationConfigResponse
Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.
4892 4893 4894 4895 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4892 def get_online_evaluation_config(params = {}, = {}) req = build_request(:get_online_evaluation_config, params) req.send_request() end |
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
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.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* policy_active
* policy_deleted
4956 4957 4958 4959 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4956 def get_policy(params = {}, = {}) req = build_request(:get_policy, params) req.send_request() end |
#get_policy_engine(params = {}) ⇒ Types::GetPolicyEngineResponse
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.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* policy_engine_active
* policy_engine_deleted
5011 5012 5013 5014 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5011 def get_policy_engine(params = {}, = {}) req = build_request(:get_policy_engine, params) req.send_request() end |
#get_policy_generation(params = {}) ⇒ Types::GetPolicyGenerationResponse
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.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* policy_generation_completed
5078 5079 5080 5081 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5078 def get_policy_generation(params = {}, = {}) req = build_request(:get_policy_generation, params) req.send_request() end |
#get_registry(params = {}) ⇒ Types::GetRegistryResponse
Retrieves information about a specific registry.
5140 5141 5142 5143 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5140 def get_registry(params = {}, = {}) req = build_request(:get_registry, params) req.send_request() end |
#get_registry_record(params = {}) ⇒ Types::GetRegistryRecordResponse
Retrieves information about a specific registry record.
5220 5221 5222 5223 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5220 def get_registry_record(params = {}, = {}) req = build_request(:get_registry_record, params) req.send_request() end |
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Retrieves the resource-based policy for a specified resource.
<note markdown=“1”> This feature is currently available only for AgentCore Runtime and Gateway.
</note>
5254 5255 5256 5257 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5254 def get_resource_policy(params = {}, = {}) req = build_request(:get_resource_policy, params) req.send_request() end |
#get_token_vault(params = {}) ⇒ Types::GetTokenVaultResponse
Retrieves information about a token vault.
5287 5288 5289 5290 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5287 def get_token_vault(params = {}, = {}) req = build_request(:get_token_vault, params) req.send_request() end |
#get_workload_identity(params = {}) ⇒ Types::GetWorkloadIdentityResponse
Retrieves information about a workload identity.
5324 5325 5326 5327 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5324 def get_workload_identity(params = {}, = {}) req = build_request(:get_workload_identity, params) req.send_request() end |
#list_agent_runtime_endpoints(params = {}) ⇒ Types::ListAgentRuntimeEndpointsResponse
Lists all endpoints for a specific Amazon Secure Agent.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5374 5375 5376 5377 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5374 def list_agent_runtime_endpoints(params = {}, = {}) req = build_request(:list_agent_runtime_endpoints, params) req.send_request() end |
#list_agent_runtime_versions(params = {}) ⇒ Types::ListAgentRuntimeVersionsResponse
Lists all versions of a specific Amazon Secure Agent.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5421 5422 5423 5424 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5421 def list_agent_runtime_versions(params = {}, = {}) req = build_request(:list_agent_runtime_versions, params) req.send_request() end |
#list_agent_runtimes(params = {}) ⇒ Types::ListAgentRuntimesResponse
Lists all Amazon Secure Agents in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5464 5465 5466 5467 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5464 def list_agent_runtimes(params = {}, = {}) req = build_request(:list_agent_runtimes, params) req.send_request() end |
#list_api_key_credential_providers(params = {}) ⇒ Types::ListApiKeyCredentialProvidersResponse
Lists all API key credential providers in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5504 5505 5506 5507 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5504 def list_api_key_credential_providers(params = {}, = {}) req = build_request(:list_api_key_credential_providers, params) req.send_request() end |
#list_browser_profiles(params = {}) ⇒ Types::ListBrowserProfilesResponse
Lists all browser profiles in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5554 5555 5556 5557 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5554 def list_browser_profiles(params = {}, = {}) req = build_request(:list_browser_profiles, params) req.send_request() end |
#list_browsers(params = {}) ⇒ Types::ListBrowsersResponse
Lists all custom browsers in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5605 5606 5607 5608 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5605 def list_browsers(params = {}, = {}) req = build_request(:list_browsers, params) req.send_request() end |
#list_code_interpreters(params = {}) ⇒ Types::ListCodeInterpretersResponse
Lists all custom code interpreters in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5652 5653 5654 5655 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5652 def list_code_interpreters(params = {}, = {}) req = build_request(:list_code_interpreters, params) req.send_request() end |
#list_evaluators(params = {}) ⇒ Types::ListEvaluatorsResponse
Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5700 5701 5702 5703 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5700 def list_evaluators(params = {}, = {}) req = build_request(:list_evaluators, params) req.send_request() end |
#list_gateway_targets(params = {}) ⇒ Types::ListGatewayTargetsResponse
Lists all targets for a specific gateway.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5753 5754 5755 5756 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5753 def list_gateway_targets(params = {}, = {}) req = build_request(:list_gateway_targets, params) req.send_request() end |
#list_gateways(params = {}) ⇒ Types::ListGatewaysResponse
Lists all gateways in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5803 5804 5805 5806 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5803 def list_gateways(params = {}, = {}) req = build_request(:list_gateways, params) req.send_request() end |
#list_harnesses(params = {}) ⇒ Types::ListHarnessesResponse
Operation to list Harnesses.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5845 5846 5847 5848 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5845 def list_harnesses(params = {}, = {}) req = build_request(:list_harnesses, params) req.send_request() end |
#list_memories(params = {}) ⇒ Types::ListMemoriesOutput
Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5890 5891 5892 5893 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5890 def list_memories(params = {}, = {}) req = build_request(:list_memories, params) req.send_request() end |
#list_oauth_2_credential_providers(params = {}) ⇒ Types::ListOauth2CredentialProvidersResponse
Lists all OAuth2 credential providers in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5931 5932 5933 5934 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5931 def list_oauth_2_credential_providers(params = {}, = {}) req = build_request(:list_oauth_2_credential_providers, params) req.send_request() end |
#list_online_evaluation_configs(params = {}) ⇒ Types::ListOnlineEvaluationConfigsResponse
Lists all online evaluation configurations in the account, providing summary information about each configuration’s status and settings.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5979 5980 5981 5982 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5979 def list_online_evaluation_configs(params = {}, = {}) req = build_request(:list_online_evaluation_configs, params) req.send_request() end |
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6050 6051 6052 6053 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6050 def list_policies(params = {}, = {}) req = build_request(:list_policies, params) req.send_request() end |
#list_policy_engines(params = {}) ⇒ Types::ListPolicyEnginesResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6107 6108 6109 6110 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6107 def list_policy_engines(params = {}, = {}) req = build_request(:list_policy_engines, params) req.send_request() end |
#list_policy_generation_assets(params = {}) ⇒ Types::ListPolicyGenerationAssetsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6183 6184 6185 6186 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6183 def list_policy_generation_assets(params = {}, = {}) req = build_request(:list_policy_generation_assets, params) req.send_request() end |
#list_policy_generations(params = {}) ⇒ Types::ListPolicyGenerationsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6239 6240 6241 6242 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6239 def list_policy_generations(params = {}, = {}) req = build_request(:list_policy_generations, params) req.send_request() end |
#list_registries(params = {}) ⇒ Types::ListRegistriesResponse
Lists all registries in the account. You can optionally filter results by status using the ‘status` parameter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6297 6298 6299 6300 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6297 def list_registries(params = {}, = {}) req = build_request(:list_registries, params) req.send_request() end |
#list_registry_records(params = {}) ⇒ Types::ListRegistryRecordsResponse
Lists registry records within a registry. You can optionally filter results using the ‘name`, `status`, and `descriptorType` parameters. When multiple filters are specified, they are combined using AND logic.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6373 6374 6375 6376 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6373 def list_registry_records(params = {}, = {}) req = build_request(:list_registry_records, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags associated with the specified resource.
<note markdown=“1”> This feature is currently available only for AgentCore Runtime, Browser, Browser Profile, Code Interpreter tool, and Gateway.
</note>
6408 6409 6410 6411 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6408 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_workload_identities(params = {}) ⇒ Types::ListWorkloadIdentitiesResponse
Lists all workload identities in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6446 6447 6448 6449 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6446 def list_workload_identities(params = {}, = {}) req = build_request(:list_workload_identities, params) req.send_request() end |
#put_resource_policy(params = {}) ⇒ Types::PutResourcePolicyResponse
Creates or updates a resource-based policy for a resource with the specified resourceArn.
<note markdown=“1”> This feature is currently available only for AgentCore Runtime and Gateway.
</note>
6485 6486 6487 6488 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6485 def put_resource_policy(params = {}, = {}) req = build_request(:put_resource_policy, params) req.send_request() end |
#set_token_vault_cmk(params = {}) ⇒ Types::SetTokenVaultCMKResponse
Sets the customer master key (CMK) for a token vault.
6526 6527 6528 6529 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6526 def set_token_vault_cmk(params = {}, = {}) req = build_request(:set_token_vault_cmk, params) req.send_request() end |
#start_policy_generation(params = {}) ⇒ Types::StartPolicyGenerationResponse
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.
6622 6623 6624 6625 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6622 def start_policy_generation(params = {}, = {}) req = build_request(:start_policy_generation, params) req.send_request() end |
#submit_registry_record_for_approval(params = {}) ⇒ Types::SubmitRegistryRecordForApprovalResponse
Submits a registry record for approval. This transitions the record from ‘DRAFT` status to `PENDING_APPROVAL` status. If the registry has auto-approval enabled, the record is automatically approved.
6666 6667 6668 6669 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6666 def submit_registry_record_for_approval(params = {}, = {}) req = build_request(:submit_registry_record_for_approval, params) req.send_request() end |
#synchronize_gateway_targets(params = {}) ⇒ Types::SynchronizeGatewayTargetsResponse
Synchronizes the gateway targets by fetching the latest tool definitions from the target endpoints.
You cannot synchronize a target that is in a pending authorization state (‘CREATE_PENDING_AUTH`, `UPDATE_PENDING_AUTH`, or `SYNCHRONIZE_PENDING_AUTH`). Wait for the authorization to complete or fail before synchronizing.
You cannot synchronize a target that has a static tool schema (‘mcpToolSchema`) configured. Remove the static schema through an `UpdateGatewayTarget` call to enable dynamic tool synchronization.
6798 6799 6800 6801 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6798 def synchronize_gateway_targets(params = {}, = {}) req = build_request(:synchronize_gateway_targets, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
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.
<note markdown=“1”> This feature is currently available only for AgentCore Runtime, Browser, Browser Profile, Code Interpreter tool, and Gateway.
</note>
6834 6835 6836 6837 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6834 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
<note markdown=“1”> This feature is currently available only for AgentCore Runtime, Browser, Browser Profile, Code Interpreter tool, and Gateway.
</note>
6865 6866 6867 6868 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6865 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent_runtime(params = {}) ⇒ Types::UpdateAgentRuntimeResponse
Updates an existing Amazon Secure Agent.
7021 7022 7023 7024 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7021 def update_agent_runtime(params = {}, = {}) req = build_request(:update_agent_runtime, params) req.send_request() end |
#update_agent_runtime_endpoint(params = {}) ⇒ Types::UpdateAgentRuntimeEndpointResponse
Updates an existing Amazon Bedrock AgentCore Runtime endpoint.
7082 7083 7084 7085 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7082 def update_agent_runtime_endpoint(params = {}, = {}) req = build_request(:update_agent_runtime_endpoint, params) req.send_request() end |
#update_api_key_credential_provider(params = {}) ⇒ Types::UpdateApiKeyCredentialProviderResponse
Updates an existing API key credential provider.
7123 7124 7125 7126 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7123 def update_api_key_credential_provider(params = {}, = {}) req = build_request(:update_api_key_credential_provider, params) req.send_request() end |
#update_evaluator(params = {}) ⇒ Types::UpdateEvaluatorResponse
Updates a custom evaluator’s configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification.
7228 7229 7230 7231 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7228 def update_evaluator(params = {}, = {}) req = build_request(:update_evaluator, params) req.send_request() end |
#update_gateway(params = {}) ⇒ Types::UpdateGatewayResponse
Updates an existing gateway.
7412 7413 7414 7415 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7412 def update_gateway(params = {}, = {}) req = build_request(:update_gateway, params) req.send_request() end |
#update_gateway_target(params = {}) ⇒ Types::UpdateGatewayTargetResponse
Updates an existing gateway target.
You cannot update a target that is in a pending authorization state (‘CREATE_PENDING_AUTH`, `UPDATE_PENDING_AUTH`, or `SYNCHRONIZE_PENDING_AUTH`). Wait for the authorization to complete or fail before updating the target.
7712 7713 7714 7715 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7712 def update_gateway_target(params = {}, = {}) req = build_request(:update_gateway_target, params) req.send_request() end |
#update_harness(params = {}) ⇒ Types::UpdateHarnessResponse
Operation to update a Harness.
8069 8070 8071 8072 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8069 def update_harness(params = {}, = {}) req = build_request(:update_harness, params) req.send_request() end |
#update_memory(params = {}) ⇒ Types::UpdateMemoryOutput
Update an Amazon Bedrock AgentCore Memory resource memory.
8389 8390 8391 8392 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8389 def update_memory(params = {}, = {}) req = build_request(:update_memory, params) req.send_request() end |
#update_oauth_2_credential_provider(params = {}) ⇒ Types::UpdateOauth2CredentialProviderResponse
Updates an existing OAuth2 credential provider.
8570 8571 8572 8573 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8570 def update_oauth_2_credential_provider(params = {}, = {}) req = build_request(:update_oauth_2_credential_provider, params) req.send_request() end |
#update_online_evaluation_config(params = {}) ⇒ Types::UpdateOnlineEvaluationConfigResponse
Updates an online evaluation configuration’s settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
8681 8682 8683 8684 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8681 def update_online_evaluation_config(params = {}, = {}) req = build_request(:update_online_evaluation_config, params) req.send_request() end |
#update_policy(params = {}) ⇒ Types::UpdatePolicyResponse
Updates an existing policy within the AgentCore Policy system. This operation allows modification of the policy description and definition while maintaining the policy’s identity. The updated policy is validated against the Cedar schema before being applied. This is an asynchronous operation. Use the ‘GetPolicy` operation to poll the `status` field to track completion.
8775 8776 8777 8778 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8775 def update_policy(params = {}, = {}) req = build_request(:update_policy, params) req.send_request() end |
#update_policy_engine(params = {}) ⇒ Types::UpdatePolicyEngineResponse
Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the ‘GetPolicyEngine` operation to poll the `status` field to track completion.
8830 8831 8832 8833 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8830 def update_policy_engine(params = {}, = {}) req = build_request(:update_policy_engine, params) req.send_request() end |
#update_registry(params = {}) ⇒ Types::UpdateRegistryResponse
Updates an existing registry. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
8944 8945 8946 8947 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8944 def update_registry(params = {}, = {}) req = build_request(:update_registry, params) req.send_request() end |
#update_registry_record(params = {}) ⇒ Types::UpdateRegistryRecordResponse
Updates an existing registry record. This operation uses PATCH semantics, so you only need to specify the fields you want to change. The update is processed asynchronously and returns HTTP 202 Accepted.
9145 9146 9147 9148 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9145 def update_registry_record(params = {}, = {}) req = build_request(:update_registry_record, params) req.send_request() end |
#update_registry_record_status(params = {}) ⇒ Types::UpdateRegistryRecordStatusResponse
Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.
9200 9201 9202 9203 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9200 def update_registry_record_status(params = {}, = {}) req = build_request(:update_registry_record_status, params) req.send_request() end |
#update_workload_identity(params = {}) ⇒ Types::UpdateWorkloadIdentityResponse
Updates an existing workload identity.
9242 9243 9244 9245 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9242 def update_workload_identity(params = {}, = {}) req = build_request(:update_workload_identity, params) req.send_request() end |
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
## Basic Usage
A waiter will call an API operation until:
-
It is successful
-
It enters a terminal state
-
It makes the maximum number of attempts
In between attempts, the waiter will sleep.
# polls in a loop, sleeping between attempts
client.wait_until(waiter_name, params)
## Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You can pass configuration as the final arguments hash.
# poll for ~25 seconds
client.wait_until(waiter_name, params, {
max_attempts: 5,
delay: 5,
})
## Callbacks
You can be notified before each polling attempt and before each delay. If you throw ‘:success` or `:failure` from these callbacks, it will terminate the waiter.
started_at = Time.now
client.wait_until(waiter_name, params, {
# disable max attempts
max_attempts: nil,
# poll for 1 hour, instead of a number of attempts
before_wait: -> (attempts, response) do
throw :failure if Time.now - started_at > 3600
end
})
## Handling Errors
When a waiter is unsuccessful, it will raise an error. All of the failure errors extend from Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
## Valid Waiters
The following table lists the valid waiter names, the operations they call, and the default ‘:delay` and `:max_attempts` values.
| waiter_name | params | :delay | :max_attempts | | ————————— | —————————— | ——– | ————- | | memory_created | #get_memory | 2 | 60 | | policy_active | #get_policy | 5 | 24 | | policy_deleted | #get_policy | 2 | 60 | | policy_engine_active | #get_policy_engine | 5 | 24 | | policy_engine_deleted | #get_policy_engine | 2 | 60 | | policy_generation_completed | #get_policy_generation | 5 | 24 |
9362 9363 9364 9365 9366 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9362 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9370 9371 9372 |
# File 'lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9370 def waiter_names waiters.keys end |