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.
888 889 890 891 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 888 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.
1008 1009 1010 1011 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1008 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.
1069 1070 1071 1072 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1069 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.
1156 1157 1158 1159 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1156 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.
1248 1249 1250 1251 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1248 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).
1327 1328 1329 1330 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1327 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).
1391 1392 1393 1394 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1391 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.
1521 1522 1523 1524 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1521 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.
1802 1803 1804 1805 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1802 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.
1964 1965 1966 1967 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 1964 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.
2284 2285 2286 2287 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2284 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.
2747 2748 2749 2750 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 2747 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.
3233 3234 3235 3236 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3233 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.
3540 3541 3542 3543 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3540 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.
3674 3675 3676 3677 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3674 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.
3762 3763 3764 3765 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3762 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.
3859 3860 3861 3862 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 3859 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.
4044 4045 4046 4047 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4044 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.
4165 4166 4167 4168 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4165 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.
4256 4257 4258 4259 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4256 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.
4390 4391 4392 4393 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4390 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.
4540 4541 4542 4543 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4540 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.
4587 4588 4589 4590 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4587 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.
4626 4627 4628 4629 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4626 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.
4671 4672 4673 4674 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4671 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.
4693 4694 4695 4696 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4693 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.
4733 4734 4735 4736 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4733 def delete_browser(params = {}, = {}) req = build_request(:delete_browser, params) req.send_request() end |
#delete_browser_profile(params = {}) ⇒ Types::DeleteBrowserProfileResponse
Deletes a browser profile.
4777 4778 4779 4780 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4777 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.
4817 4818 4819 4820 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4817 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.
4847 4848 4849 4850 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4847 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.
4922 4923 4924 4925 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4922 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.
4988 4989 4990 4991 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 4988 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.
5022 5023 5024 5025 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5022 def delete_evaluator(params = {}, = {}) req = build_request(:delete_evaluator, params) req.send_request() end |
#delete_gateway(params = {}) ⇒ Types::DeleteGatewayResponse
Deletes a gateway.
5055 5056 5057 5058 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5055 def delete_gateway(params = {}, = {}) req = build_request(:delete_gateway, params) req.send_request() end |
#delete_gateway_rule(params = {}) ⇒ Types::DeleteGatewayRuleResponse
Deletes a gateway rule.
5089 5090 5091 5092 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5089 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.
5133 5134 5135 5136 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5133 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.
5298 5299 5300 5301 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5298 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.
5337 5338 5339 5340 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5337 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.
5359 5360 5361 5362 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5359 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.
5393 5394 5395 5396 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5393 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.
5442 5443 5444 5445 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5442 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.
5465 5466 5467 5468 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5465 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.
5512 5513 5514 5515 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5512 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.
5572 5573 5574 5575 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5572 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.
5623 5624 5625 5626 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5623 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.
5654 5655 5656 5657 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5654 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.
5683 5684 5685 5686 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5683 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.
5711 5712 5713 5714 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5711 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.
5733 5734 5735 5736 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5733 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.
5857 5858 5859 5860 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5857 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.
5910 5911 5912 5913 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5910 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.
5950 5951 5952 5953 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 5950 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.
6017 6018 6019 6020 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6017 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.
6063 6064 6065 6066 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6063 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.
6117 6118 6119 6120 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6117 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.
6174 6175 6176 6177 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6174 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.
6229 6230 6231 6232 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6229 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.
6315 6316 6317 6318 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6315 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.
6390 6391 6392 6393 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6390 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.
6500 6501 6502 6503 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6500 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.
6573 6574 6575 6576 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6573 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.
6712 6713 6714 6715 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6712 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.
6869 6870 6871 6872 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 6869 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
7004 7005 7006 7007 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7004 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.
7161 7162 7163 7164 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7161 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.
7229 7230 7231 7232 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7229 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.
7277 7278 7279 7280 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7277 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.
7332 7333 7334 7335 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7332 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.
7418 7419 7420 7421 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7418 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
7482 7483 7484 7485 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7482 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
7537 7538 7539 7540 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7537 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.
7585 7586 7587 7588 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7585 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
7652 7653 7654 7655 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7652 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.
7708 7709 7710 7711 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7708 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.
7761 7762 7763 7764 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7761 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.
7845 7846 7847 7848 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7845 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.
7925 7926 7927 7928 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7925 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.
7959 7960 7961 7962 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7959 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.
7992 7993 7994 7995 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 7992 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.
8029 8030 8031 8032 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8029 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.
8079 8080 8081 8082 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8079 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.
8126 8127 8128 8129 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8126 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.
8169 8170 8171 8172 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8169 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.
8209 8210 8211 8212 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8209 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.
8259 8260 8261 8262 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8259 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.
8310 8311 8312 8313 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8310 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.
8357 8358 8359 8360 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8357 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.
8425 8426 8427 8428 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8425 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.
8472 8473 8474 8475 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8472 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.
8537 8538 8539 8540 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8537 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.
8583 8584 8585 8586 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8583 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.
8630 8631 8632 8633 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8630 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.
8679 8680 8681 8682 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8679 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.
8755 8756 8757 8758 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8755 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.
8808 8809 8810 8811 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8808 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.
8858 8859 8860 8861 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8858 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.
8900 8901 8902 8903 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8900 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.
8945 8946 8947 8948 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8945 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.
8986 8987 8988 8989 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 8986 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.
9034 9035 9036 9037 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9034 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.
9085 9086 9087 9088 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9085 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.
9126 9127 9128 9129 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9126 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.
9177 9178 9179 9180 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9177 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.
9248 9249 9250 9251 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9248 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.
9304 9305 9306 9307 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9304 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.
9361 9362 9363 9364 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9361 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.
9437 9438 9439 9440 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9437 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.
9500 9501 9502 9503 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9500 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.
9556 9557 9558 9559 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9556 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.
9624 9625 9626 9627 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9624 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.
9689 9690 9691 9692 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9689 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.
9765 9766 9767 9768 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9765 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.
9800 9801 9802 9803 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9800 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.
9838 9839 9840 9841 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9838 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.
9877 9878 9879 9880 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9877 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.
9918 9919 9920 9921 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 9918 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.
10014 10015 10016 10017 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10014 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.
10058 10059 10060 10061 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10058 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.
10193 10194 10195 10196 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10193 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.
10229 10230 10231 10232 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10229 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.
10260 10261 10262 10263 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10260 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.
10460 10461 10462 10463 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10460 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.
10521 10522 10523 10524 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10521 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.
10582 10583 10584 10585 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10582 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.
10676 10677 10678 10679 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10676 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).
10733 10734 10735 10736 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10733 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.
10813 10814 10815 10816 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10813 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.
10933 10934 10935 10936 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 10933 def update_evaluator(params = {}, = {}) req = build_request(:update_evaluator, params) req.send_request() end |
#update_gateway(params = {}) ⇒ Types::UpdateGatewayResponse
Updates an existing gateway.
11182 11183 11184 11185 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11182 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.
11331 11332 11333 11334 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11331 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.
11641 11642 11643 11644 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 11641 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.
12110 12111 12112 12113 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12110 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.
12749 12750 12751 12752 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 12749 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.
13051 13052 13053 13054 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13051 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.
13162 13163 13164 13165 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13162 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.
13246 13247 13248 13249 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13246 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.
13340 13341 13342 13343 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13340 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.
13470 13471 13472 13473 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13470 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.
13564 13565 13566 13567 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13564 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.
13619 13620 13621 13622 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13619 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.
13790 13791 13792 13793 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13790 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.
13991 13992 13993 13994 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 13991 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.
14046 14047 14048 14049 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 14046 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.
14088 14089 14090 14091 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 14088 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 |
14208 14209 14210 14211 14212 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/client.rb', line 14208 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |