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.
2687 2688 2689 2690 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2687 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.
3173 3174 3175 3176 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3173 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.
3431 3432 3433 3434 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3431 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.
3565 3566 3567 3568 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3565 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.
3653 3654 3655 3656 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3653 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.
3722 3723 3724 3725 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3722 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.
3907 3908 3909 3910 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3907 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.
4028 4029 4030 4031 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4028 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.
4119 4120 4121 4122 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4119 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.
4253 4254 4255 4256 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4253 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.
4403 4404 4405 4406 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4403 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.
4450 4451 4452 4453 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4450 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.
4489 4490 4491 4492 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4489 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.
4534 4535 4536 4537 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4534 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.
4556 4557 4558 4559 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4556 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.
4596 4597 4598 4599 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4596 def delete_browser(params = {}, = {}) req = build_request(:delete_browser, params) req.send_request() end |
#delete_browser_profile(params = {}) ⇒ Types::DeleteBrowserProfileResponse
Deletes a browser profile.
4640 4641 4642 4643 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4640 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.
4680 4681 4682 4683 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4680 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.
4710 4711 4712 4713 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4710 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.
4785 4786 4787 4788 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4785 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.
4851 4852 4853 4854 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4851 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.
4885 4886 4887 4888 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4885 def delete_evaluator(params = {}, = {}) req = build_request(:delete_evaluator, params) req.send_request() end |
#delete_gateway(params = {}) ⇒ Types::DeleteGatewayResponse
Deletes a gateway.
4918 4919 4920 4921 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4918 def delete_gateway(params = {}, = {}) req = build_request(:delete_gateway, params) req.send_request() end |
#delete_gateway_rule(params = {}) ⇒ Types::DeleteGatewayRuleResponse
Deletes a gateway rule.
4952 4953 4954 4955 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4952 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.
4996 4997 4998 4999 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4996 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.
5148 5149 5150 5151 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5148 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.
5187 5188 5189 5190 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5187 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.
5209 5210 5211 5212 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5209 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.
5243 5244 5245 5246 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5243 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.
5292 5293 5294 5295 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5292 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.
5315 5316 5317 5318 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5315 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.
5362 5363 5364 5365 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5362 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.
5422 5423 5424 5425 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5422 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.
5473 5474 5475 5476 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5473 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.
5504 5505 5506 5507 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5504 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.
5533 5534 5535 5536 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5533 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.
5561 5562 5563 5564 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5561 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.
5583 5584 5585 5586 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5583 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.
5707 5708 5709 5710 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5707 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.
5760 5761 5762 5763 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5760 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.
5796 5797 5798 5799 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5796 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.
5863 5864 5865 5866 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5863 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.
5909 5910 5911 5912 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5909 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.
5963 5964 5965 5966 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5963 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.
6020 6021 6022 6023 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6020 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.
6075 6076 6077 6078 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6075 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.
6161 6162 6163 6164 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6161 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.
6236 6237 6238 6239 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6236 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.
6346 6347 6348 6349 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6346 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.
6419 6420 6421 6422 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6419 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.
6558 6559 6560 6561 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6558 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.
6702 6703 6704 6705 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6702 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
6837 6838 6839 6840 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6837 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.
6990 6991 6992 6993 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6990 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.
7058 7059 7060 7061 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7058 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.
7106 7107 7108 7109 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7106 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.
7153 7154 7155 7156 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7153 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.
7239 7240 7241 7242 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7239 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
7303 7304 7305 7306 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7303 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
7358 7359 7360 7361 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7358 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.
7406 7407 7408 7409 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7406 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
7473 7474 7475 7476 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7473 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.
7529 7530 7531 7532 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7529 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.
7582 7583 7584 7585 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7582 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.
7666 7667 7668 7669 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7666 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.
7746 7747 7748 7749 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7746 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.
7780 7781 7782 7783 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7780 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.
7813 7814 7815 7816 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7813 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.
7850 7851 7852 7853 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7850 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.
7900 7901 7902 7903 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7900 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.
7947 7948 7949 7950 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7947 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.
7990 7991 7992 7993 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7990 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.
8030 8031 8032 8033 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8030 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.
8080 8081 8082 8083 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8080 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.
8131 8132 8133 8134 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8131 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.
8178 8179 8180 8181 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8178 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.
8246 8247 8248 8249 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8246 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.
8292 8293 8294 8295 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8292 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.
8357 8358 8359 8360 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8357 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.
8403 8404 8405 8406 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8403 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.
8450 8451 8452 8453 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8450 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.
8499 8500 8501 8502 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8499 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.
8575 8576 8577 8578 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8575 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.
8628 8629 8630 8631 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8628 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.
8678 8679 8680 8681 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8678 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.
8720 8721 8722 8723 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8720 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.
8765 8766 8767 8768 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8765 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.
8806 8807 8808 8809 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8806 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.
8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8854 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.
8905 8906 8907 8908 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8905 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.
8946 8947 8948 8949 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8946 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.
8997 8998 8999 9000 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8997 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.
9068 9069 9070 9071 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9068 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.
9124 9125 9126 9127 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9124 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.
9181 9182 9183 9184 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9181 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.
9257 9258 9259 9260 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9257 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.
9320 9321 9322 9323 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9320 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.
9376 9377 9378 9379 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9376 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.
9444 9445 9446 9447 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9444 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.
9509 9510 9511 9512 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9509 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.
9585 9586 9587 9588 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9585 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.
9620 9621 9622 9623 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9620 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.
9658 9659 9660 9661 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9658 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.
9697 9698 9699 9700 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9697 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.
9738 9739 9740 9741 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9738 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.
9834 9835 9836 9837 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9834 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.
9878 9879 9880 9881 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9878 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.
10013 10014 10015 10016 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10013 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.
10049 10050 10051 10052 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10049 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.
10080 10081 10082 10083 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10080 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.
10280 10281 10282 10283 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10280 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.
10341 10342 10343 10344 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10341 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.
10382 10383 10384 10385 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10382 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.
10476 10477 10478 10479 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10476 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).
10533 10534 10535 10536 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10533 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.
10613 10614 10615 10616 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10613 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.
10733 10734 10735 10736 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10733 def update_evaluator(params = {}, = {}) req = build_request(:update_evaluator, params) req.send_request() end |
#update_gateway(params = {}) ⇒ Types::UpdateGatewayResponse
Updates an existing gateway.
10982 10983 10984 10985 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10982 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.
11131 11132 11133 11134 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11131 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.
11441 11442 11443 11444 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11441 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.
11870 11871 11872 11873 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11870 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.
12509 12510 12511 12512 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12509 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.
12762 12763 12764 12765 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12762 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.
12873 12874 12875 12876 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12873 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.
12957 12958 12959 12960 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12957 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.
13023 13024 13025 13026 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13023 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.
13153 13154 13155 13156 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13153 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.
13247 13248 13249 13250 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13247 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.
13302 13303 13304 13305 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13302 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.
13473 13474 13475 13476 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13473 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.
13674 13675 13676 13677 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13674 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.
13729 13730 13731 13732 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13729 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.
13771 13772 13773 13774 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13771 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 |
13891 13892 13893 13894 13895 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13891 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |