Class: Aws::BedrockAgentCoreControl::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::BedrockAgentCoreControl::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#add_dataset_examples(params = {}) ⇒ Types::AddDatasetExamplesResponse
Adds examples to the dataset's DRAFT.
-
#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_configuration_bundle(params = {}) ⇒ Types::CreateConfigurationBundleResponse
Creates a new configuration bundle resource.
-
#create_dataset(params = {}) ⇒ Types::CreateDatasetResponse
Creates a new Dataset resource asynchronously.
-
#create_dataset_version(params = {}) ⇒ Types::CreateDatasetVersionResponse
Publishes the current DRAFT as a new numbered version.
-
#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_rule(params = {}) ⇒ Types::CreateGatewayRuleResponse
Creates a rule for a gateway.
-
#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_payment_connector(params = {}) ⇒ Types::CreatePaymentConnectorResponse
Creates a new payment connector for a payment manager.
-
#create_payment_credential_provider(params = {}) ⇒ Types::CreatePaymentCredentialProviderResponse
Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.
-
#create_payment_manager(params = {}) ⇒ Types::CreatePaymentManagerResponse
Creates a new payment manager in your Amazon Web Services account.
-
#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_configuration_bundle(params = {}) ⇒ Types::DeleteConfigurationBundleResponse
Deletes a configuration bundle and all of its versions.
-
#delete_dataset(params = {}) ⇒ Types::DeleteDatasetResponse
Deletes a dataset version or an entire dataset (all versions + name claim).
-
#delete_dataset_examples(params = {}) ⇒ Types::DeleteDatasetExamplesResponse
Deletes specific examples by ID from DRAFT.
-
#delete_evaluator(params = {}) ⇒ Types::DeleteEvaluatorResponse
Deletes a custom evaluator.
-
#delete_gateway(params = {}) ⇒ Types::DeleteGatewayResponse
Deletes a gateway.
-
#delete_gateway_rule(params = {}) ⇒ Types::DeleteGatewayRuleResponse
Deletes a gateway rule.
-
#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_payment_connector(params = {}) ⇒ Types::DeletePaymentConnectorResponse
Deletes a payment connector.
-
#delete_payment_credential_provider(params = {}) ⇒ Struct
Deletes a payment credential provider and its associated stored credentials.
-
#delete_payment_manager(params = {}) ⇒ Types::DeletePaymentManagerResponse
Deletes a payment manager.
-
#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_configuration_bundle(params = {}) ⇒ Types::GetConfigurationBundleResponse
Gets the latest version of a configuration bundle.
-
#get_configuration_bundle_version(params = {}) ⇒ Types::GetConfigurationBundleVersionResponse
Gets a specific version of a configuration bundle by its version identifier.
-
#get_dataset(params = {}) ⇒ Types::GetDatasetResponse
Retrieves dataset metadata only.
-
#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_rule(params = {}) ⇒ Types::GetGatewayRuleResponse
Retrieves detailed information about a specific gateway rule.
-
#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_payment_connector(params = {}) ⇒ Types::GetPaymentConnectorResponse
Retrieves information about a specific payment connector.
-
#get_payment_credential_provider(params = {}) ⇒ Types::GetPaymentCredentialProviderResponse
Retrieves information about a specific payment credential provider.
-
#get_payment_manager(params = {}) ⇒ Types::GetPaymentManagerResponse
Retrieves information about a specific payment manager.
-
#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_engine_summary(params = {}) ⇒ Types::GetPolicyEngineSummaryResponse
Retrieves a metadata-only summary of a specific policy engine without decrypting customer content.
-
#get_policy_generation(params = {}) ⇒ Types::GetPolicyGenerationResponse
Retrieves information about a policy generation request within the AgentCore Policy system.
-
#get_policy_generation_summary(params = {}) ⇒ Types::GetPolicyGenerationSummaryResponse
Retrieves a metadata-only summary of a specific policy generation request without decrypting customer content.
-
#get_policy_summary(params = {}) ⇒ Types::GetPolicySummaryResponse
Retrieves a metadata-only summary of a specific policy without decrypting customer content.
-
#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_configuration_bundle_versions(params = {}) ⇒ Types::ListConfigurationBundleVersionsResponse
Lists all versions of a configuration bundle, with optional filtering by branch name or creation source.
-
#list_configuration_bundles(params = {}) ⇒ Types::ListConfigurationBundlesResponse
Lists all configuration bundles in the account.
-
#list_dataset_examples(params = {}) ⇒ Types::ListDatasetExamplesResponse
Returns paginated examples from the dataset.
-
#list_dataset_versions(params = {}) ⇒ Types::ListDatasetVersionsResponse
Lists all published versions of a dataset, sorted by version number descending (newest first).
-
#list_datasets(params = {}) ⇒ Types::ListDatasetsResponse
Lists all datasets in the caller's account, paginated.
-
#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_rules(params = {}) ⇒ Types::ListGatewayRulesResponse
Lists all rules for a gateway.
-
#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_payment_connectors(params = {}) ⇒ Types::ListPaymentConnectorsResponse
Lists all payment connectors for a specified payment manager.
-
#list_payment_credential_providers(params = {}) ⇒ Types::ListPaymentCredentialProvidersResponse
Lists all payment credential providers in the account.
-
#list_payment_managers(params = {}) ⇒ Types::ListPaymentManagersResponse
Lists all payment managers in the account.
-
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Retrieves a list of policies within the AgentCore Policy engine.
-
#list_policy_engine_summaries(params = {}) ⇒ Types::ListPolicyEngineSummariesResponse
Retrieves a paginated list of metadata-only policy engine summaries without decrypting customer content.
-
#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_generation_summaries(params = {}) ⇒ Types::ListPolicyGenerationSummariesResponse
Retrieves a paginated list of metadata-only policy generation summaries within a policy engine without decrypting customer content.
-
#list_policy_generations(params = {}) ⇒ Types::ListPolicyGenerationsResponse
Retrieves a list of policy generation requests within the AgentCore Policy system.
-
#list_policy_summaries(params = {}) ⇒ Types::ListPolicySummariesResponse
Retrieves a paginated list of metadata-only policy summaries within a policy engine without decrypting customer content.
-
#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_configuration_bundle(params = {}) ⇒ Types::UpdateConfigurationBundleResponse
Updates a configuration bundle by creating a new version with the specified changes.
-
#update_dataset(params = {}) ⇒ Types::UpdateDatasetResponse
Updates a dataset's metadata.
-
#update_dataset_examples(params = {}) ⇒ Types::UpdateDatasetExamplesResponse
Updates multiple existing examples in-place on DRAFT.
-
#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_rule(params = {}) ⇒ Types::UpdateGatewayRuleResponse
Updates a gateway rule's priority, conditions, actions, or description.
-
#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_payment_connector(params = {}) ⇒ Types::UpdatePaymentConnectorResponse
Updates an existing payment connector.
-
#update_payment_credential_provider(params = {}) ⇒ Types::UpdatePaymentCredentialProviderResponse
Updates an existing payment credential provider with new authentication credentials.
-
#update_payment_manager(params = {}) ⇒ Types::UpdatePaymentManagerResponse
Updates an existing payment manager.
-
#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.
Instance Method Summary collapse
-
#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.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
471 472 473 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 471 def initialize(*args) super end |
Instance Method Details
#add_dataset_examples(params = {}) ⇒ Types::AddDatasetExamplesResponse
Adds examples to the dataset's DRAFT.
Validation: All examples are validated against the dataset's schemaType before any writes occur. If any example fails validation, the entire batch is rejected with ValidationException — no examples are written (all-or-nothing semantics).
Asynchronous: Operates in-place on DRAFT. No version bump occurs. Use CreateDatasetVersion to publish DRAFT as a new numbered version.
State guard: Returns ConflictException (DATASET_NOT_READY) if the dataset status is not in ACTIVE.
Request size limit: Max 5 MB total request body. Max 1000 examples per call.
555 556 557 558 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 555 def add_dataset_examples(params = {}, = {}) req = build_request(:add_dataset_examples, params) req.send_request() end |
#create_agent_runtime(params = {}) ⇒ Types::CreateAgentRuntimeResponse
Creates an Amazon Bedrock AgentCore Runtime.
753 754 755 756 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 753 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.
822 823 824 825 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 822 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.
868 869 870 871 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 868 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.
988 989 990 991 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 988 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.
1049 1050 1051 1052 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1049 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.
1136 1137 1138 1139 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1136 def create_code_interpreter(params = {}, = {}) req = build_request(:create_code_interpreter, params) req.send_request() end |
#create_configuration_bundle(params = {}) ⇒ Types::CreateConfigurationBundleResponse
Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.
1228 1229 1230 1231 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1228 def create_configuration_bundle(params = {}, = {}) req = build_request(:create_configuration_bundle, params) req.send_request() end |
#create_dataset(params = {}) ⇒ Types::CreateDatasetResponse
Creates a new Dataset resource asynchronously.
Returns immediately with status CREATING. Poll GetDataset until status transitions to ACTIVE or CREATE_FAILED (with failureReason).
1307 1308 1309 1310 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1307 def create_dataset(params = {}, = {}) req = build_request(:create_dataset, params) req.send_request() end |
#create_dataset_version(params = {}) ⇒ Types::CreateDatasetVersionResponse
Publishes the current DRAFT as a new numbered version.
Snapshots the DRAFT examples as the next version (1, 2, 3, ...). The DRAFT is preserved and remains editable after publishing. Returns immediately with status UPDATING. Poll GetDataset until status transitions to ACTIVE (draftStatus=UNMODIFIED) or UPDATE_FAILED.
State guard: Returns ConflictException (DATASET_NOT_READY) if status is in UPDATING, DELETING, or DATASET_IN_FAILED_STATE if status is in DELETE_FAILED.
Quota: MAX_VERSIONS_PER_DATASET applies to published versions only (not DRAFT).
1371 1372 1373 1374 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1371 def create_dataset_version(params = {}, = {}) req = build_request(:create_dataset_version, 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.
1501 1502 1503 1504 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1501 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.
1782 1783 1784 1785 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1782 def create_gateway(params = {}, = {}) req = build_request(:create_gateway, params) req.send_request() end |
#create_gateway_rule(params = {}) ⇒ Types::CreateGatewayRuleResponse
Creates a rule for a gateway. Rules define conditions and actions that control how requests are routed and processed through the gateway, including principal-based access control and path-based routing.
1944 1945 1946 1947 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1944 def create_gateway_rule(params = {}, = {}) req = build_request(:create_gateway_rule, 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.
2264 2265 2266 2267 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2264 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.
2727 2728 2729 2730 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2727 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.
3213 3214 3215 3216 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3213 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.
3471 3472 3473 3474 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3471 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.
3605 3606 3607 3608 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3605 def create_online_evaluation_config(params = {}, = {}) req = build_request(:create_online_evaluation_config, params) req.send_request() end |
#create_payment_connector(params = {}) ⇒ Types::CreatePaymentConnectorResponse
Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.
3693 3694 3695 3696 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3693 def create_payment_connector(params = {}, = {}) req = build_request(:create_payment_connector, params) req.send_request() end |
#create_payment_credential_provider(params = {}) ⇒ Types::CreatePaymentCredentialProviderResponse
Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.
3762 3763 3764 3765 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3762 def create_payment_credential_provider(params = {}, = {}) req = build_request(:create_payment_credential_provider, params) req.send_request() end |
#create_payment_manager(params = {}) ⇒ Types::CreatePaymentManagerResponse
Creates a new payment manager in your Amazon Web Services account. A payment manager serves as the top-level resource for managing payment processing capabilities, including payment connectors that integrate with supported payment providers.
If you specify CUSTOM_JWT as the authorizerType, you must provide
an authorizerConfiguration.
3947 3948 3949 3950 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3947 def create_payment_manager(params = {}, = {}) req = build_request(:create_payment_manager, 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.
4068 4069 4070 4071 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4068 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.
4159 4160 4161 4162 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4159 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.
4293 4294 4295 4296 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4293 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.
4443 4444 4445 4446 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4443 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.
4490 4491 4492 4493 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4490 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.
4529 4530 4531 4532 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4529 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.
4574 4575 4576 4577 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4574 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.
4596 4597 4598 4599 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4596 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.
4636 4637 4638 4639 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4636 def delete_browser(params = {}, = {}) req = build_request(:delete_browser, params) req.send_request() end |
#delete_browser_profile(params = {}) ⇒ Types::DeleteBrowserProfileResponse
Deletes a browser profile.
4680 4681 4682 4683 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4680 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.
4720 4721 4722 4723 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4720 def delete_code_interpreter(params = {}, = {}) req = build_request(:delete_code_interpreter, params) req.send_request() end |
#delete_configuration_bundle(params = {}) ⇒ Types::DeleteConfigurationBundleResponse
Deletes a configuration bundle and all of its versions.
4750 4751 4752 4753 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4750 def delete_configuration_bundle(params = {}, = {}) req = build_request(:delete_configuration_bundle, params) req.send_request() end |
#delete_dataset(params = {}) ⇒ Types::DeleteDatasetResponse
Deletes a dataset version or an entire dataset (all versions + name claim). Asynchronous 202.
State transitions:
- If
datasetVersionis absent (full delete): status transitions to DELETING immediately. - If
datasetVersionis provided (version-specific delete): status transitions to UPDATING.
State guard (full delete): Returns ConflictException (DATASET_NOT_READY) if the dataset status is in UPDATING. Deletion is allowed from ACTIVE, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED states.
State guard (version-specific delete): Returns ConflictException (DATASET_NOT_READY) if the dataset status is not in CREATE_FAILED, UPDATE_FAILED.
Fails with ConflictException (REFERENCED_BY_EVAL_JOB) if referenced by an active evaluation job (full delete only).
If the delete workflow fails after retries, status is set to DELETE_FAILED (full delete) or UPDATE_FAILED (version-specific delete). Calling DeleteDataset on a DELETE_FAILED dataset re-triggers the delete workflow (idempotent retry path).
Version parameter:
- If
datasetVersionis absent: deletes ALL versions and the Dataset record itself. - If
datasetVersionis provided: deletes only that specific DatasetVersion. Returns ResourceNotFoundException if the specified version does not exist.
4825 4826 4827 4828 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4825 def delete_dataset(params = {}, = {}) req = build_request(:delete_dataset, params) req.send_request() end |
#delete_dataset_examples(params = {}) ⇒ Types::DeleteDatasetExamplesResponse
Deletes specific examples by ID from DRAFT.
Validation: All example IDs are validated before any deletes occur. If any ID does not exist in DRAFT, the entire batch is rejected with ResourceNotFoundException — no examples are deleted (all-or-nothing semantics).
Asynchronous: Operates in-place on DRAFT. No version bump occurs. Use CreateDatasetVersion to publish DRAFT as a new numbered version.
State guard: Returns ConflictException (DATASET_NOT_READY) if the dataset status is not in ACTIVE.
4891 4892 4893 4894 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4891 def delete_dataset_examples(params = {}, = {}) req = build_request(:delete_dataset_examples, 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.
4925 4926 4927 4928 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4925 def delete_evaluator(params = {}, = {}) req = build_request(:delete_evaluator, params) req.send_request() end |
#delete_gateway(params = {}) ⇒ Types::DeleteGatewayResponse
Deletes a gateway.
4958 4959 4960 4961 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4958 def delete_gateway(params = {}, = {}) req = build_request(:delete_gateway, params) req.send_request() end |
#delete_gateway_rule(params = {}) ⇒ Types::DeleteGatewayRuleResponse
Deletes a gateway rule.
4992 4993 4994 4995 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4992 def delete_gateway_rule(params = {}, = {}) req = build_request(:delete_gateway_rule, 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.
5036 5037 5038 5039 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5036 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.
5201 5202 5203 5204 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5201 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.
5240 5241 5242 5243 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5240 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.
5262 5263 5264 5265 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5262 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.
5296 5297 5298 5299 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5296 def delete_online_evaluation_config(params = {}, = {}) req = build_request(:delete_online_evaluation_config, params) req.send_request() end |
#delete_payment_connector(params = {}) ⇒ Types::DeletePaymentConnectorResponse
Deletes a payment connector.
5345 5346 5347 5348 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5345 def delete_payment_connector(params = {}, = {}) req = build_request(:delete_payment_connector, params) req.send_request() end |
#delete_payment_credential_provider(params = {}) ⇒ Struct
Deletes a payment credential provider and its associated stored credentials.
5368 5369 5370 5371 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5368 def delete_payment_credential_provider(params = {}, = {}) req = build_request(:delete_payment_credential_provider, params) req.send_request() end |
#delete_payment_manager(params = {}) ⇒ Types::DeletePaymentManagerResponse
Deletes a payment manager. All payment connectors associated with the payment manager must be deleted before the payment manager can be deleted. This operation initiates the deletion process asynchronously.
5415 5416 5417 5418 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5415 def delete_payment_manager(params = {}, = {}) req = build_request(:delete_payment_manager, 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.
5475 5476 5477 5478 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5475 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.
5526 5527 5528 5529 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5526 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.
5557 5558 5559 5560 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5557 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.
5586 5587 5588 5589 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5586 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.
5614 5615 5616 5617 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5614 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.
5636 5637 5638 5639 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5636 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.
5760 5761 5762 5763 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5760 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.
5813 5814 5815 5816 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5813 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.
5849 5850 5851 5852 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5849 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.
5916 5917 5918 5919 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5916 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.
5962 5963 5964 5965 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5962 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.
6016 6017 6018 6019 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6016 def get_code_interpreter(params = {}, = {}) req = build_request(:get_code_interpreter, params) req.send_request() end |
#get_configuration_bundle(params = {}) ⇒ Types::GetConfigurationBundleResponse
Gets the latest version of a configuration bundle. By default, returns
the latest version on the mainline branch. Use
GetConfigurationBundleVersion to retrieve a specific historical
version.
6073 6074 6075 6076 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6073 def get_configuration_bundle(params = {}, = {}) req = build_request(:get_configuration_bundle, params) req.send_request() end |
#get_configuration_bundle_version(params = {}) ⇒ Types::GetConfigurationBundleVersionResponse
Gets a specific version of a configuration bundle by its version identifier.
6128 6129 6130 6131 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6128 def get_configuration_bundle_version(params = {}, = {}) req = build_request(:get_configuration_bundle_version, params) req.send_request() end |
#get_dataset(params = {}) ⇒ Types::GetDatasetResponse
Retrieves dataset metadata only.
Use ?datasetVersion=DRAFT or ?datasetVersion=N to retrieve a
specific version's metadata. If absent, defaults to DRAFT (the
mutable working copy). Returns ResourceNotFoundException if the
specified version is not found.
Initial state after CreateDataset: When CreateDataset completes successfully (status transitions to ACTIVE), only a DRAFT working copy exists. No published versions exist until CreateDatasetVersion is called. At this point draftStatus is MODIFIED because the DRAFT has content that has never been published.
Default version behavior: When datasetVersion is omitted, the
operation returns the DRAFT working copy. To retrieve a specific
published version, pass the version number as a string (e.g.
?datasetVersion=1).
State guard: Allowed for all statuses including DELETING. Returns the dataset record with its current status so callers can observe the deletion in progress.
For paginated example IDs use ListDatasetExamples.
6214 6215 6216 6217 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6214 def get_dataset(params = {}, = {}) req = build_request(:get_dataset, 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.
6289 6290 6291 6292 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6289 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.
6399 6400 6401 6402 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6399 def get_gateway(params = {}, = {}) req = build_request(:get_gateway, params) req.send_request() end |
#get_gateway_rule(params = {}) ⇒ Types::GetGatewayRuleResponse
Retrieves detailed information about a specific gateway rule.
6472 6473 6474 6475 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6472 def get_gateway_rule(params = {}, = {}) req = build_request(:get_gateway_rule, params) req.send_request() end |
#get_gateway_target(params = {}) ⇒ Types::GetGatewayTargetResponse
Retrieves information about a specific gateway target.
6611 6612 6613 6614 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6611 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.
6768 6769 6770 6771 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6768 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
6903 6904 6905 6906 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6903 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.
7056 7057 7058 7059 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7056 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.
7124 7125 7126 7127 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7124 def get_online_evaluation_config(params = {}, = {}) req = build_request(:get_online_evaluation_config, params) req.send_request() end |
#get_payment_connector(params = {}) ⇒ Types::GetPaymentConnectorResponse
Retrieves information about a specific payment connector.
7172 7173 7174 7175 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7172 def get_payment_connector(params = {}, = {}) req = build_request(:get_payment_connector, params) req.send_request() end |
#get_payment_credential_provider(params = {}) ⇒ Types::GetPaymentCredentialProviderResponse
Retrieves information about a specific payment credential provider.
7219 7220 7221 7222 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7219 def get_payment_credential_provider(params = {}, = {}) req = build_request(:get_payment_credential_provider, params) req.send_request() end |
#get_payment_manager(params = {}) ⇒ Types::GetPaymentManagerResponse
Retrieves information about a specific payment manager.
7305 7306 7307 7308 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7305 def get_payment_manager(params = {}, = {}) req = build_request(:get_payment_manager, 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
7369 7370 7371 7372 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7369 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
7424 7425 7426 7427 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7424 def get_policy_engine(params = {}, = {}) req = build_request(:get_policy_engine, params) req.send_request() end |
#get_policy_engine_summary(params = {}) ⇒ Types::GetPolicyEngineSummaryResponse
Retrieves a metadata-only summary of a specific policy engine without decrypting customer content. This lightweight read operation returns resource identifiers, status, timestamps, and the encryption key ARN, but does not include the description or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
7472 7473 7474 7475 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7472 def get_policy_engine_summary(params = {}, = {}) req = build_request(:get_policy_engine_summary, 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
7539 7540 7541 7542 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7539 def get_policy_generation(params = {}, = {}) req = build_request(:get_policy_generation, params) req.send_request() end |
#get_policy_generation_summary(params = {}) ⇒ Types::GetPolicyGenerationSummaryResponse
Retrieves a metadata-only summary of a specific policy generation request without decrypting customer content. This lightweight read operation returns resource identifiers, status, timestamps, and findings, but does not include status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
7595 7596 7597 7598 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7595 def get_policy_generation_summary(params = {}, = {}) req = build_request(:get_policy_generation_summary, params) req.send_request() end |
#get_policy_summary(params = {}) ⇒ Types::GetPolicySummaryResponse
Retrieves a metadata-only summary of a specific policy without decrypting customer content. This lightweight read operation returns resource identifiers, status, and timestamps, but does not include the policy definition, description, or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
7648 7649 7650 7651 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7648 def get_policy_summary(params = {}, = {}) req = build_request(:get_policy_summary, params) req.send_request() end |
#get_registry(params = {}) ⇒ Types::GetRegistryResponse
Retrieves information about a specific registry.
7732 7733 7734 7735 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7732 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.
7812 7813 7814 7815 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7812 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.
7846 7847 7848 7849 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7846 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.
7879 7880 7881 7882 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7879 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.
7916 7917 7918 7919 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7916 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.
7966 7967 7968 7969 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7966 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.
8013 8014 8015 8016 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8013 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.
8056 8057 8058 8059 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8056 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.
8096 8097 8098 8099 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8096 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.
8146 8147 8148 8149 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8146 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.
8197 8198 8199 8200 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8197 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.
8244 8245 8246 8247 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8244 def list_code_interpreters(params = {}, = {}) req = build_request(:list_code_interpreters, params) req.send_request() end |
#list_configuration_bundle_versions(params = {}) ⇒ Types::ListConfigurationBundleVersionsResponse
Lists all versions of a configuration bundle, with optional filtering by branch name or creation source.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8312 8313 8314 8315 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8312 def list_configuration_bundle_versions(params = {}, = {}) req = build_request(:list_configuration_bundle_versions, params) req.send_request() end |
#list_configuration_bundles(params = {}) ⇒ Types::ListConfigurationBundlesResponse
Lists all configuration bundles in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8359 8360 8361 8362 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8359 def list_configuration_bundles(params = {}, = {}) req = build_request(:list_configuration_bundles, params) req.send_request() end |
#list_dataset_examples(params = {}) ⇒ Types::ListDatasetExamplesResponse
Returns paginated examples from the dataset.
Version-pinned pagination: The server embeds the resolved version
in the nextToken. Once pagination begins, all subsequent pages are
pinned to that version regardless of concurrent mutations or whether
datasetVersion is passed on subsequent requests. The
datasetVersion query parameter is only used for the first request
(when nextToken is absent); if omitted, defaults to DRAFT.
State guard: Allowed for all statuses including DELETING.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8424 8425 8426 8427 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8424 def list_dataset_examples(params = {}, = {}) req = build_request(:list_dataset_examples, params) req.send_request() end |
#list_dataset_versions(params = {}) ⇒ Types::ListDatasetVersionsResponse
Lists all published versions of a dataset, sorted by version number descending (newest first). Does not include the DRAFT working copy.
State guard: Allowed for all statuses including DELETING.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8470 8471 8472 8473 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8470 def list_dataset_versions(params = {}, = {}) req = build_request(:list_dataset_versions, params) req.send_request() end |
#list_datasets(params = {}) ⇒ Types::ListDatasetsResponse
Lists all datasets in the caller's account, paginated. No presigned URLs in list results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8517 8518 8519 8520 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8517 def list_datasets(params = {}, = {}) req = build_request(:list_datasets, 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.
8566 8567 8568 8569 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8566 def list_evaluators(params = {}, = {}) req = build_request(:list_evaluators, params) req.send_request() end |
#list_gateway_rules(params = {}) ⇒ Types::ListGatewayRulesResponse
Lists all rules for a gateway.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8642 8643 8644 8645 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8642 def list_gateway_rules(params = {}, = {}) req = build_request(:list_gateway_rules, 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.
8695 8696 8697 8698 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8695 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.
8745 8746 8747 8748 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8745 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.
8787 8788 8789 8790 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8787 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.
8832 8833 8834 8835 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8832 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.
8873 8874 8875 8876 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8873 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.
8921 8922 8923 8924 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8921 def list_online_evaluation_configs(params = {}, = {}) req = build_request(:list_online_evaluation_configs, params) req.send_request() end |
#list_payment_connectors(params = {}) ⇒ Types::ListPaymentConnectorsResponse
Lists all payment connectors for a specified payment manager.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
8972 8973 8974 8975 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8972 def list_payment_connectors(params = {}, = {}) req = build_request(:list_payment_connectors, params) req.send_request() end |
#list_payment_credential_providers(params = {}) ⇒ Types::ListPaymentCredentialProvidersResponse
Lists all payment credential providers in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
9013 9014 9015 9016 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9013 def list_payment_credential_providers(params = {}, = {}) req = build_request(:list_payment_credential_providers, params) req.send_request() end |
#list_payment_managers(params = {}) ⇒ Types::ListPaymentManagersResponse
Lists all payment managers in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
9064 9065 9066 9067 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9064 def list_payment_managers(params = {}, = {}) req = build_request(:list_payment_managers, 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.
9135 9136 9137 9138 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9135 def list_policies(params = {}, = {}) req = build_request(:list_policies, params) req.send_request() end |
#list_policy_engine_summaries(params = {}) ⇒ Types::ListPolicyEngineSummariesResponse
Retrieves a paginated list of metadata-only policy engine summaries without decrypting customer content. This lightweight read operation returns resource identifiers, status, and timestamps for each policy engine, but does not include descriptions or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
9191 9192 9193 9194 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9191 def list_policy_engine_summaries(params = {}, = {}) req = build_request(:list_policy_engine_summaries, 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.
9248 9249 9250 9251 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9248 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.
9324 9325 9326 9327 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9324 def list_policy_generation_assets(params = {}, = {}) req = build_request(:list_policy_generation_assets, params) req.send_request() end |
#list_policy_generation_summaries(params = {}) ⇒ Types::ListPolicyGenerationSummariesResponse
Retrieves a paginated list of metadata-only policy generation summaries within a policy engine without decrypting customer content. This lightweight read operation returns resource identifiers, status, timestamps, and findings for each policy generation, but does not include status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
9387 9388 9389 9390 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9387 def list_policy_generation_summaries(params = {}, = {}) req = build_request(:list_policy_generation_summaries, 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.
9443 9444 9445 9446 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9443 def list_policy_generations(params = {}, = {}) req = build_request(:list_policy_generations, params) req.send_request() end |
#list_policy_summaries(params = {}) ⇒ Types::ListPolicySummariesResponse
Retrieves a paginated list of metadata-only policy summaries within a policy engine without decrypting customer content. This lightweight read operation returns resource identifiers, status, and timestamps for each policy, but does not include policy definitions, descriptions, or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
9511 9512 9513 9514 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9511 def list_policy_summaries(params = {}, = {}) req = build_request(:list_policy_summaries, 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, or by authorizer type using
the authorizerType parameter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
9576 9577 9578 9579 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9576 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.
9652 9653 9654 9655 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9652 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.
9687 9688 9689 9690 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9687 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.
9725 9726 9727 9728 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9725 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.
9764 9765 9766 9767 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9764 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.
9805 9806 9807 9808 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9805 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.
9901 9902 9903 9904 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9901 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.
9945 9946 9947 9948 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9945 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.
10080 10081 10082 10083 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10080 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.
10116 10117 10118 10119 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10116 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.
10147 10148 10149 10150 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10147 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.
10347 10348 10349 10350 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10347 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.
10408 10409 10410 10411 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10408 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.
10449 10450 10451 10452 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10449 def update_api_key_credential_provider(params = {}, = {}) req = build_request(:update_api_key_credential_provider, params) req.send_request() end |
#update_configuration_bundle(params = {}) ⇒ Types::UpdateConfigurationBundleResponse
Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.
10543 10544 10545 10546 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10543 def update_configuration_bundle(params = {}, = {}) req = build_request(:update_configuration_bundle, params) req.send_request() end |
#update_dataset(params = {}) ⇒ Types::UpdateDatasetResponse
Updates a dataset's metadata. Synchronous operation. Only provided fields are updated; omitted fields remain unchanged.
To modify dataset content, use AddDatasetExamples, UpdateDatasetExamples, or DeleteDatasetExamples.
Cannot update: name, schemaType, kmsKeyArn (immutable after creation).
10600 10601 10602 10603 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10600 def update_dataset(params = {}, = {}) req = build_request(:update_dataset, params) req.send_request() end |
#update_dataset_examples(params = {}) ⇒ Types::UpdateDatasetExamplesResponse
Updates multiple existing examples in-place on DRAFT.
Validation: All examples are validated against the dataset's schemaType before any writes occur. If any example fails validation, the entire batch is rejected with ValidationException — no examples are updated (all-or-nothing semantics).
Asynchronous: Operates in-place on DRAFT. No version bump occurs. Use CreateDatasetVersion to publish DRAFT as a new numbered version.
Fails with ResourceNotFoundException if any exampleId does not exist in DRAFT. To add new examples, use AddDatasetExamples instead.
State guard: Returns ConflictException (DATASET_NOT_READY) if the dataset status is not in ACTIVE.
Request size limit: Max 5 MB total request body. Max 1000 examples per call.
10680 10681 10682 10683 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10680 def update_dataset_examples(params = {}, = {}) req = build_request(:update_dataset_examples, 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.
10800 10801 10802 10803 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10800 def update_evaluator(params = {}, = {}) req = build_request(:update_evaluator, params) req.send_request() end |
#update_gateway(params = {}) ⇒ Types::UpdateGatewayResponse
Updates an existing gateway.
11049 11050 11051 11052 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11049 def update_gateway(params = {}, = {}) req = build_request(:update_gateway, params) req.send_request() end |
#update_gateway_rule(params = {}) ⇒ Types::UpdateGatewayRuleResponse
Updates a gateway rule's priority, conditions, actions, or description.
11198 11199 11200 11201 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11198 def update_gateway_rule(params = {}, = {}) req = build_request(:update_gateway_rule, 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.
11508 11509 11510 11511 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11508 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.
11977 11978 11979 11980 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11977 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.
12616 12617 12618 12619 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12616 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.
12869 12870 12871 12872 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12869 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.
12980 12981 12982 12983 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12980 def update_online_evaluation_config(params = {}, = {}) req = build_request(:update_online_evaluation_config, params) req.send_request() end |
#update_payment_connector(params = {}) ⇒ Types::UpdatePaymentConnectorResponse
Updates an existing payment connector. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
13064 13065 13066 13067 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13064 def update_payment_connector(params = {}, = {}) req = build_request(:update_payment_connector, params) req.send_request() end |
#update_payment_credential_provider(params = {}) ⇒ Types::UpdatePaymentCredentialProviderResponse
Updates an existing payment credential provider with new authentication credentials.
13130 13131 13132 13133 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13130 def update_payment_credential_provider(params = {}, = {}) req = build_request(:update_payment_credential_provider, params) req.send_request() end |
#update_payment_manager(params = {}) ⇒ Types::UpdatePaymentManagerResponse
Updates an existing payment manager. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
13260 13261 13262 13263 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13260 def update_payment_manager(params = {}, = {}) req = build_request(:update_payment_manager, 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.
13354 13355 13356 13357 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13354 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.
13409 13410 13411 13412 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13409 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.
13580 13581 13582 13583 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13580 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.
13781 13782 13783 13784 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13781 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.
13836 13837 13838 13839 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13836 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.
13878 13879 13880 13881 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13878 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 |
13998 13999 14000 14001 14002 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13998 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |